:root {
  --bg: #050505;
  --panel: rgba(14, 14, 14, .82);
  --panel-strong: #111111;
  --line: rgba(255, 255, 255, .12);
  --ink: #ffffff;
  --muted: #b9bbb5;
  --orange: #f7d36b;
  --orange-2: #ffd86b;
  --orange-soft: rgba(247, 211, 107, .15);
  --danger: #ff4f3f;
  --green: #3ee08f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 45% -10%, rgba(247, 211, 107, .24), transparent 34%),
    radial-gradient(circle at 108% 14%, rgba(38, 90, 75, .24), transparent 30%),
    linear-gradient(180deg, #071310 0%, #070707 45%, #050505 100%);
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, a, button, span, strong, em, small { overflow-wrap: anywhere; }
img, video, canvas, svg { max-width: 100%; }
.app-shell { width: min(460px, 100vw); max-width: 100%; min-height: 100vh; margin: 0 auto; padding: 18px 14px 28px; position: relative; overflow-x: hidden; }
.screen { animation: rise .28s ease both; }
.hidden { display: none !important; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(14,14,14,.96), rgba(6,6,6,.82));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 16px 44px rgba(0,0,0,.34);
}
.brand-lockup { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand-actions { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }
.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(247,211,107,.46);
  background: radial-gradient(circle at 80% 18%, rgba(247,211,107,.3), transparent 20%), #121212;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.34);
}
.brand-mark::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 14px;
  width: 36px;
  height: 7px;
  border-top: 3px solid #f6f2e9;
  border-bottom: 3px solid #f6f2e9;
  transform: rotate(-24deg);
  opacity: .92;
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  width: 3px;
  height: 36px;
  background: var(--orange);
  transform: rotate(42deg);
  box-shadow: 9px 0 0 rgba(247,211,107,.7);
}
.brand-word {
  color: #f7f2ea;
  font-size: .98rem;
  font-weight: 950;
  white-space: nowrap;
  letter-spacing: -.01em;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.brand-word span { color: var(--orange); font: inherit; }
.brand-word em { color: #d8d0c7; font-style: normal; font-weight: 850; }
.top-route-link, .top-hub-link {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: #111;
  background: linear-gradient(135deg, var(--orange), #fff2a6);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 950;
  box-shadow: 0 12px 32px rgba(247,211,107,.28);
}
.top-hub-link {
  color: #f7f2ea;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  box-shadow: none;
}
.hero-screen { min-height: calc(100vh - 46px); display: grid; align-content: start; gap: 16px; }
.hero-copy { padding-top: 7vh; }
.eyebrow { color: var(--orange-2); text-transform: uppercase; font-size: .72rem; letter-spacing: .16em; font-weight: 950; margin: 0 0 10px; }
h1, h2, h3 { letter-spacing: 0; line-height: .98; margin: 0 0 12px; }
h1 { font-size: 2.55rem; max-width: 100%; }
h2 { font-size: 2.35rem; }
h3 { font-size: 1.28rem; margin-top: 24px; }
p, span { color: var(--muted); line-height: 1.48; }
.lead { font-size: 1.02rem; color: #f1f1ee; }
.glass-panel, .video-card, .guide-card, .fault-btn, .result-metric, .reason, .practice, .flag, .route-cta, .step-action {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 22px 60px rgba(0,0,0,.3);
  backdrop-filter: blur(18px);
}
.hero-panel { display: grid; gap: 12px; padding: 15px; border-radius: 24px; }
.hero-panel strong, .video-card strong { color: var(--ink); display: block; margin-bottom: 3px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.primary, .finish-btn, .ghost-btn, .quiet-link { border: 0; min-height: 56px; border-radius: 999px; font-weight: 950; }
.primary, .route-cta { text-decoration: none; }
.primary { background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #111; box-shadow: 0 18px 46px rgba(247,211,107,.28); }
.primary:active, .finish-btn:active, .ghost-btn:active { transform: scale(.985); }
.full-width { width: 100%; }
.quiet-link { background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 5px; }
.compact-btn { min-height: 40px; padding: 0 16px; }
.install-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding: 12px 12px 12px 14px;
  border-radius: 22px;
  border: 1px solid rgba(247,211,107,.24);
  background: rgba(247,211,107,.09);
}
.install-card strong {
  display: block;
  color: var(--ink);
  font-weight: 950;
}
.install-card span {
  display: block;
  margin-top: 3px;
  color: #f7e7a4;
  font-size: .88rem;
  line-height: 1.28;
}
.install-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.install-guide { margin-bottom: 16px; }
.step-line { display: inline-flex; align-items: center; gap: 10px; margin: 10px 0 22px; color: var(--muted); font-weight: 900; }
.step-line span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: #111; font-weight: 950; }
.video-card { display: flex; align-items: center; gap: 14px; border-radius: 28px; padding: 16px; margin: 18px 0; }
.play-dot { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: #111; font-weight: 950; }
.guide-grid { display: grid; gap: 10px; margin-bottom: 96px; }
.guide-card { position: relative; border-radius: 22px; padding: 15px 52px 14px 15px; }
.guide-info { top: 14px; right: 14px; }
.guide-card strong { color: var(--ink); display: block; font-size: 1.05rem; }
.guide-card span { display: block; margin-top: 4px; color: #d9d0c8; }
.guide-card small { display: block; margin-top: 8px; color: #f4d66a; font-weight: 850; line-height: 1.28; }
.bottom-actions { position: sticky; bottom: 14px; padding: 10px; border-radius: 999px; background: rgba(7,7,7,.72); backdrop-filter: blur(22px); }
.live-header { display: flex; justify-content: space-between; align-items: start; gap: 16px; position: sticky; top: 0; z-index: 2; padding: 8px 0 16px; background: linear-gradient(180deg, rgba(7,7,7,.96), rgba(7,7,7,.72), transparent); backdrop-filter: blur(12px); }
.live-header h2 { margin-bottom: 0; }
.live-tools { display: flex; align-items: center; gap: 8px; }
.finish-btn { background: rgba(255,255,255,.08); color: var(--ink); border: 1px solid var(--line); padding: 0 18px; }
.quiet-help-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.065);
  color: var(--orange-2);
  font-weight: 950;
}
.page-help-btn {
  float: right;
  margin: 0 0 10px 12px;
}
.fault-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; padding-bottom: 102px; }
.fault-tile { position: relative; min-height: 122px; }
.fault-btn { width: 100%; min-height: 122px; text-align: left; border-radius: 26px; color: var(--ink); padding: 16px; overflow: hidden; }
.fault-btn::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, transparent, rgba(247,211,107,.85), transparent); opacity: .85; }
.fault-btn strong { display: block; color: var(--ink); font-size: 1.18rem; letter-spacing: 0; padding-right: 26px; }
.fault-btn small { display: block; margin-top: 9px; color: var(--muted); font-weight: 700; line-height: 1.28; }
.info-btn { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.08); color: var(--orange-2); font-weight: 950; min-height: auto; padding: 0; z-index: 2; }
.live-footer { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(432px, calc(100% - 28px)); display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 999px; z-index: 5; }
.live-footer strong { color: var(--orange-2); font-size: 1.3rem; }
.ghost-btn { background: rgba(255,255,255,.08); color: var(--ink); border: 1px solid var(--line); padding: 0 18px; min-height: 44px; }
.sheet { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: min(460px, 100%); max-height: 82vh; overflow: auto; z-index: 10; padding: 10px 16px 22px; border-radius: 34px 34px 0 0; background: rgba(12,12,12,.94); border: 1px solid var(--line); box-shadow: 0 -26px 80px rgba(0,0,0,.64); backdrop-filter: blur(28px); animation: sheetIn .22s ease both; }
@keyframes sheetIn { from { transform: translateX(-50%) translateY(24px); opacity: .4; } to { transform: translateX(-50%) translateY(0); opacity: 1; } }
.sheet-handle { width: 44px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.2); margin: 0 auto 18px; }
.sheet-help { margin-top: -2px; }
.choice-grid { display: grid; gap: 10px; margin-top: 16px; }
.choice-btn { min-height: 66px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.07); color: var(--ink); text-align: left; padding: 14px 16px; font-weight: 900; }
.choice-btn small { display: block; margin-top: 5px; color: var(--muted); font-weight: 700; }
.feedback-choice { border-color: rgba(247,211,107,.42); background: rgba(247,211,107,.12); }
.two-choice { grid-template-columns: 1fr; }
label { display: grid; gap: 8px; margin: 16px 0; color: var(--ink); font-weight: 900; }
.form-note { margin: -6px 0 16px; padding: 12px 14px; border-radius: 18px; color: #f7e7a4; background: rgba(247,211,107,.12); border: 1px solid rgba(247,211,107,.26); font-size: .95rem; }
input, select, textarea { min-height: 58px; width: 100%; border: 1px solid var(--line); border-radius: 20px; padding: 0 16px; color: var(--ink); background: rgba(255,255,255,.075); outline: none; }
textarea { min-height: 124px; resize: vertical; padding: 14px 16px; line-height: 1.45; }
textarea::placeholder { color: rgba(255,241,223,.42); }
.feedback-label { display: block; margin: 14px 0 8px; color: var(--ink); font-weight: 900; }
.feedback-note { border-color: rgba(247,211,107,.22); }
select option { color: #111; }
.input-unit { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.input-unit span { padding: 0 14px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid var(--line); color: var(--muted); font-weight: 900; }
.verdict { color: var(--ink); font-size: 1.45rem; font-weight: 950; margin: 8px 0 18px; }
.flag, .reason, .practice, .result-metric { border-radius: 24px; padding: 16px; margin: 10px 0; }
.flag { background: rgba(255, 79, 63, .13); color: #ffd1cc; border-color: rgba(255,79,63,.3); }
.flag.soft { background: rgba(255, 255, 255, .07); color: #efe7dd; border-color: rgba(255,255,255,.14); }
.reason strong, .practice strong { color: var(--ink); }
.premium { border-color: rgba(247,211,107,.42); background: linear-gradient(180deg, rgba(247,211,107,.17), rgba(255,255,255,.055)); }
.print-link { color: var(--orange-2); font-weight: 950; display: inline-block; margin-top: 16px; }
@media (max-width: 370px) { .fault-grid { grid-template-columns: 1fr; } h1 { font-size: 2.55rem; } }
@media print { body { background: white; color: black; } .screen { display: block; } button, .sheet, .live-footer { display: none !important; } }

@media (max-width: 480px) {
  .app-shell { padding-left: 12px; padding-right: 12px; }
  .brand-row { gap: 8px; padding: 8px; }
  .brand-mark { width: 38px; height: 28px; }
  .brand-word { font-size: .92rem; }
  .top-route-link { min-height: 32px; padding: 0 12px; font-size: .78rem; }
  h1 { font-size: 2.28rem; line-height: 1.04; }
  h2 { font-size: 2.08rem; }
  .tool-card { grid-template-columns: 44px 1fr; padding: 12px 13px; }
  .tool-badge { width: 40px; height: 34px; font-size: .7rem; }
}

.traffic-light { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; width: fit-content; padding: 10px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.07); margin: 14px 0 4px; }
.traffic-light span { width: 13px; height: 13px; border-radius: 50%; display: block; box-shadow: 0 0 22px currentColor; }
.traffic-light b { color: var(--ink); text-transform: uppercase; font-size: .8rem; letter-spacing: .12em; }
.traffic-light em { color: var(--muted); font-style: normal; font-size: .92rem; }
.traffic-light.green span { color: var(--green); background: var(--green); }
.traffic-light.amber span { color: var(--orange-2); background: var(--orange-2); }
.traffic-light.red span { color: var(--danger); background: var(--danger); }

.home-logo { position: fixed; top: 14px; left: max(14px, calc(50% - 216px)); z-index: 20; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 15px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(247,211,107,.95), rgba(255,180,94,.95)); color: #111; font-weight: 950; font-size: .78rem; box-shadow: 0 16px 42px rgba(0,0,0,.3); }
.print-card { display: grid; gap: 4px; margin: 16px 0 18px; padding: 16px; border-radius: 24px; text-decoration: none; border: 1px solid rgba(247,211,107,.34); background: linear-gradient(180deg, rgba(247,211,107,.16), rgba(255,255,255,.055)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.print-card strong { color: var(--ink); }
.print-card span { color: #f7e7a4; }
.recommended-sheet { position: relative; margin-top: 8px; }
.recommended-sheet::after {
  content: "Recommended";
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(247,211,107,.22);
  color: var(--orange-2);
  font-size: .68rem;
  font-weight: 950;
}

/* Instant-understanding home flow */
.hero-screen { gap: 12px; padding-bottom: 8px; }
.hero-copy { padding-top: 3vh; }
.hero-tagline { max-width: 34ch; margin: 0; font-size: 1rem; color: #efe7dd; }
.how-it-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tool-hub { display: grid; gap: 10px; }
.tool-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 82px;
  min-width: 0;
  padding: 13px 15px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.04));
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.tool-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.1;
  margin-bottom: 5px;
  min-width: 0;
}
.tool-card em {
  display: block;
  color: #f5eee6;
  font-style: normal;
  font-size: .9rem;
  line-height: 1.28;
  font-weight: 650;
  min-width: 0;
}
.tool-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 36px;
  border-radius: 999px;
  background: var(--orange);
  color: #111;
  font-size: .74rem;
  font-weight: 950;
}
.primary-tool {
  border: 2px solid rgba(247,211,107,.95);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 18px 46px rgba(247,211,107,.34);
}
.primary-tool strong, .primary-tool em, .primary-tool .tool-badge { color: #111; }
.primary-tool .tool-badge { background: rgba(17,17,17,.16); }
.booked-test-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-top: 2px;
  padding: 13px 14px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.booked-test-card strong {
  display: block;
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.15;
}
.booked-test-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.28;
}
.compact-action {
  min-height: 42px;
  padding: 0 16px;
  white-space: nowrap;
}
.hero-steps { display: grid; gap: 10px; }
.step-action {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 82px;
  padding: 13px 15px;
  border-radius: 24px;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  border: 1px solid var(--line);
  font: inherit;
}
.step-action strong {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.1;
  margin-bottom: 5px;
}
.step-action em {
  display: block;
  color: #f5eee6;
  font-style: normal;
  font-size: .94rem;
  line-height: 1.28;
  font-weight: 650;
}
.step-action small {
  display: block;
  margin-top: 7px;
  color: #b8b0aa;
  font-size: .78rem;
  line-height: 1.25;
  font-weight: 850;
}
.step-badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: #111;
  font-weight: 950;
}
.route-step {
  border: 2px solid rgba(247,211,107,.95);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 18px 46px rgba(247,211,107,.34);
  cursor: pointer;
}
.route-step strong, .route-step em, .route-step small, .route-step .step-badge { color: #111; }
.route-step small { opacity: .72; }
.route-step .step-badge { background: rgba(17,17,17,.16); }
.mark-step {
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.04));
  box-shadow: none;
  cursor: pointer;
}
.mark-step strong, .mark-step em { color: var(--ink); }
.mark-step .step-badge { background: var(--orange); color: #111; }
.outcome-step { min-height: 70px; opacity: .86; }
.outcome-step em { color: var(--muted); }
.route-share-status {
  margin: -2px 2px 2px;
  padding: 10px 12px;
  border-radius: 18px;
  color: #f7e7a4;
  background: rgba(247,211,107,.12);
  border: 1px solid rgba(247,211,107,.26);
  font-size: .88rem;
  font-weight: 800;
}
.flow-card {
  min-height: 62px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 9px;
  text-align: center;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.045));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.flow-card span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
  color: #111;
  font-weight: 950;
}
.flow-card strong { color: var(--ink); font-size: .84rem; line-height: 1.1; }
.hero-safety { margin: -4px 8px 0; text-align: center; font-size: .9rem; color: #f7e7a4; }
.screen:not(.hero-screen) { padding-top: 54px; }
.preview-list { display: grid; gap: 10px; margin: 18px 0; }
.preview-list div {
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}
.preview-list strong { display: block; margin-bottom: 4px; color: var(--ink); }
.preview-list span { color: var(--muted); font-weight: 650; line-height: 1.35; }
.reminder-form {
  display: grid;
  gap: 13px;
  margin: 18px 0;
}
.reminder-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
}
.reminder-form input[type="email"],
.reminder-form input[type="date"],
.reminder-form input[type="time"],
.reminder-form input[type="text"] {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  color: var(--ink);
  padding: 0 13px;
  font: inherit;
}
.reminder-form input::placeholder { color: rgba(255,255,255,.45); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkbox-line {
  grid-template-columns: 22px 1fr;
  align-items: start;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.checkbox-line input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); }
.checkbox-line span { color: #f5eee6; line-height: 1.32; font-weight: 750; }
.reminder-status {
  margin: 12px 0;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  color: #f5eee6;
  border: 1px solid rgba(255,255,255,.15);
  font-weight: 850;
}
.reminder-status.success { color: #dfffe9; border-color: rgba(62,224,143,.32); background: rgba(62,224,143,.12); }
.reminder-status.warn { color: #f8e7a1; border-color: rgba(255,216,107,.38); background: rgba(255,216,107,.12); }
.reminder-status.error { color: #ffd1cc; border-color: rgba(255,79,63,.34); background: rgba(255,79,63,.12); }
.saved-reminder-card {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(247,211,107,.34);
  background: linear-gradient(180deg, rgba(247,211,107,.16), rgba(255,255,255,.04));
}
.saved-reminder-card strong { color: var(--ink); font-size: 1.05rem; }
.saved-reminder-card span { color: #f5eee6; line-height: 1.35; font-weight: 800; }
.saved-reminder-card b {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(247,211,107,.22);
  color: var(--orange-2);
}
.saved-reminder-card ul { margin: 4px 0; padding-left: 18px; color: #f5eee6; }
.saved-reminder-card li { margin: 6px 0; line-height: 1.3; }
.saved-reminder-card p { margin: 0; color: var(--muted); line-height: 1.35; font-weight: 750; }
.checklist-progress {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  color: var(--ink);
}
.checklist-progress span {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}
.checklist-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  transition: width .2s ease;
}
.quick-centre-field {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  color: var(--ink);
  font-weight: 900;
}
.quick-centre-field small { color: var(--muted); font-weight: 700; line-height: 1.3; }
.quick-centre-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  color: var(--ink);
  font: inherit;
}
.checklist-grid { display: grid; gap: 14px; }
.quick-question {
  display: grid;
  min-height: 360px;
  align-content: start;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
}
.quick-question-kicker {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(247,211,107,.18);
  color: var(--orange-2);
  font-size: .76rem;
  font-weight: 950;
}
.quick-question h3 {
  margin: 0;
  max-width: 23ch;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.08;
}
.quick-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.quick-choice {
  min-height: 66px;
  padding: 12px 10px;
  font-size: .94rem;
  line-height: 1.15;
}
.quick-choice.selected {
  border-color: var(--orange);
  background: var(--orange);
  color: #111;
  box-shadow: 0 10px 24px rgba(247,211,107,.22);
}
.quick-back {
  justify-self: start;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-decoration: underline;
  font: inherit;
  font-weight: 850;
}
.primary:disabled {
  cursor: not-allowed;
  opacity: .48;
  box-shadow: none;
}
.readiness-stage-result { gap: 12px; }
.readiness-stage-result h2 { max-width: 18ch; font-size: 2rem; }
.stage-label {
  color: var(--orange-2);
  font-size: .82rem;
  font-weight: 950;
  text-transform: uppercase;
}
.readiness-stage-dots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; width: 100%; }
.readiness-stage-dots span { height: 8px; border-radius: 999px; background: rgba(255,255,255,.14); }
.readiness-stage-dots span.active { background: var(--orange); }
.readiness-followups { display: grid; gap: 12px; margin: 20px 0; }
.readiness-followups > h3 { margin: 0; }
.readiness-followups > h3 small { color: var(--muted); font-size: .75rem; }
.followup-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.055);
}
.followup-card strong { color: var(--ink); line-height: 1.25; }
.followup-card > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.followup-card button {
  min-height: 50px;
  padding: 8px 6px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.07);
  color: var(--ink);
  font: inherit;
  font-size: .78rem;
  font-weight: 850;
}
.followup-card button.selected { background: var(--orange); border-color: var(--orange); color: #111; }
.followup-advice {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(247,211,107,.13);
  color: #ffe2c3;
  font-weight: 800;
  line-height: 1.35;
}
.checklist-section {
  display: grid;
  gap: 10px;
  padding: 15px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}
.checklist-section h3 { margin: 0; color: var(--ink); font-size: 1.05rem; }
.checklist-question {
  display: grid;
  gap: 10px;
  padding: 13px;
  border-radius: 18px;
  background: rgba(0,0,0,.18);
}
.checklist-question strong { color: #f8efe7; line-height: 1.25; }
.checklist-answers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.check-choice {
  min-height: 64px;
  padding: 9px 7px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: var(--ink);
  font: inherit;
  font-size: .82rem;
  font-weight: 950;
}
.check-choice small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .66rem;
  line-height: 1.15;
  font-weight: 750;
}
.check-choice.selected {
  border-color: rgba(247,211,107,.9);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #111;
}
.check-choice.selected small { color: rgba(17,17,17,.68); }
.checklist-summary {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 15px;
  border-radius: 22px;
  border: 1px solid rgba(247,211,107,.42);
  background: linear-gradient(180deg, rgba(247,211,107,.16), rgba(255,255,255,.04));
}
.checklist-summary strong { color: var(--ink); }
.checklist-summary span, .checklist-summary p { margin: 0; color: #f5eee6; line-height: 1.35; }
.checklist-summary ul { margin: 4px 0 0; padding-left: 18px; color: #f5eee6; }
.checklist-summary li { margin: 7px 0; line-height: 1.3; }
.checklist-summary b { color: var(--orange-2); }
.mini-flow, .plain-guide { display: grid; gap: 8px; margin: 18px 0 8px; }
.mini-flow div, .plain-guide div {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.065);
  border: 1px solid var(--line);
}
.mini-flow b, .plain-guide b {
  display: grid;
  place-items: center;
  min-width: 56px;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(247,211,107,.22);
  color: var(--orange-2);
  font-size: .78rem;
}
.mini-flow span, .plain-guide span { color: var(--ink); font-weight: 800; }
.plain-guide span {
  font-size: .94rem;
  line-height: 1.34;
}
.plain-guide span strong {
  color: #fff2df;
  font-weight: 950;
}
.plain-guide div { grid-template-columns: 68px 1fr; }
@media (max-width: 370px) {
  .how-it-works { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .flow-card { min-height: 58px; padding: 9px 6px; }
  .flow-card span { width: 26px; height: 26px; font-size: .78rem; }
  .flow-card strong { font-size: .76rem; }
  .step-action { min-height: 76px; padding: 12px 13px; grid-template-columns: 38px 1fr; }
  .step-action strong { font-size: 1rem; }
  .step-action em { font-size: .88rem; }
  .step-action small { font-size: .72rem; }
  .step-badge { width: 34px; height: 34px; }
}

/* Duolingo-style result moment */
.result-celebration {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
  margin: 8px 0 16px;
  padding: 24px 16px 20px;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(circle at 20% 8%, rgba(255,255,255,.24), transparent 13%),
    linear-gradient(180deg, rgba(247,211,107,.22), rgba(255,255,255,.06));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 26px 80px rgba(0,0,0,.38);
}
.result-celebration::before,
.result-celebration::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,216,107,.32), transparent 62%);
  pointer-events: none;
}
.result-celebration::before { top: -58px; left: -42px; }
.result-celebration::after { right: -46px; bottom: -62px; }
.result-celebration.perfect {
  background:
    radial-gradient(circle at 15% 12%, rgba(62,224,143,.28), transparent 18%),
    radial-gradient(circle at 85% 20%, rgba(255,210,89,.24), transparent 17%),
    linear-gradient(180deg, rgba(62,224,143,.2), rgba(247,211,107,.12));
  border-color: rgba(62,224,143,.42);
}
.result-celebration.great { border-color: rgba(62,224,143,.34); }
.result-celebration.good { border-color: rgba(255,216,107,.38); }
.result-celebration.watch { border-color: rgba(255,216,107,.5); }
.result-celebration.danger { border-color: rgba(255,79,63,.42); background: linear-gradient(180deg, rgba(255,79,63,.18), rgba(255,255,255,.055)); }
.result-emoji { font-size: 3.35rem; filter: drop-shadow(0 16px 24px rgba(0,0,0,.34)); }
.result-celebration .traffic-light { margin: 2px auto 0; }
.result-celebration h2 { max-width: 10ch; margin: 0; }
.result-message { max-width: 31ch; margin: 2px auto 0; color: #fff1df; font-weight: 750; }
.coach-next { border-color: rgba(247,211,107,.34); background: rgba(247,211,107,.12); }
.route-cta {
  display: grid;
  gap: 8px;
  width: 100%;
  text-align: left;
  font: inherit;
  padding: 16px;
  border-radius: 24px;
  color: var(--ink);
  border-color: rgba(247,211,107,.34);
  background:
    linear-gradient(180deg, rgba(247,211,107,.18), rgba(255,255,255,.055));
}
.route-cta strong { color: var(--ink); }
.route-cta span { color: #f7e7a4; }
.route-cta.compact { padding: 12px 14px; }
.result-route-cta { margin: 16px 0; }
.result-route-cta .primary,
.result-route-cta .ghost-btn {
  display: grid;
  place-items: center;
  margin-top: 4px;
}
.verdict-reason { border-color: rgba(247,211,107,.28); }
.actions .ghost-btn { justify-content: center; }
@media (max-width: 390px) {
  .app-shell { padding-left: 12px; padding-right: 12px; }
  .hero-tagline { max-width: 100%; }
  h1 { font-size: 2.2rem; line-height: 1.04; }
  h2 { font-size: 2.25rem; }
  .result-celebration h2 { max-width: 12ch; font-size: 2.25rem; }
  .readiness-stage-result h2 { max-width: 18ch; font-size: 1.85rem; }
  .traffic-light { grid-template-columns: auto auto; }
  .traffic-light em { grid-column: 1 / -1; text-align: center; }
}

@media (max-width: 430px) {
  .booked-test-card {
    grid-template-columns: 1fr;
  }

  .compact-action {
    width: 100%;
    white-space: normal;
  }
}
