@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0a0a0a;
  --primary-active: #1f1f1f;
  --primary-disabled: #e5e5e5;
  --ink: #0a0a0a;
  --body: #3a3a3a;
  --body-strong: #1a1a1a;
  --muted: #6a6a6a;
  --muted-soft: #9a9a9a;
  --hairline: #e5e5e5;
  --hairline-soft: #f0f0f0;
  --canvas: #fffaf0;
  --surface-soft: #faf5e8;
  --surface-card: #f5f0e0;
  --surface-strong: #ebe6d6;
  --surface-dark: #0a1a1a;
  --surface-dark-elevated: #1a2a2a;
  --on-primary: #ffffff;
  --on-dark: #ffffff;
  --on-dark-soft: #a0a0a0;
  --brand-pink: #ff4d8b;
  --brand-teal: #1a3a3a;
  --brand-lavender: #b8a4ed;
  --brand-peach: #ffb084;
  --brand-ochre: #e8b94a;
  --brand-mint: #a4d4c5;
  --brand-coral: #ff6b5a;
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;
  --rounded-xs: 6px;
  --rounded-sm: 8px;
  --rounded-md: 12px;
  --rounded-lg: 16px;
  --rounded-xl: 24px;
  --rounded-pill: 9999px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--body);
  background-color: var(--canvas);
}

a { color: var(--ink); text-decoration: underline; }
a:hover { color: var(--primary-active); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* TOP NAV */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
  display: flex;
  align-items: center;
}

.top-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--rounded-pill);
  transition: background-color 0.15s;
}

.nav-links a:hover {
  background-color: var(--surface-card);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
}

/* HERO */
.hero-band {
  background-color: var(--canvas);
  padding: 96px 0;
}

.hero-band .container {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-family: 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--body);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-img-card {
  background-color: var(--surface-soft);
  border-radius: var(--rounded-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--on-primary);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 20px;
  height: 44px;
  border-radius: var(--rounded-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s;
}

.btn-primary:hover {
  background-color: var(--primary-active);
  color: var(--on-primary);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--canvas);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 20px;
  height: 44px;
  border-radius: var(--rounded-md);
  text-decoration: none;
  border: 1px solid var(--hairline);
  cursor: pointer;
  transition: border-color 0.15s;
}

.btn-secondary:hover {
  border-color: var(--ink);
}

/* SECTION */
.section { padding: 96px 0; }

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--body);
  max-width: 600px;
  margin-bottom: 48px;
}

/* FEATURE CARDS GRID */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  border-radius: var(--rounded-xl);
  padding: 32px;
}

.feature-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.85;
}

.card-pink { background-color: var(--brand-pink); color: var(--on-primary); }
.card-teal { background-color: var(--brand-teal); color: var(--on-dark); }
.card-lavender { background-color: var(--brand-lavender); color: var(--ink); }
.card-peach { background-color: var(--brand-peach); color: var(--ink); }
.card-ochre { background-color: var(--brand-ochre); color: var(--ink); }
.card-cream { background-color: var(--surface-card); color: var(--ink); border: 1px solid var(--hairline); }

/* ARTICLES GRID */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background-color: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  overflow: hidden;
  transition: border-color 0.15s;
}

.article-card:hover { border-color: var(--ink); }

.article-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.article-card:hover .article-card-img img { transform: scale(1.03); }

.article-card-body { padding: 24px; }

.article-card-body .badge-pill {
  display: inline-block;
  background-color: var(--surface-card);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--rounded-pill);
  margin-bottom: 12px;
}

.article-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 10px;
}

.article-card-body p { font-size: 14px; color: var(--body); margin-bottom: 16px; }

.article-card-body .read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
}

/* ARTICLE PAGE */
.article-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--hairline-soft);
}

.article-hero .badge-pill {
  display: inline-block;
  background-color: var(--surface-card);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--rounded-pill);
  margin-bottom: 16px;
}

.article-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 16px;
  max-width: 800px;
}

.article-hero .lead {
  font-size: 18px;
  color: var(--body-strong);
  max-width: 680px;
  margin-bottom: 24px;
}

.article-meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.article-main-img {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  border-radius: var(--rounded-lg);
  margin: 40px 0;
}

.article-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content { max-width: 800px; }

.article-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 40px 0 16px;
}

.article-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 12px;
}

