/* Coldsnap: dark night-sky UI, ice blue + warm ember accents, rounded soft shapes */
:root {
  --bg: #0b1320;
  --panel: #121d2e;
  --panel-2: #18263b;
  --ice: #7fd3ff;
  --ember: #ff8a4c;
  --text: #e8f1fb;
  --dim: #9fb2c8;
  --line: #24354d;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, sans-serif;
}
a { color: inherit; }
h1, h2, h3 { margin: 0 0 14px; line-height: 1.08; letter-spacing: -0.5px; }
h2 { font-size: clamp(30px, 4.4vw, 46px); }
.eyebrow { margin: 0 0 12px; color: var(--ice); font-weight: 700; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; }

.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px clamp(16px, 4vw, 48px); }
.logo { display: flex; align-items: baseline; gap: 8px; font-size: 26px; font-weight: 800; text-decoration: none; letter-spacing: -0.5px; }
.logo em { font-style: normal; font-weight: 500; font-size: 15px; color: var(--dim); }
.flake { color: var(--ice); }
.pill-call { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-weight: 700; text-decoration: none; white-space: nowrap; }
.live { width: 9px; height: 9px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 4px rgba(62, 224, 143, 0.18); }

.btn { display: inline-block; padding: 15px 26px; border: 0; border-radius: 999px; background: linear-gradient(90deg, var(--ice), #b6e7ff); color: #04121f; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: 0 10px 30px rgba(127, 211, 255, 0.25); }
.btn:hover { filter: brightness(1.08); }
.btn.wide { width: 100%; }

.hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: center; padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px) clamp(56px, 8vw, 96px); background: radial-gradient(900px 420px at 80% 30%, rgba(127, 211, 255, 0.12), transparent 70%); }
.hero h1 { font-size: clamp(46px, 7vw, 86px); }
.glow { color: var(--ice); text-shadow: 0 0 40px rgba(127, 211, 255, 0.45); }
.lead { max-width: 540px; color: var(--dim); font-size: 19px; margin-bottom: 28px; }
.thermo { justify-self: center; text-align: center; }
.dial { position: relative; width: min(300px, 70vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #1c2c44, #0e1828); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px rgba(0, 0, 0, 0.45); display: grid; place-items: center; }
.ring { position: absolute; inset: 16px; border-radius: 50%; background: conic-gradient(from 220deg, var(--ice) 0 150deg, var(--ember) 150deg 200deg, transparent 200deg 360deg); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 12px), #000 calc(100% - 11px)); mask: radial-gradient(farthest-side, transparent calc(100% - 12px), #000 calc(100% - 11px)); }
.reading span { display: block; font-size: 76px; font-weight: 800; line-height: 1; }
.reading small { color: var(--dim); font-size: 14px; }
.outside { margin-top: 18px; display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--panel); color: var(--dim); font-size: 15px; }
.outside b { color: var(--ice); }

.help { padding: clamp(48px, 7vw, 88px) clamp(16px, 4vw, 48px); background: var(--panel); border-radius: 32px 32px 0 0; }
.help-head { max-width: 640px; margin-bottom: 28px; }
.help-head p:last-child { color: var(--dim); }
.triage { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-weight: 700; margin-bottom: 12px; color: var(--dim); font-size: 15px; }
.symptoms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.symptoms legend { grid-column: 1 / -1; }
.symptoms label, .toggle label { position: relative; display: block; cursor: pointer; }
.symptoms input, .toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.symptoms span { display: flex; align-items: center; min-height: 58px; padding: 12px 16px 12px 46px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel-2); font-weight: 600; transition: border-color 0.15s, background 0.15s; }
.symptoms span::before { content: ""; position: absolute; left: 16px; width: 18px; height: 18px; border: 2px solid var(--dim); border-radius: 6px; }
.symptoms input:checked + span { border-color: var(--ice); background: #17314a; }
.symptoms input:checked + span::before { background: var(--ice); border-color: var(--ice); box-shadow: inset 0 0 0 3px #17314a; }
.symptoms .danger input:checked + span { border-color: #ff5a5a; background: #3a1620; }
.symptoms .danger input:checked + span::before { background: #ff5a5a; border-color: #ff5a5a; box-shadow: inset 0 0 0 3px #3a1620; }
.symptoms input:focus-visible + span, .toggle input:focus-visible + span { outline: 2px solid var(--ice); outline-offset: 2px; }

.verdict { padding: 26px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); }
.v-label { margin: 0 0 6px; color: var(--dim); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }
.verdict h3 { font-size: 28px; }
.verdict p { color: var(--dim); }
.verdict ul { margin: 0; padding-left: 20px; }
.verdict li { margin-bottom: 8px; }
.verdict.is-urgent { border-color: var(--ember); box-shadow: 0 0 0 1px var(--ember) inset; }
.verdict.is-urgent h3 { color: var(--ember); }
.verdict.is-soon h3 { color: #ffd166; }
.verdict.is-easy h3 { color: #3ee08f; }
.verdict.is-danger { background: #5a0f18; border-color: #ff5a5a; }
.verdict.is-danger h3 { color: #fff; }
.verdict.is-danger p { color: #ffd9dd; }

form { margin-top: 26px; padding: clamp(20px, 3vw, 32px); border-radius: 22px; background: var(--panel-2); border: 1px solid var(--line); }
.hidden-summary { display: none; }
form h3 { font-size: 24px; }
label { display: block; margin-bottom: 14px; font-weight: 600; font-size: 15px; color: var(--dim); }
input:not([type=radio]):not([type=checkbox]), select { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); font: inherit; font-size: 16px; }
input:focus, select:focus { outline: 2px solid var(--ice); outline-offset: 1px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.toggle { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.toggle legend { width: 100%; }
.toggle label { margin: 0; }
.toggle span { display: inline-block; padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-weight: 700; }
.toggle input:checked + span { background: var(--ice); color: #04121f; border-color: var(--ice); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: clamp(48px, 7vw, 88px) clamp(16px, 4vw, 48px); background: var(--panel); }
.cards article { padding: 24px; border-radius: 20px; background: var(--panel-2); border: 1px solid var(--line); }
.ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--bg); margin-bottom: 16px; font-size: 22px; }
.cards p { margin: 0; color: var(--dim); }

.plan { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: clamp(48px, 7vw, 88px) clamp(16px, 4vw, 48px); background: linear-gradient(120deg, #1b2c46, #0b1320); }
.plan ul { margin: 0; padding: 0; list-style: none; }
.plan li { padding: 14px 18px; margin-bottom: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border-left: 4px solid var(--ember); }

.site-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 22px clamp(16px, 4vw, 48px); color: var(--dim); font-size: 14px; border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .hero, .triage, .plan { grid-template-columns: 1fr; }
  .thermo { order: -1; }
  .dial { width: 200px; }
  .reading span { font-size: 54px; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .logo em { display: none; }
  .symptoms, .row, .cards { grid-template-columns: 1fr; }
  .row { gap: 0; }
  .pill-call { padding: 8px 12px; font-size: 14px; }
  .btn { width: 100%; text-align: center; }
}
