:root {
  --navy: #071b4d;
  --ink: #13244d;
  --muted: #687493;
  --blue: #0d5cff;
  --blue-dark: #0745c9;
  --cyan: #08beca;
  --surface: #f5f8ff;
  --line: #dfe6f2;
  --success: #009c9a;
  --warning: #ed8b13;
  --danger: #f43652;
  --shadow: 0 20px 60px rgba(16, 42, 96, .11);
}

* { box-sizing: border-box; }
.dual-money { display:inline-grid; gap:2px; line-height:1.15; vertical-align:middle; }
.dual-money strong { color:var(--navy); font-size:1em; font-weight:900; }
.dual-money small { color:#7a8291; font-size:.72em; font-weight:650; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, textarea, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.offline-banner { position: fixed; z-index: 100; left: 50%; bottom: 20px; transform: translateX(-50%); padding: 12px 20px; border-radius: 999px; background: var(--navy); color: white; box-shadow: var(--shadow); font-size: 13px; }
.app-header { height: 72px; padding: 0 max(24px, calc((100vw - 1240px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 30px; position: sticky; top: 0; z-index: 30; border-bottom: 1px solid #e8edf5; background: rgba(255,255,255,.92); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #0b2860; font-weight: 850; font-size: 27px; letter-spacing: -1.5px; }
.brand-mark { width: 28px; height: 28px; display: inline-block; border-radius: 10px; transform: rotate(-42deg); background: linear-gradient(145deg, #16d1dc 0 38%, #0f63f8 39% 66%, #2538cc 67%); box-shadow: 0 7px 15px rgba(13,92,255,.23); position: relative; }
.brand-mark i { position: absolute; width: 18px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.9); left: 5px; top: 11px; }
.app-header nav { display: flex; align-items: center; gap: 9px; }
.nav-link, .nav-button { border: 0; background: transparent; color: #354366; padding: 10px 12px; border-radius: 9px; font-size: 13px; font-weight: 750; }
.nav-link:hover, .nav-button:hover { color: var(--blue); background: #f3f7ff; }

.flow-shell { width: min(1120px, calc(100% - 40px)); min-height: calc(100vh - 72px); margin: auto; padding: 36px 0 80px; }
.flow-progress { max-width: 700px; margin: 0 auto 44px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.flow-progress li { display: flex; align-items: center; gap: 8px; color: #9aa4b9; font-size: 12px; position: relative; }
.flow-progress li:not(:last-child)::after { content: ""; height: 2px; background: #e2e8f3; position: absolute; left: 45px; right: 12px; top: 15px; }
.flow-progress li span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #d8e0ed; background: white; font-weight: 800; z-index: 1; }
.flow-progress li b { font-weight: 750; }
.flow-progress li.active { color: var(--blue); }
.flow-progress li.active span { background: var(--blue); border-color: var(--blue); color: white; box-shadow: 0 6px 15px rgba(13,92,255,.25); }
.flow-progress li.complete { color: var(--success); }
.flow-progress li.complete span { border-color: var(--success); color: transparent; background: var(--success); }
.flow-progress li.complete span::before { content: "✓"; color: white; }
.flow-progress li.complete::after { background: var(--success); }

.flow-step { animation: reveal .35s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(10px); } }
.start-step { min-height: calc(100vh - 180px); padding: 40px 0; position: relative; }
.start-step::before { content: ""; position: absolute; inset: 0 -30vw auto; height: 520px; z-index: -1; background: radial-gradient(circle at 50% 30%, rgba(13,92,255,.08), transparent 52%), repeating-radial-gradient(ellipse at center, rgba(13,92,255,.05) 0 1px, transparent 1px 18px); opacity: .7; }
.start-copy { text-align: center; max-width: 780px; margin: 0 auto; }
.eyebrow { display: inline-flex; color: var(--blue); background: #edf4ff; border: 1px solid #deebff; padding: 8px 12px; border-radius: 999px; font-size: 11px; font-weight: 850; letter-spacing: .7px; }
.start-copy h1 { margin: 19px 0 18px; color: var(--navy); font-size: clamp(49px, 7vw, 76px); line-height: .98; letter-spacing: -4.5px; }
.start-copy h1 em { font-style: normal; color: var(--blue); }
.start-copy p { max-width: 680px; margin: auto; color: #5d6988; font-size: 17px; line-height: 1.65; }

.query-card { max-width: 800px; margin: 34px auto 0; padding: 18px; border: 1px solid #dce5f5; border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.query-card > label { display: block; padding: 0 4px 11px; color: var(--navy); font-size: 13px; font-weight: 800; }
.query-input { display: grid; grid-template-columns: 30px 1fr 56px; gap: 8px; align-items: center; padding: 12px; border: 1.5px solid #88acff; border-radius: 14px; background: white; transition: .2s; }
.query-input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(13,92,255,.08); }
.query-input > span { color: var(--blue); font-size: 22px; text-align: center; }
.query-input textarea { min-height: 64px; resize: vertical; border: 0; outline: 0; color: #293b64; background: transparent; line-height: 1.5; }
.query-input button { width: 52px; height: 52px; border: 0; border-radius: 50%; color: white; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); font-size: 27px; box-shadow: 0 8px 20px rgba(13,92,255,.28); }
.quick-prompts { padding-top: 11px; display: flex; flex-wrap: wrap; gap: 8px; }
.quick-prompts button, .follow-suggestions button { border: 1px solid #dfe7f4; border-radius: 999px; background: #f7f9fd; color: #52617f; padding: 8px 12px; font-size: 11px; font-weight: 700; }
.quick-prompts button:hover, .follow-suggestions button:hover { color: var(--blue); border-color: #9ebcff; background: #f0f5ff; }
.start-modes { max-width: 930px; margin: 22px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.start-modes button { min-height: 100px; padding: 15px; display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; text-align: left; border: 1px solid #e0e6f1; border-radius: 14px; background: white; color: var(--ink); }
.start-modes button:hover { border-color: #8cacfa; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(28,60,126,.08); }
.start-modes button > span { grid-row: 1 / 3; width: 25px; height: 25px; border-radius: 8px; display: grid; place-items: center; background: #edf4ff; color: var(--blue); font-weight: 850; }
.start-modes b { font-size: 12px; }
.start-modes small { margin-top: 6px; color: #7a849c; font-size: 10px; line-height: 1.35; }
.no-signup { text-align: center; margin: 18px 0 0; color: #74809a; font-size: 11px; }

.step-heading { max-width: 680px; text-align: center; margin: 0 auto 28px; }
.step-heading > span, .alternatives-heading > div > span { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: 1.5px; }
.step-heading h2 { margin: 9px 0 8px; font-size: clamp(30px, 4vw, 44px); color: var(--navy); letter-spacing: -1.7px; }
.step-heading p { margin: 0; color: var(--muted); line-height: 1.55; }
.conversation { max-width: 720px; margin: auto; display: grid; gap: 18px; }
.message { max-width: 82%; border-radius: 18px; padding: 18px 20px; line-height: 1.55; }
.user-message { justify-self: end; color: white; background: linear-gradient(135deg, var(--blue), #1745cc); border-bottom-right-radius: 5px; }
.assistant-message { display: flex; gap: 13px; background: var(--surface); border: 1px solid #e1e8f5; border-bottom-left-radius: 5px; }
.assistant-message p { margin: 7px 0 0; color: #4e5d7e; }
.assistant-icon { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 10px; color: white; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.step-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.primary-button, .secondary-button, .offer-cta { min-height: 46px; border-radius: 10px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-weight: 800; border: 0; transition: .2s; }
.primary-button, .offer-cta { color: white; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); box-shadow: 0 10px 24px rgba(13,92,255,.22); }
.primary-button:hover, .offer-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 29px rgba(13,92,255,.3); }
.secondary-button { color: var(--ink); background: white; border: 1px solid #d8e0ed; }
.secondary-button:hover { color: var(--blue); border-color: #91b1fc; }
.text-button { display: block; margin: 18px auto; padding: 8px; border: 0; background: transparent; color: #71809f; font-size: 12px; text-decoration: underline; }

.question-card { max-width: 680px; margin: auto; padding: 30px; border: 1px solid #dfe6f2; border-radius: 20px; background: white; box-shadow: var(--shadow); }
.question-count { color: var(--blue); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: 1px; }
.question-card h3 { margin: 9px 0 22px; font-size: 25px; color: var(--navy); }
.answer-options { display: grid; gap: 10px; }
.answer-options button { min-height: 58px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #dce4f1; border-radius: 12px; background: white; color: #344463; text-align: left; font-weight: 700; }
.answer-options button:hover { color: var(--blue); border-color: #8cacfa; background: #f4f8ff; }
.answer-options i { font-style: normal; font-size: 20px; }

.criteria-card { max-width: 850px; margin: auto; padding: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; border: 1px solid #dfe6f2; border-radius: 20px; background: white; box-shadow: var(--shadow); }
.criteria-card h3 { margin: 0 0 14px; color: var(--navy); font-size: 14px; }
.criteria-list { display: grid; gap: 8px; }
.criterion { min-height: 48px; padding: 8px 8px 8px 13px; display: grid; grid-template-columns: 1fr auto 28px; align-items: center; gap: 6px; border: 1px solid #e0e7f2; border-radius: 10px; background: #f8faff; font-size: 12px; font-weight: 700; }
.criterion select { max-width: 118px; border: 0; outline: 0; background: transparent; color: var(--blue); font-size: 10px; font-weight: 750; }
.criterion button { width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: #95a0b5; font-size: 18px; }
.criterion button:hover { color: var(--danger); background: #fff0f3; }
.criteria-empty { margin: 0; color: #929cb0; font-size: 12px; }

.loading-step { max-width: 620px; margin: auto; text-align: center; padding-top: 30px; }
.scan-orb { width: 80px; height: 80px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 27px; color: white; background: linear-gradient(135deg, var(--blue), var(--cyan)); font-size: 30px; box-shadow: 0 15px 35px rgba(13,92,255,.22); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { transform: scale(1.07); box-shadow: 0 18px 50px rgba(13,92,255,.34); } }
.loading-step h2 { margin: 0; color: var(--navy); font-size: 34px; }
.loading-step > p { color: var(--muted); line-height: 1.6; }
.work-list { max-width: 470px; margin: 25px auto 0; padding: 0; display: grid; gap: 8px; list-style: none; text-align: left; }
.work-list li { min-height: 44px; padding: 12px 15px 12px 45px; border-radius: 10px; color: #77829a; background: #f6f8fc; position: relative; transition: .25s; }
.work-list li::before { content: ""; position: absolute; left: 16px; top: 14px; width: 15px; height: 15px; border: 2px solid #cbd4e4; border-radius: 50%; }
.work-list li.working { color: var(--blue); background: #edf4ff; }
.work-list li.working::before { border-color: var(--blue); border-top-color: transparent; animation: spin .6s linear infinite; }
.work-list li.done { color: #256969; background: #effafa; }
.work-list li.done::before { content: "✓"; display: grid; place-items: center; border: 0; color: white; background: var(--success); font-size: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }

.result-top, .alternatives-heading, .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.result-top { margin-bottom: 22px; }
.result-top h2, .alternatives-heading h2 { margin: 7px 0 0; color: var(--navy); font-size: 28px; letter-spacing: -.8px; }
.main-pick { padding: 28px; display: grid; grid-template-columns: 220px 1fr 300px; gap: 28px; border: 1.5px solid #5c96ff; border-radius: 22px; background: linear-gradient(140deg, white, #f9fbff); box-shadow: var(--shadow); position: relative; }
.main-pick::before { content: ""; position: absolute; top: -1px; left: 28px; right: 28px; height: 3px; border-radius: 0 0 9px 9px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.pick-visual { min-height: 235px; display: grid; place-items: center; align-content: center; position: relative; }
.product-visual { width: 170px; height: 170px; border-radius: 50%; background: linear-gradient(145deg, #fff, #dfe5ef); box-shadow: 0 25px 35px rgba(8,25,64,.18), inset 0 0 0 9px #f5f7fb, inset 0 -12px 20px rgba(20,35,62,.16); position: relative; }
.product-visual i { width: 42px; height: 29px; border-radius: 50% 50% 35% 35%; background: linear-gradient(#445065, #171e2c); position: absolute; left: 64px; top: 18px; box-shadow: 0 5px 7px rgba(0,0,0,.2); }
.product-visual span { width: 58px; height: 8px; border-radius: 99px; background: #0db9c6; position: absolute; left: 56px; bottom: 25px; box-shadow: 0 0 11px rgba(13,185,198,.6); }
.product-visual b { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(15,32,65,.48); font-size: 20px; letter-spacing: 1px; }
.product-visual.visual-1 { background: linear-gradient(145deg, #252c38, #080d16); box-shadow: 0 25px 35px rgba(8,25,64,.25), inset 0 0 0 9px #171d27, inset 0 -12px 20px #000; }
.product-visual.visual-1 b { color: rgba(255,255,255,.5); }
.product-visual.visual-2 { background: linear-gradient(145deg, #132949, #050e21); box-shadow: 0 25px 35px rgba(8,25,64,.25), inset 0 0 0 9px #0c1d37, inset 0 -12px 20px #000; }
.product-visual.compact { width: 105px; height: 105px; margin: 14px auto; }
.product-visual.compact i { width: 28px; height: 19px; left: 39px; top: 11px; }
.product-visual.compact span { width: 37px; left: 34px; bottom: 16px; }
.score-ring { position: absolute; right: 5px; bottom: 18px; width: 65px; height: 65px; display: grid; place-items: center; border: 5px solid #d9f4f4; border-top-color: var(--success); border-radius: 50%; background: white; color: var(--success); font-size: 20px; font-weight: 900; box-shadow: 0 8px 20px rgba(12,45,90,.13); }
.score-ring small { font-size: 9px; position: absolute; right: 10px; bottom: 12px; }
.pick-label { display: flex; justify-content: space-between; gap: 10px; color: var(--success); font-size: 11px; font-weight: 850; }
.pick-label small { color: #8791a6; font-weight: 600; }
.tone-wait .pick-label { color: var(--warning); }
.tone-skip .pick-label { color: var(--danger); }
.pick-copy h1 { margin: 9px 0; color: var(--navy); font-size: 32px; letter-spacing: -1.1px; }
.pick-description { margin: 0; color: #64708b; line-height: 1.5; font-size: 13px; }
.reason-columns { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.reason-columns h3 { margin: 0 0 10px; color: var(--navy); font-size: 12px; }
.reason-columns ul { margin: 0; padding: 0; display: grid; gap: 8px; list-style: none; color: #435371; font-size: 11px; }
.reason-columns li { display: flex; gap: 7px; line-height: 1.4; }
.reason-columns i { width: 17px; height: 17px; flex: 0 0 17px; display: grid; place-items: center; border-radius: 50%; background: #e3f8f6; color: var(--success); font-style: normal; font-size: 9px; }
.compromises i { background: #fff2df; color: var(--warning); }
.price-story { margin-top: 21px; padding-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px solid #e2e7f0; }
.price-story div span { display: block; color: #8892a7; font-size: 9px; }
.price-story div b { display: block; margin-top: 3px; color: var(--navy); font-size: 14px; }
.price-story > strong { grid-column: 1 / -1; font-size: 10px; }
.price-good { color: var(--success); }
.price-high { color: var(--warning); }
.offer-box { align-self: start; padding: 20px; border: 1px solid #dce5f2; border-radius: 16px; background: white; box-shadow: 0 12px 32px rgba(19,44,94,.08); }
.offer-head { display: flex; justify-content: space-between; gap: 15px; }
.offer-head span { color: var(--blue); font-size: 8px; font-weight: 900; letter-spacing: 1px; }
.offer-head h2 { margin: 4px 0 0; color: var(--navy); font-size: 17px; }
.offer-head > b { color: var(--navy); font-size: 19px; white-space: nowrap; }
.offer-facts { margin: 17px 0; display: grid; gap: 7px; color: #69758d; font-size: 10px; }
.offer-cta { width: 100%; min-height: 44px; }
.watch-button { width: 100%; min-height: 40px; margin-top: 8px; border: 1px solid #d9e2f0; border-radius: 9px; background: white; color: var(--blue); font-size: 11px; font-weight: 800; }
.affiliate-note { margin: 12px 0 0; color: #929bad; font-size: 8px; line-height: 1.45; }
.other-offers { grid-column: 1 / -1; padding: 14px 18px; border: 1px solid #e0e6f0; border-radius: 12px; background: white; }
.other-offers summary { cursor: pointer; color: var(--blue); font-size: 11px; font-weight: 800; }
.other-offers a { padding: 12px 0 3px; display: grid; grid-template-columns: 1fr auto auto; gap: 18px; color: #596681; border-top: 1px solid #eef1f6; font-size: 11px; }

.alternatives-heading { margin: 48px 0 18px; }
.alternatives-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.alternative-card { padding: 24px; border: 1px solid #dfe6f2; border-radius: 17px; background: white; }
.alternative-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--blue); font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .6px; }
.alternative-top b { color: #69758e; }
.alternative-card h3 { margin: 6px 0; color: var(--navy); font-size: 20px; text-align: center; }
.alternative-card > p { min-height: 42px; margin: 0; color: #6b7690; font-size: 11px; line-height: 1.45; text-align: center; }
.alternative-price { margin: 17px 0 10px; display: flex; align-items: baseline; justify-content: space-between; }
.alternative-price b { color: var(--navy); font-size: 20px; }
.alternative-price span { color: #77839a; font-size: 10px; }
.price-story .dual-money { color:inherit; font-size:14px; letter-spacing:0; }
.offer-head .dual-money { color:inherit; font-size:19px; letter-spacing:0; }
.alternative-price .dual-money { color:inherit; font-size:20px; }
.other-offers .dual-money,.follow-suggestions .dual-money { color:inherit; font-size:11px; letter-spacing:0; text-align:left; }
.alternative-card ul { padding: 12px 0; margin: 0; border-top: 1px solid #edf0f5; list-style: none; color: #4f5d78; font-size: 11px; line-height: 1.8; }
.alternative-card > a { color: var(--blue); font-size: 11px; font-weight: 800; }
.results-empty { grid-column: 1 / -1; padding: 24px; border: 1px dashed #d5deec; border-radius: 13px; color: #758099; text-align: center; }
.why-not { margin-top: 18px; border: 1px solid #dfe6f1; border-radius: 14px; background: #fafbfe; }
.why-not summary { padding: 17px 20px; cursor: pointer; color: var(--navy); font-size: 12px; font-weight: 800; }
.why-not > div { padding: 0 20px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.why-not article { padding: 14px; border-radius: 10px; background: white; }
.why-not b { font-size: 11px; }
.why-not p { margin: 5px 0 0; color: #727d94; font-size: 10px; line-height: 1.4; }

.compare-panel, .follow-up, .save-value { margin-top: 35px; padding: 24px; border: 1px solid #dfe6f2; border-radius: 18px; background: white; box-shadow: 0 12px 38px rgba(20,43,90,.06); }
.panel-head h2 { margin: 0; color: var(--navy); font-size: 21px; }
.icon-button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f0f3f8; color: #68758e; font-size: 20px; }
.compare-table-wrap { margin-top: 18px; overflow-x: auto; }
.compare-table-wrap table { width: 100%; min-width: 650px; border-collapse: collapse; font-size: 10px; }
.compare-table-wrap th, .compare-table-wrap td { padding: 13px 12px; border: 1px solid #e4e9f1; text-align: center; }
.compare-table-wrap thead th { color: #7a8499; font-size: 8px; letter-spacing: .6px; }
.compare-table-wrap thead b { display: block; margin-top: 5px; color: var(--navy); font-size: 12px; letter-spacing: 0; }
.compare-table-wrap tbody th { color: #596681; text-align: left; }
.best-column { background: #f0faff; color: var(--success); }

.follow-up { background: linear-gradient(135deg, #f7faff, #f7ffff); }
.follow-head { display: flex; gap: 13px; }
.follow-head h2 { margin: 0; color: var(--navy); font-size: 21px; }
.follow-head p { margin: 4px 0 0; color: #6e7992; font-size: 11px; }
.chat-log { display: grid; gap: 8px; margin-top: 16px; }
.chat-user, .chat-assistant { max-width: 76%; padding: 10px 13px; border-radius: 12px; font-size: 11px; line-height: 1.45; }
.chat-user { justify-self: end; color: white; background: var(--blue); }
.chat-assistant { background: white; border: 1px solid #dce5f1; }
.follow-suggestions { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 7px; }
#followForm { margin-top: 10px; display: grid; grid-template-columns: 1fr auto; border: 1px solid #cfd9e9; border-radius: 11px; background: white; overflow: hidden; }
#followForm input { min-height: 48px; padding: 0 15px; border: 0; outline: 0; color: var(--ink); }
#followForm button { border: 0; padding: 0 20px; background: var(--blue); color: white; font-weight: 800; }
.save-value { display: flex; justify-content: space-between; align-items: center; gap: 25px; background: linear-gradient(115deg, #08266c, #0759ec 70%, #08bbc6); color: white; }
.save-value h2 { margin: 0; font-size: 22px; }
.save-value p { margin: 5px 0 0; color: rgba(255,255,255,.78); font-size: 11px; }
.save-value .primary-button { color: var(--navy); background: white; box-shadow: none; white-space: nowrap; }

.empty-step { max-width: 650px; margin: auto; padding: 60px 30px; text-align: center; border: 1px solid #dfe6f2; border-radius: 22px; background: #fbfcff; }
.empty-step > span { width: 62px; height: 62px; margin: auto; display: grid; place-items: center; border-radius: 18px; color: var(--blue); background: #edf4ff; font-size: 28px; }
.empty-step h2 { margin: 18px 0 8px; color: var(--navy); font-size: 31px; }
.empty-step p { color: var(--muted); line-height: 1.6; }

.flow-dialog { width: min(470px, calc(100% - 30px)); padding: 32px; border: 0; border-radius: 20px; color: var(--ink); box-shadow: 0 30px 100px rgba(8,26,68,.3); text-align: center; }
.flow-dialog::backdrop { background: rgba(5,16,45,.55); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f0f3f8; color: #657089; font-size: 18px; }
.dialog-icon { width: 52px; height: 52px; margin: auto; display: grid; place-items: center; border-radius: 16px; color: white; background: linear-gradient(135deg, var(--blue), var(--cyan)); font-size: 22px; }
.flow-dialog h2 { margin: 15px 0 8px; color: var(--navy); font-size: 24px; }
.flow-dialog > p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.flow-dialog .primary-button { margin: 10px auto 0; }
#alertForm { margin-top: 20px; display: grid; gap: 13px; text-align: left; }
#alertForm label { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; color: #5f6c87; font-size: 12px; font-weight: 700; }
#alertForm input, #alertForm select { min-height: 42px; max-width: 150px; border: 1px solid #d7e0ed; border-radius: 8px; padding: 0 10px; color: var(--ink); background: white; }
#alertForm .primary-button { width: 100%; }
.toast { position: fixed; z-index: 110; right: 22px; bottom: 22px; max-width: 380px; padding: 14px 18px; border-radius: 11px; background: #083d73; color: white; box-shadow: var(--shadow); font-size: 12px; }
.toast-error { background: #a92139; }

@media (max-width: 960px) {
  .start-modes { grid-template-columns: repeat(2, 1fr); }
  .main-pick { grid-template-columns: 180px 1fr; }
  .offer-box { grid-column: 1 / -1; }
  .pick-visual { min-height: 190px; }
  .product-visual { width: 145px; height: 145px; }
  .product-visual i { left: 52px; }
  .product-visual span { left: 44px; }
  .score-ring { right: 0; }
}

@media (max-width: 720px) {
  .app-header { padding-inline: 16px; height: 64px; }
  .brand { font-size: 23px; }
  .brand-mark { width: 25px; height: 25px; }
  .brand-mark i { width: 16px; left: 5px; top: 10px; }
  .app-header nav { gap: 0; }
  .app-header .nav-link[href="/"], .app-header .nav-button { display: none; }
  .nav-link { padding: 8px; font-size: 11px; }
  .flow-shell { width: min(100% - 26px, 1120px); padding-top: 24px; }
  .flow-progress { margin-bottom: 28px; }
  .flow-progress li { justify-content: center; }
  .flow-progress li b { display: none; }
  .flow-progress li:not(:last-child)::after { left: calc(50% + 16px); right: calc(-50% + 16px); }
  .start-step { padding-top: 20px; }
  .start-copy h1 { font-size: 47px; letter-spacing: -3px; }
  .start-copy p { font-size: 14px; }
  .query-card { padding: 12px; }
  .query-input { grid-template-columns: 23px 1fr 46px; padding: 8px; }
  .query-input button { width: 44px; height: 44px; }
  .start-modes { grid-template-columns: 1fr 1fr; }
  .start-modes button { padding: 12px; }
  .message { max-width: 94%; }
  .criteria-card, .reason-columns { grid-template-columns: 1fr; }
  .criteria-card { gap: 22px; padding: 18px; }
  .criterion { grid-template-columns: 1fr 28px; }
  .criterion select { grid-column: 1 / 2; grid-row: 2; }
  .criterion button { grid-column: 2; grid-row: 1 / 3; }
  .step-actions { flex-direction: column-reverse; }
  .step-actions > * { width: 100%; }
  .result-top, .alternatives-heading { align-items: flex-start; flex-direction: column; }
  .main-pick { padding: 20px; grid-template-columns: 1fr; }
  .pick-visual { min-height: 170px; }
  .pick-copy h1 { font-size: 27px; }
  .price-story { grid-template-columns: 1fr 1fr; }
  .alternatives-grid, .why-not > div { grid-template-columns: 1fr; }
  .save-value { align-items: flex-start; flex-direction: column; }
  .save-value .primary-button { width: 100%; }
  .flow-dialog { padding: 28px 20px; }
}

@media (max-width: 430px) {
  .start-copy h1 { font-size: 40px; }
  .start-modes { grid-template-columns: 1fr; }
  .quick-prompts button { flex: 1; }
  .question-card { padding: 20px; }
  .criterion select { max-width: 100%; }
  .other-offers a { grid-template-columns: 1fr auto; }
  .other-offers small { grid-column: 1 / -1; }
}

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