/*
 * TiviDeck -- the public site.
 *
 * One stylesheet, self-hosted fonts (the deployment's CSP allows nothing else), and no framework:
 * the page is mostly photographs of the television, so the chrome around them stays quiet and the
 * screenshots do the selling. Colours are the app's own tokens, so the site and the product agree.
 */

/* --------------------------------------------------------------- type */
@font-face {
  font-family: 'Sora';
  src: url('/assets/fonts/sora-var.woff2') format('woff2-variations');
  font-weight: 400 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'InterVar';
  src: url('/assets/fonts/inter-var.woff2') format('woff2-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* The app's brand, unchanged: Brand.Blue, Brand.Green, Brand.White. */
  --blue: #003CD0;
  --blue-lift: #2C6BFF;
  --green: #0DE593;
  --white: #F5F7FA;

  --ink: #04060D;
  --ink-2: #070A14;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #EEF1F7;
  --muted: #9AA3B8;
  --faint: #6B7489;

  --display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --body: 'InterVar', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --r: 20px;
  --r-lg: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(42px, 6.4vw, 82px); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4vw, 50px); letter-spacing: -0.03em; }
h3 { font-size: clamp(21px, 2.1vw, 27px); }
p  { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--green);
}
.lede { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); }
.muted { color: var(--muted); }
.faint { color: var(--faint); font-size: 14px; }

