:root {
  --ink: #181d26;
  --body: #333840;
  --muted: #41454d;
  --canvas: #ffffff;
  --surface-soft: #f8fafc;
  --surface-strong: #e0e2e6;
  --surface-dark: #181d26;
  --surface-dark-elevated: #1d1f25;
  --hairline: #dddddd;
  --primary: #181d26;
  --primary-active: #0d1218;
  --on-primary: #ffffff;
  --link: #1b61c9;
  --link-active: #1a3866;
  --info-border: #458fff;
  --coral: #aa2d00;
  --forest: #0a2e0e;
  --cream: #f5e9d4;
  --peach: #fcab79;
  --mint: #a8d8c4;
  --yellow: #f4d35e;
  --r-xs: 2px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 12px;
  --sp-xxs: 4px;
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-xxl: 48px;
  --sp-section: 96px;
  --max-w: 1280px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--body);
  background: var(--canvas);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-active); }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-xxl);
}

@media (max-width: 767px) {
  .container { padding: 0 var(--sp-md); }
}

/* NAV */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-xxl);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-xxl);
}

.nav-logo {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.3px;
  flex-shrink: 0;
}

.nav-logo:hover { color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  flex: 1;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--body);
}

.nav-links 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;
  padding: var(--sp-xs);
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

@media (max-width: 767px) {
  .nav-inner { padding: 0 var(--sp-md); }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--canvas);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--sp-xl) var(--sp-md);
    gap: var(--sp-lg);
    border-top: 1px solid var(--hairline);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { font-size: 18px; }
}

/* HERO */
.hero-band {
  padding: var(--sp-section) 0;
  background: var(--canvas);
}

.hero-band .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xxl);
  align-items: center;
}

.hero-eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
}

.hero-h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}

.hero-sub {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body);
  margin-bottom: var(--sp-xl);
  max-width: 480px;
}

.hero-img {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .hero-band { padding: var(--sp-xxl) 0; }
  .hero-band .container { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 28px; }
  .hero-img { order: -1; }
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  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: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;
  line-height: 1.4;
  padding: 16px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  cursor: pointer;
}

.btn-legal {
  background: var(--link);
  color: var(--on-primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  padding: 12px 10px;
  border-radius: var(--r-xs);
  border: none;
  cursor: pointer;
}

.btn-legal-reject {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--hairline);
}

/* SECTIONS */
.section { padding: var(--sp-section) 0; }
.section-sm { padding: var(--sp-xxl) 0; }

.section-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
}

.section-h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}

.section-lead {
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  max-width: 640px;
  margin-bottom: var(--sp-xl);
}

/* SIGNATURE CARDS */
.sig-coral {
  background: var(--coral);
  color: var(--on-primary);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
}

.sig-coral h2, .sig-forest h2, .sig-dark h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--sp-lg);
}

.sig-coral p, .sig-forest p, .sig-dark p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: var(--sp-xl);
  opacity: 0.9;
}

.sig-forest {
  background: var(--forest);
  color: var(--on-primary);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
}

.sig-dark {
  background: var(--surface-dark);
  color: var(--on-primary);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
}

.sig-cream {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: var(--sp-lg);
}

/* ARTICLE CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

@media (max-width: 1023px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .cards-grid { grid-template-columns: 1fr; }
}

.article-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
}

.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-md);
}

.article-card-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-xs);
}

.article-card-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: var(--sp-xs);
}

.article-card-title a {
  color: inherit;
}

.article-card-excerpt {
  font-size: 14px;
  line-height: 1.5;
  color: var(--body);
  margin-bottom: var(--sp-sm);
}

.article-card-meta {
  font-size: 13px;
  color: var(--muted);
}

/* STATS ROW */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
  padding: var(--sp-xxl) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

@media (max-width: 767px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-item { text-align: center; }

.stat-number {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--sp-xs);
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16px;
  color: var(--muted);
  text-transform: uppercase;
}

/* CTA BAND */
.cta-band {
  background: var(--surface-strong);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
  text-align: center;
}

.cta-band h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}

/* ARTICLE PAGE */
.article-header {
  padding: var(--sp-section) 0 var(--sp-xxl);
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}

.article-header-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--sp-xxl);
}

.article-category {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16px;
  color: var(--muted);
  margin-bottom: var(--sp-md);
}

