/* שלט לטלוויזיה: landing page (site/index.html). Same-origin only: no inline styles, no external resources.
   A light product page: flat white and dark panels on #F5F5F7, the devices are the imagery, blue = the remote's OK key.
   Logical properties throughout (the page is RTL); the remote cluster is forced LTR like the app. */

@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url("/fonts/plex-hebrew-400.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url("/fonts/plex-hebrew-500.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url("/fonts/plex-hebrew-600.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 700; font-display: swap; src: url("/fonts/plex-hebrew-700.woff2") format("woff2"); }

@property --amb { syntax: "<color>"; inherits: true; initial-value: #4f6fd6; }
@property --lr { syntax: "<length>"; inherits: true; initial-value: 110px; }

:root {
  --bg: #f5f5f7;
  --panel: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --hair: rgba(0, 0, 0, 0.1);
  --dark: #1d1d1f;
  --dark-muted: #a1a1a6;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --red: #e5484d;
  --green-ink: #1a7f4b;
  /* device palette (the app's own dark UI) */
  --text: #f3f5f9;
  --dim: #949db0;
  --blue-2: #1d4ed8;
  --blue-hi: #8db4ff;
  --green: #3dd68c;
  --amber: #ffc774;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --spring: cubic-bezier(0.22, 1, 0.36, 1); /* ease-out-quint: no overshoot */
  --nav-h: 56px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-panel: clamp(22px, 2.4vw, 32px);
  --font: "Plex", system-ui, -apple-system, "Segoe UI", "Noto Sans Hebrew", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 19px; line-height: 1.55; overflow-x: clip; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.6); outline-offset: 3px; border-radius: 10px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 700; letter-spacing: -0.015em; }
b, strong { font-weight: 700; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: -999rem; z-index: 100; }
.skip:focus { inset-inline-start: 1rem; inset-block-start: 1rem; background: #fff; padding: 0.5rem 0.9rem; border-radius: 10px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 17px; white-space: nowrap; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-secondary { color: var(--blue); border-color: var(--blue); background: transparent; }
.btn-secondary:hover { background: rgba(37, 99, 235, 0.06); }
.panel-dark .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 18px; }
.btn-sm { min-height: 34px; padding: 0 16px; font-size: 14px; }

/* segmented controls */
.tier-toggle, .seg, .period, .brand-pick { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.06); }
.tier-toggle button, .seg button, .period button, .brand-pick button { border: 0; background: transparent; cursor: pointer; padding: 8px 18px; border-radius: 999px; font-size: 16px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; }
.tier-toggle button:hover, .seg button:hover, .period button:hover, .brand-pick button:hover { color: var(--ink); }
.tier-toggle button[aria-checked="true"], .seg button[aria-checked="true"], .period button[aria-checked="true"], .brand-pick button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.06); }
.panel-dark .period { background: rgba(255, 255, 255, 0.12); }
.panel-dark .period button { color: var(--dark-muted); }

/* nav */
.nav { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 60; padding-top: env(safe-area-inset-top, 0px); background: rgba(245, 245, 247, 0.8); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav.scrolled { border-bottom-color: var(--hair); }
.nav-in { max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); height: var(--nav-h); display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav-links a { color: var(--ink); opacity: 0.8; font-size: 14.5px; padding: 6px 10px; }
.nav-links a:hover, .nav-links a.active { opacity: 1; text-decoration: none; }
.nav-links a.active { font-weight: 600; }
.nav-cta { margin-inline-start: 8px; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { margin-inline-start: auto; }
  .nav-links { position: absolute; inset-block-start: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--gutter) 20px; background: rgba(245, 245, 247, 0.97); border-bottom: 1px solid var(--hair); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 20px; font-weight: 600; opacity: 1; padding: 14px 0; border-bottom: 1px solid var(--hair); }
}

