@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 { color: var(--primary-active); }
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; 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-logo span { color: var(--brand-teal); }
.nav-menu { display: flex; gap: 8px; list-style: none; }
.nav-menu a { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: var(--rounded-pill); transition: background 0.15s, color 0.15s; }
.nav-menu a:hover, .nav-menu a.active { background: var(--surface-card); color: var(--ink); }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* HERO */
.hero-band { background: var(--canvas); padding: 96px 0; }
.hero-band .container { 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-band h1 { font-family: 'Inter', sans-serif; font-size: 56px; font-weight: 500; line-height: 1.05; letter-spacing: -2px; color: var(--ink); margin-bottom: 20px; }
.hero-band p { font-size: 18px; color: var(--body-strong); line-height: 1.5; margin-bottom: 32px; }
.hero-illustration-card { background: var(--surface-soft); border-radius: var(--rounded-xl); overflow: hidden; aspect-ratio: 4/3; }
.hero-illustration-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-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; padding: 12px 20px; height: 44px; border-radius: var(--rounded-md); text-decoration: none; border: none; cursor: pointer; transition: background 0.15s; }
.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-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; padding: 12px 20px; height: 44px; border-radius: var(--rounded-md); border: 1px solid var(--hairline); text-decoration: none; cursor: pointer; transition: border-color 0.15s; }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }

/* BADGE */
.badge-pill { display: inline-block; background: var(--surface-card); color: var(--ink); font-size: 13px; font-weight: 500; padding: 4px 12px; border-radius: var(--rounded-pill); }

/* 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(--muted); max-width: 560px; }

/* FEATURE CARDS GRID */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.feature-card { border-radius: var(--rounded-xl); padding: 32px; }
.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.6; }
.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); }

/* 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: var(--rounded-lg); overflow: hidden; transition: box-shadow 0.15s; }
.article-card:hover { box-shadow: 0 4px 16px rgba(10,10,10,0.08); }
.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; }
.article-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.article-card-meta time { font-size: 13px; color: var(--muted); }
.article-card h3 { font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: -0.3px; margin-bottom: 10px; }
.article-card h3 a { text-decoration: none; color: var(--ink); }
.article-card h3 a:hover { text-decoration: underline; }
.article-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ARTICLE PAGE */
.article-header { padding: 64px 0 48px; border-bottom: 1px solid var(--hairline); }
.article-header .breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.article-header .breadcrumb a { color: var(--muted); text-decoration: none; }
.article-header .breadcrumb a:hover { color: var(--ink); }
.article-header 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; max-width: 760px; }
.article-header .article-meta { font-size: 13px; color: var(--muted); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.article-body { padding: 64px 0; }
.article-content { max-width: 760px; }
.article-content 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-content h3 { font-size: 22px; font-weight: 600; line-height: 1.3; 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 strong { color: var(--body-strong); font-weight: 600; }
.article-figure { margin: 40px 0; border-radius: var(--rounded-lg); overflow: hidden; }
.article-figure img { width: 100%; border-radius: var(--rounded-lg); }
.article-figure figcaption { font-size: 13px; color: var(--muted-soft); margin-top: 8px; text-align: center; }
.info-box { background: var(--surface-card); border-radius: var(--rounded-lg); padding: 24px 28px; margin: 32px 0; }
.info-box h4 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.info-box p, .info-box li { font-size: 15px; color: var(--body); }
.param-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.param-table th { background: var(--surface-strong); color: var(--ink); font-weight: 600; padding: 12px 16px; text-align: left; }
.param-table td { padding: 11px 16px; border-bottom: 1px solid var(--hairline); color: var(--body); }
.param-table tr:last-child td { border-bottom: none; }

/* RELATED ARTICLES */
.related-section { background: var(--surface-soft); padding: 64px 0; }
.related-section h2 { font-family: 'Inter', sans-serif; font-size: 32px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); margin-bottom: 32px; }

/* CONTACT FORM */
.contact-band { background: var(--surface-soft); padding: 96px 0; }
.contact-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info h2 { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 500; line-height: 1.1; letter-spacing: -1px; color: var(--ink); margin-bottom: 16px; }
.contact-info p { font-size: 16px; color: var(--muted); line-height: 1.6; margin-bottom: 24px; }
.contact-detail { display: flex; flex-direction: column; gap: 10px; }
.contact-detail span { font-size: 14px; color: var(--body); }
.contact-detail a { color: var(--ink); }
.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; color: var(--ink); margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; background: var(--canvas); color: var(--ink); font-family: 'Inter', sans-serif; font-size: 16px; padding: 12px 16px; height: 44px; border: 1px solid var(--hairline); border-radius: var(--rounded-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-submit { width: 100%; }

/* FOOTER */
.site-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; color: var(--muted); line-height: 1.6; 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: 10px; }
.footer-col a { font-size: 14px; color: var(--body); text-decoration: none; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--hairline); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: var(--muted-soft); }

/* COOKIE BANNER */
#cookie-banner { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--surface-dark); color: var(--on-dark); padding: 20px 28px; border-radius: var(--rounded-xl); max-width: 560px; width: calc(100% - 48px); display: flex; gap: 16px; align-items: center; justify-content: space-between; z-index: 9999; box-shadow: 0 8px 32px rgba(0,0,0,0.18); }
#cookie-banner p { font-size: 14px; line-height: 1.5; flex: 1; }
#cookie-banner a { color: var(--brand-mint); }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btns button { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: var(--rounded-md); border: none; cursor: pointer; }
#cookie-accept { background: var(--on-primary); color: var(--ink); }
#cookie-reject { background: transparent; color: var(--on-dark-soft, #a0a0a0); border: 1px solid rgba(255,255,255,0.2); }

/* INNER PAGE */
.page-header { padding: 64px 0 48px; }
.page-header 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-header p { font-size: 16px; color: var(--muted); }
.page-body { padding: 48px 0 96px; max-width: 760px; }
.page-body h2 { font-family: 'Inter', sans-serif; font-size: 28px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); margin: 40px 0 12px; }
.page-body h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin: 28px 0 10px; }
.page-body p { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: 16px; }
.page-body ul { margin: 0 0 16px 24px; }
.page-body li { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: 6px; }
.page-body a { color: var(--ink); }

/* DISCLAIMER */
.disclaimer-bar { background: var(--surface-strong); padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.disclaimer-bar p { font-size: 12px; color: var(--muted); text-align: center; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .hero-band { padding: 56px 0; }
  .hero-band .container { grid-template-columns: 1fr; }
  .hero-band h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-illustration-card { display: none; }
  .section { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .contact-band .container { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: 16px 24px; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .article-header h1 { font-size: 28px; }
  .article-content h2 { font-size: 24px; }
  #cookie-banner { flex-direction: column; align-items: flex-start; bottom: 0; border-radius: var(--rounded-xl) var(--rounded-xl) 0 0; }
}