/* ------------------------------------------------------------ surfaces */
.panel {
  background: linear-gradient(170deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

/* --------------------------------------------------------------- shell */
.aurora {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 620px at 12% -8%, rgba(0,60,208,0.42), transparent 60%),
    radial-gradient(760px 560px at 92% 4%, rgba(13,229,147,0.18), transparent 62%),
    radial-gradient(1100px 800px at 50% 108%, rgba(0,60,208,0.20), transparent 64%),
    var(--ink);
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* -------------------------------------------------------------- header */
header.top {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(18px) saturate(140%);
  background: linear-gradient(180deg, rgba(4,6,13,0.92), rgba(4,6,13,0.68));
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
header.top.stuck { border-bottom-color: var(--line-soft); }
.top-in { display: flex; align-items: center; gap: 22px; height: 84px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.mark img { height: 38px; width: auto; }
@media (max-width: 620px) { .mark img { height: 30px; } }
nav.links { display: none; gap: 4px; margin-left: auto; }
@media (min-width: 1000px) { nav.links { display: flex; } }
nav.links a {
  text-decoration: none; color: var(--muted); font-size: 14.5px; font-weight: 500;
  padding: 9px 13px; border-radius: 999px; transition: color 0.2s, background 0.2s;
}
nav.links a:hover, nav.links a:focus-visible { color: var(--text); background: var(--panel-2); }
.top .btn { flex: none; margin-left: auto; }
@media (min-width: 1000px) { .top .btn { margin-left: 8px; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  padding: 13px 22px; border-radius: 999px; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn.primary {
  background: linear-gradient(135deg, var(--blue-lift), var(--blue) 60%, #0b2fa8);
  color: #fff; box-shadow: 0 10px 34px -12px rgba(44,107,255,0.9);
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -14px rgba(44,107,255,1); }
.btn.ghost { background: var(--panel-2); border-color: var(--line); color: var(--text); }
.btn.ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,0.10); }
.btn.small { padding: 10px 17px; font-size: 14px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(52px, 9vw, 112px) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; gap: clamp(40px, 5vw, 66px); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1020px) { .hero-grid { grid-template-columns: 0.86fr 1.14fr; } }
.hero h1 { margin: 18px 0 20px; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--white) 8%, #9FD7FF 42%, var(--green) 88%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--faint); }
.hero-note b { color: var(--muted); font-weight: 600; }

/* the stacked screenshots in the hero */
.stack { position: relative; perspective: 1600px; }
.stack .sheet {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,0.95);
  background: #0b0e17;
}
.stack .a { transform: rotateY(-13deg) rotateX(4deg); }
.stack .b {
  position: absolute; width: 56%; right: -4%; bottom: -13%;
  transform: rotateY(-13deg) rotateX(4deg) translateZ(70px);
}
.stack .c {
  position: absolute; width: 40%; left: -7%; top: -12%;
  transform: rotateY(-13deg) rotateX(4deg) translateZ(40px);
}
@media (max-width: 860px) { .stack .b, .stack .c { display: none; } .stack .a { transform: none; } }

/* the hero showcase: one television and one phone, real screens, large and sharp (10-03) */
.showcase {
  position: relative; perspective: 1800px;
  padding: 0 0 clamp(54px, 9vw, 96px) 0; margin-right: clamp(0px, 2vw, 18px);
}
.showcase-glow {
  position: absolute; inset: -12% -8% -4% -10%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(48% 52% at 62% 42%, rgba(44,107,255,0.34), transparent 70%),
    radial-gradient(34% 40% at 22% 78%, rgba(13,229,147,0.22), transparent 72%);
  filter: blur(18px);
}
.showcase .device { margin: 0; position: relative; z-index: 1; }
.showcase .tv {
  transform: rotateY(-9deg) rotateX(3deg); transform-origin: 30% 50%;
  transition: transform 1.1s cubic-bezier(.2,.7,.3,1);
}
.showcase:hover .tv { transform: rotateY(-5deg) rotateX(2deg); }
.tv-screen {
  padding: clamp(5px, 0.7vw, 9px); border-radius: clamp(12px, 1.3vw, 18px);
  background: linear-gradient(160deg, #20263a, #090c15 46%, #141a2b);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.6),
    0 70px 120px -50px rgba(0,0,0,0.95),
    0 30px 80px -30px rgba(44,107,255,0.45),
    inset 0 1px 0 rgba(255,255,255,0.12);
}
.tv-screen img { width: 100%; border-radius: clamp(7px, 0.8vw, 11px); background: #0b0e17; }
.tv-stand {
  width: 30%; height: clamp(8px, 1vw, 14px); margin: 0 auto;
  background: linear-gradient(180deg, #1a2032, #0a0d16);
  border-radius: 0 0 10px 10px; border: 1px solid rgba(255,255,255,0.08); border-top: 0;
  box-shadow: 0 24px 40px -14px rgba(0,0,0,0.9);
}
.showcase .phone {
  position: absolute; z-index: 2; width: 24%; left: -7%; bottom: 0;
  transform: rotate(-4deg);
  animation: phone-float 7s ease-in-out infinite;
}
.phone-screen {
  padding: clamp(4px, 0.5vw, 7px); border-radius: clamp(20px, 2.4vw, 34px);
  background: linear-gradient(150deg, #2a3147, #0a0d16 40%, #1b2133);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.7),
    0 50px 90px -30px rgba(0,0,0,0.95),
    0 20px 60px -24px rgba(13,229,147,0.35),
    inset 0 1px 0 rgba(255,255,255,0.16);
}
.phone-screen img { width: 100%; border-radius: clamp(16px, 2vw, 28px); background: #0b0e17; }
@keyframes phone-float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-10px); }
}
@media (min-width: 1240px) { .showcase .tv { width: 110%; } .showcase .phone { width: 25%; } }
@media (max-width: 1019px) {
  .showcase { max-width: 760px; margin: 0 auto; width: 100%; }
  .showcase-glow { inset: -8% 0 0 0; }
  .showcase .phone { left: auto; right: -1%; width: 26%; transform: rotate(3deg); animation-name: phone-float-r; }
  .showcase .tv { transform: rotateY(6deg) rotateX(2deg); transform-origin: 70% 50%; }
  .showcase:hover .tv { transform: rotateY(3deg) rotateX(1deg); }
}
@keyframes phone-float-r {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-8px); }
}
@media (max-width: 620px) {
  .showcase { padding-bottom: 64px; }
  .showcase .tv, .showcase:hover .tv { transform: none; }
  .showcase .phone { width: 31%; right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase .tv { transition: none; }
  .showcase .phone { animation: none; }
}

/* --------------------------------------------------------------- strip */
.strip { border-block: 1px solid var(--line-soft); background: rgba(255,255,255,0.016); }
.strip-in { display: grid; gap: 1px; grid-template-columns: repeat(2, 1fr); background: var(--line-soft); }
@media (min-width: 860px) { .strip-in { grid-template-columns: repeat(4, 1fr); } }
.strip-cell { background: var(--ink); padding: 24px clamp(16px, 2.4vw, 30px); }
.strip-cell b { display: block; font-family: var(--display); font-size: 19px; letter-spacing: -0.02em; }
.strip-cell span { color: var(--faint); font-size: 13.5px; }

/* ------------------------------------------------------------ sections */
section { padding: clamp(64px, 9vw, 126px) 0; position: relative; }
.head { max-width: 760px; margin-bottom: clamp(34px, 5vw, 60px); }
.head h2 { margin: 14px 0 16px; }
.center { margin-inline: auto; text-align: center; }

/* pillars */
.pillars { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.pillar { padding: 30px 28px 32px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); position: relative; overflow: hidden; }
.pillar::before {
  content: ''; position: absolute; inset: 0 auto auto 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--blue-lift), var(--green)); opacity: 0.85;
}
.pillar .n { font-family: var(--display); font-size: 12px; color: var(--green); letter-spacing: 0.2em; }
.pillar h3 { margin: 14px 0 10px; }
.pillar p { color: var(--muted); font-size: 15.5px; }

/* the screen-by-screen tour */
.scene { display: grid; gap: clamp(28px, 4vw, 58px); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) {
  .scene { grid-template-columns: 1fr 1.18fr; }
  .scene.flip > .shot { order: -1; }
}
.scene + .scene { margin-top: clamp(64px, 8vw, 116px); }
.scene .copy h3 { margin: 14px 0 14px; font-size: clamp(25px, 2.6vw, 34px); }
.scene .copy p { color: var(--muted); }
.scene .copy p + p { margin-top: 14px; }

.shot { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #080b13; box-shadow: 0 40px 80px -46px rgba(0,0,0,0.95); }
.shot img { width: 100%; height: auto; }
.shot figcaption {
  position: absolute; left: 12px; bottom: 12px; font-size: 12px; letter-spacing: 0.04em;
  background: rgba(4,6,13,0.78); border: 1px solid var(--line); backdrop-filter: blur(8px);
  padding: 6px 11px; border-radius: 999px; color: var(--muted);
}
.shot.zoom { cursor: zoom-in; }
.shot.zoom:hover { border-color: rgba(44,107,255,0.6); }

ul.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 11px; }
ul.ticks li { position: relative; padding-left: 28px; color: var(--muted); font-size: 15.5px; }
ul.ticks li::before {
  content: ''; position: absolute; left: 0; top: 8px; width: 15px; height: 9px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(-45deg); border-radius: 1px;
}
ul.ticks li b { color: var(--text); font-weight: 600; }

/* sports tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.tab {
  font-family: var(--display); font-size: 14px; font-weight: 600; padding: 10px 18px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--panel);
  color: var(--muted); cursor: pointer; transition: all 0.2s ease;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] {
  color: #04060D; background: linear-gradient(120deg, var(--green), #46f0b4); border-color: transparent;
  box-shadow: 0 8px 26px -12px rgba(13,229,147,0.9);
}
.panes > .pane { display: none; }
.panes > .pane.on { display: grid; gap: clamp(24px, 3vw, 44px); align-items: center; grid-template-columns: minmax(0,1fr); }
@media (min-width: 980px) { .panes > .pane.on { grid-template-columns: 1.25fr 1fr; } }

/* galleries */
.gal { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.gal .shot img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; }
.gal .shot figcaption { position: static; display: block; border: 0; background: transparent; padding: 12px 14px 15px; border-radius: 0; backdrop-filter: none; }

/* themes swatch row */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.sw {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px 9px 10px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-size: 14px; color: var(--muted);
}
.sw i { width: 22px; height: 22px; border-radius: 7px; display: block; }

/* facts */
.facts { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 34px; }
.fact { padding: 24px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.fact b { display: block; font-family: var(--display); font-size: 32px; letter-spacing: -0.03em; color: var(--white); }
.fact span { color: var(--faint); font-size: 14px; }

/* pricing */
.prices { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); align-items: start; }
.price { padding: 34px 30px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); position: relative; }
.price.lead { background: linear-gradient(165deg, rgba(0,60,208,0.30), rgba(13,229,147,0.10) 70%, rgba(255,255,255,0.02)); border-color: rgba(44,107,255,0.5); }
.price .tag { font-family: var(--display); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
.price .amt { font-family: var(--display); font-size: 52px; font-weight: 800; letter-spacing: -0.04em; margin: 12px 0 4px; }
.price .amt small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price ul.ticks { margin-top: 22px; }

/* roadmap */
.road { position: relative; display: grid; gap: 24px; }
.road::before { content: ''; position: absolute; left: 13px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--green), var(--blue-lift), transparent); opacity: 0.5; }
.stop { position: relative; padding-left: 48px; }
.stop .dot { position: absolute; left: 6px; top: 7px; width: 17px; height: 17px; border-radius: 50%; background: var(--ink-2); border: 2px solid var(--blue-lift); }
.stop.done .dot { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 5px rgba(13,229,147,0.14); }
.stop h4 { font-family: var(--display); font-size: 19px; margin-bottom: 6px; }
.stop .when { font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.stop p { color: var(--muted); font-size: 15.5px; margin-top: 6px; }

/* download */
.gets { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.get { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; gap: 12px; }
.get h3 { font-size: 21px; }
.get p { color: var(--muted); font-size: 15px; }
.get .btn { margin-top: auto; align-self: flex-start; }
.badge-soon { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; align-self: flex-start; }
.qr-row { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; margin-top: 32px; }
.qr { width: 132px; padding: 12px; border-radius: 16px; background: var(--white); }
.code {
  font-family: ui-monospace, 'Cascadia Mono', Menlo, monospace; font-size: 19px; letter-spacing: 0.08em;
  background: rgba(13,229,147,0.10); border: 1px dashed rgba(13,229,147,0.45); color: var(--green);
  padding: 9px 15px; border-radius: 12px; display: inline-block;
}
.steps { list-style: none; counter-reset: s; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; color: var(--muted); font-size: 15.5px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 2px; width: 26px; height: 26px;
  border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line);
  display: grid; place-items: center; font-family: var(--display); font-size: 13px; color: var(--text);
}

/* footer */
footer { border-top: 1px solid var(--line-soft); padding: 54px 0 46px; background: rgba(0,0,0,0.30); }
.foot { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.foot h5 { font-family: var(--display); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
.foot a { display: block; color: var(--muted); text-decoration: none; font-size: 15px; padding: 5px 0; }
.foot a:hover { color: var(--text); }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-soft); color: var(--faint); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 10px 24px; }

/* lightbox */
dialog.lb { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
dialog.lb::backdrop { background: rgba(2,4,9,0.93); }
dialog.lb img { border-radius: 14px; border: 1px solid var(--line); max-height: 86vh; width: auto; }
dialog.lb .cap { text-align: center; color: var(--muted); font-size: 14px; padding-top: 12px; }

/* reveal */
.rise { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1); }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  .stack .a, .stack .b, .stack .c { transform: none; }
}

/* comparison table */
table.cmp { width: 100%; border-collapse: collapse; min-width: 620px; }
table.cmp th, table.cmp td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); font-size: 15.5px; }
table.cmp thead th { font-family: var(--display); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); border-bottom-color: var(--line); }
table.cmp thead th.us { color: var(--green); }
table.cmp tbody td:first-child { color: var(--text); font-weight: 500; width: 42%; }
table.cmp td.no { color: var(--faint); }
table.cmp td.part { color: var(--muted); }
table.cmp td.yes { color: var(--text); font-weight: 600; background: linear-gradient(90deg, rgba(13,229,147,0.10), transparent); }
table.cmp tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  table.cmp { min-width: 0; table-layout: fixed; }
  table.cmp th, table.cmp td { padding: 11px 8px; font-size: 13.5px; overflow-wrap: break-word; hyphens: auto; }
  table.cmp thead th { font-size: 11px; letter-spacing: 0.08em; }
  table.cmp tbody td:first-child { width: 36%; }
}

