/* SwipeRemote landing page. Everything in the hero illustration is sized in container
   units so the TV + phone scale as one drawing. All motion is transform/opacity only
   and switches off under prefers-reduced-motion. */

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 84px) 0 clamp(56px, 8vw, 104px); position: relative; overflow-x: clip; }
.hero .wrap { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); } }

.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: var(--tx-2); margin-bottom: 22px;
}
.hero .eyebrow img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 8px 30px rgba(90, 227, 166, 0.18); }
.hero h1 {
  font-size: clamp(2.7rem, 1.4rem + 5.2vw, 5.1rem);
  line-height: 0.98; letter-spacing: -0.035em; font-weight: 700;
  max-width: 11ch;
}
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .lede {
  font-size: clamp(1.1rem, 1rem + 0.55vw, 1.32rem); line-height: 1.5;
  color: var(--tx-2); max-width: 33em; margin: 24px 0 32px;
}
.hero .lede q { color: var(--tx); quotes: "\201C" "\201D"; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
@media (max-width: 400px) { .hero .ctas { gap: 10px; } .hero .ctas .btn { padding: 0 17px; font-size: 15.5px; } }
.hero .promise { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--tx-2); }
.hero .promise li { display: inline-flex; align-items: center; gap: 8px; }
.hero .promise li:first-child { flex-basis: 100%; }
.hero .promise .i { width: 16px; height: 16px; color: var(--mint); stroke-width: 2.4; }

/* Stage: TV on top, phone in front, callouts beside the phone */
.stage {
  container-type: inline-size;
  position: relative; width: 100%; max-width: 600px; margin: 0 auto;
  aspect-ratio: 1 / 1.28;
}

.tv { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 16 / 9; }
.tv-glow { position: absolute; inset: -14% -10% -30%; pointer-events: none; }
.tv-glow span { position: absolute; inset: 0; border-radius: 50%; opacity: 0; }
.tv-glow .g-red { background: radial-gradient(closest-side, rgba(229, 9, 20, 0.26), transparent); opacity: 1; animation: glow-red 12s infinite; }
.tv-glow .g-blue { background: radial-gradient(closest-side, rgba(0, 140, 230, 0.24), transparent); animation: glow-blue 12s infinite; }
@keyframes glow-red { 0%, 30% { opacity: 1; } 34%, 74% { opacity: 0; } 78%, 100% { opacity: 1; } }
@keyframes glow-blue { 0%, 30% { opacity: 0; } 34%, 74% { opacity: 1; } 78%, 100% { opacity: 0; } }

