/* SCN Loop by MedRite — showcase page */
:root {
  --spruce: #14594A;
  --spruce-deep: #0B3F34;
  --spruce-night: #072B24;
  --spruce-tint: #E3EFEA;
  --mint: #7FD8B8;
  --paper: #F1F3F7;
  --white: #FFFFFF;
  --ink: #1E2433;
  --moss: #5F6879;
  --line: #E0E4EC;
  --amber: #9C5409;
  --amber-bg: #F7EEDD;
  --brick: #AE3A2C;
  --brick-bg: #F9ECEA;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(30,36,51,.05), 0 8px 24px -8px rgba(30,36,51,.12);
  --shadow-lg: 0 2px 4px rgba(30,36,51,.06), 0 24px 60px -20px rgba(11,63,52,.35);
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 18px; line-height: 1.55;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
a { color: var(--spruce); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #2F7BE8; outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(860px, 100% - 40px); }
.ic { width: 1.15em; height: 1.15em; flex: none; }
svg.ic { display: inline-block; vertical-align: -.2em; }
[data-icon] { display: inline-flex; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s var(--ease), background .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { min-height: 44px; padding: .45em 1em; font-size: .95rem; }
.btn-lg { min-height: 58px; padding: .8em 1.6em; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--spruce); color: #fff; box-shadow: 0 6px 16px -6px rgba(20,89,74,.55); }
.btn-primary:hover { background: var(--spruce-deep); }
.btn-primary[disabled] { background: #9FB3AD; box-shadow: none; cursor: not-allowed; }
.btn-light { background: #fff; color: var(--spruce-deep); box-shadow: 0 10px 30px -10px rgba(0,0,0,.45); }
.btn-light:hover { background: var(--spruce-tint); transform: translateY(-1px); }
.btn-ghost-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn-outline { background: #fff; color: var(--spruce-deep); border-color: var(--line); }
.btn-outline:hover { border-color: var(--spruce); background: var(--spruce-tint); }
.btn-text { background: none; border: 0; color: var(--moss); text-decoration: underline; text-underline-offset: 3px; padding: .5em .8em; min-height: 44px; cursor: pointer; font-weight: 400; }
.btn-text:hover { color: var(--ink); }
.btn-icon { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; }

.pause-glyph { display: inline-block; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.is-paused .pause-glyph { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; border-right: 0; }

/* ---------- Demo strip & header ---------- */
.demo-strip {
  display: flex; gap: .6em; align-items: center; justify-content: center; text-align: center;
  background: var(--amber-bg); color: var(--amber); font-size: .88rem; padding: 7px 16px;
}
.demo-strip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; animation: pulse 2s infinite; }
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--spruce); color: #fff; display: grid; place-items: center; }
.brand-mark svg { width: 30px; height: 30px; }
.brand-dot { fill: var(--mint); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 1.2rem; letter-spacing: -.02em; }
.brand-text small { font-size: .78rem; color: var(--moss); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; padding: 10px 12px; border-radius: 8px; }
.main-nav a:hover { background: var(--paper); }
@media (max-width: 900px) { .main-nav { display: none; } .header-cta { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 85% 20%, #1D7560 0%, transparent 60%), linear-gradient(160deg, var(--spruce-deep) 0%, var(--spruce-night) 100%);
}
.hero-glow { position: absolute; inset: auto -10% -40% auto; width: 70vw; height: 70vw; border-radius: 50%; background: radial-gradient(circle, rgba(127,216,184,.16), transparent 60%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 72px 0 56px; }
.eyebrow { font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--spruce); margin-bottom: .9em; }
.eyebrow-light { color: var(--mint); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: .4em; }
.hl { color: var(--mint); }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.86); max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 24px; }
.hero-ctas.center { justify-content: center; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255,255,255,.85); font-size: .98rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { color: var(--mint); }

.hero-visual { position: relative; }
.loop-stage { position: relative; width: min(520px, 100%); margin-inline: auto; aspect-ratio: 1; }
#loop-svg { width: 100%; height: 100%; overflow: visible; }
.loop-track { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }
.loop-arc { fill: none; stroke: var(--mint); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(127,216,184,.6)); transition: stroke-dashoffset .1s linear; }
.loop-node { cursor: pointer; }
.loop-node .bg { fill: #0E4A3E; stroke: rgba(255,255,255,.22); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.loop-node .ring { fill: none; stroke: var(--mint); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.loop-node .glyph { color: rgba(255,255,255,.75); transition: color .4s; }
.loop-node.done .bg { fill: #145E4E; stroke: rgba(127,216,184,.55); }
.loop-node.done .glyph { color: var(--mint); }
.loop-node.active .bg { fill: var(--mint); stroke: #fff; }
.loop-node.active .glyph { color: var(--spruce-night); }
.loop-node.active .ring { animation: ripple 1.6s var(--ease) infinite; }
.loop-node:focus-visible { outline: none; }
.loop-node:focus-visible .bg { stroke: #fff; stroke-width: 4; }
.loop-label { fill: rgba(255,255,255,.72); font: 700 13px var(--font-body); letter-spacing: .02em; pointer-events: none; transition: fill .4s; }
.loop-label.active { fill: #fff; }
.loop-runner { fill: #fff; filter: drop-shadow(0 0 10px rgba(255,255,255,.9)); }
.loop-center { position: absolute; inset: 27%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.loop-count { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); font-weight: 700; margin: 0 0 .4em; }
.loop-title { font-family: var(--font-head); font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 800; line-height: 1.1; margin: 0 0 .4em; }
.loop-sub { font-size: clamp(.82rem, 1.2vw, .95rem); color: rgba(255,255,255,.78); margin: 0; line-height: 1.4; }
.loop-center.swap { animation: fadeUp .5s var(--ease); }
.loop-pause { position: absolute; right: 4px; bottom: 4px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.loop-pause:hover { background: rgba(255,255,255,.18); }

.partners { position: relative; border-top: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.14); }
.partners-inner { display: flex; align-items: center; gap: 28px; padding: 22px 0; flex-wrap: wrap; }
.partners-label { margin: 0; color: rgba(255,255,255,.7); font-size: .9rem; }
.partner-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 36px; }
.partner-list li { display: flex; flex-direction: column; }
.partner-list strong { font-family: var(--font-head); font-size: 1.15rem; letter-spacing: -.01em; }
.partner-list small { color: rgba(255,255,255,.62); font-size: .8rem; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 48px; gap: 24px; }
  .loop-stage { width: min(460px, 100%); }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-white { background: #fff; }
.section-tint { background: linear-gradient(180deg, var(--spruce-tint), var(--paper)); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; }
.section-lede { font-size: 1.12rem; color: var(--moss); }
.section-lede strong { color: var(--ink); }
.auto-pill { display: inline-flex; align-items: center; gap: 4px; padding: 1px 9px; border-radius: 99px; background: var(--spruce-tint); color: var(--spruce); font-size: .82rem; font-weight: 700; vertical-align: 2px; white-space: nowrap; }
.auto-pill .ic { width: .95em; height: .95em; }
.staff-only { display: none; }
body.staff .staff-only { display: inline; color: var(--amber); }

/* ---------- Journey ---------- */
.journey { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.journey-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: s; }
.journey-steps button {
  width: 100%; text-align: left; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: var(--radius); border: 1px solid transparent; background: transparent; cursor: pointer;
  position: relative; overflow: hidden; transition: background .25s, border-color .25s;
}
.journey-steps button:hover { background: #fff; }
.journey-steps .num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--moss); transition: all .3s; }
.journey-steps .t { font-weight: 700; display: block; line-height: 1.25; }
.journey-steps .s { display: block; font-size: .88rem; color: var(--moss); line-height: 1.35; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .3s, margin .3s; }
.journey-steps li.done .num { background: var(--spruce-tint); color: var(--spruce); border-color: transparent; }
.journey-steps li.active button { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.journey-steps li.active .num { background: var(--spruce); color: #fff; border-color: var(--spruce); }
.journey-steps li.active .s { max-height: 9em; opacity: 1; margin-top: 3px; }
.journey-steps .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--spruce); }
.journey-steps li.active .bar.run { animation: grow var(--dur, 5s) linear forwards; }

.journey-panel, .mock-window { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.panel-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #FAFBFC; }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: #E3E6EC; }
.win-dots i:first-child { background: #F2B8B0; } .win-dots i:nth-child(2) { background: #F3DBA4; } .win-dots i:nth-child(3) { background: #B5DCC9; }
.panel-title { font-weight: 700; font-size: .9rem; color: var(--moss); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sample { font-size: .72rem; font-weight: 700; color: var(--amber); background: var(--amber-bg); padding: 2px 8px; border-radius: 99px; white-space: nowrap; margin-left: 6px; letter-spacing: .02em; }

.board { display: grid; grid-template-columns: repeat(7, minmax(100px, 1fr)); gap: 7px; padding: 12px; background: var(--paper); overflow-x: auto; scrollbar-width: thin; }
.col { background: #E9ECF2; border-radius: 10px; padding: 8px; min-height: 196px; transition: background .4s, box-shadow .4s; }
.col.hot { background: var(--spruce-tint); box-shadow: inset 0 0 0 2px rgba(20,89,74,.35); }
.col h4 { font-family: var(--font-body); font-size: .7rem; gap: 4px; white-space: nowrap; letter-spacing: .04em !important; text-transform: uppercase; letter-spacing: .08em; color: var(--moss); margin: 2px 2px 8px; display: flex; justify-content: space-between; }
.col h4 b { font-weight: 700; color: var(--ink); background: #fff; border-radius: 99px; padding: 0 7px; }
.col-body { display: grid; gap: 6px; }
.kcard { background: #fff; border-radius: 8px; padding: 7px 8px; font-size: .78rem; line-height: 1.3; box-shadow: 0 1px 2px rgba(30,36,51,.08); border-left: 3px solid #D4DAE3; }
.kcard b { display: block; font-size: .82rem; }
.kcard .tag { color: var(--moss); font-size: .72rem; }
.kcard.ghost { opacity: .55; }
.kcard.maria { border-left-color: var(--spruce); box-shadow: 0 0 0 2px var(--spruce), 0 8px 18px -6px rgba(20,89,74,.5); position: relative; z-index: 2; }
.kcard.maria .tag { color: var(--spruce); font-weight: 700; }
.kcard .needs { display: flex; gap: 3px; margin-top: 4px; color: var(--spruce); }
.kcard .needs .ic { width: 14px; height: 14px; }

.feed { padding: 14px 18px 18px; }
.feed-head { font-weight: 700; font-size: .92rem; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #2DBE7E; box-shadow: 0 0 0 0 rgba(45,190,126,.6); animation: livePulse 1.8s infinite; }
.feed-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-height: 148px; align-content: start; }
.feed-list li { display: grid; grid-template-columns: 92px 1fr auto; gap: 10px; align-items: start; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: .93rem; animation: slideIn .45s var(--ease) both; }
.feed-list time { color: var(--moss); font-size: .8rem; padding-top: 2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.who { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; white-space: nowrap; display: inline-flex; gap: 4px; align-items: center; }
.who.auto { background: var(--spruce-tint); color: var(--spruce); }
.who.staff { background: #EEF0F5; color: var(--moss); }
.who .ic { width: 12px; height: 12px; }

@media (max-width: 960px) {
  .journey { grid-template-columns: 1fr; }
  .journey-steps { grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .journey-steps li { scroll-snap-align: start; }
  .journey-steps .s { display: none; }
  .feed-list li { grid-template-columns: 1fr auto; }
  .feed-list time { grid-column: 1 / -1; }
}

/* ---------- Mock screens ---------- */
.mock { margin-bottom: 56px; }
.mock-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.mock-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; color: var(--moss); position: relative; overflow: hidden; }
.mock-tab[aria-selected="true"] { background: var(--spruce); color: #fff; border-color: var(--spruce); }
.mock-tab .prog { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--mint); width: 0; }
.mock-tab[aria-selected="true"] .prog.run { animation: grow var(--dur, 7s) linear forwards; }
.mock-body { padding: 20px; min-height: 360px; background: var(--paper); }
.mock-body > * { animation: fadeUp .45s var(--ease); }

.mk-cols { display: grid; grid-template-columns: repeat(4, minmax(160px, 1fr)); gap: 12px; overflow-x: auto; }
.mk-cols .col { min-height: 300px; }
.mk-cols .kcard { font-size: .85rem; padding: 10px; }
.mk-cols .kcard .row { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 6px; }
.partner-tag { font-size: .7rem; font-weight: 700; padding: 1px 7px; border-radius: 99px; background: #EEF0F5; color: var(--moss); }
.age { font-size: .72rem; color: var(--moss); }
.age.warn { color: var(--amber); font-weight: 700; }

.tv { background: linear-gradient(160deg, #0B3F34, #072B24); color: #fff; border-radius: 14px; padding: 22px; }
.tv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: rgba(255,255,255,.75); font-size: .9rem; }
.tv-head strong { font-family: var(--font-head); color: #fff; font-size: 1.2rem; }
.tv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.tv-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px; }
.tv-stat .n { font-family: var(--font-head); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.tv-stat .l { font-size: .82rem; color: rgba(255,255,255,.7); margin-top: 6px; }
.tv-stat .d { font-size: .78rem; color: var(--mint); font-weight: 700; }
.tv-team { display: grid; gap: 8px; }
.tv-row { display: grid; grid-template-columns: 90px 1fr 44px; gap: 10px; align-items: center; font-size: .86rem; }
.tv-track { height: 10px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; }
.tv-fill { height: 100%; background: var(--mint); border-radius: 99px; width: 0; transition: width 1.2s var(--ease); }
.tv-row span:last-child { text-align: right; font-variant-numeric: tabular-nums; }

.mk-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); font-size: .9rem; }
.mk-table th { text-align: left; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--moss); background: #FAFBFC; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.mk-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); }
.mk-table tr:last-child td { border-bottom: 0; }
.mk-scroll { overflow-x: auto; }
.status { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; transition: background .4s, color .4s; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-ordered { background: #EEF0F5; color: var(--moss); }
.st-confirmed { background: var(--amber-bg); color: var(--amber); }
.st-delivered { background: var(--spruce-tint); color: var(--spruce); }
.st-paid { background: var(--spruce); color: #fff; }
.st-paid::before { background: var(--mint); }
.flash { animation: flash 1s var(--ease); }
.mk-toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; }
.chip { font-size: .8rem; padding: 4px 10px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--moss); }
.chip.on { border-color: var(--spruce); color: var(--spruce); font-weight: 700; }
.mk-toolbar .spacer { flex: 1; }

.bill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.tile .l { font-size: .82rem; color: var(--moss); }
.tile .n { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tile .meter { height: 8px; background: #EEF0F5; border-radius: 99px; margin-top: 10px; overflow: hidden; }
.tile .meter i { display: block; height: 100%; background: var(--spruce); border-radius: 99px; width: 0; transition: width 1.2s var(--ease); }
.tile.open .meter i { background: var(--amber); }
.windows { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.windows h5 { font-size: .82rem; color: var(--moss); margin: 0 0 10px; font-family: var(--font-body); font-weight: 700; }
.win-row { display: grid; grid-template-columns: 110px 1fr 70px; gap: 10px; align-items: center; font-size: .85rem; margin-bottom: 8px; }
.win-track { height: 14px; background: #EEF0F5; border-radius: 4px; overflow: hidden; display: flex; }
.win-track .p { background: var(--spruce); width: 0; transition: width 1.1s var(--ease); }
.win-track .o { background: #E5B77A; width: 0; transition: width 1.1s var(--ease) .2s; }
.legend { display: flex; gap: 14px; font-size: .78rem; color: var(--moss); margin-top: 6px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }

@media (max-width: 760px) {
  .tv-stats, .bill-grid { grid-template-columns: repeat(2, 1fr); }
  .mock-body { padding: 12px; }
}

.feature-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); background: #fff; }
.feature .fi { width: 44px; height: 44px; border-radius: 12px; background: var(--spruce-tint); color: var(--spruce); display: grid; place-items: center; margin-bottom: 12px; }
.feature .fi .ic { width: 22px; height: 22px; }
.feature h3 { font-size: 1.12rem; margin-bottom: .3em; }
.feature p { margin: 0; color: var(--moss); font-size: .96rem; }

/* ---------- Numbers ---------- */
.numbers { background: var(--spruce); color: #fff; padding: 64px 0 40px; }
.numbers-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.numbers-grid li { border-left: 2px solid rgba(127,216,184,.5); padding-left: 18px; }
.numbers-grid .n { font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.numbers-grid .l { color: rgba(255,255,255,.82); margin-top: 8px; }
.numbers-note { margin: 28px 0 0; font-size: .85rem; color: rgba(255,255,255,.6); }
@media (max-width: 760px) { .numbers-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Services ---------- */
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.service { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 24px 20px; position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--spruce-tint); opacity: .7; transition: transform .5s var(--ease); }
.service:hover::after { transform: scale(1.3); }
.service .si { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 16px; background: var(--spruce); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.service .si .ic { width: 28px; height: 28px; }
.service h3 { font-size: 1.2rem; position: relative; z-index: 1; }
.service p { color: var(--moss); font-size: .95rem; margin: 0; position: relative; z-index: 1; }
@media (max-width: 1080px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Screening ---------- */
.screen-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 4vw, 44px); min-height: 420px; position: relative; }
.sc-view { animation: fadeUp .4s var(--ease); }
.sc-view.back { animation: fadeDown .4s var(--ease); }
.sc-intro { text-align: center; }
.sc-intro .big-ic { width: 76px; height: 76px; border-radius: 22px; background: var(--spruce-tint); color: var(--spruce); display: grid; place-items: center; margin: 0 auto 18px; }
.sc-intro .big-ic .ic { width: 38px; height: 38px; }
.sc-intro h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.sc-intro p { color: var(--moss); max-width: 34em; margin-inline: auto; }
.domain-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 26px; padding: 0; list-style: none; }
.domain-strip li { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 99px; background: var(--paper); font-size: .88rem; font-weight: 700; color: var(--moss); }
.domain-strip .ic { color: var(--spruce); }
.sc-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }

.progress { margin-bottom: 26px; }
.progress-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.progress-label { font-weight: 700; font-size: .95rem; color: var(--moss); }
.domain-chip { display: inline-flex; gap: 7px; align-items: center; font-weight: 700; font-size: .88rem; padding: 5px 12px; border-radius: 99px; background: var(--spruce-tint); color: var(--spruce); }
.progress-track { height: 8px; background: var(--paper); border-radius: 99px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--spruce), #2A8C72); border-radius: 99px; transition: width .5s var(--ease); }
.q-legend { font-family: var(--font-head); font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 700; line-height: 1.25; margin-bottom: .4em; padding: 0; outline: none; }
.q-hint { color: var(--moss); margin-bottom: 1em; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: grid; gap: 10px; margin: 18px 0 26px; }
.choices.cols-2 { grid-template-columns: 1fr 1fr; }
.choice { position: relative; display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 14px 18px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; font-size: 1.05rem; line-height: 1.35; transition: border-color .15s, background .15s, transform .12s; }
.choice:hover { border-color: #B8C4C0; }
.choice:active { transform: scale(.995); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice .mark { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #AEB6C4; display: grid; place-items: center; transition: all .15s; background: #fff; }
.choice.multi .mark { border-radius: 7px; }
.choice .mark .ic { width: 16px; height: 16px; color: #fff; opacity: 0; transform: scale(.4); transition: all .2s var(--ease); }
.choice:has(input:checked), .choice.checked { border-color: var(--spruce); background: var(--spruce-tint); }
.choice:has(input:checked) .mark, .choice.checked .mark { background: var(--spruce); border-color: var(--spruce); }
.choice:has(input:checked) .mark .ic, .choice.checked .mark .ic { opacity: 1; transform: none; }
.choice:has(input:focus-visible) { outline: 3px solid #2F7BE8; outline-offset: 2px; }
.choice.admin { border-style: dashed; color: var(--moss); background: #FAFBFC; font-size: .95rem; min-height: 50px; }
.admin-label { font-size: .78rem; font-weight: 700; color: var(--amber); text-transform: uppercase; letter-spacing: .08em; margin: 6px 0 -2px; }
.q-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; }
.q-nav .grow { flex: 1; }
@media (max-width: 560px) { .choices.cols-2 { grid-template-columns: 1fr; } .q-nav .btn { flex: 1; } .q-nav .grow { display: none; } }

.extra-field { margin-bottom: 22px; }
.extra-field > p { font-weight: 700; margin-bottom: 8px; }
.extra-field .choices { margin: 0; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.extra-field .choice { min-height: 50px; padding: 10px 14px; font-size: 1rem; }

.result-head { text-align: center; margin-bottom: 22px; }
.result-badge { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; background: var(--spruce); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px var(--spruce-tint); animation: pop .6s var(--ease); }
.result-badge .ic { width: 42px; height: 42px; }
.result-head h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.need-chips { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.need-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: var(--spruce-tint); color: var(--spruce-deep); font-weight: 700; animation: pop .5s var(--ease) both; }
.need-chips .ic { width: 20px; height: 20px; color: var(--spruce); }
.support-box { background: #F4F1FA; border: 1px solid #DCD3EE; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 22px; display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.support-box .ic { width: 28px; height: 28px; color: #5B3F99; }
.support-box p { margin: 0 0 .4em; }
.support-box a { color: #4A2F86; font-weight: 700; }
.route { background: var(--paper); border-radius: var(--radius); padding: 18px; margin-bottom: 22px; }
.route-title { font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.route-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; position: relative; }
.route-steps li { text-align: center; font-size: .85rem; color: var(--moss); position: relative; opacity: .45; transition: opacity .4s; }
.route-steps li.on { opacity: 1; color: var(--ink); }
.route-steps .rdot { width: 46px; height: 46px; margin: 0 auto 6px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; color: var(--moss); transition: all .4s var(--ease); position: relative; z-index: 1; }
.route-steps li.on .rdot { background: var(--spruce); border-color: var(--spruce); color: #fff; transform: scale(1.06); }
.route-steps li:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: calc(50% + 26px); right: calc(-50% + 26px); height: 2px; background: var(--line); }
.route-steps li.on:not(:last-child)::after { background: var(--spruce); }
.next-box h4 { font-size: 1.15rem; }
.next-box ul { margin: 0 0 22px; padding-left: 1.2em; color: var(--moss); }
.staff-summary { font-size: .9rem; background: var(--amber-bg); color: #5C3A10; border-radius: 10px; padding: 12px 14px; margin-bottom: 20px; }
.staff-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 6px 0 0; }
.staff-summary dt { font-weight: 700; }
.staff-summary dd { margin: 0; }

.send-card { border: 2px solid var(--spruce); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 28px); margin: 6px 0 22px; background: #fff; outline: none; }
.send-card h4 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin-bottom: .3em; }
.send-card h4 .ic { color: var(--spruce); width: 26px; height: 26px; }
.send-lede { color: var(--moss); margin-bottom: 18px; }
.send-card.sent { background: var(--spruce-tint); border-color: transparent; text-align: center; }
.send-card.sent h4 { justify-content: center; }
.send-card.sent .send-lede { margin: 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Call back ---------- */
.callback-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.callback-copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.check-list .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--spruce-tint); color: var(--spruce); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(20px, 3.5vw, 36px); }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field.sub { margin: 12px 0 0; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; font-size: .98rem; }
.field input[type="text"], .field input[type="tel"], .field select {
  width: 100%; min-height: 50px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--spruce); box-shadow: 0 0 0 4px rgba(20,89,74,.15); }
.field input[aria-invalid="true"] { border-color: var(--brick); background: var(--brick-bg); }
.field input.ok { border-color: #8CC4AE; }
.hint { font-size: .84rem; color: var(--moss); margin: 5px 0 0; }
.err { font-size: .88rem; color: var(--brick); margin: 5px 0 0; font-weight: 700; }
.err:empty { display: none; }
.note { font-size: .88rem; color: var(--amber); background: var(--amber-bg); padding: 8px 10px; border-radius: 8px; margin: 8px 0 0; }
.note.good { color: var(--spruce); background: var(--spruce-tint); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; flex: 1 1 auto; margin: 0; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 16px; border: 2px solid var(--line); border-radius: 10px; font-weight: 700; color: var(--moss); transition: all .15s; }
.seg input:checked + span { border-color: var(--spruce); background: var(--spruce-tint); color: var(--spruce-deep); }
.seg input:focus-visible + span { outline: 3px solid #2F7BE8; outline-offset: 2px; }
.optional { border: 1px dashed var(--line); border-radius: 10px; padding: 4px 14px; margin-bottom: 18px; }
.optional summary { cursor: pointer; font-weight: 700; color: var(--spruce); min-height: 44px; display: flex; align-items: center; }
.optional[open] { padding-bottom: 6px; }
.consent .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; cursor: pointer; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; }
.consent .check input { width: 24px; height: 24px; flex: none; margin: 1px 0 0; accent-color: var(--spruce); }
.consent .check:has(input:checked) { border-color: var(--spruce); background: var(--spruce-tint); }
.form-foot { font-size: .84rem; color: var(--moss); text-align: center; margin: 12px 0 0; }
.thanks { text-align: center; padding: 20px 0; animation: fadeUp .5s var(--ease); outline: none; }
.thanks-badge { width: 84px; height: 84px; border-radius: 50%; background: var(--spruce); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; box-shadow: 0 0 0 10px var(--spruce-tint); animation: pop .6s var(--ease); }
.thanks-badge .ic { width: 42px; height: 42px; }
.thanks h3 { font-size: 2rem; }
.thanks > p { color: var(--moss); font-size: 1.1rem; }
.next-steps { text-align: left; max-width: 400px; margin: 20px auto 26px; padding-left: 1.3em; display: grid; gap: 8px; }
@media (max-width: 900px) { .callback-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 520px) { .form-row.two { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Closing & footer ---------- */
.closing { background: radial-gradient(900px 400px at 50% 0%, #1D7560, transparent 70%), var(--spruce-deep); color: #fff; padding: 88px 0; text-align: center; }
.closing h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; }
.closing p { color: rgba(255,255,255,.82); font-size: 1.15rem; }
.closing-contact a { color: #fff; font-weight: 700; }
.site-footer { background: var(--spruce-night); color: rgba(255,255,255,.75); padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.brand-footer { color: #fff; margin-bottom: 14px; }
.brand-footer .brand-text small { color: rgba(255,255,255,.6); }
.footer-about { max-width: 30em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; font-size: .84rem; }
.footer-bottom p { margin: 0 0 6px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Booth controls, idle, toast ---------- */
.booth-btn { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.9); color: var(--moss); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: .55; transition: opacity .2s; }
.booth-btn:hover, .booth-btn[aria-expanded="true"] { opacity: 1; }
.booth-btn .ic { width: 22px; height: 22px; }
.booth-panel { position: fixed; right: 16px; bottom: 72px; z-index: 60; width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 10px; animation: fadeUp .25s var(--ease); }
.booth-title { font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--moss); margin: 4px 8px 6px; }
.booth-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; background: none; border-radius: 8px; cursor: pointer; text-align: left; font-weight: 700; font-size: .95rem; }
.booth-row:hover { background: var(--paper); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw { width: 38px; height: 22px; border-radius: 99px; background: #CBD2DD; position: relative; flex: none; transition: background .2s; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.switch input:checked + .sw { background: var(--spruce); }
.switch input:checked + .sw::after { transform: translateX(16px); }
.switch input:focus-visible + .sw { outline: 3px solid #2F7BE8; outline-offset: 2px; }
.booth-hint { font-size: .76rem; color: var(--moss); margin: 6px 8px 4px; }
kbd, code { font-size: .74rem; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; }

.idle { position: fixed; inset: 0; z-index: 90; background: rgba(7,43,36,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; animation: fadeIn .3s; }
.idle[hidden] { display: none; }
.idle-card { background: #fff; border-radius: 24px; padding: 36px 32px; text-align: center; max-width: 420px; width: 100%; box-shadow: var(--shadow-lg); animation: pop .4s var(--ease); }
.idle-ring { position: relative; width: 96px; height: 96px; margin: 0 auto 14px; }
.idle-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.idle-ring circle { fill: none; stroke: var(--paper); stroke-width: 6; }
.idle-ring #idle-arc { stroke: var(--spruce); stroke-linecap: round; stroke-dasharray: 213.6; transition: stroke-dashoffset 1s linear; }
.idle-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-size: 2rem; font-weight: 800; }
.idle-card h2 { font-size: 1.8rem; }
.idle-card p { color: var(--moss); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 95; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 99px; font-weight: 700; opacity: 0; pointer-events: none; transition: all .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal & keyframes ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.6); } 70% { transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes grow { from { width: 0; } to { width: 100%; } }
@keyframes ripple { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(45,190,126,.6); } 70% { box-shadow: 0 0 0 8px rgba(45,190,126,0); } 100% { box-shadow: 0 0 0 0 rgba(45,190,126,0); } }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(20,89,74,.5); } 100% { box-shadow: 0 0 0 10px rgba(20,89,74,0); } }

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

/* Large landscape screens (booth TV): bump the base size */
@media (min-width: 1700px) and (min-height: 900px) { body { font-size: 20px; } .wrap { width: min(1440px, 100% - 80px); } }
