/* ==========================================================================
   TesterMob — "Studio" design system
   Clean, bright, product-page style with realistic devices.
   Blue = developers, green = testers. Logical properties keep RTL working.
   ========================================================================== */

:root {
  --bg: #FFFFFF;
  --bg-2: #F5F6F8;
  --card: #F1F2F6;
  --ink: #16181D;
  --ink-2: #5B6070;
  --ink-3: #868B99;
  --line: #E6E8EE;
  --line-2: #CDD1DB;

  --blue: #2B59FF;
  --blue-deep: #1D3FCC;
  --blue-soft: #EEF2FF;

  --green: #12A370;
  --green-deep: #0E8F63;
  --green-soft: #E8F7F0;
  --forest: #0E3B2E;
  --mint: #1FCB8B;

  --violet: #7C5CFF;
  --pink: #E0457F;
  --orange: #E0601A;
  --sun-soft: #FFF6DB;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;

  --shadow: 0 1px 2px rgba(16, 20, 40, .05), 0 20px 50px -24px rgba(16, 20, 40, .22);

  --font: "Geist", "Vazirmatn", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-code: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1280px;
}
[dir="rtl"] { --font: "Vazirmatn", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; line-height: 1.06; letter-spacing: -0.04em; text-wrap: balance; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.25rem); letter-spacing: -0.048em; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-2); }
.small { font-size: .92rem; }
.eyebrow { display: block; font-size: 1rem; font-weight: 600; color: var(--blue); margin-bottom: .9rem; letter-spacing: 0; }
.eyebrow--green { color: var(--green-deep); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 780px); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--grey { background: var(--bg-2); }
.section-head { max-width: 46rem; margin-block-end: 3rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-2); font-size: 1.15rem; line-height: 1.6; }
.section-head--center p { margin-inline: auto; max-width: 38rem; }

.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: 1rem; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: .8rem 1.5rem; border-radius: 999px; border: 0;
  background: var(--b-bg); color: var(--b-fg);
  font: 600 1.02rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn:hover { color: var(--b-fg); }
