@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 {
  --ink:        #181d26;
  --body:       #333840;
  --muted:      #41454d;
  --canvas:     #ffffff;
  --soft:       #f8fafc;
  --strong:     #e0e2e6;
  --dark:       #181d26;
  --hairline:   #dddddd;
  --link:       #1b61c9;
  --coral:      #aa2d00;
  --forest:     #0a2e0e;
  --cream:      #f5e9d4;
  --peach:      #fcab79;
  --mint:       #a8d8c4;
  --on-primary: #ffffff;
  --r-sm:       6px;
  --r-md:       10px;
  --r-lg:       12px;
  --section:    96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--body);
  background: var(--canvas);
}

a { color: var(--link); text-decoration: none; }
a:active { color: #1a3866; }
img { display: block; max-width: 100%; height: auto; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* NAV */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
}
.nav-list {
  list-style: none;
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-list a {
  color: var(--body);
  font-size: 14px;
  font-weight: 400;
}
.nav-list a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* HERO BAND */
.hero-band {
  padding: var(--section) 0;
  background: var(--canvas);
}
.hero-band .container { max-width: 860px; }
.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .12px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.hero-band h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero-band p {
  font-size: 16px;
  color: var(--body);
  max-width: 640px;
  margin-bottom: 36px;
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: var(--on-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  padding: 16px 24px;
  border-radius: var(--r-lg);
  border: none;
  cursor: pointer;
}
.btn-primary:active { background: #0d1218; color: var(--on-primary); }
.btn-secondary {
  display: inline-block;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
}
.btn-legal {
  display: inline-block;
  background: var(--link);
  color: var(--on-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
}
.btn-reject {
  display: inline-block;
  background: transparent;
  color: var(--on-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,.4);
  cursor: pointer;
}

/* SECTION LABELS */
.section-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .12px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* WHITE SECTION */
.section-white {
  padding: var(--section) 0;
  background: var(--canvas);
}
.section-white h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
}
.section-white p { max-width: 700px; }

/* CORAL CARD */
.signature-coral {
  background: var(--coral);
  border-radius: var(--r-lg);
  padding: 48px;
  color: var(--on-primary);
  margin: 0 auto;
  max-width: 1280px;
}
.signature-coral h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}
.signature-coral p { font-size: 14px; margin-bottom: 32px; max-width: 580px; }
.btn-on-dark {
  display: inline-block;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 24px;
  border-radius: var(--r-lg);
}

/* FOREST CARD */
.signature-forest {
  background: var(--forest);
  border-radius: var(--r-lg);
  padding: 48px;
  color: var(--on-primary);
}
.signature-forest h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 16px;
}
.signature-forest p { font-size: 14px; margin-bottom: 32px; max-width: 580px; }

/* DARK CARD */
.hero-card-dark {
  background: var(--dark);
  border-radius: var(--r-lg);
  padding: 48px;
  color: var(--on-primary);
}
.hero-card-dark h2 { font-size: 32px; font-weight: 400; margin-bottom: 16px; }
.hero-card-dark p { font-size: 14px; margin-bottom: 32px; max-width: 580px; }

/* CREAM BAND */
.section-cream {
  padding: var(--section) 0;
  background: var(--cream);
}
.section-cream h2 { font-size: 32px; font-weight: 400; color: var(--ink); margin-bottom: 12px; }
.section-cream p { max-width: 700px; }

/* CARD GRIDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--canvas);
  border-radius: var(--r-md);
  padding: 16px;
  border: 1px solid var(--hairline);
}
.card-peach  { background: var(--peach);  border: none; }
.card-mint   { background: var(--mint);   border: none; }
.card-cream  { background: var(--cream);  border: none; }
.card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--r-md);
  margin-bottom: 12px;
}
.card-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1px;
  margin-bottom: 8px;
}
.card h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 8px;
}
.card p { font-size: 14px; color: var(--body); margin-bottom: 12px; }
.card-meta { font-size: 13px; color: var(--muted); }
.card a.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* ARTICLE CARD */
.article-card {
  background: var(--canvas);
  border-radius: var(--r-md);
  padding: 16px;
  border: 1px solid var(--hairline);
}
.article-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--r-md);
  margin-bottom: 12px;
}
.article-card h2 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.4;
}
.article-card p { font-size: 14px; color: var(--body); margin-bottom: 12px; }
.article-card .meta { font-size: 13px; color: var(--muted); }

