/* teleq.online: landing, /ai/, /privacy/, /terms/. The /c and /dev pages keep /style.css.
   Concept: a dark room lit by the TV. The screen is the only light source; its colour spills onto the page. */

@font-face{font-family:"Inter TeleQ";font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/inter-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter TeleQ";font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/inter-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter TeleQ";font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/inter-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

:root {
  --bg: #060912;
  --bg2: #0a0f1b;
  --card: #0c1220;
  --line: #182033;
  --line2: #263048;
  --ink: #eef1f7;
  --mist: #8e96aa;
  --blue: #2f6bff;
  --btn: #2560f0;
  --link: #8eadff;
  --ok: #3ddc97;
  --r-l: 28px;
  --r-m: 18px;
  --r-s: 12px;
  --pad: clamp(20px, 5vw, 48px);
  --font: "Inter TeleQ", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --track-d: -0.045em;
  --track-h: -0.032em;
  --lh-d: 0.94;
  --loop: 16s;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3f5f9;
    --bg2: #e9edf4;
    --card: #ffffff;
    --line: #dde3ed;
    --line2: #c9d1df;
    --ink: #0a0f1c;
    --mist: #545e72;
    --link: #1f52db;
    --ok: #138a57;
    color-scheme: light;
  }
}
:lang(ja) { --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif; }
:lang(zh-CN) { --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
:lang(ja), :lang(zh-CN) { --track-d: 0; --track-h: 0; --lh-d: 1.14; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { hyphens: auto; overflow-wrap: break-word; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
code { font: 0.92em/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: var(--bg2); padding: 0.12em 0.4em; border-radius: 6px; overflow-wrap: anywhere; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--btn); color: #fff; padding: 10px 16px; border-radius: var(--r-s); }
.skip:focus { top: 12px; }
.muted { color: var(--mist); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--mist); max-width: 34em; }

/* ---- type -------------------------------------------------------------------------------- */

.display {
  font-size: clamp(46px, 15.5cqi, 116px);
  font-weight: 720;
  line-height: var(--lh-d);
  letter-spacing: var(--track-d);
  text-wrap: balance;
}
.display span { display: block; }
.display-s { font-size: clamp(38px, 6.4vw, 80px); }
/* Japanese and Chinese set solid and break between phrases, so the same size reads heavier. */
:lang(ja) .display, :lang(zh-CN) .display { font-size: clamp(40px, 11.5cqi, 88px); word-break: auto-phrase; }
:lang(ja) .display-s, :lang(zh-CN) .display-s { font-size: clamp(34px, 5vw, 64px); }
.h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: var(--track-h);
  text-wrap: balance;
  max-width: 16em;
}
h3 { font-size: 19px; line-height: 1.3; font-weight: 650; letter-spacing: -0.012em; }
:lang(ja) h3, :lang(zh-CN) h3 { letter-spacing: 0; }

/* ---- buttons ----------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px;
  border-radius: 14px; border: 1px solid transparent;
  background: var(--btn); color: #fff;
  font: 600 16px/1.2 var(--font); text-decoration: none; text-align: center;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:hover { background: #3a72ff; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line2); }
.btn-ghost:hover { background: var(--bg2); border-color: var(--mist); }
.btn-s { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 11px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- header, language, footer ------------------------------------------------------------ */

.langbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px var(--pad); background: var(--bg2); border-bottom: 1px solid var(--line); font-size: 15px; }
.langbar ul { display: flex; flex-wrap: wrap; gap: 4px 14px; }

.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 21px/1 var(--font); letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.top-act { display: flex; align-items: center; gap: 10px; }

.lang { position: relative; }
.lang summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px;
  border-radius: 11px; color: var(--mist); cursor: pointer; list-style: none; font-size: 15px;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--ink); background: var(--bg2); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20;
  display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 2px;
  padding: 8px; width: max-content; max-width: calc(100vw - 2 * var(--pad));
  background: var(--card); border: 1px solid var(--line2); border-radius: var(--r-m);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.lang a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: 15px; }
