/* ==========================================================================
   DeltaIQ - Design Tokens (Brand Book v1.0)
   Palette: navy-black canvas, deep navy surfaces, emerald accent.
   Type: Poppins (headers Medium, body Regular).
   Brand: Deep navy #0E2A47 Â· Emerald #10B981 Â· Ink #1E293B Â· Cloud #F5F7FA
   ========================================================================== */

:root {
  --bg: #07111f;
  --bg-elevated: #0a1c30;
  --bg-elevated-2: #0e2a47;
  --border: #1e293b;
  --border-soft: #13233a;
  --text: #f5f7fa;
  --text-dim: #8fa1bc;
  --text-faint: #64748b;
  --navy: #0e2a47;
  --emerald: #10b981;
  --emerald-dim: #0d9a6c;
  --emerald-soft: rgba(16, 185, 129, 0.16);
  --ink: #1e293b;
  --cloud: #f5f7fa;
  --red-flag: #d9705a;

  /* Legacy aliases used across the sheet */
  --amber: var(--emerald);
  --amber-dim: var(--emerald-dim);
  --cyan: var(--emerald);

  --display: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: var(--display);

  --max-width: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--emerald); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
}

/* ---------- Layout shell ---------- */

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.chrome-bar {
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-elevated);
}

.chrome-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chrome-dots { display: flex; gap: 6px; }
.chrome-dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border);
  display: inline-block;
}

.brand {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
}
.brand span { color: var(--emerald); }

nav.top-nav {
  display: flex;
  gap: 20px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
}
nav.top-nav a { color: var(--text-dim); }
nav.top-nav a:hover { color: var(--emerald); text-decoration: none; }
nav.top-nav a.nav-account {
  color: var(--emerald);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 999px;
  padding: 4px 12px;
}
nav.top-nav a.nav-account:hover {
  background: rgba(52, 211, 153, 0.1);
}

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--border-soft);
}

.eyebrow {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 0 0 18px;
}

h1.headline {
  font-family: var(--display);
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.25;
  font-weight: 500;
  margin: 0 0 20px;
  max-width: 640px;
  color: var(--cloud);
}

.subhead {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 0 14px;
}

.past-note {
  margin: 0 0 28px;
  max-width: 560px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-faint);
  font-style: italic;
}

.past-note em {
  font-style: italic;
}

.step .past-note {
  margin: 8px 0 0;
  max-width: 520px;
}


.cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-primary {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--emerald);
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { background: var(--emerald-dim); text-decoration: none; }
.btn-primary:disabled { opacity: 0.55; cursor: default; }

/* ---------- Subscribe pay screen ---------- */
.pay-screen .trial-note {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--emerald);
  margin: 0 0 8px;
}
.pay-screen .trial-footnote {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 0 0 28px;
  max-width: 52ch;
  line-height: 1.45;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 520px;
  margin: 0 0 12px;
}
@media (max-width: 560px) {
  .plan-grid { grid-template-columns: 1fr; }
}
.plan-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: 8px;
  padding: 18px 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.plan-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.plan-card.is-selected {
  border-color: var(--emerald);
  box-shadow: 0 0 0 1px var(--emerald);
}
.plan-card-label {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.plan-card-price {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
}
.plan-card-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
}
.plan-card-blurb {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.plan-hint {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin: 0 0 22px;
}
.pay-fields {
  max-width: 420px;
  margin: 0 0 22px;
}
.pay-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin: 0 0 8px;
}
.pay-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}
.pay-input:focus {
  outline: none;
  border-color: var(--emerald);
}

.link-secondary {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
}
.link-secondary:hover { color: var(--emerald); }


/* ---------- Hero visual: 4 conditions → ALERT → SMS (mobile-first) ---------- */

.viz-card {
  position: relative;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, rgba(16, 185, 129, 0.07), transparent 65%),
    var(--bg-elevated);
  border-radius: 8px;
  padding: 16px 16px 14px;
  overflow: hidden;
}

