/* Playura demo site — direction "Afterglow": one dark room, one warm light,
   the app's own screens doing the talking. Clash Display + Manrope. */

@font-face { font-family: 'Clash Display'; src: url('/assets/fonts/clash-620.woff2') format('woff2'); font-weight: 620; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('/assets/fonts/clash-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-440.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --gold: #e8b44a;
  --ink: #f5f5f7;
  --dim: #97979e;
  --line: rgba(255, 255, 255, 0.12);
  --disp: 'Clash Display', 'Trebuchet MS', sans-serif;
  --body: 'Manrope', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #000;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
/* height:auto keeps the width/height HTML attributes as aspect hints only
   (they reserve layout space against CLS) instead of fixed used heights */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* film grain — the room, not a gradient */
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 3; opacity: 0.5; }
.grain::before {
  content: ''; position: absolute; inset: -100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -2%); } 60% { transform: translate(-2%, -4%); }
  80% { transform: translate(4%, 2%); }
}
@media (prefers-reduced-motion: reduce) { .grain::before { animation: none; } }

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__brand img { height: 26px; width: auto; }
.nav__links { display: flex; align-items: center; }
.nav__links a { color: var(--dim); font-weight: 700; font-size: 0.92rem; margin-inline-start: 26px; transition: color 0.2s; white-space: nowrap; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  color: #111 !important; background: var(--gold);
  padding: 9px 18px; border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .nav { padding: 14px 12px; }
  .nav__brand img { height: 22px; }
  .nav__links a { margin-inline-start: 13px; font-size: 0.82rem; }
  .nav__cta { padding: 8px 13px; }
}
.nav__cta:hover { filter: brightness(1.08); }

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative; text-align: center;
  padding: clamp(120px, 18vh, 190px) 20px 0;
}
.hero__light {
  position: absolute; left: 50%; top: -30vh; width: 130vw; height: 90vh;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(45% 60% at 50% 30%, rgba(232, 180, 74, 0.17), rgba(232, 180, 74, 0.04) 55%, transparent 78%);
}
.hero__title {
  position: relative; z-index: 2;
  font-family: var(--disp); font-weight: 620;
  font-size: clamp(3rem, 8.4vw, 6.4rem);
  line-height: 0.98; letter-spacing: -0.015em;
}
.hero__title em { font-style: normal; color: var(--gold); }
.hero__sub {
  position: relative; z-index: 2;
  max-width: 560px; margin: 26px auto 0;
  color: var(--dim); font-size: clamp(1rem, 1.4vw, 1.13rem);
}
.hero__actions { position: relative; z-index: 2; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.btn {
  display: inline-block; font-weight: 700; font-size: 0.98rem;
  padding: 14px 30px; border-radius: 999px;
  transition: transform 0.18s, filter 0.18s, border-color 0.18s;
}
.btn:active { transform: scale(0.97); }
.btn--gold { background: var(--gold); color: #111; box-shadow: 0 12px 40px rgba(232, 180, 74, 0.25); }
.btn--gold:hover { filter: brightness(1.07); transform: translateY(-2px); }
.btn--line { border: 1px solid var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--dim); transform: translateY(-2px); }

/* the slab: a TV panel that straightens as you scroll */
.slab {
  position: relative; z-index: 1;
  max-width: 1080px; margin: clamp(48px, 8vh, 84px) auto 0;
  perspective: 1200px;
}
.slab__tilt {
  transform: rotateX(14deg) scale(0.96);
  transform-origin: 50% 100%;
  will-change: transform;
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08) inset, 0 40px 120px rgba(0, 0, 0, 0.7);
  background: #050505;
}
.slab__tilt img { width: 100%; }
.slab__sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.10) 0%, transparent 24%);
}
.slab__floor {
  height: 130px; margin-top: -8px;
  background: radial-gradient(48% 90% at 50% 0%, rgba(232, 180, 74, 0.26), rgba(232, 180, 74, 0.05) 55%, transparent 80%);
}

/* --------------------------------------------------------------- marquee */
.tape { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tape__track {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: 16px 0; animation: tape 34s linear infinite;
}
.tape__track span {
  font-family: var(--disp); font-weight: 500; font-size: 1.05rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim);
}
.tape__track i { color: var(--gold); font-style: normal; margin: 0 26px; font-size: 0.8rem; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tape__track { animation: none; } }

