:root {
  --cream: #faf7f2;
  --cream-2: #f4efe6;
  --surface: #ffffff;
  --ink: #1a1713;
  --ink-2: #5a5244;
  --ink-3: #7b7161;
  --line: #e4ded1;
  --blue: #2f6bff;
  --blue-dark: #1f56e8;
  --blue-soft: #eef4ff;
  --rose: #ee5252;
  --green: #16a36a;
  --recording-fill: #231e18;
  --tap-target: 44px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow-button: 0 2px 0 rgba(31, 86, 232, 0.25);
  color-scheme: light;
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wordmark {
  color: var(--ink);
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.wordmark.small { font-size: 18px; }

.privacy-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}

.privacy-link svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero { padding: 42px 0 72px; text-align: center; }
.hero-copy { max-width: 720px; margin: 0 auto 34px; }
body.camera-open .hero { padding-top: 0; }
body.camera-open .hero-copy { display: none; }
.eyebrow { margin: 0 0 8px; color: var(--blue-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 14px; font-size: clamp(38px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.055em; }
h2 { margin-bottom: 12px; font-size: clamp(28px, 4vw, 42px); line-height: 1.08; letter-spacing: -0.04em; }
h3 { margin-bottom: 8px; line-height: 1.2; }
.lede { margin: 0; color: var(--ink-2); font-size: clamp(16px, 2vw, 19px); }

.practice-shell {
  width: min(760px, 100%);
  min-height: 610px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.app-stage { display: none; min-height: 608px; padding: 46px; }
.app-stage.is-active { display: flex; flex-direction: column; }
.stage-heading { max-width: 560px; margin: 0 auto 30px; }
.stage-heading.compact { margin-bottom: 28px; }
.stage-heading h2 { font-size: clamp(30px, 5vw, 48px); }
.stage-heading p { color: var(--ink-2); }
.step-label { display: block; margin-bottom: 10px; color: var(--ink-3); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.category-control { display: flex; align-items: center; justify-content: center; gap: var(--space-xs); margin: 0 auto var(--space-md); max-width: 100%; color: var(--ink-2); font-size: 13px; }
.category-control select { min-height: var(--tap-target); min-width: 0; max-width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-xs) var(--space-sm); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; cursor: pointer; }
.category-control select:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.category-control select:disabled { opacity: .55; cursor: progress; }

.wheel-stage { align-items: center; }
.wheel-wrap { width: min(350px, 78vw); aspect-ratio: 1; position: relative; margin: 0 auto; }
.wheel-pointer { position: absolute; z-index: 2; top: -4px; left: 50%; width: 0; height: 0; border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 22px solid var(--ink); transform: translateX(-50%); }
.topic-wheel {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  display: block;
  border: 10px solid var(--surface);
  border-radius: 50%;
  background: conic-gradient(
    #ffc048 0 12.5%, #ff8c6b 12.5% 25%, #b4a6f7 25% 37.5%, #6fb3ff 37.5% 50%,
    #7bd8b0 50% 62.5%, #ff9ab8 62.5% 75%, #fff2d6 75% 87.5%, #9ec8ff 87.5% 100%
  );
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
  transition: transform 1.65s cubic-bezier(.12,.78,.2,1);
  color: var(--ink);
}
.topic-wheel::after { content: ""; position: absolute; inset: 12.5%; border: 1px solid rgba(26,23,19,.1); border-radius: 50%; }
.topic-wheel:focus-visible { outline: 4px solid rgba(47,107,255,.28); outline-offset: 5px; }
.wheel-centre { position: absolute; z-index: 3; inset: 50% auto auto 50%; width: 92px; height: 92px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transform: translate(-50%, -50%); background: var(--surface); color: var(--blue-dark); font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }
.wheel-label { position: absolute; z-index: 1; left: 50%; top: 50%; font-size: 11px; font-weight: 800; transform-origin: center; }
.wheel-label-1 { transform: translate(-50%,-50%) rotate(22.5deg) translateY(-130px) rotate(-22.5deg); }
.wheel-label-2 { transform: translate(-50%,-50%) rotate(67.5deg) translateY(-130px) rotate(-67.5deg); }
.wheel-label-3 { transform: translate(-50%,-50%) rotate(112.5deg) translateY(-130px) rotate(-112.5deg); }
.wheel-label-4 { transform: translate(-50%,-50%) rotate(157.5deg) translateY(-130px) rotate(-157.5deg); }
.wheel-label-5 { transform: translate(-50%,-50%) rotate(202.5deg) translateY(-130px) rotate(-202.5deg); }
.wheel-label-6 { transform: translate(-50%,-50%) rotate(247.5deg) translateY(-130px) rotate(-247.5deg); }
.wheel-label-7 { transform: translate(-50%,-50%) rotate(292.5deg) translateY(-130px) rotate(-292.5deg); }
.wheel-label-8 { transform: translate(-50%,-50%) rotate(337.5deg) translateY(-130px) rotate(-337.5deg); }
.microcopy { margin: 20px 0 0; color: var(--ink-3); font-size: 12px; }

.topic-stage { justify-content: center; }
.topic-stage .stage-heading h2 { max-width: 630px; margin-inline: auto; }
.topic-actions, .review-actions { width: min(420px, 100%); margin: auto auto 0; display: grid; gap: 12px; }
.topic-stage .stage-heading { margin-bottom: 20px; }
.topic-stage .topic-actions { margin: 0 auto; }

.button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  font-weight: 780;
  transition: transform 100ms ease, background 120ms ease;
}
.button:active { transform: scale(.98); }
.button:disabled, .text-button:disabled { opacity: .58; cursor: progress; }
.button:focus-visible, .text-button:focus-visible, .icon-button:focus-visible, .camera-secondary:focus-visible, .record-button:focus-visible { outline: 4px solid rgba(47,107,255,.3); outline-offset: 3px; }
.button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { background: var(--blue); color: white; box-shadow: var(--shadow-button); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { background: white; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.button-quiet { background: var(--blue-soft); color: var(--blue-dark); }
.text-button { border: 0; background: transparent; color: var(--blue-dark); min-height: 42px; padding: 0 8px; cursor: pointer; font-weight: 750; text-decoration: underline; text-decoration-color: rgba(31,86,232,.25); text-underline-offset: 4px; }

.camera-stage { padding: 0; background: var(--surface); align-items: center; justify-content: center; }
.camera-frame { flex: none; width: min(100%, 382px, calc((var(--app-height, 100dvh) - 88px) * .5625)); aspect-ratio: 9 / 16; min-height: 0; overflow: hidden; position: relative; border-radius: var(--radius-md); background: var(--recording-fill); }
.camera-frame .source-video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
#previewCanvas { display: block; width: 100%; height: 100%; }
.camera-topbar { position: absolute; z-index: 7; inset: 10px 12px auto; display: flex; align-items: center; justify-content: space-between; }
.recording-time { min-width: 76px; height: 36px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: rgba(0,0,0,.52); color: white; font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 800; }
.recording-time i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.45); }
.recording-time i.is-recording { background: var(--rose); animation: recPulse 1.2s ease-in-out infinite; }
.icon-button { width: var(--tap-target); height: var(--tap-target); flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(0,0,0,.52); color: white; cursor: pointer; }
.icon-button.light { background: var(--cream-2); color: var(--ink); }
.icon-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.camera-topic { position: absolute; z-index: 4; top: 68px; left: 50%; width: min(620px, calc(100% - 40px)); transform: translateX(-50%); padding: 13px 18px; border-radius: var(--radius-md); background: rgba(255,255,255,.94); color: var(--ink); font-size: clamp(14px, 2.6vw, 18px); font-weight: 760; }
.prompt-panel { position: absolute; z-index: 4; top: 64px; left: 12px; right: 12px; height: 45%; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-sm); background: rgba(0,0,0,.64); overflow: hidden; color: white; }
.teleprompter-display { flex: 1; min-height: 0; padding: 12px 14px; overflow: auto; overscroll-behavior: contain; touch-action: pan-y; color: white; font-size: calc(clamp(14px, 3.8vw, 20px) * var(--teleprompter-scale, 1)); font-weight: 600; line-height: 1.48; scrollbar-width: thin; text-align: left; white-space: pre-line; }
.teleprompter-display[data-style="scroll"] #teleprompterText { display: block; padding-bottom: 50%; }
.teleprompter-display[data-style="focus"], .teleprompter-display[data-style="cards"] { text-align: left; }
.prompt-transport { flex: none; min-height: var(--tap-target); border: 0; border-top: 1px solid rgba(255,255,255,.22); background: transparent; color: white; font-size: 12px; font-weight: 650; cursor: pointer; }
.prompt-transport:focus-visible, .teleprompter-display:focus-visible { outline: 2px solid white; outline-offset: -3px; }
.countdown { position: absolute; z-index: 6; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.38); color: white; font-size: 130px; font-weight: 850; }
.camera-controls { position: absolute; z-index: 5; left: 12px; right: 12px; bottom: 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.camera-secondary { justify-self: start; min-height: var(--tap-target); padding: 0 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; background: rgba(0,0,0,.48); color: white; cursor: pointer; font-size: 12px; font-weight: 650; }
.prompt-settings { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.prompt-settings svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.teleprompter-display { overflow-wrap: anywhere; }
.camera-flip { justify-self: end; min-width: 58px; width: auto; padding-inline: 14px; }
.record-button { width: 74px; height: 74px; padding: 0; border: 5px solid white; border-radius: 50%; background: rgba(255,255,255,.25); display: grid; place-items: center; cursor: pointer; }
.record-button span { width: 54px; height: 54px; border-radius: 50%; background: var(--rose); transition: all 160ms ease; }
.record-button.is-recording span { width: 27px; height: 27px; border-radius: 5px; }
.camera-hint { display: none; position: absolute; z-index: 4; bottom: 100px; left: 12px; right: 12px; margin: 0; color: white; font-size: 11px; text-align: center; }
.camera-frame:has(.record-button.is-recording) .camera-hint { display: block; }
.mic-status { position: absolute; z-index: 4; bottom: 100px; left: 10px; right: 10px; display: flex; justify-content: center; align-items: center; gap: 6px; color: white; font-size: 10px; }
.mic-meter { width: 24px; height: 5px; border-radius: 4px; overflow: hidden; background: rgba(255,255,255,.25); }
.mic-meter i { display: block; width: 100%; height: 100%; background: var(--green); transform: scaleX(.03); transform-origin: left; }
.timer-suffix { font-size: 10px; font-weight: 500; opacity: .8; }
.finishing-soon .recording-time { outline: 2px solid var(--rose); }

.review-stage { justify-content: center; }
.review-stage .stage-heading h2 { font-size: clamp(28px,4vw,38px); }
.review-video { display: block; width: auto; height: clamp(120px, calc(var(--app-height, 100dvh) - 395px), 350px); max-width: 100%; aspect-ratio: 9/16; flex: none; margin: 0 auto 8px; border-radius: var(--radius-sm); background: var(--ink); object-fit: contain; }
.review-status { width: min(420px, 100%); margin: 0 auto 8px; color: var(--ink-2); font-size: 12px; text-align: center; }
.review-status:empty { display: none; }
.review-primary-actions { display: flex; gap: var(--space-xs); }
.review-primary-actions .button { flex: 1; padding-inline: 12px; font-size: 13px; min-height: 48px; }
.review-actions { margin: 0 auto; }
.review-links { display: flex; justify-content: center; align-items: center; gap: 8px; color: var(--ink-3); }
.review-links .text-button { font-size: 13px; }

.error-stage { align-items: center; justify-content: center; }
.error-mark { width: 58px; height: 58px; margin-bottom: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff0ef; color: var(--rose); font-size: 28px; font-weight: 850; }
.error-stage .button { width: min(380px,100%); }

.trust-strip { border-block: 1px solid var(--line); background: var(--cream-2); }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.trust-grid div { padding: 22px 26px; display: grid; gap: 2px; text-align: center; }
.trust-grid div + div { border-left: 1px solid var(--line); }
.trust-grid strong { font-size: 14px; }
.trust-grid span { color: var(--ink-2); font-size: 13px; }

.content-section { padding-block: 96px; }
.content-section + .content-section { border-top: 1px solid var(--line); }
.content-section > h2, .content-section > .eyebrow { text-align: center; }
.three-up { margin-top: 40px; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.three-up article { min-height: 210px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); text-align: left; }
.three-up article > span { width: 34px; height: 34px; margin-bottom: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue-dark); font-size: 13px; font-weight: 850; }
.three-up article p, .split-section p, .faq p { color: var(--ink-2); }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.link-list { margin-top: 26px; display: grid; gap: 12px; }
.link-list a { color: var(--blue-dark); font-weight: 700; text-underline-offset: 4px; }
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 0; cursor: pointer; font-weight: 760; }
.faq details p { padding-bottom: 20px; }

.site-footer { min-height: 150px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer nav a { color: var(--ink-2); font-size: 13px; font-weight: 700; }
.site-footer > p { justify-self: end; margin: 0; color: var(--ink-3); font-size: 13px; }

.settings-dialog { width: min(620px, calc(100% - 28px)); max-height: calc(100dvh - 24px); padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(26,23,19,.2); }
.settings-dialog::backdrop { background: rgba(26,23,19,.48); backdrop-filter: blur(3px); }
.settings-dialog form { padding: 26px; display: grid; gap: 24px; }
.dialog-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.dialog-head h2 { margin: 0; font-size: 28px; }
.settings-dialog fieldset { margin: 0; padding: 0; border: 0; }
.settings-dialog legend { margin-bottom: 10px; font-size: 13px; font-weight: 800; }
.choice-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.choice { min-height: 78px; padding: 12px; border: 1.5px solid var(--line); border-radius: var(--radius-md); background: white; color: var(--ink); text-align: left; cursor: pointer; }
.choice strong, .choice span { display: block; }
.choice span { margin-top: 3px; color: var(--ink-3); font-size: 11px; }
.choice.is-selected { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-dark); }
.range-row { display: grid; gap: 10px; font-size: 13px; font-weight: 750; }
.range-row > span { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.range-row output { color: var(--blue-dark); font-variant-numeric: tabular-nums; }
.range-row input { width: 100%; accent-color: var(--blue); }
.speed-row { margin-top: 16px; }

.content-page { padding: 56px 0 100px; }
.content-page article { width: min(760px, 100%); }
.content-page .eyebrow { text-align: left; }
.content-page h1 { font-size: clamp(38px, 6vw, 62px); }
.content-page h2 { margin-top: 52px; font-size: 30px; }
.content-page h3 { margin-top: 32px; }
.content-page p, .content-page li { color: var(--ink-2); font-size: 17px; }
.content-page li + li { margin-top: 8px; }
.prompt-list { display: grid; gap: 10px; margin: 26px 0; padding: 0; list-style: none; }
.prompt-list li { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; color: var(--ink); }
.inline-cta { margin-top: 36px; padding: 28px; border-radius: var(--radius-lg); background: var(--blue-soft); }
.inline-cta h2 { margin-top: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@keyframes recPulse { 50% { opacity: .35; } }

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1120px); }
  .site-header { min-height: 64px; }
  .privacy-link { font-size: 0; }
  .privacy-link svg { width: 19px; height: 19px; }
  .hero { padding: 28px 0 50px; }
  .hero-copy { margin-bottom: 26px; }
  h1 { font-size: clamp(38px, 12vw, 54px); }
  .practice-shell { width: calc(100% + 28px); margin-left: -14px; min-height: 590px; border-radius: 22px; }
  .app-stage { min-height: 588px; padding: 34px 22px; }
  .wheel-wrap { width: min(320px, 78vw); }
  .wheel-label { display: none; }
  .camera-frame { min-height: 588px; }
  body.camera-open .hero { padding-bottom: 36px; }
  body.camera-open .practice-shell { border-radius: 0 0 22px 22px; }
  .camera-topic { top: 64px; font-size: 14px; }
  .camera-controls { bottom: max(22px, env(safe-area-inset-bottom)); }
  .camera-secondary { min-width: 96px; font-size: 12px; }
  .camera-hint { bottom: calc(max(22px, env(safe-area-inset-bottom)) + 105px); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid div { padding: 15px 6px; }
  .trust-grid div + div { border-left: 1px solid var(--line); border-top: 0; }
  .trust-grid strong { font-size: 12px; }
  .trust-grid span { font-size: 10px; line-height: 1.3; }
  .three-up, .split-section { grid-template-columns: 1fr; gap: 14px; }
  .three-up article { min-height: auto; padding: 20px; }
  .three-up article > span { margin-bottom: 24px; }
  .content-section { padding-block: 52px; }
  .split-section { gap: 22px; }
  .site-footer { padding: 34px 0; grid-template-columns: 1fr; text-align: center; }
  .site-footer nav { justify-content: center; flex-wrap: wrap; }
  .site-footer > p { justify-self: center; }
  .settings-dialog form { padding: 20px; gap: 18px; }
  .choice-grid { grid-template-columns: repeat(3, 1fr); }
  .choice { min-height: 78px; padding: 10px; }
  .choice strong { font-size: 13px; }
  .choice span { font-size: 10px; line-height: 1.25; }
}

@media (max-width: 420px) {
  .record-button { width: 66px; height: 66px; }
  .record-button span { width: 48px; height: 48px; }
  .camera-secondary { min-width: 82px; padding-inline: 10px; }
  .camera-flip { min-width: 54px; width: auto; padding-inline: 11px; }
  .camera-controls { left: 14px; right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* The practice flow owns the viewport; discovery content stays on the home state. */
body.practice-active .site-header { min-height: 56px; }
body.practice-active .hero-copy, body.practice-active .trust-strip,
body.practice-active .content-section, body.practice-active .site-footer { display: none; }
body.practice-active .hero { padding: 8px 0 max(12px, env(safe-area-inset-bottom)); }
body.practice-active .practice-shell { width: 100%; margin-inline: auto; min-height: 0; border-radius: var(--radius-lg); }
body.practice-active .app-stage { min-height: 0; padding: 24px; }
body.practice-active .topic-stage, body.practice-active .error-stage { min-height: min(560px, calc(var(--app-height, 100dvh) - 88px)); }
body.practice-active .camera-stage { padding: 0; background: var(--cream); }
body.camera-open .practice-shell { border: 0; background: transparent; }
body.camera-open .camera-frame { min-height: 0; }
body.camera-open .camera-controls { left: 12px; right: 12px; bottom: 20px; }
body.camera-open .camera-secondary { min-width: 0; padding-inline: 8px; }
body.camera-open .camera-flip { min-width: var(--tap-target); }
body.camera-open .record-button { width: 66px; height: 66px; }
body.camera-open .record-button span { width: 48px; height: 48px; }
body.camera-open .record-button.is-recording span { width: 25px; height: 25px; }
body.camera-open .camera-hint { bottom: 100px; }
body.practice-active .review-stage { padding: 16px 20px; }
.review-stage .stage-heading.compact { margin-bottom: 8px; }
.review-stage .step-label { display: none; }
.review-stage .stage-heading h2 { font-size: clamp(21px, 4vw, 28px); margin-bottom: 6px; }
.review-stage .stage-heading p { font-size: 13px; margin: 0; }
.review-actions { gap: 6px; }
.review-links .text-button { min-height: var(--tap-target); }
.sharing-extras { font-size: 12px; color: var(--ink-2); }
.sharing-extras summary, .script-editor summary { cursor: pointer; min-height: var(--tap-target); display: flex; align-items: center; justify-content: center; gap: 8px; }
.sharing-extras summary::after, .script-editor summary::after { content: "+"; }
.sharing-extras[open] summary::after, .script-editor[open] summary::after { content: "−"; }
.sharing-extras p { margin: 0; }
.copy-actions { display: grid; }
.copy-actions .text-button { font-size: 12px; }
.sharing-extras textarea, .script-editor textarea { width: 100%; resize: vertical; padding: var(--space-sm); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); color: var(--ink); font: inherit; font-size: 16px; }
.script-editor { border-top: 1px solid var(--line); font-size: 13px; }
.script-editor summary { justify-content: space-between; font-weight: 700; }
.script-editor label { display: block; margin-block: 8px; }
.script-editor p { font-size: 12px; color: var(--ink-2); margin-block: 8px; }
.settings-dialog .dialog-head h2 { font-size: 24px; }
.settings-dialog form { gap: 18px; }
.settings-dialog .choice { min-height: 64px; }
.settings-dialog .button-primary { position: sticky; bottom: 0; }
.settings-dialog input[type="range"] { min-height: 32px; }
.button:disabled, .camera-secondary:disabled, .icon-button:disabled { opacity: .55; cursor: default; }
.wheel-centre { transform: translate(-50%, -50%) rotate(var(--wheel-rotation, 0deg)); transition: transform 1.65s cubic-bezier(.12,.78,.2,1); }
.topic-wheel:disabled { cursor: progress; }
.category-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.category-links a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--surface); font-size: 13px; color: var(--blue-dark); }
.prompt-list li a { display: block; color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prompt-list li small { display: block; margin-top: 6px; color: var(--ink-2); font-size: 13px; }
.sample-answer { margin-block: 18px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.sample-answer summary { cursor: pointer; font-weight: 700; }
.sample-answer p { margin-top: 14px; }
.site-header .privacy-link:not(:has(svg)) { font-size: 12px; }
@media (max-width: 420px) {
  .hero { padding-top: 12px; }
  .hero-copy h1 { font-size: 38px; }
  .wheel-stage { padding: 24px 18px; min-height: 450px; }
  .practice-shell { min-height: 450px; }
  .wheel-wrap { width: min(270px, 72vw); }
  body.practice-active .app-stage { padding: 18px; }
  body.practice-active .camera-stage { padding: 0; }
  body.practice-active .review-stage { padding: 12px; }
  body.practice-active .stage-heading h2 { font-size: 30px; }
  body.practice-active .review-stage .stage-heading h2 { font-size: 21px; }
  .prompt-settings { flex-direction: column; gap: 0; font-size: 10px; }
}
@media (max-height: 550px) and (orientation: landscape) {
  body.camera-open .camera-frame { width: 250px; }
  .review-video { height: 160px; }
}

/* Keep the only starting action within reach; supporting content remains below. */
.hero { padding-top: var(--space-md); }
.hero-copy { margin-bottom: var(--space-md); }
.hero-copy h1 { font-size: clamp(32px, 5vw, 44px); text-wrap: balance; }
.practice-shell:has(.wheel-stage.is-active) { min-height: 0; }
.wheel-stage { min-height: 0; padding: var(--space-md); }
@media (max-width: 720px) {
  .hero { padding-top: var(--space-sm); }
  .hero-copy h1 { font-size: clamp(28px, 8.4vw, 40px); }
  .hero-copy .lede { font-size: 15px; }
  .wheel-wrap { width: min(260px, 70vw, max(170px, calc(var(--app-height, 100dvh) - 365px))); }
  .wheel-stage .microcopy { margin-top: var(--space-sm); }
}