/* ---- platform picker -------------------------------------------------- */
.picker { margin-top: 28px; }
.pickrow { display: flex; flex-wrap: wrap; gap: 10px; }
.pick {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 16px 11px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.025);
  color: var(--muted); font: inherit; font-size: 15px; cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.pick svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pick svg.solid { fill: currentColor; stroke: none; }
.pick .nm { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.pick:hover { color: var(--text); border-color: rgba(255,255,255,0.22); }
.pick[aria-selected="true"] {
  color: var(--text); transform: translateY(-1px);
  border-color: var(--blue-lift);
  background: linear-gradient(140deg, rgba(44,107,255,0.22), rgba(255,255,255,0.03));
  box-shadow: 0 10px 28px -18px var(--blue-lift);
}
.pick:focus-visible { outline: 2px solid var(--blue-lift); outline-offset: 3px; }

/* the status chip, on a pill and again in the panel */
.st {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
  padding: 4px 9px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line); color: var(--faint); background: rgba(255,255,255,0.03);
}
.pick .st { font-size: 10px; letter-spacing: 0.1em; padding: 3px 8px; }
.st.now { color: var(--green); border-color: rgba(13,229,147,0.45); background: rgba(13,229,147,0.12); }
.st.review { color: #9FD7FF; border-color: rgba(159,215,255,0.38); background: rgba(159,215,255,0.10); }
.st.building { color: #FFC978; border-color: rgba(255,201,120,0.36); background: rgba(255,201,120,0.10); }

/* the panel that swaps under the row */
.ppane {
  display: none; gap: clamp(20px, 3vw, 34px); align-items: center;
  margin-top: 20px; padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line); border-radius: var(--r); background: var(--panel);
  position: relative; overflow: hidden;
}
.ppane.on { display: flex; animation: ppin .32s cubic-bezier(.2,.7,.3,1) both; }
@keyframes ppin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ppane::before {
  content: ""; position: absolute; inset: -40% 55% -40% -20%;
  background: radial-gradient(60% 60% at 30% 50%, rgba(44,107,255,0.20), transparent 70%);
  pointer-events: none;
}
.pglyph {
  flex: none; width: clamp(74px, 9vw, 104px); height: clamp(74px, 9vw, 104px);
  display: grid; place-items: center; border-radius: 22px; position: relative;
  border: 1px solid var(--line); background: linear-gradient(150deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));
  color: var(--text);
}
.pglyph.now { border-color: rgba(13,229,147,0.42); color: var(--green); background: linear-gradient(150deg, rgba(13,229,147,0.16), rgba(255,255,255,0.02)); }
.pglyph svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pglyph svg.solid { fill: currentColor; stroke: none; }
.pbody { position: relative; }
.pbody h4 { font-family: var(--display); font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.02em; margin: 0 0 10px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pbody p { margin: 0 0 8px; max-width: 62ch; }
.pbody p:last-child { margin-bottom: 0; }
@media (max-width: 620px) {
  .ppane { flex-direction: column; align-items: flex-start; text-align: left; }
  .pick { font-size: 14px; padding: 9px 13px 9px 11px; }
}

/* ---- the contact form ------------------------------------------------- */
.flabel { display: block; font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: 0.01em; color: var(--muted); margin: 14px 0 6px; }
.flabel:first-child { margin-top: 0; }
.finput {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--text);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 14px; transition: border-color .15s ease, background .15s ease;
}
.finput:focus { outline: none; border-color: var(--blue-lift); background: rgba(44,107,255,0.08); }
textarea.finput { resize: vertical; min-height: 110px; line-height: 1.55; }
select.finput { appearance: none; cursor: pointer; }
#contact .btn { margin-top: 18px; }
.fmsg { margin: 12px 0 0; font-size: 14.5px; line-height: 1.5; min-height: 1.2em; color: var(--muted); }
.fmsg.bad { color: #FFC978; }
.fmsg.good { color: var(--green); }
/* A field no person sees and every dumb bot fills in. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- the social row ---------------------------------------------------- */
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.03); color: var(--muted);
  transition: color .15s ease, border-color .15s ease, transform .15s ease;
}
.socials a:hover { color: var(--text); border-color: rgba(255,255,255,0.24); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; fill: currentColor; }



