@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;
  --brand-pink: #ff4d8b;
  --brand-teal: #1a3a3a;
  --brand-lavender: #b8a4ed;
  --brand-peach: #ffb084;
  --brand-ochre: #e8b94a;
  --brand-mint: #a4d4c5;
  --success: #22c55e;
  --error: #ef4444;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--canvas); color: var(--body); 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; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.top-nav { background: var(--canvas); height: 64px; border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 100; }
.top-nav .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: -0.3px; }
.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-cta { font-size: 14px; font-weight: 600; background: var(--primary); color: var(--on-primary); padding: 10px 20px; border-radius: 12px; text-decoration: none; }
.nav-cta:hover { background: var(--primary-active); color: var(--on-primary); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }
.mobile-menu { display: none; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: 16px 24px; flex-direction: column; gap: 12px; }
.mobile-menu a { font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--hairline-soft); }
.mobile-menu.open { display: flex; }

/* HERO */
.hero-band { background: var(--canvas); padding: 96px 0; }
.hero-grid { 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: 64px; font-weight: 500; line-height: 1.0; letter-spacing: -2px; color: var(--ink); margin-bottom: 24px; }
.hero-sub { font-size: 18px; font-weight: 400; color: var(--body); line-height: 1.55; margin-bottom: 40px; max-width: 500px; }
.hero-img-card { background: var(--surface-soft); border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; }
.hero-img-card img { width: 100%; height: 100%; object-fit: cover; }

/* BUTTONS */
.btn-primary { display: inline-flex; align-items: center; background: var(--primary); color: var(--on-primary); font-size: 14px; font-weight: 600; padding: 12px 20px; border-radius: 12px; text-decoration: none; height: 44px; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--primary-active); color: var(--on-primary); }
.btn-secondary { display: inline-flex; align-items: center; background: var(--canvas); color: var(--ink); font-size: 14px; font-weight: 600; padding: 12px 20px; border-radius: 12px; text-decoration: none; height: 44px; border: 1px solid var(--hairline); cursor: pointer; }
.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: 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: 18px; color: var(--body); max-width: 640px; }

/* FEATURE CARDS */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.feature-card { border-radius: 24px; padding: 32px; }
.feature-card h3 { font-size: 18px; font-weight: 600; line-height: 1.4; margin-bottom: 12px; }
.feature-card p { font-size: 15px; line-height: 1.55; }
.fc-pink { background: var(--brand-pink); color: var(--on-primary); }
.fc-teal { background: var(--brand-teal); color: var(--on-primary); }
.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; margin-top: 48px; }
.article-card { background: var(--canvas); border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; transition: box-shadow 0.2s; }
.article-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.article-card-img { aspect-ratio: 16/9; overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.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-body h3 { font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: -0.3px; color: var(--ink); margin-bottom: 8px; }
.article-card-body p { font-size: 14px; color: var(--body); line-height: 1.55; margin-bottom: 16px; }
.article-card-meta { font-size: 13px; color: var(--muted-soft); }
.article-card-link { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.article-card-link:hover { text-decoration: underline; }

/* ARTICLE PAGE */
.article-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--hairline); }
.article-hero .breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.article-hero .breadcrumb a { color: var(--muted); }
.article-hero h1 { font-family: 'Inter', sans-serif; font-size: 48px; font-weight: 500; line-height: 1.1; letter-spacing: -1.5px; color: var(--ink); margin-bottom: 24px; max-width: 860px; }
.article-hero .article-meta { font-size: 14px; color: var(--muted); display: flex; gap: 24px; flex-wrap: wrap; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 64px; padding: 64px 0 96px; }
.article-content h2 { font-family: 'Inter', sans-serif; font-size: 28px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); margin: 48px 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 24px; }
.article-content li { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: 6px; }
.article-content a { color: var(--ink); }
.article-content img { border-radius: 16px; margin: 32px 0; width: 100%; }
.article-content .lead { font-size: 18px; font-weight: 400; color: var(--body-strong); line-height: 1.6; margin-bottom: 32px; }
.article-sidebar { }
.sidebar-card { background: var(--surface-card); border-radius: 16px; padding: 24px; margin-bottom: 24px; }
.sidebar-card h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.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; }

