:root {
  --paper: #ece4da;
  --room: var(--paper);
  --paper-light: #f6f3ec;
  --ink: #36302a;
  --taupe: #b9a590;
  --ink-muted: rgba(54, 48, 42, .68);
  --rule: rgba(54, 48, 42, .22);
  --focus: #745f4d;
  --error: #7a342e;
  --participant-question-size: 2rem;
  --participant-question-weight: 500;
  --participant-question-leading: 1.24;
  --participant-question-measure: 44ch;
  --participant-question-frame: 10.375rem;
  --participant-content-measure: 62rem;
  --participant-main-measure: 44rem;
  --participant-cath-rail-min: 12rem;
  --participant-column-gap: clamp(28px, 3vw, 40px);
  --participant-page-gutter: clamp(40px, 5vw, 58px);
  --participant-reading-anchor: clamp(56px, 11svh, 108px);
  --participant-thinking-space: clamp(20px, 4svh, 32px);
  --participant-cath-region: 13.125rem;
  --participant-response-min-height: 5.25rem;
  --participant-footer-gap: clamp(80px, 10svh, 96px);
  --participant-supporting-size: .875rem;
  --participant-supporting-leading: 1.62;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 18px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  font-family: Poppins, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--room); }
body { min-height: 100vh; margin: 0; background: var(--room); transition: background-color 500ms cubic-bezier(.22,.75,.28,1); }
body[data-response-state="typing"] { --room: #ede9e3; }
body[data-response-state="speak-ready"] { --room: #eee5dc; }
body[data-response-state="recording"] { --room: #e9ded4; }
body[data-response-state="transcribing"] { --room: #e9e5df; }
body[data-response-state="saved"] { --room: #ece4da; }
button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; transform: translateY(-160%); background: var(--ink); color: var(--paper-light); padding: 10px 14px; }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 80px; padding: 0 clamp(24px, 4vw, 52px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule); }
.brand { min-height: 44px; display: inline-flex; align-items: center; font-family: Manrope, Arial, sans-serif; font-size: 1.48rem; font-weight: 500; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.context, .kicker { font-size: .78rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.context { color: var(--ink-muted); }

main { min-height: calc(100vh - 80px); min-height: calc(100svh - 80px); display: grid; }
.panel { width: min(100%, 1180px); margin: auto; padding: clamp(48px, 8vh, 96px) clamp(24px, 7vw, 84px); animation: arrive .36s cubic-bezier(.4,0,.2,1) both; }
.opening { align-self: center; }
.kicker { margin: 0 0 28px; color: var(--ink-muted); }
h1, h2 { font-family: Manrope, Arial, sans-serif; font-weight: 500; letter-spacing: -.025em; }
h1 { max-width: 900px; margin: 0; font-size: clamp(2.65rem, 6.3vw, 5.4rem); line-height: 1.03; }
.opening h1 { max-width: 920px; }
.opening-copy { max-width: 590px; margin: 42px 0 36px; font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--ink-muted); }
.opening-copy p { margin: 0 0 14px; }
.launch-state { max-width: 760px; }
.launch-state > p:not(.kicker) { max-width: 590px; margin: 28px 0 0; color: var(--ink-muted); font-size: clamp(1rem, 1.4vw, 1.15rem); }
.launch-notice { max-width: 680px; margin: 0 0 28px; color: var(--error); }
.consent-check { max-width: 680px; margin: 0 0 10px; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-weight: 400; }
.consent-check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--ink); }
.opening #agreement-status { min-height: 1.5em; margin: 0 0 14px; color: var(--error); }
.resume-offer { max-width: 680px; margin: 0 0 30px; padding: 26px 0 28px; border-block: 1px solid var(--rule); }
.resume-offer .kicker { margin-bottom: 12px; }
.resume-offer h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.18; }
.resume-offer > p:not(.kicker) { max-width: 560px; margin: 12px 0 0; color: var(--ink-muted); }

.button { min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 0; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-weight: 500; color: var(--ink); background: transparent; cursor: pointer; text-decoration: none; transition: background-color .2s cubic-bezier(.25,.46,.45,.94), color .2s cubic-bezier(.25,.46,.45,.94), opacity .2s; }
.button.primary { background: var(--ink); color: var(--paper-light); }
.button.primary:hover { background: #4a423a; }
.button.secondary { border-color: var(--ink); }
.button.secondary:hover, .button.text-button:hover { background: rgba(54,48,42,.07); }
.button.text-button { padding-inline: 10px; text-decoration: underline; text-decoration-color: var(--taupe); text-underline-offset: 5px; }
.button:disabled { opacity: .45; cursor: wait; }
.button:focus-visible, .mode-choice:focus-visible, .record-control:focus-visible, .end-link:focus-visible, a:focus-visible, textarea:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.legal-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 0 0 28px; }
.legal-links a, .return-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); text-underline-offset: 5px; }
.research-design { max-width: 680px; margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--rule); color: var(--ink-muted); }
.research-design h2 { margin: 0 0 10px; color: var(--ink); font-size: 1.08rem; line-height: 1.35; }
.research-design p { margin: 0; font-size: .95rem; line-height: 1.55; }

