/* coldwise.app: one stylesheet for the home, privacy, terms and support pages.
   Shared pieces (colours, header, footer, cards) come first, then the legal page layout,
   then the home page (everything under body.home). */
:root {
  --bg: #071A2B;
  --bg-2: #0A2A47;
  --ink: #04243D;
  --ice: #E9F6FF;
  --text: #D6E8F5;
  --muted: #B9D3E6;
  --line: rgba(233, 246, 255, 0.14);
  --glass: rgba(233, 246, 255, 0.06);
  --ember: #E2FF4A;
  --cyan: #3EC5FF;
  --flush: #FF8FB8;
  --warn: #FFB86B;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --rise: cubic-bezier(0.2, 0.9, 0.3, 1);
  --pop: cubic-bezier(0.34, 1.5, 0.64, 1);
  --num: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background:
    radial-gradient(60% 45% at 12% 0%, rgba(20, 121, 201, 0.42) 0%, transparent 70%),
    radial-gradient(50% 40% at 95% 18%, rgba(15, 95, 208, 0.30) 0%, transparent 70%),
    radial-gradient(120% 70% at 20% 0%, var(--bg-2) 0%, var(--bg) 60%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--ice);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

a { color: var(--cyan); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ice); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { left: 16px; }

/* Header, shared by every page */
header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ice); text-decoration: none; font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; flex: none; }
header.top nav { display: flex; align-items: center; gap: 4px; }
header.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 8px 10px; border-radius: 999px; }
header.top nav a:hover { color: var(--ice); background: var(--glass); }

/* Labels and cards, shared */
.label { color: var(--ember); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 10px; }
.muted { color: var(--muted); font-size: 15px; }
.card { background: var(--glass); border: 1px solid var(--line); border-radius: 24px; padding: 20px 22px; margin: 20px 0; }
.card.safety { border-color: rgba(255, 184, 107, 0.45); }
.card.safety strong { color: var(--warn); }

/* Footer, shared */
footer { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); margin-right: 16px; }
footer a:hover { color: var(--ice); }

