*, *::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;
}

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: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

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

.top-nav { background: var(--canvas); border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 100; height: 64px; }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav-logo { font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.3px; line-height: 1.3; }
.nav-logo span { color: var(--brand-teal); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--muted); padding: 8px 16px; border-radius: 9999px; transition: background 0.15s, color 0.15s; }
.nav-link:hover { background: var(--surface-card); color: var(--ink); text-decoration: none; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }

.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-content { display: flex; flex-direction: column; gap: 24px; }
.hero-label { font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.hero-title { font-size: 72px; font-weight: 500; line-height: 1; letter-spacing: -2.5px; color: var(--ink); }
.hero-subtitle { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--body-strong); max-width: 480px; }
.hero-body { font-size: 16px; font-weight: 400; line-height: 1.55; color: var(--body); max-width: 480px; }
.hero-illustration-card { background: var(--surface-soft); border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; }
.hero-illustration-card img { width: 100%; height: 100%; object-fit: cover; }

.btn-primary { background: 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: 12px; border: none; cursor: pointer; display: inline-flex; align-items: center; transition: background 0.15s; }
.btn-primary:hover { background: var(--primary-active); text-decoration: none; }
.btn-secondary { background: 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: 12px; border: 1px solid var(--hairline); cursor: pointer; display: inline-flex; align-items: center; transition: background 0.15s; }
.btn-secondary:hover { background: var(--surface-card); text-decoration: none; }

.section { padding: 96px 24px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.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: 40px; font-weight: 500; line-height: 1.1; letter-spacing: -1px; color: var(--ink); margin-bottom: 16px; }
.section-body { font-size: 16px; line-height: 1.55; color: var(--body); max-width: 640px; margin-bottom: 48px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.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 h3 { font-size: 18px; font-weight: 600; line-height: 1.4; }
.feature-card p { font-size: 14px; line-height: 1.55; opacity: 0.85; }
.feature-card img { border-radius: 16px; width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: var(--canvas); border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.15s; }
.article-card:hover { box-shadow: 0 4px 20px rgba(10,10,10,0.08); text-decoration: none; }
.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; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card-tag { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.article-card-title { font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: -0.3px; color: var(--ink); }
.article-card-excerpt { font-size: 14px; line-height: 1.55; color: var(--muted); flex: 1; }
.article-card-date { font-size: 13px; font-weight: 500; color: var(--muted-soft); margin-top: 12px; }

.contact-band { background: var(--surface-soft); border-radius: 24px; padding: 80px; margin: 0 24px 96px; max-width: 1232px; margin-left: auto; margin-right: auto; }
.contact-band-inner { max-width: 640px; }
.contact-title { font-size: 40px; font-weight: 500; line-height: 1.1; letter-spacing: -1px; color: var(--ink); margin-bottom: 16px; }
.contact-body { font-size: 16px; line-height: 1.55; color: var(--body); margin-bottom: 32px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--body-strong); }
.form-group input, .form-group textarea { background: var(--canvas); color: var(--ink); font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 400; line-height: 1.55; padding: 12px 16px; border: 1px solid var(--hairline); border-radius: 12px; height: 44px; outline: none; transition: border-color 0.15s; width: 100%; }
.form-group textarea { height: auto; min-height: 100px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--ink); }
.form-success { display: none; font-size: 16px; color: var(--success); font-weight: 500; margin-top: 8px; }

.page-hero { background: var(--canvas); padding: 64px 24px 48px; border-bottom: 1px solid var(--hairline-soft); }
.page-hero-inner { max-width: 1280px; margin: 0 auto; }
.page-hero-label { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.page-hero-title { font-size: 56px; font-weight: 500; line-height: 1.05; letter-spacing: -2px; color: var(--ink); margin-bottom: 16px; }
.page-hero-subtitle { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--body-strong); max-width: 640px; }

