*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0a0a0a;
  --ink: #0a0a0a;
  --body: #3a3a3a;
  --muted: #6a6a6a;
  --muted-soft: #9a9a9a;
  --hairline: #e5e5e5;
  --canvas: #fffaf0;
  --surface-soft: #faf5e8;
  --surface-card: #f5f0e0;
  --surface-strong: #ebe6d6;
  --on-primary: #ffffff;
  --brand-pink: #ff4d8b;
  --brand-teal: #1a3a3a;
  --brand-lavender: #b8a4ed;
  --brand-peach: #ffb084;
  --brand-ochre: #e8b94a;
  --brand-mint: #a4d4c5;
  --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, sans-serif; background: var(--canvas); color: var(--body); font-size: 16px; line-height: 1.55; }

a { color: var(--ink); text-decoration: underline; }
a:hover { opacity: 0.75; }

img { max-width: 100%; height: auto; display: block; }

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

.top-nav { background: var(--canvas); height: 64px; border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 100; }
.nav-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; gap: 32px; }
.nav-logo { font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-links { list-style: none; display: flex; gap: 24px; margin-left: auto; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--ink); margin-left: auto; }

.hero-band { background: var(--canvas); padding: 96px 24px; }
.hero-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.hero-title { font-size: 56px; font-weight: 500; line-height: 1.05; letter-spacing: -2px; color: var(--ink); margin-bottom: 24px; }
.hero-sub { font-size: 18px; color: var(--body); margin-bottom: 32px; max-width: 520px; }
.hero-img-card { background: var(--surface-soft); border-radius: var(--rounded-xl); overflow: hidden; }
.hero-img-card img { width: 100%; height: 340px; object-fit: cover; }

.btn-primary { display: inline-block; background: var(--primary); color: var(--on-primary); font-size: 14px; font-weight: 600; padding: 12px 20px; border-radius: var(--rounded-md); text-decoration: none; border: none; cursor: pointer; height: 44px; line-height: 1; }
.btn-secondary { display: inline-block; background: var(--canvas); color: var(--ink); font-size: 14px; font-weight: 600; padding: 12px 20px; border-radius: var(--rounded-md); text-decoration: none; border: 1px solid var(--hairline); cursor: pointer; height: 44px; line-height: 1; }

.section { padding: 96px 24px; }
.section-label { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.section-title { font-size: 40px; font-weight: 500; letter-spacing: -1px; color: var(--ink); margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--body); max-width: 600px; margin-bottom: 48px; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.feature-card { border-radius: var(--rounded-xl); padding: 32px; }
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.feature-card p { font-size: 14px; line-height: 1.55; }
.feature-card-pink { background: var(--brand-pink); color: #fff; }
.feature-card-teal { background: var(--brand-teal); color: #fff; }
.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); }

.articles-section { background: var(--surface-soft); }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: var(--canvas); border-radius: var(--rounded-lg); padding: 24px; border: 1px solid var(--hairline); text-decoration: none; color: var(--ink); display: block; transition: box-shadow 0.2s; }
.article-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); text-decoration: none; }
.article-card .badge { display: inline-block; background: var(--surface-card); border-radius: var(--rounded-pill); padding: 4px 12px; font-size: 13px; font-weight: 500; margin-bottom: 12px; }
.article-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
.article-card p { font-size: 14px; color: var(--body); }

.cta-band { background: var(--surface-soft); border-radius: var(--rounded-xl); padding: 80px; margin: 0 24px 96px; text-align: center; max-width: 1280px; margin-left: auto; margin-right: auto; }
.cta-band h2 { font-size: 40px; font-weight: 500; letter-spacing: -1px; color: var(--ink); margin-bottom: 16px; }
.cta-band p { font-size: 16px; color: var(--body); margin-bottom: 32px; }