/* CTA BAND */
.cta-band { background: var(--surface-soft); border-radius: 24px; padding: 80px; margin: 0 0 96px; text-align: center; }
.cta-band h2 { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 500; letter-spacing: -1px; color: var(--ink); margin-bottom: 16px; }
.cta-band p { font-size: 18px; color: var(--body); margin-bottom: 32px; }

/* CONTACT FORM */
.contact-section { background: var(--surface-soft); padding: 96px 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-intro h2 { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 500; letter-spacing: -1px; color: var(--ink); margin-bottom: 16px; }
.form-intro p { font-size: 16px; color: var(--body); line-height: 1.6; margin-bottom: 24px; }
.form-intro address { font-style: normal; font-size: 14px; color: var(--muted); line-height: 1.8; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--body-strong); }
.form-field input, .form-field textarea { background: var(--canvas); color: var(--ink); font-family: 'Inter', sans-serif; font-size: 16px; padding: 12px 16px; border: 1px solid var(--hairline); border-radius: 12px; height: 44px; outline: none; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--ink); }
.form-field textarea { height: 120px; resize: vertical; }
.form-success { display: none; background: #f0fdf4; border: 1px solid var(--success); border-radius: 12px; padding: 16px; color: #166534; font-size: 14px; }

/* FOOTER */
footer { background: var(--surface-soft); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 12px; max-width: 260px; }
.footer-col h5 { font-size: 13px; font-weight: 600; letter-spacing: 1px; 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); }
.footer-bottom { border-top: 1px solid var(--hairline); padding-top: 24px; 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 { font-size: 13px; color: var(--muted-soft); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }

/* BADGE */
.badge { display: inline-block; background: var(--surface-card); color: var(--ink); font-size: 13px; font-weight: 500; padding: 4px 12px; border-radius: 9999px; }

/* DIVIDER */
.divider { border: none; border-top: 1px solid var(--hairline); margin: 0; }

/* PAGE HEADER */
.page-header { padding: 64px 0 48px; border-bottom: 1px solid var(--hairline); }
.page-header h1 { font-family: 'Inter', sans-serif; font-size: 48px; font-weight: 500; letter-spacing: -1.5px; color: var(--ink); margin-bottom: 16px; }
.page-header p { font-size: 18px; color: var(--body); max-width: 640px; }
.page-content { padding: 64px 0 96px; max-width: 820px; }
.page-content h2 { font-family: 'Inter', sans-serif; font-size: 28px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); margin: 48px 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: 6px; }
.page-content a { color: var(--ink); }
.updated-date { font-size: 13px; color: var(--muted-soft); margin-bottom: 32px; }

/* COOKIE BANNER */
#cookie-banner { display: none; position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--surface-dark); color: var(--on-primary); padding: 20px 28px; border-radius: 16px; width: min(560px, calc(100vw - 48px)); z-index: 999; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
#cookie-banner p { font-size: 14px; line-height: 1.5; margin-bottom: 16px; color: rgba(255,255,255,0.85); }
#cookie-banner p a { color: #fff; }
.cookie-btns { display: flex; gap: 12px; }
.cookie-btns button { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: 12px; border: none; cursor: pointer; }
#cookie-accept { background: var(--on-primary); color: var(--ink); }
#cookie-reject { background: transparent; color: var(--on-primary); border: 1px solid rgba(255,255,255,0.3) !important; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-h1 { font-size: 48px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-img-card { display: none; }
  .hero-band { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 24px; }
  .cta-band h2 { font-size: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-hero h1 { font-size: 32px; }
  .page-header h1 { font-size: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