/* CTA BAND LIGHT */
.cta-band-light {
  background: var(--strong);
  border-radius: var(--r-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band-light h2 { font-size: 32px; font-weight: 400; color: var(--ink); }

/* FORM */
.form-section {
  padding: var(--section) 0;
  background: var(--soft);
}
.form-section h2 { font-size: 32px; font-weight: 400; color: var(--ink); margin-bottom: 8px; }
.form-section p  { font-size: 14px; color: var(--body); margin-bottom: 32px; }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
}
.contact-form .full { grid-column: 1 / -1; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  height: 44px;
}
.contact-form textarea { height: auto; min-height: 100px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: #458fff; box-shadow: 0 0 0 2px rgba(69,143,255,.2); }

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--dark);
  color: var(--on-primary);
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
#cookie-banner p { font-size: 13px; flex: 1; }
#cookie-banner a { color: #8cb4ff; }
.cookie-btns { display: flex; gap: 12px; flex-shrink: 0; }

/* FOOTER */
.site-footer { padding: var(--section) 0 48px; background: var(--canvas); border-top: 1px solid var(--hairline); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.footer-tagline { font-size: 13px; color: var(--muted); }
.footer-col-title { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a,
.footer-col ul li { font-size: 14px; color: var(--muted); }
.footer-col ul a { color: var(--muted); }
.footer-legal { border-top: 1px solid var(--hairline); padding-top: 24px; }
.footer-legal p { font-size: 13px; color: var(--muted); }

/* ARTICLE PAGE */
.article-hero {
  padding: var(--section) 0 48px;
  background: var(--canvas);
}
.article-hero h1 { font-size: 40px; font-weight: 400; color: var(--ink); line-height: 1.2; margin-bottom: 16px; }
.article-hero .meta { font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.article-hero img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--r-md); }
.article-body { padding: 48px 0 var(--section); }
.article-body .prose { max-width: 780px; }
.prose h2 { font-size: 24px; font-weight: 400; color: var(--ink); margin: 40px 0 12px; }
.prose h3 { font-size: 20px; font-weight: 400; color: var(--ink); margin: 28px 0 8px; }
.prose p  { font-size: 15px; color: var(--body); margin-bottom: 16px; line-height: 1.7; }
.prose ul { padding-left: 20px; margin-bottom: 16px; }
.prose ul li { font-size: 15px; color: var(--body); margin-bottom: 6px; line-height: 1.7; }
.prose a { color: var(--link); }
.prose figure { margin: 32px 0; }
.prose figure img { border-radius: var(--r-md); }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.prose table th, .prose table td { padding: 10px 12px; border-bottom: 1px solid var(--hairline); text-align: left; }
.prose table th { font-weight: 500; color: var(--ink); }

/* PAGE (ABOUT / PRIVACY / TERMS) */
.page-hero { padding: var(--section) 0 48px; background: var(--canvas); }
.page-hero h1 { font-size: 40px; font-weight: 400; color: var(--ink); }
.page-body { padding: 0 0 var(--section); }
.page-body .prose { max-width: 780px; }

/* BREADCRUMB */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 6px; }

/* DIVIDER SECTION */
.section-divider { padding: var(--section) 0; }

/* ARTICLES INDEX */
.articles-hero { padding: var(--section) 0; background: var(--dark); color: var(--on-primary); }
.articles-hero h1 { font-size: 48px; font-weight: 500; line-height: 1.1; margin-bottom: 12px; }
.articles-hero p { font-size: 14px; max-width: 600px; opacity: .8; }
.articles-grid { padding: var(--section) 0; }
.articles-grid h2 { font-size: 24px; font-weight: 400; color: var(--ink); margin-bottom: 32px; }

/* SCHEMA LINK INTERNAL */
.related-articles { padding: var(--section) 0; background: var(--soft); }
.related-articles h2 { font-size: 24px; font-weight: 400; color: var(--ink); margin-bottom: 24px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-list { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: 20px; gap: 16px; }
  .nav-list.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-band h1 { font-size: 28px; }
  .cards-grid { grid-template-columns: 1fr; }
  .signature-coral, .signature-forest, .hero-card-dark { padding: 32px 24px; }
  .signature-coral h2, .signature-forest h2, .hero-card-dark h2 { font-size: 24px; }
  .cta-band-light { flex-direction: column; align-items: flex-start; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { padding: 0 20px; }
  .article-hero h1 { font-size: 28px; }
  .articles-hero h1 { font-size: 32px; }
  .contact-form { grid-template-columns: 1fr; }
  #cookie-banner { padding: 20px; }
}
