@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --navy: #071a2b;
  --navy-soft: #102b42;
  --ink: #10202d;
  --mint: #7cf3c8;
  --mint-dark: #1b795f;
  --ice: #f5f8fa;
  --white: #ffffff;
  --slate: #60717e;
  --line: #dce6eb;
  --warning: #ffb86b;
  --danger: #cc4257;
  --display: 'Manrope', sans-serif;
  --body: 'IBM Plex Sans', sans-serif;
  --radius-lg: 30px;
  --radius-md: 18px;
  --shadow: 0 26px 80px rgba(3, 17, 29, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--ice); font-family: var(--body); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.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; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 16px; background: var(--mint); color: var(--navy); border-radius: 10px; }
.skip-link:focus { top: 16px; }

.site-header { height: 82px; padding: 0 clamp(20px, 4vw, 68px); display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--navy); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.1); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -.05em; }
.brand small { display: block; margin-top: -3px; color: #9bb0be; font-size: 8px; letter-spacing: .18em; font-weight: 700; }
.brand-mark { width: 31px; height: 31px; display: flex; align-items: center; justify-content: center; gap: 3px; border-radius: 50%; background: var(--mint); }
.brand-mark i { display: block; width: 3px; border-radius: 3px; background: var(--navy); }
.brand-mark i:nth-child(1) { height: 8px; }.brand-mark i:nth-child(2) { height: 16px; }.brand-mark i:nth-child(3) { height: 11px; }
.header-status { display: flex; align-items: center; gap: 8px; color: #c8d6de; font-size: 13px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(124,243,200,.1); }

.eyebrow { margin: 0 0 18px; color: var(--mint-dark); font: 700 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.landing-view { min-height: calc(100svh - 82px); overflow: hidden; background: var(--navy); color: var(--white); }
.hero { min-height: calc(100svh - 82px); max-width: 1440px; margin: 0 auto; padding: clamp(48px, 8vw, 112px) clamp(22px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(410px, .95fr); align-items: center; gap: 70px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { color: var(--mint); }
.hero h1 { margin: 0; max-width: 780px; font: 700 clamp(48px, 5.6vw, 88px)/.99 var(--display); letter-spacing: -.065em; }
.hero h1 em { color: var(--mint); font-style: normal; }
.hero-lead { max-width: 650px; margin: 30px 0 0; color: #bfd0da; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 38px; }
.primary-button { min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 26px; border: 0; border-radius: 14px; background: var(--mint); color: var(--navy); font-family: var(--display); font-weight: 800; box-shadow: 0 12px 28px rgba(124,243,200,.13); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.primary-button:hover { transform: translateY(-2px); background: #98ffda; box-shadow: 0 16px 34px rgba(124,243,200,.2); }
.primary-button:disabled { cursor: wait; opacity: .6; transform: none; }
.text-button, .quiet-button, .back-button, .skip-button, .rail-button { border: 0; background: transparent; color: inherit; }
.text-button { padding: 10px 0; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.quiet-button { padding: 10px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 11px; color: inherit; }
.feature-list { margin: 58px 0 0; padding: 27px 0 0; display: flex; gap: clamp(20px, 3vw, 45px); border-top: 1px solid rgba(255,255,255,.13); list-style: none; color: #b6c6cf; font-size: 13px; }
.feature-list li { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.feature-list span { color: var(--mint); font: 600 10px/1 var(--display); letter-spacing: .08em; }

.hero-visual { position: relative; min-height: 530px; display: grid; place-items: center; isolation: isolate; }
.hero-visual::before { content: ''; position: absolute; inset: 5% 0; z-index: -3; background: url('/static/hero.webp') center/cover no-repeat; border-radius: 42% 58% 56% 44% / 50% 44% 56% 50%; opacity: .22; filter: saturate(.8); }
.hero-visual::after { content: ''; position: absolute; width: 420px; height: 420px; z-index: -2; border-radius: 50%; background: radial-gradient(circle, rgba(124,243,200,.16), transparent 66%); }
.signal-core { width: 230px; height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; border: 1px solid rgba(124,243,200,.42); border-radius: 50%; background: rgba(7,26,43,.74); backdrop-filter: blur(13px); box-shadow: inset 0 0 60px rgba(124,243,200,.06), 0 0 80px rgba(124,243,200,.08); text-align: center; }
.signal-core strong { font: 700 19px/1.25 var(--display); letter-spacing: -.02em; }
.sound-wave { height: 45px; display: flex; align-items: center; gap: 5px; }
.sound-wave i { width: 4px; height: 10px; border-radius: 4px; background: var(--mint); animation: wave 1.25s ease-in-out infinite; }
.sound-wave i:nth-child(2), .sound-wave i:nth-child(6) { animation-delay: -.2s; }.sound-wave i:nth-child(3), .sound-wave i:nth-child(5) { animation-delay: -.4s; }.sound-wave i:nth-child(4) { animation-delay: -.6s; }
.signal-orbit { position: absolute; border: 1px solid rgba(124,243,200,.18); border-radius: 50%; }
.orbit-one { width: 350px; height: 350px; }.orbit-two { width: 500px; height: 500px; border-style: dashed; animation: spin 40s linear infinite; }
.floating-card { position: absolute; min-width: 152px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 15px; background: rgba(16,43,66,.88); backdrop-filter: blur(12px); box-shadow: 0 18px 45px rgba(0,0,0,.22); animation: float 5s ease-in-out infinite; }
.floating-card small { display: block; margin-bottom: 4px; color: #91a8b6; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }.floating-card b { font: 700 14px var(--display); }
.card-one { top: 11%; left: 0; }.card-two { right: -2%; top: 36%; animation-delay: -1.7s; }.card-three { bottom: 10%; left: 8%; animation-delay: -3.4s; }

.setup-view { min-height: calc(100svh - 82px); max-width: 1240px; margin: 0 auto; padding: 52px clamp(20px, 5vw, 64px) 90px; }
.setup-header { max-width: 760px; display: flex; gap: 24px; align-items: flex-start; }
.setup-header h2, .section-heading h2, .result-view h2, .admin-header h1 { margin: 0 0 12px; font: 700 clamp(32px, 4vw, 58px)/1.05 var(--display); letter-spacing: -.05em; }
.setup-header p:last-child, .section-heading p:last-child { margin: 0; color: var(--slate); font-size: 17px; line-height: 1.5; }
.back-button { width: 45px; height: 45px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; font-size: 20px; }
.setup-form { margin-top: 46px; }
.form-step { margin: 0; padding: 0; border: 0; }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.choice-card { position: relative; min-height: 158px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; cursor: pointer; }
.choice-card:hover { transform: translateY(-3px); border-color: #91afbd; box-shadow: 0 15px 32px rgba(17,43,62,.08); }
.choice-card.selected { border-color: var(--mint-dark); box-shadow: 0 0 0 3px rgba(124,243,200,.25); }
.choice-card input { position: absolute; opacity: 0; }
.choice-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 11px; background: #e8fff7; color: var(--mint-dark); font: 800 16px var(--display); }
.choice-card strong { display: block; margin-bottom: 7px; font: 700 17px var(--display); }.choice-card p { margin: 0; color: var(--slate); font-size: 13px; line-height: 1.45; }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 26px; }
.search-field { width: min(100%, 330px); height: 50px; padding: 0 16px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; }
.selected-counter { position: sticky; top: 12px; z-index: 5; width: fit-content; margin: 0 0 22px auto; padding: 9px 13px; border-radius: 99px; background: var(--navy); color: var(--white); font-size: 12px; }
.custom-direction { margin-bottom: 16px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; }
.custom-direction summary { cursor: pointer; font-weight: 700; }
.custom-direction .description-field { margin-top: 12px; }
.direction-group { padding: 26px 0; border-top: 1px solid var(--line); }
.direction-group h3 { margin: 0 0 15px; font: 700 18px var(--display); }
.direction-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.direction-chip { padding: 11px 15px; border: 1px solid #ccdbe2; border-radius: 99px; background: var(--white); color: var(--ink); font-size: 14px; transition: .2s ease; }
.direction-chip:hover { border-color: var(--mint-dark); }.direction-chip.selected { border-color: var(--mint-dark); background: var(--mint); color: var(--navy); }
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.format-grid .choice-card { min-height: 122px; }
.description-field { display: block; margin-top: 34px; }.description-field > span { display: block; margin-bottom: 10px; font: 600 14px var(--display); }.description-field small { color: var(--slate); font-weight: 400; }
textarea { width: 100%; resize: vertical; border: 1px solid var(--line); border-radius: 15px; background: var(--white); color: var(--ink); padding: 16px 18px; outline: 0; line-height: 1.5; transition: border-color .2s, box-shadow .2s; }
textarea:focus, input:focus-visible { border-color: var(--mint-dark); box-shadow: 0 0 0 3px rgba(124,243,200,.2); }
.setup-controls { position: sticky; bottom: 18px; z-index: 6; margin-top: 38px; padding: 13px 13px 13px 22px; display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); box-shadow: var(--shadow); }

.interview-view { min-height: calc(100svh - 82px); display: grid; grid-template-columns: 300px minmax(0, 1fr); background: var(--white); }
.interview-rail { padding: 42px 34px; display: flex; flex-direction: column; background: var(--navy); color: var(--white); }
.rail-kicker { display: block; color: #8ea5b3; font-size: 10px; text-transform: uppercase; letter-spacing: .16em; }.rail-heading strong { display: block; margin-top: 5px; font: 700 20px var(--display); }
.progress-block { margin: 44px 0 38px; }.progress-copy { display: flex; justify-content: space-between; color: #a7bac5; font-size: 12px; }.progress-copy b { color: var(--white); }
.progress-track { height: 3px; margin-top: 12px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.12); }.progress-track i { display: block; width: 0; height: 100%; background: var(--mint); transition: width .5s ease; }
.journey-list { margin: 0; padding: 0; list-style: none; }.journey-list li { position: relative; min-height: 48px; padding-left: 27px; color: #77909f; font-size: 13px; }.journey-list li::before { content: ''; position: absolute; left: 5px; top: 12px; bottom: -12px; width: 1px; background: rgba(255,255,255,.12); }.journey-list li:last-child::before { display: none; }.journey-list li span { position: absolute; left: 1px; top: 3px; width: 9px; height: 9px; border: 2px solid #5b7382; border-radius: 50%; background: var(--navy); }.journey-list li.active { color: var(--white); font-weight: 600; }.journey-list li.active span { border-color: var(--mint); background: var(--mint); box-shadow: 0 0 0 5px rgba(124,243,200,.1); }
.rail-button { margin-top: auto; padding: 13px 15px; display: flex; justify-content: space-between; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: #d7e2e8; text-align: left; }.rail-button span { min-width: 23px; padding: 2px 7px; border-radius: 9px; background: var(--mint); color: var(--navy); text-align: center; }
.autosave-note { margin: 16px 0 0; color: #6f8795; font-size: 10px; }.autosave-note span { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
.question-stage { position: relative; padding: clamp(42px, 8vh, 90px) clamp(24px, 8vw, 120px); display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 90% 10%, #e9fff7, transparent 25%), var(--white); }
.question-shell { width: min(100%, 760px); animation: reveal .45s ease both; }
.question-topline { display: flex; justify-content: space-between; align-items: center; }.section-badge { padding: 7px 11px; border-radius: 99px; background: #eafff7; color: var(--mint-dark); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.listen-button { width: 41px; height: 41px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--navy); }.listen-button.speaking { border-color: var(--mint-dark); background: var(--mint); }
.question-number { margin: 37px 0 12px; color: #9aabb5; font: 600 11px var(--display); letter-spacing: .13em; text-transform: uppercase; }
.question-shell h2 { margin: 0; font: 700 clamp(30px, 4vw, 51px)/1.11 var(--display); letter-spacing: -.045em; }.question-hint { margin: 17px 0 0; color: var(--slate); font-size: 15px; line-height: 1.55; }
.answer-options { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 9px; }.answer-option { padding: 11px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); text-align: left; }.answer-option:hover { border-color: #7da695; }.answer-option.selected { border-color: var(--mint-dark); background: #e8fff7; box-shadow: inset 0 0 0 1px var(--mint-dark); }
.answer-field { display: block; margin-top: 18px; }.answer-field textarea { min-height: 112px; background: #f9fbfc; }
.voice-panel { min-height: 49px; margin-top: 13px; display: flex; align-items: center; gap: 12px; }.voice-button { min-height: 41px; padding: 0 13px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); color: var(--navy); font-weight: 600; font-size: 12px; }.voice-panel p { margin: 0; color: #8495a0; font-size: 11px; }.voice-icon { color: var(--danger); font-size: 9px; }.voice-panel.recording .voice-button { border-color: var(--danger); background: #fff2f4; }.voice-panel.recording .voice-icon { animation: pulse 1s infinite; }.cancel-record { border: 0; background: transparent; color: var(--danger); font-size: 12px; text-decoration: underline; }
.question-actions { margin-top: 27px; display: flex; align-items: center; justify-content: space-between; }.skip-button { color: var(--slate); text-decoration: underline; text-underline-offset: 4px; }
.form-error { margin: 17px 0 0; padding: 11px 13px; border-radius: 10px; background: #fff0f2; color: #a52c40; font-size: 13px; }
.thinking-card { width: min(100%, 480px); padding: 24px; display: flex; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }.thinking-card strong { font: 700 15px var(--display); }.thinking-card p { margin: 4px 0 0; color: var(--slate); font-size: 12px; }.thinking-orb { width: 53px; height: 53px; display: flex; align-items: center; justify-content: center; gap: 3px; border-radius: 50%; background: var(--navy); }.thinking-orb i { width: 4px; height: 13px; border-radius: 4px; background: var(--mint); animation: wave 1s ease-in-out infinite; }.thinking-orb i:nth-child(2) { animation-delay: -.3s; }.thinking-orb i:nth-child(3) { animation-delay: -.6s; }

.result-view { min-height: calc(100svh - 82px); padding: 70px 22px; background: var(--navy); color: var(--white); text-align: center; }.result-view .eyebrow { color: var(--mint); }.result-mark { width: 78px; height: 78px; margin: 0 auto 30px; display: grid; place-items: center; border: 1px solid var(--mint); border-radius: 50%; color: var(--mint); font-size: 30px; }.result-view h2 { font-size: clamp(44px, 6vw, 76px); }.result-lead { max-width: 610px; margin: 20px auto 38px; color: #b7c8d2; font-size: 18px; line-height: 1.55; }.brief-card { width: min(100%, 840px); margin: 0 auto 30px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: #0c2438; text-align: left; }.brief-card-head { padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); }.brief-card pre { max-height: 430px; margin: 0; padding: 24px; overflow: auto; white-space: pre-wrap; color: #d9e5ea; font: 13px/1.65 var(--body); }
.review-view { min-height: calc(100svh - 82px); padding: 70px 22px; display: grid; place-items: center; background: radial-gradient(circle at 70% 10%, #ddfff3, transparent 29%), var(--ice); }
.review-shell { width: min(100%, 760px); text-align: center; }
.review-mark { width: 74px; height: 74px; margin: 0 auto 28px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--mint); font: 700 21px var(--display); box-shadow: 0 0 0 10px rgba(124,243,200,.22); }
.review-shell h2 { margin: 0; font: 700 clamp(40px, 6vw, 68px)/1.04 var(--display); letter-spacing: -.055em; }
.review-lead { max-width: 610px; margin: 20px auto 30px; color: var(--slate); font-size: 17px; line-height: 1.55; }
.review-summary { margin: 0 auto 28px; padding: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); text-align: left; }
.review-summary div { padding: 5px 10px; border-right: 1px solid var(--line); }.review-summary div:last-child { border: 0; }.review-summary small { display: block; color: var(--slate); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }.review-summary strong { display: block; margin-top: 6px; font: 700 15px/1.35 var(--display); }
.review-actions { display: flex; justify-content: center; gap: 12px; }.review-actions .quiet-button { color: var(--navy); border-color: #b9cbd4; }.review-shell > .form-error { max-width: 560px; margin: 20px auto 0; text-align: left; }

.admin-view { min-height: calc(100svh - 82px); padding: 60px clamp(20px, 6vw, 84px); }.admin-header { display: flex; justify-content: space-between; align-items: start; }.admin-header .quiet-button { color: var(--navy); border-color: var(--line); }.admin-login { max-width: 500px; margin-top: 40px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }.admin-login label span { display: block; margin-bottom: 8px; font-weight: 600; }.admin-login input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; }.admin-login .primary-button { margin-top: 15px; }.admin-summary { margin: 28px 0; display: flex; gap: 12px; }.summary-card { min-width: 160px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }.summary-card b { display: block; font: 700 28px var(--display); }.summary-card span { color: var(--slate); font-size: 12px; }.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--white); } table { width: 100%; border-collapse: collapse; font-size: 13px; } th, td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; } th { color: var(--slate); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; } td a { color: var(--mint-dark); font-weight: 600; }.status-pill { padding: 5px 8px; border-radius: 99px; background: #eff4f6; white-space: nowrap; }.status-pill.submitted { background: #dcfaee; color: #12634b; }

.history-dialog { width: min(94vw, 680px); max-height: 85vh; padding: 0; border: 0; border-radius: 22px; color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.35); }.history-dialog::backdrop { background: rgba(4,17,27,.62); backdrop-filter: blur(5px); }.dialog-header { position: sticky; top: 0; padding: 24px; display: flex; justify-content: space-between; background: var(--white); border-bottom: 1px solid var(--line); }.dialog-header h2 { margin: 0; font: 700 28px var(--display); }.dialog-header .eyebrow { margin-bottom: 7px; }.dialog-header button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); font-size: 22px; }.history-list { padding: 12px 24px 25px; }.history-item { padding: 18px 0; border-bottom: 1px solid var(--line); }.history-item small { color: var(--mint-dark); text-transform: uppercase; letter-spacing: .1em; }.history-item h3 { margin: 5px 0 10px; font: 600 15px/1.4 var(--display); }.history-item p { margin: 0; color: var(--slate); white-space: pre-wrap; }.edit-answer { margin-top: 10px; padding: 5px 0; border: 0; background: transparent; color: var(--mint-dark); text-decoration: underline; }
.history-item .edit-warning { margin: 12px 0; padding: 10px 12px; border-left: 3px solid var(--warning); border-radius: 0 9px 9px 0; background: #fff7eb; color: #775024; font-size: 12px; }
.history-item textarea + .primary-button { min-height: 42px; margin-top: 10px; }
.date-detail { display: block; margin-top: 5px; color: var(--slate); font-size: 10px; white-space: nowrap; }
.toast { position: fixed; z-index: 200; right: 22px; bottom: 22px; max-width: min(360px, calc(100vw - 44px)); padding: 13px 17px; border-radius: 12px; background: var(--navy); color: var(--white); box-shadow: var(--shadow); font-size: 13px; animation: reveal .25s ease; }

@keyframes wave { 0%,100% { height: 10px; } 50% { height: 39px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes pulse { 50% { opacity: .3; transform: scale(1.4); } }
@keyframes reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; padding-top: 62px; }.hero-visual { min-height: 380px; margin-top: -20px; }.orbit-two { width: 390px; height: 390px; }.feature-list { flex-wrap: wrap; }.profile-grid, .format-grid { grid-template-columns: repeat(2, 1fr); }
  .interview-view { grid-template-columns: 1fr; }.interview-rail { padding: 17px 24px; display: grid; grid-template-columns: 1fr auto; gap: 13px 24px; }.progress-block { margin: 0; min-width: 170px; }.journey-list, .autosave-note { display: none; }.rail-button { grid-column: 1 / -1; margin-top: 0; padding: 9px 13px; }.question-stage { min-height: calc(100svh - 205px); }
}

@media (max-width: 620px) {
  .site-header { height: 66px; padding: 0 18px; }.header-status { display: none; }.site-header .quiet-button { padding: 8px; font-size: 11px; }
  .landing-view { min-height: calc(100svh - 66px); }.hero { min-height: calc(100svh - 66px); padding: 50px 20px 38px; gap: 10px; }.hero h1 { font-size: clamp(42px, 13vw, 62px); }.hero-lead { font-size: 16px; }.hero-actions { align-items: stretch; flex-direction: column; }.hero-actions .primary-button { width: 100%; }.feature-list { margin-top: 38px; gap: 14px 24px; }.feature-list li { font-size: 11px; }.hero-visual { min-height: 300px; transform: scale(.86); margin: -10px -30px -30px; }.signal-core { width: 175px; height: 175px; }.orbit-one { width: 250px; height: 250px; }.orbit-two { width: 340px; height: 340px; }.floating-card { min-width: 128px; padding: 11px 13px; }.card-one { left: 6%; }.card-two { right: 3%; }
  .setup-view { min-height: calc(100svh - 66px); padding: 35px 17px 70px; }.setup-header { gap: 13px; }.back-button { width: 37px; height: 37px; }.setup-header h2, .section-heading h2 { font-size: 34px; }.setup-header p:last-child, .section-heading p:last-child { font-size: 14px; }.profile-grid, .format-grid { grid-template-columns: 1fr; }.choice-card { min-height: 120px; padding: 19px; }.choice-icon { margin-bottom: 15px; }.section-heading { align-items: stretch; flex-direction: column; }.search-field { width: 100%; }.selected-counter { top: 8px; }.setup-controls { bottom: 8px; }.direction-chip { padding: 10px 12px; }
  .interview-view { min-height: calc(100svh - 66px); }.interview-rail { padding: 14px 17px; }.rail-heading strong { font-size: 16px; }.progress-block { min-width: 135px; }.rail-button { display: none; }.question-stage { min-height: calc(100svh - 157px); padding: 36px 18px 32px; align-items: start; }.question-shell h2 { font-size: 31px; }.question-number { margin-top: 28px; }.answer-options { margin-top: 22px; }.answer-option { font-size: 13px; }.voice-panel { align-items: flex-start; flex-wrap: wrap; }.voice-panel p { flex: 1; min-width: 160px; }.question-actions { gap: 14px; }.question-actions .primary-button { flex: 1; }.skip-button { font-size: 12px; }
  .result-view { min-height: calc(100svh - 66px); padding-top: 48px; }.result-view h2 { font-size: 44px; }.result-lead { font-size: 15px; }.brief-card pre { padding: 17px; font-size: 12px; }
  .review-view { min-height: calc(100svh - 66px); padding: 42px 17px; }.review-shell h2 { font-size: 40px; }.review-lead { font-size: 15px; }.review-summary { grid-template-columns: 1fr; }.review-summary div { border-right: 0; border-bottom: 1px solid var(--line); }.review-actions { flex-direction: column-reverse; }.review-actions button { width: 100%; }
  .admin-view { padding: 38px 16px; }.admin-header { gap: 15px; }.admin-header h1 { font-size: 38px; }.admin-summary { overflow-x: auto; }.summary-card { min-width: 140px; }
}

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

:focus-visible { outline: 3px solid var(--warning); outline-offset: 3px; }