.lang a:hover { background: var(--bg2); }
.lang a[aria-current] { color: var(--link); font-weight: 600; }
@media (max-width: 520px) {
  .lang summary span { display: none; }
  .lang ul { grid-template-columns: 1fr 1fr; right: -60px; }
}

.foot { border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); padding-block: 40px 48px; font-size: 15px; }
.foot-in { display: grid; gap: 28px; grid-template-columns: 1fr; }
.foot-brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--mist); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 28px; }
/* Padding, not gaps, between lines: every link is a 32px tap target (WCAG 2.2 asks for 24). */
.foot-links a { display: inline-block; padding-block: 5px; color: var(--ink); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-langs ul { display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot-langs a { display: inline-block; padding-block: 5px; color: var(--mist); text-decoration: none; }
.foot-langs a:hover, .foot-langs a[aria-current] { color: var(--ink); }
@media (min-width: 900px) {
  .foot-in { grid-template-columns: auto 1fr; align-items: start; }
  .foot-links { justify-content: flex-end; }
  .foot-langs { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); }
}

/* ---- landing sections -------------------------------------------------------------------- */

main > section { padding-block: clamp(72px, 10vw, 136px); }
main > section.hero { padding-block: clamp(8px, 3vw, 40px) clamp(56px, 8vw, 104px); }
main > section > .h2 { margin-bottom: clamp(32px, 4vw, 56px); }

/* hero */
.hero { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
.hero-copy { container-type: inline-size; display: grid; gap: 24px; }
.hero-sub { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.5; color: var(--mist); max-width: 31em; }
.hero-note { font-size: 15px; color: var(--mist); }
/* iPhone and iPad: the phone app is Android-only, so say how to connect from Safari instead of the Wi-Fi line. */
.ios-note { display: none; }
.ios .ios-note { display: block; }
.ios .hero-note { display: none; }
.ios .ios-note { max-width: 31em; padding: 14px 16px; border: 1px solid var(--line2); border-radius: var(--r-m); background: var(--card); font-size: 15px; line-height: 1.5; color: var(--mist); }
@media (min-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); min-height: min(calc(100svh - 76px), 820px); }
}

