:root {
  --ink: #202633;
  --ink-strong: #111827;
  --ink-soft: #344054;
  --muted: #667085;
  --paper: #fff8f1;
  --surface: #fffdf9;
  --surface-quiet: #f7f3ef;
  --line: #ddd7d0;
  --line-strong: #bdb5ad;
  --accent: #d95f51;
  --accent-hover: #bd4c40;
  --accent-soft: #fff0ed;
  --violet: #626cce;
  --violet-soft: #eff0ff;
  --mint: #9fd6c5;
  --mint-soft: #edf9f4;
  --warning-soft: #fff5dc;
  --shadow-soft: 0 12px 30px rgba(32, 38, 51, .06);
  --shadow-panel: 0 22px 54px rgba(32, 38, 51, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
button, input, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #8facff;
  outline-offset: 3px;
}
.skip-link { position: fixed; z-index: 50; left: 16px; top: -70px; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 8px; text-decoration: none; font-weight: 750; transition: top .18s ease; }
.skip-link:focus { top: 16px; }
.shell { width: min(100% - 48px, 1120px); margin: 0 auto; padding: 24px 0 72px; }
.topbar { display: grid; grid-template-columns: minmax(136px, 1fr) auto minmax(136px, 1fr); gap: 16px; align-items: center; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.brand { display: block; width: 138px; color: var(--ink); }
.brand img { display: block; width: 100%; height: auto; }
.top-nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
.top-nav-link { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 3px solid transparent; padding: 0 12px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 760; }
.top-nav-link:hover { color: var(--ink); }
.top-nav-link.is-current { color: var(--ink); border-bottom-color: var(--accent); }
.profile-button { justify-self: end; min-height: 44px; max-width: 268px; display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink-soft); padding: 8px 12px; cursor: pointer; font-size: 13px; font-weight: 760; text-align: left; }
.profile-button:hover { border-color: var(--line-strong); background: #fff; }
.profile-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); }