.article-content p { margin-bottom: 20px; color: var(--body); line-height: 1.7; }

.article-content ul, .article-content ol {
  margin: 0 0 20px 24px;
}

.article-content li { margin-bottom: 8px; color: var(--body); }

.article-content a { color: var(--ink); }

.article-content blockquote {
  border-left: 4px solid var(--brand-ochre);
  background-color: var(--surface-soft);
  padding: 20px 24px;
  border-radius: 0 var(--rounded-md) var(--rounded-md) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--body-strong);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 48px 0 96px;
}

/* SIDEBAR */
.sidebar {}

.sidebar-widget {
  background-color: var(--surface-soft);
  border-radius: var(--rounded-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-widget h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}

.sidebar-links { list-style: none; }

.sidebar-links li { margin-bottom: 10px; }

.sidebar-links a {
  font-size: 14px;
  color: var(--body);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  display: block;
  padding-bottom: 10px;
}

.sidebar-links a:hover { color: var(--ink); }

/* CTA BAND */
.cta-band {
  background-color: var(--surface-soft);
  border-radius: var(--rounded-xl);
  padding: 80px;
  text-align: center;
  margin: 0 24px;
}

.cta-band h2 {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 16px;
}

.cta-band p { font-size: 18px; color: var(--body); margin-bottom: 32px; }

/* CONTACT FORM */
.contact-form {
  background-color: var(--surface-soft);
  border-radius: var(--rounded-xl);
  padding: 48px;
  max-width: 600px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-group input, .form-group textarea {
  width: 100%;
  background-color: var(--canvas);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  padding: 12px 16px;
  height: 44px;
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-md);
  outline: none;
  transition: border-color 0.15s;
}

.form-group textarea { height: auto; min-height: 120px; resize: vertical; }

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--ink);
}

/* FOOTER */
.site-footer {
  background-color: var(--surface-soft);
  padding: 80px 0 40px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 32px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 13px; color: var(--muted-soft); }

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--surface-dark);
  color: var(--on-dark);
  border-radius: var(--rounded-xl);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 700px;
  width: calc(100% - 48px);
  z-index: 999;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}

#cookie-banner p { font-size: 14px; color: var(--on-dark-soft); line-height: 1.5; flex: 1; }

#cookie-banner p a { color: var(--on-dark); }

.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

.btn-accept {
  background-color: var(--on-primary);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--rounded-md);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-reject {
  background-color: transparent;
  color: var(--on-dark-soft);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--rounded-md);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  white-space: nowrap;
}

/* BREADCRUMB */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { color: var(--hairline); }

/* PAGE HEADER */
.page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--hairline-soft);
}

.page-header h1 {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 16px;
}

.page-header p { font-size: 18px; color: var(--body); max-width: 600px; }

.page-content { padding: 64px 0 96px; max-width: 800px; }

.page-content h2 {
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  margin: 36px 0 14px;
  letter-spacing: -0.3px;
}

.page-content h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin: 24px 0 10px; }

.page-content p { margin-bottom: 18px; color: var(--body); line-height: 1.7; }

.page-content ul, .page-content ol { margin: 0 0 18px 24px; }

.page-content li { margin-bottom: 8px; color: var(--body); }

/* DISCLAIMER */
.disclaimer {
  background-color: var(--surface-strong);
  border-left: 4px solid var(--brand-ochre);
  border-radius: 0 var(--rounded-sm) var(--rounded-sm) 0;
  padding: 16px 20px;
  margin: 32px 0;
  font-size: 14px;
  color: var(--body);
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-img {
  border-radius: var(--rounded-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    padding: 16px 24px;
    gap: 4px;
  }

  .hero-band { padding: 48px 0; }
  .hero-band .container { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-content p { font-size: 16px; }

  .section { padding: 64px 0; }
  .section-title { font-size: 32px; }

  .feature-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }

  .article-layout { grid-template-columns: 1fr; }
  .article-hero h1 { font-size: 28px; }

  .cta-band { padding: 48px 24px; }
  .cta-band h2 { font-size: 28px; }

  .footer-grid { grid-template-columns: 1fr; }

  #cookie-banner { flex-direction: column; gap: 16px; bottom: 16px; }
  .cookie-actions { width: 100%; justify-content: center; }

  .page-header h1 { font-size: 32px; }
}