/* --------------------------------------------------------------- gallery */
.gallery { padding: clamp(84px, 12vh, 130px) 0 40px; }
.gallery__head { text-align: left; max-width: 1160px; margin: 0 auto 36px; padding: 0 clamp(20px, 4vw, 48px); }
.gallery__head h2, .duo__copy h2, .outro h2 {
  font-family: var(--disp); font-weight: 620;
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.04; letter-spacing: -0.01em;
}
.gallery__head p { color: var(--dim); margin-top: 10px; }
.gallery__rail {
  display: flex; gap: 26px; overflow-x: auto; padding: 8px clamp(20px, 4vw, 48px) 26px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.gallery__rail::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 min(760px, 84vw); scroll-snap-align: center; }
.shot img {
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.shot figcaption { color: var(--dim); font-size: 0.95rem; margin-top: 14px; max-width: 560px; }
.shot figcaption b { color: var(--ink); }

/* ------------------------------------------------------------------- duo */
.duo {
  display: flex; align-items: center; flex-wrap: wrap; gap: 48px;
  max-width: 1160px; margin: 0 auto; padding: clamp(70px, 10vh, 110px) clamp(20px, 4vw, 48px);
}
.duo__stage { position: relative; flex: 1 1 480px; min-width: 300px; }
.duo__tv {
  width: 88%; border-radius: 12px; opacity: 0.9;
  border: 1px solid rgba(255, 255, 255, 0.13);
}
.duo__phone {
  position: absolute; right: 0; bottom: -34px; width: 27%;
}
.duo__copy { flex: 1 1 340px; min-width: 280px; }
.facts { list-style: none; margin-top: 26px; }
.facts li { color: var(--dim); padding: 16px 0; border-top: 1px solid var(--line); }
.facts li:first-child { border-top: 0; }
.facts b { color: var(--ink); }

/* ----------------------------------------------------------------- outro */
.outro { text-align: center; padding: clamp(80px, 12vh, 140px) 20px; }
.outro p { color: var(--dim); margin-top: 12px; }

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); text-align: center; padding: 44px 20px 54px; }
.foot img { margin: 0 auto 14px; height: 18px; width: auto; }
.foot p { color: var(--dim); font-size: 0.88rem; }
.foot__fine { margin-top: 8px; font-size: 0.8rem; }
.foot a { color: var(--dim); text-decoration: underline; }
.foot a:hover { color: var(--ink); }
.foot__langs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px;
  max-width: 640px; margin: 20px auto 14px;
}
.foot__langs a { font-size: 0.8rem; text-decoration: none; }
.foot__langs a.is-current { color: var(--gold); }

/* ------------------------------------------------------- activate page */
.act {
  position: relative; max-width: 560px; margin: 0 auto; text-align: center;
  padding: clamp(150px, 20vh, 210px) 20px 110px; min-height: 62vh;
}
.act .hero__light { top: -46vh; }
.act__title {
  font-family: var(--disp); font-weight: 620;
  font-size: clamp(2.5rem, 7vw, 4rem); line-height: 1.02; letter-spacing: -0.012em;
}
.act__sub { color: var(--dim); margin-top: 16px; }
.act__form { position: relative; z-index: 2; margin-top: 38px; }
.act__label {
  display: block; color: var(--dim); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px;
}
.act__code {
  width: 100%; display: block; box-sizing: border-box;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line); border-radius: 18px;
  color: var(--ink); caret-color: var(--gold);
  font-family: var(--disp); font-weight: 500;
  font-size: clamp(1.7rem, 6.4vw, 2.5rem);
  letter-spacing: 0.32em; text-align: center; text-transform: uppercase;
  padding: 18px 10px 18px calc(10px + 0.32em);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.act__code:focus {
  border-color: rgba(232, 180, 74, 0.55);
  box-shadow: 0 0 0 4px rgba(232, 180, 74, 0.12), 0 18px 60px rgba(232, 180, 74, 0.08);
}
.act__code::placeholder { color: rgba(255, 255, 255, 0.16); }
.act__btn { display: block; width: 100%; margin-top: 14px; }
.act__hint { color: var(--dim); margin-top: 26px; font-size: 0.92rem; }
.act__qr { color: var(--dim); opacity: 0.75; margin-top: 8px; font-size: 0.85rem; }