.question-panel { position: relative; align-self: start; margin: 0 auto; padding: var(--participant-reading-anchor) var(--participant-page-gutter) var(--participant-footer-gap); }
.reading-axis {
  width: min(100%, var(--participant-content-measure));
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(var(--participant-cath-rail-min), 1fr);
  column-gap: var(--participant-column-gap);
}
.question-panel .kicker { grid-column: 1 / -1; margin-bottom: var(--space-4); font-size: .72rem; }
.question-composition { position: relative; grid-column: 1 / -1; min-height: var(--participant-question-frame); }
.question-framing { max-width: 68ch; margin: 0 0 10px; color: var(--ink-muted); font-size: 1rem; line-height: 1.55; }
.question { max-width: var(--participant-question-measure); font-size: var(--participant-question-size); font-weight: var(--participant-question-weight); line-height: var(--participant-question-leading); text-wrap: balance; }
.question.entering { animation: question-arrive .68s cubic-bezier(.22,.75,.28,1) both; }
.question-supporting { max-width: 68ch; margin: 18px 0 0; color: var(--ink-muted); font-size: 1rem; line-height: 1.55; white-space: pre-line; }
.thinking-space { grid-column: 1; height: var(--participant-thinking-space); }
.cath-region {
  grid-column: 2;
  grid-row: 3 / span 2;
  align-self: start;
  min-height: var(--participant-cath-region);
  display: flex;
  align-items: center;
  justify-content: center;
}
.participant-controls { grid-column: 1; min-width: 0; width: min(100%, var(--participant-main-measure)); }
.status { min-height: 1.6em; margin: var(--space-4) 0 0; color: var(--ink-muted); font-size: var(--participant-supporting-size); line-height: var(--participant-supporting-leading); }
.status-presence { min-height: 30px; margin-top: 0; }
.status-error { padding-left: var(--space-3); border-left: 3px solid var(--error); color: var(--error); font-weight: 500; }
.response-region { width: 100%; margin-top: var(--space-3); }
.participant-secondary { margin-top: var(--space-5); padding-top: 14px; border-top: 1px solid rgba(54,48,42,.12); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5); }
.ambient-control { width: fit-content; max-width: 100%; color: var(--ink-muted); }
.ambient-control summary { width: fit-content; min-height: 44px; display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: .88rem; }
.ambient-control summary::marker { content: ''; }
.ambient-control summary::after { content: '⌄'; margin-left: 2px; color: var(--ink); }
.ambient-control[open] summary::after { content: '⌃'; }
.ambient-current { color: var(--ink); }
.ambient-current::before { content: '·'; margin-right: 9px; color: var(--taupe); }
.ambient-panel { width: min(100%, 620px); padding: 16px 0 6px; border-top: 1px solid var(--rule); }
.ambient-intro { margin: 0 0 13px; font-size: .9rem; }
.ambient-options { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ambient-options label { margin: 0; cursor: pointer; }
.ambient-options input { position: absolute; opacity: 0; pointer-events: none; }
.ambient-options span { min-height: 42px; padding: 8px 13px; border: 1px solid var(--rule); display: inline-flex; align-items: center; color: var(--ink); font-size: .88rem; font-weight: 400; }
.ambient-options input:checked + span { border-color: var(--ink); background: rgba(54,48,42,.08); }
.ambient-options input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.ambient-adjustments { margin-top: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.ambient-toggle { min-height: 42px; padding: 7px 0; border: 0; border-bottom: 1px solid var(--taupe); color: var(--ink); background: transparent; cursor: pointer; }
.ambient-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.ambient-volume { margin: 0; display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: .84rem; font-weight: 400; }
.ambient-volume input { width: 130px; accent-color: var(--ink); }
.ambient-note { margin: 13px 0 0; font-size: .78rem; }
.response-choice { margin-top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.mode-choice { min-height: 92px; padding: 18px 20px; border: 1px solid rgba(54,48,42,.5); display: grid; align-content: center; gap: 2px; color: var(--ink); background: rgba(246,243,236,.42); text-align: left; cursor: pointer; }
.mode-choice:hover { background: rgba(246,243,236,.75); }
.mode-choice-title { display: flex; align-items: center; gap: 10px; font-family: Manrope, Arial, sans-serif; font-size: 1.13rem; font-weight: 500; }
.mode-choice-detail { padding-left: 24px; color: var(--ink-muted); font-size: .86rem; }
.type-mark { width: 14px; font-family: Manrope, Arial, sans-serif; font-size: .65rem; letter-spacing: -.08em; }
.mode-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: var(--space-4); }
.record-dot { width: 10px; height: 10px; border: 1.5px solid currentColor; border-radius: 50%; }
.end-link { display: inline-flex; min-height: 44px; margin-top: var(--space-2); padding: 8px 0; border: 0; color: rgba(54,48,42,.58); background: transparent; text-decoration: underline; text-decoration-color: rgba(185,165,144,.7); text-underline-offset: 5px; cursor: pointer; }

.speak-ready, .recording-mode, .transcribing-mode { padding: var(--space-5) 0 var(--space-1); border-top: 1px solid var(--rule); }
.speak-ready h2, .recording-mode h2, .transcribing-mode h2 { margin: 4px 0 var(--space-2); font-size: clamp(1.45rem, 3vw, 2rem); }
.speak-ready > p:last-of-type, .transcribing-mode > p:last-child { margin: 0; color: var(--ink-muted); }
.mode-label { margin: 0; color: var(--ink-muted); font-size: .76rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.record-control { min-height: 56px; padding: 10px 20px; border: 1px solid var(--ink); display: inline-flex; align-items: center; gap: var(--space-3); color: var(--ink); background: rgba(246,243,236,.72); cursor: pointer; }
.record-control-glyph { width: 18px; height: 18px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.record-control-glyph::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: currentColor; }
.recording-heading { display: flex; align-items: center; gap: var(--space-4); }
.recording-indicator { width: 44px; height: 44px; border: 1px solid rgba(104,70,59,.45); border-radius: 50%; display: grid; place-items: center; }
.recording-indicator span { width: 13px; height: 13px; border-radius: 50%; background: #68463b; }
.timer { margin: 0; font-variant-numeric: tabular-nums; color: var(--ink-muted); }
.processing-mark { height: 22px; display: flex; align-items: center; gap: 6px; }
.processing-mark i { width: 5px; height: 5px; border-radius: 50%; background: var(--taupe); animation: processing-dot 1.6s ease-in-out infinite; }
.processing-mark i:nth-child(2) { animation-delay: .18s; }
.processing-mark i:nth-child(3) { animation-delay: .36s; }
.answer-ready { margin: 34px 0 0; font-size: 1.1rem; }
.answer-ready span:first-child { margin-right: 8px; color: var(--taupe); }
.recording-playback { display: block; width: min(100%, 520px); margin-top: 20px; }
.question-panel.recording-active .recording-mode { margin-top: 0; }

form { max-width: 760px; margin-top: 34px; }
.response-region > form { margin-top: 0; }
.fixed-options, .review-correction-form fieldset { margin: 0 0 20px; padding: 0; border: 0; display: grid; gap: 10px; }
.fixed-option { position: relative; margin: 0; cursor: pointer; font-weight: 400; }
.fixed-option input { position: absolute; opacity: 0; }
.fixed-option span { min-height: 48px; padding: 12px 15px; border: 1px solid rgba(54,48,42,.5); display: flex; align-items: center; background: var(--paper-light); }
.fixed-option input:checked + span { border: 2px solid var(--ink); padding: 11px 14px; background: rgba(54,48,42,.08); }
.fixed-option input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
#fixed-form > .button { margin-top: 2px; }
label { display: block; margin-bottom: 10px; font-weight: 500; }
textarea { width: 100%; min-height: var(--participant-response-min-height); padding: 16px 18px; border: 1px solid rgba(54,48,42,.55); border-radius: 0; color: var(--ink); background: rgba(250,248,244,.84); font-size: 1rem; line-height: 1.65; resize: vertical; }
#typed-answer { max-height: min(20rem, 45vh); overflow-y: hidden; }
.retry { color: var(--error); }

.processing { max-width: 760px; text-align: center; }
.processing h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); }
.processing p:last-child { color: var(--ink-muted); }
.cath-anchor { display: flex; align-items: center; }
.processing .cath-anchor { justify-content: center; }

.cath-footprint {
  display: block;
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  pointer-events: none;
}
.question-cath { position: relative; z-index: 1; width: 52px; height: 52px; pointer-events: auto; }
.cath-envelope { display: block; width: 100%; height: 100%; transform: scale(var(--presence-scale, 1)); transform-origin: 50% 58%; }
.cath-anchor .cath-footprint { margin-left: 10px; }

.cath {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: translateY(3px) scaleX(1.1) scaleY(.92);
  transform-origin: 50% 88%;
  transition: transform .72s cubic-bezier(.18,.72,.22,1);
  --cath-fill: rgb(112, 91, 75);
  --cath-stroke: rgb(83, 65, 52);
}
.cath[data-cath-tone="green"] { --cath-fill: rgb(64, 91, 75); --cath-stroke: rgb(51, 76, 62); }
.cath[data-cath-tone="plum"] { --cath-fill: rgb(103, 83, 112); --cath-stroke: rgb(80, 61, 89); }
.cath[data-cath-tone="blue"] { --cath-fill: rgb(91, 121, 136); --cath-stroke: rgb(67, 99, 115); }
.cath[data-cath-tone="amber"] { --cath-fill: rgb(166, 109, 54); --cath-stroke: rgb(135, 82, 35); }
.cath[data-cath-tone="gold"] { --cath-fill: rgb(184, 132, 43); --cath-stroke: rgb(137, 91, 25); }
.cath[data-cath-tone="red"] { --cath-fill: rgb(145, 72, 67); --cath-stroke: rgb(119, 55, 52); }
.cath svg { display: block; width: 100%; height: 100%; overflow: visible; transform: translateY(var(--cath-y, 0px)) rotate(var(--cath-rotation, 0deg)); transform-origin: 50% 54%; }
.cath path { fill: var(--cath-fill); stroke: var(--cath-stroke); stroke-width: .8; vector-effect: non-scaling-stroke; transition: fill 520ms cubic-bezier(.22,.75,.28,1), stroke 520ms cubic-bezier(.22,.75,.28,1); }
.thought-swarm { pointer-events: none; transform-box: view-box; transform-origin: 100px 101px; }

.completion { max-width: 980px; }
.completion h1 { font-size: clamp(3rem, 7vw, 6rem); }
.completion-intro { max-width: 680px; margin: 38px 0 24px; color: var(--ink-muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.review-list { max-width: 780px; border-top: 1px solid var(--rule); }
.review-item { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.review-item h2 { margin: 0 0 10px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.45; }
.review-answer { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.review-item details { margin-top: 14px; }
.review-item summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--ink-muted); text-decoration: underline; text-underline-offset: 4px; }
.review-correction-form { margin-top: 18px; }
.review-correction-form legend { margin-bottom: 12px; font-weight: 500; }
.review-item-status, #review-addition-status, #review-complete-status { min-height: 1.5em; color: var(--ink-muted); }
.review-addition { max-width: 780px; padding-top: 28px; }
.review-complete-actions { max-width: 780px; margin-top: 30px; }
.optional { color: var(--ink-muted); font-size: .85em; font-weight: 400; }
.summary { max-width: 780px; border-bottom: 1px solid var(--rule); }
.summary-section { padding: 24px 0 26px; border-top: 1px solid var(--rule); }
.summary-section h2 { margin: 0 0 8px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.3; }
.summary-section p, .summary-unavailable { max-width: 720px; margin: 0; font-size: 1.02rem; line-height: 1.72; }
.summary-unavailable { padding: 24px 0 26px; border-top: 1px solid var(--rule); }
.correction { max-width: 780px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.correction summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; }
.correction-help { max-width: 660px; margin: 8px 0 0; color: var(--ink-muted); }
.correction form { margin-top: 20px; }
.field-help { margin: 6px 0 0; color: var(--ink-muted); font-size: .88rem; }
.correction-actions { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 18px; }
.closing-acknowledgement { max-width: 720px; margin: 36px 0 0; color: var(--ink-muted); }
.report-interest { max-width: 620px; margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--rule); }
.report-interest h2 { margin: 0 0 10px; font-size: clamp(1.35rem, 2vw, 1.65rem); }
.report-interest p { margin: 0 0 8px; }
.report-interest .button { margin-top: 12px; }
.return-link { display: inline-block; margin-top: 50px; }

.site-footer {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  padding: 26px 0 max(34px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--rule);
  color: var(--ink-muted);
  font-size: .78rem;
  line-height: 1.55;
}
.site-footer p { margin: 0; }
.release-details { margin-top: 6px; }
.release-details summary { width: max-content; cursor: pointer; text-underline-offset: 3px; }
.release-details p { margin-top: 4px; }

.end-dialog { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 24px; background: rgba(54,48,42,.42); }
.dialog-surface { width: min(100%, 620px); padding: clamp(28px, 6vw, 56px); background: var(--paper-light); }
.dialog-surface h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.16; }
.dialog-surface > p:not(.kicker) { color: var(--ink-muted); }

@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes question-arrive { from { opacity: .84; transform: translateY(.75px); } to { opacity: 1; transform: none; } }
@keyframes processing-dot { 0%, 100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
@media (min-width: 701px) {
  body[data-view="turn"] main { min-height: auto; }
}
@media (max-width: 900px) {
  :root {
    --participant-question-measure: 36ch;
    --participant-question-frame: 11rem;
    --participant-content-measure: 42rem;
    --participant-cath-region: 60px;
  }
  .reading-axis { display: block; }
  .cath-region { min-height: var(--participant-cath-region); justify-content: flex-start; }
  .cath-footprint[data-moment="appearing"] { overflow: clip; }
  .participant-controls { width: 100%; }
}

@media (max-width: 700px) {
  :root {
    --participant-question-size: 1.71875rem;
    --participant-question-leading: 1.28;
    --participant-question-measure: 31ch;
    --participant-question-frame: 13.75rem;
    --participant-content-measure: 100%;
    --participant-page-gutter: 22px;
    --participant-reading-anchor: 34px;
    --participant-thinking-space: 12px;
    --participant-cath-region: 56px;
    --participant-response-min-height: 5rem;
    --participant-footer-gap: 56px;
  }
  .site-header { min-height: 68px; }
  main { min-height: calc(100svh - 68px); }
  .panel { padding-block: 42px; }
  .question-panel { padding: var(--participant-reading-anchor) var(--participant-page-gutter) 56px; }
  .opening-copy { margin-block: 30px; }
  .question-framing { margin-bottom: 9px; font-size: .875rem; line-height: 1.5; }
  .question-cath { width: 48px; height: 48px; pointer-events: none; }
  .cath-anchor .cath-footprint { width: 54px; height: 54px; }
  .response-choice { grid-template-columns: 1fr; gap: 10px; }
  .mode-choice { min-height: 82px; }
  .mode-actions { flex-wrap: wrap; gap: 10px; }
  .mode-actions .button { width: auto; }
  #typed-form .button.primary { flex: 1 1 180px; }
  .participant-secondary { margin-top: var(--space-5); gap: var(--space-5); }
  .ambient-options { display: grid; grid-template-columns: 1fr 1fr; }
  .ambient-options span { width: 100%; justify-content: center; }
  .ambient-adjustments { align-items: flex-start; flex-direction: column; }
  .button.text-button { min-height: 44px; }
  .legal-links { flex-direction: column; gap: 12px; }
  .completion h1 { font-size: clamp(2.9rem, 15vw, 4.2rem); }
  .completion-intro { margin-top: 28px; }
  .summary-section { padding-block: 20px 22px; }
  .summary-section h2 { font-size: 1.08rem; }
  .summary-section p { font-size: 1rem; }
  .correction-actions .button { width: auto; }
  .site-footer { width: min(100% - 40px, 1180px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .cath, .cath svg, .cath-envelope, .question { transform: none !important; }
  .thought-swarm { display: none !important; }
}

@media (forced-colors: active) {
  .button, .mode-choice, .record-control, textarea, .ambient-options span, .fixed-option span { border-color: ButtonText; }
  .recording-indicator span, .processing-mark i { background: ButtonText; }
  .cath path { fill: Canvas; stroke: CanvasText; }
}
