/* Sandbox — Modern design system */
:root {
  --navy-950: #050d1a;
  --navy-900: #071325;
  --navy-800: #0c2347;
  --navy-700: #143560;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-600: #1d4ed8;
  --accent: #1d6ff2;
  --green: #10b981;
  --red: #f87171;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(5, 13, 26, 0.25);
  --header-h: 72px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
}

body.has-fixed-header { padding-top: var(--header-h); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ─── Header ─── */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header.is-scrolled {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  gap: 1rem;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--gray-900);
  justify-self: start;
}

.header__logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  overflow: hidden;
}

.header__logo-mark img { width: 22px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); }

.header__nav { justify-self: center; }

.header__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, background 0.2s;
}

.header__link:hover,
.header__link.is-active { color: var(--accent); background: rgba(29, 111, 242, 0.06); }

.header__dropdown { position: relative; }

.header__dropmenu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  padding: 0.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.header__dropdown:hover .header__dropmenu,
.header__dropdown.is-open .header__dropmenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.header__dropmenu a {
  display: block;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

.header__dropmenu a:hover { background: var(--gray-50); color: var(--accent); }

.header__cta { justify-self: end; }

.btn--sm {
  padding: 0.4rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(29, 111, 242, 0.28);
}

.btn--sm:hover { transform: translateY(-1px); }

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
}

.header__toggle span {
  display: block;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.header__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__toggle.is-open span:nth-child(2) { opacity: 0; }
.header__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(29, 111, 242, 0.35);
}
.btn--accent:hover { background: var(--blue-600); box-shadow: 0 6px 20px rgba(29, 111, 242, 0.4); }

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(29, 111, 242, 0.35);
}
.btn--primary:hover { background: var(--blue-600); }

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.08); }

.btn--white {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.btn--white:hover { background: var(--gray-50); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.7); }

.btn--secondary {
  background: var(--gray-100);
  color: var(--gray-900);
}
.btn--secondary:hover { background: var(--gray-200); }

.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline:hover { background: rgba(29, 111, 242, 0.06); }

.btn--lg { padding: 0.875rem 1.75rem; font-size: 1rem; }

.btn-group { display: flex; flex-wrap: wrap; gap: 0.875rem; }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 3rem 0 4rem;
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy-950) 0%, var(--navy-800) 42%, #0a2040 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(37, 99, 235, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(29, 111, 242, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(
    -35deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.5) 40px,
    rgba(255, 255, 255, 0.5) 41px
  );
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.875rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.hero__badge i { color: var(--blue-400); font-size: 0.75rem; }

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.875rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  transition: background 0.2s, border-color 0.2s;
}
.hero__pill:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.2); }
.hero__pill i { color: #fb7185; }

.hero__title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero__lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 32rem;
  margin-bottom: 2rem;
}

/* Explore bar */
.explore {
  margin-top: 2.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0.375rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 540px;
}

.explore__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border-right: 1px solid var(--gray-200);
}

.explore__field:last-of-type { border-right: none; }

.explore__field i { color: var(--gray-400); font-size: 0.875rem; }

.explore__label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.125rem;
}

.explore select,
.explore input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-900);
  outline: none;
}

.explore__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: calc(var(--radius-lg) - 4px);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.explore__btn:hover { background: var(--blue-600); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 2rem;
}

.trust-row__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}

.trust-row__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--blue-400);
  font-size: 0.75rem;
}

/* Glass stats card */
.glass-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

.glass-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.glass-card__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.375rem;
}

.glass-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}

.glass-card__badge {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-full);
}

.chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  height: 160px;
  padding-top: 1rem;
}

.chart__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  height: 100%;
  justify-content: flex-end;
}

.chart__bar-wrap {
  width: 100%;
  max-width: 36px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.chart__bar {
  width: 100%;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--green), #059669);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.8s var(--ease);
}

