@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;
  --on-primary: #ffffff;
  --on-dark: #ffffff;
  --brand-pink: #ff4d8b;
  --brand-teal: #1a3a3a;
  --brand-lavender: #b8a4ed;
  --brand-peach: #ffb084;
  --brand-ochre: #e8b94a;
  --brand-mint: #a4d4c5;
  --brand-coral: #ff6b5a;
  --success: #22c55e;
  --error: #ef4444;
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 9999px;
}

html { scroll-behavior: smooth; }
body { background: var(--canvas); color: var(--body); font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.55; }

a { color: var(--ink); text-decoration: underline; }
a:hover { color: var(--brand-coral); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.top-nav { background: var(--canvas); height: 64px; border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 100; }
.top-nav .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { font-size: 18px; font-weight: 600; letter-spacing: -0.3px; color: var(--ink); text-decoration: none; }
.nav-logo span { color: var(--brand-coral); }
.nav-links { display: flex; gap: 8px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: var(--r-pill); transition: background 0.15s; }
.nav-links a:hover { background: var(--surface-card); color: var(--ink); }
.nav-links a.active { background: var(--surface-card); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.btn-primary { background: var(--primary); color: var(--on-primary); font-size: 14px; font-weight: 600; padding: 12px 20px; height: 44px; border-radius: var(--r-md); text-decoration: none; border: none; cursor: pointer; display: inline-flex; align-items: center; transition: background 0.15s; }
.btn-primary:hover { background: var(--primary-active); color: var(--on-primary); }
.btn-secondary { background: var(--canvas); color: var(--ink); font-size: 14px; font-weight: 600; padding: 12px 20px; height: 44px; border-radius: var(--r-md); text-decoration: none; border: 1px solid var(--hairline); cursor: pointer; display: inline-flex; align-items: center; transition: background 0.15s; }
.btn-secondary:hover { background: var(--surface-card); color: var(--ink); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: all 0.2s; }

/* HERO */
.hero { padding: 96px 0; background: var(--canvas); }
.hero .container { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.hero-label { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.hero h1 { font-size: 72px; font-weight: 500; line-height: 1; letter-spacing: -2.5px; color: var(--ink); margin-bottom: 24px; }
.hero p { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--body-strong); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img-card { background: var(--surface-soft); border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/3; }
.hero-img-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* SECTION */
section { padding: 96px 0; }
.section-label { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.section-title { font-size: 56px; font-weight: 500; line-height: 1.05; letter-spacing: -2px; color: var(--ink); margin-bottom: 16px; }
.section-sub { font-size: 18px; font-weight: 600; color: var(--body-strong); margin-bottom: 48px; max-width: 600px; }
.section-title-md { font-size: 40px; font-weight: 500; line-height: 1.1; letter-spacing: -1px; color: var(--ink); margin-bottom: 16px; }

/* FEATURE CARDS */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { border-radius: var(--r-xl); padding: 32px; }
.feature-card h3 { font-size: 18px; font-weight: 600; line-height: 1.4; margin-bottom: 12px; }
.feature-card p { font-size: 14px; line-height: 1.55; }
.feature-card.pink { background: var(--brand-pink); color: var(--on-primary); }
.feature-card.teal { background: var(--brand-teal); color: var(--on-dark); }
.feature-card.lavender { background: var(--brand-lavender); color: var(--ink); }
.feature-card.peach { background: var(--brand-peach); color: var(--ink); }
.feature-card.ochre { background: var(--brand-ochre); color: var(--ink); }
.feature-card.cream { background: var(--surface-card); color: var(--ink); }
.feature-card .card-icon { font-size: 28px; margin-bottom: 16px; }

/* ARTICLE CARDS */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow 0.15s; }
.article-card:hover { box-shadow: 0 4px 20px rgba(10,10,10,0.08); color: var(--ink); text-decoration: none; }
.article-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.article-card-body { padding: 24px; }
.article-card-body .badge { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: block; }
.article-card-body h3 { font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: -0.3px; color: var(--ink); margin-bottom: 8px; }
.article-card-body p { font-size: 14px; line-height: 1.55; color: var(--body); }
.article-card-body .meta { font-size: 13px; font-weight: 500; color: var(--muted-soft); margin-top: 16px; }

/* STATS */
.stats-band { background: var(--surface-strong); padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item .stat-num { font-size: 40px; font-weight: 500; letter-spacing: -1px; color: var(--ink); }
.stat-item .stat-label { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* CTA BAND */
.cta-band { background: var(--surface-soft); border-radius: var(--r-xl); padding: 80px; margin: 0 24px; }
.cta-band h2 { 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; font-weight: 600; color: var(--body-strong); margin-bottom: 32px; max-width: 520px; }

/* CONTACT FORM */
.form-section { background: var(--surface-soft); }
.contact-form { max-width: 540px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--body-strong); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; background: var(--canvas); color: var(--ink); font-family: inherit; font-size: 16px; line-height: 1.55; padding: 12px 16px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--hairline); outline: none; transition: border-color 0.15s; }
.form-group textarea { height: auto; min-height: 100px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--ink); }

/* ARTICLE PAGE */
.article-hero { padding: 64px 0 48px; }
.article-hero .breadcrumb { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 16px; }
.article-hero .breadcrumb a { color: var(--muted); text-decoration: none; }
.article-hero .breadcrumb a:hover { color: var(--ink); }
.article-hero h1 { font-size: 56px; font-weight: 500; line-height: 1.05; letter-spacing: -2px; color: var(--ink); margin-bottom: 16px; max-width: 800px; }
.article-meta { font-size: 13px; font-weight: 500; color: var(--muted-soft); margin-bottom: 32px; }
.article-cover { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--r-xl); margin-bottom: 48px; display: block; }
.article-body { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
.article-content h2 { font-size: 32px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); margin: 40px 0 16px; }
.article-content h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.3px; color: var(--ink); margin: 28px 0 12px; }
.article-content p { font-size: 16px; line-height: 1.55; color: var(--body); margin-bottom: 16px; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 16px; }
.article-content li { font-size: 16px; line-height: 1.55; color: var(--body); margin-bottom: 6px; }
.article-content a { color: var(--ink); }
.article-content img { width: 100%; border-radius: var(--r-lg); margin: 24px 0; display: block; }
.article-sidebar { position: sticky; top: 80px; }
.sidebar-box { background: var(--surface-card); border-radius: var(--r-lg); padding: 24px; margin-bottom: 24px; }
.sidebar-box h4 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.sidebar-box ul { list-style: none; padding: 0; }
.sidebar-box ul li { padding: 6px 0; border-bottom: 1px solid var(--hairline); }
.sidebar-box ul li:last-child { border-bottom: none; }
.sidebar-box ul li a { font-size: 14px; color: var(--body); text-decoration: none; }
.sidebar-box ul li a:hover { color: var(--ink); }
.highlight-box { background: var(--brand-ochre); border-radius: var(--r-lg); padding: 24px; margin: 32px 0; }
.highlight-box h4 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.highlight-box p { font-size: 14px; color: var(--ink); margin: 0; }

/* FOOTER */
footer { background: var(--surface-soft); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo { font-size: 20px; margin-bottom: 12px; display: block; text-decoration: none; }
.footer-brand p { font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 280px; }
.footer-col h5 { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--body); text-decoration: none; }
.footer-col ul li a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--hairline); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: var(--muted-soft); }
.footer-bottom a { font-size: 13px; color: var(--muted-soft); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }

/* COOKIE BANNER */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface-dark); color: var(--on-dark); padding: 20px 24px; z-index: 999; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
#cookie-banner p { font-size: 14px; line-height: 1.55; flex: 1; min-width: 200px; color: var(--on-dark); }
#cookie-banner a { color: var(--brand-ochre); }
.cookie-actions { display: flex; gap: 10px; }
.btn-cookie-accept { background: var(--brand-ochre); color: var(--ink); font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: var(--r-md); border: none; cursor: pointer; }
.btn-cookie-reject { background: transparent; color: var(--on-dark); font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: var(--r-md); border: 1px solid rgba(255,255,255,0.3); cursor: pointer; }
.btn-cookie-accept:hover { background: var(--brand-peach); }
.btn-cookie-reject:hover { background: rgba(255,255,255,0.08); }

/* PAGE HERO (inner pages) */
.page-hero { padding: 64px 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); }
.page-hero h1 { font-size: 56px; font-weight: 500; line-height: 1.05; letter-spacing: -2px; color: var(--ink); margin-bottom: 12px; }
.page-hero p { font-size: 18px; font-weight: 600; color: var(--body-strong); max-width: 640px; }

/* PROSE (about/privacy/terms) */
.prose { max-width: 760px; }
.prose h2 { font-size: 32px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); margin: 40px 0 16px; }
.prose h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.3px; color: var(--ink); margin: 28px 0 12px; }
.prose p { font-size: 16px; line-height: 1.55; color: var(--body); margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 16px; }
.prose li { font-size: 16px; line-height: 1.55; color: var(--body); margin-bottom: 6px; }
.prose a { color: var(--ink); }
.prose .updated { font-size: 13px; color: var(--muted-soft); margin-bottom: 32px; }

/* DISCLAIMER */
.disclaimer { background: var(--surface-card); border-radius: var(--r-lg); padding: 20px 24px; margin-bottom: 32px; border-left: 4px solid var(--brand-ochre); }
.disclaimer p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }

/* MOBILE */
@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; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .top-nav .nav-links, .top-nav .nav-actions { display: none; }
  .hamburger { display: block; }
  .mobile-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: 16px 24px; z-index: 99; }
  .mobile-menu.open { display: block; }
  .mobile-menu ul { list-style: none; }
  .mobile-menu ul li { padding: 10px 0; border-bottom: 1px solid var(--hairline-soft); }
  .mobile-menu ul li a { font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: none; }
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .hero p { font-size: 16px; }
  .section-title { font-size: 36px; letter-spacing: -1px; }
  .section-title-md { font-size: 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 48px 24px; margin: 0 16px; }
  .article-hero h1 { font-size: 36px; letter-spacing: -1px; }
  .article-body { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .page-hero h1 { font-size: 36px; letter-spacing: -1px; }
}