/* Legal pages: privacy, terms, support */
.wrap { max-width: 720px; margin: 0 auto; padding: 28px 20px 64px; }
.wrap header.top { margin-bottom: 48px; }
.wrap header.top nav a:last-child { margin-right: -10px; }
.wrap h1 { font-size: clamp(36px, 8vw, 56px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 16px; }
.wrap h2 { font-size: 22px; font-weight: 600; margin: 40px 0 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.wrap h3 { font-size: 17px; font-weight: 600; margin: 24px 0 4px; }
.wrap p, .wrap li { color: var(--text); }
.wrap .lead { font-size: 20px; color: var(--ice); }

/* ---------------------------------------------------------------------------------------------
   Home page
   --------------------------------------------------------------------------------------------- */
.home h1, .home h2, .home h3 { margin: 0; }
.home p { color: var(--text); margin: 0; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.site-header { position: sticky; top: 0; z-index: 50; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(7, 26, 43, 0.72); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--line); }
.site-header header.top { height: 68px; }
.site-header .nav-links { display: none; }
@media (min-width: 860px) { .site-header .nav-links { display: flex; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-size: 17px; font-weight: 600; text-decoration: none; transition: transform 0.2s var(--rise), background 0.2s, box-shadow 0.2s; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ice); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(62, 197, 255, 0.55); }
.btn-primary:hover { background: #fff; box-shadow: 0 14px 36px -10px rgba(62, 197, 255, 0.75); }
.btn-primary svg { width: 22px; height: 22px; flex: none; }
.btn-primary .btn-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn-primary .btn-text small { font-size: 11px; font-weight: 500; letter-spacing: 0.01em; }
.btn-primary .btn-text span { font-size: 19px; letter-spacing: -0.01em; }
.btn-glass { background: var(--glass); color: var(--ice); border: 1px solid var(--line); }
.btn-glass:hover { background: rgba(233, 246, 255, 0.1); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }
header.top nav a.btn-small { color: var(--ink); background: var(--ice); margin-left: 8px; padding: 0 16px; }
header.top nav a.btn-small:hover { background: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; margin-top: -68px; padding-top: 68px; }
.hero canvas { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 48px; padding-top: 56px; padding-bottom: 72px; align-items: center; }
.hero h1 { font-family: var(--num); font-size: clamp(56px, 13vw, 112px); font-weight: 200; letter-spacing: -0.045em; line-height: 0.95; }
.hero .lead { font-size: clamp(19px, 2.2vw, 22px); color: var(--ice); margin-top: 20px; max-width: 30ch; line-height: 1.45; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 32px; }
.hero-note { color: var(--ice); font-size: 14px; text-shadow: 0 1px 12px rgba(7, 26, 43, 0.95), 0 0 2px rgba(7, 26, 43, 0.9); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(7, 26, 43, 0.45); border: 1px solid var(--line); color: var(--ice); font-size: 14px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); flex: none; }
.chip.y i { background: var(--ember); }
.chip.o i { background: var(--warn); }
.chip.p i { background: var(--flush); }
.hero-phone { display: flex; justify-content: center; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; padding-top: 72px; padding-bottom: 96px; }
  .hero-phone { justify-content: flex-end; padding-right: 24px; }
}

/* Phone mockup: a bezel round a real screenshot */
.phone { position: relative; width: min(300px, 74vw); aspect-ratio: 1320 / 2868; border-radius: 15% / 7%; padding: 3.2%; background: linear-gradient(160deg, #2a3d50, #0b1826 40%, #13283c); box-shadow: 0 0 0 1px rgba(233, 246, 255, 0.18), 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 90px -20px rgba(62, 197, 255, 0.35); flex: none; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 12.4% / 5.8%; background: var(--bg); }
.phone.sm { width: min(250px, 62vw); }
.phone.tilt-l { transform: rotate(-3deg); }
.phone.tilt-r { transform: rotate(3deg); }

/* Sections */
.section { position: relative; padding: 88px 0; scroll-margin-top: 40px; }
.section + .section { border-top: 1px solid rgba(233, 246, 255, 0.07); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { font-family: var(--num); font-size: clamp(36px, 6vw, 60px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.04; }
.section-head p { font-size: 19px; margin-top: 16px; line-height: 1.5; }
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split.flip > :first-child { order: 2; }
  .split.top { align-items: start; }
}
.phones { display: flex; justify-content: center; gap: 16px; }
.phones .phone { width: min(250px, 44vw); }
.phones .phone:nth-child(2) { margin-top: 48px; }

.glass { background: var(--glass); border: 1px solid var(--line); border-radius: 28px; padding: 28px; }
.glass h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.glass p { font-size: 16px; line-height: 1.5; }

/* Feature lists */
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); }
.points li strong { display: block; color: var(--ice); font-size: 17px; font-weight: 600; }
.points li span { color: var(--text); font-size: 15px; line-height: 1.5; }
.icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(62, 197, 255, 0.12); color: var(--cyan); }
.icon svg { width: 22px; height: 22px; }
.icon.y { background: rgba(226, 255, 74, 0.12); color: var(--ember); }
.icon.o { background: rgba(255, 184, 107, 0.14); color: var(--warn); }
.icon.p { background: rgba(255, 143, 184, 0.14); color: var(--flush); }

/* Big numerals */
.num { font-family: var(--num); font-weight: 200; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }

/* Score card */
.score-card { padding: 32px; }
.score-top { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.ring { position: relative; width: 168px; height: 168px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { stroke: rgba(233, 246, 255, 0.12); }
.ring .fill { stroke: var(--cyan); stroke-linecap: round; }
.ring .num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 72px; color: var(--ember); }
.score-word { font-size: 30px; font-weight: 300; letter-spacing: -0.02em; color: var(--ice); }
.score-up { color: var(--ember); font-weight: 600; font-size: 15px; margin-top: 4px; }
.parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.part .val { font-family: var(--num); font-size: 30px; font-weight: 300; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.part .val small { font-size: 15px; color: var(--muted); letter-spacing: 0; }
.part .name { font-size: 14px; color: var(--text); margin-top: 6px; }
.bar { height: 5px; border-radius: 999px; background: rgba(233, 246, 255, 0.14); overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--cyan); }
.bar.y i { background: var(--ember); }
.bar.p i { background: var(--flush); }
.score-words { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding: 0; list-style: none; }
.score-words li { font-size: 13px; color: var(--muted); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }
.score-words li b { color: var(--ice); font-weight: 600; margin-right: 4px; }

/* Streak week */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 24px; }
.day { text-align: center; }
.day b { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 8px; }
.mark { width: 100%; max-width: 46px; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); }
.mark svg { width: 55%; height: 55%; }
.mark.done { background: var(--ember); border-color: var(--ember); color: var(--ink); }
.mark.rest { border: 1.5px dashed var(--cyan); color: var(--cyan); font-size: 13px; font-weight: 700; }
.mark.today { border-color: var(--ice); color: var(--ice); }
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; background: var(--ember); }
.legend span.r::before { background: transparent; border: 1.5px dashed var(--cyan); width: 7px; height: 7px; }
.streak-head { display: flex; align-items: baseline; gap: 12px; }
.streak-head .num { font-size: 72px; color: var(--ember); }
.streak-head span { color: var(--ice); font-size: 18px; }
.milestones { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 20px; padding: 0; list-style: none; max-width: 360px; }
.milestones li { text-align: center; padding: 8px 4px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); font-family: var(--num); font-size: 20px; font-weight: 300; }
.milestones li small { display: block; font-family: inherit; font-size: 10px; letter-spacing: 0.12em; color: var(--muted); font-weight: 700; }
.milestones li.hit { border-color: rgba(226, 255, 74, 0.5); color: var(--ember); }

