*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #181d26;
  --primary-active: #0d1218;
  --canvas: #ffffff;
  --surface-soft: #f8fafc;
  --surface-strong: #e0e2e6;
  --surface-dark: #181d26;
  --surface-dark-elevated: #1d1f25;
  --hairline: #dddddd;
  --ink: #181d26;
  --body: #333840;
  --muted: #41454d;
  --on-primary: #ffffff;
  --link: #1b61c9;
  --link-active: #1a3866;
  --signature-coral: #aa2d00;
  --signature-forest: #0a2e0e;
  --signature-cream: #f5e9d4;
  --signature-peach: #fcab79;
  --signature-mint: #a8d8c4;
  --signature-yellow: #f4d35e;
  --rounded-xs: 2px;
  --rounded-sm: 6px;
  --rounded-md: 10px;
  --rounded-lg: 12px;
  --spacing-section: 96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter Display", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--body);
  background: var(--canvas);
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-active); }

img { display: block; max-width: 100%; height: auto; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* TOP NAV */
.top-nav {
  height: 64px;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-nav .container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.nav-logo {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-logo:hover { color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  list-style: none;
}

.nav-links a {
  color: var(--body);
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--ink); }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* HERO */
.hero-band {
  padding: var(--spacing-section) 0;
  background: var(--canvas);
}

.hero-band h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  max-width: 680px;
  margin-bottom: 20px;
}

.hero-band p {
  font-size: 14px;
  color: var(--body);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.5;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 24px;
  border-radius: var(--rounded-lg);
  border: none;
  cursor: pointer;
  line-height: 1.4;
}

.btn-primary:hover { background: var(--primary-active); 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(--rounded-lg);
  border: 1px solid var(--hairline);
  cursor: pointer;
  line-height: 1.4;
}

.btn-secondary:hover { color: var(--ink); border-color: #bbb; }

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* SIGNATURE CORAL CARD */
.signature-coral-card {
  background: var(--signature-coral);
  border-radius: var(--rounded-lg);
  padding: 48px;
  color: var(--on-primary);
  margin: var(--spacing-section) 0;
}

.signature-coral-card h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}

.signature-coral-card p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 560px;
  opacity: 0.9;
}

.btn-secondary-on-dark {
  display: inline-block;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 24px;
  border-radius: var(--rounded-lg);
  border: none;
  cursor: pointer;
}

.btn-secondary-on-dark:hover { color: var(--ink); }

/* SECTION GENERIC */
.section {
  padding: var(--spacing-section) 0;
}

.section-title {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 48px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.12px;
  margin-bottom: 24px;
  margin-top: 48px;
  line-height: 1.35;
}

/* ARTICLE GRID */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--canvas);
  border-radius: var(--rounded-md);
  border: 1px solid var(--hairline);
  overflow: hidden;
  transition: border-color 0.15s;
}

.article-card:hover { border-color: #bbb; }

.article-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article-card-body {
  padding: 16px;
}

.article-card-tag {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  margin-bottom: 8px;
}

.article-card-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 8px;
}

.article-card-meta {
  font-size: 13px;
  color: var(--muted);
}

/* DARK CARD */
.hero-card-dark {
  background: var(--surface-dark);
  border-radius: var(--rounded-lg);
  padding: 48px;
  color: var(--on-primary);
  margin: var(--spacing-section) 0;
}

.hero-card-dark h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-card-dark p {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.85;
  max-width: 560px;
  margin-bottom: 32px;
}

/* CREAM CALLOUT */
.cream-callout {
  background: var(--signature-cream);
  border-radius: var(--rounded-md);
  padding: 24px;
  margin: var(--spacing-section) 0;
}

.cream-callout h3 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.35;
}

.cream-callout p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
}

/* STATS GRID */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-card {
  background: var(--signature-mint);
  border-radius: var(--rounded-md);
  padding: 24px;
}

.stat-card:nth-child(2) { background: var(--signature-peach); }
.stat-card:nth-child(3) { background: var(--signature-yellow); }

.stat-number {
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--body);
  line-height: 1.4;
}

