/* ==========================================================================
   LEAD — marketing site
   Brand tokens come straight from the LEAD logo (navy, blue, compass gold).
   ========================================================================== */
:root {
  --navy: #042D44;
  --navy-deep: #021A28;
  --blue: #009DDC;          /* graphics & large accents */
  --blue-ink: #0A74A6;      /* text-safe blue on light grounds */
  --gold: #D5A10E;          /* the compass needle — primary action, destinations */
  --gold-hover: #E2B028;
  --gold-ink: #8A6604;      /* text-safe gold on light grounds */
  --paper: #F2F6F8;         /* cool, blue-biased light ground */
  --white: #FFFFFF;
  --ink: #0B2636;
  --muted: #4A5F6E;
  --line: #D7E2E9;
  --on-dark: #EAF2F7;
  --on-dark-muted: #A6BECC;
  --on-dark-line: rgba(234, 242, 247, .14);
  --error: #A33A1B;
  --ok: #1E7F4F;            /* "authorized" status only */
  --ok-bg: #E2F3E9;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { display: block; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: #fff; color: var(--navy); padding: 10px 14px; border-radius: 8px; }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 560;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  letter-spacing: -.018em;
  text-wrap: balance;
  margin: 0;
  color: inherit;
}
h2 { font-size: clamp(2rem, 3.6vw, 3.05rem); line-height: 1.06; color: var(--navy); }
h3 { font-size: 1.35rem; line-height: 1.22; letter-spacing: -.01em; }
p { margin: 0; }
.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-ink);
  margin: 0;
}
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--muted); max-width: 60ch; text-wrap: pretty; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--navy); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--gold); }
.section--dark .lede { color: var(--on-dark-muted); }
.section-head { display: grid; gap: 16px; max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1 var(--sans);
  text-decoration: none;
  padding: 15px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover:not(:disabled) .arrow { transform: translateX(3px); }
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--ghost { color: var(--on-dark); border-color: rgba(234, 242, 247, .35); }
.btn--ghost:hover { border-color: var(--on-dark); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover:not(:disabled) { background: #073a57; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 45, 68, .94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--on-dark-line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a, .nav-app { color: var(--on-dark); text-decoration: none; font-size: .95rem; font-weight: 500; opacity: .82; }
.nav-links a:hover, .nav-app:hover { opacity: 1; }
.nav-cta { display: flex; align-items: center; gap: 22px; }
.nav-cta .btn { padding: 11px 18px; font-size: .93rem; }
.nav-toggle {
  display: none; background: none; border: 1.5px solid rgba(234, 242, 247, .35); color: var(--on-dark);
  border-radius: 10px; width: 44px; height: 40px; cursor: pointer; place-items: center;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
.mobile-menu { border-top: 1px solid var(--on-dark-line); padding-block: 12px 20px; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; }
.mobile-menu ul a { display: block; color: var(--on-dark); text-decoration: none; padding: 12px 0; font-weight: 500; border-bottom: 1px solid var(--on-dark-line); }
.mobile-menu .btn { margin-top: 18px; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(900px 520px at 82% 30%, rgba(0, 157, 220, .20), transparent 62%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(56px, 8vw, 104px) clamp(64px, 8vw, 104px);
}
.hero .eyebrow { color: var(--gold); margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.8rem, 6.2vw, 5.1rem); line-height: .98; letter-spacing: -.03em; color: #fff; }
.hero h1 em { display: block; font-style: italic; font-weight: 400; color: var(--on-dark-muted); }
.hero .lede { color: var(--on-dark-muted); margin-top: 28px; font-size: 1.18rem; max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-proof {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--on-dark-line);
  color: var(--on-dark-muted); font-size: .96rem; max-width: 52ch;
}
.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.compass { position: absolute; left: 50%; top: 50%; width: min(640px, 130%); transform: translate(-50%, -50%); pointer-events: none; }
.hero-phones { position: relative; width: 100%; max-width: 440px; height: 560px; }
.hero-phones .phone { position: absolute; width: 56%; }
.hero-phones .phone--back { left: 2%; top: 56px; transform: rotate(-5deg); }
.hero-phones .phone--front { right: 2%; top: 0; transform: rotate(3deg); }
@media (prefers-reduced-motion: no-preference) {
  .hero-phones .phone { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-phones .phone--front { animation-delay: .12s; }
}
@keyframes rise { from { translate: 0 18px; } to { translate: 0 0; } }

/* ---------- Phone frame ---------- */
.phone {
  aspect-ratio: 1320 / 2868;
  border-radius: 15% / 6.9%;
  overflow: hidden;
  background: #0A1A24;
  box-shadow:
    0 0 0 6px #0B1116,
    0 0 0 7px rgba(255, 255, 255, .10),
    0 40px 80px -24px rgba(2, 16, 26, .6);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Proof ---------- */
.proof { padding-block: clamp(56px, 7vw, 88px); }
.proof-statement {
  font-family: var(--display); font-variation-settings: "SOFT" 0, "WONK" 0;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.14; letter-spacing: -.018em;
  color: var(--navy); margin-top: 16px; text-wrap: balance;
}

/* ---------- By the numbers ----------
   Its own navy band so the figures read as the headline facts, not another list.
   site.js rolls each figure's digits into place, odometer-style, on first view. */
.figures { background: var(--navy); color: var(--on-dark); padding-block: clamp(60px, 8vw, 100px); }
.figures-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.figure { display: grid; gap: 18px; align-content: start; padding-inline: clamp(20px, 3.2vw, 48px); border-left: 1px solid var(--on-dark-line); }
.figure:first-child { padding-left: 0; border-left: 0; }
.figure-num {
  font-family: var(--display); font-variation-settings: "SOFT" 0, "WONK" 0; font-weight: 500;
  font-size: clamp(2.6rem, 5.2vw, 4.3rem); line-height: 1; letter-spacing: -.03em; color: #fff;
  font-variant-numeric: lining-nums tabular-nums; white-space: nowrap;
}
.figure-plus { color: var(--gold); }
.figure-pre { font-style: italic; font-weight: 400; font-size: .4em; letter-spacing: 0; color: var(--on-dark-muted); }
.figure-label { color: var(--on-dark-muted); font-size: 1.02rem; line-height: 1.45; max-width: 27ch; text-wrap: pretty; }
.figure-label::before { content: ""; display: block; width: 28px; height: 2px; background: var(--gold); margin-bottom: 14px; }
.roll, .roll-char { display: inline-block; height: 1em; line-height: 1; vertical-align: top; text-align: center; }
.roll { width: var(--w0); clip-path: inset(0 -.3em); }
.roll-strip { display: block; }
.roll-strip > span { display: block; height: 1em; }
.is-rolled .roll { width: var(--w); transition: width .45s cubic-bezier(.3, .7, .2, 1) var(--settle); }
.is-rolled .roll-strip {
  transform: translateY(calc(var(--to) * -1em));
  transition: transform var(--dur) cubic-bezier(.12, .7, .16, 1) var(--delay);
}

/* The register: dioceses set the way the Church styles them — "Archdiocese of" small, the see large. */
.register { margin-top: clamp(52px, 7vw, 80px); display: grid; gap: 14px; }
.register-label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.sees + .register-label { margin-top: 30px; }
.sees {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 48px);
}
.sees li { display: grid; gap: 4px; padding-block: 16px; border-top: 1px solid var(--line); }
.see-type { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.see-name {
  font-family: var(--display); font-variation-settings: "SOFT" 0, "WONK" 0;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.15; letter-spacing: -.01em; color: var(--navy);
}
.partners {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px 32px;
  list-style: none; margin: 0; padding: 0;
  font-family: var(--display); font-style: italic; font-size: 1.12rem; color: var(--muted);
}
.partners li { display: flex; align-items: baseline; gap: 12px; }
.partners li::before {
  content: ""; width: 6px; height: 6px; background: var(--gold); transform: translateY(-.28em) rotate(45deg); flex: 0 0 auto;
}

/* ---------- Thesis ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.pillar { border-top: 2px solid var(--navy); padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.pillar h3 { color: var(--navy); }
.pillar p { color: var(--muted); }

/* The pieces of formation gathering into one learning path (the LEAD compass at the center).
   Chip positions are percentages of the figure (--x, --y); lines use the same 560×440 grid. */
.thesis-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center;
  gap: clamp(32px, 5vw, 72px); margin-bottom: clamp(48px, 6vw, 72px);
}
.thesis-grid .section-head { margin-bottom: 0; }
.gather { position: relative; margin: 0; width: 100%; max-width: 560px; justify-self: end; aspect-ratio: 560 / 440; container-type: inline-size; }
.gather-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gather-lines line { stroke: rgba(4, 45, 68, .2); stroke-width: 1.25; stroke-dasharray: 1; stroke-dashoffset: 0; }
.gather-orbit { fill: none; stroke: rgba(4, 45, 68, .14); stroke-width: 1; stroke-dasharray: 2 7; }
.gather-pulse { fill: none; stroke: var(--gold); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.gather-core {
  position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; translate: -50% -50%;
  display: grid; place-items: center; border-radius: 50%; background: var(--white);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -18px rgba(4, 45, 68, .35);
}
.gather-core svg { width: 62%; height: 62%; }
.gather-pieces { list-style: none; margin: 0; padding: 0; }
.gather .chip {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); translate: -50% -50%;
  white-space: nowrap; font-size: clamp(11px, 2.55cqw, 14.5px); padding: .6em .95em; gap: .5em;
  background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 8px 20px -12px rgba(4, 45, 68, .3);
}
.gather .chip .dot { width: .62em; height: .62em; }
/* Before it scrolls into view: pieces scattered and askew, nothing connected. */
.gather.is-armed:not(.is-in) .chip {
  opacity: 0; rotate: var(--r);
  transform: translate(calc((var(--x) - 50) * 1.3px), calc((var(--y) - 50) * 1.3px));
}
.gather.is-armed:not(.is-in) .gather-core { opacity: 0; scale: .85; }
.gather.is-armed:not(.is-in) line { stroke-dashoffset: 1; }
.gather.is-in .chip {
  transition: transform .9s cubic-bezier(.2, .7, .2, 1), rotate .9s cubic-bezier(.2, .7, .2, 1), opacity .5s ease;
  transition-delay: calc(250ms + var(--i) * 80ms);
}
.gather.is-in .gather-core { transition: opacity .5s ease, scale .6s cubic-bezier(.2, .7, .2, 1); }
.gather.is-in line { transition: stroke-dashoffset .7s ease-out calc(1000ms + var(--i) * 60ms); }
.gather.is-in .gather-pulse { animation: gather-pulse 1.3s ease-out 1.75s 1 both; }
@keyframes gather-pulse { from { opacity: .7; scale: 1; } to { opacity: 0; scale: 1.9; } }

/* ---------- Program explorer ---------- */
.tabs-scroll { overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.tabs-scroll::-webkit-scrollbar { display: none; }
.tabs { display: flex; gap: 8px; padding-bottom: 4px; width: max-content; }
.tab {
  font: 600 .95rem/1 var(--sans); padding: 12px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s;
}
.tab:hover { border-color: #9FB9C9; }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.program { margin-top: 40px; }
.program-setup {
  font-family: var(--display); font-variation-settings: "SOFT" 0, "WONK" 0; font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.3; color: var(--navy); max-width: 46ch;
}
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 22px 0 44px; padding: 0; font-size: .88rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.dot--people { background: var(--gold); }
.dot--online { background: var(--blue); }
.dot--auto { background: var(--navy); }

.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.stop { position: relative; display: grid; gap: 8px; align-content: start; }
.stop:not(:last-child)::after {
  content: ""; position: absolute; top: 20px; left: 54px; right: -18px; height: 2px;
  background: linear-gradient(var(--navy), var(--navy)) 0 0 / 100% 100% no-repeat var(--line);
}
.stop-num {
  width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--navy); background: var(--white);
  display: grid; place-items: center; margin-bottom: 8px;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--navy);
  font-variant-numeric: lining-nums;
}
.stop--final .stop-num { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.stop h3, .stop h4 { margin: 0; font-family: var(--sans); font-size: 1.04rem; font-weight: 700; line-height: 1.22; letter-spacing: 0; color: var(--navy); text-wrap: balance; }
.stop p { font-size: .95rem; line-height: 1.5; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 6px 0 0; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 600; line-height: 1; padding: 6px 10px;
  border-radius: 999px; background: var(--paper); color: var(--ink);
}
.outcome {
  margin-top: 48px; display: flex; align-items: center; gap: 16px;
  font-family: var(--display); font-variation-settings: "SOFT" 0, "WONK" 0;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--navy);
}
.outcome::before { content: ""; width: 40px; height: 2px; background: var(--gold); flex: 0 0 auto; }

/* Walking the path: site.js adds .is-walking when a program appears. Each step lights in
   turn, the line to the next fills, and the gold destination lands with a soft ring. */
.programs.is-armed .program:not(.is-walking) .stop,
.programs.is-armed .program:not(.is-walking) .outcome,
.programs.is-armed .program:not(.is-walking) .program-more { opacity: 0; }
.program.is-walking .stop { animation: stop-in .5s cubic-bezier(.2, .7, .2, 1) both calc(var(--i) * 260ms); }
.program.is-walking .stop:not(:last-child)::after { animation: path-x .22s ease-in-out both calc(var(--i) * 260ms + 140ms); }
.program.is-walking .stop--final .stop-num { animation: arrive .7s cubic-bezier(.3, 1.4, .5, 1) both calc(var(--i) * 260ms + 60ms); }
.program.is-walking .outcome { animation: stop-in .6s cubic-bezier(.2, .7, .2, 1) both 1.4s; }
.program.is-walking .program-more { animation: stop-in .6s cubic-bezier(.2, .7, .2, 1) both 1.6s; }
@keyframes stop-in { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@keyframes path-x { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes path-y { from { background-size: 100% 0%; } to { background-size: 100% 100%; } }
@keyframes arrive {
  0% { scale: .6; box-shadow: 0 0 0 0 rgba(213, 161, 14, .55); }
  55% { scale: 1.08; }
  100% { scale: 1; box-shadow: 0 0 0 14px rgba(213, 161, 14, 0); }
}

/* ---------- Voices ---------- */
.quotes { display: grid; gap: 48px; margin-top: 22px; }
.quotes:has(> .quote:nth-child(2)) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.quote { margin: 0; display: grid; gap: 22px; align-content: start; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--display); font-variation-settings: "SOFT" 0, "WONK" 0;
  font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.35; letter-spacing: -.01em; color: var(--navy); text-wrap: pretty;
}
/* A single quote is the section's centerpiece: set large and wide, attribution stacked beneath. */
.quote:only-child { gap: 30px; }
.quote:only-child blockquote p { font-size: clamp(1.6rem, 3.1vw, 2.5rem); line-height: 1.26; letter-spacing: -.015em; max-width: 36ch; }
.quote blockquote p::before { content: "“"; color: var(--gold); margin-left: -.45em; }
.quote blockquote p::after { content: "”"; color: var(--gold); }
/* The line worth remembering gets a gold highlight that draws in on first view (site.js). */
.quote mark {
  color: inherit; padding-inline: .04em;
  background: linear-gradient(transparent 60%, rgba(213, 161, 14, .36) 60%, rgba(213, 161, 14, .36) 94%, transparent 94%) no-repeat 0 0 / 100% 100%;
}
.quote.is-armed:not(.is-in) mark { background-size: 0% 100%; }
.quote.is-in mark { transition: background-size 1.2s cubic-bezier(.3, .7, .2, 1) .3s; }
.quote figcaption { display: grid; grid-template-columns: 36px auto; justify-content: start; column-gap: 14px; row-gap: 2px; align-items: center; }
.quote figcaption::before { content: ""; width: 36px; height: 2px; background: var(--gold); }
.quote-name { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.quote-role { grid-column: 2; color: var(--muted); }

/* ---------- Built for the Church's structure ----------
   Diocese → parish → learner, joined by the same gold route markers as the explorer. */
.views { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 44px); row-gap: 0; }
.views::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--on-dark-line); }
.view { position: relative; padding-top: 30px; display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 12px; }
.view::before { content: ""; position: absolute; top: -5px; left: 0; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }
/* On first view a gold spark runs the line from diocese to parish to learner,
   lighting each marker as it passes (site.js adds .is-armed, then .is-in). */
.views::after {
  content: ""; position: absolute; top: -1px; left: -96px; width: 96px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold)); opacity: 0; pointer-events: none;
}
.views.is-armed:not(.is-in) .view::before { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(213, 161, 14, .5); }
.views.is-in::after { animation: spark-x 1.7s cubic-bezier(.45, .1, .4, 1) .15s both; }
.views.is-in .view::before { animation: marker-light .55s cubic-bezier(.3, 1.5, .5, 1) both calc(.2s + var(--i) * .5s); }
@keyframes spark-x { 0% { left: -96px; opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes spark-y { 0% { top: -96px; opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes marker-light {
  from { scale: .5; background: transparent; box-shadow: 0 0 0 0 rgba(213, 161, 14, .6); }
  to { scale: 1; background: var(--gold); box-shadow: 0 0 0 10px rgba(213, 161, 14, 0); }
}
.view .who { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.view p { color: var(--on-dark-muted); }
.view-ui {
  margin-top: 10px; border: 1px solid var(--on-dark-line); border-radius: 12px; padding: 14px 16px;
  background: rgba(255, 255, 255, .035); display: grid; gap: 6px; font-size: .9rem; color: var(--on-dark);
}
.view-ui .k { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 700; }
.view-ui .row { display: flex; justify-content: space-between; gap: 12px; }
.view-ui .ok { color: #8FD3A8; font-weight: 600; }

/* ---------- Apps ---------- */
.apps-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.features { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.features li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; }
.features svg { width: 22px; height: 22px; stroke: var(--blue-ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 3px; }
.features strong { display: block; color: var(--navy); }
.features span { color: var(--muted); font-size: .98rem; }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff;
  text-decoration: none; padding: 10px 18px 10px 15px; border-radius: 12px; line-height: 1;
  transition: transform .15s ease;
}
.store:hover { transform: translateY(-1px); }
.store svg { width: 22px; height: 22px; fill: #fff; flex: 0 0 auto; }
.store small { display: block; font-size: .64rem; letter-spacing: .05em; text-transform: uppercase; opacity: .82; margin-bottom: 3px; }
.store b { font-size: 1.12rem; font-weight: 600; }
.app-phones { position: relative; height: 580px; }
.app-phones .phone { position: absolute; width: 44%; top: 50%; }
.app-phones .phone:nth-child(1) { left: 0; transform: translateY(-46%) rotate(-6deg); }
.app-phones .phone:nth-child(2) { left: 28%; transform: translateY(-54%); z-index: 2; }
.app-phones .phone:nth-child(3) { right: 0; transform: translateY(-46%) rotate(6deg); }

/* ---------- Capabilities ---------- */
.caps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 6vw, 88px); }
.caps li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding-block: 22px; border-top: 1px solid var(--line); }
.caps li::before { content: ""; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); margin-top: 9px; }
.caps strong { display: block; color: var(--navy); }
.caps span { color: var(--muted); }

/* ---------- Partnership ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--gold-ink);
  font-variant-numeric: lining-nums; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 8px;
}
.steps h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 700; letter-spacing: 0; color: var(--navy); }
.steps p { color: var(--muted); font-size: .98rem; }
.pricing-note {
  margin-top: 56px; padding: 30px 34px; border-radius: 16px; background: var(--white); border: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
}
.pricing-note p { max-width: 62ch; color: var(--ink); }
.pricing-note strong { color: var(--navy); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 104px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-weight: 650; color: var(--navy); font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--blue-ink);
  transition: transform .2s ease; flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; color: var(--muted); max-width: 62ch; }

@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .faq { interpolate-size: allow-keywords; }
    .faq details::details-content {
      height: 0; overflow: clip;
      transition: height .35s cubic-bezier(.2, .7, .2, 1), content-visibility .35s allow-discrete;
    }
    .faq details[open]::details-content { height: auto; }
  }
}

/* ---------- Parish band ---------- */
.parish { background: var(--paper); border-block: 1px solid var(--line); }
.parish-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-block: 30px; }
.parish p { max-width: 70ch; }
.parish strong { color: var(--navy); }
.parish a { font-weight: 600; white-space: nowrap; }

/* ---------- Final CTA ---------- */
.cta-final { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }
.cta-final .compass { left: auto; right: -180px; width: 620px; transform: translateY(-50%); opacity: .7; }
/* Arriving here, the compass needle swings round and settles pointing at the button.
   site.js measures the heading (--h) and swing direction (--d) and adds .is-in. */
.cta-final .compass-needle { transform-origin: 300px 300px; transform: rotate(38deg); }
.cta-final.is-in .compass-needle { animation: needle-find 2.8s cubic-bezier(.33, 0, .3, 1) .15s both; }
@keyframes needle-find {
  0% { transform: rotate(38deg); }
  30% { transform: rotate(calc(var(--h) * 1deg + var(--d) * 26deg)); }
  48% { transform: rotate(calc(var(--h) * 1deg - var(--d) * 15deg)); }
  64% { transform: rotate(calc(var(--h) * 1deg + var(--d) * 7deg)); }
  78% { transform: rotate(calc(var(--h) * 1deg - var(--d) * 3deg)); }
  90% { transform: rotate(calc(var(--h) * 1deg + var(--d) * 1deg)); }
  100% { transform: rotate(calc(var(--h) * 1deg)); }
}
.cta-final .wrap { position: relative; display: grid; gap: 22px; justify-items: start; }
.cta-final h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }

/* ---------- Simple pages (404) ---------- */
.article-head { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: clamp(48px, 7vw, 88px) clamp(36px, 5vw, 56px); }
.article-head .wrap { display: grid; gap: 14px; justify-items: start; }
.article-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -.025em; color: var(--navy); max-width: 22ch; }
.article-cta { margin-top: 10px; }
.article-body { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 104px); }
.notfound-links { list-style: none; margin: 0; padding: 0; max-width: 520px; }
.notfound-links a { display: block; padding: 16px 0; border-top: 1px solid var(--line); color: var(--navy); font-weight: 600; text-decoration: none; }
.notfound-links li:last-child a { border-bottom: 1px solid var(--line); }
.notfound-links a:hover { color: var(--blue-ink); }

/* ---------- Program and platform pages ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(760px 420px at 88% 20%, rgba(0, 157, 220, .18), transparent 62%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 96px);
}
.page-hero .compass { left: auto; right: -220px; top: 58%; width: 600px; transform: translateY(-50%); opacity: .55; }
.page-hero .wrap { position: relative; display: grid; gap: 20px; justify-items: start; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .eyebrow a { color: inherit; text-decoration: none; }
.page-hero .eyebrow a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1; letter-spacing: -.028em; color: #fff; max-width: 17ch; }
.page-hero .lede { color: var(--on-dark-muted); max-width: 56ch; }
.page-hero .hero-ctas { margin-top: 12px; }
.levels .pillar ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.levels .pillar li { position: relative; padding-left: 20px; color: var(--muted); }
.levels .pillar li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.caps a { color: inherit; text-decoration: none; }
.caps a:hover strong { color: var(--blue-ink); text-decoration: underline; }
.related { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.related a {
  display: inline-block; font-weight: 600; font-size: .95rem; padding: 11px 17px; border-radius: 999px;
  border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; background: var(--white);
}
.related a:hover { border-color: #9FB9C9; }
.program-more { margin-top: 26px; font-weight: 600; }
.program-more a { text-decoration: none; }
.program-more a:hover { text-decoration: underline; }
/* Safe environment: an example person whose requirements check off, then whose status turns
   Authorized. site.js adds .is-armed, then .is-in on first view; without it, the finished state shows. */
.authz-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.authz-grid .section-head { margin-bottom: 0; }
.authz-note { margin-top: 8px; padding: 16px 18px; border-left: 3px solid var(--gold); background: var(--white); border-radius: 0 10px 10px 0; color: var(--muted); max-width: 56ch; }
.authz-note strong { color: var(--navy); }
.authz {
  margin: 0; justify-self: end; width: 100%; max-width: 460px; display: grid; gap: 16px;
  background: var(--white); border-radius: 16px; padding: 24px 26px;
  box-shadow: 0 0 0 1px var(--line), 0 28px 56px -30px rgba(4, 45, 68, .4);
}
.authz-k { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.authz-person { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.authz-name { font-family: var(--display); font-variation-settings: "SOFT" 0, "WONK" 0; font-size: 1.4rem; letter-spacing: -.01em; color: var(--navy); }
.authz-status {
  display: inline-grid; align-items: center; padding: 7px 12px 7px 26px; border-radius: 999px; position: relative;
  font-size: .8rem; font-weight: 700; background: var(--ok-bg); color: var(--ok);
}
.authz-status::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: currentColor; }
.authz-status > span { grid-area: 1 / 1; }
.authz-pending { visibility: hidden; }
.authz-reqs { list-style: none; margin: 0; padding: 0; }
.authz-reqs li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-block: 13px; border-top: 1px solid var(--line); }
.authz-check { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); }
.authz-check svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.authz-req { font-weight: 600; color: var(--navy); }
.authz-meta { font-size: .86rem; color: var(--muted); text-align: right; }
.authz.is-armed:not(.is-in) .authz-check { background: transparent; box-shadow: inset 0 0 0 2px var(--line); }
.authz.is-armed:not(.is-in) .authz-check svg { opacity: 0; }
.authz.is-armed:not(.is-in) .authz-status { background: var(--paper); color: var(--muted); }
.authz.is-armed:not(.is-in) .authz-pending { visibility: visible; }
.authz.is-armed:not(.is-in) .authz-ok { visibility: hidden; }
.authz.is-in .authz-check { animation: check-in .5s cubic-bezier(.3, 1.5, .5, 1) both calc(.35s + var(--i) * .55s); }
.authz.is-in .authz-status { animation: turn-green .5s ease both calc(.45s + var(--n) * .55s); }
.authz.is-in .authz-pending { animation: swap-out .01s linear both calc(.45s + var(--n) * .55s); }
.authz.is-in .authz-ok { animation: swap-in .01s linear both calc(.45s + var(--n) * .55s); }
@keyframes check-in {
  from { scale: .4; background: transparent; box-shadow: inset 0 0 0 2px var(--line); }
  to { scale: 1; background: var(--ok); box-shadow: 0 0 0 0 transparent; }
}
@keyframes turn-green { from { background: var(--paper); color: var(--muted); } to { background: var(--ok-bg); color: var(--ok); } }
@keyframes swap-out { from { visibility: visible; } to { visibility: hidden; } }
@keyframes swap-in { from { visibility: hidden; } to { visibility: visible; } }
@media (max-width: 960px) {
  .authz-grid { grid-template-columns: 1fr; }
  .authz { justify-self: start; }
}
@media (max-width: 420px) {
  .authz-reqs li { grid-template-columns: 24px minmax(0, 1fr); }
  .authz-meta { grid-column: 2; text-align: left; }
}

/* Platform: one row per capability, heading beside the detail. */
.jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 8px 0 0; padding: 0; }
.jump a { display: inline-block; font-size: .9rem; font-weight: 600; padding: 9px 14px; border-radius: 999px; color: var(--on-dark); text-decoration: none; border: 1px solid var(--on-dark-line); }
.jump a:hover { border-color: var(--on-dark-muted); }
.spec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 20px clamp(32px, 6vw, 88px); padding-block: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); scroll-margin-top: 88px; }
.spec:first-child { border-top: 0; padding-top: 0; }
.spec h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.spec .spec-kicker { color: var(--muted); margin-top: 10px; }
.spec-body { display: grid; gap: 16px; align-content: start; }
.spec-body > p { font-size: 1.08rem; color: var(--ink); }
.spec-body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.spec-body li { position: relative; padding-left: 20px; color: var(--muted); }
.spec-body li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.spec-body li strong { color: var(--navy); }
@media (max-width: 820px) {
  .spec { grid-template-columns: 1fr; }
  .page-hero .compass { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-muted); padding-block: 56px 40px; font-size: .93rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer-brand { display: grid; gap: 14px; max-width: 34ch; }
.footer-brand img { height: 34px; width: auto; }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 24px clamp(32px, 5vw, 72px); }
.footer-h { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-cols a { color: var(--on-dark); text-decoration: none; opacity: .85; }
.footer-cols a:hover { opacity: 1; text-decoration: underline; }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--on-dark-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.tm { font-size: .62em; vertical-align: .55em; line-height: 0; margin-left: 1px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-app { display: none; }
  .nav-toggle { display: grid; }
  .nav-cta .btn { display: none; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 460px; }
  .hero-phones { height: 470px; max-width: 380px; }
  .apps-grid, .faq-grid, .thesis-grid { grid-template-columns: 1fr; }
  .gather { justify-self: center; }
  .faq-grid .section-head { position: static; }
  .pillars { grid-template-columns: 1fr; }
  .sees { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .views { grid-template-columns: 1fr; gap: 40px; }
  .views::before { top: 5px; bottom: 5px; left: 4px; right: auto; width: 1px; height: auto; }
  .view { padding: 0 0 0 36px; grid-row: auto; grid-template-rows: none; }
  .view::before { top: 5px; left: 0; }
  .views::after { top: -96px; left: 3px; width: 3px; height: 96px; background: linear-gradient(180deg, transparent, var(--gold)); }
  .views.is-in::after { animation-name: spark-y; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-phones { height: 520px; max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 760px) {
  .figures-grid { grid-template-columns: 1fr; }
  .figure { padding: 28px 0; border-left: 0; border-top: 1px solid var(--on-dark-line); }
  .figure:first-child { padding-top: 0; border-top: 0; }
  .figure:last-child { padding-bottom: 0; }
  .figure-num { font-size: clamp(2.9rem, 13vw, 3.6rem); }
}
@media (max-width: 820px) {
  .route { grid-template-columns: 1fr; gap: 0; }
  .stop { padding: 0 0 30px 64px; }
  .stop-num { position: absolute; left: 0; top: 0; margin: 0; }
  .stop:not(:last-child)::after { top: 50px; bottom: 6px; left: 20px; right: auto; width: 2px; height: auto; }
  .stop h3, .stop h4 { margin-top: 9px; }
  .program.is-walking .stop:not(:last-child)::after { animation-name: path-y; }
}
@media (max-width: 600px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .caps { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-phones { height: 400px; }
  .app-phones { height: 430px; }
  .pricing-note { padding: 24px; }
}

/* ==========================================================================
   Qualifier ( /start/ )
   ========================================================================== */
.page-start { background: var(--paper); min-height: 100vh; }
.q-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.q-header .nav { min-height: 64px; }
.q-header .brand img { height: 30px; }
.q-exit { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .93rem; }
.q-exit:hover { color: var(--navy); }
.progress { height: 3px; background: var(--line); }
.progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .35s ease; }
.q-main { max-width: 680px; margin-inline: auto; padding: clamp(36px, 7vw, 80px) var(--gutter) 96px; }
.q-main .eyebrow { margin-bottom: 14px; }
.q-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.q-fieldset legend { padding: 0; margin: 0; width: 100%; }
.q-title { font-size: clamp(1.9rem, 4.2vw, 2.7rem); line-height: 1.08; color: var(--navy); outline: none; }
.q-help { color: var(--muted); margin-top: 14px; max-width: 58ch; }
.q-options { display: grid; gap: 10px; margin-top: 30px; }
.q-option { position: relative; }
.q-option input { position: absolute; opacity: 0; pointer-events: none; }
.q-option label {
  display: flex; align-items: center; gap: 14px; padding: 17px 20px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--white);
  cursor: pointer; font-weight: 550; color: var(--ink); line-height: 1.35;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.q-option label:hover { border-color: #9FB9C9; }
.q-option .mark {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid #9DB2BF; flex: 0 0 auto;
  display: grid; place-items: center; transition: background-color .15s, border-color .15s;
}
.q-option input[type="checkbox"] + label .mark { border-radius: 6px; }
.q-option input:checked + label { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.q-option input:checked + label .mark { border-color: var(--navy); background: var(--navy); }
.q-option input[type="radio"]:checked + label .mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.q-option input[type="checkbox"]:checked + label .mark::after {
  content: ""; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-top: -2px;
}
.q-option input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.q-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 34px; }
.q-back { background: none; border: 0; color: var(--muted); font: 600 .95rem var(--sans); cursor: pointer; padding: 10px 0; }
.q-back:hover { color: var(--navy); }
.q-signin { margin-bottom: 28px; padding: 12px 16px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); font-size: .93rem; color: var(--muted); }
.q-form { margin-top: 26px; display: grid; gap: 18px; }
.q-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.q-field { display: grid; gap: 7px; }
.q-field label { font-weight: 600; font-size: .92rem; color: var(--navy); }
.q-field .opt { font-weight: 400; color: var(--muted); }
.q-field input, .q-field textarea {
  font: inherit; font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--white); color: var(--ink); width: 100%;
}
.q-field textarea { min-height: 96px; resize: vertical; }
.q-field input:focus, .q-field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(4, 45, 68, .12); }
.q-field input[aria-invalid="true"] { border-color: var(--error); }
.q-error { color: var(--error); font-size: .86rem; }
.q-note { background: #FFF7E0; border: 1px solid #E9CC76; color: #5A4300; padding: 12px 14px; border-radius: 10px; font-size: .92rem; }
.q-fine { font-size: .86rem; color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.q-next { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.q-next p { color: var(--muted); font-size: .93rem; }
.q-next a { font-weight: 600; }
@media (max-width: 560px) { .q-row { grid-template-columns: 1fr; } }