.chart__bar.is-negative {
  background: linear-gradient(180deg, var(--red), #dc2626);
  align-self: flex-start;
  border-radius: 2px 2px 6px 6px;
  transform-origin: top;
}

.glass-card.is-visible .chart__bar { transform: scaleY(1); }

.chart__label {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.chart__source {
  margin-top: 1.25rem;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.35);
}

/* GDP chart — zero baseline, negative bars down, positive bars up */
.chart--gdp {
  position: relative;
  height: 190px;
  align-items: stretch;
  padding-top: 0;
  padding-bottom: 0;
}

.chart--gdp .chart__zero {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 1;
  pointer-events: none;
}

.chart--gdp .chart__col {
  height: 100%;
  justify-content: flex-end;
  gap: 0.25rem;
  position: relative;
  z-index: 2;
}

.chart--gdp .chart__plot {
  flex: 1;
  width: 100%;
  max-width: 36px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.chart--gdp .chart__plot-up,
.chart--gdp .chart__plot-down {
  flex: 1;
  display: flex;
  justify-content: center;
  min-height: 0;
}

.chart--gdp .chart__plot-up {
  align-items: flex-end;
  padding-bottom: 1px;
}

.chart--gdp .chart__plot-down {
  align-items: flex-start;
  padding-top: 1px;
}

.chart--gdp .chart__bar {
  width: 100%;
  min-height: 3px;
  border-radius: 4px 4px 1px 1px;
}

.chart--gdp .chart__bar.is-negative {
  border-radius: 1px 1px 4px 4px;
  transform-origin: top;
}

.chart--gdp .chart__value {
  font-size: 0.625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.2;
}

.chart--gdp .chart__label {
  font-size: 0.6875rem;
}

/* ─── Sections ─── */
.section { padding: 5rem 0; }
.section--alt { background: var(--gray-50); }
.section--dark {
  background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
  color: var(--white);
}

.section-header { margin-bottom: 3rem; }
.section-header--center { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 3rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-header h2,
.split__content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 0.875rem;
}

.section-header p { color: var(--gray-500); font-size: 1.0625rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.split__content p { margin-bottom: 1rem; color: var(--gray-500); }
.split__content p strong { color: var(--gray-700); }

/* ─── Cards ─── */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--gray-100);
}

.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }

.card__media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 100%;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-400);
}

.card__badge {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  background: rgba(7, 19, 37, 0.75);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-full);
}

.card__body { padding: 1.25rem 1.375rem 1.375rem; flex: 1; display: flex; flex-direction: column; }

.card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.card__text {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
  font-size: 0.8125rem;
  color: var(--gray-400);
}

.card__link { font-weight: 600; color: var(--accent); }

.story-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
}

.story-card__avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gray-100);
}

.story-card__avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  text-align: center;
}

.stat__value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

/* Marquee */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0;
}

.marquee__fade-left,
.marquee__fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee__fade-left { left: 0; background: linear-gradient(90deg, var(--gray-50), transparent); }
.marquee__fade-right { right: 0; background: linear-gradient(-90deg, var(--gray-50), transparent); }

.marquee__track {
  display: flex;
  gap: 2rem;
  animation: marquee 35s linear infinite;
  width: max-content;
}

.marquee__item {
  flex-shrink: 0;
  width: 140px;
  height: 64px;
  display: grid;
  place-items: center;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.marquee__item img { max-height: 40px; width: auto; object-fit: contain; filter: grayscale(30%); opacity: 0.85; transition: filter 0.3s, opacity 0.3s; }
.marquee__item:hover img { filter: none; opacity: 1; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Subscribe */
.subscribe-box {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}

.subscribe-box h2 { color: var(--white); font-size: 2rem; font-weight: 800; }

.subscribe-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.subscribe-form .form-input { flex: 1; min-width: 220px; }

/* Forms */
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--gray-900);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 111, 242, 0.12);
}

.form-textarea { min-height: 140px; resize: vertical; }

.alert {
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
}

.alert--success { background: rgba(16, 185, 129, 0.15); color: #059669; }
.alert--error { background: rgba(248, 113, 113, 0.15); color: #dc2626; }

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--gray-400);
}

.empty-state p { margin-top: 0.75rem; }

/* Page hero (inner pages) */
.page-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 540px;
  margin-inline: auto;
  font-size: 1.0625rem;
}

.page-hero .eyebrow { color: #60a5fa; }

.page-hero .stats-bar {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.page-hero .stat__value { color: var(--white); }
.page-hero .stat__label { color: rgba(255, 255, 255, 0.55); }

.page-content { padding: 4rem 0; }

.page-hero--center { text-align: center; }
.page-hero--center p { margin-inline: auto; }

.page-hero--detail {
  text-align: left;
  padding: 2.5rem 0 3rem;
}

.page-hero--detail h1 {
  text-align: left;
  max-width: none;
  margin-inline: 0;
}

.page-hero--detail p { margin-inline: 0; text-align: left; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--white); }

.breadcrumb__sep {
  font-size: 0.625rem;
  opacity: 0.45;
}

.breadcrumb__current {
  color: #60a5fa;
  font-weight: 600;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.back-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateX(-3px);
}

.page-hero .back-link { margin-bottom: 1.5rem; }

.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.meta-pill i {
  color: #60a5fa;
  font-size: 0.8125rem;
}

.meta-pill--risk-low i { color: var(--green); }
.meta-pill--risk-medium i { color: #fbbf24; }
.meta-pill--risk-high i { color: var(--red); }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.detail-grid__main { display: flex; flex-direction: column; gap: 1.5rem; }

.detail-grid__sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.detail-media img,
.detail-media video {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.detail-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
}

.detail-card__title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.25rem;
}

.detail-card__title i { color: var(--accent); }

.prose {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-700);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 2rem 0 0.875rem;
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 1.5rem 0 0.75rem;
}

