/* Vistapane website
   Layout: a midnight hero where a live lobby TV rises with the brand's sunrise, then calm mist
   sections on one 12-column grid. Every capability is shown as the screen people would see. */

:root {
  /* Brand constants (same in every theme) */
  --midnight: #0B2545;
  --midnight-2: #081D38;
  --harbor: #13315C;
  --sky: #8DE0FF;
  --sunrise: #FFC857;
  --mist: #EEF4ED;
  --bezel: #060D18;
  --on-dark: #E8F0F6;
  --on-dark-muted: #A9BCD0;
  --on-dark-line: #ffffff1f;
  --alert-emergency: #B91C1C;
  --alert-warning: #B45309;
  --alert-info: #1D4ED8;
  --alert-ok: #15803D;

  /* Semantic, light */
  --surface: #EEF4ED;
  --surface-raised: #FFFFFF;
  --surface-sunken: #E2EAE4;
  --line: #D3DDD7;
  --line-strong: #7B8DA1;
  --ink: #0B2545;
  --ink-muted: #4A5D73;
  --accent: #0A6A9E;
  --on-accent: #FFFFFF;
  --accent-soft: #DDF3FC;
  --success: #17704A;
  --success-soft: #DCF3E7;
  --busy: #B42318;
  --shadow-sm: 0 1px 2px #0B25450F, 0 1px 3px #0B254514;
  --shadow-md: 0 8px 24px #0B25451A, 0 2px 6px #0B25450F;
  --shadow-lg: 0 30px 70px #0B254540, 0 8px 20px #0B25451F;
  --focus-ring: 0 0 0 2px #FFFFFF, 0 0 0 4px #0A6A9E;

  /* Type */
  --font-display: Sora, "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --font-sans: Figtree, "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", Consolas, ui-monospace, monospace;
  --step-0: 17px;
  --step-1: 19px;
  --step-2: clamp(22px, 2.2vw, 26px);
  --step-3: clamp(30px, 3.8vw, 44px);
  --step-4: clamp(42px, 5vw, 68px);

  /* Shape and space */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #07182E;
    --surface-raised: #0F2240;
    --surface-sunken: #0A1C35;
    --line: #1E3556;
    --line-strong: #5F7C9E;
    --ink: #E8F0F6;
    --ink-muted: #9DB2C7;
    --accent: #8DE0FF;
    --on-accent: #0B2545;
    --accent-soft: #0E3A5C;
    --success: #5EE0A0;
    --success-soft: #0F3A2B;
    --busy: #FF8A80;
    --shadow-sm: 0 1px 2px #00000066;
    --shadow-md: 0 8px 24px #00000066;
    --shadow-lg: 0 30px 70px #000000A6;
    --focus-ring: 0 0 0 2px #0F2240, 0 0 0 4px #8DE0FF;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface: #07182E;
  --surface-raised: #0F2240;
  --surface-sunken: #0A1C35;
  --line: #1E3556;
  --line-strong: #5F7C9E;
  --ink: #E8F0F6;
  --ink-muted: #9DB2C7;
  --accent: #8DE0FF;
  --on-accent: #0B2545;
  --accent-soft: #0E3A5C;
  --success: #5EE0A0;
  --success-soft: #0F3A2B;
  --busy: #FF8A80;
  --shadow-sm: 0 1px 2px #00000066;
  --shadow-md: 0 8px 24px #00000066;
  --shadow-lg: 0 30px 70px #000000A6;
  --focus-ring: 0 0 0 2px #0F2240, 0 0 0 4px #8DE0FF;
  color-scheme: dark;
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; text-wrap: balance; margin: 0; }
h2 { font-size: var(--step-3); line-height: 1.08; letter-spacing: -0.035em; }
h3 { font-size: var(--step-1); line-height: 1.3; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
code, .mono { font-family: var(--font-mono); font-size: 0.86em; }
ul, ol { margin: 0; padding: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface-raised); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

.eyebrow { font: 600 13px/1.4 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.on-dark .eyebrow { color: var(--sky); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--radius-md);
  font: 600 15.5px/1 var(--font-sans);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm, .site-header .btn { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-secondary { background: var(--surface-raised); color: var(--ink); border-color: var(--line-strong); }
.on-dark .btn-primary { background: var(--sky); color: var(--midnight); }
.on-dark .btn-primary:hover { box-shadow: 0 12px 30px -10px #8DE0FFAA; }
.on-dark .btn-ghost { color: var(--on-dark); border-color: #5F7C9E; }
.on-dark .btn-ghost:hover { background: #ffffff12; }
.on-dark :focus-visible { box-shadow: 0 0 0 2px var(--midnight), 0 0 0 4px var(--sky); }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: color-mix(in srgb, var(--midnight) 94%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--on-dark-line); background: color-mix(in srgb, var(--midnight) 97%, transparent); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; flex: none; border-radius: 8px; }
.brand svg { height: 32px; width: auto; display: block; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  position: relative; color: var(--on-dark-muted); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 8px 12px; border-radius: var(--radius-sm); transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--on-dark); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
@media (max-width: 760px) { .nav { display: none; } .site-header .btn { margin-left: auto; } }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 0%, var(--harbor) 0%, var(--midnight) 55%, var(--midnight-2) 100%);
  color: var(--on-dark);
  margin-top: -68px; padding-top: calc(68px + clamp(48px, 7vw, 96px));
}
.sun {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(900px, 120vw); aspect-ratio: 1; right: -12%; top: 18%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #FFC85733 0%, #FFC8571A 28%, #8DE0FF0F 48%, transparent 66%);
  filter: blur(8px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero h1 { font-size: var(--step-4); line-height: .98; letter-spacing: -0.045em; font-weight: 600; text-wrap: initial; }
.hero .lede { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--on-dark-muted); max-width: 33em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: var(--on-dark-muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sunrise); box-shadow: 0 0 0 3px #FFC85733; }

/* the lobby TV */
.hero-tv { margin: 0; display: grid; gap: 14px; justify-items: center; }
.tv {
  width: 100%; padding: 10px; border-radius: 18px;
  background: linear-gradient(160deg, #1b2a40, var(--bezel) 40%);
  box-shadow: 0 0 0 1px #ffffff14, 0 40px 80px -20px #000000B3, 0 0 120px -30px #FFC85740;
}
.tv-screen {
  position: relative; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden;
  background: #071a33; container-type: inline-size;
  display: grid; grid-template-rows: 1fr auto;
}
.slides { position: relative; min-height: 0; }
.slide {
  position: absolute; inset: 0; padding: 6cqi 5cqi 4cqi;
  opacity: 0; transform: scale(1.03); transition: opacity .9s var(--ease), transform 1.4s var(--ease);
  color: #fff;
}
.slide.on { opacity: 1; transform: none; }
.slide .tag { font: 700 1.55cqi/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sunrise); }
.slide .headline { font: 600 5.2cqi/1.05 var(--font-display); letter-spacing: -0.03em; }
.slide .sub { font-size: 2.1cqi; color: #D6E2EC; }

.s-announce { display: grid; grid-template-columns: 1fr 30%; gap: 0; padding: 0; }
.s-announce .zone-main {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 1.6cqi; padding: 5cqi;
  background: linear-gradient(180deg, #1F4E8566 0%, #0B254500 50%), linear-gradient(135deg, #13315C, #0B2545 70%);
}
.s-announce .zone-side {
  display: flex; flex-direction: column; gap: .6cqi; padding: 4cqi 3.4cqi;
  background: #0A1C35; border-left: 1px solid #ffffff14;
}
.s-announce .clock { font: 300 6.4cqi/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.s-announce .date { font-size: 1.7cqi; color: #A9BCD0; }
.s-announce .temp { margin-top: auto; font: 400 5cqi/1 var(--font-display); }
.s-announce .cond { font-size: 1.7cqi; color: #A9BCD0; }

.s-metric { display: flex; flex-direction: column; justify-content: center; gap: 1.4cqi; background: radial-gradient(80% 120% at 100% 0%, #17704A55, transparent 60%), #0B2545; }
.s-metric .tag { color: #5EE0A0; }
.s-metric .big-num { font: 600 6cqi/1 var(--font-display); letter-spacing: -0.03em; }
.s-metric .big-num b { font-size: 2.4em; font-weight: 600; font-variant-numeric: tabular-nums; }
.spark { display: flex; align-items: flex-end; gap: .8cqi; height: 7cqi; margin-top: 1.4cqi; }
.spark i { flex: 1; border-radius: .4cqi .4cqi 0 0; background: #5EE0A0; opacity: .75; height: 30%; transition: height 1s var(--ease); }
.s-metric.on .spark i:nth-child(1) { height: 32%; } .s-metric.on .spark i:nth-child(2) { height: 40%; }
.s-metric.on .spark i:nth-child(3) { height: 36%; } .s-metric.on .spark i:nth-child(4) { height: 52%; }
.s-metric.on .spark i:nth-child(5) { height: 48%; } .s-metric.on .spark i:nth-child(6) { height: 60%; }
.s-metric.on .spark i:nth-child(7) { height: 58%; } .s-metric.on .spark i:nth-child(8) { height: 70%; }
.s-metric.on .spark i:nth-child(9) { height: 74%; } .s-metric.on .spark i:nth-child(10) { height: 82%; }
.s-metric.on .spark i:nth-child(11) { height: 90%; } .s-metric.on .spark i:nth-child(12) { height: 100%; opacity: 1; }

.s-welcome { display: flex; flex-direction: column; justify-content: center; gap: 1.8cqi; background: linear-gradient(120deg, #13315C 0%, #0B2545 60%), #0B2545; }
.s-welcome::after {
  content: ""; position: absolute; right: -8cqi; bottom: -18cqi; width: 40cqi; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #FFC85766, #FFC85700 65%);
}
.s-welcome .headline { max-width: 70%; }

.ticker { display: flex; align-items: stretch; height: 6.4cqi; background: #051222; border-top: 1px solid #ffffff14; overflow: hidden; }
.ticker .label { position: relative; z-index: 1; flex: none; display: grid; place-items: center; padding: 0 2.2cqi; background: var(--sky); color: var(--midnight); font: 700 1.5cqi/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; }
.ticker .track { display: flex; align-items: center; gap: 5cqi; white-space: nowrap; padding-left: 3cqi; font-size: 1.95cqi; color: #E8F0F6; animation: ticker 36s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #ffffff10; }
.progress i { display: block; height: 100%; width: 0; background: var(--sunrise); }

.tv-status {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  padding: 8px 14px; border-radius: 999px; font-size: 13.5px; color: var(--on-dark-muted);
  background: #ffffff0d; border: 1px solid var(--on-dark-line);
}
.tv-status b { color: var(--on-dark); font-weight: 600; }
.tv-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #5EE0A0; box-shadow: 0 0 0 0 #5EE0A099; animation: pulse 2.4s infinite; }
.tv-status .sep { opacity: .5; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 #5EE0A088; } 70% { box-shadow: 0 0 0 8px #5EE0A000; } 100% { box-shadow: 0 0 0 0 #5EE0A000; } }

/* facts row closes the hero */
.facts {
  list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--on-dark-line);
}
.facts li { display: grid; gap: 6px; align-content: start; padding: 26px 24px 34px 0; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--on-dark-line); }
.facts b { font: 600 16px/1.3 var(--font-display); color: var(--on-dark); letter-spacing: -0.01em; }
.facts span { font-size: 14.5px; line-height: 1.5; color: var(--on-dark-muted); }

/* ------------------------------------------------------------ sections */
.section { padding-block: var(--section); }
.section-head { display: grid; gap: 16px; max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head > p:last-child { font-size: 18.5px; color: var(--ink-muted); }
.on-dark .section-head > p:last-child { color: var(--on-dark-muted); }

.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ""; position: absolute; left: 3px; top: .42em; width: 13px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.on-dark .ticks li::before { border-color: var(--sky); }

/* ------------------------------------------------------------ feature tabs */
.tabs { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); overflow: hidden; }
.tablist { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.tab {
  appearance: none; border: 0; background: none; cursor: pointer; color: var(--ink-muted);
  font: 600 15.5px/1.2 var(--font-sans); padding: 20px 16px; transition: color .2s, background-color .2s;
}
.tab:hover { color: var(--ink); background: var(--surface); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); border-radius: 0; }
.tab-ink { position: absolute; bottom: -1px; left: 0; height: 3px; width: 25%; background: var(--accent); border-radius: 3px 3px 0 0; transition: transform .45s var(--ease); }
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 52px); }
.panel[hidden] { display: none; }
.panel:not([hidden]) { animation: panel-in .55s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.panel-copy { display: grid; gap: 18px; min-width: 0; }
.panel-copy h3 { font-size: var(--step-2); }
.panel-copy > p { color: var(--ink-muted); }
.panel-visual { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-items: center; padding: clamp(18px, 3vw, 36px); background: var(--surface-sunken); border-radius: var(--radius-lg); min-height: 360px; }

/* playlist */
.playlist { width: 100%; max-width: 460px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; font-size: 14.5px; }
.playlist header, .playlist footer { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 14px 16px; }
.playlist header { border-bottom: 1px solid var(--line); }
.playlist header span, .playlist footer { color: var(--ink-muted); font-size: 13px; }
.playlist footer { border-top: 1px solid var(--line); }
.playlist ol { list-style: none; }
.playlist li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 16px; transition: background-color .4s; }
.playlist li + li { border-top: 1px solid var(--line); }
.playlist li.on { background: var(--accent-soft); }
.playlist li::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transition: transform .4s var(--ease); }
.playlist li.on::after { transform: none; }
.thumb { display: grid; place-items: center; height: 30px; border-radius: 6px; font: 700 11px/1 var(--font-sans); color: #fff; }
.t1 { background: var(--harbor); } .t2 { background: #17704A; } .t3 { background: var(--midnight); font-family: var(--font-mono); font-weight: 500; } .t4 { background: #8A5300; }
.playlist .name { display: grid; min-width: 0; }
.playlist .name small { color: var(--ink-muted); font-size: 12.5px; }
.playlist .dur { font: 500 13px var(--font-mono); color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--success); font-weight: 600; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* share */
.share { width: 100%; max-width: 380px; display: grid; gap: 10px; padding: 26px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.share .to { font-size: 13px; color: var(--ink-muted); }
.share .room { font: 600 21px/1.2 var(--font-display); letter-spacing: -0.02em; margin-bottom: 8px; }
.label-sm { font-size: 12.5px; font-weight: 600; color: var(--ink-muted); }
.pin { display: grid; grid-template-columns: repeat(4, 56px); gap: 8px; margin-bottom: 8px; }
.pin span { height: 62px; display: grid; place-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--radius-md); font: 600 26px var(--font-mono); background: var(--surface); transition: border-color .2s, transform .2s; }
.pin span.filled { border-color: var(--accent); animation: pop .3s var(--ease); }
.pin span.caret::after { content: ""; width: 2px; height: 26px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes pop { 50% { transform: scale(1.08); } }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; gap: 4px; background: var(--surface-sunken); border-radius: var(--radius-md); font-size: 14px; font-weight: 600; text-align: center; }
.seg span { padding: 8px; border-radius: 7px; color: var(--ink-muted); }
.seg .on { background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-sm); }
.fake-btn { display: grid; place-items: center; height: 46px; border-radius: var(--radius-md); background: var(--accent); color: var(--on-accent); font-weight: 600; transition: filter .3s; }
.share.ready .fake-btn { animation: glow 1.6s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent); } }
.share .note { font-size: 12.5px; color: var(--ink-muted); text-align: center; }

/* alert */
.alert-demo { width: 100%; max-width: 470px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.alert-screen {
  aspect-ratio: 16 / 9; border-radius: var(--radius-md); border: 8px solid var(--bezel);
  background: var(--alert-emergency); color: #fff; container-type: inline-size;
  display: grid; place-content: center; justify-items: center; text-align: center; gap: 3cqi; padding: 6cqi;
  transition: background-color .5s;
}
.alert-screen.flash { animation: alert-flash 1.2s ease-in-out 2; }
@keyframes alert-flash { 50% { filter: brightness(1.25); } }
.alert-screen .kind { font: 700 2.6cqi/1 var(--font-sans); letter-spacing: .25em; text-transform: uppercase; border: 2px solid currentColor; padding: 1.2cqi 2.6cqi; border-radius: 1.4cqi; }
.alert-screen .big { font: 700 8.4cqi/1 var(--font-display); letter-spacing: -0.02em; }
.alert-screen .msg { font-size: 3.4cqi; max-width: 34ch; opacity: .95; }
.alert-screen[data-level="warning"] { background: var(--alert-warning); }
.alert-screen[data-level="info"] { background: var(--alert-info); }
.alert-screen[data-level="ok"] { background: var(--alert-ok); }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.presets button {
  appearance: none; cursor: pointer; font: 600 13.5px/1 var(--font-sans); padding: 9px 13px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface-raised); color: var(--ink); transition: transform .15s, background-color .2s, color .2s;
}
.presets button:hover { transform: translateY(-1px); }
.presets button.on { background: var(--ink); color: var(--surface-raised); border-color: var(--ink); }

/* room sign */
.tablet { width: 100%; max-width: 440px; padding: 12px; border-radius: 22px; background: linear-gradient(160deg, #26364d, var(--bezel) 45%); box-shadow: var(--shadow-md); }
.room-sign {
  aspect-ratio: 4 / 3; border-radius: 12px; container-type: inline-size; color: #fff;
  display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto 1fr auto auto; gap: 2cqi 4cqi; padding: 5cqi;
  background: #15803D; transition: background-color .6s;
}
.room-sign.busy { background: #B42318; }
.r-name { grid-column: 1; font: 600 3.4cqi/1.2 var(--font-sans); opacity: .9; }
.r-state { grid-column: 1; align-self: center; font: 600 11cqi/1 var(--font-display); letter-spacing: -0.035em; }
.r-next { grid-column: 1; font-size: 3.2cqi; opacity: .9; }
.r-book { grid-column: 1; justify-self: start; appearance: none; cursor: pointer; border: 0; border-radius: 1.8cqi; padding: 2.4cqi 4cqi; font: 700 3.4cqi/1 var(--font-sans); background: #fff; color: #0B2545; transition: transform .15s; }
.r-book:hover { transform: translateY(-1px); }
.r-day { grid-column: 2; grid-row: 1 / -1; list-style: none; display: grid; align-content: start; gap: 2cqi; padding-left: 4cqi; border-left: 1px solid #ffffff40; font-size: 3.2cqi; }
.r-day li { display: grid; gap: .4cqi; }
.r-day .mono { font-size: 2.8cqi; opacity: .8; }

/* everything else */
.more { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.more li { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.more li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.more svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.more p { color: var(--ink-muted); font-size: 15.5px; }

/* ------------------------------------------------------------ how it works */
.how { background: var(--surface-raised); border-block: 1px solid var(--line); }
.steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps::before, .steps::after { content: ""; position: absolute; top: 21px; left: 22px; right: calc((100% - 84px) / 4 - 22px); height: 2px; border-radius: 2px; background: var(--line); }
.steps::after { background: var(--accent); transform: scaleX(var(--fill, 0)); transform-origin: left; transition: transform .15s linear; }
.steps li { position: relative; z-index: 1; display: grid; gap: 10px; align-content: start; }
.step-n {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: var(--surface-raised); border: 2px solid var(--line); color: var(--ink-muted);
  font: 600 16px/1 var(--font-display); margin-bottom: 8px; transition: background-color .4s, border-color .4s, color .4s;
}
.steps li.lit .step-n { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.steps p { color: var(--ink-muted); font-size: 15.5px; }
.chip { justify-self: start; max-width: 100%; overflow-wrap: anywhere; margin-top: 4px; padding: 6px 10px; border-radius: var(--radius-sm); background: var(--surface-sunken); border: 1px solid var(--line); font-size: 13px; color: var(--ink); }
.code-big { background: var(--midnight); color: #fff; border-color: var(--midnight); font-size: 17px; letter-spacing: .3em; padding: 8px 12px 8px 16px; }

.needs { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.needs-title { font-size: var(--step-1); }
.needs dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; }
.needs dt { font: 600 12.5px/1.4 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.needs dd { margin: 4px 0 0; color: var(--ink-muted); font-size: 15.5px; }

/* ------------------------------------------------------------ pricing */
.pricing { position: relative; background: linear-gradient(180deg, var(--midnight), var(--midnight-2)); color: var(--on-dark); }
.calc {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-xl); background: #ffffff08; border: 1px solid var(--on-dark-line);
  margin-bottom: 18px;
}
.calc-inputs { display: grid; gap: 10px; }
.calc-inputs label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 15px; color: var(--on-dark); }
.calc-inputs label + input { margin-bottom: 14px; }
.calc output { font: 600 15px var(--font-mono); color: var(--sky); font-variant-numeric: tabular-nums; }
.calc input[type="range"] { width: 100%; accent-color: var(--sky); height: 28px; cursor: pointer; }
.calc-result { display: grid; gap: 8px; }
.calc-label { color: var(--on-dark-muted); font-size: 15px; }
.calc-total { font: 600 clamp(40px, 5vw, 60px)/1 var(--font-display); letter-spacing: -0.04em; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.calc-total small { font: 500 16px var(--font-sans); letter-spacing: 0; color: var(--on-dark-muted); margin-left: 6px; }
.calc-note { color: var(--on-dark-muted); font-size: 14.5px; }
.calc-note span { color: var(--on-dark); font-variant-numeric: tabular-nums; }
.calc-ours { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--on-dark-line); color: var(--on-dark); font-weight: 600; }
.calc-ours::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--sunrise); vertical-align: 2px; }

.plans { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; align-items: stretch; }
.plan { background: #ffffff0a; border: 1px solid var(--on-dark-line); border-radius: var(--radius-xl); padding: clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 14px; transition: transform .35s var(--ease), border-color .35s; }
.plan:hover { transform: translateY(-4px); border-color: #ffffff38; }
.plan-main { background: linear-gradient(180deg, #8DE0FF14, #ffffff08); border-color: #8DE0FF66; box-shadow: 0 30px 70px -30px #000000A0; }
.plan h3 { color: var(--on-dark); font-size: 22px; }
.plan-kind { font: 600 12.5px/1.4 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.plan-price { color: var(--on-dark-muted); font-size: 16px; }
.plan-price .big { font: 600 clamp(32px, 3.4vw, 42px)/1 var(--font-display); letter-spacing: -0.04em; color: var(--on-dark); margin-right: 6px; }
.plan-note { color: var(--on-dark-muted); font-size: 14.5px; }
.plan .ticks { color: #D6E2EC; font-size: 15.5px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.tier { border-top: 1px solid var(--on-dark-line); padding-top: 14px; display: grid; gap: 10px; }
.tier p { color: #D6E2EC; font-size: 15px; }
.tier-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tier-head h4 { font: 600 17px/1.3 var(--font-sans); color: var(--on-dark); }
.tier-head .tier-price { color: var(--on-dark-muted); font-size: 14.5px; white-space: nowrap; }
.tier-head .tier-price b { font: 600 22px var(--font-display); letter-spacing: -0.02em; color: var(--on-dark); }
.pricing-foot { margin-top: 24px; color: var(--on-dark-muted); font-size: 15.5px; }

/* ------------------------------------------------------------ faq */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .section-head { position: sticky; top: 100px; margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; font: 600 17.5px/1.35 var(--font-display); letter-spacing: -0.015em; transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }
.faq-list summary::after {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 10px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 10px no-repeat,
    var(--accent-soft);
  transition: transform .35s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(135deg); }
.faq-body { overflow: hidden; }
.faq-body p { padding: 0 4px 22px; color: var(--ink-muted); max-width: 62ch; }

/* ------------------------------------------------------------ closer */
.closer { position: relative; isolation: isolate; overflow: hidden; background: var(--midnight); color: var(--on-dark); padding-block: clamp(72px, 9vw, 112px); text-align: center; }
.closer .wrap { display: grid; gap: 18px; justify-items: center; }
.closer p { color: var(--on-dark-muted); font-size: 18px; max-width: 34em; }
.closer .actions { justify-content: center; margin-top: 8px; }
.closer .email { color: var(--on-dark); font-size: 15px; user-select: all; }
.sun-low { right: auto; left: 50%; top: 55%; transform: translateX(-50%); width: min(1100px, 140vw); }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--midnight-2); color: var(--on-dark-muted); font-size: 15px; border-top: 1px solid var(--on-dark-line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; padding-block: 36px; }
.site-footer svg { height: 30px; width: auto; display: block; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .tag { margin-top: 10px; }

/* ------------------------------------------------------------ simple pages (privacy, 404) */
.doc { max-width: 720px; margin-inline: auto; padding: clamp(48px, 7vw, 88px) var(--gutter); }
.doc .eyebrow { margin-bottom: 14px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.08; letter-spacing: -0.035em; }
.doc .updated { color: var(--ink-muted); margin-top: 10px; font-size: 15px; }
.doc h2 { font-size: 22px; letter-spacing: -0.02em; margin-top: 44px; margin-bottom: 12px; }
.doc p + p, .doc p + ul, .doc ul + p { margin-top: 14px; }
.doc ul { padding-left: 22px; margin: 12px 0 0; display: grid; gap: 6px; }
.doc .note { margin-top: 28px; padding: 16px 18px; background: var(--accent-soft); border-radius: var(--radius-lg); font-size: 15.5px; }
.doc .intro { margin-top: 28px; }
.doc .updated.lead { font-size: 18px; margin-top: 16px; }
.doc a { color: var(--accent); text-underline-offset: 2px; }
.doc h2[id] { scroll-margin-top: 96px; }
.doc .toc { margin-top: 32px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-raised); }
.doc .toc ol { margin: 0; padding-left: 22px; columns: 2 220px; column-gap: 32px; font-size: 15.5px; }
.doc .toc li { break-inside: avoid; padding-block: 3px; }
.doc .table-wrap { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-raised); }
.doc table.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.4; }
.doc .compare th, .doc .compare td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.doc .compare tbody tr:last-child > * { border-bottom: 0; }
.doc .compare thead th { font-family: var(--font-display); font-weight: 600; font-size: 15px; background: var(--surface-sunken); }
.doc .compare tbody th { font-weight: 600; width: 22%; }
.doc .compare .muted { color: var(--ink-muted); font-family: var(--font-sans); font-weight: 500; font-size: 13.5px; }
.doc .compare td:last-child { background: color-mix(in srgb, var(--accent-soft) 45%, transparent); }
.pricing-legal { margin-top: 10px; text-align: center; font-size: 15px; color: var(--on-dark-muted); }
.pricing-legal a { color: var(--on-dark); }

/* ------------------------------------------------------------ motion */
/* Page-load sequence for the hero (pure CSS; everything ends visible). */
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero .sun { animation: sunrise 2.4s var(--ease) both; }
.hero-tv .tv { animation: power-on 1.3s .25s var(--ease) both; }
.hero-tv .tv-screen { animation: screen-on 1.1s .55s ease-out both; }
.tv-status { animation: rise .8s .9s var(--ease) both; }
.facts li { animation: rise .8s var(--ease) both; }
.facts li:nth-child(1) { animation-delay: .5s; } .facts li:nth-child(2) { animation-delay: .58s; }
.facts li:nth-child(3) { animation-delay: .66s; } .facts li:nth-child(4) { animation-delay: .74s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes sunrise { from { opacity: 0; transform: translateY(18%) scale(.9); } }
@keyframes power-on { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes screen-on { 0% { filter: brightness(0); } 40% { filter: brightness(1.6) saturate(.4); } 100% { filter: none; } }

/* ------------------------------------------------------------ quote form */
.quote { border-bottom: 1px solid var(--line); }
.quote-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.quote-head { margin-bottom: 0; position: sticky; top: 96px; }
.quote-next { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: q; }
.quote-next li { counter-increment: q; display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; }
.quote-next li::before { content: counter(q); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 14px var(--font-mono); background: var(--accent-soft); color: var(--accent); }
.quote-next b { font-weight: 600; }
.quote-next span { color: var(--ink-muted); font-size: 15.5px; }
.quote-alt { font-size: 15.5px !important; }
.quote-alt a, .qf-note a, .quote-done a { color: var(--accent); }

.quote-form, .quote-done { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: clamp(20px, 3.5vw, 36px); }
.quote-form { display: grid; gap: 16px; }
.qf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.qf-row.qf-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qf { display: grid; gap: 6px; min-width: 0; }
.qf > span { font-weight: 600; font-size: 14.5px; }
.qf em { font-style: normal; font-weight: 500; color: var(--ink-muted); margin-left: 4px; }
.qf input, .qf select, .qf textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: var(--radius-md);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  font: 500 16px/1.35 var(--font-sans); transition: border-color .15s, box-shadow .15s;
}
.qf textarea { resize: vertical; min-height: 92px; }
.qf select { appearance: none; padding-right: 36px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%), linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.qf input::placeholder, .qf textarea::placeholder { color: color-mix(in srgb, var(--ink-muted) 75%, transparent); }
.qf input:focus, .qf select:focus, .qf textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.qf input[aria-invalid="true"] { border-color: var(--busy); }
.qf-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; cursor: pointer; }
.qf-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.qf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.qf-error { margin: 0; padding: 12px 14px; border-radius: var(--radius-md); background: color-mix(in srgb, var(--busy) 12%, transparent); color: var(--busy); font-weight: 600; font-size: 15px; }
.qf-foot { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; padding-top: 4px; }
.qf-foot .btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.qf-note { margin: 0; color: var(--ink-muted); font-size: 14px; flex: 1 1 220px; }
.quote-done { display: grid; gap: 12px; justify-items: start; }
.quote-form[hidden], .quote-done[hidden] { display: none; }
.quote-done:focus { outline: none; }
.quote-done h3 { font-size: var(--step-2); }
.quote-done p { color: var(--ink-muted); }
.done-mark { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--success-soft); color: var(--success); }
.done-mark svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.quote-grid > .quote-done:not([hidden]) { grid-column: 2; }
@media (max-width: 860px) {
  .quote-grid { grid-template-columns: minmax(0, 1fr); }
  .quote-head { position: static; }
  .quote-grid > .quote-done:not([hidden]) { grid-column: 1; }
}
@media (max-width: 560px) {
  .qf-row, .qf-row.qf-3 { grid-template-columns: minmax(0, 1fr); }
  .qf-row.qf-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .qf-row.qf-3 .qf > span { font-size: 13px; }
}

/* quote-sent page (shown after a form post without JavaScript) */
.doc .sent-error { display: none; }
.doc.is-error .sent-ok { display: none; }
.doc.is-error .sent-error { display: block; }

/* Scroll reveals: only elements below the first screen are hidden, and only once JavaScript is running. */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

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

/* ------------------------------------------------------------ responsive */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-tv { max-width: 720px; justify-self: center; width: 100%; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan-main { grid-column: 1 / -1; }
  .panel { grid-template-columns: minmax(0, 1fr); }
  .panel-visual { min-height: 0; }
}
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--on-dark-line); }
  .more { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
  .needs { grid-template-columns: minmax(0, 1fr); }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq .section-head { position: static; }
  .tablist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab-ink { display: none; }
  .tab[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); }
}
@media (max-width: 560px) {
  :root { --step-0: 16px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts li, .facts li + li { padding: 18px 0; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--on-dark-line); }
  .more, .steps, .plans, .needs dl { grid-template-columns: minmax(0, 1fr); }
  .pin { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tab { padding: 16px 10px; font-size: 14.5px; }
  .hero-points { flex-direction: column; }
  .faq-list summary { font-size: 16.5px; }
}

/* ==========================================================================
   Launch (October 2026)
   The bar sits above the header on every page; take it down by emptying
   website/partials/launch-bar.html and running build-docs.js (publish does it).
   ========================================================================== */
.launch-bar {
  position: relative; z-index: 41;
  background: linear-gradient(90deg, var(--midnight-2), var(--harbor) 55%, var(--midnight-2));
  color: var(--on-dark); font-size: 14.5px; line-height: 1.4;
  border-bottom: 1px solid var(--on-dark-line);
}
.launch-bar::after { /* a thin sunrise line along the bottom edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, #FFC857aa 50%, transparent);
}
.launch-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding-block: 6px; padding-right: calc(var(--gutter) + 32px); position: relative; }
.launch-bar p { min-width: 0; color: var(--on-dark-muted); }
.launch-bar strong { color: var(--on-dark); font-weight: 600; }
.launch-pill {
  flex: none; padding: 2px 9px; border-radius: 999px;
  background: var(--sunrise); color: var(--midnight); font: 700 11.5px/1.5 var(--font-sans); letter-spacing: .06em; text-transform: uppercase;
}
.launch-link { flex: none; color: var(--sky); font-weight: 600; text-decoration: none; white-space: nowrap; }
.launch-link span { display: inline-block; transition: transform .2s var(--ease); }
.launch-link:hover { text-decoration: underline; }
.launch-link:hover span { transform: translateX(3px); }
.launch-x {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px;
  background: transparent; color: var(--on-dark-muted); cursor: pointer; transition: background-color .2s, color .2s;
}
.launch-x:hover { background: #ffffff14; color: var(--on-dark); }
.launch-bar :focus-visible { box-shadow: 0 0 0 2px var(--midnight), 0 0 0 4px var(--sky); }
.launch-bar.is-hiding { animation: bar-out .35s var(--ease) forwards; }
@keyframes bar-out { to { opacity: 0; margin-top: -45px; } }
@media (max-width: 860px) { .launch-more { display: none; } }
@media (max-width: 520px) {
  .launch-bar .wrap { justify-content: flex-start; flex-wrap: wrap; gap: 4px 10px; }
  .launch-bar p { flex: 1 1 auto; }
}

/* the hero badge */
.launch-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px;
  background: #ffffff0f; border: 1px solid #8DE0FF40; color: var(--on-dark); text-decoration: none;
  font: 500 14.5px/1.3 var(--font-sans);
  transition: border-color .25s, background-color .25s;
}
.launch-badge:hover { border-color: #8DE0FFa0; background: #ffffff17; }
.launch-badge-new { padding: 3px 9px; border-radius: 999px; background: var(--sunrise); color: var(--midnight); font: 700 11.5px/1.4 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; }
.launch-badge-arrow { color: var(--sky); transition: transform .2s var(--ease); }
.launch-badge:hover .launch-badge-arrow { transform: translateX(3px); }

/* the docs band on the home page */
.docs-band { background: var(--surface-raised); border-block: 1px solid var(--line); }
.docs-cards { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.docs-cards a {
  height: 100%; display: grid; gap: 8px; align-content: start; padding: 22px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
  color: var(--ink); text-decoration: none; transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.docs-cards a:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.dc-kicker { font: 600 12px/1.3 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.dc-title { font: 600 19px/1.3 var(--font-display); letter-spacing: -0.02em; }
.dc-title::after { content: " →"; color: var(--accent); }
.dc-text { color: var(--ink-muted); font-size: 15.5px; line-height: 1.55; }
.docs-band-more { margin-top: 28px; }
@media (max-width: 960px) { .docs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .docs-cards { grid-template-columns: minmax(0, 1fr); } }

/* the announcement page: a sun rising in the pane */
.launch-hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark);
  background: radial-gradient(90% 70% at 50% 100%, #1F4E85 0%, var(--midnight) 55%, var(--midnight-2) 100%);
  margin-top: -68px; padding: calc(68px + clamp(56px, 8vw, 96px)) 0 clamp(200px, 34vw, 440px);
}
.launch-sky { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; pointer-events: none; display: flex; justify-content: center; }
.launch-pane {
  position: relative; width: min(980px, 94vw); aspect-ratio: 16 / 6;
  border: clamp(5px, .8vw, 11px) solid var(--sky); border-bottom: 0;
  border-radius: clamp(28px, 5.5vw, 76px) clamp(28px, 5.5vw, 76px) 0 0;
  overflow: hidden; background: linear-gradient(180deg, #0B254500, #13315C66);
  box-shadow: 0 0 80px -10px #8DE0FF33, inset 0 0 60px -20px #8DE0FF33;
  animation: pane-in 1.4s var(--ease) both;
}
.launch-sun {
  position: absolute; left: 50%; bottom: 34%; width: 34%; aspect-ratio: 1; border-radius: 50%; translate: -50% 50%;
  background: var(--sunrise);
  box-shadow: 0 0 120px 30px #FFC85740;
  animation: sun-up 2.4s var(--ease) .3s both;
}
.launch-land {
  position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: var(--harbor);
  border-top: clamp(4px, .7vw, 10px) solid var(--sky);
}
@keyframes pane-in { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes sun-up { from { translate: -50% 115%; } to { translate: -50% 50%; } }
.launch-hero-copy { display: grid; justify-items: center; text-align: center; gap: 22px; }
.launch-hero h1 { font-size: clamp(48px, 8vw, 104px); line-height: .95; letter-spacing: -0.05em; font-weight: 600; }
.launch-hero .lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: #C9D6E3; max-width: 36em; }
.launch-hero .eyebrow, .launch-hero h1, .launch-hero .lede, .launch-hero .actions { animation: fade-up-l .9s var(--ease) both; }
.launch-hero h1 { animation-delay: .1s; }
.launch-hero .lede { animation-delay: .2s; }
.launch-hero .actions { animation-delay: .3s; justify-content: center; }
@keyframes fade-up-l { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.launch-article { padding-block: clamp(56px, 8vw, 96px); }
.launch-body { max-width: calc(720px + 2 * var(--gutter)); }
.launch-body h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.03em; margin: 56px 0 16px; }
.launch-body p { font-size: 18px; line-height: 1.7; margin-bottom: 18px; }
.launch-intro { font-size: clamp(20px, 2vw, 23px) !important; line-height: 1.55 !important; color: var(--ink); font-family: var(--font-display); letter-spacing: -0.015em; font-weight: 400; }
.launch-features { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.launch-features li { padding: 24px; border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.launch-features p { color: var(--ink-muted); font-size: 15.5px; line-height: 1.55; }
.lf-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--midnight); color: var(--sky); }
.lf-icon svg { width: 22px; height: 22px; }
.launch-also { max-width: 720px; margin: 22px auto 0; text-align: center; color: var(--ink-muted); font-size: 16px; }
.launch-also strong { color: var(--ink); }
@media (max-width: 1000px) { .launch-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .launch-features { grid-template-columns: minmax(0, 1fr); } }

.launch-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 8px 0 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--line); }
.launch-prices > div { background: var(--surface-raised); padding: 18px; display: grid; gap: 4px; align-content: start; }
.lp-label { font: 600 12px/1.3 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.lp-value { font: 600 21px/1.3 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lp-value small { font: 500 14px/1 var(--font-sans); color: var(--ink-muted); letter-spacing: 0; }
.lp-note { font-size: 14.5px; color: var(--ink-muted); line-height: 1.45; }
@media (max-width: 640px) { .launch-prices { grid-template-columns: minmax(0, 1fr); } }

.launch-ticks { list-style: none; display: grid; gap: 12px; margin-bottom: 18px; }
.launch-ticks li { position: relative; padding-left: 30px; font-size: 17.5px; line-height: 1.6; }
.launch-ticks li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 13px; height: 8px; border-left: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: rotate(-45deg); }
.launch-steps { list-style: none; counter-reset: ls; display: grid; gap: 16px; }
.launch-steps li { counter-increment: ls; position: relative; padding-left: 52px; font-size: 17.5px; line-height: 1.6; }
.launch-steps li::before {
  content: counter(ls); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; background: var(--midnight); color: var(--sky); font: 600 16px/1 var(--font-display);
}

@media (prefers-reduced-motion: reduce) {
  .launch-pane, .launch-sun, .launch-hero .eyebrow, .launch-hero h1, .launch-hero .lede, .launch-hero .actions { animation: none; }
  .launch-bar.is-hiding { animation: none; display: none; }
}

/* ==========================================================================
   Pre-launch pages (Oct 2026): example labels, the alert note, and the
   shared hero for /quote, /pricing, /demo and /compare pages.
   ========================================================================== */
@media (max-width: 1060px) { .nav a[href="#how"], .nav a[href="/#how"] { display: none; } }
@media (max-width: 900px) { .nav a[href="#faq"], .nav a[href="/#faq"] { display: none; } }

.example-tag {
  display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px;
  border: 1px dashed #ffffff40; color: var(--on-dark-muted);
  font: 600 11.5px/1.5 var(--font-sans); letter-spacing: .04em; text-transform: uppercase;
}
.example-note { margin-top: 12px; text-align: center; }
.example-note span {
  display: inline-block; padding: 2px 10px; border-radius: 999px; border: 1px dashed var(--line-strong);
  color: var(--ink-muted); font: 600 11.5px/1.5 var(--font-sans); letter-spacing: .04em; text-transform: uppercase;
}
.alert-disclaimer { font-size: 13.5px; line-height: 1.5; color: var(--ink-muted); }

/* page hero: a short midnight band for inner pages */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark);
  background: radial-gradient(110% 120% at 85% 0%, var(--harbor) 0%, var(--midnight) 55%, var(--midnight-2) 100%);
  margin-top: -68px; padding: calc(68px + clamp(48px, 7vw, 88px)) 0 clamp(48px, 7vw, 80px);
}
.page-hero .wrap { display: grid; gap: 18px; justify-items: start; max-width: var(--wrap); }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -0.045em; max-width: 14em; }
.page-hero .lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--on-dark-muted); max-width: 38em; }
.page-hero .actions { margin-top: 6px; }
.page-hero .sun { top: auto; bottom: -70%; right: -10%; }

/* pricing page: the three plans sit on the light surface */
.pricing-page .plans { margin-top: 0; }
.price-points { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.price-points li { padding: 20px 22px; border-radius: var(--radius-lg); background: #ffffff0d; border: 1px solid var(--on-dark-line); display: grid; gap: 4px; }
.price-points b { font: 600 18px/1.3 var(--font-display); color: var(--on-dark); letter-spacing: -0.01em; }
.price-points span { font-size: 15px; color: var(--on-dark-muted); line-height: 1.5; }
@media (max-width: 760px) { .price-points { grid-template-columns: minmax(0, 1fr); } }

/* compare placeholder */
.placeholder-body { max-width: 720px; display: grid; gap: 16px; }
.placeholder-box {
  padding: 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg);
  color: var(--ink-muted); background: var(--surface-raised); font-size: 16px;
}

/* quote page: the form section without the extra top space */
.quote-page .quote { padding-top: clamp(48px, 6vw, 72px); }