/* --------------------------------------------- language-specific type
   Clash Display has no Cyrillic and neither family has Arabic: heads fall
   back per language instead of per glyph, so lines stay one typeface. */
html[lang="ru"] { --disp: 'Manrope', 'Segoe UI', sans-serif; }
html[lang="ar"] { --disp: 'Manrope', 'Segoe UI', Tahoma, sans-serif; --body: 'Manrope', 'Segoe UI', Tahoma, sans-serif; }
html[lang="ar"] .hero__title, html[lang="ar"] .act__title,
html[lang="ar"] .gallery__head h2, html[lang="ar"] .duo__copy h2,
html[lang="ar"] .outro h2, html[lang="ar"] .store__head h1 { letter-spacing: 0; font-weight: 700; }
html[lang="ar"] .duo__kicker, html[lang="ar"] .tape__track span,
html[lang="ar"] .act__label, html[lang="ar"] .card__soon { letter-spacing: 0; }
html[lang="ru"] .hero__title, html[lang="ru"] .act__title,
html[lang="ru"] .duo__copy h2, html[lang="ru"] .outro h2,
html[lang="ru"] .store__head h1 { font-weight: 700; letter-spacing: -0.02em; }

/* ------------------------------------------------ scroll-reveal utility
   Gated behind html.js (set inline in <head>): with JavaScript off the page
   is fully visible, so content never depends on script execution. */
.js .io { opacity: 0; transition: opacity 0.7s ease var(--d, 0s), transform 0.7s ease var(--d, 0s); }
.js .io--up { transform: translateY(26px); }
.js .io.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .io { opacity: 1; transform: none; transition: none; } }

/* ------------------------------------------------------------ apps page */
.appsPage { min-height: 72vh; max-width: 880px; margin: 0 auto; padding: clamp(140px, 20vh, 200px) clamp(20px, 4vw, 48px) 80px; }
.appsPage h1 { font-family: var(--disp); font-weight: 620; font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.01em; }
.appsPage > p { color: var(--dim); margin-top: 14px; max-width: 520px; }
.appsNow {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  border: 1px solid var(--line); border-radius: 18px; padding: 30px 34px; margin-top: 44px;
  background: radial-gradient(120% 160% at 0% 0%, rgba(232, 180, 74, 0.07), transparent 60%);
}
.appsNow__names { display: flex; flex-wrap: wrap; gap: 8px 34px; }
.appsNow__names span { font-family: var(--disp); font-weight: 500; font-size: 1.15rem; }
.appsNow__get { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.appsNow__meta { color: var(--dim); font-size: 0.8rem; }
.appsSoon { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.appsSoon span {
  color: var(--dim); font-size: 0.86rem; font-weight: 700;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; opacity: 0.8;
}

/* --------------------------------------------------- apps page: the shelf */
.store { max-width: 1160px; margin: 0 auto; padding: clamp(140px, 18vh, 190px) clamp(20px, 4vw, 48px) 90px; }
.store__head h1 {
  font-family: var(--disp); font-weight: 620;
  font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.0; letter-spacing: -0.015em;
}
.store__head p { color: var(--dim); margin-top: 16px; font-size: 1.05rem; }
.store__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px; margin-top: 56px;
}
.card {
  position: relative; border: 1px solid var(--line); border-radius: 22px;
  padding: 30px 30px 28px; min-height: 240px;
  display: flex; flex-direction: column; align-items: flex-start;
  background:
    radial-gradient(130% 130% at 18% 0%, rgba(232, 180, 74, 0.06), transparent 55%),
    rgba(255, 255, 255, 0.015);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.24); }
.card__mark { height: 44px; display: flex; align-items: center; margin-bottom: 20px; }
.card__mark img { height: 40px; width: auto; }
.card__mark--wide img { height: 34px; }
.card h2 { font-family: var(--disp); font-weight: 500; font-size: 1.4rem; letter-spacing: 0.005em; }
.card p { color: var(--dim); font-size: 0.95rem; margin-top: 6px; }
.card__act { margin-top: auto; padding: 11px 24px; font-size: 0.92rem; }
.card__act { align-self: flex-start; margin-top: 26px; }
.card .card__act { margin-top: auto; }
.card--soon .card__mark img { filter: saturate(0.85); }
.card__soon {
  margin-top: auto; color: var(--dim); font-weight: 700; font-size: 0.86rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px;
}
.card { row-gap: 0; }
.card p { margin-bottom: 26px; }
.store__note { color: var(--dim); font-size: 0.85rem; margin-top: 28px; }

