@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;
  --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;
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 9999px;
  --sp-xxs: 4px;
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-xxl: 48px;
  --sp-section: 96px;
}

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;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

a { color: var(--ink); text-decoration: underline; }
a:hover { color: var(--primary-active); }

img { max-width: 100%; height: auto; display: block; }

/* NAV */
.site-nav {
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.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: var(--sp-lg);
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-xs);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.2s;
}

/* HERO */
.hero-band {
  background: var(--canvas);
  padding: var(--sp-section) 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--sp-xxl);
  align-items: center;
}
.hero-content {}
.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-md);
}
.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: 72px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -2.5px;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}
.hero-sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--body);
  margin-bottom: var(--sp-xl);
  max-width: 480px;
}
.hero-image-card {
  background: var(--surface-soft);
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  border-radius: var(--r-md);
  padding: 12px 20px;
  height: 44px;
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-active); color: var(--on-primary); }
.btn-secondary {
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.btn-secondary:hover { background: var(--surface-card); }
.btn-on-color { background: var(--canvas); color: var(--ink); }
.btn-on-color:hover { background: var(--surface-card); }

/* SECTIONS */
.section { padding: var(--sp-section) 0; }
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-md);
}
.section-title {
  font-family: 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}
.section-sub {
  font-size: 16px;
  color: var(--body);
  max-width: 600px;
  margin-bottom: var(--sp-xxl);
}

/* FEATURE CARDS */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}
.feature-card {
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}
.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-family: 'Inter', sans-serif;
  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: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-top: var(--sp-xs);
}
.feature-card-img img { width: 100%; height: 100%; object-fit: cover; }

/* ARTICLE CARDS */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}
.article-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
}
.article-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.07); }
.article-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: var(--sp-lg); display: flex; flex-direction: column; gap: var(--sp-sm); flex: 1; }
.article-card-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.article-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.3px;
  color: var(--ink);
  text-decoration: none;
}
.article-card-title:hover { color: var(--primary-active); }
.article-card p { font-size: 14px; color: var(--muted); line-height: 1.55; flex: 1; }
.article-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--sp-xs);
}
.article-card-link:hover { color: var(--primary-active); }

/* CTA BAND */
.cta-band {
  background: var(--surface-soft);
  border-radius: var(--r-xl);
  padding: 80px;
  text-align: center;
  margin: 0 0 var(--sp-section);
}
.cta-band h2 {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}
.cta-band p { font-size: 16px; color: var(--body); margin-bottom: var(--sp-xl); }

/* CONTACT FORM */
.contact-section {
  background: var(--surface-strong);
  border-radius: var(--r-xl);
  padding: var(--sp-xxl);
  max-width: 560px;
  margin: 0 auto;
}
.contact-section h2 {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}
.form-group { display: flex; flex-direction: column; gap: var(--sp-xs); margin-bottom: var(--sp-md); }
.form-group label { font-size: 14px; font-weight: 600; color: var(--body-strong); }
.form-group input, .form-group textarea {
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 12px 16px;
  height: 44px;
  outline: none;
  transition: border-color 0.15s;
}
.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;
  background: #f0fdf4;
  border: 1px solid var(--success);
  border-radius: var(--r-md);
  padding: var(--sp-md);
  color: #166534;
  font-size: 14px;
  margin-top: var(--sp-md);
}

/* FOOTER */
.site-footer {
  background: var(--surface-soft);
  padding: 80px 0 var(--sp-xxl);
  margin-top: var(--sp-section);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-xxl);
  margin-bottom: var(--sp-xxl);
}
.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: var(--sp-sm);
  max-width: 280px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-xs); }
.footer-col ul a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.footer-col ul a:hover { color: var(--ink); }
.footer-contact p { font-size: 14px; color: var(--muted); margin-bottom: var(--sp-xs); }
.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: var(--sp-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 13px; color: var(--muted-soft); }
.footer-bottom-links { display: flex; gap: var(--sp-lg); }
.footer-bottom-links a { font-size: 13px; color: var(--muted-soft); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--ink); }

/* BADGE PILL */
.badge-pill {
  display: inline-flex;
  align-items: center;
  background: var(--surface-card);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--r-pill);
  padding: 4px 12px;
}