/* Feel picker and programs */
.feel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.feel span { text-align: center; padding: 12px 6px; border-radius: 999px; background: rgba(233, 246, 255, 0.08); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.feel span.on { background: var(--ice); color: var(--ink); border-color: var(--ice); }
.next-plan { margin-top: 18px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.next-plan .num { font-size: 56px; }
.next-plan em { font-style: normal; color: var(--ember); font-weight: 600; font-size: 15px; }
.programs { display: grid; gap: 14px; }
@media (min-width: 640px) { .programs { grid-template-columns: 1fr 1fr; } }
.program { padding: 22px; border-radius: 26px; background: var(--glass); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.program .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.program .label { margin: 0; font-size: 11px; }
.program .label.c { color: var(--cyan); }
.tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(233, 246, 255, 0.1); color: var(--ice); white-space: nowrap; }
.tag.plus { background: rgba(226, 255, 74, 0.16); color: var(--ember); }
.soon { display: inline-block; margin-left: 10px; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(233, 246, 255, 0.22); color: var(--ice); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; vertical-align: 1px; }
.program h3 { font-size: 24px; font-weight: 300; letter-spacing: -0.02em; }
.program p { font-size: 15px; line-height: 1.45; }
.program .meta { font-size: 13px; color: var(--muted); font-weight: 600; }
.strip { display: block; width: 100%; height: 14px; margin-top: 8px; }
.strip-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }

/* Journal */
.mood { display: grid; gap: 10px; margin-top: 4px; }
.mood-row { display: grid; grid-template-columns: 60px repeat(3, 1fr); gap: 6px; align-items: center; font-size: 14px; }
.mood-row span { text-align: center; padding: 8px 4px; border-radius: 999px; background: rgba(233, 246, 255, 0.07); border: 1px solid var(--line); font-size: 13px; }
.mood-row span.on { background: rgba(62, 197, 255, 0.2); border-color: var(--cyan); color: var(--ice); }
.mood-row b { font-weight: 500; color: var(--muted); }
.insight { margin-top: 18px; padding: 16px 18px; border-radius: 20px; background: rgba(226, 255, 74, 0.08); border: 1px solid rgba(226, 255, 74, 0.28); }
.insight .label { margin-bottom: 4px; }
.insight p { color: var(--ice); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.tags li { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); }

/* Safety */
.safety-band { border-radius: 32px; border: 1px solid rgba(255, 184, 107, 0.4); background: radial-gradient(80% 120% at 0% 0%, rgba(255, 184, 107, 0.14), transparent 60%), var(--glass); padding: 36px 28px; }
.safety-band .label { color: var(--warn); }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } .safety-band { padding: 48px; } }
.steps li { position: relative; padding: 20px; border-radius: 22px; background: rgba(7, 26, 43, 0.5); border: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--warn); color: var(--warn); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.steps strong { display: block; color: var(--ice); margin-bottom: 4px; }
.steps span { font-size: 15px; color: var(--text); line-height: 1.5; }
.safety-note { margin-top: 24px; font-size: 14px; color: var(--muted); }
.safety-note strong { color: var(--warn); }
.ok-card { margin-top: 0; text-align: center; padding: 28px 20px; border-radius: 26px; background: rgba(7, 26, 43, 0.55); border: 1px solid rgba(255, 184, 107, 0.35); }
.ok-card .num { font-size: 64px; color: var(--warn); margin: 6px 0 14px; }
.ok-card .q { font-size: 26px; font-weight: 300; color: var(--ice); }
.ok-card .btn { width: 100%; margin-top: 8px; min-height: 48px; font-size: 16px; }