/* The scene: a TV, its light, and a phone. All sizes are relative to the scene. */
.scene { position: relative; aspect-ratio: 10 / 8.2; width: 100%; max-width: 760px; justify-self: center; }
.glow, .floor { position: absolute; border-radius: 50%; pointer-events: none; animation: k-glow var(--loop) infinite; }
.glow { left: -6%; top: -4%; width: 98%; height: 74%; filter: blur(clamp(48px, 7vw, 90px)); }
.floor { left: 6%; top: 66%; width: 80%; height: 22%; filter: blur(clamp(28px, 4vw, 50px)); }
.tv { position: absolute; left: 0; top: 6%; width: 86%; }
.tv-screen {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size;
  border-radius: 14px; background: #000; border: clamp(5px, .9vw, 9px) solid #121827;
  box-shadow: 0 0 0 1px #222b3f, 0 30px 80px rgba(0, 0, 0, .45);
}
.tv-stand { display: block; width: 18%; height: 8px; margin: 10px auto 0; border-radius: 6px; background: #151c2c; }

.tv-s { position: absolute; inset: 0; opacity: 0; animation: var(--loop) infinite both; }
.tv-qr { background: #0b0f19; display: grid; place-content: center; justify-items: center; gap: 4cqi; animation-name: k-qr; opacity: 1; }
.tv-qr .qr { width: 30cqi; height: auto; padding: 1.4cqi; background: #fff; color: #0b0f19; border-radius: 2cqi; }
.tv-qr p { color: #c8d0e2; font-size: 3.6cqi; font-weight: 500; }

.tv-photo, .demo-photo { background: linear-gradient(#1c2a6e 0%, #7b3f8f 36%, #ff7a45 64%, #ffc46b 78%, #ffc46b 100%); overflow: hidden; }
.tv-photo { animation-name: k-photo; }
.tv-photo i, .demo-photo i { position: absolute; display: block; }
.sun { left: 50%; top: 50%; width: 19cqi; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(#fff6dc, #ffd27a 55%, #ff9a4a); box-shadow: 0 0 10cqi #ffb35c; }
.sea { left: 0; right: 0; bottom: 0; height: 36%; background: linear-gradient(#2b2452, #0c1030); box-shadow: inset 0 1.2cqi 2cqi -1cqi #ff9a4a; }
.hill { left: -12%; bottom: 30%; width: 62%; height: 22%; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: #191437; }

.tv-video { animation-name: k-video; background: radial-gradient(120% 90% at 70% 10%, #3e5f96, #142445 55%, #0a1430); }
.tv-video i { position: absolute; display: block; }
.snow { inset: 0; background: radial-gradient(circle, rgba(255, 255, 255, .85) 0 .35cqi, transparent .5cqi) 0 0 / 7cqi 7cqi, radial-gradient(circle, rgba(255, 255, 255, .55) 0 .25cqi, transparent .4cqi) 3cqi 2cqi / 5cqi 5cqi; animation: k-snow 4s linear infinite; }
.house { left: 30%; bottom: 16%; width: 26cqi; height: 18cqi; background: radial-gradient(circle at 28% 62%, #ffd27a 0 2.2cqi, transparent 2.4cqi), radial-gradient(circle at 72% 62%, #ffd27a 0 2.2cqi, transparent 2.4cqi), #0a0f1f; clip-path: polygon(0 40%, 50% 0, 100% 40%, 100% 100%, 0 100%); }
.tv-video::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(#cfdcf2, #8ea4c8); }
.vsub { position: absolute; left: 50%; bottom: 23%; z-index: 1; translate: -50% 0; white-space: nowrap; font-size: 3.8cqi; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .6); padding: .4cqi 1.6cqi; border-radius: 1cqi; }
.vbar { left: 5%; right: 5%; bottom: 6%; z-index: 1; height: 1.1cqi; border-radius: 1cqi; background: rgba(255, 255, 255, .3); overflow: hidden; }
.vbar::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform-origin: left; animation: k-vbar var(--loop) infinite; }

.tv-slide { background: linear-gradient(140deg, #0f1a3d, #1d3fae); padding: 8cqi 8cqi 0; color: #fff; display: grid; align-content: start; gap: 3cqi; }
.tv-screen .tv-slide { animation-name: k-slide; }
.sl-t { font-size: 9cqi; font-weight: 720; line-height: 1; letter-spacing: var(--track-d); }
.tv-slide ul { display: grid; gap: 1.6cqi; font-size: 4.4cqi; color: #d3dcf5; }
.tv-slide li::before { content: ""; display: inline-block; width: 1.4cqi; height: 1.4cqi; margin-right: 2cqi; border-radius: 50%; background: #7fa3ff; vertical-align: middle; }
.badge { position: absolute; right: 3cqi; top: 3cqi; display: inline-flex; align-items: center; gap: 1cqi; font-size: 2.8cqi; font-weight: 600; padding: .8cqi 1.8cqi; border-radius: 99px; background: rgba(255, 255, 255, .14); color: #fff; }
.badge svg { width: 2.6cqi; height: 2.6cqi; }

.tv-toast { position: absolute; left: 50%; top: 6%; z-index: 2; display: inline-flex; align-items: center; gap: 1.2cqi; padding: 1.2cqi 2.6cqi; border-radius: 99px; background: rgba(8, 12, 22, .82); color: #fff; font-size: 3.2cqi; font-weight: 600; opacity: 0; animation: k-toast var(--loop) infinite; }
.tv-toast svg { width: 3.2cqi; height: 3.2cqi; color: var(--ok); }

.beam { position: absolute; right: 18%; top: 62%; width: 16%; height: 2px; rotate: -32deg; transform-origin: right; background: repeating-linear-gradient(90deg, #8eadff 0 6px, transparent 6px 12px); opacity: 0; animation: k-beam var(--loop) infinite; }

.phone {
  position: absolute; right: 0; bottom: 0; width: 27%; aspect-ratio: 9 / 18.6; container-type: inline-size;
  border-radius: 15% / 7.3%; border: clamp(3px, .55vw, 6px) solid #1b2234; background: #0a0e18; overflow: hidden;
  box-shadow: 0 0 0 1px #2a3550, 0 30px 70px rgba(0, 0, 0, .55);
}
.ph-cam, .ph-remote { position: absolute; inset: 0; animation: var(--loop) infinite both; }
.ph-cam { animation-name: k-qr; background: radial-gradient(90% 60% at 50% 40%, #2a3350, #0d111d); display: grid; place-items: center; }
.finder { position: relative; width: 66cqi; aspect-ratio: 1; display: grid; place-items: center;
  background:
    linear-gradient(#fff, #fff) 0 0 / 14cqi 1.6cqi no-repeat, linear-gradient(#fff, #fff) 0 0 / 1.6cqi 14cqi no-repeat,
    linear-gradient(#fff, #fff) 100% 0 / 14cqi 1.6cqi no-repeat, linear-gradient(#fff, #fff) 100% 0 / 1.6cqi 14cqi no-repeat,
    linear-gradient(#fff, #fff) 0 100% / 14cqi 1.6cqi no-repeat, linear-gradient(#fff, #fff) 0 100% / 1.6cqi 14cqi no-repeat,
    linear-gradient(#fff, #fff) 100% 100% / 14cqi 1.6cqi no-repeat, linear-gradient(#fff, #fff) 100% 100% / 1.6cqi 14cqi no-repeat; }
.qr-s { width: 48cqi; padding: 2cqi; background: #fff; color: #0b0f19; border-radius: 3cqi; rotate: -4deg; }
.scanline { position: absolute; left: 18%; right: 18%; height: 1.2cqi; border-radius: 1cqi; background: #8eadff; box-shadow: 0 0 6cqi #8eadff; animation: k-scan 2.2s ease-in-out infinite; }
.ph-remote { animation-name: k-remote; opacity: 0; padding: 16cqi 9cqi 10cqi; display: grid; align-content: start; gap: 8cqi; background: #0c111d; }
.r-name { display: flex; align-items: center; gap: 3cqi; color: #c8d0e2; font-size: 7.4cqi; font-weight: 600; white-space: nowrap; overflow: hidden; }
.r-name svg { flex: none; width: 9cqi; height: 9cqi; }
.r-thumb { display: block; aspect-ratio: 16 / 10; border-radius: 6cqi; animation: k-thumb var(--loop) infinite; }
.r-seek { position: relative; display: block; height: 2.6cqi; border-radius: 2cqi; background: #222b40; overflow: hidden; }
.r-seek b { position: absolute; inset: 0; background: var(--blue); transform-origin: left; animation: k-seek var(--loop) infinite; }
.r-btns { display: flex; align-items: center; justify-content: space-between; color: #c8d0e2; margin-top: 2cqi; }
.r-btns svg { width: 12cqi; height: 12cqi; }
.r-play { display: grid; place-items: center; width: 30cqi; aspect-ratio: 1; border-radius: 50%; background: var(--blue); color: #fff; }

@keyframes k-qr { 0%, 19% { opacity: 1 } 22%, 95% { opacity: 0 } 98%, 100% { opacity: 1 } }
@keyframes k-remote { 0%, 19% { opacity: 0 } 22%, 95% { opacity: 1 } 98%, 100% { opacity: 0 } }
@keyframes k-photo { 0%, 21% { opacity: 0; transform: scale(1.06) } 25% { opacity: 1 } 46% { opacity: 1; transform: scale(1) } 49%, 100% { opacity: 0 } }
@keyframes k-video { 0%, 46% { opacity: 0 } 49%, 70% { opacity: 1 } 73%, 100% { opacity: 0 } }
@keyframes k-slide { 0%, 71% { opacity: 0; transform: translateY(4%) } 74%, 94% { opacity: 1; transform: none } 97%, 100% { opacity: 0 } }
@keyframes k-toast { 0%, 17% { opacity: 0; transform: translate(-50%, -40%) } 19%, 28% { opacity: 1; transform: translate(-50%, 0) } 31%, 100% { opacity: 0; transform: translate(-50%, 0) } }
@keyframes k-beam { 0%, 14% { opacity: 0 } 17%, 23% { opacity: 1 } 27%, 100% { opacity: 0 } }
@keyframes k-scan { 0%, 100% { top: 16% } 50% { top: 80% } }
@keyframes k-snow { to { background-position: 0 7cqi, 3cqi 7cqi } }
@keyframes k-vbar { 0%, 48% { transform: scaleX(.12) } 72%, 100% { transform: scaleX(.6) } }
@keyframes k-seek { 0%, 22% { transform: scaleX(.04) } 46% { transform: scaleX(.3) } 49% { transform: scaleX(.12) } 72% { transform: scaleX(.6) } 74%, 100% { transform: scaleX(.25) } }
@keyframes k-glow {
  0%, 19% { background-color: #2f6bff; opacity: .2 }
  24%, 45% { background-color: #ff8a4c; opacity: .5 }
  49%, 70% { background-color: #5fc8ff; opacity: .42 }
  74%, 94% { background-color: #2f6bff; opacity: .55 }
  98%, 100% { background-color: #2f6bff; opacity: .2 }
}
@keyframes k-thumb {
  0%, 21% { background-color: #1a2236 }
  24%, 46% { background-color: #ff8a4c }
  49%, 71% { background-color: #2c4677 }
  74%, 100% { background-color: #1d3fae }
}
@media (prefers-color-scheme: light) {
  .glow { mix-blend-mode: multiply; }
  .floor { opacity: .25; }
}

/* Paused off screen (home.js) and still for reduced motion: the photo is up, the phone is the remote. */
.scene.paused *, .scene.paused { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .scene *, .scene { animation: none !important; }
  .tv-qr, .ph-cam, .tv-toast, .beam { opacity: 0; }
  .tv-photo, .ph-remote { opacity: 1; }
  .glow, .floor { background-color: #ff8a4c; opacity: .45; }
  .r-thumb { background-color: #ff8a4c; }
  .r-seek b { transform: scaleX(.3); }
}

/* how it works: a real sequence, so the steps are numbered */
.steps { display: grid; gap: 20px; counter-reset: s; }
.step { position: relative; display: grid; gap: 12px; padding: 28px 0 0; border-top: 1px solid var(--line2); }
.step-n { font-size: 15px; font-weight: 600; color: var(--link); }
.step h3 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: var(--track-h); line-height: 1; }
.step p { color: var(--mist); max-width: 24em; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .step { animation: k-step linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
    @keyframes k-step { from { border-top-color: var(--line); opacity: .35 } to { border-top-color: var(--blue); opacity: 1 } }
  }
}

/* features: a bento of live mini-screens */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.cell { position: relative; display: grid; align-content: start; gap: 10px; padding: 18px 18px 26px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.cell h3 { margin-top: 10px; padding-inline: 6px; }
.cell p { color: var(--mist); padding-inline: 6px; max-width: 30em; }
.demo { position: relative; border-radius: var(--r-m); background: var(--bg2); border: 1px solid var(--line); overflow: hidden; font-size: 14px; }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .c-web, .c-photo { grid-column: 1 / -1; }
}
@media (min-width: 1080px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .c-web { grid-column: 1 / 5; }
  .c-remote { grid-column: 5 / 7; grid-row: 1 / 3; grid-template-rows: 1fr auto auto; }
  .c-remote .demo-remote { align-content: center; }
  .c-video { grid-column: 1 / 3; }
  .c-queue { grid-column: 3 / 5; }
  .c-photo { grid-column: 1 / 4; }
  .c-subs { grid-column: 4 / 7; }
}

.bw-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.bw-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line2); }
.bw-bar span { margin-left: 8px; flex: 1; min-width: 0; padding: 4px 12px; border-radius: 99px; background: var(--card); color: var(--mist); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bw-page { display: grid; gap: 10px; padding: 14px 14px 76px; }
.bw-video { display: grid; place-items: center; aspect-ratio: 16 / 6.4; border-radius: 10px; color: #fff; background: linear-gradient(120deg, #2a1f4f, #a8467a 55%, #f0a35e); }
.bw-video svg { width: 40px; height: 40px; opacity: .9; }
.bw-line { display: block; height: 10px; border-radius: 5px; background: var(--line); }
.bw-line.short { width: 60%; }
.bw-found { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line2); box-shadow: 0 14px 30px rgba(0, 0, 0, .28); }
.bw-found span { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-weight: 600; }
.bw-found span svg { color: var(--ok); }
.bw-found small { color: var(--mist); font-weight: 400; font-size: 13px; }
.bw-found b { flex: none; padding: 8px 14px; border-radius: 10px; background: var(--btn); color: #fff; font-weight: 600; font-size: 14px; }

.demo-remote { display: grid; gap: 14px; padding: 22px 20px 26px; container-type: inline-size; }
.demo-remote .r-name { color: var(--ink); font-size: 15px; gap: 8px; }
.demo-remote .r-name svg { width: 18px; height: 18px; }
.dr-art { aspect-ratio: 16 / 10; border-radius: 14px; background: radial-gradient(120% 90% at 70% 10%, #3e5f96, #142445 55%, #0a1430); }
.dr-time { display: flex; justify-content: space-between; color: var(--mist); font-size: 13px; font-variant-numeric: tabular-nums; }
.demo-remote .r-seek { height: 6px; background: var(--line2); }
.demo-remote .r-seek b { animation: none; transform: scaleX(.29); }
.dr-btns { display: flex; align-items: center; justify-content: space-between; color: var(--ink); font-weight: 600; font-size: 14px; }
.dr-btns svg { width: 22px; height: 22px; }
.dr-btns .r-play { width: 64px; }
.dr-btns .r-play svg { width: 26px; height: 26px; }

.demo-file { display: grid; gap: 14px; padding: 18px; }
.df-row { display: flex; align-items: center; gap: 12px; }
.df-thumb { flex: none; width: 64px; aspect-ratio: 4 / 3; border-radius: 9px; background: linear-gradient(#5aa9ff, #2e5e9e 60%, #e9c27a 61%, #c79a52); }
.df-row span { display: grid; min-width: 0; }
.df-row b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.df-row small { color: var(--mist); font-size: 13px; }
.df-state { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 8px; color: var(--ok); font-weight: 600; }
.df-bar { grid-column: 1 / -1; position: relative; display: block; height: 6px; border-radius: 3px; background: var(--line2); overflow: hidden; }
.df-bar b { position: absolute; inset: 0; background: var(--blue); transform: scaleX(.42); transform-origin: left; }

.demo-queue { padding: 18px; display: grid; gap: 12px; }
.dq-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.dq-strip i { aspect-ratio: 3 / 4; border-radius: 9px; background: linear-gradient(#ff9a5a, #7b3f8f); }
.dq-strip i:nth-child(2) { background: linear-gradient(#5aa9ff, #1f3a72); }
.dq-strip i:nth-child(3) { background: linear-gradient(#ffd27a, #c85a3a); }
.dq-strip i:nth-child(4) { background: linear-gradient(#7ee0c3, #1e5a63); }
.dq-strip i:nth-child(5) { background: linear-gradient(#c9b6ff, #3d3a8a); }
.dq-strip i.on { outline: 3px solid var(--blue); outline-offset: 2px; }
.dq-count { justify-self: start; padding: 3px 10px; border-radius: 99px; background: var(--card); border: 1px solid var(--line2); font-size: 13px; color: var(--mist); }

.c-photo { padding: 0; min-height: 340px; align-content: end; }
.demo-photo { position: absolute; inset: 0; border: 0; border-radius: 0; container-type: inline-size; }
.demo-photo .sun { top: 34%; width: 15cqi; }
.c-photo::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(5, 8, 16, .88)); }
.c-photo h3, .c-photo p { position: relative; z-index: 1; color: #fff; padding-inline: 26px; }
.c-photo p { color: #d6dbea; padding-bottom: 26px; }

.demo-subs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; padding: 18px; }
.ds-h { color: var(--mist); font-size: 13px; margin-bottom: 6px; }
.demo-subs li { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 9px; }
.demo-subs li.on { background: var(--card); color: var(--link); font-weight: 600; }
.demo-subs li:not(.on) { padding-left: 34px; }

/* split sections: Chrome, AI */
.split { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
.split-copy { display: grid; gap: 22px; align-content: start; }
.split-copy .h2 { margin: 0; }
@media (min-width: 980px) {
  .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .split.ai { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split.ai .split-copy { order: 2; }
}
.soon { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--mist); }
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #f5b544; }

.cx { position: relative; padding-bottom: 12%; }
.cx-win { width: 88%; border-radius: var(--r-m); background: var(--card); border: 1px solid var(--line2); overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
.cx-video { position: relative; aspect-ratio: 16 / 9; margin: 12px; border-radius: 10px; overflow: hidden; background: #000; }
.cx-art { position: absolute; inset: 0; display: block; background: linear-gradient(#77b7ff 0%, #b7dcff 40%, #3c6e5a 41%, #1f3d33 70%, #0f1f1c 100%); transition: opacity .4s; }
.cx-art::after { content: ""; position: absolute; left: 18%; top: 14%; width: 46%; height: 30%; background: #e9f3ff; clip-path: polygon(0 100%, 35% 20%, 50% 55%, 70% 0, 100% 100%); opacity: .95; }
.cx-btn {
  position: absolute; right: 10px; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px 0 8px; border: 0; border-radius: 12px; cursor: pointer;
  background: rgba(7, 10, 18, .82); color: #fff; font: 600 14px/1 var(--font);
  box-shadow: 0 0 0 0 rgba(47, 107, 255, .7); animation: k-ping 2.4s ease-out infinite;
}
.cx-btn img { width: 24px; height: 24px; border-radius: 6px; }
.cx-btn:hover { background: var(--btn); }
.cx-btn[aria-pressed="true"] { background: var(--btn); animation: none; }
@keyframes k-ping { 0% { box-shadow: 0 0 0 0 rgba(47, 107, 255, .7) } 70%, 100% { box-shadow: 0 0 0 14px rgba(47, 107, 255, 0) } }
.cx-tv { position: absolute; right: 0; bottom: 0; width: 50%; }
.cx-tv-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #05070c; border: 6px solid #121827; box-shadow: 0 0 0 1px #222b3f, 0 24px 60px rgba(0, 0, 0, .45); transition: box-shadow .6s; }
.cx-tv-screen .cx-art { opacity: 0; }
.cx-tv::before { content: ""; position: absolute; inset: -20% -10%; border-radius: 50%; background: #77b7ff; filter: blur(50px); opacity: 0; transition: opacity .6s; pointer-events: none; }
.cx.sent .cx-tv-screen .cx-art { opacity: 1; transition-delay: .45s; }
.cx.sent .cx-tv::before { opacity: .35; transition-delay: .45s; }
.cx.sent .cx-win .cx-art { opacity: .25; }
.cx-fly { position: absolute; z-index: 5; border-radius: 8px; overflow: hidden; pointer-events: none; }
.cx-hint { position: absolute; left: 0; bottom: -8px; font-size: 14px; color: var(--mist); max-width: 46%; }
@media (prefers-reduced-motion: reduce) { .cx-btn { animation: none; } .cx * { transition: none !important; } }

.works { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; color: var(--mist); font-size: 15px; }
.works b { color: var(--ink); font-weight: 600; }
.chat { display: grid; gap: 14px; padding: clamp(18px, 3vw, 28px); border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); }
.msg { max-width: 82%; padding: 14px 18px; border-radius: 20px; line-height: 1.45; }
.msg.me { justify-self: end; background: var(--btn); color: #fff; border-bottom-right-radius: 6px; }
.msg.bot { justify-self: start; background: var(--bg2); border-bottom-left-radius: 6px; display: grid; gap: 8px; }
.tool { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 8px; background: var(--card); border: 1px solid var(--line2); color: var(--mist); font: 13px/1.4 ui-monospace, "SF Mono", Menlo, monospace; }
.mini-tv { position: relative; container-type: inline-size; aspect-ratio: 16 / 9; margin-top: 6px; border-radius: 12px; overflow: hidden; border: 6px solid #121827; box-shadow: 0 0 0 1px #222b3f, 0 26px 70px rgba(47, 107, 255, .3); }
.mini-tv .tv-slide { position: absolute; inset: 0; }

/* privacy */
.privacy { display: grid; gap: 40px; }
.priv-head { display: grid; gap: 20px; align-content: start; }
.priv-head .h2 { margin: 0; }
.more { justify-self: start; font-weight: 600; }
.facts { display: grid; }
.facts li { display: grid; gap: 8px; padding: 24px 0; border-top: 1px solid var(--line2); }
.facts li:last-child { border-bottom: 1px solid var(--line2); }
.facts h3 { font-size: 22px; }
.facts p { color: var(--mist); max-width: 34em; }
@media (min-width: 980px) { .privacy { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }

/* platforms */
.plats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.plats li { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px 12px 18px; border-radius: 99px; border: 1px solid var(--line2); }
.plats b { font-weight: 600; }
.plats span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--mist); }
.plats span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line2); }
.plats .now { border-color: color-mix(in srgb, var(--blue) 55%, var(--line2)); }
.plats .now span::before { background: var(--ok); }

/* faq */
.faq { display: grid; gap: 8px; }
.faq .h2 { margin-bottom: 24px; }
.qs details { border-bottom: 1px solid var(--line2); }
.qs details:first-child { border-top: 1px solid var(--line2); }
.qs summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; color: var(--mist); transition: rotate .2s; }
.qs details[open] summary::after { rotate: 45deg; }
.qs h3 { font-size: clamp(18px, 1.7vw, 21px); }
.qs p { color: var(--mist); padding-bottom: 24px; max-width: 40em; }
@media (min-width: 980px) { .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; } .faq .h2 { position: sticky; top: 32px; align-self: start; } }

/* final */
.final { display: grid; gap: 24px; justify-items: start; }
.final .display { max-width: 12em; }

.gp { flex: none; }

/* ---- /ai/ and legal pages ---------------------------------------------------------------- */

.doc { max-width: 820px; padding-block: clamp(24px, 4vw, 56px) 24px; }
.doc > h1 { margin-bottom: 20px; }
.doc > h2, .legal h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: var(--track-h); line-height: 1.15; margin: 56px 0 16px; }
.doc > p, .legal p { margin: 0 0 14px; max-width: 42em; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 22px; list-style: disc; max-width: 42em; }
.doc ol { list-style: decimal; }
.doc li { margin: 0 0 8px; }
.doc .lead { margin-bottom: 8px; }
.try { display: grid; gap: 10px; justify-items: start; margin: 28px 0 0; }
.doc pre { margin: 0 0 14px; padding: 14px 16px; border-radius: var(--r-s); background: var(--bg2); border: 1px solid var(--line); overflow-x: auto; }
.doc pre code { background: none; padding: 0; font-size: 14px; white-space: pre; overflow-wrap: normal; }
.copy { cursor: copy; }
.copy.copied { outline: 2px solid var(--ok); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 12px; }
.tabs [role="tab"] { font: 600 15px/1 var(--font); cursor: pointer; border: 1px solid var(--line2); background: transparent; color: var(--ink); border-radius: 11px; padding: 0 14px; min-height: 42px; }
.tabs [role="tab"]:hover { background: var(--bg2); }
.tabs [role="tab"][aria-selected="true"] { background: var(--btn); border-color: var(--btn); color: #fff; }
.panel { border: 1px solid var(--line); background: var(--card); border-radius: var(--r-m); padding: 20px 20px 8px; }
.panel h3 { margin: 0 0 12px; }
.panel p { margin: 0 0 10px; }
.buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.examples li { color: var(--ink); }

.legal h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 720; letter-spacing: var(--track-d); line-height: 1.02; margin-bottom: 12px; }
.legal h3 { margin: 24px 0 10px; }
.legal hr { border: 0; border-top: 1px solid var(--line2); margin: 48px 0; }
.legal table { border-collapse: collapse; margin: 0 0 16px; font-size: 15px; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--line2); padding: 8px 10px; text-align: left; vertical-align: top; }
