/* Marketing site concept — reuses the product's design tokens (see
   frontend/tailwind.config.js and temp/ux-concepts/shared.css) so the public
   site reads as the same product as the app, not a different brand. */

:root {
  /* palette: #ffffff, #242424, #5c7c89, #1f4959, #011425 */
  --bg-top: #f7f8f7;
  --bg-bottom: #f7f8f7;
  --bg-alt: #f7f8f7;
  --bg-alt-end: #f7f8f7;

  /* card surfaces (stat tiles, forms): slate to teal-dark */
  --bg-card: #5c7c89;
  --bg-card-end: #1f4959;
  --bg-hero: #5c7c89;
  --bg-hero-end: #1f4959;
  --bg-pill: #1f4959;
  --bg-chip: #1f4959;
  --bg-input: #1f4959;
  --bg-row: #1f4959;

  --line: #dde3e5;
  --line-stronger: #c7ced1;

  --ink: #242424;
  --ink-muted: #3d4144;
  --ink-subtle: #55595c;
  --ink-faint: #8a8e91;
  --ink-label: #a3a7aa;

  --cyan: #0e7490;
  --pink: #5c7c89;
  --amber: #1f4959;
  --green: #011425;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-top);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  line-height: 1.5;
}

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

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ------------------------------------------------------------------- nav */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: transparent;
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 66px; }
.logo { font-size: 16px; font-weight: 700; letter-spacing: -0.2px; color: #ffffff; }
.logo span { color: #7dd3fc; }
.nav-links { display: flex; gap: 22px; flex: 1; justify-content: center; }
.nav-links a { font-size: 13.5px; color: rgba(255, 255, 255, 0.85); }
.nav-links a:hover { color: #ffffff; }

/* ---------------------------------------------------------------- button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--line-stronger);
  background: var(--bg-pill);
  color: var(--ink-muted);
  cursor: pointer;
  white-space: nowrap;
}
.btn.primary {
  background: #7dd3fc;
  color: #101c2e;
  border-color: transparent;
}
.btn.primary:hover { filter: brightness(1.05); }
.btn.ghost { background: transparent; }
.btn.large { padding: 13px 24px; font-size: 14.5px; }

/* ------------------------------------------------------------------ hero */
.hero-section { padding: 72px 0 56px; }
.hero-section .sub { max-width: 640px; }
.cause-rail { margin-top: 44px; }
.cause-rail-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.cause-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* one-sentence global framing lives in a full-bleed photo hero, not a card */
.hero-photo-bg {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-photo-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 65% center;
  background-repeat: no-repeat;
  transform: scaleX(-1) scale(1.08);
  transition: transform 0.2s ease-out;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8, 17, 23, 0.94) 0%, rgba(8, 17, 23, 0.75) 35%, transparent 65%);
}
.hero-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent 0%, #101c2e 100%);
}
.hero-photo-placeholder {
  position: absolute;
  inset: 0;
  background: #5c7c89;
  display: grid;
  place-items: center;
}
.placeholder-badge {
  border: 2px dashed rgba(232, 238, 241, 0.35);
  background: rgba(10, 16, 21, 0.6);
  color: rgba(232, 238, 241, 0.85);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
}
.hero-overlay {
  position: relative;
  width: 100%;
  padding: 48px 0;
}
.hero-overlay .headline { color: #ffffff; max-width: 630px; }
.hero-overlay .sub { color: rgba(255, 255, 255, 0.88); max-width: 560px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: var(--bg-chip);
  border: 1px solid rgba(77, 223, 255, 0.25);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 20px;
}
.eyebrow .led { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
h1.headline {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.4px;
  max-width: 780px;
}
h1.headline em {
  font-style: normal;
  color: var(--cyan);
}
.sub {
  font-size: 16.5px;
  color: var(--ink-muted);
  margin-top: 20px;
  max-width: 520px;
  line-height: 1.6;
}
.cta-row { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.fine-print { font-size: 12px; color: var(--ink-faint); margin-top: 14px; }

/* hero visual: a peek at the product, built from the same card/chip tokens */
.hero-card {
  background: var(--bg-hero);
  border: 1px solid var(--line-stronger);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 24px 50px -28px rgba(15, 40, 36, 0.25);
}
.hero-card .hc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hero-card .hc-title { font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid var(--line);
  background: var(--bg-row);
  color: var(--ink-subtle);
  white-space: nowrap;
}
.chip .led { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.chip.live { background: rgba(116, 214, 155, 0.12); color: var(--green); border-color: rgba(116, 214, 155, 0.3); }
.chip.cyan { background: var(--bg-chip); color: var(--cyan); border-color: rgba(77, 223, 255, 0.28); }
.chip.pinkish { background: rgba(240, 166, 184, 0.1); color: var(--pink); border-color: rgba(240, 166, 184, 0.28); }
.chip.amber { background: rgba(232, 160, 92, 0.1); color: var(--amber); border-color: rgba(232, 160, 92, 0.28); }
.mini-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.mini-row .avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: 0 0 30px;
  background: var(--cyan);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: #ffffff;
}
.mini-row .grow { flex: 1; min-width: 0; }
.mini-row .t { font-size: 12.5px; font-weight: 600; }
.mini-row .s { font-size: 11px; color: var(--ink-subtle); margin-top: 2px; }
.mini-score { font-size: 12px; font-weight: 700; color: var(--green); }

/* -------------------------------------------------------------- sections */
section { padding: 64px 0; }
.band-dark {
  background: #101c2e;
  --cyan: #7bb8e0;
  --ink: #ffffff;
  --ink-muted: #c3d1d7;
  --ink-subtle: #a2adb4;
  --ink-faint: #8b969d;
}
.band-mid {
  background: #1e3450;
  --cyan: #7bb8e0;
  --ink: #ffffff;
  --ink-muted: #d3dde0;
  --ink-subtle: #a2adb4;
  --ink-faint: #8b969d;
}
.panel-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
}
.section-title { font-size: 30px; font-weight: 700; margin-top: 10px; letter-spacing: -0.3px; line-height: 1.15; color: var(--ink); }
.section-sub { font-size: 15px; color: var(--ink-muted); margin-top: 12px; max-width: 640px; line-height: 1.65; }
.section-sub strong { color: var(--ink); font-weight: 700; }

/* Section 2 lead stat: text + chart/photo placeholder, mirrors the reference sites */
.stat-intro-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.stat-intro-grid.reverse { grid-template-columns: 0.85fr 1.15fr; }
.stat-intro-grid .section-sub { max-width: none; }

/* S2.1 scale tiles: photo, number, and label sit directly on the stats band, no card chrome */
.stat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.stat-tile {
  --ink: #ffffff;
  --ink-muted: #c3d1d7;
  --ink-subtle: #a2adb4;
  --ink-faint: #8b969d;
}
.stat-tile-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #0a1422;
}
.stat-tile-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); filter: brightness(1.35) url(#duotone-navy-cyan); }
.stat-tile-image.first img { object-position: 25% center; }
.stat-tile-image.third img { filter: brightness(0.9) contrast(1.1) url(#duotone-navy-cyan); }
.stat-tile-number {
  display: block;
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: #bfe4fb;
  width: fit-content;
}
.stat-tile-number:hover { text-decoration: underline; }
.stat-tile-caption { font-size: 19px; font-weight: 500; color: #c8d6e5; line-height: 1.4; }
.stat-tile-desc { font-size: 13px; font-weight: 400; color: #8fa3b3; line-height: 1.55; margin-top: 10px; }

/* problem ratio: full-width graphic, copy below at thesis weight */
.ratio-row { margin-top: 56px; }
.ratio-graphic { position: relative; }
.ratio-copy { color: #d3dde0; max-width: 760px; font-size: 21px; font-weight: 400; line-height: 1.55; margin-top: 24px; }
.ratio-copy-overlay {
  position: absolute;
  top: 10%;
  right: 6%;
  max-width: 60%;
  color: #ffffff;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.4;
  text-align: right;
}
.ratio-copy-overlay .accent { color: var(--cyan); font-weight: 700; }
.ratio-copy-overlay-secondary {
  top: auto;
  bottom: 8%;
  right: 6%;
  left: auto;
  max-width: 60%;
  text-align: right;
}
.ratio-copy-overlay-secondary .accent { color: #ffffff; font-weight: 700; }
.stat-photo-placeholder {
  min-height: 230px;
  border-radius: 14px;
  border: 1px solid #2a3f52;
  background: #0a1422;
  overflow: hidden;
  position: relative;
}
.stat-photo-placeholder img { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.45) contrast(0.95); }
.ratio-label {
  position: absolute;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: rgba(10, 20, 34, 0.85);
  border: 1px solid rgba(125, 211, 252, 0.4);
  border-radius: 6px;
  padding: 8px 14px;
  line-height: 1.3;
}
.ratio-label-large { top: 16px; left: 16px; max-width: 55%; }
.ratio-label-small { top: 62%; left: 30%; }

/* how it works: floating goal cards framed with an open corner-bracket "annotation" motif */
.how-it-works-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 24px; align-items: center; }
.how-it-works-copy { text-align: center; }
.how-it-works-copy .section-label { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; will-change: transform; }
.how-it-works-copy .section-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: label-pulse 1.6s ease-in-out infinite;
}
@keyframes label-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.7); opacity: 0.35; }
}
.how-it-works-title { font-size: 34px; margin-top: 12px; }
.goal-cards { position: relative; display: flex; flex-direction: column; gap: 64px; }
.goal-cards.right { margin-top: 72px; }
.goal-card {
  position: relative;
  z-index: 1;
  padding: 18px 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.corner-brackets {
  --bracket: rgba(255, 255, 255, 0.35);
  --bracket-len: 14px;
  background:
    linear-gradient(to right, var(--bracket) 0 var(--bracket-len), transparent 0) top left / var(--bracket-len) 1px no-repeat,
    linear-gradient(to bottom, var(--bracket) 0 var(--bracket-len), transparent 0) top left / 1px var(--bracket-len) no-repeat,
    linear-gradient(to left, var(--bracket) 0 var(--bracket-len), transparent 0) top right / var(--bracket-len) 1px no-repeat,
    linear-gradient(to bottom, var(--bracket) 0 var(--bracket-len), transparent 0) top right / 1px var(--bracket-len) no-repeat,
    linear-gradient(to right, var(--bracket) 0 var(--bracket-len), transparent 0) bottom left / var(--bracket-len) 1px no-repeat,
    linear-gradient(to top, var(--bracket) 0 var(--bracket-len), transparent 0) bottom left / 1px var(--bracket-len) no-repeat,
    linear-gradient(to left, var(--bracket) 0 var(--bracket-len), transparent 0) bottom right / var(--bracket-len) 1px no-repeat,
    linear-gradient(to top, var(--bracket) 0 var(--bracket-len), transparent 0) bottom right / 1px var(--bracket-len) no-repeat;
}

/* ----------------------------------------------------------------- pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.pillar {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 1px 3px rgba(15, 30, 28, 0.05);
}
.pillar .icon {
  width: 36px; height: 36px; border-radius: 9px;
  display: grid; place-items: center;
  font-size: 16px; margin-bottom: 14px;
}
.pillar .icon.cyan { background: var(--bg-chip); color: var(--cyan); }
.pillar .icon.pink { background: rgba(240, 166, 184, 0.1); color: var(--pink); }
.pillar .icon.amber { background: rgba(232, 160, 92, 0.1); color: var(--amber); }
.pillar h3 { font-size: 15.5px; font-weight: 600; margin: 12px 0 8px; }
.pillar p { font-size: 13px; color: var(--ink-subtle); line-height: 1.6; }
.pillar .chip { margin-bottom: 0; }

/* --------------------------------------------------------------- bridge */
.how-it-helps-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; margin-bottom: 8px; }

/* ------------------------------------------------------------------ stages */
.stage-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.stage-col { display: flex; flex-direction: column; gap: 10px; }
.stage-head { border-top: 2px solid var(--cyan); padding-top: 10px; }
.stage-step { font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); font-weight: 700; }
.stage-name { font-size: 16px; font-weight: 600; margin: 3px 0 4px; }
.stage-desc { font-size: 11.5px; line-height: 1.5; color: var(--ink-subtle); }