/* Everywhere grid */
.grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .grid { grid-template-columns: repeat(3, 1fr); } .grid .wide { grid-column: span 2; } }
.tile { padding: 26px; border-radius: 28px; background: var(--glass); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.tile h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.tile p { font-size: 15px; line-height: 1.5; }
.tile .art { margin-bottom: 14px; min-height: 150px; display: grid; place-items: center; }
.tile.wide .art { min-height: 0; }

.watch { position: relative; width: 132px; height: 160px; border-radius: 40px; background: linear-gradient(160deg, #33475b, #0d1a28 50%, #1a2f44); padding: 9px; box-shadow: 0 0 0 1px rgba(233, 246, 255, 0.16), 0 20px 40px -20px #000; }
.watch::after { content: ""; position: absolute; right: -6px; top: 42px; width: 6px; height: 26px; border-radius: 0 4px 4px 0; background: #3a4d61; }
.watch-screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #02101c; }
.watch-screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.watch-ui { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.watch-ui .label { font-size: 8px; margin: 0; }
.watch-ui .num { font-size: 34px; color: var(--ice); text-shadow: 0 1px 8px rgba(2, 16, 28, 0.8); }
.watch-ui .hr { font-size: 11px; color: var(--flush); margin-top: 4px; }

.live { width: 100%; max-width: 360px; border-radius: 24px; padding: 14px 16px; background: rgba(20, 30, 40, 0.75); border: 1px solid var(--line); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.live-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.live .brand-s { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.live .brand-s svg { width: 16px; height: 16px; }
.live .time { font-family: var(--num); font-size: 34px; font-weight: 300; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.live .time small { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; font-family: -apple-system, sans-serif; font-weight: 700; margin-left: 6px; }
.live .stat { font-size: 13px; color: var(--text); text-align: right; }
.live .stat b { color: var(--ice); font-weight: 600; }
.island { margin: 0 auto 14px; width: 190px; height: 34px; border-radius: 999px; background: #000; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.island .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.island span { color: var(--cyan); }

.widgets { display: flex; gap: 12px; }
.widget { width: 120px; height: 120px; border-radius: 26px; padding: 12px; background: linear-gradient(160deg, #0f3556, #071A2B); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.widget .label { font-size: 9px; margin: 0; }
.widget .num { font-size: 44px; }
.widget small { font-size: 11px; color: var(--muted); }
.mini-ring { width: 58px; height: 58px; position: relative; }
.mini-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mini-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--num); font-weight: 300; font-size: 22px; color: var(--ember); }

.siri { width: 100%; max-width: 320px; }
.bubble { padding: 12px 16px; border-radius: 20px 20px 6px 20px; background: rgba(62, 197, 255, 0.18); border: 1px solid rgba(62, 197, 255, 0.35); color: var(--ice); font-size: 16px; margin-left: auto; width: fit-content; }
.bubble.reply { margin: 10px 0 0; border-radius: 20px 20px 20px 6px; background: var(--glass); border-color: var(--line); color: var(--text); }

.temp { display: flex; align-items: center; gap: 18px; }
.temp .num { font-size: 64px; color: var(--cyan); }
.temp .num sup { font-size: 24px; vertical-align: top; position: relative; top: 8px; margin-left: 2px; }
.temp-meta { font-size: 13px; color: var(--muted); line-height: 1.5; }
.temp-meta b { color: var(--ember); font-weight: 600; letter-spacing: 0.1em; font-size: 11px; display: block; }

.health { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: rgba(233, 246, 255, 0.05); border: 1px solid var(--line); width: 100%; max-width: 320px; }
.health + .health { margin-top: 8px; }
.health .icon { width: 36px; height: 36px; border-radius: 11px; }
.health .icon svg { width: 18px; height: 18px; }
.health div { font-size: 14px; color: var(--text); line-height: 1.3; }
.health div b { display: block; color: var(--ice); font-weight: 600; }
.health-stack { width: 100%; display: grid; justify-items: center; }

/* Coldwise+ */
.plans { display: grid; gap: 16px; }
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { padding: 32px 28px; border-radius: 32px; background: var(--glass); border: 1px solid var(--line); }
.plan.plus { background: radial-gradient(90% 80% at 100% 0%, rgba(226, 255, 74, 0.12), transparent 60%), var(--glass); border-color: rgba(226, 255, 74, 0.4); }
.plan h3 { font-size: 30px; font-weight: 300; letter-spacing: -0.02em; }
.plan h3 .plus-sign { color: var(--ember); }
.plan .price { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.plan .price .num { font-size: 56px; }
.plan .price span { color: var(--muted); font-size: 15px; }
.plan .sub { font-size: 15px; color: var(--text); margin-top: 6px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16px; color: var(--text); line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(62, 197, 255, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%233EC5FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.plan.plus .ticks li::before { background-color: rgba(226, 255, 74, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23E2FF4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fine { margin-top: 24px; font-size: 13px; color: var(--muted); line-height: 1.5; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 22px; background: var(--glass); border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-size: 17px; font-weight: 600; position: relative; color: var(--ice); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 22px 20px; font-size: 16px; line-height: 1.55; }

/* Closing band */
.closer { position: relative; overflow: hidden; padding: 120px 0 200px; text-align: center; }
.closer canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.closer .container { position: relative; }
.closer h2 { font-family: var(--num); font-size: clamp(44px, 9vw, 88px); font-weight: 200; letter-spacing: -0.045em; line-height: 1; }
.closer p { margin: 18px auto 32px; max-width: 34ch; font-size: 19px; }

/* Home footer */
.site-footer { margin-top: 0; padding: 40px 0 48px; border-top: 1px solid var(--line); background: rgba(4, 16, 28, 0.6); }
.site-footer .foot { display: grid; gap: 24px; }
@media (min-width: 800px) { .site-footer .foot { grid-template-columns: 1fr auto; align-items: start; } }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer nav a { margin: 0; }
.site-footer p { font-size: 13px; color: var(--muted); line-height: 1.55; margin-top: 10px; max-width: 62ch; }
.site-footer .brand { font-size: 20px; }

/* Motion: hidden start states only apply once the script has run (html.js), so nothing is lost
   without JavaScript, and never with Reduce Motion. */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--rise), transform 0.6s var(--rise); transition-delay: var(--d, 0s); }
  .js .rise.in { opacity: 1; transform: none; }
  .js .pops > * { opacity: 0; transform: scale(0.6); transition: opacity 0.35s ease-out, transform 0.45s var(--pop); transition-delay: var(--d, 0s); }
  .js .pops.in > * { opacity: 1; transform: none; }
  .js .phone.tilt-l.rise { transform: translateY(14px) rotate(-3deg); }
  .js .phone.tilt-l.rise.in { transform: rotate(-3deg); }
  .js .phone.tilt-r.rise { transform: translateY(14px) rotate(3deg); }
  .js .phone.tilt-r.rise.in { transform: rotate(3deg); }
}

@media (max-width: 420px) {
  .section { padding: 72px 0; }
  .glass, .score-card { padding: 22px; }
  .ring { width: 136px; height: 136px; }
  .ring .num { font-size: 58px; }
  .score-top { gap: 20px; }
  .part .val { font-size: 24px; }
  .widget { width: 108px; height: 108px; }
  .btn-primary .btn-text span { font-size: 18px; }
}