/* Editorial proportions: keep the rich feature story without wall-sized repeated captures. */
.shot{max-width:880px;margin-left:auto;margin-right:auto}.shot img{max-height:495px;object-fit:contain}.scene>.shot{max-width:660px}.manual-callout,.ad-invite{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:32px}.manual-callout p,.ad-invite p{max-width:650px}.ad-invite figure{margin:0;flex-shrink:0;text-align:center}.ad-invite img{padding:10px;background:white;border-radius:16px}.ad-invite figcaption{font-size:12px;margin-top:10px;color:var(--muted)}@media(max-width:700px){.manual-callout,.ad-invite{flex-direction:column;align-items:flex-start;padding:24px}.shot img{max-height:none}}




/* ---- a company address in a legal page --------------------------------- */
.legal-address {
  font-style: normal; line-height: 1.7; color: var(--muted); font-size: 16px;
  border-left: 2px solid var(--line); padding: 4px 0 4px 18px; margin: 4px 0 18px;
}
.legal-address b { color: var(--text); }

/* ---- English / Español -------------------------------------------------- */
/* Sits between the menu and the buttons; the buttons give up their auto margin to it so the pair
   stays together on the right at every width. */
.lang-switch {
  margin-left: auto; flex-shrink: 0; white-space: nowrap; text-decoration: none;
  color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .02em;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px;
  transition: color .2s, border-color .2s;
}
.lang-switch:hover, .lang-switch:focus-visible { color: var(--text); border-color: var(--muted); }
.lang-switch + .top-actions { margin-left: 0; }

