﻿:root {
  color-scheme: light;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bg-soft: #f5f7fa;
  --brand-primary: #1454ff;
  --brand-dark: #051937;
  --text-body: #1c2533;
  --text-muted: #516078;
  --surface: #ffffff;
  --accent: #0f9d58;
  --notice: #f7b84a;
  --shadow: 0 24px 48px -28px rgba(10, 33, 76, 0.45);
}

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

html,
body {
  background: var(--surface);
  color: var(--text-body);
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

body.overlay-active {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.page-shell {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(81, 96, 120, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1e2a78, #1454ff);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
}

.brand-title {
  font-weight: 700;
  font-size: 1rem;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.site-nav {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.site-nav a {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  color: var(--brand-primary);
  background: rgba(20, 84, 255, 0.08);
  font-weight: 600;
}

.content {
  padding: 1.25rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.wait-gate {
  border: 1px dashed rgba(20, 84, 255, 0.35);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  background: rgba(20, 84, 255, 0.08);
  display: grid;
  gap: 0.85rem;
  text-align: center;
  position: relative;
}

.wait-gate::before {
  content: 'Step 1';
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.15rem 0.65rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--surface);
  border-radius: 999px;
  border: 1px solid rgba(20, 84, 255, 0.35);
}

.wait-message {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-dark);
}

.wait-gate.is-ready .wait-message {
  color: var(--accent);
}

.wait-gate.is-complete {
  display: none;
}

.wait-continue {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 1.35rem;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  background: var(--brand-primary);
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.wait-continue:hover {
  transform: translateY(-1px);
}

.wait-continue[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.feature,
.section {
  display: grid;
  gap: 1rem;
}

.feature-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
  font-weight: 600;
}

.feature h2,
.section h2 {
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 700;
}

.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.key-points {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.key-points li {
  padding-left: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-body);
  position: relative;
}

.key-points li::before {
  content: '';
  position: absolute;
  left: 0.25rem;
  top: 0.45rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

.subsection {
  border-radius: 12px;
  padding: 1rem;
  background: linear-gradient(145deg, rgba(20, 84, 255, 0.08), rgba(20, 84, 255, 0.02));
}

.metric {
  font-weight: 600;
  margin-top: 0.75rem;
}

.ordered-insights {
  counter-reset: item;
  display: grid;
  gap: 1rem;
}

.ordered-insights li {
  counter-increment: item;
  padding-left: 2.5rem;
  position: relative;
  line-height: 1.5;
}

.ordered-insights li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--brand-primary);
}

.note {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-left: 3px solid var(--brand-primary);
  padding-left: 1rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card {
  border-radius: 16px;
  padding: 1.1rem;
  background: rgba(20, 84, 255, 0.07);
  border: 1px solid rgba(20, 84, 255, 0.15);
}

.card h3 {
  font-size: 1rem;
  color: var(--brand-dark);
}

.cta-copy {
  font-weight: 600;
  color: var(--brand-dark);
}

.checklist {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.checklist li {
  padding-left: 1.75rem;
  position: relative;
}

.checklist li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.data-point {
  font-size: 0.95rem;
  color: var(--brand-dark);
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background: rgba(15, 157, 88, 0.08);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
}

.label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.value {
  font-weight: 600;
  font-size: 0.95rem;
}

.steps {
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(81, 96, 120, 0.08);
  border-radius: 12px;
}

.step-number {
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-primary);
}

.pull-quote {
  border-left: 4px solid var(--brand-primary);
  padding-left: 1rem;
  font-style: italic;
  color: var(--brand-dark);
}

.cta-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: var(--brand-primary);
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  margin-top: 0.75rem;
}

.compliance {
  padding: 2rem 1.5rem;
  background: rgba(20, 84, 255, 0.05);
  display: grid;
  gap: 1rem;
}

.compliance h2 {
  font-size: 1.1rem;
}

.compliance ul {
  list-style: disc inside;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer {
  padding: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Hero overlay */
.hero-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 25, 55, 0.87), rgba(5, 25, 55, 0.6)), url('https://images.unsplash.com/photo-1556740749-887f6717d7e4?auto=format&fit=crop&w=1200&q=80') center / cover no-repeat;
  filter: brightness(0.85);
}

.overlay-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.25rem;
  text-align: center;
  padding: 2.5rem 1.75rem;
  color: #fff;
  max-width: 420px;
}

.overlay-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.overlay-heading {
  font-size: 1.6rem;
  line-height: 1.3;
  font-weight: 700;
}

.overlay-copy {
  font-size: 1rem;
  opacity: 0.9;
}

.overlay-play-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 130px;
  height: 130px;
  margin: 0 auto;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}

.overlay-play-button:focus {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.overlay-play-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.25);
}

.overlay-play-button[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.play-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  display: grid;
  place-items: center;
  position: relative;
}

.play-icon::after {
  content: '';
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
  margin-left: 6px;
}

.play-text {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.play-countdown {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

.overlay-ad {
  display: flex;
  justify-content: center;
}

.gpt-ad-slot {
  width: 320px;
  height: 100px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  display: grid;
  place-items: center;
}

.ad-placeholder {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
}

.overlay-footnote {
  font-size: 0.75rem;
  opacity: 0.7;
}

@media (min-width: 768px) {
  .page-shell {
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