.coil-label {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.coil-caption {
  font-size: 13px;
  color: var(--text-dim);
  margin: 10px 0 0;
  max-width: 640px;
  line-height: 1.55;
}

.button-stage {
  padding: 12px 0 6px;
  overflow: hidden;
}

.signal-rail {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 72px;
}

.button-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.cond-btn {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 7px;
  border: 1px solid #2a4a6d;
  background: linear-gradient(180deg, #1a4a7a 0%, #0e2a47 100%);
  box-shadow: 0 3px 0 #07111f, 0 5px 8px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
  position: relative;
  animation-duration: 8s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.cond-btn::before,
.cond-btn::after {
  position: absolute;
  inset: 0;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  animation-duration: 8s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.cond-btn::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8fa1bc;
}

.cond-btn::after {
  content: "\2713";
  width: 100%;
  height: 100%;
  color: #ffffff;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.cond-btn-0 { animation-name: btn-press-0; }
.cond-btn-0::before { animation-name: btn-dot-0; }
.cond-btn-0::after { animation-name: btn-check-0; }
.cond-btn-1 { animation-name: btn-press-1; }
.cond-btn-1::before { animation-name: btn-dot-1; }
.cond-btn-1::after { animation-name: btn-check-1; }
.cond-btn-2 { animation-name: btn-press-2; }
.cond-btn-2::before { animation-name: btn-dot-2; }
.cond-btn-2::after { animation-name: btn-check-2; }
.cond-btn-3 { animation-name: btn-press-3; }
.cond-btn-3::before { animation-name: btn-dot-3; }
.cond-btn-3::after { animation-name: btn-check-3; }

/* Stagger press; hold; hard-clear together */
@keyframes btn-press-0 {
  0%, 8% { transform: translateY(0); border-color: #2a4a6d; background: linear-gradient(180deg, #1a4a7a 0%, #0e2a47 100%); box-shadow: 0 3px 0 #07111f, 0 5px 8px rgba(0,0,0,.3); }
  12%, 80% { transform: translateY(3px); border-color: rgba(16,185,129,.75); background: linear-gradient(180deg, #14c98d 0%, #0d9a6c 100%); box-shadow: 0 1px 0 #064433, 0 2px 6px rgba(16,185,129,.25); }
  86%, 100% { transform: translateY(0); border-color: #2a4a6d; background: linear-gradient(180deg, #1a4a7a 0%, #0e2a47 100%); box-shadow: 0 3px 0 #07111f, 0 5px 8px rgba(0,0,0,.3); }
}
@keyframes btn-press-1 {
  0%, 16% { transform: translateY(0); border-color: #2a4a6d; background: linear-gradient(180deg, #1a4a7a 0%, #0e2a47 100%); box-shadow: 0 3px 0 #07111f, 0 5px 8px rgba(0,0,0,.3); }
  20%, 80% { transform: translateY(3px); border-color: rgba(16,185,129,.75); background: linear-gradient(180deg, #14c98d 0%, #0d9a6c 100%); box-shadow: 0 1px 0 #064433, 0 2px 6px rgba(16,185,129,.25); }
  86%, 100% { transform: translateY(0); border-color: #2a4a6d; background: linear-gradient(180deg, #1a4a7a 0%, #0e2a47 100%); box-shadow: 0 3px 0 #07111f, 0 5px 8px rgba(0,0,0,.3); }
}
@keyframes btn-press-2 {
  0%, 24% { transform: translateY(0); border-color: #2a4a6d; background: linear-gradient(180deg, #1a4a7a 0%, #0e2a47 100%); box-shadow: 0 3px 0 #07111f, 0 5px 8px rgba(0,0,0,.3); }
  28%, 80% { transform: translateY(3px); border-color: rgba(16,185,129,.75); background: linear-gradient(180deg, #14c98d 0%, #0d9a6c 100%); box-shadow: 0 1px 0 #064433, 0 2px 6px rgba(16,185,129,.25); }
  86%, 100% { transform: translateY(0); border-color: #2a4a6d; background: linear-gradient(180deg, #1a4a7a 0%, #0e2a47 100%); box-shadow: 0 3px 0 #07111f, 0 5px 8px rgba(0,0,0,.3); }
}
@keyframes btn-press-3 {
  0%, 32% { transform: translateY(0); border-color: #2a4a6d; background: linear-gradient(180deg, #1a4a7a 0%, #0e2a47 100%); box-shadow: 0 3px 0 #07111f, 0 5px 8px rgba(0,0,0,.3); }
  36%, 80% { transform: translateY(3px); border-color: rgba(16,185,129,.75); background: linear-gradient(180deg, #14c98d 0%, #0d9a6c 100%); box-shadow: 0 1px 0 #064433, 0 2px 6px rgba(16,185,129,.25); }
  86%, 100% { transform: translateY(0); border-color: #2a4a6d; background: linear-gradient(180deg, #1a4a7a 0%, #0e2a47 100%); box-shadow: 0 3px 0 #07111f, 0 5px 8px rgba(0,0,0,.3); }
}

@keyframes btn-dot-0 { 0%, 8% { opacity: 1; } 12%, 80% { opacity: 0; } 86%, 100% { opacity: 1; } }
@keyframes btn-dot-1 { 0%, 16% { opacity: 1; } 20%, 80% { opacity: 0; } 86%, 100% { opacity: 1; } }
@keyframes btn-dot-2 { 0%, 24% { opacity: 1; } 28%, 80% { opacity: 0; } 86%, 100% { opacity: 1; } }
@keyframes btn-dot-3 { 0%, 32% { opacity: 1; } 36%, 80% { opacity: 0; } 86%, 100% { opacity: 1; } }

@keyframes btn-check-0 { 0%, 8% { opacity: 0; transform: scale(.7); } 12%, 80% { opacity: 1; transform: scale(1); } 86%, 100% { opacity: 0; transform: scale(.7); } }
@keyframes btn-check-1 { 0%, 16% { opacity: 0; transform: scale(.7); } 20%, 80% { opacity: 1; transform: scale(1); } 86%, 100% { opacity: 0; transform: scale(.7); } }
@keyframes btn-check-2 { 0%, 24% { opacity: 0; transform: scale(.7); } 28%, 80% { opacity: 1; transform: scale(1); } 86%, 100% { opacity: 0; transform: scale(.7); } }
@keyframes btn-check-3 { 0%, 32% { opacity: 0; transform: scale(.7); } 36%, 80% { opacity: 1; transform: scale(1); } 86%, 100% { opacity: 0; transform: scale(.7); } }

.deliver-track {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: 64px;
  display: flex;
  align-items: center;
  margin-left: 2px;
}

.track-line {
  position: absolute;
  left: 0;
  right: 74px;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #2a4a6d 0%, rgba(16, 185, 129, 0.55) 100%);
  border-radius: 2px;
  z-index: 0;
  opacity: 0;
  animation: track-reveal 8s linear infinite;
}

@keyframes track-reveal {
  0%, 40% { opacity: 0; }
  44%, 76% { opacity: 1; }
  86%, 100% { opacity: 0; }
}

.button-alert {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 2;
  width: 70px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #2a4a6d;
  background: linear-gradient(180deg, #1a4a7a 0%, #0e2a47 100%);
  box-shadow: 0 3px 0 #07111f, 0 5px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(0, -50%) scale(1);
  animation: alert-travel 8s linear infinite;
}

.button-alert-label {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #8fa1bc;
  animation: alert-label-fire 8s linear infinite;
}

.button-alert-ring {
  position: absolute;
  inset: -5px;
  border-radius: 11px;
  border: 2px solid rgba(16, 185, 129, 0.55);
  opacity: 0;
  animation: alert-ring-fire 8s linear infinite;
}

/* 4th button locks ~36%; ALERT waits, then travels most of the rail to the phone */
@keyframes alert-travel {
  0%, 38% {
    left: 0;
    transform: translate(0, -50%) scale(1);
    border-color: #2a4a6d;
    background: linear-gradient(180deg, #1a4a7a 0%, #0e2a47 100%);
    box-shadow: 0 3px 0 #07111f, 0 5px 8px rgba(0, 0, 0, 0.3);
  }
  42%, 46% {
    left: 0;
    transform: translate(0, -50%) scale(1.1);
    border-color: #10b981;
    background: linear-gradient(180deg, #2affc0 0%, #10b981 50%, #0b8f64 100%);
    box-shadow: 0 0 0 3px rgba(16,185,129,.25), 0 0 28px rgba(16,185,129,.7);
  }
  58%, 74% {
    left: calc(100% - 148px);
    transform: translate(0, -50%) scale(1.04);
    border-color: #10b981;
    background: linear-gradient(180deg, #2affc0 0%, #10b981 50%, #0b8f64 100%);
    box-shadow: 0 0 22px rgba(16,185,129,.6);
  }
  86%, 100% {
    left: 0;
    transform: translate(0, -50%) scale(1);
    border-color: #2a4a6d;
    background: linear-gradient(180deg, #1a4a7a 0%, #0e2a47 100%);
    box-shadow: 0 3px 0 #07111f, 0 5px 8px rgba(0, 0, 0, 0.3);
  }
}

@keyframes alert-label-fire {
  0%, 38% { color: #8fa1bc; text-shadow: none; }
  42%, 74% { color: #fff; text-shadow: 0 0 12px rgba(255,255,255,.7), 0 0 16px rgba(16,185,129,.9); }
  86%, 100% { color: #8fa1bc; text-shadow: none; }
}

@keyframes alert-ring-fire {
  0%, 40% { opacity: 0; transform: scale(.9); }
  44% { opacity: 1; transform: scale(1); }
  48% { opacity: .2; transform: scale(1.2); }
  52% { opacity: 1; transform: scale(1); }
  66%, 74% { opacity: .7; transform: scale(1.05); }
  86%, 100% { opacity: 0; transform: scale(.9); }
}

.phone-target {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.phone-icon {
  display: block;
  width: 28px;
  height: 42px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
  animation: phone-idle 8s linear infinite;
}

.phone-hit-ring {
  position: absolute;
  inset: 2px 0;
  border-radius: 12px;
  border: 2px solid rgba(16, 185, 129, 0.65);
  opacity: 0;
  animation: phone-hit 8s linear infinite;
}

.sms-chip {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translate(-50%, 6px) scale(0.85);
  font-family: var(--display);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #07111f;
  background: #10b981;
  border-radius: 999px;
  padding: 2px 5px;
  opacity: 0;
  animation: sms-pop 8s linear infinite;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.55);
  z-index: 3;
  pointer-events: none;
}

@keyframes phone-idle {
  0%, 56% { filter: drop-shadow(0 4px 8px rgba(0,0,0,.35)); }
  60%, 76% { filter: drop-shadow(0 0 14px rgba(16,185,129,.8)); }
  86%, 100% { filter: drop-shadow(0 4px 8px rgba(0,0,0,.35)); }
}

@keyframes phone-hit {
  0%, 56% { opacity: 0; transform: scale(.85); }
  60% { opacity: 1; transform: scale(1.05); }
  66% { opacity: .2; transform: scale(1.2); }
  74% { opacity: .85; transform: scale(1.05); }
  86%, 100% { opacity: 0; transform: scale(.85); }
}

@keyframes sms-pop {
  0%, 58% { opacity: 0; transform: translate(-50%, 8px) scale(.85); }
  62%, 76% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  86%, 100% { opacity: 0; transform: translate(-50%, 8px) scale(.85); }
}

@media (prefers-reduced-motion: reduce) {
  .cond-btn,
  .cond-btn::before,
  .cond-btn::after,
  .track-line,
  .button-alert,
  .button-alert-label,
  .button-alert-ring,
  .phone-icon,
  .phone-hit-ring,
  .sms-chip { animation: none !important; }
  .cond-btn {
    transform: translateY(3px);
    border-color: rgba(16,185,129,.75);
    background: linear-gradient(180deg, #14c98d 0%, #0d9a6c 100%);
  }
  .cond-btn::before { opacity: 0; }
  .cond-btn::after { opacity: 1; }
  .track-line { opacity: 1; }
  .button-alert {
    left: calc(100% - 148px);
    border-color: #10b981;
    background: linear-gradient(180deg, #2affc0 0%, #10b981 50%, #0b8f64 100%);
    box-shadow: 0 0 24px rgba(16,185,129,.65);
  }
  .button-alert-label { color: #fff; }
  .sms-chip { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 640px) {
  .viz-card { padding: 14px 12px 12px; }
  .cond-btn { width: 26px; height: 26px; border-radius: 6px; }
  .cond-btn::after { font-size: 11px; }
  .button-row { gap: 5px; }
  .button-alert { width: 60px; height: 30px; }
  .button-alert-label { font-size: 10px; letter-spacing: 0.08em; }
  .phone-target { width: 46px; right: 14px; }
  .phone-icon { width: 24px; height: 36px; }
  .track-line { right: 66px; }
  .sms-chip { top: 11px; font-size: 7px; }
  @keyframes alert-travel {
    0%, 38% { left: 0; transform: translate(0, -50%) scale(1); border-color: #2a4a6d; background: linear-gradient(180deg, #1a4a7a 0%, #0e2a47 100%); box-shadow: 0 3px 0 #07111f, 0 5px 8px rgba(0,0,0,.3); }
    42%, 46% { left: 0; transform: translate(0, -50%) scale(1.08); border-color: #10b981; background: linear-gradient(180deg, #2affc0 0%, #10b981 50%, #0b8f64 100%); box-shadow: 0 0 22px rgba(16,185,129,.65); }
    58%, 74% { left: calc(100% - 130px); transform: translate(0, -50%) scale(1.03); border-color: #10b981; background: linear-gradient(180deg, #2affc0 0%, #10b981 50%, #0b8f64 100%); box-shadow: 0 0 18px rgba(16,185,129,.55); }
    86%, 100% { left: 0; transform: translate(0, -50%) scale(1); border-color: #2a4a6d; background: linear-gradient(180deg, #1a4a7a 0%, #0e2a47 100%); box-shadow: 0 3px 0 #07111f, 0 5px 8px rgba(0,0,0,.3); }
  }
}

/* ---------- Sections ---------- */

section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border-soft);
}

section:last-of-type { border-bottom: none; }

.section-label {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 16px;
}

h2 {
  font-family: var(--display);
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 500;
  margin: 0 0 20px;
  color: var(--cloud);
}

h3 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--emerald);
}

p { color: var(--text-dim); margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: 17px;
  font-weight: 400;
  color: var(--text);
  max-width: 640px;
  margin-bottom: 32px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 640px) {
  .two-col { grid-template-columns: 1fr; }
}

.card {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: 8px;
  padding: 24px;
}

ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
  color: var(--text-dim);
}
ul.plain li::before {
  content: "\203A";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-family: var(--display);
  font-weight: 600;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 24px;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
}

.step-num {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  color: var(--emerald);
  border: 1px solid var(--border);
  border-radius: 6px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
}

.step h3 { margin-bottom: 6px; }

.step-link {
  margin: 12px 0 0;
  max-width: 520px;
  font-size: 14px;
  color: var(--text-dim);
}
.step-link a {
  font-family: var(--display);
  font-weight: 600;
  color: var(--emerald);
}
.step-link a:hover { text-decoration: underline; }

/* ---------- Alert glossary ---------- */

.glossary-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
}
.glossary-toc a { color: var(--text-dim); }
.glossary-toc a:hover { color: var(--emerald); text-decoration: none; }

.glossary-list { max-width: 640px; }
.glossary-list strong { color: var(--cloud); font-weight: 600; }

.glossary-defs {
  display: grid;
  gap: 12px;
}

.glossary-def {
  border: 1px solid var(--border);
  border-left: 3px solid var(--emerald);
  background: var(--bg-elevated);
  border-radius: 6px;
  padding: 16px 20px;
}
.glossary-def h3 {
  margin: 0 0 6px;
  font-size: 15px;
}
.glossary-def p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.glossary-table {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.glossary-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.38fr) 1fr;
  gap: 16px;
  padding: 14px 18px;
  border-top: 1px solid var(--border-soft);
  font-size: 14px;
  color: var(--text-dim);
}
.glossary-row:first-child { border-top: none; }
.glossary-row strong { color: var(--cloud); font-weight: 600; }

.glossary-row-head {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: var(--bg-elevated-2);
  padding-top: 12px;
  padding-bottom: 12px;
}

@media (max-width: 640px) {
  .glossary-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
  }
  .glossary-row-head { display: none; }
}

/* ---------- Disclosure blocks ---------- */

.disclosure-block {
  border: 1px solid var(--border);
  border-left: 3px solid var(--emerald);
  background: var(--bg-elevated);
  padding: 20px 24px;
  border-radius: 6px;
  margin-bottom: 24px;
}

.disclosure-block h3 { margin-bottom: 12px; }

/* ---------- Legal pages ---------- */

.legal-body h2 {
  margin-top: 40px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--text-dim); }
.legal-meta {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-faint);
  margin-bottom: 40px;
}

/* ---------- Footer ---------- */

footer {
  padding: 40px 0 60px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}
.footer-links a { color: var(--text-dim); }
.footer-links a:hover { color: var(--emerald); }

.disclaimer {
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.7;
  max-width: 720px;
}

@media (max-width: 640px) {
  /* Keep My Account reachable on small screens; hide secondary nav links. */
  nav.top-nav a:not(.nav-account) { display: none; }
  .hero { padding: 48px 0 36px; }
  .two-col { gap: 20px; }
}