/* hero */
.hero { padding-block: calc(var(--nav-h) + clamp(40px, 6vw, 80px)) clamp(24px, 4vw, 48px); text-align: center; }
.hero-copy { max-width: 900px; margin-inline: auto; padding-inline: var(--gutter); }
.hero-icon { display: block; margin: 0 auto 24px; width: 84px; height: 84px; border-radius: 19px; box-shadow: 0 10px 30px -8px rgba(29, 78, 216, 0.45); }
.hero h1 { font-size: clamp(42px, 6.6vw, 88px); line-height: 1.04; letter-spacing: -0.03em; }
.hero-sub { margin: 22px auto 0; max-width: 33em; font-size: clamp(19px, 1.8vw, 22px); color: var(--muted); line-height: 1.5; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero-req { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 16px; color: var(--muted); }
.hero-req svg { width: 18px; height: 18px; color: var(--blue); }

/* stage: wall TV + phone in front of it */
.stage { position: relative; max-width: 1080px; margin: clamp(40px, 6vw, 72px) auto 0; padding-inline: var(--gutter); --tvw: 100%; --phw: max(220px, min(74vw, 300px, calc((100svh - var(--nav-h) - 56vw - 60px) / 2.17))); display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: start; }
.tv { position: sticky; inset-block-start: calc(var(--nav-h) + 8px); z-index: 4; width: var(--tvw); margin: 0; }
.phone-wrap { position: relative; z-index: 2; }
@media (min-width: 900px) {
  .stage { container-type: inline-size; --tvw: 76cqi; --phw: min(27cqi, 300px); display: block; }
  .tv { position: absolute; inset-block-start: 0; inset-inline-end: var(--gutter); z-index: 1; }
  .phone-wrap { z-index: 3; width: var(--phw); margin-block-start: 19cqi; margin-inline-start: 4cqi; }
}
.stage-bar { max-width: 1080px; margin: 32px auto 0; padding-inline: var(--gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; font-size: 15px; color: var(--muted); }
.stage-bar p { margin: 0; }
.kbd-hint { display: none; }
@media (hover: hover) and (pointer: fine) { .kbd-hint { display: inline; } }
kbd { font-family: var(--font); font-size: 13px; padding: 0 6px; border-radius: 5px; border: 1px solid var(--hair); border-bottom-width: 2px; background: #fff; color: var(--ink); }
.sound-toggle { display: inline-flex; align-items: center; gap: 6px; border: 0; background: rgba(0, 0, 0, 0.06); color: var(--muted); padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; }
.sound-toggle svg { width: 15px; height: 15px; }
.sound-toggle[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* the TV */
.tv-ambi { position: absolute; inset: -6% -4% 4%; z-index: -1; border-radius: 40px; background: radial-gradient(60% 60% at 50% 50%, var(--amb), transparent 70%); filter: blur(46px); opacity: 0.7; transition: --amb 1.2s linear, opacity 0.6s; }
.tv[data-state="off"] .tv-ambi { opacity: 0; }
.tv-bezel { position: relative; padding: 1.3%; border-radius: 16px; background: linear-gradient(160deg, #2a2f3a, #0c0e13 40%, #171a21); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -20px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.tv-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #000; container-type: inline-size; }
.tv-screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tv-glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.02) 30%, transparent 31%, transparent 100%); mix-blend-mode: screen; }
.tv-stand { width: 26%; height: 14px; margin: 0 auto; background: linear-gradient(#20242d, #0b0d11); border-radius: 0 0 10px 10px; box-shadow: 0 18px 30px -10px rgba(0, 0, 0, 0.9); position: relative; }
.tv-stand::after { content: ""; position: absolute; inset-inline: -40%; inset-block-end: -6px; height: 6px; border-radius: 6px; background: #14171d; }

.tv-off { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; display: grid; place-items: center; }
.tv-off i { width: 100%; height: 2px; background: #fff; box-shadow: 0 0 20px 4px #bcd2ff; opacity: 0; }
.tv[data-state="off"] .tv-off { animation: offBg 0.7s forwards; }
.tv[data-state="off"] .tv-off i { animation: crtLine 0.7s forwards; }
.tv.booting .tv-screen canvas { animation: crtOn 0.7s var(--ease); }
@keyframes offBg { 0% { opacity: 0; } 30% { opacity: 0.96; } 100% { opacity: 1; } }
@keyframes crtLine { 0% { opacity: 0; transform: scale(1, 60); } 25% { opacity: 1; transform: scale(1, 1); } 60% { opacity: 1; transform: scale(0.02, 1); } 100% { opacity: 0; transform: scale(0.004, 0.5); } }
@keyframes crtOn { 0% { transform: scale(0.02, 0.004); filter: brightness(6); } 35% { transform: scale(1, 0.006); filter: brightness(4); } 100% { transform: none; filter: none; } }

.osd { position: absolute; pointer-events: none; opacity: 0; transition: opacity 0.25s, transform 0.35s var(--spring); color: #fff; }
.osd.show { opacity: 1; transform: none; }
.osd-ch { inset-block-start: 5cqi; inset-inline-start: 5cqi; transform: translateY(-1cqi); padding: 1.2cqi 2.8cqi; border-radius: 1.6cqi; background: rgba(8, 12, 22, 0.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 4.6cqi; font-weight: 700; border: 1px solid rgba(255, 255, 255, 0.15); }
.osd-ch small { display: block; font-size: 2.4cqi; font-weight: 500; opacity: 0.75; }
.osd-vol { inset-block-end: 6cqi; inset-inline: 22cqi; transform: translateY(2cqi); display: flex; align-items: center; gap: 2cqi; direction: ltr; padding: 1.6cqi 2.6cqi; border-radius: 99px; background: rgba(8, 12, 22, 0.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.15); }
.osd-vol svg { width: 3.6cqi; height: 3.6cqi; flex: none; }
.vol-bar { flex: 1; height: 1.1cqi; border-radius: 9px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.vol-bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--v, 0.36)); background: linear-gradient(90deg, #4f86ff, #a9c6ff); transition: transform 0.25s var(--ease); }
.osd-vol b { font-size: 3cqi; min-width: 4cqi; text-align: center; }
.osd-mute { inset-block-start: 5cqi; inset-inline-end: 5cqi; transform: scale(0.6); width: 9cqi; height: 9cqi; border-radius: 50%; display: grid; place-items: center; background: rgba(229, 72, 77, 0.85); box-shadow: 0 0 4cqi rgba(229, 72, 77, 0.6); }
.osd-mute svg { width: 5cqi; height: 5cqi; }
.osd-input { inset: 0; display: grid; place-items: center; font-size: 7cqi; font-weight: 700; transform: scale(0.9); text-shadow: 0 0 4cqi rgba(0, 0, 0, 0.8); }
.osd-input span { padding: 1.6cqi 4cqi; border-radius: 2cqi; background: rgba(8, 12, 22, 0.6); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.tv-home { position: absolute; inset: 0; padding: 5cqi 5cqi 4cqi; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(120% 90% at 80% 0%, rgba(37, 99, 235, 0.35), transparent 60%), linear-gradient(rgba(6, 9, 18, 0.55), rgba(6, 9, 18, 0.9)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transform: scale(1.04); transition: opacity 0.35s, transform 0.45s var(--ease), visibility 0.35s; }
.tv[data-mode="home"] .tv-home { opacity: 1; visibility: visible; transform: none; }
.tv-home-title { margin: 0 0 3cqi; font-size: 4.2cqi; font-weight: 700; color: #fff; }
.tv-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4cqi; direction: ltr; }
.tv-tiles li { position: relative; aspect-ratio: 16 / 10; border-radius: 1.8cqi; overflow: hidden; display: flex; align-items: flex-end; padding: 1.4cqi 1.8cqi; direction: rtl; font-size: 2.8cqi; font-weight: 600; color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); transition: transform 0.3s var(--spring), box-shadow 0.25s; }
.tv-tiles li span { position: relative; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.tv-tiles li.focus { transform: scale(1.1); z-index: 2; box-shadow: 0 0 0 0.5cqi #fff, 0 1.5cqi 4cqi rgba(0, 0, 0, 0.6), 0 0 5cqi rgba(127, 168, 255, 0.55); }
.tv-tiles [data-scene="city"] { background: linear-gradient(160deg, #3b2a6b, #0e1430 60%), #111; }
.tv-tiles [data-scene="aurora"] { background: linear-gradient(140deg, #0f5c5a, #20306f 55%, #5b2a7a); }
.tv-tiles [data-scene="pitch"] { background: repeating-linear-gradient(90deg, #1f7a3e 0 12%, #23884a 12% 24%); }
.tv-tiles [data-scene="toons"] { background: radial-gradient(circle at 30% 40%, #ffcf4d 0 18%, transparent 19%), radial-gradient(circle at 70% 60%, #ff6f91 0 16%, transparent 17%), #5bc0ff; }
.tv-tiles [data-scene="eq"] { background: linear-gradient(0deg, #ff4d8d, #7a3cff 60%, #1b1035); }
.tv-tiles [data-scene="news"] { background: linear-gradient(180deg, #1b2c55 0 70%, #c62f3c 70% 82%, #0b1530 82%); }
.tv-tiles [data-scene="ocean"] { background: linear-gradient(180deg, #ff9a62, #ff5f6d 45%, #1d4d8f 46%, #0b2a52); }
.tv-tiles [data-scene="stars"] { background: radial-gradient(circle at 20% 30%, #fff 0 1%, transparent 1.5%), radial-gradient(circle at 70% 60%, #fff 0 1%, transparent 1.5%), radial-gradient(circle at 50% 20%, #cfe0ff 0 0.8%, transparent 1.2%), linear-gradient(#050a1d, #1a1350); }

.tv-wol { position: absolute; inset-block-start: calc(100% + 18px); inset-inline: 4%; margin: 0; padding: 10px 16px; border-radius: 14px; font-size: 14px; line-height: 1.45; color: #ffe2ae; background: rgba(40, 30, 10, 0.86); border: 1px solid rgba(255, 199, 116, 0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transform: translateY(-6px); transition: opacity 0.3s, transform 0.3s var(--ease); pointer-events: none; z-index: 6; }
.tv.wol-note .tv-wol { opacity: 1; transform: none; }

/* the phone + remote (sized in cqi of the phone) */
.phone { width: var(--phw); aspect-ratio: 9 / 19.5; padding: 3.4%; border-radius: 15% / 7%; position: relative; container-type: inline-size;
  background: linear-gradient(150deg, #3a404c, #15181f 30%, #0c0e12 70%, #2a2f39);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 0 0 1.5px rgba(255, 255, 255, 0.07), 0 50px 90px -30px rgba(0, 0, 0, 0.95), 0 30px 60px -30px rgba(37, 99, 235, 0.45); }
.phone::before { content: ""; position: absolute; inset-inline-end: -1.2%; inset-block-start: 22%; width: 1.4%; height: 9%; border-radius: 4px; background: #262b34; }
.phone-screen { position: relative; height: 100%; border-radius: 12% / 5.6%; overflow: hidden; display: flex; flex-direction: column;
  background: radial-gradient(120% 40% at 50% 0%, rgba(37, 99, 235, 0.18), transparent 70%), linear-gradient(#0d1017, #08090d); }
.island { position: absolute; inset-block-start: 2.6cqi; inset-inline-start: 50%; transform: translateX(50%); width: 30cqi; height: 8.6cqi; border-radius: 99px; background: #000; z-index: 5; }
.statusbar { display: flex; justify-content: space-between; align-items: center; padding: 4.6cqi 8cqi 0 9cqi; font-size: 4.2cqi; height: 12cqi; }
.statusbar b { font-weight: 600; }
.statusbar span { display: inline-flex; gap: 1.6cqi; align-items: center; }
.statusbar svg { width: 4.4cqi; height: 4.4cqi; }
.batt { width: 6.6cqi; height: 3.2cqi; border-radius: 1cqi; border: 0.4cqi solid rgba(255, 255, 255, 0.85); position: relative; }
.batt::after { content: ""; position: absolute; inset: 0.4cqi; inset-inline-start: 1.4cqi; background: #fff; border-radius: 0.4cqi; }
.r-top { display: flex; align-items: center; justify-content: space-between; padding: 2.4cqi 5cqi 0; gap: 2cqi; }
.r-badge { font-size: 3.6cqi; font-weight: 700; padding: 1cqi 3.2cqi; border-radius: 99px; color: #9fc0ff; background: rgba(37, 99, 235, 0.22); border: 1px solid rgba(79, 134, 255, 0.5); }
.phone[data-tier="free"] .r-badge { color: #bfe9d1; background: rgba(61, 214, 140, 0.14); border-color: rgba(61, 214, 140, 0.45); }
.r-pill { display: inline-flex; align-items: center; gap: 1.6cqi; font-size: 3.5cqi; font-weight: 500; padding: 1.2cqi 3.2cqi; border-radius: 99px; color: #9ff0c4; background: rgba(61, 214, 140, 0.08); border: 1px solid rgba(61, 214, 140, 0.4); box-shadow: 0 0 4cqi rgba(61, 214, 140, 0.18); white-space: nowrap; }
.r-pill i { width: 1.8cqi; height: 1.8cqi; border-radius: 50%; background: var(--green); }
.r-gear { width: 9cqi; height: 9cqi; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.r-gear svg { width: 4.8cqi; height: 4.8cqi; color: #c6ccd8; }

.remote { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; padding: 2cqi 6cqi 7cqi; }
.key, .dk, .chip, .wide { position: relative; border: 0; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.key { width: 16.5cqi; height: 16.5cqi; border-radius: 50%; display: grid; place-items: center; color: #eef1f6;
  background: linear-gradient(160deg, #2a2e37, #14161c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2cqi 4cqi rgba(0, 0, 0, 0.55);
  transition: transform 0.12s var(--ease), box-shadow 0.2s, filter 0.2s; }
.key svg { width: 6.6cqi; height: 6.6cqi; }
.key-power { width: 19cqi; height: 19cqi; color: #ffd0d2; background: radial-gradient(circle at 50% 35%, #8f2328, #4a1215); box-shadow: inset 0 0 0 1px rgba(255, 120, 120, 0.45), 0 0 6cqi rgba(229, 72, 77, 0.45), 0 2cqi 4cqi rgba(0, 0, 0, 0.5); }
.key-power svg { width: 8cqi; height: 8cqi; }
.key-mute[aria-pressed="true"] { color: #ffd0d2; background: radial-gradient(circle at 50% 35%, #7d2125, #3f1013); box-shadow: inset 0 0 0 1px rgba(255, 120, 120, 0.45), 0 0 5cqi rgba(229, 72, 77, 0.4); }
.r-row { display: flex; gap: 6cqi; direction: ltr; }
.r-row-2 { gap: 14cqi; }
.r-row .key { width: 15.5cqi; height: 15.5cqi; }
.dpad { position: relative; width: 52cqi; height: 52cqi; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #252932, #121419 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), inset 0 2cqi 4cqi rgba(255, 255, 255, 0.03), 0 3cqi 6cqi rgba(0, 0, 0, 0.6); transition: opacity 0.3s; }
.dk { position: absolute; display: grid; place-items: center; background: transparent; color: #aeb6c6; border-radius: 30%; transition: color 0.15s, transform 0.12s, background-color 0.2s; }
.dk svg { width: 6cqi; height: 6cqi; }
.dk-up, .dk-down { inset-inline-start: 50%; transform: translateX(50%); width: 16cqi; height: 15cqi; }
[dir="ltr"] .dk-up, [dir="ltr"] .dk-down { transform: translateX(-50%); }
.dk-up { inset-block-start: 1.6cqi; }
.dk-down { inset-block-end: 1.6cqi; }
.dk-left, .dk-right { inset-block-start: 50%; transform: translateY(-50%); width: 15cqi; height: 16cqi; }
.dk-left { left: 1.6cqi; }
.dk-right { right: 1.6cqi; }
.dk:hover { color: #fff; }
.dk-ok { inset: 0; margin: auto; width: 18cqi; height: 18cqi; border-radius: 50%; color: #fff; font-weight: 700; font-size: 5cqi; letter-spacing: 0.02em;
  background: radial-gradient(circle at 50% 30%, #4b82f6, var(--blue) 55%, var(--blue-2)); box-shadow: inset 0 0 0 1px rgba(160, 195, 255, 0.5), 0 0 7cqi rgba(37, 99, 235, 0.7); }
.favs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4cqi; width: 100%; }
.chip { height: 12cqi; border-radius: 3.4cqi; font-size: 3.4cqi; font-weight: 600; color: #dfe4ee; background: linear-gradient(160deg, #20242c, #131519); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); white-space: nowrap; transition: transform 0.12s var(--ease), opacity 0.3s, box-shadow 0.2s; }
.r-row-wide { gap: 3cqi; width: 100%; direction: rtl; }
.wide { flex: 1; height: 13cqi; border-radius: 4cqi; display: inline-flex; align-items: center; justify-content: center; gap: 2.4cqi; font-size: 4.2cqi; font-weight: 600; color: #eef1f6; background: linear-gradient(160deg, #20242c, #131519); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); transition: transform 0.12s var(--ease), opacity 0.3s; }
.wide svg { width: 5.4cqi; height: 5.4cqi; }
.badge123 { font-size: 3cqi; font-weight: 700; padding: 0.4cqi 1.4cqi; border-radius: 1.4cqi; border: 0.45cqi solid currentColor; }
.home-ind { position: absolute; inset-block-end: 2cqi; inset-inline-start: 50%; transform: translateX(50%); width: 34cqi; height: 1.3cqi; border-radius: 9px; background: rgba(255, 255, 255, 0.55); }

/* press feedback */
.key:active, .chip:active, .wide:active, .key.hit, .chip.hit, .wide.hit { transform: scale(0.9); }
.key.hit, .chip.hit, .wide.hit { box-shadow: inset 0 0 0 1px rgba(160, 195, 255, 0.55), 0 0 6cqi rgba(79, 134, 255, 0.55); }
.key-power.hit { box-shadow: inset 0 0 0 1px rgba(255, 150, 150, 0.8), 0 0 9cqi rgba(229, 72, 77, 0.85); }
.dk.hit { color: #fff; background: rgba(127, 168, 255, 0.14); }
.dk-ok.hit, .dk-ok:active { transform: scale(0.92); background: radial-gradient(circle at 50% 30%, #6c9bff, #2f6ef0 55%, var(--blue-2)); }
.key::after, .chip::after, .wide::after, .dk-ok::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 0 rgba(127, 168, 255, 0.6); }
.hit::after { animation: ring 0.5s var(--ease); }
@keyframes ring { from { box-shadow: 0 0 0 0 rgba(127, 168, 255, 0.55); } to { box-shadow: 0 0 0 4cqi rgba(127, 168, 255, 0); } }

/* free tier: Pro keys locked */
.lock { position: absolute; display: none; place-items: center; width: 5.6cqi; height: 5.6cqi; border-radius: 50%; background: #2a3550; color: #bcd0ff; box-shadow: 0 0 0 0.5cqi #0b0d12; inset-block-start: -0.6cqi; inset-inline-end: -0.6cqi; }
.lock svg { width: 3.2cqi; height: 3.2cqi; }
.dpad > .lock { width: 8cqi; height: 8cqi; inset-block-start: 0; inset-inline-end: 0; }
.dpad > .lock svg { width: 4.4cqi; height: 4.4cqi; }
.phone[data-tier="free"] .lock { display: grid; }
.phone[data-tier="free"] .dpad .dk, .phone[data-tier="free"] .key[data-pro] > svg, .phone[data-tier="free"] .chip, .phone[data-tier="free"] .wide { opacity: 0.42; }

/* sheets inside the phone */
.sheet { position: absolute; inset-inline: 0; inset-block-end: 0; z-index: 8; padding: 3cqi 6cqi 9cqi; border-radius: 9cqi 9cqi 0 0; background: rgba(22, 25, 33, 0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 -2cqi 8cqi rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08); transform: translateY(105%); transition: transform 0.45s var(--ease); }
.sheet.open { transform: none; }
.grab { display: block; width: 12cqi; height: 1.3cqi; margin: 0 auto 3cqi; border-radius: 9px; background: rgba(255, 255, 255, 0.25); }
.sheet-title { margin: 0 0 3cqi; text-align: center; font-weight: 700; font-size: 4.6cqi; }
.numpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6cqi; }
.numpad button { height: 13cqi; border: 0; border-radius: 4cqi; font-size: 6cqi; font-weight: 600; cursor: pointer; background: linear-gradient(160deg, #262a33, #171a20); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); transition: transform 0.1s; display: grid; place-items: center; }
.numpad button:active, .numpad button.hit { transform: scale(0.92); background: #2c3a5c; }
.numpad .np-go { background: linear-gradient(160deg, #3b74f0, var(--blue-2)); }
.numpad .np-go svg { width: 6cqi; height: 6cqi; }
.numpad .np-close { font-size: 4.6cqi; color: var(--dim); }
.inputs { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.4cqi; }
.inputs button { width: 100%; height: 14cqi; border: 0; border-radius: 4cqi; display: flex; align-items: center; gap: 3cqi; padding-inline: 4.4cqi; font-size: 4.6cqi; font-weight: 600; cursor: pointer; background: linear-gradient(160deg, #262a33, #171a20); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.inputs button svg { width: 6cqi; height: 6cqi; color: var(--blue-hi); }
.inputs button small { margin-inline-start: auto; font-size: 3.4cqi; color: var(--dim); font-weight: 500; }
.inputs button.current { box-shadow: inset 0 0 0 1.5px rgba(127, 168, 255, 0.8); }
.p-toast { position: absolute; inset-inline: 6cqi; inset-block-end: 8cqi; z-index: 9; padding: 3cqi 4cqi; border-radius: 4.4cqi; font-size: 3.7cqi; line-height: 1.4; text-align: center; color: #e8eeff; background: rgba(30, 40, 68, 0.96); border: 1px solid rgba(127, 168, 255, 0.4); box-shadow: 0 3cqi 8cqi rgba(0, 0, 0, 0.5); opacity: 0; transform: translateY(4cqi) scale(0.96); transition: opacity 0.25s, transform 0.35s var(--spring); pointer-events: none; }
.p-toast.show { opacity: 1; transform: none; }

.fx { position: fixed; inset: 0; pointer-events: none; z-index: 55; }
.pk { position: absolute; inset-block-start: 0; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #cfe0ff; box-shadow: 0 0 10px 4px rgba(79, 134, 255, 0.85), 0 0 26px 8px rgba(79, 134, 255, 0.35); }
.pk.red { background: #ffd6d6; box-shadow: 0 0 10px 4px rgba(229, 72, 77, 0.85), 0 0 26px 8px rgba(229, 72, 77, 0.35); }

.room { --lx: 50%; --ly: 50%; --lr: 110px; position: relative; max-width: 1200px; margin-inline: auto; aspect-ratio: 1200 / 640; border-radius: clamp(20px, 3vw, 36px); overflow: hidden; touch-action: pan-y; cursor: none; box-shadow: 0 0 0 1px var(--line), 0 40px 100px -30px rgba(0, 0, 0, 0.9); margin-inline: var(--gutter); }
@media (min-width: 1290px) { .room { margin-inline: auto; } }
@media (max-width: 700px) { .room { aspect-ratio: 4 / 3.4; } }
.room-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.room .dark { position: absolute; inset: 0; pointer-events: none; transition: opacity 1.2s; background: radial-gradient(circle var(--lr) at var(--lx) var(--ly), rgba(255, 236, 190, 0.10) 0%, rgba(255, 236, 190, 0.04) 55%, rgba(3, 5, 10, 0.94) 100%); }
.room[data-found="true"] .dark { opacity: 0; }
.room[data-found="true"] { cursor: auto; }
.phone-glow { opacity: 0.6; animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { opacity: 1; } }
.spot { position: absolute; left: 0; top: 0; border-radius: 50%; border: 0; background: transparent; cursor: inherit; padding: 0; transform: translate(-50%, -50%); }
.spot:focus-visible { outline: 2px dashed var(--amber); outline-offset: 0; }
.spot-label { position: absolute; inset-block-end: calc(100% - 10px); inset-inline-start: 50%; translate: 50% 0; white-space: nowrap; padding: 8px 14px; border-radius: 14px; font-size: clamp(13px, 1.4vw, 16px); font-weight: 600; color: #20160a; background: #ffe2ae; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); opacity: 0; transform: translateY(8px) scale(0.9); transition: opacity 0.3s, transform 0.4s var(--spring); pointer-events: none; }
.spot.seen .spot-label { opacity: 1; transform: none; }
.spot.seen::after { content: "✓"; position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #20160a; background: #ffe2ae; opacity: 0.9; }
.spot-win .spot-label { background: #cfe0ff; color: #0b1430; }
.spot-win.seen::after { display: none; }
.spot.out { display: none; }
.room-hud { position: absolute; inset-block-start: 14px; inset-inline: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; pointer-events: none; }
.room-hud > * { pointer-events: auto; }
.room-count { margin: 0; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(10, 11, 15, 0.7); border: 1px solid var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.room-hud .btn { background: rgba(10, 11, 15, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.room-hud .btn svg { width: 18px; height: 18px; }
.room-win { position: absolute; inset-inline: 50% auto; inset-block-start: 50%; transform: translate(50%, -40%) scale(0.92); width: min(92%, 420px); text-align: center; padding: clamp(18px, 3vw, 30px); border-radius: 24px; background: rgba(10, 13, 22, 0.86); border: 1px solid rgba(127, 168, 255, 0.35); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(37, 99, 235, 0.35); opacity: 0; visibility: hidden; transition: opacity 0.5s 0.5s, transform 0.6s var(--spring) 0.5s, visibility 0.5s 0.5s; }
.room[data-found="true"] .room-win { opacity: 1; visibility: visible; transform: translate(50%, -50%); }
.room-win-k { margin: 0; color: var(--blue-hi); font-weight: 700; font-size: 15px; }
.room-win-t { margin: 6px 0 16px; font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; line-height: 1.25; }
.room-win .btn { --bh: 46px; }



/* ------------------------------------------------------------ devices: realistic frames */
.phone { padding: calc(var(--phw) * 0.028); border-radius: calc(var(--phw) * 0.165); color: var(--text);
  background: linear-gradient(135deg, #5a5f68 0%, #2a2d33 12%, #15171b 40%, #1c1e23 70%, #4d525b 100%);
  box-shadow: inset 0 0 0 calc(var(--phw) * 0.004) rgba(255, 255, 255, 0.28), inset 0 0 0 calc(var(--phw) * 0.011) #0b0c0e, 0 2px 4px rgba(0, 0, 0, 0.18), 0 40px 70px -24px rgba(0, 0, 0, 0.45); }
.phone::before, .phone::after { content: ""; position: absolute; width: 1.1%; border-radius: 2px; background: linear-gradient(90deg, #2a2d33, #5a5f68); }
.phone::before { inset-inline-start: auto; inset-inline-end: auto; right: -0.9%; left: auto; inset-block-start: 26%; height: 11%; }
.phone::after { inset-inline-start: auto; inset-inline-end: auto; left: -0.9%; right: auto; inset-block-start: 20%; height: 13%; }
.phone-screen { border-radius: 14.6cqi; background: linear-gradient(#0d1017, #08090d); } /* cqi of the phone itself: (0.165 - 0.028) / 0.944 */
.island { inset-block-start: 3cqi; width: 29cqi; height: 8.4cqi; }
.tv-bezel { padding: 0.7%; border-radius: 10px; background: #0c0d10; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 0 1px #2a2c31, 0 2px 4px rgba(0, 0, 0, 0.2), 0 40px 60px -30px rgba(0, 0, 0, 0.5); }
.tv-screen { border-radius: 4px; }
.tv-stand { display: none; }
.tv-ambi { inset: -4% -3% -2%; opacity: 0.5; filter: blur(48px); }
.tv-wol { color: var(--ink); background: #fff; border: 0; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (min-width: 900px) { .tv-wol { inset-inline: auto 0; inset-inline-start: auto; inset-inline-end: 0; width: 52%; } }

/* ------------------------------------------------------------ sections + panels */
.sec { max-width: 1120px; margin-inline: auto; padding: clamp(72px, 9vw, 128px) var(--gutter) 0; }
.sec-head { max-width: 760px; margin: 0 auto clamp(32px, 4vw, 52px); text-align: center; }
.sec-head h2, .panel-head h2 { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -0.025em; }
.sec-head p { margin: 16px auto 0; max-width: 34em; color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); }
.panel { background: var(--panel); border-radius: var(--r-panel); padding: clamp(24px, 3.6vw, 48px); }
.panel-dark { background: var(--dark); color: #f5f5f7; }

/* room */
.panel-room { padding-block-end: clamp(16px, 2vw, 24px); padding-inline: clamp(16px, 2vw, 24px); }
.panel-head { text-align: center; padding: clamp(12px, 2.4vw, 28px) 0 clamp(24px, 3vw, 36px); }
.panel-head p { margin: 12px 0 0; color: var(--dark-muted); font-size: clamp(17px, 1.5vw, 20px); }
.room { margin: 0 !important; border-radius: calc(var(--r-panel) - 10px); box-shadow: none !important; cursor: crosshair; }
.room-hud { inset-block-start: auto; inset-block-end: 14px; }
.room-count { background: rgba(0, 0, 0, 0.6); color: #fff; border: 0; }
.room-hud .btn { background: #fff; color: var(--ink); min-height: 38px; font-size: 14px; }
.room-win { background: #fff; color: var(--ink); border: 0; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); backdrop-filter: none; -webkit-backdrop-filter: none; }
.room-win-k { color: var(--blue); }
.room-win .btn { background: var(--blue); color: #fff; }

/* steps */
.brands { text-align: center; }
.brand-pick { margin-bottom: 28px; justify-content: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; text-align: start; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.shot { height: 240px; background: #f0f1f4; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.crop { width: min(72%, 250px); height: 86%; padding: 8px 8px 0; border-radius: 40px 40px 0 0; background: linear-gradient(135deg, #5a5f68, #1c1e23 30%, #15171b 70%, #4d525b); box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, 0.25); }
.crop-scr { height: 100%; border-radius: 33px 33px 0 0; background: #0b0d12; color: var(--text); padding: 34px 14px 0; }
.cs-title { margin: 0 0 14px; font-size: 14px; font-weight: 700; text-align: center; }
.cs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cs-list li { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #1c1f27; font-size: 13.5px; font-weight: 600; }
.brands[data-brand="samsung"] .cs-list [data-b="samsung"], .brands[data-brand="lg"] .cs-list [data-b="lg"], .brands[data-brand="androidtv"] .cs-list [data-b="androidtv"] { background: var(--blue); }
.cs-found li { justify-content: flex-start; }
.cs-found li:not(.on) { opacity: 0.45; }
.cs-found li.on { box-shadow: inset 0 0 0 1.5px var(--blue); }
.cs-found svg { width: 18px; height: 18px; color: var(--blue-hi); flex: none; }
.cs-found b { margin-inline-start: auto; font-size: 12px; font-weight: 500; color: var(--dim); }
.shot-tv { align-items: center; }
.mtv { width: 84%; padding: 5px; border-radius: 8px; background: #0c0d10; box-shadow: 0 0 0 1px #2a2c31, 0 24px 40px -20px rgba(0, 0, 0, 0.5); }
.mtv-scr { aspect-ratio: 16 / 9; border-radius: 3px; display: grid; place-items: center; background: linear-gradient(120deg, #13306b, #2b2f8a 50%, #0d4d5f); color: #fff; }
.dlg { display: none; gap: 8px; justify-items: center; text-align: center; padding: 12px 16px; border-radius: 10px; background: rgba(10, 12, 18, 0.88); font-size: 12.5px; }
.dlg p { margin: 0; }
.dlg div { display: flex; gap: 8px; }
.dlg span { padding: 3px 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.14); }
.dlg span.on { background: #fff; color: var(--ink); font-weight: 700; }
.dlg .code { font-size: 22px; font-weight: 700; letter-spacing: 0.22em; }
.brands .b { display: none; }
.brands[data-brand="samsung"] .b-samsung, .brands[data-brand="lg"] .b-lg, .brands[data-brand="androidtv"] .b-androidtv { display: block; }
.brands[data-brand="samsung"] .dlg.b-samsung, .brands[data-brand="lg"] .dlg.b-lg, .brands[data-brand="androidtv"] .dlg.b-androidtv { display: grid; }
.step-text { padding: 24px 28px 30px; }
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 22px; }
.step p { margin: 8px 0 0; color: var(--muted); font-size: 17px; }

/* wi-fi */
.wifi { margin-top: 20px; display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .wifi { grid-template-columns: 1fr 1.1fr; gap: 48px; } }
.wifi h3 { font-size: clamp(24px, 2.4vw, 30px); }
.wifi-copy p { margin: 12px 0 0; color: var(--muted); font-size: 17.5px; }
.wifi .seg { margin-top: 24px; }
.net-msg { margin: 14px 0 0; min-height: 3em; font-weight: 600; font-size: 16.5px; color: var(--green-ink) !important; }
.net-msg.bad { color: #c0262d !important; }
.net { border-radius: 22px; background: var(--bg); padding: 16px; }
.net-svg { width: 100%; height: auto; display: block; overflow: visible; }
.net .link { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-dasharray: 6 9; transition: stroke 0.3s, opacity 0.3s; }
.net .link-cell { opacity: 0; stroke: #b26b12; }
.net .dev { fill: #1d1f24; stroke: none; }
.net .scr { fill: #3b6fe6; transition: fill 0.3s; }
.net .halo { fill: none; stroke: none; }
.net .ant { stroke: #1d1f24; stroke-width: 3; fill: none; stroke-linecap: round; }
.net .led { fill: #3dd68c; }
.net .node-guest, .net .node-tower { opacity: 0; transition: opacity 0.3s; }
.net .tag { fill: #fff3df; stroke: #b26b12; }
.net text { fill: #7a4a10; font-family: var(--font); font-size: 13px; font-weight: 600; }
.net .x-mark { opacity: 0; transition: opacity 0.3s; }
.net .x-mark circle { fill: #fff; stroke: #c0262d; stroke-width: 2; }
.net .x-mark path { stroke: #c0262d; stroke-width: 3; stroke-linecap: round; }
.net .pkt { fill: var(--blue); }
.net[data-net="guest"] .link-b, .net[data-net="cell"] .link-a, .net[data-net="cell"] .link-b { stroke: #c4c7cf; }
.net[data-net="guest"] .node-guest, .net[data-net="guest"] .x-mark, .net[data-net="cell"] .x-mark, .net[data-net="cell"] .link-cell, .net[data-net="cell"] .node-tower { opacity: 1; }
.net[data-net="guest"] .node-tv .scr, .net[data-net="cell"] .node-tv .scr { fill: #4a4f5a; }

/* the button diagram */
.manual-panel { padding-block: clamp(32px, 5vw, 64px); }
.manual { position: relative; display: grid; gap: 40px; justify-items: center; }
.manual-phone { --phw: min(74vw, 320px); width: var(--phw); }
.manual-phone .key, .manual-phone .chip, .manual-phone .wide, .manual-phone .dk { cursor: default; }
.chip { display: inline-flex; align-items: center; justify-content: center; font-size: 3.6cqi; }
.mk { position: absolute; z-index: 3; display: grid; place-items: center; font-style: normal; color: #fff; background: var(--blue); border-radius: 50%; width: 6.4cqi; height: 6.4cqi; font-size: 3.6cqi; font-weight: 700; inset-block-start: -2cqi; right: -2cqi; box-shadow: 0 0 0 0.7cqi #0d1017; }
.dpad > .mk { inset-block-start: 50%; right: -3.2cqi; transform: translateY(-50%); }
.mk.mk-end { inset-block-start: auto; bottom: -3.6cqi; right: auto; left: 50%; transform: translateX(-50%); }
.callouts { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; width: 100%; max-width: 34em; }
.callouts li { position: relative; padding-inline-start: 44px; }
.callouts li::before { content: attr(data-n); position: absolute; inset-inline-start: 0; inset-block-start: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #fff; background: var(--blue); }
.callouts h3 { font-size: 20px; line-height: 1.4; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.callouts p { margin: 2px 0 0; color: var(--muted); font-size: 16.5px; }
.tier { font-size: 13px; font-weight: 700; padding: 1px 8px; border-radius: 6px; letter-spacing: 0.01em; }
.tier-free { color: var(--green-ink); background: rgba(26, 127, 75, 0.1); }
.tier-pro { color: var(--blue); background: rgba(37, 99, 235, 0.1); }
.leaders { display: none; }
@media (min-width: 900px) {
  .manual { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "list phone"; column-gap: clamp(72px, 10vw, 150px); align-items: start; justify-items: stretch; }
  .manual-phone { grid-area: phone; --phw: 320px; }
  .callouts { grid-area: list; gap: 0; }
  /* on desktop the numbers live in the list; the phone only carries small anchor dots */
  .mk { width: 2.8cqi; height: 2.8cqi; font-size: 0; inset-block-start: 50%; right: -1.4cqi; transform: translateY(-50%); box-shadow: 0 0 0 0.9cqi rgba(37, 99, 235, 0.35); }
  .dpad > .mk { right: -1.4cqi; }
  .mk.mk-end { inset-block-start: auto; bottom: -3.4cqi; right: auto; left: 50%; transform: translateX(-50%); }
  .leaders { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 4; }
  .leaders path { fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linejoin: round; }
  .leaders circle { fill: var(--blue); }
}
.extras { margin-top: 20px; display: grid; gap: 20px; }
@media (min-width: 640px) { .extras { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .extras { grid-template-columns: repeat(4, 1fr); } }
.extra { position: relative; padding: 28px; }
.extra > svg { width: 30px; height: 30px; color: var(--blue); }
.extra h3 { margin-top: 18px; font-size: 19px; }
.extra p { margin: 6px 0 0; color: var(--muted); font-size: 16px; }
.extra .tier { position: absolute; inset-block-start: 26px; inset-inline-end: 24px; }

/* pricing */
.plans { display: grid; gap: 20px; max-width: 920px; margin-inline: auto; }
@media (min-width: 800px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { display: flex; flex-direction: column; }
.plan h3 { font-size: 28px; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.period button { padding: 6px 14px; font-size: 14.5px; }
.price-line { margin: 20px 0 0; font-size: clamp(20px, 2vw, 23px); font-weight: 700; line-height: 1.4; text-wrap: balance; }
.plan-free .price-line { font-size: 44px; line-height: 1.1; letter-spacing: -0.02em; }
.pp { display: none; }
.plan-pro[data-period="weekly"] .pp-weekly, .plan-pro[data-period="yearly"] .pp-yearly { display: block; }
.plan ul { margin: 24px 0 30px; padding: 24px 0 0; border-top: 1px solid var(--hair); list-style: none; display: grid; align-content: start; gap: 12px; flex: 1; }
.plan-pro ul { border-top-color: rgba(255, 255, 255, 0.14); }
.plan li { position: relative; padding-inline-start: 28px; font-size: 17px; line-height: 1.45; }
.plan li::before { content: ""; position: absolute; inset-inline-start: 2px; inset-block-start: 0.3em; width: 6px; height: 11px; border: solid var(--blue); border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.plan-pro li::before { border-color: var(--blue-hi); }
.plan .btn { width: 100%; }
.fine { margin: 16px 0 0; font-size: 14px; color: var(--dark-muted); line-height: 1.55; }
.price-note { margin: 24px auto 0; max-width: 46em; text-align: center; color: var(--muted); font-size: 15px; }
.cancel { max-width: 920px; margin: 20px auto 0; background: var(--panel); border-radius: var(--r-panel); padding: clamp(22px, 3vw, 36px); }
.cancel h3 { font-size: 21px; }
.cancel p { margin: 10px 0 0; color: var(--muted); font-size: 17px; }
.cancel strong { color: var(--ink); }

/* faq */
.qa { max-width: 860px; margin-inline: auto; padding-block: 8px; }
.qa details { border-bottom: 1px solid var(--hair); interpolate-size: allow-keywords; }
.qa details:last-child { border-bottom: 0; }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 19px; font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg) linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat; transition: transform 0.3s var(--spring), background-color 0.2s; }
.qa details:not([open]) summary::after { background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink)); background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat; }
.qa details[open] summary::after { transform: rotate(180deg); }
.qa summary:hover::after { background-color: #e8e8ed; }
.qa details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.35s var(--ease), content-visibility 0.35s allow-discrete; }
.qa details[open]::details-content { block-size: auto; }
.ans { padding: 0 0 24px; padding-inline-end: 50px; color: var(--muted); font-size: 17.5px; }
.ans p { margin: 0; }
.faq-more { margin: 24px 0 0; text-align: center; color: var(--muted); }

/* closing */
.closing { text-align: center; padding-bottom: clamp(80px, 10vw, 140px); }
.closing img { border-radius: 22px; box-shadow: 0 12px 34px -10px rgba(29, 78, 216, 0.45); }
.closing h2 { margin-top: 24px; font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -0.025em; }
.closing p { margin: 14px auto 30px; max-width: 32em; color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); }

/* footer */
.foot { border-top: 1px solid var(--hair); padding: 36px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 14px; }
.foot-in { max-width: 1120px; margin-inline: auto; display: grid; gap: 24px; }
@media (min-width: 860px) { .foot-in { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot .brand { font-size: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot nav a { color: var(--ink); opacity: 0.8; }
.foot nav a:hover { opacity: 1; }
.foot .cancel-link { font-weight: 700; opacity: 1; }
.foot .meta { color: var(--muted); margin: 10px 0 0; }
.en-block { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.tm { max-width: 1120px; margin: 28px auto 0; padding-top: 20px; border-top: 1px solid var(--hair); color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.tm a { color: inherit; text-decoration: underline; }

.tv.cold .tv-off { animation: none; opacity: 1; }
.tv.cold .tv-off i { animation: none; opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; animation-delay: 0s !important; transition-delay: 0s !important; }
}

/* narrow screens: three-way toggles become equal segments instead of a wrapping pill */
@media (max-width: 560px) {
  .seg, .brand-pick { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; border-radius: 16px; }
  .seg button, .brand-pick button { white-space: normal; line-height: 1.25; padding: 10px 8px; border-radius: 12px; font-size: 15px; }
}