/* CTA BAND */
.cta-band-light {
  background: var(--surface-strong);
  border-radius: var(--rounded-lg);
  padding: 48px;
  text-align: center;
  margin: var(--spacing-section) 0;
}

.cta-band-light h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 24px;
}

/* CONTACT FORM */
.contact-form {
  max-width: 560px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-group input, .form-group textarea {
  width: 100%;
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  padding: 12px 16px;
  height: 44px;
  border-radius: var(--rounded-sm);
  border: 1px solid var(--hairline);
  outline: none;
}

.form-group textarea {
  height: auto;
  min-height: 100px;
  resize: vertical;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: #458fff;
}

/* FOOTER */
footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--spacing-section) 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 14px;
  color: var(--muted);
}

.footer-col ul 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;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
  list-style: none;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--muted);
}

/* ARTICLE PAGE */
.article-hero {
  padding: var(--spacing-section) 0 48px;
}

.article-hero-tag {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  margin-bottom: 16px;
}

.article-hero h1 {
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  max-width: 760px;
  margin-bottom: 20px;
}

.article-hero-meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 40px;
}

.article-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--rounded-md);
}

.article-body {
  max-width: 760px;
  padding: 48px 0 var(--spacing-section);
}

.article-body h2 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: 40px 0 16px;
  line-height: 1.35;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin: 28px 0 12px;
  line-height: 1.5;
}

.article-body p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 16px;
}

.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.article-body li {
  font-size: 14px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 6px;
}

.article-body a {
  color: var(--link);
}

.article-body strong {
  font-weight: 500;
  color: var(--ink);
}

.article-body-img {
  width: 100%;
  border-radius: var(--rounded-md);
  margin: 32px 0;
  max-height: 380px;
  object-fit: cover;
}

/* PAGE CONTENT */
.page-hero {
  padding: var(--spacing-section) 0 48px;
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 14px;
  color: var(--body);
  max-width: 600px;
  line-height: 1.5;
}

.page-body {
  max-width: 760px;
  padding-bottom: var(--spacing-section);
}

.page-body h2 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: 40px 0 16px;
  line-height: 1.35;
}

.page-body h3 {
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin: 28px 0 12px;
  line-height: 1.5;
}

.page-body p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 16px;
}

.page-body ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-body li {
  font-size: 14px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* DISCLAIMER */
.disclaimer {
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-md);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.disclaimer p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface-dark);
  color: var(--on-primary);
  padding: 20px 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  z-index: 9999;
  border-top: 1px solid #333;
}

#cookie-banner p {
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

#cookie-banner a { color: #88aaff; }

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-legal {
  background: var(--link);
  color: var(--on-primary);
  font-size: 13.12px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: var(--rounded-xs);
  border: none;
  cursor: pointer;
  line-height: 1.2;
}

.btn-legal-reject {
  background: transparent;
  color: var(--on-primary);
  font-size: 13.12px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: var(--rounded-xs);
  border: 1px solid #666;
  cursor: pointer;
  line-height: 1.2;
}

/* BREADCRUMB */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  padding: 20px 0 0;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--muted); }

/* SCHEMA INFOBOX */
.infobox {
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-md);
  padding: 24px;
  margin-bottom: 32px;
}

.infobox-row {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
}

.infobox-row:last-child { border-bottom: none; }

.infobox-key {
  font-weight: 500;
  color: var(--ink);
  min-width: 160px;
}

.infobox-val { color: var(--body); }

/* HERO IMAGE */
.hero-img-wrap {
  margin-top: 48px;
  border-radius: var(--rounded-md);
  overflow: hidden;
}

.hero-img-wrap img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }

  .nav-links { display: none; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: var(--canvas); padding: 32px 24px; gap: 16px; overflow-y: auto; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }

  .hero-band h1 { font-size: 28px; }
  .section-title { font-size: 24px; }
  .article-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .signature-coral-card, .hero-card-dark { padding: 32px 24px; }
  .signature-coral-card h2, .hero-card-dark h2 { font-size: 24px; }

  .article-hero h1 { font-size: 28px; }
  .page-hero h1 { font-size: 28px; }

  #cookie-banner { padding: 20px 24px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