/* ---- the contact form's dropdown ---------------------------------------------------------------------
   The open list is drawn by the browser, which kept its own light background under this page's light text:
   the choices were almost invisible (owner, 09-23, screenshot). A dark list, and the arrow that
   `appearance: none` had removed, so it reads as a dropdown before it is opened. */
select.finput { color-scheme: dark; padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%239fb4d6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center; background-size: 14px 9px; }
select.finput option { background: #111827; color: #f2f6ff; }

/* The "Prefer email?" note above the contact form sat on the first label with no gap. */
#help .panel > p:first-child { margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
/* The phone, upright (09-30): its own gallery, so the 16:9 crop of .gal never cuts a phone screen in half. */
.phones{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));max-width:1100px;margin:0 auto}
.phones .shot{max-width:none;border-radius:26px}
.phones .shot img{aspect-ratio:9/20;object-fit:cover;object-position:top center;max-height:none}
.phones .shot figcaption{position:static;display:block;border:0;background:transparent;padding:10px 12px 12px;border-radius:0;backdrop-filter:none;font-size:13px}

/* ---- The header, at every width (owner, 10-02: "header issues where certain items disappear") --------
   Below 1380px the section links used to vanish behind a bare "Menu" text, so a 1024-1366px laptop saw no
   navigation at all, and a phone got a two-row header. Now there is one row at every width and every item
   is either in that row or in the Menu panel, never nowhere:
     >= 1200px  logo · the section links · language · Dashboard · Get TiviDeck
     621-1199   logo · language · Dashboard · Get TiviDeck · Menu (the links are in the panel)
     <= 620px   logo · Get TiviDeck · Menu (Dashboard and the language switch are at the foot of the panel)
   The 1200px line is measured, not guessed: the Spanish home row (eight links, the longest) needs ~1075px of
   the 1080px the .wrap gives at 1200px, with the tighter link padding below 1320px. menu.js closes the
   panel on a link, Escape, an outside tap, and when the window grows past 1200px. */