.article-hero { background: var(--canvas); padding: 64px 24px 0; }
.article-hero-inner { max-width: 1280px; margin: 0 auto; }
.article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.article-tag { background: var(--surface-card); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 12px; border-radius: 9999px; }
.article-date { font-size: 13px; font-weight: 500; color: var(--muted-soft); }
.article-title { font-size: 56px; font-weight: 500; line-height: 1.05; letter-spacing: -2px; color: var(--ink); margin-bottom: 16px; }
.article-subtitle { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--body-strong); max-width: 720px; margin-bottom: 32px; }
.article-cover { width: 100%; max-width: 1280px; margin: 0 auto; border-radius: 24px 24px 0 0; overflow: hidden; aspect-ratio: 21/9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.article-body { max-width: 720px; margin: 0 auto; padding: 64px 24px 96px; }
.article-body h2 { font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -0.5px; color: var(--ink); margin: 48px 0 16px; }
.article-body h3 { font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -0.3px; color: var(--ink); margin: 32px 0 12px; }
.article-body p { font-size: 16px; line-height: 1.55; color: var(--body); margin-bottom: 20px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { font-size: 16px; line-height: 1.55; color: var(--body); margin-bottom: 8px; }
.article-body a { color: var(--ink); text-decoration: underline; }
.article-body a:hover { opacity: 0.7; }
.article-body .inline-img { border-radius: 16px; width: 100%; margin: 32px 0; aspect-ratio: 16/9; object-fit: cover; }
.article-updated { font-size: 13px; color: var(--muted-soft); margin-bottom: 40px; }
.article-body blockquote { border-left: 3px solid var(--brand-ochre); padding-left: 20px; margin: 32px 0; font-size: 18px; font-weight: 600; color: var(--body-strong); line-height: 1.4; }

.related-articles { background: var(--surface-soft); padding: 64px 24px; }
.related-articles-inner { max-width: 1280px; margin: 0 auto; }
.related-title { font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -0.5px; color: var(--ink); margin-bottom: 32px; }

.prose { max-width: 720px; margin: 0 auto; padding: 64px 24px 96px; }
.prose h2 { font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -0.5px; color: var(--ink); margin: 48px 0 16px; }
.prose h3 { font-size: 24px; font-weight: 600; line-height: 1.3; color: var(--ink); margin: 32px 0 12px; }
.prose p { font-size: 16px; line-height: 1.55; color: var(--body); margin-bottom: 20px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 20px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { font-size: 16px; line-height: 1.55; color: var(--body); margin-bottom: 8px; }
.prose a { color: var(--ink); text-decoration: underline; }

.breadcrumb { font-size: 13px; color: var(--muted); padding: 16px 24px 0; max-width: 1280px; margin: 0 auto; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); text-decoration: none; }
.breadcrumb span { margin: 0 8px; }

.cookie-banner { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--surface-dark); color: var(--on-dark); border-radius: 16px; padding: 20px 28px; display: flex; align-items: center; gap: 24px; max-width: 640px; width: calc(100% - 48px); z-index: 9999; box-shadow: 0 8px 32px rgba(0,0,0,0.2); flex-wrap: wrap; }
.cookie-banner p { font-size: 14px; line-height: 1.55; flex: 1; min-width: 200px; }
.cookie-banner p a { color: var(--brand-mint); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-banner.hidden { display: none; }

.disclaimer { background: var(--surface-strong); border-radius: 12px; padding: 16px 20px; font-size: 13px; line-height: 1.55; color: var(--muted); margin: 32px 0; }

.footer { background: var(--surface-soft); padding: 80px 24px 40px; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.3px; margin-bottom: 12px; }
.footer-brand span { color: var(--brand-teal); }
.footer-desc { font-size: 14px; line-height: 1.55; color: var(--muted); }
.footer-heading { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer ul { display: flex; flex-direction: column; gap: 8px; }
.footer ul li, .footer ul a { font-size: 14px; line-height: 1.55; color: var(--body); }
.footer ul a:hover { color: var(--ink); text-decoration: none; }
.footer-bottom { max-width: 1280px; margin: 0 auto; border-top: 1px solid var(--hairline); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 14px; line-height: 1.55; color: var(--muted-soft); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--ink); }

@media (max-width: 1024px) {
  .hero-title { font-size: 56px; letter-spacing: -2px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .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; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-title { font-size: 36px; letter-spacing: -1px; }
  .hero-illustration-card { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-title { font-size: 36px; letter-spacing: -1px; }
  .page-hero-title { font-size: 36px; letter-spacing: -1px; }
  .contact-band { padding: 40px 24px; margin: 0 0 64px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .cookie-banner { bottom: 16px; flex-direction: column; align-items: flex-start; }
}