/* pair sections: shared collage grammar; --flip mirrors the sides */
html, body { max-width: 100%; overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
.duo--flip .duo__stage { order: 2; }
.duo--flip .duo__copy { order: 1; }
.duo__kicker {
  display: block; color: var(--gold); font-family: var(--disp); font-weight: 500;
  font-size: 0.82rem; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 14px;
}
@media (max-width: 760px) {
  .duo--flip .duo__stage { order: 0; }
  .duo--flip .duo__copy { order: 1; }
}

/* hero phone: shares the stage and the straighten animation */
.slab__phone {
  /* floor is a fixed 130px strip; anchoring in px keeps the phone ON the
     TV's corner at every viewport (percent anchoring sank it on mobile) */
  position: absolute; right: -1%; bottom: 112px; width: 16.5%; z-index: 2;
  transform-origin: 50% 100%; will-change: transform;
}
/* twin-TV collage (Match Day): hub behind, detail in front */
.duo__stage--twin { position: relative; padding-bottom: 12%; }
.duo__stage--twin .tiltwrap { perspective: 900px; }
.duo__stage--twin .tiltwrap:first-child { width: 86%; }
.duo__stage--twin .tiltwrap--front { position: absolute; left: 24%; top: 34%; width: 76%; }
.tiltwrap img { transform-origin: 50% 100%; will-change: transform; }
.duo__stage .tiltwrap { perspective: 900px; }
@media (max-width: 760px) {
  .slab__phone { right: 0; bottom: 96px; width: 24%; }
  .duo__stage--twin { padding-bottom: 16%; }
}

/* ------------------------------------------------ phone device mockup
   A real handset, not a border: polished metal band, black bezel, glass
   with a glare pass, centred punch-hole, volume rocker + power key.
   Everything is sized in cqw so the proportions hold at any width
   (placement classes only decide width/position). */
.phone { container-type: inline-size; }
.phone__body {
  position: relative; z-index: 1;
  border-radius: 16.5cqw; padding: 1.9cqw;
  background:
    radial-gradient(130% 9% at 50% 0%, rgba(255, 255, 255, 0.30), transparent 65%),
    radial-gradient(130% 9% at 50% 100%, rgba(255, 255, 255, 0.10), transparent 65%),
    linear-gradient(90deg, #3a3a42 0%, #101014 5%, #0c0c10 50%, #101014 95%, #3a3a42 100%),
    linear-gradient(180deg, #46464e 0%, #17171c 8%, #0e0e12 30%, #0c0c10 72%, #17171c 92%, #34343c 100%);
  box-shadow:
    inset 0 0 0 0.45cqw rgba(255, 255, 255, 0.11),
    0 3cqw 7cqw rgba(0, 0, 0, 0.5),
    0 14cqw 34cqw -8cqw rgba(0, 0, 0, 0.85);
}
.phone__screen {
  position: relative; background: #000;
  border-radius: 14.6cqw; padding: 2.7cqw;
}
.phone__screen img { display: block; width: 100%; border-radius: 11.9cqw; }
.phone__cam {
  position: absolute; top: 4.4cqw; left: 50%; margin-left: -2.1cqw;
  width: 4.2cqw; height: 4.2cqw; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #2b3a52 0%, #0a0f18 42%, #000 75%);
  box-shadow: 0 0 0 0.8cqw rgba(0, 0, 0, 0.85), inset 0 0.3cqw 0.5cqw rgba(255, 255, 255, 0.16);
}
.phone__glare {
  position: absolute; inset: 2.7cqw; border-radius: 11.9cqw; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 22%, transparent 37%);
  box-shadow: inset 0 0 0 0.4cqw rgba(255, 255, 255, 0.05), inset 0 0 3cqw rgba(0, 0, 0, 0.55);
}
/* keys on the right edge, Galaxy layout: rocker above, power below */
.phone__btn {
  position: absolute; z-index: 0; right: -1.1cqw; width: 1.7cqw; border-radius: 1cqw;
  background: linear-gradient(90deg, #0d0d10, #43434b 70%, #23232a);
}
.phone__btn--vol { top: 34cqw; height: 15cqw; }
.phone__btn--pwr { top: 53cqw; height: 8cqw; }

/* ============================================================= pricing */
.plans { position: relative; max-width: 1160px; margin: 0 auto; padding: clamp(140px, 18vh, 190px) clamp(20px, 4vw, 48px) 90px; }
.plans__head { text-align: center; max-width: 720px; margin: 0 auto; }
.plans__head h1 {
  font-family: var(--disp); font-weight: 620;
  font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.0; letter-spacing: -0.015em;
}
.plans__sub { color: var(--dim); margin-top: 16px; font-size: 1.05rem; }
.plans__row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
  gap: 22px; margin-top: 58px;
}
.plan {
  position: relative; flex: 1 1 280px; max-width: 360px;
  border: 1px solid var(--line); border-radius: 24px; padding: 34px 30px 30px;
  display: flex; flex-direction: column; align-items: flex-start;
  background: rgba(255, 255, 255, 0.015);
}
.plan--star {
  border-color: rgba(232, 180, 74, 0.55);
  background:
    radial-gradient(140% 90% at 50% 0%, rgba(232, 180, 74, 0.10), transparent 60%),
    rgba(255, 255, 255, 0.02);
  box-shadow: 0 30px 90px rgba(232, 180, 74, 0.10);
}
.plan--gold {
  background:
    linear-gradient(180deg, rgba(232, 180, 74, 0.10), transparent 18%),
    rgba(255, 255, 255, 0.015);
}
.plan__flag {
  position: absolute; top: -13px; inset-inline-start: 28px;
  background: var(--gold); color: #111; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: 999px; padding: 5px 14px;
}
.plan__name {
  font-family: var(--disp); font-weight: 500; font-size: 1.05rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim);
}
.plan__big {
  font-family: var(--disp); font-weight: 620;
  font-size: clamp(2.4rem, 4.4vw, 3.2rem); line-height: 1; letter-spacing: -0.01em;
  margin-top: 16px;
}
.plan--star .plan__big { color: var(--gold); }
.plan__per { color: var(--dim); font-size: 0.92rem; margin-top: 6px; }
.plan__desc { color: var(--dim); font-size: 0.95rem; margin-top: 18px; }
.plan__cta { margin-top: auto; padding-top: 12px; }
.plan .btn { margin-top: 26px; }
.plans__note { text-align: center; color: var(--dim); font-size: 0.9rem; margin-top: 30px; }
.plans__all {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px 14px; margin: 44px auto 0; max-width: 860px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px 10px; text-align: center;
}
.plans__all span { color: var(--dim); font-family: var(--disp); font-weight: 500; font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; }
.plans__all i { color: var(--gold); font-style: normal; font-size: 0.7rem; }
.plans__all-lead { color: var(--ink) !important; }
.plans__fine { text-align: center; color: var(--dim); font-size: 0.85rem; max-width: 640px; margin: 30px auto 0; }
.plans__fine p + p { margin-top: 8px; }
.plans__fine a { text-decoration: underline; }
.plans__fine a:hover { color: var(--ink); }

/* ======================================================== pairing room */
.pair {
  position: relative; max-width: 1160px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(30px, 5vw, 70px);
  padding: clamp(140px, 18vh, 190px) clamp(20px, 4vw, 48px) 110px; min-height: 72vh;
}
.pair__stage { flex: 1 1 400px; min-width: 300px; position: relative; }
.pair__tv { position: relative; }
.pair__screen {
  position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(120% 130% at 18% 0%, #131318 0%, #0a0a0d 52%, #060608 100%);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08) inset, 0 40px 120px rgba(0, 0, 0, 0.7);
  padding: 5.5% 6%;
}
.pair__stand {
  display: block; width: 34%; height: 5px; margin: 12px auto 0;
  background: linear-gradient(180deg, #2a2a2e, #101013); border-radius: 3px;
}
.ptv__brand { height: 7.5%; width: auto; opacity: 0.95; }
.ptv__panel {
  position: absolute; inset: 16% 8% 7% 8%;
  display: flex; flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 12px;
  background: rgba(255, 255, 255, 0.025); padding: 4% 5%;
}
.ptv__tab {
  align-self: flex-start; background: var(--gold); color: #111;
  font-weight: 700; font-size: clamp(0.55rem, 1.1vw, 0.8rem);
  border-radius: 999px; padding: 0.45em 1.1em;
}
.ptv__steps { list-style: none; margin-top: 3%; counter-reset: s; flex: 1; min-height: 0; overflow: hidden; }
.ptv__steps li {
  counter-increment: s; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: clamp(0.55rem, 1vw, 0.75rem); line-height: 1.4; padding: 0.12em 0;
}
.ptv__steps li::before {
  content: counter(s); color: var(--gold); font-weight: 700;
  margin-inline-end: 0.8em;
}
.ptv__row { display: flex; align-items: center; gap: 6%; margin-top: 3%; }
.ptv__qr {
  flex: 0 0 auto; width: clamp(34px, 17%, 72px); aspect-ratio: 1; border-radius: 6px; background:
    conic-gradient(from 90deg at 72% 28%, #fff 25%, transparent 0) 78% 18% / 22% 22% no-repeat,
    conic-gradient(from 180deg at 28% 72%, #fff 25%, transparent 0) 16% 82% / 22% 22% no-repeat,
    repeating-linear-gradient(0deg, #e8e8ec 0 6%, transparent 0 14%),
    repeating-linear-gradient(90deg, #d8d8de 0 6%, #f4f4f7 0 14%);
  opacity: 0.9;
}
.ptv__code { display: flex; gap: 3.5%; flex: 1; min-width: 0; }
.ptv__code i {
  flex: 1; aspect-ratio: 0.82; border-radius: 14%;
  background: rgba(232, 180, 74, 0.14);
  border: 1px solid rgba(232, 180, 74, 0.5);
  box-shadow: 0 0 18px rgba(232, 180, 74, 0.18);
  animation: codeglow 2.6s ease-in-out infinite;
}
.ptv__code i:nth-child(2n) { animation-delay: 0.7s; }
.ptv__code i:nth-child(3n) { animation-delay: 1.3s; }
@keyframes codeglow { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ptv__code i { animation: none; } }

.pair__you { flex: 1 1 380px; min-width: 300px; position: relative; }
.pair__title {
  font-family: var(--disp); font-weight: 620;
  font-size: clamp(2.4rem, 5.4vw, 3.8rem); line-height: 1.02; letter-spacing: -0.012em;
}
.pair__sub { color: var(--dim); margin-top: 14px; max-width: 460px; }
.pair__form { margin-top: 32px; max-width: 460px; }
.cells { display: flex; gap: 8px; }
.cell {
  flex: 1; min-width: 0; aspect-ratio: 0.86; text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line); border-radius: 14px;
  color: var(--ink); caret-color: var(--gold);
  font-family: var(--disp); font-weight: 500;
  font-size: clamp(1.3rem, 3.4vw, 1.9rem); text-transform: uppercase;
  outline: none; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.cell:focus {
  border-color: rgba(232, 180, 74, 0.6);
  box-shadow: 0 0 0 3px rgba(232, 180, 74, 0.13);
  background: rgba(232, 180, 74, 0.05);
}
.cell.is-filled { border-color: rgba(255, 255, 255, 0.3); }
.pair__btn { display: block; width: 100%; margin-top: 14px; max-width: 460px; }
.pair__hint { color: var(--dim); margin-top: 24px; font-size: 0.92rem; max-width: 460px; }
.pair__qrline { color: var(--dim); opacity: 0.75; margin-top: 8px; font-size: 0.85rem; max-width: 460px; }
.pair__beam {
  position: absolute; top: 50%; inset-inline-end: -9%; width: 18%; height: 2px;
  background: linear-gradient(90deg, rgba(232, 180, 74, 0), rgba(232, 180, 74, 0.55), rgba(232, 180, 74, 0));
  filter: drop-shadow(0 0 8px rgba(232, 180, 74, 0.5));
  animation: beam 2.6s ease-in-out infinite;
}
@keyframes beam { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pair__beam { animation: none; } }
@media (max-width: 900px) { .pair__beam { display: none; } }

/* ============================================================= account */
.acct {
  position: relative; max-width: 1160px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(34px, 5vw, 80px);
  padding: clamp(130px, 17vh, 180px) clamp(20px, 4vw, 48px) 100px; min-height: 78vh;
}
.acct__brand { flex: 1 1 320px; min-width: 280px; }
.acct__brand img { height: 36px; width: auto; }
.acct__promise {
  font-family: var(--disp); font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.15; letter-spacing: -0.008em;
  margin-top: 22px; max-width: 420px;
}
.acct__panelwrap { flex: 1 1 400px; min-width: 300px; max-width: 480px; }
.acct__panel {
  position: relative; border: 1px solid var(--line); border-radius: 26px;
  padding: 34px 32px 30px; min-height: 340px;
  background:
    radial-gradient(130% 100% at 50% 0%, rgba(232, 180, 74, 0.06), transparent 55%),
    rgba(255, 255, 255, 0.02);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
.acct__legal { color: var(--dim); opacity: 0.85; font-size: 0.8rem; margin-top: 16px; text-align: center; }
.acct__legal a { text-decoration: underline; }
.acct__legal a:hover { color: var(--ink); }
.acct__noscript { color: var(--dim); text-align: center; padding: 60px 0; }
.acct__boot { display: flex; justify-content: center; align-items: center; min-height: 280px; }
.acct__spinner {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.14); border-top-color: var(--gold);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.acct__title { font-family: var(--disp); font-weight: 620; font-size: 1.7rem; line-height: 1.1; letter-spacing: -0.01em; }
.acct__sub { color: var(--dim); font-size: 0.95rem; margin-top: 10px; }
.acct__g { margin-top: 22px; min-height: 44px; color-scheme: light; }
.acct__g > div { border-radius: 999px; overflow: hidden; }
.acct__or {
  display: flex; align-items: center; gap: 14px; margin: 20px 0 4px;
  color: var(--dim); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em;
}
.acct__or::before, .acct__or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.fld { margin-top: 16px; text-align: start; }
.fld label {
  display: block; color: var(--dim); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px;
}
.fld input {
  width: 100%; box-sizing: border-box; display: block;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line); border-radius: 14px;
  color: var(--ink); caret-color: var(--gold);
  font-family: var(--body); font-size: 1rem; padding: 14px 16px;
  outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.fld input:focus { border-color: rgba(232, 180, 74, 0.55); box-shadow: 0 0 0 3px rgba(232, 180, 74, 0.12); }
.fld .hint { color: var(--dim); opacity: 0.8; font-size: 0.8rem; margin-top: 7px; }
.acct__cta { display: block; width: 100%; margin-top: 20px; border: 0; cursor: pointer; font-family: var(--body); }
.acct__cta[disabled] { opacity: 0.55; cursor: default; transform: none !important; }
.acct__row { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.acct__link { background: none; border: 0; color: var(--dim); font-size: 0.88rem; cursor: pointer; text-decoration: underline; font-family: var(--body); padding: 0; }
.acct__link:hover { color: var(--ink); }
.banner {
  border: 1px solid rgba(226, 94, 94, 0.5); background: rgba(226, 94, 94, 0.08);
  color: #f2b8b8; border-radius: 12px; padding: 12px 14px; font-size: 0.9rem;
  margin-top: 18px;
}
.acct__who { color: var(--dim); font-size: 0.88rem; }
.acct__who b { color: var(--ink); font-weight: 700; }
.ovc { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ovc__k { color: var(--dim); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }
.ovc__v { font-family: var(--disp); font-weight: 500; font-size: 1.1rem; margin-top: 4px; }
.ovc__v em { font-style: normal; color: var(--gold); }
.ovc__meta { color: var(--dim); font-size: 0.85rem; margin-top: 2px; }
.ovc a.btn, .ovc .btn { padding: 9px 18px; font-size: 0.88rem; white-space: nowrap; }
.acct__out { margin-top: 22px; text-align: center; }

/* nav helper: hide tertiary link on small screens */
@media (max-width: 560px) { .nav__sm-hide { display: none; } }
.foot__map { margin-top: 16px; }
.foot__map a { font-size: 0.85rem; text-decoration: none; }
.foot__map a:hover { color: var(--ink); }

/* account: TV-claim states */
.acct__claimnote {
  margin-top: 14px; color: var(--gold); font-size: 0.88rem;
  border: 1px solid rgba(232, 180, 74, 0.35); border-radius: 12px;
  background: rgba(232, 180, 74, 0.07); padding: 10px 14px;
}
.acct__claimok { display: flex; justify-content: center; margin: 26px 0 6px; }
.acct__claimtick {
  width: 74px; height: 74px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--gold);
  border: 2px solid rgba(232, 180, 74, 0.55);
  box-shadow: 0 0 44px rgba(232, 180, 74, 0.25), inset 0 0 18px rgba(232, 180, 74, 0.12);
}