.tv-body {
  position: absolute; inset: 0; border-radius: 1.6cqw; padding: 1.1cqw;
  background: #060607; border: 1px solid rgba(235, 235, 240, 0.14);
  box-shadow: 0 2cqw 6cqw rgba(0, 0, 0, 0.6);
}
.tv-screen {
  container-type: inline-size;
  position: relative; width: 100%; height: 100%; border-radius: 0.7cqw; overflow: hidden;
  background: linear-gradient(180deg, #0b0c0f, #050506);
}
.tv-top { position: absolute; left: 5cqw; right: 5cqw; top: 3.6cqw; display: flex; justify-content: space-between; font: 600 2.1cqw/1 var(--font); color: rgba(235, 235, 240, 0.55); }
.tv-banner { position: absolute; left: 5cqw; right: 5cqw; top: 8.5cqw; height: 24cqw; border-radius: 1.4cqw; overflow: hidden; background: #101114; }
.tv-banner .b { position: absolute; inset: 0; }
.tv-banner .b-red { background: linear-gradient(115deg, rgba(229, 9, 20, 0.55), rgba(229, 9, 20, 0.06) 62%); animation: glow-red 12s infinite; }
.tv-banner .b-blue { background: linear-gradient(115deg, rgba(0, 150, 230, 0.55), rgba(31, 79, 216, 0.08) 62%); opacity: 0; animation: glow-blue 12s infinite; }
.tv-banner .lines { position: absolute; left: 4cqw; bottom: 4cqw; display: grid; gap: 1.3cqw; }
.tv-banner .lines i { display: block; height: 2.2cqw; border-radius: 1cqw; background: rgba(255, 255, 255, 0.85); width: 30cqw; }
.tv-banner .lines i + i { height: 1.4cqw; width: 22cqw; background: rgba(255, 255, 255, 0.4); }
.tv-banner .lines b { display: block; width: 10cqw; height: 3.6cqw; border-radius: 2cqw; background: #fff; margin-top: 1.2cqw; }

.tv-row-label { position: absolute; left: 5cqw; top: 35.4cqw; font: 600 1.9cqw/1 var(--font); color: rgba(235, 235, 240, 0.55); }
.tv-tiles { position: absolute; left: 5cqw; top: 39cqw; display: flex; gap: 2.5cqw; }
.tv-tiles span {
  width: 16cqw; height: 9.5cqw; border-radius: 1cqw;
  display: grid; place-items: center; text-align: center;
  font: 650 1.9cqw/1.1 var(--font); color: #fff; letter-spacing: -0.01em;
}
.tv-focus {
  position: absolute; left: 5cqw; top: 39cqw; width: 16cqw; height: 9.5cqw;
  border-radius: 1.2cqw; box-shadow: 0 0 0 0.55cqw #fff, 0 0 4cqw rgba(255, 255, 255, 0.35);
  animation: tv-focus 12s infinite;
}
@keyframes tv-focus {
  0%, 9% { transform: translateX(0) scale(1.06); }
  11%, 30% { transform: translateX(18.5cqw) scale(1.06); }
  32%, 52% { transform: translateX(37cqw) scale(1.06); }
  54%, 71% { transform: translateX(55.5cqw) scale(1.06); }
  73%, 75% { transform: translateX(37cqw) scale(1.06); }
  77%, 79% { transform: translateX(18.5cqw) scale(1.06); }
  81%, 90% { transform: translateX(0) scale(1.06); }
  92% { transform: translateX(0) scale(0.94); }
  95%, 100% { transform: translateX(0) scale(1.06); }
}

/* Brand tiles: name on brand colour, no logos (same rule as the app) */
.t-yt { background: linear-gradient(160deg, #ff2a2a, #cc0000); }
.t-nf { background: linear-gradient(160deg, #e50914, #b70710); }
.t-pv { background: linear-gradient(160deg, #00a8e1, #0086b4); }
.t-jh { background: linear-gradient(160deg, #2a5be6, #1940ad); }
.t-z5 { background: linear-gradient(160deg, #8f3bd6, #682599); }

.phone {
  container-type: inline-size;
  /* this element's own cqw resolve against .stage (phone = 38cqw wide) */
  position: absolute; left: 3%; top: 49cqw; width: 38%; aspect-ratio: 1 / 2.05;
  border-radius: 6.2cqw; padding: 1cqw;
  background: linear-gradient(160deg, #2b2b2e, #0d0d0e 40%, #18181a);
  box-shadow: 0 0 0 1px rgba(235, 235, 240, 0.12), 0 2.5cqw 6cqw rgba(0, 0, 0, 0.75), 0 0 12cqw rgba(90, 227, 166, 0.08);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 14.4cqw; background: #000; overflow: hidden; }
.p-island { position: absolute; top: 3.2cqw; left: 50%; width: 27cqw; height: 7.4cqw; margin-left: -13.5cqw; border-radius: 4cqw; background: #0d0d0f; }
.p-head { position: absolute; top: 14cqw; left: 5cqw; right: 5cqw; display: flex; align-items: center; gap: 2.6cqw; }
.p-round {
  width: 11.5cqw; height: 11.5cqw; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(var(--key-top), var(--key-bot)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: var(--tx);
}
.p-round .i { width: 5.6cqw; height: 5.6cqw; stroke-width: 2.4; }
.p-round.power { color: var(--red); }
.p-pill {
  flex: 1; min-width: 0; height: 11.5cqw; border-radius: 6cqw; padding: 0 3cqw;
  display: flex; flex-direction: column; justify-content: center;
  background: rgba(255, 255, 255, 0.075); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.p-pill b { display: flex; align-items: center; gap: 1.6cqw; font: 650 3.9cqw/1.1 var(--display); color: var(--tx); white-space: nowrap; }
.p-pill b::before { content: ""; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: var(--mint); flex: none; }
.p-pill small { font: 500 3cqw/1.2 var(--font); color: var(--tx-2); padding-left: 3.8cqw; white-space: nowrap; }
.p-tiles { position: absolute; top: 30cqw; left: 5cqw; display: flex; gap: 2.6cqw; }
.p-tiles span { width: 25cqw; height: 15.5cqw; border-radius: 3.6cqw; display: grid; place-items: center; font: 650 3.4cqw/1.1 var(--font); color: #fff; text-align: center; }
.p-pad {
  position: absolute; top: 51cqw; left: 5cqw; right: 5cqw; height: 96cqw; border-radius: 9cqw;
  background: var(--well); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.p-pad .hint { position: absolute; left: 0; right: 0; bottom: 6cqw; text-align: center; font: 500 3cqw/1 var(--font); color: rgba(235, 235, 240, 0.4); }
.p-touch {
  position: absolute; left: 22%; top: 40%; width: 13cqw; height: 13cqw; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12) 60%, transparent 72%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
  opacity: 0; animation: p-touch 12s infinite;
}
@keyframes p-touch {
  0% { opacity: 0; transform: translateX(0) scale(0.8); }
  3% { opacity: 1; transform: translateX(0) scale(1); }
  10% { opacity: 1; transform: translateX(260%) scale(1); }
  13% { opacity: 0; transform: translateX(300%) scale(1); }
  21% { opacity: 0; transform: translateX(0) scale(0.8); }
  24% { opacity: 1; transform: translateX(0) scale(1); }
  31% { opacity: 1; transform: translateX(260%) scale(1); }
  34% { opacity: 0; transform: translateX(300%) scale(1); }
  43% { opacity: 0; transform: translateX(0) scale(0.8); }
  46% { opacity: 1; transform: translateX(0) scale(1); }
  53% { opacity: 1; transform: translateX(260%) scale(1); }
  56% { opacity: 0; transform: translateX(300%) scale(1); }
  64% { opacity: 0; transform: translateX(300%) scale(0.8); }
  67% { opacity: 1; transform: translateX(300%) scale(1); }
  80% { opacity: 1; transform: translateX(-20%) scale(1); }
  83% { opacity: 0; transform: translateX(-50%) scale(1); }
  87% { opacity: 0; transform: translateX(130%) scale(0.6); }
  90% { opacity: 1; transform: translateX(130%) scale(1); }
  94% { opacity: 0; transform: translateX(130%) scale(1.7); }
  100% { opacity: 0; transform: translateX(130%) scale(1.7); }
}
.p-nav { position: absolute; top: 154cqw; left: 5cqw; right: 5cqw; display: flex; align-items: center; justify-content: space-between; }
.p-nav .p-round { width: 14cqw; height: 14cqw; }
.p-nav .p-round .i { width: 6.2cqw; height: 6.2cqw; }
.p-mic {
  width: 20cqw; height: 20cqw; border-radius: 50%; display: grid; place-items: center; color: var(--mint);
  background: radial-gradient(circle at 50% 30%, rgba(90, 227, 166, 0.42), rgba(90, 227, 166, 0.14));
  box-shadow: inset 0 0 0 1px rgba(90, 227, 166, 0.45), 0 0 8cqw rgba(90, 227, 166, 0.25);
}
.p-mic .i { width: 8cqw; height: 8cqw; stroke-width: 2.2; color: #d9fbe9; }
.p-home-ind { position: absolute; bottom: 2.6cqw; left: 50%; width: 34cqw; margin-left: -17cqw; height: 1.4cqw; border-radius: 1cqw; background: rgba(235, 235, 240, 0.5); }

.callouts {
  position: absolute; left: 47%; right: 0; top: 70cqw;
  list-style: none; margin: 0; padding: 0; display: grid; gap: 7cqw;
}
.callouts li { position: relative; padding-left: 0; font-size: max(13px, 3.1cqw); line-height: 1.3; color: var(--tx-2); }
.callouts li b { display: block; font: 650 max(15px, 3.7cqw)/1.2 var(--display); color: var(--tx); margin-bottom: 0.6cqw; }
.callouts li::before {
  content: ""; position: absolute; right: calc(100% + 1.6cqw); top: max(9px, 2cqw); width: 6cqw; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(90, 227, 166, 0.7));
}
.callouts li::after {
  content: ""; position: absolute; right: calc(100% + 1cqw); top: calc(max(9px, 2cqw) - 2.5px); width: 6px; height: 6px; border-radius: 50%; background: var(--mint);
}

/* ---------- Sections ---------- */
.sec { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.sec-head { max-width: 42rem; margin-bottom: clamp(32px, 5vw, 56px); }
.label { display: inline-block; color: var(--mint); font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.sec h2 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.3rem); line-height: 1.03; letter-spacing: -0.03em; font-weight: 700; }
.sec .sub { font-size: clamp(1.06rem, 1rem + 0.35vw, 1.2rem); color: var(--tx-2); margin-top: 18px; max-width: 36em; }
.sec .sub:last-child { margin-bottom: 0; }

.split { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split.flip > :first-child { order: 2; }
}

/* Gesture keys */
.gestures { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gestures li {
  border-radius: 22px; padding: 20px 18px 18px; min-height: 150px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  background: linear-gradient(var(--key-top), var(--key-bot));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 30px rgba(0, 0, 0, 0.5);
}
.gestures li:nth-child(1) { grid-column: span 2; min-height: 0; flex-direction: row; align-items: center; }
.gestures svg { width: 56px; height: 40px; color: var(--tx); flex: none; }
.gestures svg .mint { stroke: var(--mint); }
.gestures svg .fill { fill: currentColor; stroke: none; }
.gestures svg .fill.mint { fill: var(--mint); }
.gestures b { display: block; font: 650 18px/1.2 var(--display); }
.gestures span { display: block; font-size: 15px; color: var(--tx-2); margin-top: 4px; line-height: 1.4; }
.gestures li:nth-child(1) svg { width: 96px; height: 48px; }
.gestures li:nth-child(1) div { flex: 1; }

/* Keyboard mirror */
.mirror { position: relative; display: grid; gap: 18px; }
.tvfield {
  border-radius: 20px; padding: 22px 20px 26px; background: #070708;
  border: 1px solid var(--line-2);
}
.tvfield small, .phonefield small { display: block; font-size: 13px; color: var(--tx-3); font-weight: 600; margin-bottom: 12px; }
.field {
  display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 18px; border-radius: 14px;
  background: #18181a; font-size: 19px; color: var(--tx); overflow: hidden; white-space: nowrap;
}
.field .i { width: 20px; height: 20px; color: var(--tx-3); }
.caret { display: inline-block; width: 2px; height: 1.15em; background: var(--mint); vertical-align: -0.2em; margin-left: 1px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tvfield .suggest { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.tvfield .suggest span { padding: 8px 12px; border-radius: 10px; background: #121214; color: var(--tx-2); font-size: 14px; }
.tvfield .suggest span:first-child { box-shadow: 0 0 0 2px #fff; color: var(--tx); }
.phonefield {
  border-radius: 28px 28px 20px 20px; padding: 18px 16px 16px; margin: 0 6%;
  background: #141416; border: 1px solid var(--line);
}
.phonefield .grabber { width: 40px; height: 5px; border-radius: 3px; background: rgba(235, 235, 240, 0.25); margin: -6px auto 14px; }
.phonefield .field { background: #232326; height: 50px; font-size: 18px; }
.keys { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; margin-top: 14px; }
.keys span { height: 34px; border-radius: 6px; background: #2c2c2f; display: grid; place-items: center; font-size: 14px; color: var(--tx); }
.keys .wide { grid-column: span 2; background: #222225; }
.keys .space { grid-column: span 6; color: var(--tx-2); font-size: 13px; }
.mirror .arrow { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--mint-ink); box-shadow: 0 0 0 6px #000; }
.mirror .arrow .i { width: 20px; height: 20px; stroke-width: 2.6; transform: rotate(180deg); }
.facts-inline { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts-inline li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; color: var(--tx-2); }

/* Voice */
.voice-cols { display: grid; gap: 28px; }
@media (min-width: 820px) { .voice-cols { grid-template-columns: 1fr 1fr; gap: 40px; } }
.voice-cols h3 { font: 600 14px/1 var(--font); color: var(--tx-3); margin-bottom: 14px; }
.said { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.said li {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
  padding: 12px 12px 12px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
@media (max-width: 479px) { .said li { border-radius: 22px; padding-left: 16px; } .said q { font-size: 16.5px; } .said .chip { font-size: 13.5px; padding: 6px 11px; } }
.said q { flex: 1 1 auto; min-width: 0; font: 600 clamp(17px, 1rem + 0.4vw, 20px)/1.3 var(--display); color: var(--tx); quotes: "\201C" "\201D"; }
.said .chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
  background: var(--mint-soft); color: var(--mint); font-size: 14.5px; font-weight: 600; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(90, 227, 166, 0.28);
}
.said .chip .i { width: 14px; height: 14px; stroke-width: 2.6; }
.voice-note { margin-top: 28px; font-size: 15px; color: var(--tx-2); display: flex; gap: 10px; align-items: flex-start; max-width: 46em; }
.voice-note .i { width: 18px; height: 18px; color: var(--mint); margin-top: 3px; }

/* Power */
.power-vis { display: grid; place-items: center; padding: 20px 0; }
.power-ring { position: relative; width: min(300px, 62vw); aspect-ratio: 1; }
.power-ring svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.power-ring .track { fill: none; stroke: #161618; stroke-width: 6; }
.power-ring .prog { fill: none; stroke: var(--mint); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; animation: ring 6s var(--ease) infinite; }
@keyframes ring { 0%, 12% { stroke-dashoffset: 289; opacity: 1; } 62% { stroke-dashoffset: 0; opacity: 1; } 84% { stroke-dashoffset: 0; opacity: 0; } 100% { stroke-dashoffset: 289; opacity: 0; } }
.power-btn {
  position: absolute; inset: 16%; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(var(--key-top), var(--key-bot));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 20px 50px rgba(0, 0, 0, 0.6);
  color: var(--red);
}
.power-btn .i { width: 34%; height: 34%; stroke-width: 2.2; }
.power-state { position: relative; height: 40px; margin-top: 26px; width: 240px; }
.power-state span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 16px/1 var(--display); color: var(--tx); opacity: 0;
  border-radius: 999px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}
.power-state span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.power-state .s-off { color: var(--tx-2); animation: st-off 6s infinite; }
.power-state .s-wake { color: var(--amber); animation: st-wake 6s infinite; }
.power-state .s-on { color: var(--mint); animation: st-on 6s infinite; }
.power-state span b { color: var(--tx); font-weight: 600; }
@keyframes st-off { 0%, 10% { opacity: 1; } 14%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes st-wake { 0%, 10% { opacity: 0; } 14%, 60% { opacity: 1; } 64%, 100% { opacity: 0; } }
@keyframes st-on { 0%, 60% { opacity: 0; } 64%, 92% { opacity: 1; } 96%, 100% { opacity: 0; } }

/* Everywhere on iPhone */
.surfaces { display: grid; gap: 0; border-top: 1px solid var(--line); margin: 0; }
@media (min-width: 760px) { .surfaces { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.surfaces > div { position: relative; padding: 22px 0 22px 58px; border-bottom: 1px solid var(--line); }
.surfaces dt { font: 650 18px/1.3 var(--display); color: var(--tx); margin-bottom: 4px; }
.surfaces dd { margin: 0; color: var(--tx-2); font-size: 16px; }
.surfaces .gl { position: absolute; left: 0; top: 22px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--mint); background: var(--mint-soft); }
.surfaces .gl .i { width: 20px; height: 20px; }
.surfaces q { color: var(--tx); quotes: "\201C" "\201D"; }

/* Screenshots */
.shots-scroll {
  margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #2a2a2d transparent;
  -webkit-overflow-scrolling: touch;
}
.shots { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 62vw); gap: 18px; }
@media (min-width: 640px) { .shots { grid-auto-columns: 236px; } }
@media (min-width: 1180px) { .shots { grid-auto-columns: auto; grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); } }
.shots li { scroll-snap-align: start; scroll-margin-left: var(--gutter); }
.shots figure { margin: 0; }
.shots figcaption { margin-top: 14px; font-size: 15px; color: var(--tx-2); }
.shots figcaption b { display: block; font: 650 16px/1.3 var(--display); color: var(--tx); margin-bottom: 2px; }

.shots figure { container-type: inline-size; }
.frame {
  position: relative; aspect-ratio: 1320 / 2868; border-radius: 13cqw; padding: 2.4cqw;
  background: linear-gradient(160deg, #2b2b2e, #0d0d0e 40%, #18181a);
  box-shadow: 0 0 0 1px rgba(235, 235, 240, 0.12), 0 20px 50px rgba(0, 0, 0, 0.6);
}
.frame .scr { position: relative; height: 100%; border-radius: 11cqw; overflow: hidden; background: #000; }
/* Real screenshots: drop PNGs into /assets/screens/ with these names, then add the class
   "has-screens" to <ul class="shots"> in index.html. They cover the drawn sketches. */
.frame .scr::after { content: ""; position: absolute; inset: 0; background: center / cover no-repeat; pointer-events: none; }
.has-screens .s1 .scr::after { background-image: url("/assets/screens/01-touch.png"); }
.has-screens .s2 .scr::after { background-image: url("/assets/screens/02-dpad.png"); }
.has-screens .s3 .scr::after { background-image: url("/assets/screens/03-keyboard.png"); }
.has-screens .s4 .scr::after { background-image: url("/assets/screens/04-voice.png"); }
.has-screens .s5 .scr::after { background-image: url("/assets/screens/05-more.png"); }

/* Sketches drawn underneath the screenshots */
.sk { position: absolute; inset: 0; }
.sk .hd { position: absolute; top: 15cqw; left: 6cqw; right: 6cqw; display: flex; gap: 3cqw; align-items: center; }
.sk .hd i { width: 12cqw; height: 12cqw; border-radius: 50%; background: #1f1f22; flex: none; }
.sk .hd i:first-child { box-shadow: inset 0 0 0 1.2cqw #000, inset 0 0 0 10cqw rgba(255, 69, 58, 0.35); }
.sk .hd b { flex: 1; height: 12cqw; border-radius: 6cqw; background: rgba(255, 255, 255, 0.08); }
.sk .tl { position: absolute; top: 32cqw; left: 6cqw; display: flex; gap: 3cqw; }
.sk .tl i { width: 26cqw; height: 16cqw; border-radius: 4cqw; opacity: 0.9; }
.sk .well { position: absolute; top: 54cqw; left: 6cqw; right: 6cqw; height: 100cqw; border-radius: 9cqw; background: var(--well); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.sk .swipe { position: absolute; left: 25%; right: 25%; top: 46%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6)); }
.sk .swipe::after { content: ""; position: absolute; right: -6cqw; top: -5cqw; width: 10cqw; height: 10cqw; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.08) 70%); }
.sk .nav3 { position: absolute; top: 162cqw; left: 10cqw; right: 10cqw; display: flex; justify-content: space-between; align-items: center; }
.sk .nav3 i { width: 15cqw; height: 15cqw; border-radius: 50%; background: linear-gradient(var(--key-top), var(--key-bot)); }
.sk .nav3 i.m { width: 21cqw; height: 21cqw; background: radial-gradient(circle at 50% 30%, rgba(90, 227, 166, 0.45), rgba(90, 227, 166, 0.12)); box-shadow: inset 0 0 0 1px rgba(90, 227, 166, 0.5); }
.sk .dpad { position: absolute; top: 58cqw; left: 50%; width: 80cqw; height: 80cqw; margin-left: -40cqw; border-radius: 50%; background: conic-gradient(from 45deg, #1d1d20 0 24.4%, #000 0 25%, #1d1d20 0 49.4%, #000 0 50%, #1d1d20 0 74.4%, #000 0 75%, #1d1d20 0 99.4%, #000 0); }
.sk .dpad::after { content: "OK"; position: absolute; inset: 27%; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(var(--key-top), var(--key-bot)); box-shadow: 0 0 0 2.4cqw #000; font: 700 7cqw/1 var(--display); color: var(--tx); }
.sk .sheet { position: absolute; left: 0; right: 0; bottom: 0; top: 64cqw; border-radius: 10cqw 10cqw 0 0; background: #141416; box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08); }
.sk .sheet .tf { position: absolute; top: 9cqw; left: 6cqw; right: 6cqw; height: 13cqw; border-radius: 4cqw; background: #232326; }
.sk .sheet .tf::after { content: ""; position: absolute; left: 5cqw; top: 3.5cqw; width: 0.8cqw; height: 6cqw; background: var(--mint); }
.sk .sheet .kb { position: absolute; left: 2cqw; right: 2cqw; bottom: 8cqw; height: 70cqw; display: grid; grid-template-columns: repeat(10, 1fr); grid-auto-rows: 1fr; gap: 1.6cqw; }
.sk .sheet .kb i { border-radius: 1.6cqw; background: #2c2c2f; }
.sk .cap { position: absolute; left: 8cqw; right: 8cqw; top: 104cqw; height: 15cqw; border-radius: 8cqw; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.sk .cap::before { content: ""; position: absolute; left: 6cqw; right: 22cqw; top: 6cqw; height: 3cqw; border-radius: 2cqw; background: rgba(255, 255, 255, 0.7); }
.sk .chp { position: absolute; left: 22cqw; right: 22cqw; top: 126cqw; height: 11cqw; border-radius: 6cqw; background: var(--mint-soft); box-shadow: inset 0 0 0 1px rgba(90, 227, 166, 0.4); }
.sk .bigmic { position: absolute; left: 50%; top: 150cqw; width: 28cqw; height: 28cqw; margin-left: -14cqw; border-radius: 50%; background: radial-gradient(circle at 50% 30%, rgba(90, 227, 166, 0.5), rgba(90, 227, 166, 0.14)); box-shadow: inset 0 0 0 1px rgba(90, 227, 166, 0.5), 0 0 0 5cqw rgba(90, 227, 166, 0.07), 0 0 0 10cqw rgba(90, 227, 166, 0.04); }
.sk .grid { position: absolute; top: 34cqw; left: 6cqw; right: 6cqw; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4cqw; }
.sk .grid i { aspect-ratio: 1; border-radius: 50%; background: linear-gradient(var(--key-top), var(--key-bot)); }
.sk .grid i:nth-child(n+10) { aspect-ratio: 2.4; border-radius: 3cqw; }
.sk .grid i.r { background: #b3261e; } .sk .grid i.g { background: #2e7d32; } .sk .grid i.y { background: #b59a00; }

/* Privacy band */
.private {
  border-radius: clamp(24px, 4vw, 40px); padding: clamp(32px, 6vw, 72px) clamp(22px, 5vw, 64px);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(90, 227, 166, 0.13), transparent 55%),
    linear-gradient(180deg, #0c0d0d, #070707);
  border: 1px solid var(--line);
  display: grid; gap: 36px;
}
@media (min-width: 900px) { .private { grid-template-columns: 1.1fr 1fr; align-items: end; } }
.private h2 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.8rem); line-height: 1; letter-spacing: -0.035em; }
.private .sub { margin-bottom: 0; }
.private ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.private li { padding: 16px 0; border-bottom: 1px solid var(--line); font: 650 17px/1.3 var(--display); display: flex; align-items: center; gap: 10px; }
.private li .i { width: 18px; height: 18px; color: var(--mint); stroke-width: 2.4; }
.private .more { grid-column: 1 / -1; margin-top: 10px; }
.private a.inline { color: var(--mint); text-underline-offset: 3px; }

/* Compatibility */
.compat { display: grid; gap: 24px; }
@media (min-width: 820px) { .compat { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.compat h3 { font: 600 14px/1 var(--font); color: var(--tx-3); margin-bottom: 14px; }
.compat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.compat li { color: var(--tx); font-size: 16.5px; line-height: 1.45; padding-left: 22px; position: relative; }
.compat li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.compat .no li::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--tx-3); }
.compat .no li { color: var(--tx-2); }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 48px 22px 0; font: 650 clamp(17px, 1rem + 0.3vw, 19px)/1.35 var(--display); color: var(--tx);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; border-radius: 2px; background: var(--tx-2);
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq summary:hover::before, .faq summary:hover::after { background: var(--mint); }
.faq .a { padding: 0 0 22px; color: #c4c4cb; max-width: 44em; }
.faq .a p:last-child { margin-bottom: 0; }
.faq .a a { color: var(--mint); text-underline-offset: 3px; }

/* Closing */
.sec.end { padding-bottom: 0; }
.closing { text-align: left; display: grid; gap: 24px; align-items: center; }
@media (min-width: 820px) { .closing { grid-template-columns: auto 1fr auto; gap: 32px; } }
.closing .btn { justify-self: start; }
.closing img { width: 88px; height: 88px; border-radius: 20px; box-shadow: 0 14px 40px rgba(90, 227, 166, 0.16); }
.closing h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); letter-spacing: -0.025em; line-height: 1.05; }
.closing p { margin: 8px 0 0; color: var(--tx-2); }

/* Load-in: one orchestrated reveal for the hero */
@media (prefers-reduced-motion: no-preference) {
  .hero .copy > * { animation: rise 0.9s var(--ease) both; }
  .hero .copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero .copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero .copy > :nth-child(4) { animation-delay: 0.18s; }
  .hero .copy > :nth-child(5) { animation-delay: 0.24s; }
  .stage { animation: fade 1.2s var(--ease) 0.15s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(20px) scale(0.985); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .tv-focus, .p-touch, .tv-glow span, .tv-banner .b, .power-ring .prog, .power-state span, .caret { animation: none !important; }
  .tv-focus { transform: translateX(18.5cqw) scale(1.06); }
  .tv-glow .g-red, .tv-banner .b-red { opacity: 1; }
  .power-ring .prog { stroke-dashoffset: 0; }
  .power-state .s-on { opacity: 1; }
}
