@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;
  --warning: #f59e0b;
  --error: #ef4444;
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 9999px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { background: var(--canvas); color: var(--body); font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.55; -webkit-font-smoothing: antialiased; }

a { color: var(--ink); text-decoration: underline; }
a:hover { color: var(--primary-active); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--r-lg); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.site-nav { background: var(--canvas); border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 100; height: 64px; }
.site-nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: -0.3px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: var(--r-pill); transition: color 0.15s, background 0.15s; }
.nav-links a:hover, .nav-links a.active { background: var(--surface-card); color: var(--ink); }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: all 0.2s; }

/* HERO */
.hero { background: var(--canvas); padding: 96px 0; }
.hero .container { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.hero-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.hero h1 { font-family: 'Inter', sans-serif; font-size: 72px; font-weight: 500; line-height: 1; letter-spacing: -2.5px; color: var(--ink); margin-bottom: 24px; }
.hero-sub { font-size: 18px; font-weight: 600; color: var(--body-strong); line-height: 1.4; margin-bottom: 32px; max-width: 520px; }
.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; border-radius: 0; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; line-height: 1; padding: 12px 20px; height: 44px; border-radius: var(--r-md); border: none; cursor: pointer; text-decoration: none; transition: background 0.15s, color 0.15s; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-active); color: var(--on-primary); }
.btn-secondary { background: var(--canvas); color: var(--ink); border: 1px solid var(--hairline); }
.btn-secondary:hover { background: var(--surface-card); }

/* 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-family: 'Inter', sans-serif; font-size: 40px; font-weight: 500; line-height: 1.1; letter-spacing: -1px; color: var(--ink); margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--body); max-width: 600px; margin-bottom: 48px; }

/* FEATURE CARDS */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.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: 16px; line-height: 1.55; }
.fc-pink { background: var(--brand-pink); color: var(--on-primary); }
.fc-teal { background: var(--brand-teal); color: var(--on-dark); }
.fc-lavender { background: var(--brand-lavender); color: var(--ink); }
.fc-peach { background: var(--brand-peach); color: var(--ink); }
.fc-ochre { background: var(--brand-ochre); color: var(--ink); }
.fc-cream { background: var(--surface-card); color: var(--ink); }

/* 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; transition: border-color 0.15s; }
.article-card:hover { border-color: var(--muted-soft); }
.article-card-img { aspect-ratio: 16/9; overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.article-card-body { padding: 24px; }
.article-card-tag { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.article-card h3 { font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: -0.3px; color: var(--ink); margin-bottom: 8px; }
.article-card p { font-size: 14px; line-height: 1.55; color: var(--body); margin-bottom: 16px; }
.article-card-meta { font-size: 13px; font-weight: 500; color: var(--muted-soft); }
.article-card a.read-more { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--hairline); padding-bottom: 2px; }
.article-card a.read-more:hover { border-color: var(--ink); }

/* ARTICLE PAGE */
.article-header { background: var(--canvas); padding: 64px 0 48px; border-bottom: 1px solid var(--hairline); }
.article-header .breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.article-header .breadcrumb a { color: var(--muted); text-decoration: none; }
.article-header .breadcrumb a:hover { color: var(--ink); }
.article-header h1 { font-family: 'Inter', sans-serif; font-size: 56px; font-weight: 500; line-height: 1.05; letter-spacing: -2px; color: var(--ink); max-width: 800px; margin-bottom: 16px; }
.article-header .meta { font-size: 14px; color: var(--muted); }
.article-body { padding: 64px 0 96px; }
.article-body .container { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
.article-content { max-width: 700px; }
.article-content h2 { font-family: 'Inter', sans-serif; font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -0.5px; color: var(--ink); margin: 48px 0 16px; }
.article-content h3 { font-size: 20px; font-weight: 600; line-height: 1.4; color: var(--ink); margin: 32px 0 12px; }
.article-content p { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 20px; }
.article-content ul, .article-content ol { margin: 0 0 20px 24px; }
.article-content li { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 8px; }
.article-content img { margin: 32px 0; width: 100%; }
.article-content a { color: var(--ink); }
.article-sidebar { position: sticky; top: 88px; }
.sidebar-card { background: var(--surface-card); border-radius: var(--r-lg); padding: 24px; margin-bottom: 24px; }
.sidebar-card h4 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.sidebar-card ul { list-style: none; }
.sidebar-card li { margin-bottom: 10px; }
.sidebar-card a { font-size: 14px; color: var(--body); text-decoration: none; }
.sidebar-card a:hover { color: var(--ink); }

/* CTA BAND */
.cta-band { background: var(--surface-soft); border-radius: var(--r-xl); margin: 0 24px; padding: 80px; text-align: center; }
.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: 16px; color: var(--body); max-width: 480px; margin: 0 auto 32px; }
.cta-band-wrap { padding: 96px 0; }

