/* ==========================================================================
   DuoSmart — site.css: the shared design system for every page of duosmart.tv
   "Cinematic Futurism". No framework. Logical properties everywhere (RTL ok).
   Load order on every page:  fonts.css -> site.css -> (page css, e.g. home.css)
   Sections:  1 tokens  2 base  3 layout  4 type  5 buttons  6 nav  7 footer
              8 cards/glass  9 forms  10 chips/segmented/stepper  11 modal/toast
              12 device frames  13 badges/misc  14 reveal/motion  15 utilities
   ========================================================================== */

/* ---------- 1. tokens ---------- */
:root {
  color-scheme: dark;
  /* canvas */
  --space: #05060d;
  --night: #0a0d1c;
  --night-2: #0f1328;
  --ink: #f4f6ff;               /* primary text  (AA on all canvases) */
  --ink-2: #b9c0dc;             /* secondary text 9.6:1 on --space   */
  --ink-3: #8a91b0;             /* tertiary / meta 5.9:1 on --space  */
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .07);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, .08);
  /* duo signature */
  --cyan: #2ee6ff;
  --violet: #7c5cff;
  --duo: linear-gradient(100deg, #2ee6ff 0%, #5b9dff 48%, #7c5cff 100%);
  --duo-soft: linear-gradient(100deg, rgba(46, 230, 255, .16), rgba(124, 92, 255, .16));
  /* gold = Lifetime USP only */
  --gold-1: #ffd27a;
  --gold-2: #ff9a5c;
  --gold-3: #ff5fa2;
  --gold: linear-gradient(100deg, #ffd27a 0%, #ff9a5c 55%, #ff5fa2 100%);
  /* states */
  --ok: #3ee59a;
  --warn: #ffc65c;
  --err: #ff6b81;
  /* radii, shadows */
  --r-xs: 8px; --r-sm: 12px; --r: 18px; --r-lg: 26px; --r-xl: 36px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -8px rgba(0, 0, 0, .5);
  --sh-2: 0 2px 4px rgba(0, 0, 0, .35), 0 24px 60px -18px rgba(0, 0, 0, .7);
  --sh-3: 0 4px 10px rgba(0, 0, 0, .35), 0 50px 120px -30px rgba(0, 0, 0, .85);
  --glow-duo: 0 0 0 1px rgba(124, 92, 255, .35), 0 10px 40px -10px rgba(46, 230, 255, .45);
  /* layout */
  --wrap: 1240px;
  --wrap-wide: 1440px;
  --gutter: clamp(16px, 4.2vw, 40px);
  --sec-y: clamp(60px, 7.5vw, 116px);
  --nav-h: 68px;
  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t: .45s;
}

/* ---------- 2. base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; min-height: 100vh; overflow-x: clip;
  background: var(--space); color: var(--ink);
  font: 400 1rem/1.6 var(--ff-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* very subtle film grain + top bloom on every page */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(46, 230, 255, .07), transparent 60%),
    radial-gradient(1000px 700px at 95% 0%, rgba(124, 92, 255, .08), transparent 60%),
    var(--space);
}
img, svg, video, canvas, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: rgba(124, 92, 255, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.skip {
  position: fixed; inset-inline-start: 16px; inset-block-start: -60px; z-index: 200;
  padding: 10px 16px; border-radius: var(--r-sm); background: #fff; color: #05060d; font-weight: 600;
  transition: inset-block-start .2s;
}
.skip:focus { inset-block-start: 12px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--wide { width: min(100% - 2 * var(--gutter), var(--wrap-wide)); }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 860px); }
.section { position: relative; padding-block: var(--sec-y); }
.section--tight { padding-block: calc(var(--sec-y) * .6); }
.section + .section { padding-block-start: calc(var(--sec-y) * .55); }
.hairline { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.stack { display: flex; flex-direction: column; gap: var(--stack, 16px); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--row, 12px); }

