@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;
  --rounded-xs: 6px;
  --rounded-sm: 8px;
  --rounded-md: 12px;
  --rounded-lg: 16px;
  --rounded-xl: 24px;
  --rounded-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; }

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 */
.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; height: 100%; justify-content: space-between; }
.nav-logo { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 600; letter-spacing: -0.5px; color: var(--ink); text-decoration: none; }
.nav-logo span { color: var(--brand-teal); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; }
.nav-links a:hover { color: var(--muted); }
.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; transition: 0.3s; }
.nav-mobile { display: none; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: 16px 24px; }
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.nav-mobile a { font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; }

/* HERO */
.hero { padding: 96px 0; background: var(--canvas); }
.hero .container { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.hero-content 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-content p { font-size: 18px; font-weight: 400; color: var(--body-strong); line-height: 1.55; max-width: 520px; }
.hero-badge { display: inline-block; background: var(--surface-card); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; border-radius: var(--rounded-pill); padding: 4px 12px; margin-bottom: 16px; }
.hero-img { border-radius: var(--rounded-xl); overflow: hidden; background: var(--surface-soft); }
.hero-img img { width: 100%; height: 380px; object-fit: cover; }

/* FEATURE CARDS */
.features { padding: 96px 0; }
.features h2 { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 500; letter-spacing: -1px; color: var(--ink); text-align: center; margin-bottom: 48px; }
.feature-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; line-height: 1.4; }
.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); }

/* ARTICLES SECTION */
.articles-section { padding: 96px 0; background: var(--surface-soft); }
.articles-section h2 { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 500; letter-spacing: -1px; color: var(--ink); margin-bottom: 48px; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: var(--canvas); border-radius: var(--rounded-lg); overflow: hidden; border: 1px solid var(--hairline); }
.article-card img { width: 100%; height: 200px; object-fit: cover; }
.article-card-body { padding: 24px; }
.article-card-body .tag { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.article-card-body h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 12px; line-height: 1.4; }
.article-card-body p { font-size: 14px; color: var(--body); line-height: 1.55; margin-bottom: 16px; }
.article-card-body a { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; }

/* CONTACT FORM */
.contact-section { padding: 96px 0; }
.contact-section h2 { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 500; letter-spacing: -1px; color: var(--ink); margin-bottom: 16px; }
.contact-section p.lead { font-size: 18px; color: var(--body-strong); margin-bottom: 48px; max-width: 560px; }
.contact-form { max-width: 560px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-group input, .form-group textarea { width: 100%; background: var(--canvas); color: var(--ink); font-family: 'Inter', sans-serif; font-size: 16px; border: 1px solid var(--hairline); border-radius: var(--rounded-md); padding: 12px 16px; height: 44px; transition: border-color 0.2s; outline: none; }
.form-group textarea { height: auto; min-height: 120px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--ink); }
.form-group input.error, .form-group textarea.error { border-color: var(--error); }
.field-error { font-size: 13px; color: var(--error); margin-top: 4px; display: none; }
.field-error.visible { display: block; }
.btn-primary { background: var(--primary); color: var(--on-primary); font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; border: none; border-radius: var(--rounded-md); padding: 12px 20px; height: 44px; cursor: pointer; transition: background 0.2s; }
.btn-primary:hover { background: var(--primary-active); }
.btn-primary:disabled { background: var(--primary-disabled); color: var(--muted); cursor: not-allowed; }
.form-success { display: none; background: var(--surface-card); border: 1px solid var(--hairline); border-radius: var(--rounded-md); padding: 16px 20px; font-size: 14px; font-weight: 500; color: var(--body-strong); margin-top: 16px; }
.form-success.visible { display: block; }