.btn:active { transform: scale(.98); }
.btn--dev { --b-bg: var(--blue); } .btn--dev:hover { --b-bg: var(--blue-deep); }
.btn--tst { --b-bg: var(--mint); --b-fg: #04261A; } .btn--tst:hover { --b-bg: #19B77C; }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.btn--light { --b-bg: #fff; --b-fg: var(--ink); }
.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .95rem; }
.btn--lg { min-height: 58px; padding: 1rem 1.9rem; font-size: 1.1rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
[dir="rtl"] .btn .flip { transform: scaleX(-1); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row--center { justify-content: center; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Tags ---------- */
.tag { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--card); color: var(--ink-2); }
.tag--dev { background: var(--blue-soft); color: var(--blue-deep); }
.tag--tst { background: var(--green-soft); color: var(--green-deep); }
.tag--sun { background: var(--sun-soft); color: #7A5A00; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid var(--line); }
.nav__bar { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.03em; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand b { font-weight: 700; color: var(--ink); }
.nav__links { display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; list-style: none; margin-inline-start: auto; }
.nav__links a { display: block; padding: .45rem .8rem; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .94rem; }
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); background: var(--card); }
.nav__actions { display: flex; align-items: center; gap: .5rem; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .7rem; border-radius: 999px; font-weight: 500; font-size: .9rem; color: var(--ink-2); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { color: var(--ink); background: var(--card); }
.lang summary svg { width: 17px; height: 17px; }
.lang__menu { position: absolute; inset-inline-end: 0; top: calc(100% + .5rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: .15rem; width: 330px; padding: .5rem; margin: 0; list-style: none; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.lang__menu a { display: block; padding: .5rem .6rem; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-size: .92rem; }
.lang__menu a:hover { background: var(--bg-2); }
.lang__menu a[aria-current="true"] { background: var(--blue-soft); color: var(--blue-deep); font-weight: 600; }
.nav__toggle { display: none; margin-inline-start: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--card); cursor: pointer; }
.nav__toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 980px) {
  .nav__toggle { display: block; }
  .nav__panel { display: none; position: absolute; inset-inline: 0; top: 100%; padding: 1rem 1.25rem 1.5rem; background: #fff; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__panel { display: block; }
  .nav__links { flex-direction: column; align-items: stretch; margin: 0 0 1rem; }
  .nav__links a { padding: .8rem 1rem; font-size: 1.05rem; }
  .nav__actions { flex-wrap: wrap; }
  .lang__menu { position: static; width: 100%; margin-top: .5rem; }
}
@media (min-width: 981px) { .nav__panel { display: flex; align-items: center; gap: 1rem; flex: 1; } }

/* ==========================================================================
   Realistic device
   ========================================================================== */
.slot { position: relative; flex: none; width: calc(282px * var(--s, 1)); height: calc(572px * var(--s, 1)); }
.slot--wide { width: calc(572px * var(--s, 1)); height: calc(282px * var(--s, 1)); }
.slot > .device { position: absolute; left: 0; top: 0; transform: scale(var(--s, 1)); transform-origin: 0 0; }

.device { position: relative; width: 282px; height: 572px; direction: ltr; text-align: left; font-family: "Manrope", "Geist", system-ui, sans-serif; color: #111; line-height: normal; }
.device--wide { width: 572px; height: 282px; }
.device__key { position: absolute; left: 275px; width: 5px; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #1c1d22, #6d717c 60%, #3a3c43); }
.device__key--vol { top: 132px; height: 78px; }
.device__key--pwr { top: 232px; height: 44px; }
.device--wide .device__key { left: auto; top: 0; height: 5px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #6d717c, #1c1d22); }
.device--wide .device__key--vol { left: 150px; width: 78px; }
.device--wide .device__key--pwr { left: 250px; width: 44px; }
.device__rim {
  position: absolute; left: 0; top: 3px; width: 276px; height: 566px; padding: 3px; border-radius: 52px;
  background: linear-gradient(150deg, #a3a8b3 0%, #3b3e46 16%, #1b1c20 46%, #2c2e35 70%, #9ea4ae 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,.25), 0 24px 44px -14px rgba(10,12,30,.42), 0 70px 110px -40px rgba(10,12,30,.45);
}
.device--wide .device__rim { left: 3px; top: 4px; width: 566px; height: 276px; }
.device__bezel { width: 100%; height: 100%; padding: 9px; border-radius: 49px; background: #030304; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.device__screen { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: #111; }
.device__bg { position: absolute; inset: 0; }
.device__cam { position: absolute; top: 13px; left: 119px; width: 14px; height: 14px; border-radius: 50%; background: #050507; box-shadow: inset 0 0 0 3px #101114, inset 0 0 0 4.5px #1d2c4f; }
.device--wide .device__cam { top: 119px; left: 13px; }
.device__glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.05) 26%, rgba(255,255,255,0) 40%); }
.floor-shadow { position: absolute; height: 26px; border-radius: 50%; background: rgba(15,18,40,.26); filter: blur(12px); }

/* ---------- Hero with device stage ---------- */
.hero { padding-block: clamp(3.5rem, 8vw, 6rem) 0; text-align: center; overflow: hidden; }
.hero h1 { margin-inline: auto; }
.hero h1 .line { display: block; }
.hero .lede { margin: 1.6rem auto 0; max-width: 40rem; }
.hero .btn-row { justify-content: center; margin-top: 2.2rem; }
.hero__note { margin-top: 1.2rem; color: var(--ink-3); font-size: .95rem; }

.stage {
    position: relative;
    width: 1280px;
    height: 720px;
    margin-inline: auto;
    transform: scale(var(--stage, 1));
    transform-origin: top center;
}
.stage__glow { position: absolute; left: 190px; top: 420px; width: 900px; height: 260px; border-radius: 50%; background: radial-gradient(ellipse, rgba(43,89,255,.14) 0%, rgba(43,89,255,0) 70%); }
.stage__item { position: absolute; }
.stage__item--1 { left: 60px; top: 150px; transform: perspective(1400px) rotateY(28deg); }
.stage__item--2 { left: 262px; top: 90px; transform: perspective(1400px) rotateY(18deg); }
.stage__item--3 { left: 485px; top: 20px; }
.stage__item--4 { left: 764px; top: 90px; transform: perspective(1400px) rotateY(-18deg); }
.stage__item--5 { left: 1010px; top: 150px; transform: perspective(1400px) rotateY(-28deg); }
[dir="rtl"] .stage { direction: ltr; }
@media (max-width: 1320px) { .stage { --stage: .86; height: 620px; } }
@media (max-width: 1100px) { .stage { --stage: .7; height: 505px; } }
@media (max-width: 860px) { .stage { --stage: .52; height: 380px; } }
@media (max-width: 560px) { .stage { --stage: .28; margin-top: 2.5rem; } }
.stage-wrap { height: 720px; }
@media (max-width: 1320px) { .stage-wrap { height: 620px; } }
@media (max-width: 1100px) { .stage-wrap { height: 505px; } }
@media (max-width: 860px) { .stage-wrap { height: 380px; } }
@media (max-width: 560px) { .stage-wrap { height: 250px; } }
.proof { row-gap: 1rem; }
@media (max-width: 560px) { .proof { display: grid; grid-template-columns: 1fr 1fr; text-align: start; } .proof div { flex-direction: column; gap: 0; } }

.proof { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem 3rem; padding-block: 2.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 3rem; }
.proof div { display: flex; align-items: baseline; gap: .55rem; color: var(--ink-2); font-size: 1rem; }
.proof b { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bento__card { position: relative; overflow: hidden; min-height: 460px; border-radius: 30px; background: var(--card); padding: clamp(1.75rem, 3vw, 2.6rem); }
.bento__card--wide { grid-column: span 2; }
.bento__card--dark { background: #17121F; color: #fff; }
.bento__card--mint { background: #EAF7F1; }
.bento__card--ink { background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.bento__card .eyebrow { font-size: .95rem; margin-bottom: .5rem; }
.bento__card h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -0.03em; line-height: 1.12; max-width: 14em; }
.bento__card p { color: var(--ink-2); max-width: 22em; }
.bento__card--dark p { color: #B9B2C9; }
.bento__device { position: absolute; }
.bento__card--wide h3 { max-width: 11em; }
.bento__card--wide p { max-width: 15em; }
.bento__card--wide .bento__device { inset-inline-end: 3%; top: 170px; transform: perspective(1600px) rotateX(10deg) rotateZ(-4deg); }
.bento__card:not(.bento__card--wide) .bento__device { left: 50%; margin-left: calc(-141px * var(--s, .8)); top: 200px; }
.bento__nums { display: grid; gap: 1.3rem; }
.bento__nums b { display: block; font-size: 3.2rem; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.bento__nums span { color: #A9AEBE; font-size: .95rem; }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__card--wide { grid-column: span 2; min-height: 520px; }
  .bento__card--wide .bento__device { inset-inline-end: auto; left: 50%; top: 240px; margin-left: calc(-286px * var(--s, .8)); }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; }
  .bento__card--wide { grid-column: auto; min-height: 480px; }
  .bento__card--wide .bento__device { --s: .56 !important; margin-left: calc(-286px * .56); top: 260px; }
}

/* ---------- Steps (thin lines) ---------- */
.steps-line { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.steps-line > div { padding-top: 1.6rem; border-top: 1.5px solid var(--ink); }
.steps-line small { display: block; font-size: .95rem; font-weight: 600; color: var(--blue); }
.steps-line h3 { margin: .6rem 0 .4rem; font-size: 1.45rem; }
.steps-line p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .steps-line { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps-line { grid-template-columns: 1fr; } }

/* ---------- Two paths ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }
.path { border-radius: 30px; padding: clamp(1.75rem, 3vw, 2.75rem); display: flex; flex-direction: column; background: var(--card); }
.path--dev { background: var(--blue-soft); }
.path--tst { background: var(--green-soft); }
.path > .tag { align-self: flex-start; background: #fff; }
.path h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1rem; letter-spacing: -0.03em; }
.path > p { color: var(--ink-2); }
.steps { list-style: none; margin: 1rem 0 2rem; padding: 0; counter-reset: s; display: grid; gap: 1rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.25rem 1fr; gap: .9rem; align-items: start; }
.steps li::before { content: counter(s); width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .95rem; background: #fff; color: var(--ink); }
.steps strong { display: block; }
.steps span { color: var(--ink-2); font-size: .97rem; }
.path .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Rule explainer / timeline ---------- */
.rule { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 900px) { .rule { grid-template-columns: 1fr; } }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 29px; top: 14px; bottom: 14px; width: 1.5px; background: var(--line-2); }
.timeline li { position: relative; padding-inline-start: 5rem; padding-bottom: 2rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .pin { position: absolute; inset-inline-start: 0; top: 0; width: 60px; height: 32px; border-radius: 999px; white-space: nowrap; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); font-weight: 600; font-size: .82rem; color: var(--ink); }
.section--grey .timeline .pin { background: var(--bg-2); }
.timeline li.is-goal .pin { background: var(--ink); color: #fff; box-shadow: none; }
.timeline h3 { font-size: 1.15rem; margin-bottom: .25rem; letter-spacing: -0.015em; }
.timeline p { color: var(--ink-2); margin: 0; font-size: .98rem; }

.calc { background: #fff; border-radius: var(--r-lg); padding: 1.6rem; box-shadow: 0 0 0 1px var(--line); margin-top: 2rem; }
.calc h3 { font-size: 1.15rem; }
.calc label { display: block; font-weight: 500; color: var(--ink-2); font-size: .95rem; margin-bottom: .45rem; }
.calc__row { display: flex; gap: .75rem; flex-wrap: wrap; }
.calc input[type="date"] { flex: 1 1 200px; }
.calc__out { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--green-soft); color: var(--green-deep); }
.calc__out[hidden] { display: none; }
.calc__out strong { color: var(--ink); }

.note { background: var(--sun-soft); border-radius: var(--r-md); padding: 1rem 1.2rem; display: flex; gap: .8rem; color: #5C4400; font-size: .97rem; }
.note svg { width: 22px; height: 22px; flex: none; color: #C28E00; margin-top: .1rem; }
.note p { margin: 0; }

/* ---------- Split / feature list ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; }
.feature-list .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-deep); }
.feature-list--tst .ico { background: var(--green-soft); color: var(--green-deep); }
.feature-list .ico svg { width: 22px; height: 22px; }
.feature-list strong { display: block; font-size: 1.08rem; margin-bottom: .15rem; letter-spacing: -0.01em; }
.feature-list span { color: var(--ink-2); }

/* ---------- Dashboard mock ---------- */
.dash { background: #fff; border-radius: 26px; box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.dash__bar { display: flex; align-items: center; gap: .4rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.dash__bar i { width: 11px; height: 11px; border-radius: 50%; background: #D9DCE3; }
.dash__bar span { margin-inline-start: auto; margin-inline-end: auto; font-size: .82rem; color: var(--ink-3); padding: .25rem 1rem; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.dash__body { padding: 1.4rem; display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.2rem; }
@media (max-width: 760px) { .dash__body { grid-template-columns: 1fr; } }
.dash__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-bottom: 1rem; }
.stat { background: var(--bg-2); border-radius: var(--r-md); padding: .9rem 1rem; }
.stat b { display: block; font-size: 1.55rem; font-weight: 700; letter-spacing: -0.03em; }
.stat span { font-size: .82rem; color: var(--ink-2); }
.chart { background: var(--bg-2); border-radius: var(--r-md); padding: 1rem 1rem .6rem; }
.chart__head { display: flex; justify-content: space-between; font-size: .85rem; color: var(--ink-2); margin-bottom: .7rem; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 130px; }
.bars span { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--blue); }
.bars span.today { background: var(--mint); }
.bars-x { display: flex; gap: 7px; margin-top: .35rem; }
.bars-x span { flex: 1; text-align: center; font-size: .72rem; color: var(--ink-3); }
.roster-list { display: grid; }
.roster-list__head { display: flex; justify-content: space-between; font-size: .9rem; font-weight: 600; margin-bottom: .3rem; }
.roster-list__head span { color: var(--ink-3); font-weight: 500; }
.tester-row { display: grid; grid-template-columns: 34px 1fr auto 8px; gap: .75rem; align-items: center; padding: .65rem 0; border-top: 1px solid var(--line); font-size: .9rem; }
.tester-row i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: .75rem; }
.tester-row small { display: block; color: var(--ink-3); font-size: .78rem; }
.tester-row b { font-weight: 600; }
.tester-row .on { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.tester-row .bug { background: #FF7A1A; }

/* ---------- Code ---------- */
.code { background: #111318; color: #E6E8F2; border-radius: var(--r-lg); overflow: hidden; direction: ltr; text-align: left; box-shadow: var(--shadow); }
.code__head { display: flex; align-items: center; justify-content: space-between; padding: .65rem .9rem .65rem 1.2rem; background: #1A1D24; font-size: .85rem; color: #9BA1B3; }
.code__copy { border: 0; background: rgba(255,255,255,.08); color: #E6E8F2; font: 600 .8rem/1 var(--font); padding: .5rem .85rem; border-radius: 999px; cursor: pointer; }
.code__copy:hover { background: rgba(255,255,255,.16); }
.code pre { margin: 0; padding: 1.25rem 1.35rem; overflow-x: auto; font: 400 .9rem/1.75 var(--font-code); }
.code .c { color: #6F7690; } .code .k { color: #9DB4FF; } .code .s { color: #8BE3B8; } .code .f { color: #FFD27A; }
code:not(pre code) { font-family: var(--font-code); font-size: .88em; background: var(--card); color: var(--ink); padding: .12em .4em; border-radius: 6px; }

/* ---------- Tester band ---------- */
.band { position: relative; overflow: hidden; border-radius: 36px; background: var(--forest); color: #fff; padding: clamp(2.25rem, 5vw, 4.5rem); min-height: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.band__glow { position: absolute; inset-inline-end: -60px; top: -80px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(31,203,139,.45) 0%, rgba(31,203,139,0) 65%); pointer-events: none; }
.band__copy { position: relative; align-self: center; }
.band .eyebrow { color: #7FF0C4; }
.band h2 { color: #fff; }
.band p { color: #BFE5D6; font-size: 1.12rem; line-height: 1.6; max-width: 30rem; }
.band__visual { position: relative; min-height: 460px; }
.band__visual .slot { position: absolute; inset-inline-start: 10%; top: 10px; transform: perspective(1400px) rotateY(-16deg) rotateZ(3deg); }
[dir="rtl"] .band__visual .slot { transform: perspective(1400px) rotateY(16deg) rotateZ(-3deg); }
.payout-card { position: absolute; inset-inline-end: 0; top: 90px; width: 220px; padding: 1.1rem 1.25rem; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }
.payout-card small { color: var(--ink-2); font-weight: 600; }
.payout-card b { display: block; font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; margin: .15rem 0; }
.payout-card span { display: flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--green-deep); }
.coin { display: inline-flex; align-items: center; gap: .35rem; }
.coin i, .payout-card i { width: 18px; height: 18px; border-radius: 50%; background: #26A17B; color: #fff; display: grid; place-items: center; font-style: normal; font-size: .62rem; font-weight: 800; }
@media (max-width: 900px) {
  .band { grid-template-columns: 1fr; }
  .band__visual { min-height: 480px; }
  .band__visual .slot { inset-inline-start: 0; }
}

/* ---------- Payout table (tester page) ---------- */
.payout { background: #fff; border-radius: var(--r-xl); box-shadow: 0 0 0 1px var(--line), var(--shadow); padding: 1.6rem; max-width: 460px; width: 100%; margin-inline: auto; }
.payout__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; }
.payout__head strong { font-size: 1.15rem; letter-spacing: -0.02em; }
.payout__rows { display: grid; margin: 0; }
.payout__rows div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.payout__rows div:last-child { border-bottom: 0; }
.payout__rows dt { color: var(--ink-2); }
.payout__rows dd { margin: 0; font-weight: 600; text-align: end; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }
.price { background: var(--card); border-radius: 30px; padding: clamp(1.75rem, 3vw, 2.75rem); display: flex; flex-direction: column; }
.price--dev { background: var(--ink); color: #fff; }
.price--dev .muted, .price--dev .checks li { color: #C6CAD6; }
.price--tst { background: var(--green-soft); }
.price__amount { display: flex; align-items: baseline; gap: .5rem; margin: .8rem 0 .25rem; }
.price__amount b { font-size: clamp(3.2rem, 6vw, 4.6rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.price__amount span { color: var(--ink-3); }
.checks { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: .75rem; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; }
.checks svg { width: 22px; height: 22px; color: var(--mint); margin-top: .12rem; }
.price .btn { margin-top: auto; align-self: flex-start; }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.35rem 0; font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181D' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/15px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.4rem; color: var(--ink-2); max-width: 44rem; }
.faq details > div p:last-child { margin: 0; }
.faq-group { margin-bottom: 3.5rem; }
.faq-group h2 { font-size: 1.6rem; display: flex; align-items: center; gap: .6rem; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.5rem; }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }
.post { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post:hover { color: inherit; }
.post__img { aspect-ratio: 16/10; border-radius: var(--r-lg); overflow: hidden; background: var(--card); margin-bottom: 1rem; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post:hover .post__img img { transform: scale(1.03); }
.post h3 { font-size: 1.22rem; margin-bottom: .4rem; }
.post:hover h3 { color: var(--blue); }
.post p { color: var(--ink-2); font-size: .97rem; margin-bottom: .6rem; }
.post time { font-size: .85rem; color: var(--ink-3); margin-top: auto; }
.article { padding-block: clamp(2.5rem, 5vw, 4rem); }
.article__head { max-width: 780px; margin-inline: auto; text-align: center; margin-bottom: 2.5rem; }
.article__head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.article__meta { color: var(--ink-2); font-size: .95rem; }
.article__cover { max-width: 1040px; margin: 0 auto 3rem; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16/8; background: var(--card); }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 700px; margin-inline: auto; font-size: 1.12rem; line-height: 1.75; }
.prose h2 { font-size: 1.8rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--ink-3); }
.prose img { border-radius: var(--r-md); margin-block: 1.5em; height: auto; }
.prose blockquote { margin: 1.5em 0; padding: .2em 1.2em; border-inline-start: 3px solid var(--ink); color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose th, .prose td { padding: .6em .8em; border-bottom: 1px solid var(--line); text-align: start; }
.pager { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 .9rem; display: inline-grid; place-items: center; border-radius: 999px; text-decoration: none; background: var(--card); color: var(--ink); font-weight: 600; }
.pager span[aria-current] { background: var(--ink); color: #fff; }
.pager span[aria-disabled] { opacity: .45; }
.empty { text-align: center; padding: 3.5rem 1.5rem; background: var(--card); border-radius: var(--r-xl); }

/* ---------- Page header ---------- */
.page-head { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 4vw, 3.5rem); }
.page-head h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); margin-top: .2rem; }
.page-head .lede { margin-top: 1.2rem; }
.page-head .btn-row { margin-top: 2rem; }
.page-head__visual { position: relative; min-height: 520px; display: flex; justify-content: center; }
.page-head__visual .slot { transform: perspective(1400px) rotateY(-14deg); }
[dir="rtl"] .page-head__visual .slot { transform: perspective(1400px) rotateY(14deg); }
.page-head__visual .slot + .slot { position: absolute; inset-inline-start: 4%; top: 80px; transform: perspective(1400px) rotateY(18deg); z-index: -1; }
.page-head__visual .floor-shadow { bottom: 0; left: 20%; width: 60%; }
@media (max-width: 900px) { .page-head__visual { min-height: 440px; } }

/* ---------- Generic ---------- */
.panel { background: var(--card); border-radius: 30px; padding: clamp(1.5rem, 3vw, 2.5rem); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }
.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 720px) { .do-dont { grid-template-columns: 1fr; } }
.do-dont > div { border-radius: var(--r-lg); padding: 1.75rem 1.9rem; }
.do-dont .do { background: var(--green-soft); }
.do-dont .dont { background: #FFF0E8; }
.do-dont h3 { font-size: 1.2rem; display: flex; align-items: center; gap: .5rem; }
.do-dont ul { margin: 0; padding-inline-start: 1.2em; }
.do-dont li { margin-bottom: .55em; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.fact { background: var(--card); border-radius: var(--r-lg); padding: 1.4rem 1.4rem; }
.fact b { display: block; font-size: 2.2rem; font-weight: 700; letter-spacing: -0.045em; line-height: 1.1; }
.fact span { color: var(--ink-2); font-size: .95rem; }
.fact--dev b { color: var(--blue); } .fact--tst b { color: var(--green-deep); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }
.member { background: var(--card); border-radius: var(--r-lg); padding: 1.25rem; display: flex; gap: 1rem; align-items: center; }
.member img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.member strong { display: block; }
.member span { color: var(--ink-2); font-size: .92rem; }
.fb { display: grid; gap: .6rem; }

/* ---------- Docs ---------- */
.docs { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; } .docs__toc { position: static !important; } }
.docs__toc { position: sticky; top: 92px; padding: .4rem 0; }
.docs__toc strong { display: block; font-size: .85rem; color: var(--ink-3); margin: 0 .6rem .6rem; font-weight: 600; }
.docs__toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; border-inline-start: 1.5px solid var(--line); }
.docs__toc li { counter-increment: t; }
.docs__toc a { display: flex; gap: .6rem; padding: .45rem .9rem; color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.docs__toc a::before { content: counter(t); color: var(--ink-3); min-width: 1em; }
.docs__toc a:hover { color: var(--ink); }
.docs__body section { margin-bottom: 3.5rem; scroll-margin-top: 92px; }
.docs__body h2 { font-size: 1.9rem; }
.docs__body .code { margin: 1rem 0 1.25rem; }
.video { aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; background: #111318; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Forms ---------- */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 500; margin-bottom: .4rem; font-size: .96rem; }
.field .hint { color: var(--ink-3); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; font: 400 1rem/1.4 var(--font); color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: 12px; transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 160px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.field-error { color: #B3261E; font-size: .9rem; margin-top: .35rem; }
.alert { padding: 1rem 1.2rem; border-radius: var(--r-md); margin-bottom: 1.25rem; font-weight: 500; }
.alert--ok { background: var(--green-soft); color: var(--green-deep); }
.alert--err { background: #FFF0E8; color: #8A2E12; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: center; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--card); color: var(--ink); }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--ink-3); font-size: .85rem; }
.contact-list a { font-weight: 600; text-decoration: none; color: var(--ink); }

/* ---------- CTA ---------- */
.cta { padding-block: clamp(4.5rem, 9vw, 7.5rem); text-align: center; border-top: 1px solid var(--line); }
.cta h2 { font-size: clamp(2.4rem, 5.5vw, 4.3rem); letter-spacing: -0.048em; }
.cta p { color: var(--ink-2); font-size: 1.2rem; margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.footer { padding-block: 4rem 2.5rem; background: var(--bg-2); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }
.footer__about p { color: var(--ink-2); margin-top: 1rem; max-width: 22rem; font-size: .96rem; }
.footer h2 { font-size: .95rem; font-weight: 600; letter-spacing: 0; margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer ul a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.footer ul a:hover { color: var(--ink); }
.socials { display: flex; gap: .5rem; margin-top: 1.25rem; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--ink-2); box-shadow: 0 0 0 1px var(--line); }
.socials a:hover { color: var(--ink); }
.socials svg { width: 18px; height: 18px; }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .88rem; }
.footer__base p { margin: 0; }

/* ---------- 404 ---------- */
.lost { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.lost__code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 700; letter-spacing: -0.06em; line-height: 1; color: var(--card); -webkit-text-stroke: 2px var(--ink); }
.lost .btn-row { justify-content: center; margin-top: 1.5rem; }

.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mb-2 { margin-bottom: 2rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   Showcase: apps launched with TesterMob
   ========================================================================== */
.showcase { overflow: hidden; }
.showcase__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 900px) { .showcase__grid { grid-template-columns: 1fr; } }
.showcase__count { display: flex; align-items: baseline; gap: .75rem; margin: 1.8rem 0 2rem; }
.showcase__count b { font-size: clamp(3.5rem, 7vw, 5.2rem); font-weight: 700; letter-spacing: -0.06em; line-height: 1; }
.showcase__count span { color: var(--ink-2); font-size: 1.05rem; max-width: 9em; line-height: 1.35; }
.showcase__visual { position: relative; height: 620px; display: flex; justify-content: center; align-items: flex-start; }
.showcase__visual .slot { position: relative; z-index: 2; margin-top: 20px; }
.showcase__glow { position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(124,92,255,.22) 0%, rgba(43,89,255,.10) 40%, rgba(43,89,255,0) 70%); }
.showcase__shadow { left: 50%; top: 575px; width: 240px; margin-left: -120px; z-index: 1; }
.showcase__float { position: absolute; z-index: 3; width: 76px; height: 76px; border-radius: 22px; object-fit: cover; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 18px 34px -12px rgba(16,20,40,.35); animation: bob 6s ease-in-out infinite; }
.showcase__float--1 { left: 6%;  top: 90px;  transform: rotate(-10deg); width: 88px; height: 88px; border-radius: 24px; }
.showcase__float--2 { right: 5%; top: 60px;  transform: rotate(9deg); animation-delay: -1.5s; }
.showcase__float--3 { left: 12%; top: 330px; transform: rotate(7deg); width: 64px; height: 64px; border-radius: 18px; animation-delay: -3s; }
.showcase__float--4 { right: 9%; top: 300px; transform: rotate(-6deg); width: 84px; height: 84px; border-radius: 24px; animation-delay: -4.2s; }
.showcase__float--5 { right: 20%; top: 500px; transform: rotate(12deg); width: 58px; height: 58px; border-radius: 16px; animation-delay: -2.2s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 560px) {
  .showcase__visual { height: 520px; }
  .showcase__visual .slot { --s: .8 !important; }
  .showcase__shadow { top: 470px; }
  .showcase__float { width: 56px; height: 56px; border-radius: 16px; }
  .showcase__float--1 { left: 0; } .showcase__float--2 { right: 0; } .showcase__float--3 { left: 2%; } .showcase__float--4 { right: 0; } .showcase__float--5 { display: none; }
}

/* Home screen inside the device */
.homescreen { background: linear-gradient(165deg, #4E6BFF 0%, #8C5CFF 48%, #FF8FB1 100%); overflow: hidden; font-family: "Manrope", system-ui, sans-serif; }
.homescreen__blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.homescreen__blob--1 { width: 220px; height: 220px; left: -80px; top: 250px; background: rgba(255,255,255,.14); }
.homescreen__blob--2 { width: 180px; height: 180px; right: -70px; top: 40px; background: rgba(255,214,107,.25); }
.homescreen__widget { position: absolute; left: 16px; right: 16px; top: 44px; padding: 14px 16px; border-radius: 22px; background: rgba(255,255,255,.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); color: #fff; }
.homescreen__widget small { display: block; font-size: 10px; font-weight: 700; opacity: .85; }
.homescreen__widget b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 2px 0 6px; }
.homescreen__widget span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: #fff; color: #0E8F63; font-size: 10px; font-weight: 800; }
.homescreen__widget span i { width: 7px; height: 7px; border-radius: 50%; background: #1FCB8B; }
.homescreen__grid { position: absolute; left: 12px; right: 12px; top: 176px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 4px; }
.homescreen__app { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.homescreen__app img { width: 46px; height: 46px; border-radius: 14px; object-fit: cover; box-shadow: 0 4px 10px -4px rgba(20,10,60,.5); background: rgba(255,255,255,.3); }
.homescreen__app span { max-width: 100%; font-size: 9px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.homescreen__dock { position: absolute; left: 12px; right: 12px; bottom: 16px; display: flex; justify-content: space-around; padding: 10px 8px; border-radius: 26px; background: rgba(255,255,255,.24); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.homescreen__dock img { width: 44px; height: 44px; border-radius: 13px; object-fit: cover; background: rgba(255,255,255,.3); }

/* Marquee of app chips */
.marquee { margin-top: clamp(3rem, 6vw, 5rem); overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; gap: 14px; margin: 0; padding: 6px 7px; list-style: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } .showcase__float { animation: none; } }
.app-chip { display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 22px; background: var(--card); white-space: nowrap; }
.app-chip img { width: 52px; height: 52px; border-radius: 15px; object-fit: cover; box-shadow: 0 6px 14px -8px rgba(16,20,40,.45); background: #fff; }
.app-chip span { font-weight: 600; font-size: 1rem; color: var(--ink); }

/* ==========================================================================
   Video guides
   ========================================================================== */
.vids__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; max-width: none; flex-wrap: wrap; }
.vids__head > div { max-width: 40rem; }
.vids { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 960px) { .vids { grid-template-columns: 1fr; } }
.vplayer { position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; background: #111318; box-shadow: var(--shadow); }
.vplayer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vplayer__poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: none; }
.vthumb, .vitem__thumb { position: absolute; inset: 0; display: block; overflow: hidden; background: linear-gradient(135deg, #1C2340 0%, #2B59FF 55%, #7C5CFF 100%); }
.vthumb img, .vitem__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vthumb__fallback { position: absolute; left: 8%; right: 30%; bottom: 12%; color: #fff; font-size: clamp(1.2rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; text-align: start; }
.vplay { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--ink); box-shadow: 0 18px 40px -12px rgba(0,0,0,.55); transition: transform .2s ease; }
.vplay svg { width: 32px; height: 32px; margin-left: 4px; }
.vplayer__poster:hover .vplay { transform: scale(1.06); }
.vids__meta { display: flex; align-items: center; gap: .9rem; margin-top: 1.1rem; flex-wrap: wrap; }
.vids__meta h3 { margin: 0; font-size: 1.35rem; }
.vids__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vitem { width: 100%; display: grid; grid-template-columns: 148px 1fr; gap: 14px; align-items: center; padding: 10px; border: 0; border-radius: 20px; background: transparent; cursor: pointer; text-align: start; font: inherit; color: inherit; transition: background-color .15s ease; }
.vitem:hover { background: rgba(22,24,29,.05); }
.vitem[aria-current="true"] { background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.vitem__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; }
.vitem__play { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink); }
.vitem__play svg { width: 14px; height: 14px; margin-left: 2px; }
.vitem__text small { display: block; font-size: .8rem; font-weight: 600; color: var(--blue); margin-bottom: .15rem; }
.vitem__text b { display: block; font-size: 1rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.vids__list li:nth-child(2) .vitem__thumb { background: linear-gradient(135deg, #0E3B2E, #12A370); }
.vids__list li:nth-child(3) .vitem__thumb { background: linear-gradient(135deg, #3A1F5C, #E0457F); }
.vids__list li:nth-child(4) .vitem__thumb { background: linear-gradient(135deg, #5A2A0A, #E0601A); }
.vids__list li:nth-child(5) .vitem__thumb { background: linear-gradient(135deg, #16181D, #5B6070); }
.vthumb img.is-broken, .vitem__thumb img.is-broken { visibility: hidden; }
.split > *, .vids > *, .showcase__grid > *, .rule > * { min-width: 0; }