.top-in { gap: 16px; height: auto; min-height: 80px; padding-block: 12px; position: relative; flex-wrap: nowrap; }
.mark { flex: none; }
.mark img { height: 38px; width: auto; max-width: none; }
nav.links { display: none; flex: none; gap: 2px; margin-left: auto; }
nav.links a { white-space: nowrap; padding: 9px 12px; }
nav.links a[aria-current="page"] { color: var(--text); background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); }
.top-in > .lang-switch { margin-left: auto; }
.top-actions { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.top-in > .lang-switch + .top-actions { margin-left: 0; }
.top .btn { margin-left: 0; white-space: nowrap; }

.mobile-menu { order: 10; flex: none; }
.mobile-menu summary {
  list-style: none; position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 16px 0 42px; border-radius: 999px; cursor: pointer; user-select: none;
  border: 1px solid var(--line); background: rgba(255,255,255,0.035); color: var(--text);
  font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary::marker { content: ''; }
.mobile-menu summary:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.22); }
.mobile-menu summary:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
/* three bars that fold into a cross while the panel is open */
.mobile-menu summary::before, .mobile-menu summary::after {
  content: ''; position: absolute; left: 16px; top: 50%; width: 16px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .25s ease, box-shadow .25s ease;
}
.mobile-menu summary::before { transform: translateY(-1px); box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
.mobile-menu summary::after { transform: translateY(-1px) scaleX(0); }
.mobile-menu[open] summary { border-color: rgba(13,229,147,0.45); background: rgba(13,229,147,0.08); box-shadow: 0 0 0 4px rgba(13,229,147,0.07); }
.mobile-menu[open] summary::before { transform: translateY(-1px) rotate(45deg); box-shadow: none; }
.mobile-menu[open] summary::after { transform: translateY(-1px) rotate(-45deg); }

.menu-panel {
  position: absolute; top: calc(100% - 4px); right: var(--gutter); z-index: 70;
  width: min(420px, calc(100% - 2 * var(--gutter)));
  max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain;
  padding: 10px; border-radius: 22px; border: 1px solid rgba(255,255,255,0.12);
  /* opaque on purpose: under the header's backdrop-filter a translucent panel let the page text show through */
  background: linear-gradient(180deg, #141c2e, #0a0f1b);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.85), 0 0 0 1px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}
.mobile-menu[open] .menu-panel { animation: menu-in .2s ease-out; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(.985); } to { opacity: 1; transform: none; } }
.menu-panel nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.menu-panel nav a {
  display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none;
  color: var(--text); font-size: 15px; font-weight: 500; line-height: 1.3; transition: background .15s, color .15s;
}
.menu-panel nav a:hover, .menu-panel nav a:focus-visible { background: var(--panel-2); outline: none; }
.menu-panel nav a[aria-current="page"] { color: var(--green); background: rgba(13,229,147,0.08); }
.menu-foot { display: none; }

@media (min-width: 1200px) {
  nav.links { display: flex; }
  .mobile-menu { display: none; }
}
@media (min-width: 1200px) and (max-width: 1319px) {
  .top-in { gap: 12px; }
  nav.links a { padding-inline: 9px; }
}
@media (max-width: 620px) {
  .top-in { gap: 10px; min-height: 68px; padding-block: 10px; }
  .mark img { height: 36px; }
  /* Dashboard and the language switch live at the foot of the menu panel on a phone */
  .top-in > .lang-switch, .top-actions .btn.ghost { display: none; }
  .top-in > .top-actions, .top-in > .lang-switch + .top-actions { margin-left: auto; }
  .top-actions .btn { padding: 10px 15px; font-size: 13.5px; }
  .mobile-menu summary { width: 42px; padding: 0; font-size: 0; gap: 0; }
  .mobile-menu summary::before, .mobile-menu summary::after { left: 12px; }
  .menu-panel { top: 100%; }
  .menu-foot {
    display: flex; align-items: center; gap: 10px;
    margin-top: 8px; padding: 12px 4px 4px; border-top: 1px solid var(--line-soft);
  }
  .menu-foot .btn { flex: 1; }
  .menu-foot .lang-switch { margin-left: 0; padding: 10px 16px; font-size: 13.5px; }
}
@media (max-width: 360px) {
  .top-in { gap: 8px; }
  .mark img { height: 26px; }
  .top-actions .btn { padding: 9px 11px; font-size: 13px; }
}
@media (max-width: 340px) {
  .menu-panel nav { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu[open] .menu-panel { animation: none; }
  .mobile-menu summary::before, .mobile-menu summary::after { transition: none; }
}

/* ------------------------------------------- platforms in the works */
.soon-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 14px; font-size: 14px; color: var(--faint); }
.soon-line .soon-pill { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; color: var(--green); border: 1px solid rgba(13,229,147,0.45); background: rgba(13,229,147,0.08); padding: 3px 10px; border-radius: 999px; }
.soon-line b { color: var(--muted); font-weight: 600; }
.soon-line a { color: var(--green); text-decoration: none; border-bottom: 1px solid rgba(13,229,147,0.35); }
.soon-line a:hover { border-bottom-color: var(--green); }
.soon-line[hidden] { display: none; } /* the partner-code line (ref.js) stays hidden until there is a code */

/* Five app languages: a pill and each language named in itself. The Arabic chip is dir="rtl". */
.lang-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; font-size: 14px; color: var(--faint); }
.lang-line + .soon-line, .soon-line + .lang-line { margin-top: 10px; }
.lang-pill { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; color: #9FD7FF; border: 1px solid rgba(44,107,255,0.55); background: rgba(44,107,255,0.14); padding: 3px 10px; border-radius: 999px; }
.lang-names { display: flex; flex-wrap: wrap; gap: 6px; }
.lang-chip { white-space: nowrap; font-size: 13.5px; font-weight: 500; color: var(--text); background: var(--panel-2); border: 1px solid var(--line); padding: 2px 10px; border-radius: 999px; unicode-bidi: isolate; }
.lang-chip[dir="rtl"] { font-size: 14.5px; font-family: 'Segoe UI', 'Noto Sans Arabic', 'Geeza Pro', Tahoma, system-ui, sans-serif; }
.lang-note b { color: var(--muted); font-weight: 600; white-space: nowrap; }

.langs-band { margin-top: 18px; display: grid; gap: clamp(22px, 3vw, 40px); align-items: center; grid-template-columns: 1fr; padding: clamp(26px, 4vw, 44px); border-radius: var(--r); border: 1px solid var(--line); position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 100% 0%, rgba(44,107,255,0.20), transparent 55%), radial-gradient(90% 120% at 0% 100%, rgba(13,229,147,0.12), transparent 60%), var(--panel); }
.langs-band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--blue-lift), var(--green)); opacity: 0.85; }
@media (min-width: 900px) { .langs-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.langs-copy h3 { margin: 14px 0 10px; font-size: clamp(24px, 2.6vw, 32px); }
.langs-copy p { color: var(--muted); font-size: 15.5px; margin: 0; }
.langs-copy p b { color: var(--text); font-weight: 600; }
.langs-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .langs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.langs-grid li { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 14px; background: rgba(4,6,13,0.55); border: 1px solid var(--line); min-width: 0; }
.langs-grid li b { font-family: var(--display); font-size: clamp(19px, 2vw, 23px); letter-spacing: -0.01em; color: var(--text); overflow-wrap: normal; }
.langs-grid li small { color: var(--faint); font-size: 12.5px; }
.langs-grid li.rtl { grid-column: span 2; align-items: flex-end; text-align: right; border-color: rgba(13,229,147,0.40); background: linear-gradient(160deg, rgba(13,229,147,0.10), rgba(4,6,13,0.55)); }
.langs-grid li.rtl b { font-family: 'Segoe UI', 'Noto Sans Arabic', 'Geeza Pro', Tahoma, system-ui, sans-serif; text-align: right; font-size: clamp(21px, 2.2vw, 25px); }

/* ---- Family help (10-06): a relative's household set up from your phone --------------------------------
   The flow is drawn here in the site's own colors rather than captured, so it reads the same in every
   language: her TV shows a code, his phone sends a provider sealed for her devices, her TV applies it. */
.fh-band { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-lg);
  border: 1px solid rgba(13,229,147,0.34);
  background:
    radial-gradient(110% 120% at 0% 0%, rgba(13,229,147,0.15), transparent 55%),
    radial-gradient(100% 120% at 100% 100%, rgba(44,107,255,0.22), transparent 60%),
    linear-gradient(170deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)); }
