:root {
  color-scheme: dark;
  --bg: #09090a;
  --surface: #111113;
  --surface-2: #17171a;
  --line: rgb(255 255 255 / .08);
  --line-2: rgb(255 255 255 / .14);
  --text: #edede9;
  --muted: #8d8d92;
  --dim: #55555b;
  --accent: #8be04e;
  --accent-ink: #0c1606;
  --amber: #f5b841;
  --red: #e5534b;
  --font-px: "Pixelify Sans", ui-monospace, monospace;
  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "Cascadia Mono", monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
code { font-family: var(--font-mono); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-sprite] { display: inline-block; line-height: 0; }

h1, h2, h3 { font-family: var(--font-sans); font-weight: 600; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.04em; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
p { margin: 0; text-wrap: pretty; }

/* ---------- Pixel buttons (stepped corners) ---------- */
.btn {
  --c: 4px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  font: 600 15px/1 var(--font-sans);
  letter-spacing: -.01em;
  border: 0; cursor: pointer; white-space: nowrap;
  clip-path: polygon(0 var(--c), var(--c) var(--c), var(--c) 0, calc(100% - var(--c)) 0, calc(100% - var(--c)) var(--c), 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, var(--c) calc(100% - var(--c)), 0 calc(100% - var(--c)));
  transition: background-color .15s, color .15s, translate .1s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 -4px 0 rgb(0 0 0 / .22); }
.btn-primary:hover { background: #a3f06a; }
.btn-primary:active { translate: 0 2px; box-shadow: inset 0 -2px 0 rgb(0 0 0 / .22); }
.btn-ghost { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -4px 0 rgb(0 0 0 / .35); }
.btn-ghost:hover { background: #202024; }
.btn-ghost:active { translate: 0 2px; }
.btn-sm { padding: 9px 14px; font-size: 14px; --c: 3px; }

/* ---------- Frosted glass nav ---------- */
.nav-shell { position: fixed; inset: 14px 0 auto; z-index: 50; pointer-events: none; }
.nav {
  pointer-events: auto;
  width: min(100% - 2 * var(--gutter), 980px); margin-inline: auto;
  display: flex; align-items: center; gap: 28px;
  padding: 8px 8px 8px 16px;
  border-radius: 18px;
  background: rgb(22 22 25 / .62);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .28),
    inset 0 -1px 0 rgb(255 255 255 / .06),
    inset 1px 0 0 rgb(255 255 255 / .10),
    inset -1px 0 0 rgb(255 255 255 / .10),
    inset 0 0 18px rgb(255 255 255 / .04),
    0 10px 30px rgb(0 0 0 / .45);
  position: relative;
}
.nav::before { /* lit rim, brightest top-left */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgb(255 255 255 / .45), rgb(255 255 255 / .05) 35%, rgb(255 255 255 / .02) 65%, rgb(255 255 255 / .22));
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
}
.brand { display: flex; align-items: center; gap: 10px; font: 600 19px/1 var(--font-px); letter-spacing: -.01em; }
.brand b { color: var(--accent); font-weight: 600; }
.nav-links { display: flex; gap: 24px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: transparent; border: 0; color: var(--muted); cursor: pointer;
}
.icon-btn:hover { color: var(--text); background: rgb(255 255 255 / .06); }
@media (width < 820px) { .nav-links { display: none; } }
@media (width < 420px) { .nav { gap: 10px; } .brand { font-size: 17px; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(140px, 18vw, 190px); text-align: center; isolation: isolate; }
.hero-sky { position: absolute; inset: 0 0 auto; height: 760px; width: 100%; z-index: -1; opacity: .9; image-rendering: pixelated;
  mask: linear-gradient(#000 55%, transparent); -webkit-mask: linear-gradient(#000 55%, transparent); }
.hero h1 {
  font-size: clamp(50px, 9.2vw, 118px);
  line-height: .98; letter-spacing: -.05em;
  max-width: 11ch; margin-inline: auto;
}
.hero h1 .accent { color: var(--accent); }
.hero .lede { margin: 28px auto 0; max-width: 600px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }

.hero-visual { margin: clamp(56px, 8vw, 88px) 0 0; }
.hero-frame {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 0 0 6px rgb(255 255 255 / .02), 0 40px 120px -20px rgb(139 224 78 / .16), 0 30px 80px rgb(0 0 0 / .6);
  background: #0b0b0c;
  aspect-ratio: 16 / 9;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.concept-note { margin-top: 14px; font-size: 13px; color: var(--dim); }

/* ---------- Platform strip: endless marquee (two identical halves, slides by -50%) ---------- */
.strip { margin-top: clamp(96px, 12vw, 150px); border-block: 1px solid var(--line); padding-block: 26px; overflow: hidden;
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.strip-track { display: flex; align-items: center; width: max-content; font: 600 clamp(28px, 3.6vw, 42px)/1 var(--font-sans); letter-spacing: -.03em; color: #3d3d43; white-space: nowrap; }
.strip-track > span { margin-right: 40px; }
.strip-track .on { color: var(--text); }
@media (prefers-reduced-motion: no-preference) {
  .strip-track { animation: strip-slide 40s linear infinite; }
  .strip:hover .strip-track { animation-play-state: paused; }
}
@keyframes strip-slide { from { translate: 0 0; } to { translate: -50% 0; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(96px, 13vw, 168px); }
.section > .wrap > h2 { max-width: 15ch; margin-bottom: 48px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: 12px; }
.tile {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .2s;
}
.tile:hover { border-color: var(--line-2); }
.tile p { color: var(--muted); font-size: 15px; }
.tile .art { margin-top: auto; }
.t-white { grid-column: span 2; grid-row: span 2; }
.t-remote { grid-row: span 2; }
.t-epg { grid-column: span 3; }
@media (width < 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-white { grid-column: span 2; grid-row: auto; }
  .t-remote { grid-row: span 1; }
  .t-epg { grid-column: span 2; }
}
@media (width < 620px) {
  .bento { grid-template-columns: 1fr; }
  .t-white, .t-epg { grid-column: auto; }
}

/* white-label TVs: the same app in three brands */
.tvs { position: relative; height: 330px; margin-top: auto; }
.tv {
  --brand: var(--accent);
  position: absolute; width: min(370px, 70%);
  transition: translate .35s cubic-bezier(.2,.8,.2,1);
}
.tv-screen {
  aspect-ratio: 16 / 9; background: #0c0c0e; border: 6px solid #1f1f23; border-radius: 6px;
  box-shadow: 0 0 0 1px var(--line-2), 0 18px 40px rgb(0 0 0 / .55);
  display: grid; grid-template-columns: 22px 1fr; overflow: hidden;
}
.tv-rail { background: #141417; display: grid; align-content: start; gap: 7px; padding: 10px 6px; }
.tv-rail i { height: 8px; background: #2b2b30; }
.tv-rail i:first-child { background: var(--brand); }
.tv-main { padding: 10px; display: grid; grid-template-rows: auto 1fr; gap: 9px; }
.tv-hero { height: 70px; background:
  linear-gradient(transparent 60%, rgb(0 0 0 / .5)),
  repeating-linear-gradient(90deg, color-mix(in srgb, var(--brand) 40%, #111) 0 8px, color-mix(in srgb, var(--brand) 32%, #111) 8px 16px);
  position: relative; }
.tv-hero::after { content: ""; position: absolute; left: 10px; bottom: 10px; width: 40%; height: 7px; background: var(--brand); box-shadow: 0 -12px 0 -1px #e9e9e4; }
.tv-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; align-content: start; }
.tv-row i { aspect-ratio: 16 / 10; background: #232327; }
.tv-row i:nth-child(2) { outline: 2px solid var(--brand); outline-offset: 1px; background: #2e2e33; }
.tv-stand { width: 26%; height: 8px; margin: 0 auto; background: #1f1f23; }
.tv:nth-child(1) { --brand: #6aa7ff; left: 0; top: 0; opacity: .5; }
.tv:nth-child(2) { --brand: var(--amber); left: 12%; top: 46px; opacity: .78; }
.tv:nth-child(3) { left: 24%; top: 92px; }
.t-white:hover .tv:nth-child(1) { translate: -6px -6px; }
.t-white:hover .tv:nth-child(3) { translate: 6px 6px; }
@media (width < 620px) { .tv { width: 84%; } .tv:nth-child(2) { left: 8%; top: 30px; } .tv:nth-child(3) { left: 16%; top: 60px; } .tvs { height: 250px; } }

/* remote navigation demo */
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.focus-grid i { aspect-ratio: 16 / 10; background: #1f1f23; transition: outline-color .15s, background-color .15s; outline: 2px solid transparent; outline-offset: 2px; }
.focus-grid i.f { outline-color: var(--accent); background: #2c2c31; }
.dpad { display: grid; grid-template-columns: repeat(3, 26px); grid-template-rows: repeat(3, 26px); gap: 3px; justify-content: center; margin-top: 18px; }
.dpad b { background: #1f1f23; display: grid; place-items: center; color: var(--dim); font: 600 12px/1 var(--font-px); transition: background-color .15s, color .15s; }
.dpad b.on { background: var(--accent); color: var(--accent-ink); }
.dpad .u { grid-area: 1 / 2; } .dpad .l { grid-area: 2 / 1; } .dpad .ok { grid-area: 2 / 2; border-radius: 50%; } .dpad .r { grid-area: 2 / 3; } .dpad .d { grid-area: 3 / 2; }

/* store publishing timeline */
.timeline { display: flex; gap: 6px; align-items: end; }
.timeline div { flex: 1; display: grid; gap: 6px; justify-items: center; font: 11px/1 var(--font-mono); color: var(--dim); }
.timeline i { width: 100%; aspect-ratio: 1; max-width: 26px; background: #26262b; }
.timeline .done i { background: #3c7322; }
.timeline .live i { background: var(--accent); box-shadow: 0 0 0 3px rgb(139 224 78 / .18); }
.timeline .live { color: var(--accent); }

.specs { margin-top: auto; font: 13px/1.9 var(--font-mono); color: var(--muted); }
.specs b { color: var(--text); font-weight: 500; }

/* EPG */
.epg { margin-top: auto; position: relative; display: grid; gap: 4px; font: 12px/1 var(--font-mono); }
.epg-times { display: grid; grid-template-columns: 52px minmax(0, 1fr); color: var(--dim); margin-bottom: 4px; }
.epg-times div { display: flex; justify-content: space-between; }
.epg-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: stretch; }
.epg-row > span { color: var(--muted); display: flex; align-items: center; }
.epg-row > div { display: flex; gap: 4px; min-width: 0; overflow: hidden; }
.epg-row em { font-style: normal; background: #1c1c20; color: #b7b7bc; padding: 10px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.epg-row em.live { background: #23331a; color: var(--text); }
.epg-row em.live::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--red); margin-right: 8px; vertical-align: 1px; }
.epg-now { position: absolute; top: 18px; bottom: 0; width: 2px; background: var(--accent); left: calc(52px + (100% - 52px) * var(--now, .38)); box-shadow: 0 0 10px rgb(139 224 78 / .6); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .n { font: 600 22px/1.2 var(--font-px); color: var(--dim); grid-row: span 2; }
.steps strong { font: 600 18px/1.3 var(--font-sans); letter-spacing: -.015em; }
.steps p { color: var(--muted); font-size: 15px; grid-column: 2; }
.board {
  background: #0c0c0e; border: 1px solid var(--line-2); border-radius: 12px; padding: 26px;
  box-shadow: 0 30px 80px rgb(0 0 0 / .55);
}
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.board-head span { font: 12px/1 var(--font-mono); color: var(--dim); }
.gantt { display: grid; grid-template-columns: 76px repeat(12, minmax(0, 1fr)); gap: 10px 3px; align-items: center; font: 12px/1 var(--font-mono); color: var(--muted); }
.gantt .wk { color: var(--dim); font-size: 11px; grid-row: 1; }
.gantt .lbl { grid-column: 1; }
.gantt .bar { height: 14px; background: repeating-linear-gradient(90deg, var(--c) 0 10px, transparent 10px 12px); }
.stores { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.stores li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.stores b { color: var(--text); font-weight: 500; margin-right: 8px; }
.status { display: inline-flex; align-items: center; gap: 8px; font: 12px/1 var(--font-mono); color: var(--accent); white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.status.rev { color: var(--amber); }
@media (prefers-reduced-motion: no-preference) { .status.rev::before { animation: review 2.4s ease-in-out infinite; } }
@keyframes review { 50% { opacity: .35; } }
@media (width < 480px) { .board { padding: 20px 16px; } .gantt { grid-template-columns: 64px repeat(12, minmax(0, 1fr)); } .stores li > span:first-child span { display: none; } }
@media (width < 900px) { .process { grid-template-columns: 1fr; } }

/* ---------- Numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.numbers div { padding: 40px 24px 36px; border-left: 1px solid var(--line); }
.numbers div:first-child { border-left: 0; padding-left: 0; }
.numbers strong { display: block; font: 600 clamp(44px, 6vw, 76px)/1 var(--font-px); letter-spacing: -.03em; }
.numbers strong em { font-style: normal; color: var(--accent); }
.numbers span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }
@media (width < 800px) {
  .numbers { grid-template-columns: 1fr 1fr; }
  .numbers div:nth-child(3) { border-left: 0; padding-left: 0; }
  .numbers div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Platform table ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
thead th { font: 500 13px/1 var(--font-sans); color: var(--dim); padding-bottom: 14px; }
th:first-child, td:first-child { padding-left: 0; }
tbody th { font: 600 17px/1.3 var(--font-sans); letter-spacing: -.01em; color: var(--text); }
tbody td { color: var(--muted); }
tbody tr { transition: background-color .15s; }
tbody tr:hover { background: rgb(255 255 255 / .02); }
.yes { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.more th { color: var(--muted); }
@media (width < 620px) {
  table { min-width: 0; font-size: 14px; }
  thead th:nth-child(4), tbody td:nth-child(4) { display: none; }
  th, td { padding: 14px 8px; }
  tbody th { font-size: 17px; }
}

/* ---------- Final CTA ---------- */
.cta { text-align: center; padding-top: clamp(96px, 13vw, 168px); }
.cta h2 { font-size: clamp(44px, 7.5vw, 96px); letter-spacing: -.05em; line-height: 1; max-width: 12ch; margin-inline: auto; }
.cta .hero-actions { margin-top: 36px; }
.scene { width: 100%; aspect-ratio: 256 / 96; margin-top: clamp(32px, 6vw, 64px); image-rendering: pixelated; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding-block: 56px 40px; color: var(--muted); font-size: 14px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h3 { font: 500 14px/1 var(--font-sans); color: var(--text); margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a:hover { color: var(--text); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; color: var(--dim); font-size: 13px; }
@media (width < 720px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: span 2; } }


/* ---------- Shared bits for every page ---------- */
.nav-links a[aria-current="page"] { color: var(--text); }
.foot-mail { color: var(--text); }
.foot-mail:hover, .foot-base a:hover { color: var(--accent); }
.scene-wrap { margin-top: clamp(40px, 8vw, 96px); }
.scene-wrap .scene { margin-top: 0; }
body { accent-color: var(--accent); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; padding-top: clamp(150px, 18vw, 200px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero .hero-sky { height: 520px; }
.page-hero h1 { font-size: clamp(44px, 7.4vw, 92px); line-height: 1; letter-spacing: -.05em; max-width: 15ch; }
.page-hero .lede { margin-top: 24px; max-width: 58ch; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); }
.page-hero-sm { padding-bottom: 40px; }
.page-hero-sm h1 { font-size: clamp(40px, 6vw, 72px); }
.page-hero-sm .lede { font: 13px/1 var(--font-mono); color: var(--dim); margin-top: 18px; }

/* ---------- Contact section + form ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-intro { position: sticky; top: 110px; }
.contact-intro > p { margin-top: 20px; max-width: 42ch; color: var(--muted); font-size: 18px; }
.contact-lines { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--line); font-size: 15px; }
.contact-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact-lines li > span:first-child { color: var(--dim); }
.contact-lines a { color: var(--text); }
.contact-lines a:hover { color: var(--accent); }
.contact-panda { margin-top: 44px; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field > label, .field > legend { font-size: 14px; font-weight: 500; color: var(--text); padding: 0; }
.field > legend { margin-bottom: 10px; }
.form input[type="text"], .form input[type="email"], .form select, .form textarea {
  width: 100%; background: #0c0c0e; color: var(--text);
  border: 1px solid var(--line-2); border-radius: 8px; padding: 12px 14px;
  font: 15px/1.4 var(--font-sans);
  transition: border-color .15s, background-color .15s;
}
.form textarea { resize: vertical; min-height: 116px; field-sizing: content; }
.form ::placeholder { color: var(--dim); }
.form input:hover, .form select:hover, .form textarea:hover { border-color: rgb(255 255 255 / .22); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.form select { appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(-45deg, transparent 50%, var(--muted) 50%);
  background-position: right 20px center, right 15px center; background-size: 5px 5px; background-repeat: no-repeat; }
.form :user-invalid { border-color: var(--red); }
.err { display: none; font-size: 13px; color: #ff8a84; }
.field:has(:user-invalid) .err { display: block; }

.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.choice {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; min-height: 46px;
  border: 1px solid var(--line-2); border-radius: 8px; background: #0c0c0e;
  font-size: 14px; color: var(--muted); cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}
.choice:hover { border-color: rgb(255 255 255 / .24); color: var(--text); }
.choice:has(:checked) { border-color: var(--accent); background: rgb(139 224 78 / .07); color: var(--text); }
.choice:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice input { margin: 0; width: 16px; height: 16px; flex: none; }
.model { align-items: flex-start; padding: 14px; }
.model input { margin-top: 2px; }
.model span { display: grid; gap: 4px; font-size: 13px; line-height: 1.4; }
.model b { font-weight: 600; font-size: 14px; color: var(--text); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-note { font-size: 13px; color: var(--dim); }
.form-status { font-size: 14px; color: var(--accent); }
.form-status:empty { display: none; }
.form-status a { text-decoration: underline; text-underline-offset: 3px; }

@media (width < 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-intro { position: static; }
  .contact-panda { display: none; }
}
@media (width < 620px) {
  .field-row, .models { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr 1fr; }
}

/* ---------- Services page ---------- */
.svc-index { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.svc-index a { padding: 20px; display: grid; gap: 6px; font-weight: 500; color: var(--text); border-left: 1px solid var(--line); transition: color .15s; }
.svc-index a:first-child { border-left: 0; padding-left: 0; }
.svc-index a:hover { color: var(--accent); }
.svc-index span { font: 600 15px/1 var(--font-px); color: var(--dim); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(72px, 10vw, 120px); scroll-margin-top: 80px; }
.svc + .svc { border-top: 1px solid var(--line); }
.svc:nth-of-type(even) .art-frame { order: -1; }
.svc h2 { font-size: clamp(32px, 4.2vw, 50px); }
.svc > div > p { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 48ch; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 14px; align-items: baseline; font-size: 16px; }
.ticks [data-sprite] { flex: none; translate: 0 2px; }
.art-frame { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 32px); min-height: 360px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.art-frame .tvs { margin: 0; }
.art-remote .focus-grid { margin: 0; }
.art-sprite { align-items: center; }
.art-sprite [data-sprite] svg { width: min(252px, 70vw); height: auto; }
@media (width < 860px) {
  .svc { grid-template-columns: 1fr; }
  .svc:nth-of-type(even) .art-frame { order: 0; }
  .svc-index { grid-template-columns: 1fr 1fr; }
  .svc-index a:nth-child(3) { border-left: 0; padding-left: 0; }
  .svc-index a:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (width < 480px) { .art-frame { min-height: 0; } }

/* ---------- About page ---------- */
.values { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 80px); }
.values li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 28px 0; border-top: 1px solid var(--line); }
.values .n { font: 600 22px/1.2 var(--font-px); color: var(--accent); }
.values p { margin-top: 8px; color: var(--muted); }
.why { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; padding-block: clamp(24px, 4vw, 48px) clamp(80px, 10vw, 128px); }
.why h2 { font-size: clamp(32px, 4.2vw, 50px); }
.why p { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 50ch; }
.why [data-sprite] svg { width: clamp(120px, 18vw, 192px); height: auto; }
@media (width < 760px) { .values { grid-template-columns: 1fr; } .why { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(40px, 6vw, 64px); border-block: 1px solid var(--line); }
.band h2 { font-size: clamp(30px, 4vw, 48px); }

/* ---------- FAQ (native exclusive accordion) ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-weight: 500; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 600 24px/1 var(--font-px); color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 36px 22px 0; color: var(--muted); }
@media (width < 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 220px minmax(0, 68ch); gap: clamp(32px, 6vw, 80px); padding-bottom: clamp(48px, 8vw, 96px); }
.toc nav { position: sticky; top: 110px; display: grid; gap: 10px; font-size: 14px; border-left: 1px solid var(--line); padding-left: 16px; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--text); }
.prose section { padding-top: 8px; scroll-margin-top: 100px; }
.prose section + section { margin-top: 40px; }
.prose h2 { font-size: 26px; letter-spacing: -.03em; margin-bottom: 14px; }
.prose p, .prose li { color: var(--muted); font-size: 16px; line-height: 1.75; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 12px; }
.prose ul { padding-left: 20px; margin: 0; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
@media (width < 860px) { .legal { grid-template-columns: 1fr; } .toc { display: none; } }

/* ---------- Phone menu (native popover) ---------- */
.menu-btn { display: none; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 10px; background: rgb(255 255 255 / .06); color: var(--text); cursor: pointer; }
.menu-btn:hover { background: rgb(255 255 255 / .1); }
.menu {
  position: fixed; inset: 76px 16px auto; margin: 0; width: auto;
  padding: 8px; border: 0; border-radius: 16px; color: var(--text);
  background: rgb(22 22 25 / .82); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), inset 0 0 0 1px rgb(255 255 255 / .08), 0 20px 50px rgb(0 0 0 / .6);
  pointer-events: auto;
}
.menu:popover-open { display: grid; }
.menu a { padding: 14px 14px; border-radius: 10px; font-size: 17px; font-weight: 500; }
.menu a:hover, .menu a[aria-current="page"] { background: rgb(255 255 255 / .06); }
.menu a[aria-current="page"] { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .menu { opacity: 0; translate: 0 -6px; transition: opacity .18s, translate .18s, display .18s allow-discrete, overlay .18s allow-discrete; }
  .menu:popover-open { opacity: 1; translate: 0 0; }
  @starting-style { .menu:popover-open { opacity: 0; translate: 0 -6px; } }
}
@media (width < 820px) { .menu-btn { display: grid; } }

/* ---------- Skip link + 404 ---------- */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--accent); color: var(--accent-ink); font-weight: 600; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.notfound [data-sprite] { margin-bottom: 32px; }
.notfound .hero-actions { margin-top: 32px; }