.article-h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}

.article-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--sp-xl);
}

.article-hero-img {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-top: var(--sp-xl);
}

.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--sp-section) var(--sp-xxl);
}

.article-body h2 {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-top: var(--sp-xxl);
  margin-bottom: var(--sp-md);
}

.article-body h3 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-sm);
}

.article-body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  margin-bottom: var(--sp-md);
}

.article-body ul {
  list-style: disc;
  padding-left: var(--sp-xl);
  margin-bottom: var(--sp-md);
}

.article-body ul li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  margin-bottom: var(--sp-xs);
}

.article-body a {
  color: var(--link);
  text-decoration: underline;
}

.article-img-inline {
  border-radius: var(--r-md);
  overflow: hidden;
  margin: var(--sp-xl) 0;
}

.article-img-inline img {
  width: 100%;
  object-fit: cover;
}

.article-img-caption {
  font-size: 12px;
  color: var(--muted);
  margin-top: var(--sp-xs);
  text-align: center;
}

.article-sources {
  margin-top: var(--sp-xxl);
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--hairline);
}

.article-sources h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--sp-sm);
}

.article-sources ul {
  list-style: disc;
  padding-left: var(--sp-xl);
}

.article-sources ul li {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: var(--sp-xs);
}

.related-articles {
  padding: var(--sp-section) 0;
  background: var(--surface-soft);
}

@media (max-width: 767px) {
  .article-header-inner, .article-body { padding: 0 var(--sp-md); }
  .article-h1 { font-size: 28px; }
  .article-body { padding-top: var(--sp-xxl); }
}

/* ABOUT / PAGES */
.page-header {
  padding: var(--sp-xxl) 0;
  border-bottom: 1px solid var(--hairline);
}

.page-body {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--sp-section) var(--sp-xxl);
}

.page-body h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--sp-xl);
}

.page-body h2 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  margin-top: var(--sp-xxl);
  margin-bottom: var(--sp-md);
}

.page-body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  margin-bottom: var(--sp-md);
}

.page-body ul {
  list-style: disc;
  padding-left: var(--sp-xl);
  margin-bottom: var(--sp-md);
}

.page-body ul li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  margin-bottom: var(--sp-xs);
}

@media (max-width: 767px) {
  .page-body { padding: var(--sp-xxl) var(--sp-md); }
  .page-body h1 { font-size: 28px; }
}

/* FOOTER */
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-section) var(--sp-xxl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: var(--sp-xxl);
  margin-bottom: var(--sp-xxl);
}

@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .footer-inner { padding: var(--sp-xxl) var(--sp-md); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-xl); }
}

.footer-brand {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--sp-sm);
}

.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: var(--sp-sm);
}

.footer-contact {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--sp-xs);
}

.footer-contact a { color: var(--link); }

.footer-heading {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}

.footer-col ul li {
  margin-bottom: var(--sp-xs);
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: var(--sp-xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.footer-bottom p {
  font-size: 12px;
  color: var(--muted);
}

.footer-legal a {
  font-size: 12px;
  color: var(--muted);
}

.footer-disclaimer {
  max-width: 600px;
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.footer-form input {
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
  font-family: var(--font);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 10px var(--sp-md);
  height: 44px;
  outline: none;
}

.footer-form input:focus {
  border-color: var(--info-border);
}

.footer-form button {
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font);
  padding: 10px var(--sp-md);
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  height: 44px;
}

/* COOKIE BANNER */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: var(--sp-md);
  left: var(--sp-md);
  right: var(--sp-md);
  max-width: 540px;
  background: var(--surface-dark);
  color: var(--on-primary);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  z-index: 999;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.cookie-banner.is-visible { display: block; }

.cookie-banner p {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: var(--sp-md);
  color: rgba(255,255,255,0.85);
}

.cookie-banner p a { color: var(--on-primary); text-decoration: underline; }

.cookie-actions {
  display: flex;
  gap: var(--sp-sm);
}

/* SCHEMA / SEO HELPERS */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* SPLIT LAYOUT */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xxl);
  align-items: center;
}

.split-layout.reverse { direction: rtl; }
.split-layout.reverse > * { direction: ltr; }

@media (max-width: 767px) {
  .split-layout, .split-layout.reverse { grid-template-columns: 1fr; direction: ltr; }
}

.split-img {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