.fh-band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--green), var(--blue-lift)); }
.fh-head { display: grid; gap: 18px 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .fh-head { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: end; } }
.fh-head h2 { margin: 14px 0 0; font-size: clamp(30px, 4.2vw, 52px); }
.fh-head h2 .grad { background: linear-gradient(100deg, var(--white) 8%, #9FD7FF 42%, var(--green) 88%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fh-head .lede { margin: 0; }
.fh-pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fh-pill { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
  color: var(--green); border: 1px solid rgba(13,229,147,0.45); background: rgba(13,229,147,0.10); padding: 3px 10px; border-radius: 999px; }
.fh-pill.blue { color: #9FD7FF; border-color: rgba(44,107,255,0.55); background: rgba(44,107,255,0.14); }

.fh-flow { list-style: none; margin: clamp(26px, 3.4vw, 38px) 0 0; padding: 0; display: grid; gap: 34px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .fh-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; } }
.fh-step { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--r);
  border: 1px solid var(--line); background: rgba(4,6,13,0.62); min-width: 0; }
.fh-step:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -27px; width: 20px; height: 20px; margin-left: -10px;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg) scale(0.6); opacity: 0.8; }
@media (min-width: 900px) { .fh-step:not(:last-child)::after { left: auto; right: -24px; bottom: auto; top: 50%; margin: -10px 0 0; transform: rotate(-45deg) scale(0.6); } }
.fh-who { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--faint); }
.fh-who .n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 13px; font-weight: 700;
  color: var(--ink); background: linear-gradient(135deg, var(--green), #6ff0c0); }
.fh-step h3 { font-size: 19px; margin: 0; }
.fh-step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* the drawn devices */
.fh-screen { border-radius: 14px; border: 1px solid rgba(255,255,255,0.14); background: linear-gradient(160deg, #0d1426, #060912 70%);
  box-shadow: 0 24px 50px -30px rgba(0,0,0,0.95), inset 0 1px 0 rgba(255,255,255,0.08); padding: 14px 16px; min-height: 172px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.fh-screen.tv { border-radius: 10px; }
.fh-screen.phone { max-width: 236px; width: 100%; margin: 0 auto; border-radius: 24px; padding: 18px 14px 16px; position: relative; }
.fh-screen.phone::before { content: ""; position: absolute; top: 7px; left: 50%; width: 46px; height: 5px; margin-left: -23px; border-radius: 99px; background: rgba(255,255,255,0.16); }
.fh-t { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--text); }
.fh-s { font-size: 12px; color: var(--faint); line-height: 1.45; }
.fh-code { font-family: ui-monospace, 'Cascadia Mono', Menlo, monospace; font-weight: 700; font-size: clamp(24px, 2.6vw, 30px); letter-spacing: 0.18em; color: var(--green); text-shadow: 0 0 22px rgba(13,229,147,0.45); }
.fh-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 9px; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-soft); }
.fh-row .fh-t { font-size: 12.5px; }
.fh-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.fh-chip { font-size: 11px; white-space: nowrap; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--faint); }
.fh-chip.on { color: var(--green); border-color: rgba(13,229,147,0.5); background: rgba(13,229,147,0.10); }
.fh-send { align-self: flex-start; font-family: var(--display); font-size: 12px; font-weight: 700; color: #fff; padding: 5px 14px; border-radius: 99px; background: linear-gradient(135deg, var(--blue-lift), var(--green)); }
.fh-seal { display: flex; align-items: center; gap: 10px; }
.fh-lock { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--green);
  border: 1px solid rgba(13,229,147,0.5); background: radial-gradient(circle at 50% 40%, rgba(13,229,147,0.28), rgba(13,229,147,0.06)); box-shadow: 0 0 26px -6px rgba(13,229,147,0.6); }