.contact-section { padding: 96px 24px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1280px; margin: 0 auto; }
.contact-form { background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--rounded-lg); padding: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form-group input, .form-group textarea { width: 100%; background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--rounded-md); padding: 12px 16px; font-size: 16px; font-family: inherit; height: 44px; color: var(--ink); }
.form-group textarea { height: 120px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--ink); }
.form-msg { margin-top: 12px; font-size: 14px; font-weight: 500; }
.form-msg.success { color: #22c55e; }
.form-msg.error { color: #ef4444; }

.page-hero { padding: 64px 24px 48px; background: var(--canvas); border-bottom: 1px solid var(--hairline); }
.page-hero h1 { font-size: 40px; font-weight: 500; letter-spacing: -1px; color: var(--ink); margin-bottom: 12px; }
.page-hero p { font-size: 16px; color: var(--body); max-width: 600px; }

.page-content { max-width: 800px; margin: 0 auto; padding: 64px 24px; }
.page-content h2 { font-size: 28px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); margin: 40px 0 16px; }
.page-content h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin: 28px 0 12px; }
.page-content p { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 16px; }
.page-content ul, .page-content ol { padding-left: 24px; margin-bottom: 16px; }
.page-content li { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 6px; }
.page-content .updated { font-size: 13px; color: var(--muted-soft); margin-bottom: 32px; }

.article-hero { padding: 64px 24px 0; background: var(--canvas); }
.article-hero-inner { max-width: 800px; margin: 0 auto; }
.article-hero .badge { display: inline-block; background: var(--surface-card); border-radius: var(--rounded-pill); padding: 4px 12px; font-size: 13px; font-weight: 500; margin-bottom: 16px; }
.article-hero h1 { font-size: 48px; font-weight: 500; letter-spacing: -1.5px; color: var(--ink); margin-bottom: 16px; line-height: 1.1; }
.article-hero .lead { font-size: 18px; color: var(--body); margin-bottom: 16px; }
.article-hero .meta { font-size: 13px; color: var(--muted-soft); margin-bottom: 32px; }
.article-img { max-width: 800px; margin: 0 auto; border-radius: var(--rounded-xl); overflow: hidden; }
.article-img img { width: 100%; height: 400px; object-fit: cover; }
.article-body { max-width: 800px; margin: 0 auto; padding: 48px 24px 96px; }
.article-body h2 { font-size: 28px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); margin: 48px 0 16px; }
.article-body h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin: 32px 0 12px; }
.article-body p { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 16px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; }
.article-body li { font-size: 16px; line-height: 1.7; margin-bottom: 6px; color: var(--body); }
.article-body .info-box { background: var(--surface-card); border-radius: var(--rounded-lg); padding: 24px; margin: 32px 0; }
.article-body .info-box h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.article-body .checklist { list-style: none; padding: 0; }
.article-body .checklist li::before { content: '✓ '; color: #22c55e; font-weight: 700; }
.article-body .warning-box { background: #fff8e1; border-left: 4px solid var(--brand-ochre); border-radius: var(--rounded-sm); padding: 16px 20px; margin: 24px 0; }

.related-articles { background: var(--surface-soft); padding: 48px 24px; }
.related-articles h2 { font-size: 24px; font-weight: 600; margin-bottom: 24px; max-width: 800px; margin-left: auto; margin-right: auto; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 800px; margin: 0 auto; }

.footer { background: var(--surface-soft); padding: 80px 24px 0; }
.footer-container { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.footer-desc { font-size: 14px; color: var(--muted); }
.footer h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer ul a:hover { color: var(--ink); }
.footer p { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid var(--hairline); padding: 24px 0; max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p, .footer-bottom a { font-size: 14px; color: var(--muted); }

.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface-strong); border-top: 1px solid var(--hairline); padding: 16px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; z-index: 999; }
.cookie-banner p { font-size: 14px; color: var(--body); flex: 1; }
.cookie-banner .cookie-btns { display: flex; gap: 8px; }

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-title { font-size: 40px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .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: 12px; }
  .nav-links.open { display: flex; }
  .hero-title { font-size: 32px; letter-spacing: -1px; }
  .hero-band { padding: 48px 24px; }
  .section { padding: 48px 24px; }
  .section-title { font-size: 28px; }
  .cards-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 24px; }
  .cta-band h2 { font-size: 28px; }
  .article-hero h1 { font-size: 32px; }
  .footer-container { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .related-grid { grid-template-columns: 1fr; }
}