/* ---------- 4. type ---------- */
.display, .h1, .h2, .h3, h1, h2, h3 { font-family: var(--ff-display); font-weight: 650; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
.display { font-size: clamp(2.6rem, 1.4rem + 5.4vw, 6.2rem); font-weight: 650; letter-spacing: -.045em; line-height: .98; }
.h1, h1 { font-size: clamp(2.3rem, 1.4rem + 3.8vw, 4.6rem); letter-spacing: -.04em; line-height: 1.02; }
.h2, h2 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.6rem); letter-spacing: -.035em; }
.h3, h3 { font-size: clamp(1.2rem, 1.05rem + .55vw, 1.55rem); letter-spacing: -.02em; line-height: 1.2; }
.h4 { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.lead { font-size: clamp(1.05rem, .98rem + .4vw, 1.3rem); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.muted { color: var(--ink-2); }
.meta, .small { font-size: .875rem; color: var(--ink-3); }
.tiny { font-size: .78rem; color: var(--ink-3); line-height: 1.5; }
.mono { font-family: var(--ff-mono); letter-spacing: .02em; }
.num { font-family: var(--ff-brand); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem/1 var(--ff-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before { content: ""; inline-size: 22px; block-size: 1px; background: var(--duo); }
.eyebrow--gold { color: var(--gold-1); }
.eyebrow--gold::before { background: var(--gold); }
html[dir="rtl"] .eyebrow, html[dir="rtl"] .num { letter-spacing: 0; }
.grad { background: var(--duo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-gold { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prose { color: var(--ink-2); line-height: 1.7; max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin-block: 2.2em .6em; color: var(--ink); }
.prose h3 { font-size: 1.15rem; margin-block: 1.6em .4em; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin-block: 0 1em; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
em { font-style: normal; }

/* section header: <header class="sec-head"><p class="eyebrow">…</p><h2 class="h2">…</h2><p class="lead">…</p></header> */
.sec-head { display: grid; gap: 18px; max-width: 820px; margin-block-end: clamp(40px, 6vw, 72px); }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head .lead { max-width: 640px; }

/* ---------- 5. buttons ----------
   <a class="btn btn--primary">  .btn--ghost  .btn--glass  .btn--gold  .btn--link
   sizes: .btn--lg .btn--sm   icon: <svg class="i">   full width: .btn--block      */
.btn {
  --bh: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-block-size: var(--bh); padding-inline: 22px; border: 0; border-radius: var(--r-pill);
  font: 600 .98rem/1.1 var(--ff-body); letter-spacing: -.005em; white-space: nowrap; text-align: center;
  color: var(--ink); background: var(--glass-2);
  box-shadow: inset 0 0 0 1px var(--line-2), var(--glass-hi);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, opacity .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: rgba(255, 255, 255, .1); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: var(--r-pill); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn .i { width: 1.15em; height: 1.15em; }
.btn--lg { --bh: 56px; padding-inline: 28px; font-size: 1.03rem; }
.btn--sm { --bh: 38px; padding-inline: 16px; font-size: .9rem; }
.btn--block { display: flex; inline-size: 100%; }
.btn--primary {
  color: #05060d; background: linear-gradient(100deg, #5ff0ff 0%, #8fb4ff 50%, #a993ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 34px -10px rgba(46, 230, 255, .6), 0 6px 24px -12px rgba(124, 92, 255, .8);
}
.btn--primary:hover { background: linear-gradient(100deg, #7ff4ff 0%, #a6c3ff 50%, #bba8ff 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 14px 44px -10px rgba(46, 230, 255, .75), 0 8px 30px -10px rgba(124, 92, 255, .9); transform: translateY(-1px); }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: var(--glass); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn--glass { background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.btn--gold {
  color: #1a0d05; background: linear-gradient(100deg, #ffe09a 0%, #ffb07a 55%, #ff86b8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 12px 40px -12px rgba(255, 154, 92, .7);
}
.btn--gold:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 16px 50px -12px rgba(255, 154, 92, .85); }
.btn--link { --bh: auto; padding: 0; background: none; box-shadow: none; color: var(--cyan); border-radius: 4px; }
.btn--link:hover { background: none; text-decoration: underline; text-underline-offset: 4px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
html[dir="rtl"] .btn .arrow, html[dir="rtl"] .i.flip { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }
.btn.is-busy { color: transparent !important; pointer-events: none; }
.btn.is-busy::after {
  content: ""; position: absolute; inset: 0; margin: auto; inline-size: 20px; block-size: 20px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-block-start-color: #fff; animation: spin .7s linear infinite;
}
.btn--primary.is-busy::after, .btn--gold.is-busy::after { border-color: rgba(5, 6, 13, .25); border-block-start-color: #05060d; }
@keyframes spin { to { transform: rotate(360deg); } }

/* icons from the sprite: <svg class="i" aria-hidden="true"><use href="/img/icons/sprite.svg#i-tv"/></svg> */
.i { inline-size: 1.25em; block-size: 1.25em; flex: none; stroke-width: 1.75; fill: none; stroke: currentColor; }
.i--lg { inline-size: 28px; block-size: 28px; stroke-width: 1.5; }

/* ---------- 6. nav (markup: see any page; site.js adds .is-scrolled, menu + language picker) ---------- */
.nav {
  position: fixed; inset-inline: 0; inset-block-start: 0; z-index: 100; block-size: var(--nav-h);
  transition: background .35s, box-shadow .35s, -webkit-backdrop-filter .35s, backdrop-filter .35s;
}
.nav.is-scrolled, .nav--solid {
  background: rgba(7, 8, 18, .72); box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
}
.nav__in { display: flex; align-items: center; gap: 24px; block-size: 100%; }
.nav__brand { display: flex; align-items: center; flex: none; border-radius: 8px; }
.nav__brand img { block-size: 28px; inline-size: auto; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-inline-start: 18px; }
.nav__links a {
  padding: 8px 13px; border-radius: var(--r-pill); font-size: .92rem; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav__links a:hover, .nav__links a[aria-current="page"], .nav__links a.is-on { color: var(--ink); background: rgba(255, 255, 255, .06); }
.nav__end { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.nav__burger {
  display: none; position: relative; inline-size: 44px; block-size: 44px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line-2);
}
.nav__burger span { position: absolute; inset-inline-start: 13px; inline-size: 18px; block-size: 1.6px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .2s; }
.nav__burger span:nth-child(1) { inset-block-start: 17px; }
.nav__burger span:nth-child(2) { inset-block-start: 25px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1100px) { .nav__links { display: none; } .nav__burger { display: block; } }
@media (max-width: 1100px) { .nav__manage { display: none; } }
@media (max-width: 520px) { .nav__cta { display: none; } .nav__brand img { block-size: 25px; } }

/* full-screen mobile menu: <div class="menu" id="menu" hidden> … </div> */
.menu {
  position: fixed; inset: 0; z-index: 99; padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
  background: radial-gradient(800px 500px at 100% 0%, rgba(124, 92, 255, .22), transparent 60%),
              radial-gradient(700px 500px at 0% 100%, rgba(46, 230, 255, .14), transparent 60%), rgba(5, 6, 13, .97);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  animation: menu-in .4s var(--ease-out);
}
@keyframes menu-in { from { opacity: 0; } }
.menu__links { display: grid; gap: 4px; }
.menu__links a {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 4px;
  font: 600 clamp(1.6rem, 7vw, 2.2rem)/1.1 var(--ff-display); letter-spacing: -.03em;
  border-block-end: 1px solid var(--line); animation: menu-link .55s var(--ease-out) both;
}
.menu__links a .i { color: var(--ink-3); }
.menu__links a:nth-child(2) { animation-delay: .04s; } .menu__links a:nth-child(3) { animation-delay: .08s; }
.menu__links a:nth-child(4) { animation-delay: .12s; } .menu__links a:nth-child(5) { animation-delay: .16s; }
.menu__links a:nth-child(6) { animation-delay: .2s; }
@keyframes menu-link { from { opacity: 0; transform: translateY(14px); } }
.menu__cta { display: grid; gap: 10px; margin-block-start: auto; }
html.menu-open { overflow: hidden; }

/* language picker: site.js fills <div class="lang" data-lang-picker></div> */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 7px; block-size: 38px; padding-inline: 12px; border: 0;
  border-radius: var(--r-pill); background: transparent; color: var(--ink-2); font-size: .88rem; font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--line-2); transition: color .2s, background .2s;
}
.lang__btn:hover, .lang__btn[aria-expanded="true"] { color: var(--ink); background: rgba(255, 255, 255, .06); }
.lang__btn .i { inline-size: 17px; block-size: 17px; }
.lang__list {
  position: absolute; inset-block-start: calc(100% + 10px); inset-inline-end: 0; z-index: 120; min-inline-size: 220px;
  margin: 0; padding: 6px; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  border-radius: var(--r); background: rgba(14, 17, 34, .96); box-shadow: inset 0 0 0 1px var(--line-2), var(--sh-3);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); animation: pop .22s var(--ease-out);
}
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.lang__list button {
  inline-size: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px;
  border: 0; border-radius: 10px; background: none; font-size: .9rem; text-align: start; color: var(--ink-2);
}
.lang__list button small { font-size: .7rem; color: var(--ink-3); letter-spacing: .06em; }
.lang__list button:hover, .lang__list button:focus-visible { background: rgba(255, 255, 255, .07); color: var(--ink); outline: none; }
.lang__list button[aria-selected="true"] { color: var(--ink); background: var(--duo-soft); }
.menu .lang__list { position: static; grid-template-columns: repeat(2, 1fr); box-shadow: inset 0 0 0 1px var(--line); background: rgba(255, 255, 255, .03); }

/* ---------- 7. footer ---------- */
.footer { position: relative; margin-block-start: 40px; padding-block: 72px 40px; border-block-start: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 13, 28, .0), rgba(10, 13, 28, .8)); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer__brand img { block-size: 30px; inline-size: auto; }
.footer__brand p { margin-block-start: 18px; max-width: 34ch; color: var(--ink-3); font-size: .92rem; }
.footer__col h3 { font: 600 .78rem/1 var(--ff-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-block-end: 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer__col a, .footer__col button { color: var(--ink-2); font-size: .93rem; background: none; border: 0; padding: 0; text-align: start; transition: color .2s; }
.footer__col a:hover, .footer__col button:hover { color: var(--ink); }
.footer__plats { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-block: 56px 32px; padding-block: 28px; border-block: 1px solid var(--line); color: var(--ink-3); }
.footer__legal { display: grid; gap: 10px; font-size: .8rem; line-height: 1.6; color: var(--ink-3); }
.footer__legal strong { color: var(--ink-2); font-weight: 600; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-block-start: 28px; font-size: .82rem; color: var(--ink-3); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__top { gap: 32px 20px; } }
.plat-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

/* platform logos as masks (monochrome, unaltered): <span class="plat" role="img" aria-label="Samsung" style="--logo:url(/img/logos/samsung.svg);--ar:6.54"></span> */
.plat { display: inline-block; block-size: var(--ph, 18px); inline-size: calc(var(--ph, 18px) * var(--ar, 1)); background: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; flex: none; }
.plat-word { font: 600 1rem/1 var(--ff-display); letter-spacing: -.01em; white-space: nowrap; }

/* ---------- 8. cards / glass ----------
   .card  (glass panel)   .card--lift (hover lift)   .card--glow (cursor spotlight; site.js sets --mx/--my)
   .card--gold (Lifetime only)   .card__media (screenshot crop on top)  .card__body              */
.glass {
  background: var(--glass); box-shadow: inset 0 0 0 1px var(--line), var(--glass-hi);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
}
.card {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  box-shadow: inset 0 0 0 1px var(--line), var(--glass-hi);
}
.card__body { padding: clamp(22px, 2.4vw, 32px); display: grid; gap: 10px; align-content: start; }
.card__body p { color: var(--ink-2); font-size: .97rem; }
.card__icon {
  display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 14px; color: var(--cyan);
  background: linear-gradient(140deg, rgba(46, 230, 255, .16), rgba(124, 92, 255, .16)); box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .28);
}
.card__icon .i { inline-size: 22px; block-size: 22px; }
.card__media { position: relative; overflow: hidden; background: #000; }
.card__media img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.card--lift { transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.card--lift:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), var(--glass-hi), var(--sh-2); }
.card--glow::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 92, 255, .16), rgba(46, 230, 255, .06) 40%, transparent 70%);
}
.card--glow::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .4s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(46, 230, 255, .7), rgba(124, 92, 255, .35) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card--glow:hover::before, .card--glow:hover::after { opacity: 1; }
.card--gold { background: linear-gradient(160deg, rgba(255, 210, 122, .1), rgba(255, 95, 162, .05) 60%, rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px rgba(255, 190, 120, .3), var(--glass-hi); }

/* ---------- 9. forms ----------
   <div class="field"><label class="field__label" for="x">Name</label><input class="input" id="x"><p class="field__hint">…</p></div>
   .field.is-invalid shows .field__error (role=alert).  <select class="input select">  <textarea class="input">          */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field { display: grid; gap: 8px; align-content: start; }
.field__label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field__label .opt { font-weight: 400; color: var(--ink-3); }
.field__hint { font-size: .8rem; color: var(--ink-3); }
.field__error { display: none; font-size: .82rem; color: var(--err); }
.field.is-invalid .field__error { display: block; }
.field.is-invalid .input { box-shadow: inset 0 0 0 1.5px var(--err); }
.input {
  inline-size: 100%; min-block-size: 52px; padding: 14px 16px; border: 0; border-radius: 14px;
  background: rgba(255, 255, 255, .05); color: var(--ink); font-size: 1rem; line-height: 1.4;
  box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #7c83a3; }
.input:hover { background: rgba(255, 255, 255, .065); }
.input:focus { outline: none; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1.5px var(--cyan), 0 0 0 4px rgba(46, 230, 255, .14); }
textarea.input { min-block-size: 120px; resize: vertical; }
.input.mono { font-family: var(--ff-mono); letter-spacing: .06em; }
.select { padding-inline-end: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23b9c0dc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
html[dir="rtl"] .select { background-position: left 16px center; }
.select option { background: #0f1328; color: var(--ink); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; inline-size: 20px; block-size: 20px; margin: 1px 0 0; accent-color: var(--violet); }
.check a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; inset-inline-start: -10000px; inline-size: 1px; block-size: 1px; overflow: hidden; }
/* drop zone for file upload: <label class="drop"><input type="file" class="sr-only"> … </label> (.is-over while dragging) */
.drop {
  display: grid; place-items: center; gap: 8px; padding: 32px 20px; text-align: center; border-radius: var(--r);
  border: 1.5px dashed rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .025); color: var(--ink-2); cursor: pointer; transition: .2s;
}
.drop:hover, .drop.is-over, .drop:focus-within { border-color: var(--cyan); background: rgba(46, 230, 255, .06); color: var(--ink); }
/* status line under forms: <p class="note note--ok|--err|--info" role="status"> */
.note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: .92rem; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); }
.note .i { margin-block-start: 2px; }
.note--ok { background: rgba(62, 229, 154, .08); box-shadow: inset 0 0 0 1px rgba(62, 229, 154, .35); color: #c9f7e2; }
.note--err { background: rgba(255, 107, 129, .08); box-shadow: inset 0 0 0 1px rgba(255, 107, 129, .4); color: #ffd3da; }
.note--info { background: rgba(46, 230, 255, .06); box-shadow: inset 0 0 0 1px rgba(46, 230, 255, .3); color: #cdf7ff; }

/* ---------- 10. chips / segmented / stepper / tabs ----------
   chips (multi-select):  <fieldset class="chips"><legend>…</legend><label class="chip"><input type="checkbox" name="channels" value="service"><span>IPTV service</span></label>…</fieldset>
   segmented (single):    <div class="seg" role="radiogroup"><label class="seg__opt"><input type="radio" name="interest" value="app"><span>App</span></label>…</div>
   quantity stepper:      <div class="stepper"><button type="button" data-step="-1" aria-label="Less">−</button><input type="number" value="1" min="0" max="10" aria-label="Quantity"><button type="button" data-step="1" aria-label="More">+</button></div>  (site.js wires [data-step]) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.chips > legend, .seg-wrap > legend { padding: 0; margin-block-end: 12px; font-size: .88rem; font-weight: 600; float: none; inline-size: 100%; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-block-size: 42px; padding: 9px 16px; border-radius: var(--r-pill);
  font-size: .92rem; font-weight: 500; color: var(--ink-2); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); transition: .2s;
}
.chip span::before {
  content: ""; inline-size: 16px; block-size: 16px; border-radius: 5px; flex: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); transition: .2s;
}
.chip:hover span { color: var(--ink); background: rgba(255, 255, 255, .07); }
.chip input:checked + span { color: var(--ink); background: var(--duo-soft); box-shadow: inset 0 0 0 1.5px rgba(124, 92, 255, .7); }
.chip input:checked + span::before {
  box-shadow: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2305060d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5'/%3E%3C/svg%3E"), var(--duo);
}
.chip input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 3px; }
.seg-wrap { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.seg { display: inline-flex; flex-wrap: wrap; padding: 4px; gap: 4px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); }
.seg__opt { position: relative; flex: 1 1 auto; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opt span { display: flex; align-items: center; justify-content: center; gap: 8px; min-block-size: 42px; padding: 8px 20px; border-radius: var(--r-pill); font-size: .93rem; font-weight: 600; color: var(--ink-2); transition: .25s var(--ease); white-space: nowrap; }
.seg__opt:hover span { color: var(--ink); }
.seg__opt input:checked + span { color: #05060d; background: linear-gradient(100deg, #6ff1ff, #a993ff); box-shadow: 0 6px 20px -8px rgba(46, 230, 255, .6); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.stepper { display: inline-flex; align-items: center; border-radius: var(--r-pill); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); }
.stepper button { inline-size: 44px; block-size: 44px; border: 0; border-radius: 50%; background: none; color: var(--ink); font-size: 1.25rem; line-height: 1; }
.stepper button:hover { background: rgba(255, 255, 255, .08); }
.stepper button:disabled { opacity: .35; pointer-events: none; }
.stepper input { inline-size: 3ch; border: 0; background: none; text-align: center; font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }
/* progress steps (checkout / wizard): <ol class="steps"><li class="is-done">…</li><li class="is-on" aria-current="step">…</li><li>…</li></ol> */
.steps { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: st; }
.steps li { flex: 1; display: grid; gap: 8px; font-size: .82rem; color: var(--ink-3); counter-increment: st; }
.steps li::before { content: ""; block-size: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); }
.steps li.is-done::before, .steps li.is-on::before { background: var(--duo); }
.steps li.is-on { color: var(--ink); font-weight: 600; }
/* tabs: <div class="tabs" role="tablist"><button role="tab" aria-selected="true" class="tab">…</button></div> */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; min-block-size: 42px; padding: 8px 18px; border: 0; border-radius: var(--r-pill); background: none; color: var(--ink-2); font-size: .92rem; font-weight: 600; white-space: nowrap; transition: color .2s, background .2s; overflow: hidden; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px var(--line-2); }
.tab .i { inline-size: 17px; block-size: 17px; }
.tab__bar { position: absolute; inset-inline: 18px; inset-block-end: 5px; block-size: 2px; border-radius: 2px; background: var(--duo); transform-origin: left; transform: scaleX(0); }
html[dir="rtl"] .tab__bar { transform-origin: right; }

/* ---------- 11. modal / toast ----------
   <dialog class="modal" id="credits"><div class="modal__box"><button class="modal__x" data-close aria-label="Close">…</button>…</div></dialog>
   open: Duo.modal.open('credits') or <button data-modal="credits">.   toast: Duo.toast('Saved', 'ok'|'err'|'info') */
.modal { padding: 0; border: 0; background: none; color: var(--ink); max-inline-size: min(640px, calc(100% - 24px)); max-block-size: calc(100% - 40px); }
.modal::backdrop { background: rgba(3, 4, 10, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal[open] { animation: modal-in .35s var(--ease-out); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal__box { position: relative; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: linear-gradient(180deg, #121633, #0b0e20); box-shadow: inset 0 0 0 1px var(--line-2), var(--sh-3); }
.modal__box h2 { font-size: 1.5rem; margin-block-end: 12px; padding-inline-end: 40px; }
.modal__x { position: absolute; inset-block-start: 16px; inset-inline-end: 16px; inline-size: 40px; block-size: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .07); color: var(--ink); }
.modal__x:hover { background: rgba(255, 255, 255, .13); }
.toasts { position: fixed; inset-inline: 0; inset-block-end: 24px; z-index: 300; display: grid; justify-items: center; gap: 10px; pointer-events: none; padding-inline: 16px; }
.toast { display: flex; align-items: center; gap: 10px; max-inline-size: 520px; padding: 13px 18px; border-radius: 16px; background: rgba(18, 22, 46, .96); box-shadow: inset 0 0 0 1px var(--line-2), var(--sh-2); font-size: .93rem; pointer-events: auto; animation: toast-in .4s var(--ease-out); }
.toast--ok .i { color: var(--ok); } .toast--err .i { color: var(--err); } .toast--info .i { color: var(--cyan); }
.toast.is-out { opacity: 0; transform: translateY(8px); transition: .3s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- 12. device frames (CSS, show REAL screenshots) ----------
   <figure class="dev dev--tv"><div class="dev__screen"><img src="/img/app/live-1280.webp" …></div></figure>
   variants: .dev--tv (+ .dev--stand)  .dev--phone (landscape; + .dev--portrait)  .dev--tablet  .dev--laptop
   Size a frame with inline-size on .dev; everything inside scales with it (container units).        */
.dev { --bz: #0b0c10; position: relative; margin: 0; container-type: inline-size; isolation: isolate; }
.dev__screen { position: relative; overflow: hidden; background: #000; }
.dev__screen > img, .dev__screen > picture, .dev__screen > picture img, .dev__screen > video { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.dev__screen::after { /* glass: diagonal glare + inner edge */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .11) 0%, rgba(255, 255, 255, .035) 26%, rgba(255, 255, 255, 0) 44%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6), inset 0 0 4cqi rgba(0, 0, 0, .25);
}
/* The shell is drawn by .dev::after (inset 0, behind the screen); the bezel is the screen's margin.
   Both use cqi, which (unlike .dev's own padding / radius) resolve against .dev itself. */
.dev--tv::after, .dev--phone::after, .dev--tablet::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* TV: thin near-flush bezel, dark anodised edge with a 1px top highlight */
.dev--tv .dev__screen { margin: .9cqi; aspect-ratio: 16 / 9; border-radius: .3cqi; }
.dev--tv::after { border-radius: .8cqi;
  background: linear-gradient(180deg, #1a1b20, #0a0b0e 30%, #050507);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), inset 0 1px 0 rgba(255, 255, 255, .2), 0 3cqi 6cqi -2.4cqi rgba(0, 0, 0, .9), 0 .8cqi 1.6cqi rgba(0, 0, 0, .45); }
.dev--stand { margin-block-end: 4cqi; }
.dev--stand::before { /* slim pedestal + soft floor reflection */
  content: ""; position: absolute; z-index: -2; inset-inline-start: 50%; inset-block-start: 100%; inline-size: 26%; block-size: 3.2cqi; transform: translateX(-50%);
  background: linear-gradient(180deg, #121317, #24262c 70%, #0b0c0f); clip-path: polygon(44% 0, 56% 0, 58% 70%, 100% 78%, 100% 100%, 0 100%, 0 78%, 42% 70%);
}
html[dir="rtl"] .dev--stand::before { transform: translateX(50%); }
/* iPhone 15 Pro (landscape by default): titanium rim, 1.5 % black bezel, concentric corners, dynamic island */
.dev--phone .dev__screen { margin: 1.6cqi; aspect-ratio: 2556 / 1179; border-radius: 6.2cqi; }
.dev--phone::after { border-radius: 7.8cqi; border: .42cqi solid transparent;
  background: linear-gradient(#030304, #030304) padding-box, linear-gradient(135deg, #8b8f98, #2a2c31 22%, #16171a 50%, #2f3136 78%, #9a9ea7) border-box;
  box-shadow: inset 0 0 0 .12cqi rgba(255, 255, 255, .08), 0 3.4cqi 6cqi -2cqi rgba(0, 0, 0, .85), 0 .8cqi 1.4cqi rgba(0, 0, 0, .5); }
.dev--phone .dev__screen::before { /* dynamic island (landscape: along the start edge) */
  content: ""; position: absolute; z-index: 4; inset-block-start: 50%; inset-inline-start: 1.5%; inline-size: 3.4%; block-size: 28%; transform: translateY(-50%); border-radius: 99px; background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); }
.dev--phone .dev__screen > img { object-position: center 100%; }
.dev--portrait { inline-size: 100%; }
.dev--portrait.dev--phone .dev__screen { margin: 3.4cqi; aspect-ratio: 1179 / 2556; border-radius: 13.5cqi; }
.dev--portrait.dev--phone::after { border-radius: 17cqi; border-width: .9cqi; }
.dev--portrait.dev--phone .dev__screen::before { inset-block-start: 1.6%; inset-inline-start: 50%; inline-size: 31%; block-size: 4.2%; transform: translateX(-50%); }
html[dir="rtl"] .dev--portrait.dev--phone .dev__screen::before { transform: translateX(50%); }
/* iPad (landscape, 11"): even bezel, aluminium rim */
.dev--tablet .dev__screen { margin: 2.6cqi; aspect-ratio: 2388 / 1668; border-radius: 1.9cqi; }
.dev--tablet::after { border-radius: 4.3cqi; border: .35cqi solid transparent;
  background: linear-gradient(#08090b, #08090b) padding-box, linear-gradient(160deg, #c9ccd3, #6d717a 35%, #3b3e45 70%, #a3a7af) border-box;
  box-shadow: 0 4cqi 7cqi -2cqi rgba(0, 0, 0, .8), 0 1cqi 2cqi rgba(0, 0, 0, .4); }
.dev--tablet .dev__screen > img { object-fit: contain; background: #070914; }
/* MacBook: lid with notch + aluminium base (all cqi live on children / pseudos of .dev) */
.dev--laptop .dev__lid { position: relative; margin-inline: 7.5%; margin-block-end: 3.4cqi; padding: 1.2cqi 1.2cqi 1.8cqi; border-radius: 2.4cqi 2.4cqi .6cqi .6cqi; background: #08090b; box-shadow: inset 0 0 0 .22cqi #23262c, 0 0 0 .18cqi #767a84, 0 1px 0 .18cqi #a6aab2; }
.dev--laptop .dev__screen { aspect-ratio: 2560 / 1664; border-radius: .8cqi .8cqi .2cqi .2cqi; }
.dev--laptop .dev__screen::before { content: ""; position: absolute; z-index: 4; inset-block-start: 0; inset-inline-start: 50%; inline-size: 11.6%; block-size: 3.3%; transform: translateX(-50%); border-radius: 0 0 .6cqi .6cqi; background: #000; }
.dev--laptop .dev__screen > img { object-fit: contain; background: #05060d; }
html[dir="rtl"] .dev--laptop .dev__screen::before { transform: translateX(50%); }
.dev--laptop::after { /* base */
  content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 3.6cqi; border-radius: .4cqi .4cqi 3cqi 3cqi / .4cqi .4cqi 2.6cqi 2.6cqi;
  background: linear-gradient(180deg, #d7dae0 0%, #9ea2ab 30%, #5d6069 75%, #2c2e33 100%); box-shadow: 0 3cqi 5cqi -1.5cqi rgba(0, 0, 0, .8);
}
.dev--laptop .dev__lid::after { /* thumb notch in the base */
  content: ""; position: absolute; z-index: 2; inset-inline-start: 50%; inset-block-end: -3.4cqi; inline-size: 14%; block-size: .9cqi; transform: translateX(-50%); border-radius: 0 0 1cqi 1cqi; background: linear-gradient(180deg, #8a8e97, #b7bbc3);
}
/* soft light spill under any frame: add <span class="dev__spill" aria-hidden="true"></span> */
.dev__spill { position: absolute; z-index: -1; inset: 8% 6% -6%; border-radius: 50%; background: var(--spill, radial-gradient(closest-side, rgba(46, 230, 255, .28), rgba(124, 92, 255, .16) 55%, transparent)); filter: blur(40px); pointer-events: none; }

/* photo with a perspective-composited screen (perspective.js: Duo.fitScreen) */
.photo { position: relative; overflow: hidden; margin: 0; background: #000; }
.photo__img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.screen { overflow: hidden; background: #000; isolation: isolate; }
.screen__content { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.screen::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen; background: linear-gradient(118deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .05) 28%, rgba(255, 255, 255, 0) 46%); }
.screen::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55), inset 0 0 6vmin rgba(0, 0, 0, .3); }

/* ---------- 13. badges / price / misc ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill); font: 600 .74rem/1.2 var(--ff-body); letter-spacing: .04em; color: var(--ink-2); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; }
.badge .i { inline-size: 14px; block-size: 14px; }
.badge--duo { color: #dff9ff; background: var(--duo-soft); box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .45); }
.badge--gold { color: #2a1405; background: var(--gold); box-shadow: none; }
.badge--ok { color: #c9f7e2; background: rgba(62, 229, 154, .1); box-shadow: inset 0 0 0 1px rgba(62, 229, 154, .4); }
.badge--soon::before { content: ""; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.price { display: flex; align-items: baseline; gap: 6px; font-family: var(--ff-brand); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price__cur { font-size: .5em; font-weight: 600; color: var(--ink-2); }
.price__per { font-family: var(--ff-body); font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
html[dir="rtl"] .price { letter-spacing: 0; }
.kbd { display: inline-block; padding: 2px 7px; border-radius: 6px; font: 600 .78em/1.4 var(--ff-mono); background: rgba(255, 255, 255, .08); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px var(--line-2); }
.code-chip { display: inline-flex; padding: 6px 12px; border-radius: 10px; font: 600 .95rem/1.2 var(--ff-mono); letter-spacing: .08em; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); direction: ltr; unicode-bidi: isolate; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.ticks li .i { flex: none; margin-block-start: 3px; inline-size: 18px; block-size: 18px; color: var(--cyan); }
.ticks--gold li .i { color: var(--gold-1); }
.dot-sep { inline-size: 3px; block-size: 3px; border-radius: 50%; background: var(--ink-3); flex: none; }
/* accordion (FAQ): <details class="acc"><summary>Q</summary><div class="acc__a"><p>A</p></div></details> */
.acc { border-block-end: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; font: 600 clamp(1.02rem, .98rem + .3vw, 1.15rem)/1.35 var(--ff-display); letter-spacing: -.01em; border-radius: 8px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex: none; inline-size: 34px; block-size: 34px; border-radius: 50%; background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23f4f6ff' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M8 3v10M3 8h10'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .35s var(--ease), background-color .2s; }
.acc[open] summary::after { transform: rotate(45deg); background-color: rgba(124, 92, 255, .25); }
.acc summary:hover::after { background-color: rgba(255, 255, 255, .1); }
.acc__a { padding: 0 4px 24px; color: var(--ink-2); max-width: 70ch; display: grid; gap: 10px; }
.acc__a a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 14. reveal / motion ----------
   [data-reveal] fades + rises in when scrolled into view (site.js adds .is-in). Optional data-reveal="scale|left|right|fade"
   and style="--d: .1s" for a stagger delay. Content stays visible without JS (html.js is set by site.js).   */
html.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s); }
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal="scale"] { transform: scale(.94); }
html.js [data-reveal="left"] { transform: translate3d(-40px, 0, 0); }
html.js [data-reveal="right"] { transform: translate3d(40px, 0, 0); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- 15. utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-block-start: 0 !important; } .mt-s { margin-block-start: 12px; } .mt { margin-block-start: 24px; } .mt-l { margin-block-start: 48px; }
.gap-s { gap: 8px; } .gap { gap: 16px; } .gap-l { gap: 28px; }
.nowrap { white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.no-flip { transform: none !important; }
.page-head { padding-block: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) clamp(32px, 5vw, 56px); }
.bloom { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(80px); opacity: .55; background: var(--bloom, radial-gradient(closest-side, rgba(124, 92, 255, .55), transparent)); }

/* ---------- 16. legal pages (privacy / terms) ---------- */
.legal__body { padding-block-end: var(--sec-y); max-width: none; }
.legal__body > * { max-width: 72ch; }
.legal__body ul { padding-inline-start: 1.2em; }
.legal__body li { margin-block-end: .6em; }
.legal__credits { margin-block-start: 1.5em; }
.legal__credits summary { font-size: 1rem; }
.legal__credits p { font-size: .86rem; line-height: 1.8; }

/* ---------- 17. footer extras + platform label (shared) ---------- */
.plats__label { font: 600 .74rem/1 var(--ff-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
html[dir="rtl"] .plats__label { letter-spacing: 0; }
.footer__mail { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.footer__mail a:hover { color: var(--ink); }
.credits p { font-size: .92rem; }

/* ---------- 18. Pro vs Ultra tables on phones (landing .compare__table + order .cmp__table) ----------
   Each row becomes: the row label as a full-width caption, then the two values side by side. No sideways scrolling. */
@media (max-width: 640px) {
  html .compare__scroll, html .cmp__scroll { overflow: visible; }
  html .compare__table, html .cmp__table { display: block; min-inline-size: 0; font-size: .92rem; }
  html .compare__table thead, html .compare__table tbody, html .cmp__table thead, html .cmp__table tbody { display: block; }
  html .compare__table tr, html .cmp__table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 14px; padding: 13px 16px; border-block-end: 1px solid var(--line); }
  html .compare__table tbody tr:last-child, html .cmp__table tbody tr:last-child { border: 0; }
  html .compare__table th, html .compare__table td, html .cmp__table th, html .cmp__table td { padding: 0; border: 0; min-inline-size: 0; overflow-wrap: anywhere; }
  html .compare__table thead th:first-child, html .cmp__table thead th:first-child { display: none; }
  html .compare__table thead tr, html .cmp__table thead tr { position: sticky; inset-block-start: var(--nav-h); z-index: 2; background: rgba(10, 12, 24, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-start-start-radius: var(--r-lg); border-start-end-radius: var(--r-lg); }
  html .compare__table tbody th, html .cmp__table tbody th { grid-column: 1 / -1; inline-size: auto; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
  html .compare__table td[colspan], html .cmp__table td[colspan] { grid-column: 1 / -1; }
  html .compare__price td, html .cmp__price td { white-space: normal; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  html .compare__price strong, html .cmp__price strong { margin: 0; }
  html .cmp__head img { inline-size: 110px; }
}

/* ---------- 19. robustness for long translations (de, pl, tr …) + current-page nav state ---------- */
h1, h2, h3, h4, .display, .h1, .h2, .h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
/* only hyphenate genuinely long words (>= 10 letters, 4+ on each side): avoids "Ein-schalten", "ont-worpen", "cena-ch" */
h1, h2, h3, h4, .display, .h1, .h2, .h3 { hyphenate-limit-chars: 10 4 4; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4; }
.grid > *, .row > *, .form-row > * { min-inline-size: 0; }
@media (max-width: 480px) { .btn--block, .btn--lg { white-space: normal; } }
.nav__manage[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--line-2); }
.nav__cta[aria-current="page"] { box-shadow: 0 0 0 2px rgba(5, 6, 13, .9), 0 0 0 3.5px var(--cyan); }
.menu__links a[aria-current="page"] { color: var(--cyan); }

/* ---------- 20. mobile rails: card groups become a swipeable row on phones (the next card peeks in) ---------- */
@media (max-width: 640px) {
  .m-rail.m-rail { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-block-end: 6px; scroll-padding-inline: var(--gutter); }
  .m-rail.m-rail::-webkit-scrollbar { display: none; }
  .m-rail.m-rail > * { flex: 0 0 min(84%, 340px); scroll-snap-align: start; min-inline-size: 0; }
}