/* CONTACT FORM */
.contact-section { background: var(--surface-soft); padding: 96px 0; }
.contact-form { max-width: 560px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; background: 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(--r-md); 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 { border-color: var(--ink); }

/* FOOTER */
.site-footer { background: var(--surface-soft); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-brand p { font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 280px; margin-top: 12px; }
.footer-col h5 { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; 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 { border-top: 1px solid var(--hairline); padding-top: 32px; 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 { color: var(--muted-soft); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }

/* COOKIE BANNER */
#cookie-banner { position: fixed; bottom: 24px; left: 24px; right: 24px; background: var(--surface-dark); color: var(--on-dark); border-radius: var(--r-lg); padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; z-index: 9999; max-width: 900px; margin: 0 auto; box-shadow: 0 4px 32px rgba(0,0,0,0.18); }
#cookie-banner p { font-size: 14px; line-height: 1.55; color: #c0c0c0; max-width: 600px; }
#cookie-banner a { color: #fff; }
.cookie-btns { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn-accept { background: var(--on-primary); color: var(--ink); border: none; border-radius: var(--r-md); padding: 10px 20px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; }
.cookie-btn-reject { background: transparent; color: #9a9a9a; border: 1px solid #444; border-radius: var(--r-md); padding: 10px 20px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; }
.cookie-btn-reject:hover { border-color: #888; color: #ddd; }

/* PAGE CONTENT */
.page-header { padding: 64px 0 48px; border-bottom: 1px solid var(--hairline); }
.page-header h1 { font-family: 'Inter', sans-serif; font-size: 56px; font-weight: 500; line-height: 1.05; letter-spacing: -2px; color: var(--ink); margin-bottom: 12px; }
.page-header p { font-size: 18px; color: var(--body); }
.page-content { padding: 64px 0 96px; }
.page-content h2 { font-size: 24px; font-weight: 600; color: var(--ink); margin: 40px 0 12px; }
.page-content h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 24px 0 8px; }
.page-content p { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 16px; }
.page-content ul, .page-content ol { margin: 0 0 16px 24px; }
.page-content li { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 6px; }
.prose-max { max-width: 720px; }

/* DISCLAIMER */
.disclaimer { background: var(--surface-strong); border-left: 3px solid var(--brand-ochre); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 16px 20px; margin: 24px 0; font-size: 14px; color: var(--muted); }

/* BADGE */
.badge { display: inline-flex; align-items: center; background: var(--surface-card); color: var(--ink); font-size: 13px; font-weight: 500; border-radius: var(--r-pill); padding: 4px 12px; }

/* 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; }
}

@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-img-card { display: none; }
  .section-title { font-size: 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-header h1 { font-size: 32px; letter-spacing: -0.5px; }
  .article-body .container { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .cta-band { padding: 48px 24px; margin: 0; border-radius: 0; }
  .cta-band h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: 16px 24px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: block; }
  #cookie-banner { flex-direction: column; align-items: flex-start; }
  .page-header h1 { font-size: 36px; }
}