/* ARTICLE PAGE */
.article-page { max-width: 800px; margin: 0 auto; padding: var(--sp-xxl) 0; }
.article-page-header { margin-bottom: var(--sp-xxl); }
.article-page-meta { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: var(--sp-md); }
.article-page-title {
  font-family: 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}
.article-page-lead { font-size: 18px; font-weight: 400; line-height: 1.55; color: var(--body-strong); margin-bottom: var(--sp-xl); }
.article-page-img { border-radius: var(--r-xl); overflow: hidden; margin-bottom: var(--sp-xxl); }
.article-page-img img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }
.article-body h2 {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: var(--sp-xxl) 0 var(--sp-md);
}
.article-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: var(--sp-xl) 0 var(--sp-sm);
}
.article-body p { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: var(--sp-md); }
.article-body ul, .article-body ol { margin: var(--sp-md) 0 var(--sp-md) var(--sp-xl); }
.article-body li { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: var(--sp-xs); }
.article-body a { color: var(--ink); }
.article-body strong { color: var(--body-strong); font-weight: 600; }
.article-updated { font-size: 13px; color: var(--muted-soft); margin-bottom: var(--sp-md); }
.article-sources {
  background: var(--surface-card);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  margin-top: var(--sp-xxl);
}
.article-sources h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: var(--sp-sm); }
.article-sources ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-xs); }
.article-sources ul a { font-size: 13px; color: var(--muted); text-decoration: none; }
.article-sources ul a:hover { color: var(--ink); text-decoration: underline; }

/* PAGE HERO (for inner pages) */
.page-hero {
  background: var(--surface-soft);
  padding: var(--sp-xxl) 0;
  margin-bottom: var(--sp-xxl);
}
.page-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: var(--sp-sm);
}
.page-hero p { font-size: 16px; color: var(--body); }

/* BREADCRUMB */
.breadcrumb {
  display: flex;
  gap: var(--sp-xs);
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--sp-lg);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb-sep { color: var(--muted-soft); }

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: var(--sp-lg);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-dark);
  color: var(--on-dark);
  border-radius: var(--r-xl);
  padding: var(--sp-lg) var(--sp-xl);
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  z-index: 200;
  max-width: 680px;
  width: calc(100% - 32px);
}
#cookie-banner p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.8); flex: 1; }
#cookie-banner a { color: var(--on-dark); }
.cookie-buttons { display: flex; gap: var(--sp-sm); flex-shrink: 0; }
.cookie-btn-accept {
  background: var(--on-primary);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
}
.cookie-btn-reject {
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
}
.cookie-btn-reject:hover { background: rgba(255,255,255,0.1); }

/* ABOUT/POLICY PAGES */
.text-page { max-width: 800px; margin: 0 auto; padding: var(--sp-xxl) 0; }
.text-page h1 {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}
.text-page h2 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: var(--sp-xxl) 0 var(--sp-md);
}
.text-page p { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: var(--sp-md); }
.text-page ul { margin: var(--sp-md) 0 var(--sp-md) var(--sp-xl); }
.text-page li { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: var(--sp-xs); }

/* DISCLAIMER */
.disclaimer-bar {
  background: var(--surface-card);
  border-top: 1px solid var(--hairline);
  padding: var(--sp-md) 0;
}
.disclaimer-bar p { font-size: 12px; color: var(--muted-soft); line-height: 1.55; 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: var(--sp-xl); }
}

@media (max-width: 768px) {
  .hero-title { font-size: 36px; letter-spacing: -1px; }
  .section-title { font-size: 36px; letter-spacing: -1px; }
  .article-page-title { font-size: 36px; letter-spacing: -1px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-card { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--sp-md); text-align: center; }
  .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: var(--sp-lg) var(--sp-xl); gap: var(--sp-md); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: block; }
  .cta-band { padding: var(--sp-xxl) var(--sp-xl); }
  .cta-band h2 { font-size: 28px; }
  #cookie-banner { flex-direction: column; bottom: 0; left: 0; right: 0; transform: none; border-radius: var(--r-xl) var(--r-xl) 0 0; max-width: 100%; width: 100%; }
  .container { padding: 0 var(--sp-md); }
}