.fh-lock svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fh-added { color: var(--green); font-size: 11.5px; font-weight: 600; white-space: nowrap; }

.fh-facts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 26px; }
.fh-fact { padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(4,6,13,0.45); }
.fh-fact h3 { font-size: 17px; margin: 0 0 8px; }
.fh-fact p { color: var(--muted); font-size: 14.5px; margin: 0; }
.fh-fact.no { border-style: dashed; }
.fh-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.fh-cta .faint { max-width: 60ch; }

/* ------------------------------------------------------------- motion (10-11)
   The page moves like the app does: light that drifts behind everything, headline colour that flows,
   cards lit where the pointer is, the hero's devices tilting toward it, and a progress line under the
   header. Nothing here moves for a visitor who asked for reduced motion, and pointer effects only run
   where there is a mouse. */
.scroll-bar {
  position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 61; pointer-events: none;
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, #2C6BFF, #9FD7FF 50%, var(--green));
}
.panel.lit { position: relative; isolation: isolate; }
.panel.lit::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(110, 165, 255, 0.13), transparent 62%);
  opacity: 0; transition: opacity 0.35s ease;
}
.panel.lit:hover::after { opacity: 1; }
.showcase.tilt .device { transition: transform 0.5s cubic-bezier(.2,.7,.3,1); }
.showcase.tilt .device.tv { transform: perspective(1800px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); }
@media (prefers-reduced-motion: no-preference) {
  .aurora { animation: aurora-drift 28s ease-in-out infinite alternate; will-change: transform; }
  .showcase-glow { animation: glow-breathe 9s ease-in-out infinite; }
  .grad { background-size: 220% 100% !important; animation: grad-flow 9s ease-in-out infinite; }
  .rise.in .strip-cell, .rise.in .panel { animation: lift-in 0.7s cubic-bezier(.2,.7,.3,1) backwards; }
  .rise.in .panel:nth-child(2), .rise.in .strip-cell:nth-child(2) { animation-delay: 0.08s; }
  .rise.in .panel:nth-child(3), .rise.in .strip-cell:nth-child(3) { animation-delay: 0.16s; }
  .rise.in .panel:nth-child(4), .rise.in .strip-cell:nth-child(4) { animation-delay: 0.24s; }
  .rise.in .panel:nth-child(n+5) { animation-delay: 0.3s; }
}
@keyframes aurora-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-2.5%, 1.5%, 0) scale(1.07); }
  100% { transform: translate3d(2%, -1.5%, 0) scale(1.03); }
}
@keyframes glow-breathe { 0%, 100% { opacity: 0.8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes grad-flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes lift-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .scroll-bar { display: none; }
  .showcase.tilt .device.tv { transform: none; }
}