.prose p { margin-bottom: 1rem; }

.prose ul, .prose ol {
  margin: 0 0 1rem 1.25rem;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li { margin-bottom: 0.375rem; }

.prose blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--gray-500);
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
}

.prose a:hover { color: var(--blue-600); }

.prose img {
  border-radius: var(--radius);
  margin: 1.25rem 0;
}

.excerpt-box {
  background: linear-gradient(135deg, rgba(29, 111, 242, 0.06), rgba(29, 111, 242, 0.02));
  border: 1px solid rgba(29, 111, 242, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
}

.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.highlight-card:hover {
  border-color: rgba(29, 111, 242, 0.35);
  box-shadow: 0 8px 24px rgba(29, 111, 242, 0.08);
  transform: translateY(-2px);
}

.highlight-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(29, 111, 242, 0.1);
  color: var(--accent);
  font-size: 0.9375rem;
}

.highlight-card__icon--green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--green);
}

.highlight-card__label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 0.125rem;
}

.highlight-card__value {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
}

.highlight-card__value--green { color: var(--green); }

.sidebar-stack { display: flex; flex-direction: column; gap: 0.875rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item__zoom {
  position: absolute;
  bottom: 0.625rem;
  right: 0.625rem;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  color: var(--gray-700);
  font-size: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.story-sidebar-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.story-sidebar-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.story-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.story-details__row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.story-details__row i {
  width: 1.125rem;
  color: var(--accent);
  text-align: center;
}

.section--sm { padding: 3rem 0; }

.container--narrow { width: min(900px, calc(100% - 2.5rem)); }

/* Footer */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.65);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer__brand p { margin-top: 1rem; font-size: 0.875rem; line-height: 1.7; max-width: 280px; }

.footer__logo { color: var(--white); }

.footer__social {
  display: flex;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: background 0.2s, color 0.2s;
}

.footer__social a:hover { background: var(--accent); color: var(--white); }

.footer__col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__col a,
.footer__meta {
  display: block;
  font-size: 0.875rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.footer__col a:hover { color: var(--white); }

.footer__bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Scroll top */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(29, 111, 242, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-8 { margin-bottom: 2rem; }
.text-brand { color: var(--accent); }
.text-muted { color: var(--gray-500); }

.container--narrow { width: min(900px, calc(100% - 2.5rem)); margin-inline: auto; }
.section--sm { padding: 3rem 0; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-label.required::after { content: ' *'; color: #ef4444; }

.card--flat {
  padding: 2rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.info-panel h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

.info-panel__item { margin-bottom: 1.5rem; }

.info-panel__item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

/* Carousel */
.carousel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gray-100);
}

.carousel__track {
  display: flex;
  transition: transform 0.5s var(--ease);
}

.carousel__slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.carousel__slide img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: contain;
  background: var(--white);
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--gray-900);
  font-size: 1.125rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}

.carousel__btn:hover { background: var(--accent); color: var(--white); }
.carousel__btn--prev { left: 1rem; }
.carousel__btn--next { right: 1rem; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel__dot.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

/* Alert modal */
.page-alert-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 13, 26, 0.6);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.page-alert-overlay.show { display: flex; opacity: 1; }

.page-alert-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.page-alert-overlay.show .page-alert-modal { transform: scale(1); }

.page-alert-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-alert-icon.success { background: rgba(16, 185, 129, 0.15); color: var(--green); }
.page-alert-icon.error { background: rgba(248, 113, 113, 0.15); color: #ef4444; }
.page-alert-icon svg { width: 28px; height: 28px; }

.page-alert-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--gray-900);
}

.page-alert-message {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.page-alert-btn {
  padding: 0.625rem 1.5rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.page-alert-btn:hover { background: var(--blue-600); }

.error-page__code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { max-width: 480px; margin-inline: auto; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid__sidebar { position: static; }
}

@media (max-width: 768px) {
  .header__inner { grid-template-columns: 1fr auto; }
  .header__cta { display: none; }

  .header__toggle { display: flex; }

  .header__menu {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
    gap: 0.25rem;
  }

  .header__menu.is-open { transform: translateX(0); }

  .header__link { padding: 0.875rem 1rem; font-size: 1rem; }

  .header__dropmenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    display: none;
  }

  .header__dropdown.is-open .header__dropmenu { display: block; }

  .explore { flex-direction: column; max-width: none; }
  .explore__field { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .explore__btn { padding: 0.875rem; justify-content: center; border-radius: var(--radius); margin: 0.25rem; }

  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .subscribe-form { flex-direction: column; }
}
