/* CableCutter Player website. Editorial, near-black, monochrome with one signal colour (cyan) for the cut. */
:root {
  --bg: #0A0B0F; --bg2: #101219; --panel: #13151D; --line: #23262F; --line2: #2E323D;
  --text: #F2F3F6; --soft: #C5C8D2; --dim: #8A8F9E;
  --cyan: #67E8F9; --blue: #2EA8FF; --indigo: #4F7BF0; --purple: #8B5CF6;
  --ok: #6EE7A8; --warn: #FFC94D; --err: #FF7A85;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --display: Poppins, Inter, sans-serif;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--cyan); color: #000; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.label { overflow-wrap: anywhere; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(40px, 7vw, 92px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.2vw, 54px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--soft); max-width: 36em; }
.dim { color: var(--dim); }
.soft { color: var(--soft); }
.cut { color: var(--cyan); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--text);
  background: var(--text); color: #0A0B0F; font: 600 15px Inter, sans-serif; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); background: #fff; }
.btn.line { background: transparent; color: var(--text); border-color: var(--line2); }
.btn.line:hover { border-color: var(--text); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.danger { background: transparent; color: var(--err); border-color: rgba(255,122,133,.4); }
.btn svg { width: 16px; height: 16px; }
.link { background: none; border: 0; color: var(--dim); font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(10,11,15,.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand .mark-img { width: 54px; height: auto; }
.brand span { font: italic 800 20px var(--display); letter-spacing: -.02em; white-space: nowrap; background: linear-gradient(180deg, #fff, #C9CED8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand i { font-style: italic; background: linear-gradient(90deg, #39B6FF, #1E7BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot-logo { width: 220px; height: auto; margin-left: -10px; }
.band-logo img { width: 230px; height: auto; }
.ui-side .lg img, .sc-icon img { width: 100%; height: auto; }
.ui-side .lg { width: 4.6cqw; height: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--soft); font-size: 14.5px; }
.nav a:hover, .nav a.on { color: var(--text); }
.nav a.on { box-shadow: inset 0 -2px 0 var(--cyan); padding-bottom: 4px; }
.nav a.btn, .nav a.btn:hover { color: #0A0B0F; }
.menu-toggle { display: none; }
.burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line2); border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--text); position: relative; content: ""; }
.burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }

/* ---------- legal-use notice ---------- */
.notice { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; max-width: 760px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line2);
  border-radius: 16px; padding: 18px 20px; display: none; gap: 16px; align-items: center; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.notice.show { display: flex; }
.notice p { margin: 0; font-size: 14px; color: var(--soft); }

/* ---------- sections ---------- */
section { padding: 110px 0; position: relative; }
section.tight { padding: 70px 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.sec-head p { color: var(--soft); margin: 0; max-width: 34em; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* The cable that runs through the page and is cut at each section. */
.cable { position: relative; height: 40px; overflow: hidden; }
.cable::before, .cable::after { content: ""; position: absolute; top: 19px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #1E2230, #3A4256); }
.cable::before { left: 0; right: calc(50% + 14px); }
.cable::after { right: 0; left: calc(50% + 14px); background: linear-gradient(90deg, #3A4256, #1E2230); }
.cable i { position: absolute; left: 50%; top: 4px; width: 2px; height: 32px; background: var(--cyan); transform: translateX(-50%) rotate(28deg); box-shadow: 0 0 12px var(--cyan); }
.cable b { position: absolute; top: 18px; width: 6px; height: 5px; background: #E8A35A; border-radius: 1px; }
.cable b:first-of-type { left: calc(50% - 16px); } .cable b:last-of-type { left: calc(50% + 10px); }

/* ---------- hero ---------- */
.hero { padding: 84px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero h1 .l2 { display: block; color: var(--dim); }
.hero .lead { margin: 26px 0 34px; }
.facts { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.facts span { font-family: var(--mono); font-size: 12.5px; color: var(--soft); letter-spacing: .04em; }
.facts span::before { content: "— "; color: var(--cyan); }
.hero-cut { margin-top: 70px; height: 120px; position: relative; }
.hero-cut svg { width: 100%; height: 120px; }
.hc-left, .hc-right { stroke-width: 10; stroke-linecap: butt; }
.hc-blade { stroke: var(--cyan); stroke-width: 3; filter: drop-shadow(0 0 8px var(--cyan)); }
@media (prefers-reduced-motion: no-preference) {
  .hc-left { animation: hcl 4.5s cubic-bezier(.2,.8,.2,1) both; }
  .hc-right { animation: hcr 4.5s cubic-bezier(.2,.8,.2,1) both; }
  .hc-blade { animation: hcb 4.5s ease both; }
  .hc-spark { animation: hcs 4.5s ease-out both; }
}
@keyframes hcl { 0% { stroke-dasharray: 0 2000; } 25% { stroke-dasharray: 2000 0; transform: none; } 45% { transform: none; } 70%, 100% { transform: translate(-24px, 6px) rotate(-1deg); } }
@keyframes hcr { 0%, 12% { stroke-dasharray: 0 2000; } 30% { stroke-dasharray: 2000 0; transform: none; } 45% { transform: none; } 70%, 100% { transform: translate(24px, -6px) rotate(-1deg); } }
@keyframes hcb { 0%, 32% { opacity: 0; transform: translateY(-40px); } 40% { opacity: 1; transform: none; } 60%, 100% { opacity: 0; } }
@keyframes hcs { 0%, 40% { opacity: 0; } 44% { opacity: 1; } 70%, 100% { opacity: 0; transform: translateY(18px); } }

/* ---------- TV + phone mockups ---------- */
.tv { position: relative; }
.tv .bezel { background: #050507; border: 1px solid #2A2D36; border-radius: 14px; padding: 10px; box-shadow: 0 50px 120px -30px rgba(79,123,240,.35), 0 0 0 1px rgba(255,255,255,.02); }
.tv .screen { aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; position: relative; background: #0E0F17; font-family: Inter, sans-serif; container-type: inline-size; }
.tv .stand { width: 26%; height: 14px; margin: 0 auto; background: linear-gradient(#1A1C22, #0D0E12); border-radius: 0 0 8px 8px; }
.phone { width: 230px; aspect-ratio: 9 / 19; background: #050507; border: 1px solid #2A2D36; border-radius: 34px; padding: 9px; box-shadow: 0 40px 90px -20px rgba(0,0,0,.8); }
.phone .ps { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #0E0F17; position: relative; container-type: inline-size; }

/* App UI inside the TV (sizes in container units so it scales with the TV). */
.ui { position: absolute; inset: 0; display: flex; color: #fff; font-size: 1.6cqw; }
.ui-side { width: 7%; display: flex; flex-direction: column; align-items: center; gap: 4.2cqw; padding-top: 3cqw; background: rgba(0,0,0,.25); }
.ui-side .lg { width: 3.2cqw; height: 3.2cqw; }
.ui-side i { width: 2.2cqw; height: 2.2cqw; border-radius: .5cqw; background: rgba(255,255,255,.35); }
.ui-side i.on { background: #fff; box-shadow: 0 0 0 .7cqw rgba(255,255,255,.12); }
.ui-main { flex: 1; padding: 3cqw 3.5cqw; position: relative; overflow: hidden; }
.ui-hero { position: absolute; inset: 0 0 45% 0; background:
  radial-gradient(60% 90% at 80% 20%, rgba(139,92,246,.55), transparent 60%),
  radial-gradient(50% 80% at 60% 80%, rgba(46,168,255,.4), transparent 60%), linear-gradient(120deg, #141833, #0E0F17 70%); }
.ui-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0E0F17 15%, transparent 70%), linear-gradient(0deg, #0E0F17, transparent 40%); }
.ui-hero-text { position: relative; z-index: 1; max-width: 55%; }
.ui-hero-text .k { font-size: 1.1cqw; letter-spacing: .1em; color: var(--blue); font-weight: 700; }
.ui-hero-text .t { font: 800 3.6cqw/1.1 var(--display); margin: .6cqw 0; }
.ui-hero-text .m { font-size: 1.2cqw; color: rgba(255,255,255,.7); }
.ui-btns { display: flex; gap: 1cqw; margin-top: 1.6cqw; }
.ui-btns span { padding: .7cqw 1.6cqw; border-radius: 99px; font-size: 1.15cqw; border: .12cqw solid rgba(255,255,255,.5); }
.ui-btns span.f { background: #fff; color: #000; border-color: #fff; }
.ui-row-t { position: relative; z-index: 1; margin-top: 7cqw; font-size: 1.5cqw; font-weight: 700; }
.ui-row { position: relative; z-index: 1; display: flex; gap: 1.2cqw; margin-top: 1cqw; }
.ui-card { flex: none; width: 15cqw; aspect-ratio: 16 / 9; border-radius: .8cqw; background: #1A1D2A; display: grid; place-items: center; font: 700 1.3cqw var(--display);
  color: rgba(255,255,255,.85); transition: transform .3s, box-shadow .3s; }
.ui-card.p { width: 9cqw; aspect-ratio: 2 / 3; align-items: end; justify-items: start; padding: .8cqw; font-size: 1.05cqw; }
.ui-card.f { transform: scale(1.08); box-shadow: 0 0 0 .25cqw #fff; }
.g1 { background: linear-gradient(135deg, #1D3C78, #0F1630); } .g2 { background: linear-gradient(135deg, #5B2A86, #1A1030); }
.g3 { background: linear-gradient(135deg, #0F5C5C, #0B1D24); } .g4 { background: linear-gradient(135deg, #7A3B1E, #20120C); }
.g5 { background: linear-gradient(135deg, #2B4A1F, #0F1A0B); } .g6 { background: linear-gradient(135deg, #6B1F3A, #1C0B13); }
.g7 { background: linear-gradient(135deg, #24507A, #3A1E5C); } .g8 { background: linear-gradient(135deg, #5E5A1A, #1C1B08); }

/* Guide grid inside the TV */
.ui-title { font: 800 2.6cqw var(--display); }
.ui-sub { font: 600 1.1cqw var(--mono); letter-spacing: .08em; color: rgba(255,255,255,.55); margin: .6cqw 0 0 1cqw; }
div.ui-sub { margin-left: 0; }
.ui-row.gap2 { margin-top: 2cqw; }
.ui-row.wrapgrid { flex-wrap: wrap; gap: 1.4cqw; margin-top: 2cqw; }
.ui-guide .pr .w0 { flex: 3; } .ui-guide .pr .w1 { flex: 2.4; } .ui-guide .pr .w2 { flex: 1.8; }
.ui-guide { display: grid; grid-template-columns: 16% 1fr; gap: .5cqw; font-size: 1.15cqw; margin-top: 1.4cqw; }
.ui-guide .ch { background: #181B27; border-radius: .5cqw; padding: .9cqw; font-weight: 600; }
.ui-guide .pr { display: flex; gap: .5cqw; }
.ui-guide .pr span { background: #151826; border-radius: .5cqw; padding: .9cqw; white-space: nowrap; overflow: hidden; color: rgba(255,255,255,.8); }
.ui-guide .pr span.now { background: rgba(79,123,240,.35); color: #fff; }
.ui-guide .pr span.f { background: #fff; color: #000; }
.ui-now { position: absolute; top: 7.5cqw; bottom: 3cqw; left: 46%; width: .15cqw; background: var(--cyan); }

/* ---------- content blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
.feature + .feature { margin-top: 120px; }
.feature ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.feature li { padding-left: 22px; position: relative; color: var(--soft); }
.feature li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--cyan); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.three > div { padding: 34px 32px 34px 0; }
.three > div + div { border-left: 1px solid var(--line); padding-left: 32px; }
.three h3 { margin: 14px 0 10px; }
.three p { color: var(--soft); margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-decoration: none; transition: border-color .2s; display: block; }
.step:hover { border-color: var(--line2); }
.step .n { font: 800 64px/1 var(--display); color: transparent; -webkit-text-stroke: 1px #4A5062; }
.step h3 { margin: 18px 0 8px; } .step p { color: var(--soft); margin: 0 0 18px; }
.step .go { font-family: var(--mono); font-size: 12px; color: var(--cyan); letter-spacing: .06em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { border: 1px solid var(--line2); border-radius: 99px; padding: 8px 16px; font-size: 14px; color: var(--soft); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; }
.plan.main { border-color: var(--text); background: var(--bg2); }
.plan .price { font: 800 54px/1 var(--display); letter-spacing: -.03em; margin: 18px 0 6px; }
.plan .price.small-price { font-size: 40px; white-space: nowrap; }
.plan .per { color: var(--dim); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 9px; color: var(--soft); font-size: 15px; }
.plan li::before { content: "✓  "; color: var(--cyan); }
.plan .btn { margin-top: auto; justify-content: center; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 26px var(--mono); color: var(--dim); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--cyan); }
.faq .a { color: var(--soft); padding: 0 40px 24px 0; max-width: 52em; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h3 { margin-bottom: 14px; }

/* CTA band */
.band { border: 1px solid var(--line); border-radius: 24px; padding: 64px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(46,168,255,.06), rgba(139,92,246,.06)); }

/* ---------- inner pages ---------- */
.page-head { padding: 80px 0 46px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(36px, 5.5vw, 68px); margin-top: 14px; }
.page-head .lead { margin-top: 18px; }
.panel { background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; padding: 34px; }
.narrow { max-width: 760px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dl { border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.dl .plat { display: flex; align-items: center; gap: 14px; }
.dl .plat svg { width: 34px; height: 34px; color: var(--soft); }
.dl code, .kbd { font-family: var(--mono); font-size: 14px; background: #0B0C12; border: 1px solid var(--line2); padding: 3px 8px; border-radius: 6px; color: var(--cyan); }
.dl .meta { font-family: var(--mono); font-size: 12px; color: var(--dim); word-break: break-all; }
.badge { display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; border: 1px solid; white-space: nowrap; }
.badge.ok { color: var(--ok); } .badge.warn { color: var(--warn); } .badge.err { color: var(--err); } .badge.dim { color: var(--dim); }
.toc { position: sticky; top: 100px; display: grid; gap: 6px; }
.toc a { text-decoration: none; color: var(--dim); font-size: 14.5px; padding: 6px 0 6px 14px; border-left: 1px solid var(--line); }
.toc a:hover, .toc a.on { color: var(--text); border-left-color: var(--cyan); }
.with-toc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; }
.prose h2 { font-size: 30px; margin: 56px 0 16px; } .prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 10px; } .prose p, .prose li { color: var(--soft); } .prose ul { padding-left: 20px; }
.prose strong { color: var(--text); }

/* Guides with animated demos */
.guide { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; padding: 70px 0; border-top: 1px solid var(--line); }
.guide:first-of-type { border-top: 0; }
.guide ol { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: g; display: grid; gap: 4px; }
.guide li { counter-increment: g; padding: 12px 14px 12px 50px; position: relative; border-radius: 10px; color: var(--dim); transition: background .25s, color .25s; cursor: pointer; }
.guide li::before { content: counter(g, decimal-leading-zero); position: absolute; left: 14px; top: 12px; font: 600 13px var(--mono); color: var(--line2); }
.guide li.on { background: var(--bg2); color: var(--text); }
.guide li.on::before { color: var(--cyan); }
.demo { position: relative; }
.demo-stage { position: relative; }
.demo-bar { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.demo-bar button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line2); background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.demo-bar button svg { width: 14px; height: 14px; }
.demo-prog { flex: 1; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.demo-prog i { display: block; height: 100%; width: 0; background: var(--cyan); }
.demo-cap { font-family: var(--mono); font-size: 12px; color: var(--soft); min-width: 7em; text-align: right; }
.with-phone { display: flex; align-items: flex-end; gap: 0; }
.with-phone .tv { flex: 1; }
.with-phone .phone { width: 34%; flex: none; margin-left: -10%; margin-bottom: -18px; position: relative; z-index: 2; transform: translateY(20px); opacity: 0; transition: transform .6s, opacity .6s; }
.with-phone.phone-in .phone { transform: none; opacity: 1; }

/* Demo screens (inside the TV) */
.sc { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; padding: 4cqw 5cqw; color: #fff; font-size: 1.6cqw; }
.sc.on { opacity: 1; }
.sc .h { font: 800 3.2cqw/1.1 var(--display); margin: 1.4cqw 0 .8cqw; }
.sc .s { color: rgba(255,255,255,.65); font-size: 1.35cqw; }
.qr { width: 15cqw; aspect-ratio: 1; background: #fff; border-radius: 1cqw; padding: 1cqw; display: grid; grid-template-columns: repeat(11, 1fr); gap: 0; }
.qr i { background: #0E0F17; } .qr i.w { background: #fff; }
.field { border: .15cqw solid #2C3045; background: #10121C; border-radius: .9cqw; padding: .9cqw 1.2cqw; font-size: 1.45cqw; min-height: 3.4cqw; margin-top: .4cqw; transition: border-color .2s; white-space: nowrap; overflow: hidden; }
.field.f { border-color: var(--blue); }
.field .cur { display: inline-block; width: .15cqw; height: 1.5cqw; background: var(--blue); vertical-align: middle; margin-left: .1cqw; }
.fl { font-size: 1.1cqw; color: rgba(255,255,255,.55); margin-top: 1.2cqw; }
.tvbtn { display: inline-block; margin-top: 1.6cqw; padding: .9cqw 2cqw; border-radius: 99px; background: rgba(255,255,255,.12); font-size: 1.4cqw; transition: background .2s, color .2s; }
.tvbtn.f { background: #fff; color: #000; }
.toast { position: absolute; left: 50%; bottom: 4cqw; transform: translate(-50%, 2cqw); opacity: 0; background: #fff; color: #000; border-radius: 99px; padding: .8cqw 2cqw; font-size: 1.4cqw; font-weight: 600; transition: all .4s; white-space: nowrap; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.spin { width: 3cqw; height: 3cqw; border-radius: 50%; border: .3cqw solid rgba(255,255,255,.2); border-top-color: var(--blue); animation: sp 1s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
.store-tile { width: 12cqw; aspect-ratio: 1; border-radius: 2cqw; background: #12141C; border: .2cqw solid transparent; display: grid; place-items: center; transition: border-color .2s; }
.store-tile.f { border-color: #fff; }
.prog { height: .6cqw; border-radius: .3cqw; background: rgba(255,255,255,.12); overflow: hidden; margin-top: 1.4cqw; width: 40cqw; }
.prog i { display: block; height: 100%; width: 0; background: var(--blue); transition: width 2.2s linear; }
.prog.go i { width: 100%; }
/* phone screen content (container units of the phone) */
.pp { position: absolute; inset: 0; padding: 12cqw 7cqw; opacity: 0; transition: opacity .4s; font-size: 5cqw; }
.pp.on { opacity: 1; }
.pp .ph { font: 800 8.5cqw/1.1 var(--display); margin: 3cqw 0 4cqw; }
.pp .pf { border: .5cqw solid #2C3045; border-radius: 3cqw; padding: 3cqw; margin-top: 2cqw; font-size: 4.6cqw; color: rgba(255,255,255,.8); white-space: nowrap; overflow: hidden; min-height: 11cqw; }
.pp .pb { margin-top: 5cqw; background: #fff; color: #000; text-align: center; border-radius: 99px; padding: 3.4cqw; font-weight: 700; font-size: 4.8cqw; transition: transform .15s; }
.pp .pb.tap { transform: scale(.94); }
.pp .ok { color: var(--ok); font-weight: 700; }
.scan { position: absolute; inset: 22% 14%; border: .8cqw solid rgba(255,255,255,.9); border-radius: 4cqw; }
.scan::after { content: ""; position: absolute; left: 6%; right: 6%; height: .8cqw; background: var(--cyan); top: 10%; animation: scan 1.4s ease-in-out infinite alternate; box-shadow: 0 0 4cqw var(--cyan); }
@keyframes scan { to { top: 88%; } }

/* demo screen layout helpers */
.sc-full { padding: 0; }
.sc-row { display: flex; gap: 2cqw; align-items: center; margin-top: 2cqw; }
.sc-grid { display: grid; grid-template-columns: 1fr; height: 100%; align-content: center; }
.sc-grid.two { grid-template-columns: 1.1fr 1fr; gap: 4cqw; align-items: center; }
.sc-icon { width: 8cqw; height: 8cqw; margin-top: 4cqw; }
.chip-t { display: inline-block; font-size: 1.15cqw; color: var(--warn); border: .12cqw solid rgba(255,201,77,.5); border-radius: 99px; padding: .3cqw 1.2cqw; }
.steps-s { line-height: 2; }
.ids { display: flex; gap: 4cqw; margin-top: 2.4cqw; }
.ids span { font-size: 1.1cqw; color: rgba(255,255,255,.55); display: grid; gap: .3cqw; }
.ids b { font: 600 1.8cqw var(--mono); color: #fff; letter-spacing: .02em; }
.center { display: grid; justify-items: center; align-content: center; gap: 1.6cqw; height: 100%; text-align: center; }
.big-ok { width: 9cqw; height: 9cqw; border-radius: 50%; background: rgba(110,231,168,.15); color: var(--ok); display: grid; place-items: center; font-size: 4.5cqw; }
.formcard { background: #161927; border-radius: 1.6cqw; padding: 2.4cqw; }
.formcard > b { font-size: 1.6cqw; }
.tabs-t { margin-top: .4cqw; }
.tabs-t .tvbtn { margin-top: 1cqw; }
.note-s { margin-top: 1.4cqw; font-size: 1.05cqw; }
.ps-cap { position: absolute; bottom: 10%; left: 0; right: 0; text-align: center; font-size: 4.4cqw; color: rgba(255,255,255,.8); }
.pp .s { color: rgba(255,255,255,.65); font-size: 4.4cqw; }
.pp .mono { font-size: 3.6cqw; }
.pf.chk { border-style: dashed; }
.lst { padding-left: 20px; display: grid; gap: 8px; }
.top-al { align-items: start; }
.h-feat { font-size: clamp(26px, 3vw, 38px); font-weight: 800; margin: 12px 0 0; letter-spacing: -.02em; }
.h-guide { font-size: clamp(28px, 3.4vw, 42px); margin: 12px 0 14px; }
.h-sec2 { margin: 12px 0 18px; }
.small-band { padding: 34px; margin-top: 60px; }
.small-band h3 { margin-bottom: 6px; }
.row-toc { position: static; grid-auto-flow: column; justify-content: start; gap: 4px 18px; margin-bottom: 10px; overflow-x: auto; }
.row-toc a { border-left: 0; padding: 6px 0; border-bottom: 1px solid transparent; }
.row-toc a:hover { border-bottom-color: var(--cyan); }
.form-check { display: flex; gap: 10px; align-items: flex-start; color: var(--soft); font-size: 14px; max-width: 34em; }
.form-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--cyan); }
.form-check.need { color: var(--err); }
.out { margin-top: 30px; }
.admin-nav .push { margin-left: auto; align-self: center; }
form.inline { display: inline-flex; gap: 6px; align-items: center; margin: 0 6px 6px 0; }
form.inline input { width: auto; background: #0B0C12; border: 1px solid var(--line2); border-radius: 10px; color: var(--text); padding: 7px 10px; font: 14px Inter, sans-serif; }
form.inline .num { width: 80px; } form.inline .note { width: 120px; }
tr.faded td { opacity: .45; }
.cols4 { display: grid; grid-template-columns: 1.2fr 1.4fr .7fr auto; gap: 14px; align-items: end; }
.demo-bar button.paused { color: var(--cyan); border-color: var(--cyan); }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: 13.5px; color: var(--dim); }
.form input, .form textarea, .form select, .search input { width: 100%; font: 15.5px Inter, sans-serif; color: var(--text); background: #0B0C12; border: 1px solid var(--line2); border-radius: 12px; padding: 13px 15px; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus, .search input:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: transparent; }
.form .btn { justify-self: start; }
.form .check { display: flex; gap: 10px; align-items: flex-start; color: var(--soft); font-size: 14px; }
.form .check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--cyan); }
.hp { position: absolute; left: -9999px; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cols3 { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
.flash { padding: 14px 18px; border-radius: 12px; margin: 0 0 24px; border: 1px solid; }
.flash.ok { color: var(--ok); border-color: rgba(110,231,168,.35); background: rgba(110,231,168,.06); }
.flash.err { color: var(--err); border-color: rgba(255,122,133,.35); background: rgba(255,122,133,.06); }

/* device + dashboards */
.dev-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.dev-head h2 { font-family: var(--mono); font-weight: 600; letter-spacing: 0; font-size: clamp(22px, 3.4vw, 34px); overflow-wrap: anywhere; }
.pay { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 26px 0 0; padding: 24px; border-radius: 16px; border: 1px solid var(--line2); background: var(--panel); }
.pay b { display: block; font-size: 17px; } .pay span { color: var(--dim); font-size: 14px; }
.pay form { display: grid; gap: 12px; justify-items: start; }
.lists { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lists li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; }
.lists li > div { min-width: 0; } .lists small { display: block; color: var(--dim); overflow-wrap: anywhere; font-family: var(--mono); font-size: 12.5px; }
.tag { font: 600 11px var(--mono); margin-left: 8px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line2); color: var(--cyan); }
.tabs > input { display: none; }
.tabs > label { display: inline-block; padding: 9px 18px; border-radius: 99px; cursor: pointer; color: var(--dim); border: 1px solid var(--line2); margin: 0 6px 16px 0; font-size: 14px; }
.tabs > input:checked + label { color: #000; background: var(--text); border-color: var(--text); }
.tabs .tab1, .tabs .tab2 { display: none; }
#t1:checked ~ .tab1, #t2:checked ~ .tab2 { display: grid; }
.h-sec { font-size: 20px; margin: 36px 0 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0; }
.stats div { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.stats b { display: block; font: 800 28px var(--display); } .stats span { color: var(--dim); font-size: 13px; }
.search { display: flex; gap: 10px; margin: 0 0 16px; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: top; }
th { color: var(--dim); font-weight: 500; font-size: 12px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; }
td.wrap { white-space: normal; min-width: 260px; }
.admin-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 26px; }
.admin-nav a { text-decoration: none; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line2); font-size: 14px; color: var(--soft); }
.admin-nav a.on { background: var(--text); color: #000; border-color: var(--text); }
.box { border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin: 0 0 22px; background: var(--panel); }
.box > b { display: block; margin-bottom: 12px; }
.pk { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pk form { border: 1px solid var(--line2); border-radius: 14px; padding: 18px; display: grid; gap: 4px; }
.pk b { font: 800 26px var(--display); } .pk span { color: var(--dim); font-size: 13px; } .pk .btn { margin-top: 12px; justify-content: center; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 64px 0 40px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot h4 { font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin: 0 0 14px; }
.foot a { display: block; text-decoration: none; color: var(--soft); font-size: 14.5px; padding: 4px 0; }
.foot a:hover { color: var(--text); }
.foot p { color: var(--dim); font-size: 14px; max-width: 26em; margin-top: 16px; }
.legal-line { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .sec-head, .guide, .with-toc { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-grid > *, .split > *, .guide > * { min-width: 0; }
  .split.rev > :first-child { order: 0; }
  .plans, .steps { grid-template-columns: 1fr; }
  .three { grid-template-columns: 1fr; }
  .three > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .foot { grid-template-columns: 1fr 1fr; }
  .toc { position: static; grid-auto-flow: column; overflow-x: auto; }
  .pk { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a.on { box-shadow: none; color: var(--cyan); }
  .nav .btn { margin-top: 14px; justify-content: center; }
  .burger { display: flex; }
  .menu-toggle:checked ~ .nav { display: flex; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  section { padding: 72px 0; }
  .grid2, .cols2, .cols3, .cols4, .stats { grid-template-columns: 1fr; }
  .band, .panel { padding: 26px; }
  .foot { grid-template-columns: 1fr; }
  .with-phone .phone { width: 40%; }
  .hero-cut { margin-top: 40px; }
}