/* INFO SECTION */
.info-section { padding: 96px 0; background: var(--surface-strong); }
.info-section h2 { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 500; letter-spacing: -1px; color: var(--ink); margin-bottom: 48px; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.info-card { background: var(--canvas); border-radius: var(--rounded-lg); padding: 32px; border: 1px solid var(--hairline); }
.info-card h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.info-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.info-card ul li { font-size: 14px; color: var(--body); padding-left: 20px; position: relative; }
.info-card ul li::before { content: '→'; position: absolute; left: 0; color: var(--brand-teal); font-weight: 600; }

/* ARTICLE PAGE */
.article-hero { padding: 64px 0 48px; background: var(--canvas); border-bottom: 1px solid var(--hairline); }
.article-hero .breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.article-hero .breadcrumb a { color: var(--muted); }
.article-hero h1 { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 500; letter-spacing: -1px; color: var(--ink); line-height: 1.1; max-width: 720px; margin-bottom: 16px; }
.article-hero .meta { font-size: 13px; color: var(--muted-soft); }
.article-body { padding: 64px 0 96px; }
.article-body .container { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; }
.article-content h2 { font-family: 'Inter', sans-serif; font-size: 28px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); margin: 40px 0 16px; }
.article-content h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin: 32px 0 12px; }
.article-content p { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: 20px; }
.article-content ul, .article-content ol { margin: 0 0 20px 20px; }
.article-content li { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: 8px; }
.article-content img { border-radius: var(--rounded-lg); margin: 32px 0; width: 100%; }
.article-content .callout { background: var(--surface-card); border-radius: var(--rounded-lg); padding: 24px; margin: 32px 0; border-left: 4px solid var(--brand-teal); }
.article-content .callout p { margin: 0; font-size: 15px; }
.article-sidebar { position: sticky; top: 80px; align-self: start; }
.sidebar-card { background: var(--surface-card); border-radius: var(--rounded-lg); padding: 24px; margin-bottom: 24px; }
.sidebar-card h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 16px; letter-spacing: 1px; text-transform: uppercase; }
.sidebar-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sidebar-card ul li a { font-size: 14px; color: var(--body); text-decoration: none; }
.sidebar-card ul li a:hover { color: var(--ink); text-decoration: underline; }

/* PAGE */
.page-hero { padding: 64px 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); }
.page-hero h1 { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 500; letter-spacing: -1px; color: var(--ink); }
.page-content { padding: 64px 0 96px; }
.page-content h2 { font-family: 'Inter', sans-serif; font-size: 28px; font-weight: 500; color: var(--ink); margin: 40px 0 16px; }
.page-content h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin: 32px 0 12px; }
.page-content p { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: 20px; }
.page-content ul, .page-content ol { margin: 0 0 20px 24px; }
.page-content li { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: 8px; }

/* 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 p { font-size: 14px; color: var(--muted); line-height: 1.55; margin-top: 12px; max-width: 260px; }
.footer-col h4 { font-size: 12px; 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: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--body); text-decoration: none; }
.footer-col ul li a:hover { color: var(--ink); text-decoration: underline; }
.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 .disclaimer { font-size: 12px; color: var(--muted-soft); max-width: 600px; text-align: right; }

/* COOKIE BANNER */
.cookie-banner { position: fixed; bottom: 24px; left: 24px; right: 24px; max-width: 540px; background: var(--surface-dark); color: var(--on-dark); border-radius: var(--rounded-xl); padding: 24px; z-index: 1000; display: none; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.cookie-banner.visible { display: block; }
.cookie-banner p { font-size: 14px; line-height: 1.55; margin-bottom: 16px; color: #c0c0c0; }
.cookie-banner p a { color: var(--brand-mint); }
.cookie-actions { display: flex; gap: 12px; }
.cookie-btn { border: none; border-radius: var(--rounded-md); padding: 10px 20px; font-size: 14px; font-weight: 600; cursor: pointer; transition: opacity 0.2s; }
.cookie-btn-accept { background: var(--on-dark); color: var(--surface-dark); }
.cookie-btn-reject { background: transparent; color: var(--on-dark); border: 1px solid rgba(255,255,255,0.3); }
.cookie-btn:hover { opacity: 0.85; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr 1fr; }
  .hero-content h1 { font-size: 48px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-body .container { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero { padding: 64px 0; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 36px; }
  .hero-img { display: none; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .feature-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom .disclaimer { text-align: center; }
  .features h2, .articles-section h2, .contact-section h2, .info-section h2 { font-size: 32px; }
  .cookie-banner { bottom: 0; left: 0; right: 0; border-radius: var(--rounded-xl) var(--rounded-xl) 0 0; max-width: 100%; }
}