.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); gap: 56px; align-items: center; padding: 72px 4px 56px; }
.eyebrow, .section-label, .practice-kicker { margin: 0 0 12px; color: var(--muted); font-size: 11px; font-weight: 840; letter-spacing: .105em; text-transform: uppercase; }
.hero h1, .session-card h2, .practice h2, .feedback h2, .overview h2, .progress-snapshot h2, .momentum-card h2 { margin: 0; color: var(--ink-strong); font-size: clamp(34px, 5vw, 58px); letter-spacing: -.055em; line-height: 1.03; }
.hero h1 em { color: var(--violet); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-copy { max-width: 596px; margin: 22px 0 26px; color: var(--ink-soft); font-size: 18px; }
.goal-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .quiet, .voice, .back, .footer-link, .text-action, .hero-invite { min-height: 44px; border: 2px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink-soft); padding: 9px 13px; cursor: pointer; font-size: 14px; font-weight: 760; }
.chip { border-radius: 999px; }
.chip:hover, .quiet:hover, .voice:hover { border-color: var(--violet); color: var(--ink); }
.chip.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.primary, .primary-link { min-height: 48px; border: 2px solid var(--accent); border-radius: 8px; background: var(--accent); color: #fff; padding: 11px 16px; cursor: pointer; font-weight: 830; text-decoration: none; }
.primary:hover, .primary-link:hover { border-color: var(--accent-hover); background: var(--accent-hover); }
.primary:disabled { border-color: #c6b9b3; background: #c6b9b3; cursor: wait; }
.primary span, .primary-link span { margin-left: 8px; }
.hero-invite { border-color: transparent; background: transparent; color: var(--ink-soft); text-decoration: underline; text-decoration-color: #b9b0a8; text-underline-offset: 4px; }
.hero-invite:hover { color: var(--accent-hover); }
.hero-panel { position: relative; overflow: hidden; border: 1px solid #d8dce8; border-radius: 12px; background: #f6f7ff; padding: 26px; box-shadow: var(--shadow-soft); }
.hero-panel::after { content: ""; position: absolute; right: -52px; bottom: -70px; width: 190px; height: 190px; border: 28px solid rgba(159, 214, 197, .54); border-radius: 50%; }
.hero-panel-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel-kicker { color: var(--violet); font-size: 12px; font-weight: 830; letter-spacing: .06em; text-transform: uppercase; }
.time-chip { border: 1px solid #c9cdea; border-radius: 999px; background: #fff; padding: 4px 8px; color: var(--ink-soft); font-size: 12px; font-weight: 800; }
.hero-scene-mark { display: flex; align-items: end; gap: 7px; height: 52px; margin: 28px 0 16px; }
.hero-scene-mark span { display: block; width: 15px; border-radius: 5px 5px 0 0; background: var(--violet); }
.hero-scene-mark span:nth-child(1) { height: 24px; background: var(--mint); }
.hero-scene-mark span:nth-child(2) { height: 43px; }
.hero-scene-mark span:nth-child(3) { height: 33px; background: var(--accent); }
.hero-panel h2 { position: relative; z-index: 1; margin: 0; max-width: 330px; font-size: 26px; letter-spacing: -.04em; line-height: 1.12; }
.hero-panel > p { position: relative; z-index: 1; margin: 13px 0 18px; max-width: 330px; color: var(--ink-soft); font-size: 14px; }
.hero-checklist { position: relative; z-index: 1; display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 13px; font-weight: 650; }
.hero-checklist li { display: flex; align-items: start; gap: 8px; }
.hero-checklist span { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--mint); color: #174b42; font-size: 12px; font-weight: 900; }

.beta-promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.beta-promise > div { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-content: start; padding: 20px; }
.beta-promise > div + div { border-left: 1px solid var(--line); }
.promise-index { grid-row: span 2; color: var(--accent); font-size: 12px; font-weight: 850; }
.beta-promise strong { color: var(--ink); font-size: 14px; }
.beta-promise strong + span { margin-top: 3px; color: var(--muted); font-size: 13px; }

.session-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(290px, .78fr); gap: 16px; margin-top: 40px; align-items: stretch; }
.session-card { border: 1px solid var(--ink); border-radius: 12px; background: var(--ink); color: #fff; padding: 32px; box-shadow: var(--shadow-panel); background-image: radial-gradient(circle at 100% 0%, rgba(98, 108, 206, .58), transparent 36%); }
.session-meta { display: flex; justify-content: space-between; gap: 12px; color: #e2e6ed; font-size: 13px; font-weight: 700; }
.status-dot { color: #cbf4e6; white-space: nowrap; }
.status-dot::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--mint); }
.session-card .section-label { color: #cfd5e2; margin: 30px 0 8px; }
.session-card h2 { color: #fff; font-size: clamp(30px, 4vw, 45px); max-width: 570px; }
.session-card > p:not(.section-label) { max-width: 560px; margin: 14px 0 0; color: #d6dce6; font-size: 16px; }
.progress-block { margin: 30px 0 24px; }
.progress-label { display: flex; justify-content: space-between; color: #cfd5e2; font-size: 12px; font-weight: 720; }
.progress { width: 100%; height: 8px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: #4e596c; }
.progress span { display: block; width: 15%; height: 100%; border-radius: inherit; background: var(--mint); transition: width .35s ease; }
.session-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.session-card .quiet { border-color: rgba(255,255,255,.42); background: transparent; color: #fff; }
.session-card .quiet:hover { border-color: #fff; }
.session-sidecard { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 28px 24px; }
.session-sidecard h2 { margin: 0; color: var(--ink); font-size: 23px; letter-spacing: -.035em; line-height: 1.13; }
.session-sidecard ol { display: grid; gap: 18px; margin: 25px 0 0; padding: 0; list-style: none; }
.session-sidecard li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.session-sidecard li > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--violet-soft); color: var(--violet); font-size: 12px; font-weight: 850; }
.session-sidecard strong { display: block; color: var(--ink); font-size: 14px; }
.session-sidecard p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 16px; margin-top: 16px; }
.momentum-card, .progress-snapshot { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.momentum-card { display: flex; justify-content: space-between; gap: 28px; padding: 28px; }
.momentum-card h2, .progress-snapshot h2 { font-size: 26px; letter-spacing: -.043em; line-height: 1.12; }
.momentum-card p:not(.eyebrow) { max-width: 430px; margin: 12px 0 17px; color: var(--muted); font-size: 14px; }
.text-action, .footer-link, .back { border-color: transparent; background: transparent; color: var(--violet); padding: 0; text-align: left; text-decoration: underline; text-decoration-color: #c3c7eb; text-underline-offset: 4px; }
.text-action:hover, .footer-link:hover, .back:hover { color: var(--accent-hover); }
.momentum-score { min-width: 112px; align-self: center; padding: 16px; border-radius: 8px; background: var(--mint-soft); color: #24594d; }
.momentum-score strong, .momentum-score span { display: block; }
.momentum-score strong { font-size: 24px; letter-spacing: -.04em; }
.momentum-score span { margin-top: 2px; font-size: 12px; line-height: 1.3; font-weight: 680; }
.mini-dots { display: flex; gap: 5px; margin-top: 12px; }
.mini-dots i { display: block; width: 20px; height: 5px; border-radius: 999px; background: #bcddd4; }
.mini-dots i.done { background: #328b75; }
.progress-snapshot { padding: 28px; }
.snapshot-grid { display: grid; gap: 14px; margin-top: 22px; }
.snapshot-grid > div { padding-top: 13px; border-top: 1px solid var(--line); }
.snapshot-label { display: block; color: var(--muted); font-size: 11px; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.snapshot-grid strong { display: block; margin-top: 4px; color: var(--ink); font-size: 15px; line-height: 1.25; }
.snapshot-grid p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.practice, .feedback { margin-top: 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 32px; box-shadow: var(--shadow-soft); }
.is-hidden { display: none; }
.practice-header { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 34px; }
.practice-header > div { display: grid; justify-items: end; gap: 3px; }
.practice-kicker { margin: 0; font-size: 10px; }
#step-label { color: var(--muted); font-size: 13px; font-weight: 750; }
.practice-layout { display: grid; grid-template-columns: minmax(0, 1fr) 242px; gap: 36px; }
.practice h2, .feedback h2 { font-size: clamp(28px, 3.8vw, 42px); }
.prompt-copy { max-width: 650px; margin: 14px 0 0; color: var(--ink-soft); font-size: 17px; }
.context-card { display: grid; gap: 7px; margin: 25px 0; padding: 16px 18px; border: 1px solid #d4d7f3; border-left: 4px solid var(--violet); border-radius: 8px; background: var(--violet-soft); color: var(--ink-soft); font-size: 14px; }
.hint-button { justify-self: start; margin-top: 4px; border: 0; background: transparent; color: var(--violet); padding: 0; cursor: pointer; font-weight: 780; text-decoration: underline; text-underline-offset: 3px; }
.hint-button:disabled { color: var(--muted); cursor: default; text-decoration: none; }
.hint-copy { margin: 2px 0 0; padding: 10px 12px; border-radius: 6px; background: #fff; color: var(--ink-soft); line-height: 1.45; }
.response-area label { display: block; color: var(--ink); font-size: 14px; font-weight: 830; }
.field-help { display: block; margin: 3px 0 8px; color: var(--muted); font-size: 12px; }
.response-area textarea { width: 100%; resize: vertical; min-height: 116px; border: 2px solid var(--line); border-radius: 8px; background: #fff; padding: 13px; color: var(--ink); }
.response-area textarea::placeholder { color: #98a2b3; }
.response-area textarea:focus { border-color: var(--violet); outline: 3px solid #dce0ff; }
.response-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px 0 24px; }
.voice { display: inline-flex; align-items: center; gap: 7px; border-color: #c8cdf4; color: var(--violet); }
.voice[aria-pressed="true"] { background: var(--violet-soft); }
.voice-note { color: var(--muted); font-size: 12px; }
.live-voice-panel { margin: 18px 0 0; border: 1px solid #cfd4f4; border-radius: 8px; background: #f8f8ff; padding: 18px; }
.voice-panel-heading { display: flex; justify-content: space-between; gap: 14px; align-items: start; }
.voice-panel-heading .section-label { color: var(--violet); }
.voice-panel-heading h3 { margin: 0; color: var(--ink); font-size: 17px; letter-spacing: -.025em; }
.voice-session-status { flex: 0 0 auto; max-width: 210px; border: 1px solid #ccd1f0; border-radius: 999px; background: #fff; padding: 5px 8px; color: var(--violet); font-size: 11px; font-weight: 760; text-align: right; }
.live-transcript { min-height: 94px; max-height: 220px; display: grid; gap: 8px; overflow-y: auto; margin-top: 16px; padding: 12px; border: 1px solid #dedff0; border-radius: 8px; background: #fff; }
.voice-empty { margin: 0; align-self: center; color: var(--muted); font-size: 13px; }
.voice-line { display: grid; gap: 2px; margin: 0; color: var(--ink-soft); font-size: 13px; }
.voice-line strong { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.voice-line-learner strong { color: var(--violet); }
.voice-line-coach { margin-left: 16px; padding-left: 10px; border-left: 2px solid var(--mint); }
.voice-line-coach strong { color: #287563; }
.voice-panel-actions { display: flex; gap: 10px; margin-top: 12px; }
.voice-panel-actions .primary:disabled, .voice-panel-actions .quiet:disabled { opacity: .55; cursor: not-allowed; }
.voice-feedback { margin: 12px 0 0; padding: 11px; border-radius: 7px; background: var(--mint-soft); color: #255c51; font-size: 13px; }
.full { width: 100%; }
.practice-guide { align-self: start; border-left: 1px solid var(--line); padding-left: 22px; }
.practice-guide h3 { margin: 0; color: var(--ink); font-size: 18px; letter-spacing: -.025em; }
.practice-guide p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.practice-guide > span { color: var(--ink-soft); font-size: 13px; font-weight: 800; }
.guide-divider { height: 1px; margin: 24px 0; background: var(--line); }

.feedback-intro { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.feedback-status { flex: 0 0 auto; border: 1px solid #bce4d9; border-radius: 999px; background: var(--mint-soft); padding: 6px 9px; color: #277260; font-size: 12px; font-weight: 800; }
.feedback-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0 16px; }
.feedback-grid article { border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.feedback-good-card { background: #fbfefc; }
.feedback-better-card { background: #fffdfa; }
.feedback-grid h3 { margin: 9px 0 5px; color: var(--ink); font-size: 15px; }
.feedback-grid p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.feedback-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: #155d4d; font-size: 14px; font-weight: 900; }
.feedback-icon.amber { background: var(--warning-soft); color: #91580c; }
.say-it { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px; border: 1px solid #e6ded5; border-radius: 8px; background: var(--surface-quiet); }
.say-it span { display: block; color: var(--muted); font-size: 12px; font-weight: 760; }
.say-it strong { display: block; margin-top: 4px; color: var(--ink); font-size: 18px; line-height: 1.35; }
.small { min-height: 38px; flex: 0 0 auto; padding: 7px 11px; font-size: 12px; }
.learning-card { margin: 16px 0; border: 1px solid #d7d9ee; border-radius: 8px; background: #f8f8ff; padding: 22px; }
.learning-card-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.learning-card-heading .eyebrow { color: var(--violet); }
.learning-card h3 { margin: 0; color: var(--ink); font-size: 22px; letter-spacing: -.035em; }
.learning-card-summary, .learning-card-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.learning-card-summary { margin-top: 18px; }
.learning-card-summary > div, .learning-card-details > div { border: 1px solid #dbddee; border-radius: 8px; background: #fff; padding: 15px; }
.learning-card-summary span, .learning-card-next span { color: var(--muted); font-size: 11px; font-weight: 820; letter-spacing: .07em; text-transform: uppercase; }
.learning-card-summary p { margin: 5px 0 0; color: var(--ink-soft); font-size: 14px; }
.learning-card-details { margin-top: 12px; }
.learning-card h4 { margin: 0; color: var(--ink); font-size: 14px; }
.learning-card ol, .learning-card ul { display: grid; gap: 7px; margin: 10px 0 0; padding-left: 20px; color: var(--ink-soft); font-size: 13px; }
.learning-card-next { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-top: 12px; padding: 15px; border-radius: 8px; background: var(--mint-soft); }
.learning-card-next p { margin: 4px 0 0; color: #255c51; font-size: 14px; }
.next-recommendation { margin: 0 0 16px; color: var(--muted); font-size: 13px; }

.overview { display: grid; grid-template-columns: minmax(240px, .62fr) minmax(0, 1.38fr); gap: 38px; margin-top: 56px; padding: 4px 4px 0; }
.overview h2 { font-size: 34px; }
.overview > div > p:not(.eyebrow) { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.route-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.route-list li { min-height: 138px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 16px; color: var(--ink); font-size: 14px; font-weight: 800; }
.route-list li:first-letter { color: var(--violet); }
.route-list .route-status { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; font-weight: 600; }
.route-list .done { border-color: #afdfd2; background: var(--mint-soft); }

.experience-map { margin-top: 62px; padding: 34px; border-radius: 12px; background: var(--ink); color: #fff; }
.experience-map .eyebrow { color: #cbd2e0; }
.experience-map h2 { max-width: 750px; margin: 0; color: #fff; font-size: clamp(27px, 3.5vw, 40px); letter-spacing: -.045em; line-height: 1.1; }
.experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.experience-grid article { padding-top: 15px; border-top: 1px solid #536074; }
.experience-grid article > span { color: var(--mint); font-size: 12px; font-weight: 830; }
.experience-grid h3 { margin: 8px 0 5px; color: #fff; font-size: 16px; }
.experience-grid p { margin: 0; color: #d1d8e4; font-size: 13px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 32px; padding: 25px 4px 0; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer strong, .site-footer span { display: block; }
.site-footer strong { color: var(--ink); font-size: 14px; }
.site-footer span { margin-top: 2px; font-size: 13px; }

.return-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 16px 0 0; padding: 16px 18px; border: 1px solid #ccd9ef; border-radius: 8px; background: #f9fbff; color: var(--ink-soft); }
.return-card strong, .return-card span { display: block; }
.return-card span { margin-top: 3px; color: var(--muted); font-size: 13px; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 24px; max-width: min(90vw, 520px); transform: translate(-50%, 120px); opacity: 0; border-radius: 8px; background: var(--ink); color: #fff; padding: 11px 15px; box-shadow: var(--shadow-panel); font-size: 14px; transition: transform .25s ease, opacity .25s ease; }
.toast.visible { transform: translate(-50%, 0); opacity: 1; }

.diagnostic-modal, .privacy-modal { position: fixed; z-index: 40; inset: 0; display: grid; place-items: center; overflow-y: auto; padding: 24px; background: rgba(17, 24, 39, .66); backdrop-filter: blur(5px); }
.diagnostic-card, .privacy-card { width: min(100%, 570px); max-height: calc(100vh - 48px); overflow-y: auto; border: 1px solid #e0d9d2; border-radius: 12px; background: var(--surface); padding: 28px; box-shadow: 0 24px 70px rgba(17, 24, 39, .32); }
.diagnostic-card h2, .privacy-card h2 { margin: 7px 0 22px; color: var(--ink); font-size: clamp(25px, 4vw, 34px); letter-spacing: -.045em; line-height: 1.1; }
.privacy-card > p:not(.eyebrow) { margin: 0 0 20px; color: var(--ink-soft); }
.mini-progress { height: 6px; overflow: hidden; border-radius: 999px; background: #eee8e1; }
.mini-progress span { display: block; height: 100%; border-radius: inherit; background: var(--violet); transition: width .25s ease; }
.diagnostic-count { margin: 14px 0 3px; color: var(--muted); font-size: 13px; font-weight: 750; }
.diagnostic-options { display: grid; gap: 9px; }
.diagnostic-options button { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 2px solid var(--line); border-radius: 8px; background: #fff; padding: 13px 15px; color: var(--ink-soft); cursor: pointer; font-size: 15px; font-weight: 730; text-align: left; }
.diagnostic-options button:hover, .diagnostic-options button.is-selected { border-color: var(--violet); background: var(--violet-soft); color: var(--ink); }
.diagnostic-options button.is-selected span { color: var(--violet); }
.diagnostic-options button > span { color: var(--muted); }
.diagnostic-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; }
.diagnostic-actions .quiet { background: #fff; }
.skip-diagnostic { display: block; margin: 15px auto 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.consent-list { display: grid; gap: 9px; }
.consent-option { min-height: 54px; display: flex; align-items: start; gap: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 12px; cursor: pointer; }
.consent-option input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--violet); }
.consent-option strong, .consent-option span span { display: block; }
.consent-option strong { color: var(--ink); font-size: 14px; }
.consent-option span span { margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.voice-preview { display: grid; gap: 4px; margin-top: 15px; padding: 14px; border: 1px solid #d5e5df; border-radius: 8px; background: var(--mint-soft); color: #245a4d; font-size: 13px; }
.voice-preview strong { font-size: 14px; }
.preview-pulse { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #3c9b83; }
.privacy-status { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.privacy-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 9px; margin-top: 20px; }
.local-delete { min-height: 44px; margin-right: auto; border: 2px solid transparent; border-radius: 8px; background: transparent; color: #a33b32; padding: 9px 4px; cursor: pointer; font-weight: 760; text-decoration: underline; text-underline-offset: 3px; }
.local-delete.armed { border-color: #e7b7b0; background: #fff2f0; padding-inline: 10px; text-decoration: none; }
.invite-fields { display: grid; gap: 12px; }
.invite-fields > label:not(.consent-option) { display: grid; gap: 6px; color: var(--ink-soft); font-size: 13px; font-weight: 760; }
.invite-fields input:not([type="checkbox"]) { min-height: 46px; width: 100%; border: 2px solid var(--line); border-radius: 8px; background: #fff; padding: 10px 11px; color: var(--ink); }
.invite-fields input:not([type="checkbox"]):focus { border-color: var(--violet); outline: 3px solid #dce0ff; }
.invite-fields select { min-height: 46px; width: 100%; border: 2px solid var(--line); border-radius: 8px; background: #fff; padding: 10px 11px; color: var(--ink); }
.invite-fields select:focus { border-color: var(--violet); outline: 3px solid #dce0ff; }
.profile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-height: min(46vh, 390px); overflow-y: auto; padding-right: 3px; }
.profile-choice { min-height: 126px; display: grid; align-content: start; gap: 6px; border: 2px solid var(--line); border-radius: 8px; background: #fff; padding: 14px; color: var(--ink-soft); cursor: pointer; text-align: left; }
.profile-choice:hover, .profile-choice.is-selected { border-color: var(--violet); background: var(--violet-soft); color: var(--ink); }
.profile-choice-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.profile-choice strong { color: var(--ink); font-size: 15px; }
.profile-choice-top > span { color: var(--violet); font-size: 11px; font-weight: 820; text-align: right; }
.profile-choice > span:not(.profile-choice-top) { font-size: 13px; font-weight: 760; }
.profile-choice small { color: var(--muted); font-size: 11px; line-height: 1.35; }

@media (max-width: 780px) {
  .shell { width: min(100% - 32px, 680px); }
  .topbar { grid-template-columns: 1fr auto; }
  .top-nav { grid-row: 2; grid-column: 1 / -1; justify-content: start; margin: 0 -4px; overflow-x: auto; }
  .hero { grid-template-columns: 1fr; gap: 26px; padding-top: 48px; }
  .hero-panel { max-width: 560px; }
  .session-layout, .workspace-grid, .overview { grid-template-columns: 1fr; }
  .session-sidecard { display: none; }
  .overview { gap: 22px; }
  .route-list { max-width: 640px; }
  .practice-layout { grid-template-columns: 1fr; gap: 26px; }
  .practice-guide { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; border-top: 1px solid var(--line); border-left: 0; padding: 20px 0 0; }
  .practice-guide .section-label { grid-column: 1 / -1; }
  .practice-guide h3 { grid-column: 1; }
  .practice-guide p { grid-column: 2; margin: 0; }
  .practice-guide .guide-divider, .practice-guide > span { display: none; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 22px, 680px); padding-top: 16px; padding-bottom: 48px; }
  .topbar { gap: 10px; padding-bottom: 12px; }
  .brand { width: 121px; }
  .profile-button { max-width: 182px; padding-inline: 9px; font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .top-nav-link { padding-inline: 10px; }
  .hero { padding: 38px 2px 36px; }
  .hero h1 { font-size: clamp(36px, 11vw, 47px); }
  .hero-copy { margin-top: 18px; font-size: 16px; }
  .goal-picker { gap: 7px; }
  .chip { min-height: 40px; padding: 7px 10px; font-size: 12px; }
  .hero-actions { align-items: stretch; flex-direction: column; margin-top: 22px; }
  .primary-link { display: flex; justify-content: space-between; align-items: center; }
  .hero-invite { align-self: start; min-height: 34px; }
  .hero-panel { padding: 22px; }
  .beta-promise { grid-template-columns: 1fr; }
  .beta-promise > div { padding: 16px; }
  .beta-promise > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .session-layout { margin-top: 26px; }
  .session-card, .momentum-card, .progress-snapshot, .practice, .feedback, .experience-map { padding: 22px; }
  .session-card h2 { font-size: 32px; }
  .session-meta { align-items: start; flex-direction: column; gap: 5px; }
  .session-actions { align-items: stretch; flex-direction: column; }
  .session-card .quiet { width: 100%; }
  .momentum-card { align-items: stretch; flex-direction: column; gap: 18px; }
  .momentum-score { align-self: stretch; }
  .feedback-intro, .say-it, .learning-card-next { align-items: stretch; flex-direction: column; }
  .feedback-status { align-self: start; }
  .feedback-grid, .learning-card-summary, .learning-card-details { grid-template-columns: 1fr; }
  .learning-card { padding: 16px; }
  .learning-card-heading { align-items: start; flex-direction: column; gap: 4px; }
  .response-tools { align-items: start; flex-direction: column; }
  .voice-panel-heading, .voice-panel-actions { align-items: stretch; flex-direction: column; }
  .voice-session-status { max-width: none; text-align: left; }
  .voice-panel-actions .primary, .voice-panel-actions .quiet { width: 100%; }
  .practice-header { margin-bottom: 24px; }
  .practice-guide { display: block; }
  .practice-guide p { margin-top: 7px; }
  .route-list, .experience-grid { grid-template-columns: 1fr; }
  .route-list li { min-height: auto; }
  .experience-map { margin-top: 44px; }
  .experience-grid { gap: 14px; margin-top: 24px; }
  .site-footer { align-items: start; flex-direction: column; margin-top: 24px; }
  .diagnostic-modal, .privacy-modal { align-items: start; padding: 12px; }
  .diagnostic-card, .privacy-card { max-height: calc(100vh - 24px); padding: 22px 18px; }
  .diagnostic-actions { flex-direction: column-reverse; }
  .diagnostic-actions .primary, .diagnostic-actions .quiet { width: 100%; }
  .privacy-actions { align-items: stretch; flex-direction: column-reverse; }
  .privacy-actions .primary, .privacy-actions .quiet { width: 100%; }
  .local-delete { margin-right: 0; text-align: center; }
  .toast { bottom: 12px; }
  .profile-grid { grid-template-columns: 1fr; max-height: 43vh; }
}