.mod {
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 1px 3px rgba(15, 30, 28, 0.04);
}
.mod.enabled { border-color: rgba(77, 223, 255, 0.35); background: rgba(77, 223, 255, 0.05); }
.mod.ghost { border-style: dashed; background: transparent; opacity: 0.75; }
.mod-title { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.mod-desc { font-size: 12px; line-height: 1.55; color: var(--ink-subtle); flex: 1; }
.mod-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.chip.soon { background: var(--bg-pill); color: var(--ink-faint); text-transform: uppercase; }

/* ---------------------------------------------------------- request access */
.mission-text { text-align: center; max-width: 760px; margin: 0 auto; }
.mission-text .section-label { font-size: 15px; display: inline-block; will-change: transform; }
#frontier-problems .section-label { font-size: 15px; }
.mission-title { font-size: 32px; }
.mission-copy { max-width: none; font-size: 17px; margin-top: 16px; color: var(--ink); }
.mission-copy .accent { color: var(--cyan); font-weight: 600; }
.mission-image-standalone { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.mission-image img { width: 100%; }
.mission-image-caption { font-size: 18px; font-weight: 700; color: #ffffff; margin-bottom: 16px; text-align: center; }
.mission-image-legend { display: flex; justify-content: center; gap: 24px; margin-top: 16px; }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #c3d1d7; }
.legend-swatch { width: 12px; height: 12px; border-radius: 3px; }
.legend-swatch.cyan { background: #7bb8e0; }
.legend-swatch.navy { background: #1e3450; }
.legend-swatch.slate { background: #5c7c89; }
.zoomable { cursor: zoom-in; }
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 17, 23, 0.92);
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; }
.access-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.access-copy .section-label { font-size: 15px; }
.access-copy .section-title { font-size: 32px; }
#contact .section-title { font-size: 52px; }
#contact .section-sub { font-size: 15px; line-height: 1.65; max-width: 480px; margin-top: 22px; }
.access-list { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.access-list li { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-muted); align-items: flex-start; }
.access-list li .tick {
  flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(116, 214, 155, 0.14); color: var(--green);
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
  margin-top: 1px;
}

.form-card {
  --ink: #101c2e;
  --ink-muted: #45535e;
  --ink-subtle: #5c6b76;
  --ink-faint: #76838c;
  --cyan: #1e3450;
  --line: #d7dee1;
  --line-stronger: #c3ccd0;
  background: #f5f8fc;
  border: 1px solid var(--line-stronger);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 20px 45px -30px rgba(1, 20, 37, 0.3);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--ink-faint); }
.field input, .field select, .field textarea {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13.5px;
  color: var(--ink);
  font-family: inherit;
  outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: #76838c; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); }
.field textarea { resize: vertical; min-height: 84px; }
.field-check { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--ink-subtle); margin-bottom: 18px; }
.field-check input { margin-top: 3px; }
.form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-note { font-size: 11.5px; color: var(--ink-faint); }

/* -------------------------------------------------------------- closing cta */
.closing-band { background: #101c2e; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.closing-title { color: #ffffff; font-size: 28px; max-width: 520px; margin-top: 0; }

/* ------------------------------------------------------------------ footer */
footer {
  background: #101c2e;
  border-top: 1px solid #2c3f52;
  padding: 56px 0 0;
  --ink: #ffffff;
  --ink-muted: #c3d1d7;
  --ink-subtle: #a2adb4;
}
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-col, .footer-brand { text-align: left; }
.footer-col a { display: block; font-size: 15px; color: #c8d6e5; line-height: 1.8; margin-top: 4px; }
.footer-col a:hover { color: var(--ink); }
.footer-heading { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #7bb8e0; margin-bottom: 8px; }
.footer-brand .logo { font-size: 20px; }
.footer-tagline { font-size: 14px; color: #8fa3b8; margin-top: 10px; max-width: 320px; }
.footer-cta { display: inline-flex; margin-top: 8px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid #2c3f52;
  padding: 20px 0;
}
.footer-tag { font-size: 13px; color: #8fa3b8; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal-link { font-size: 13px; color: #8fa3b8; text-decoration: none; }
.footer-legal-link:hover { color: var(--ink); text-decoration: underline; }

/* section connectors: thin threads from the stat tiles down to the access heading */
.connector-wrap { position: relative; }
.section-connector { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.section-connector-line { fill: none; stroke: rgba(196, 214, 229, 0.22); stroke-width: 1.25; }
.connector-dot { fill: #7dd3fc; }

/* ------------------------------------------------------- motion & interaction */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .goal-card:nth-child(2) { transition-delay: 0.15s; }
.typewriter::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 3px;
  background: currentColor;
  vertical-align: -0.15em;
  animation: type-cursor-blink 0.9s steps(1) infinite;
}
.typewriter.done::after { display: none; }
@keyframes type-cursor-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.count-up { font-variant-numeric: tabular-nums; }
.stat-tile, .goal-card, .pillar {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-tile:hover, .pillar:hover { transform: translateY(-4px); }
.goal-card.corner-brackets:hover {
  --bracket: rgba(125, 211, 252, 0.85);
  transform: translateY(-4px);
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(125, 211, 252, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(125, 211, 252, 0); }
}
.cta-glow { animation: pulse-glow 2.6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .cta-glow { animation: none; }
  .how-it-works-copy .section-label::before { animation: none; }
  .stat-tile, .goal-card, .pillar, .hero-photo-img { transition: none; }
}

@media (max-width: 880px) {
  .access-grid, .how-it-helps-head, .stat-intro-grid, .ratio-row { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .stat-tiles { grid-template-columns: minmax(0, 1fr); }
  .stage-rail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  h1.headline { font-size: 30px; }
  .nav-links { display: none; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .section-connector { display: none; }
  .how-it-works-grid { grid-template-columns: minmax(0, 1fr); }
  .how-it-works-copy { order: -1; }
  .goal-cards, .goal-cards.right { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
  .goal-card { flex: 1 1 45%; }
  .ratio-copy-overlay {
    position: static;
    max-width: none;
    text-align: left;
    font-size: 20px;
    margin-top: 16px;
  }
}
