@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;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-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; line-height: 1.55; }

a { color: var(--ink); text-decoration: underline; }
a:hover { color: var(--primary-active); }

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-lg); }

.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; }
.top-nav .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: -0.3px; }
.nav-logo:hover { color: var(--primary-active); }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: var(--radius-pill); transition: background 0.15s, color 0.15s; }
.nav-links a:hover, .nav-links a.active { background: var(--surface-card); color: var(--ink); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-mobile { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: 16px; }
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.nav-mobile ul a { display: block; padding: 10px 16px; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; border-radius: var(--radius-md); }
.nav-mobile ul a:hover { background: var(--surface-card); color: var(--ink); }

.hero-band { padding: 96px 0; background: var(--canvas); }
.hero-band .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-family: 'Inter', sans-serif; font-size: 56px; font-weight: 500; line-height: 1.05; letter-spacing: -2px; color: var(--ink); margin-bottom: 24px; }
.hero-sub { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--body-strong); margin-bottom: 32px; }
.hero-img-card { background: var(--surface-soft); border-radius: var(--radius-xl); overflow: hidden; }
.hero-img-card img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius-xl); }

.section { padding: 96px 0; }
.section-label { font-size: 12px; font-weight: 600; 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-sub { font-size: 16px; line-height: 1.55; color: var(--body); margin-bottom: 48px; max-width: 640px; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { border-radius: var(--radius-xl); padding: 32px; }
.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; margin-bottom: 12px; }
.feature-card p { font-size: 14px; line-height: 1.55; opacity: 0.9; }
.feature-card .card-icon { font-size: 28px; margin-bottom: 16px; }

.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.article-card { background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow 0.15s; }
.article-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.article-card img { width: 100%; height: 220px; 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-title { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--ink); margin-bottom: 12px; text-decoration: none; display: block; }
.article-card-title:hover { color: var(--brand-teal); }
.article-card-excerpt { 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-header { padding: 64px 0 48px; background: var(--canvas); }
.article-breadcrumb { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 24px; }
.article-breadcrumb a { color: var(--muted); text-decoration: none; }
.article-breadcrumb a:hover { color: var(--ink); }
.article-tag { display: inline-block; 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: var(--radius-pill); margin-bottom: 16px; }
.article-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; }
.article-meta { font-size: 13px; font-weight: 500; color: var(--muted-soft); margin-bottom: 0; }
.article-hero-img { width: 100%; max-height: 500px; object-fit: cover; border-radius: var(--radius-xl); margin-bottom: 48px; }
.article-body { max-width: 720px; }
.article-body 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-body h3 { font-size: 20px; font-weight: 600; line-height: 1.4; color: var(--ink); margin: 32px 0 12px; }
.article-body p { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 24px; }
.article-body ul, .article-body ol { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 24px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--ink); }
.article-body strong { color: var(--body-strong); font-weight: 600; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 32px; font-size: 15px; }
.article-body th { background: var(--surface-strong); color: var(--ink); font-weight: 600; padding: 12px 16px; text-align: left; border: 1px solid var(--hairline); }
.article-body td { padding: 12px 16px; border: 1px solid var(--hairline); color: var(--body); vertical-align: top; }
.article-body tr:nth-child(even) td { background: var(--hairline-soft); }

.info-box { background: var(--surface-card); border-radius: var(--radius-lg); padding: 24px 28px; margin-bottom: 32px; border-left: 4px solid var(--brand-ochre); }
.info-box h4 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.info-box p, .info-box ul { font-size: 14px; line-height: 1.55; color: var(--body); margin: 0; }
.info-box ul { padding-left: 20px; }
.info-box li { margin-bottom: 4px; }

.surface-band { background: var(--surface-soft); padding: 96px 0; }

.contact-form { background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 40px; max-width: 600px; }
.form-group { margin-bottom: 20px; }
.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-size: 16px; font-family: inherit; padding: 12px 16px; height: 44px; border: 1px solid var(--hairline); border-radius: var(--radius-md); outline: none; transition: border-color 0.15s; }
.form-group textarea { height: 120px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--ink); }
.form-group input.error-field, .form-group textarea.error-field { border-color: var(--error); }
.form-error { font-size: 13px; color: var(--error); margin-top: 4px; display: none; }
.btn-primary { background: var(--primary); color: var(--on-primary); font-size: 14px; font-weight: 600; font-family: inherit; padding: 12px 20px; height: 44px; border: none; border-radius: var(--radius-md); cursor: pointer; transition: background 0.15s; }
.btn-primary:hover { background: var(--primary-active); }
.btn-primary:disabled { background: var(--primary-disabled); color: var(--muted); cursor: not-allowed; }
.form-success { display: none; padding: 16px 20px; background: #d1fae5; color: #065f46; border-radius: var(--radius-md); font-size: 14px; font-weight: 500; margin-top: 16px; }

.cookie-banner { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); width: calc(100% - 48px); max-width: 700px; background: var(--surface-dark); color: var(--on-dark); border-radius: var(--radius-xl); padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; z-index: 9999; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.cookie-banner p { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.85); flex: 1; }
.cookie-banner a { color: var(--brand-lavender); }
.cookie-buttons { display: flex; gap: 12px; flex-shrink: 0; }
.btn-cookie-accept { background: var(--on-primary); color: var(--ink); font-size: 14px; font-weight: 600; font-family: inherit; padding: 10px 18px; border: none; border-radius: var(--radius-md); cursor: pointer; }
.btn-cookie-reject { background: transparent; color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 600; font-family: inherit; padding: 10px 18px; border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-md); cursor: pointer; }

.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); margin-top: 12px; max-width: 280px; }
.footer-col h4 { 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; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 14px; color: var(--body); text-decoration: none; }
.footer-col ul 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; }
.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); }

.page-header { padding: 64px 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); }
.page-h1 { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 500; line-height: 1.1; letter-spacing: -1px; color: var(--ink); margin-bottom: 12px; }
.page-sub { font-size: 16px; line-height: 1.55; color: var(--muted); }
.page-body { padding: 64px 0; }
.page-body 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 12px; }
.page-body p { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 20px; }
.page-body ul, .page-body ol { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 20px; padding-left: 24px; }
.page-body li { margin-bottom: 8px; }
.page-body a { color: var(--ink); }

.disclaimer { background: var(--surface-card); border-radius: var(--radius-md); padding: 16px 20px; font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 32px; }

@media (max-width: 1024px) {
  .hero-h1 { font-size: 44px; }
  .cards-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-band .container { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-band { padding: 64px 0; }
  .section { padding: 64px 0; }
  .section-title { font-size: 32px; }
  .cards-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .article-h1 { font-size: 32px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-buttons { width: 100%; }
}
