/* DesignBookmark Motion inspired surface & spring system adapted for RuGrab.
   No strokes (--rim: transparent), no drop shadows (--sh: 0).
   Contrast is built strictly through layered surfaces:
   --stage (#000 / #fff) -> --card (#171717 / #f7f7f6) -> --surface (#262626 / #fff) -> --fill-1/2/3. */

:root {
  color-scheme: light;
  font-family: "Golos Text", "Segoe UI", Arial, sans-serif;
  font-size: 100%;
  font-weight: 400;
  font-synthesis: none;

  /* ---------- DesignBookmark Motion core tokens (Light) ---------- */
  --stage: #ffffff;
  --card: #f7f7f6;
  --surface: #ffffff;
  --surface-hover: #f0f0ee;
  --surface-sunken: #efefec;
  --fill-1: rgba(23, 24, 26, .04);
  --fill-2: rgba(23, 24, 26, .07);
  --fill-3: rgba(23, 24, 26, .12);
  --text: #17181a;
  --text-2: #3c3b37;
  --muted: #6f6e68;
  --muted-2: #85847e;
  --chip-text: #5c5b56;
  --inverse: #0e0f11;
  --on-inverse: #f4f3f1;
  --green: #34d17a;
  --green-text: #15803d;
  --green-soft: rgba(52, 209, 122, .14);
  --on-green: #04140a;
  --orange: #ff9f0a;
  --red: #e8433e;
  --blue: #3ec9ff;
  --glow: rgba(23, 24, 26, .06);
  --rim: transparent;
  --sh: 0;

  /* ---------- Radii (concentric) ---------- */
  --r-card: 28px;
  --r-sheet: 24px;
  --r-panel: 18px;
  --r-tile: 14px;
  --r-row: 12px;
  --r-pill: 999px;

  /* ---------- RuGrab compatibility aliases (used by landing + subpages) ---------- */
  --paper: var(--stage);
  --ink: var(--text);
  --ink-soft: var(--text-2);
  --line: rgba(23, 24, 26, .08);
  --line-strong: rgba(23, 24, 26, .16);
  --overlay-panel: rgba(255, 255, 255, .88);
  --track: var(--fill-2);
  --pill-track: var(--fill-1);
  --press: var(--fill-2);

  --accent: #e5484d;
  --accent-red: #d9383a;
  --accent-gradient: linear-gradient(135deg, #ff6b4a 0%, #ef4444 48%, #c81e3a 100%);
  --accent-strong: #c81e3a;
  --accent-underline: rgba(217, 56, 58, .35);
  --accent-tint-1: rgba(239, 68, 68, .08);
  --accent-tint-2: rgba(239, 68, 68, .14);
  --accent-tint-3: rgba(239, 68, 68, .22);
  --tint-warm: linear-gradient(135deg, rgba(255, 107, 74, .09), rgba(200, 30, 58, .05));
  --tint-warm-hover: linear-gradient(135deg, rgba(255, 107, 74, .16), rgba(200, 30, 58, .1));
  --tint-warm-strong: linear-gradient(135deg, rgba(255, 107, 74, .12), rgba(200, 30, 58, .07));

  --glass-bg: var(--surface);
  --glass-line: transparent;
  --glass-bg-strong: var(--card);
  --glass-line-strong: transparent;
  --bar-bg: rgba(247, 247, 246, .88);

  --cosmic-bg: var(--card);
  --cosmic-ink: var(--text-2);
  --cosmic-muted: var(--muted);
  --cosmic-aurora:
    radial-gradient(ellipse at 22% 35%, rgba(255, 107, 74, .10) 0, transparent 50%),
    radial-gradient(ellipse at 76% 18%, rgba(62, 201, 255, .09) 0, transparent 48%),
    radial-gradient(ellipse at 77% 82%, rgba(52, 209, 122, .08) 0, transparent 48%),
    var(--card);
  --grain-op: .08;
  --grain-op-showcase: .09;
  --grain-op-download: .08;

  --chip-ink: var(--text-2);
  --chip-icon: var(--green-text);
  --chip-bg: var(--fill-2);

  /* Zero shadows per DesignBookmark Motion */
  --shadow-pill: none;
  --shadow-button: none;
  --shadow-button-hover: none;
  --shadow-card: none;
  --shadow-bar: none;
  --shadow-pop: none;

  --resize-dur: 300ms;
  --resize-ease: cubic-bezier(0.22, 1, 0.36, 1);

  color: var(--ink);
  background: var(--stage);
}

:root[data-theme="dark"] {
  color-scheme: dark;

  /* ---------- DesignBookmark Motion core tokens (Dark) ---------- */
  --stage: #000000;
  --card: #171717;
  --surface: #262626;
  --surface-hover: #2f2f2f;
  --surface-sunken: #1c1c1c;
  --fill-1: rgba(255, 255, 255, .05);
  --fill-2: rgba(255, 255, 255, .09);
  --fill-3: rgba(255, 255, 255, .14);
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, .78);
  --muted: #9a9a9a;
  --muted-2: #828282;
  --chip-text: #b4b4b4;
  --inverse: #ffffff;
  --on-inverse: #000000;
  --green: #34d17a;
  --green-text: #3ce085;
  --green-soft: rgba(52, 209, 122, .14);
  --on-green: #04140a;
  --orange: #ff9f0a;
  --red: #ff5a5f;
  --blue: #3ec9ff;
  --glow: rgba(255, 255, 255, .14);

  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --overlay-panel: rgba(23, 23, 23, .84);
  --track: var(--fill-2);
  --pill-track: var(--fill-1);
  --press: var(--fill-3);

  --accent: #ff6b57;
  --accent-red: #ff5a5f;
  --accent-gradient: linear-gradient(135deg, #ff7a59 0%, #ff5a5f 48%, #e63950 100%);
  --accent-strong: #ff8589;
  --accent-underline: rgba(255, 90, 95, .4);
  --accent-tint-1: rgba(255, 90, 95, .10);
  --accent-tint-2: rgba(255, 90, 95, .16);
  --accent-tint-3: rgba(255, 90, 95, .24);
  --tint-warm: rgba(255, 90, 95, .09);
  --tint-warm-hover: rgba(255, 90, 95, .16);
  --tint-warm-strong: rgba(255, 90, 95, .14);

  --glass-bg: var(--surface);
  --glass-line: transparent;
  --glass-bg-strong: var(--surface);
  --glass-line-strong: transparent;
  --bar-bg: rgba(23, 23, 23, .86);

  --cosmic-bg: var(--card);
  --cosmic-ink: var(--text-2);
  --cosmic-muted: var(--muted);
  --cosmic-aurora:
    radial-gradient(ellipse at 20% 30%, rgba(255, 90, 95, .11) 0, transparent 52%),
    radial-gradient(ellipse at 78% 18%, rgba(62, 201, 255, .08) 0, transparent 48%),
    radial-gradient(ellipse at 75% 84%, rgba(52, 209, 122, .07) 0, transparent 48%),
    var(--card);
  --grain-op: .05;
  --grain-op-showcase: .06;
  --grain-op-download: .05;

  --chip-ink: var(--text-2);
  --chip-icon: var(--green-text);
  --chip-bg: var(--fill-2);
}

:root[data-theme="dark"] .pocket-shot img,
:root[data-theme="dark"] .mobile-carousel-image img {
  filter: brightness(.92) saturate(.98);
}

@media (prefers-reduced-motion: no-preference) {
  .theme-switching, .theme-switching *, .theme-switching *::before, .theme-switching *::after {
    transition: background-color 220ms ease, color 220ms ease, fill 220ms ease !important;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 40px; scrollbar-width: none; }
html::-webkit-scrollbar { width: 0; height: 0; }

/* Subtle scroll progress bar */
.scroll-progress { position: fixed; inset: auto 0 0 0; z-index: 60; height: 3px; background: transparent; pointer-events: none; }
.scroll-progress > span { display: block; height: 100%; transform-origin: left center; transform: scaleX(var(--scroll, 0)); background: var(--accent-gradient); background-size: 200% 200%; animation: accent-flow 12s ease-in-out infinite alternate; }

body {
  margin: 0; min-width: 320px; overflow-x: clip;
  background: var(--stage); color: var(--text);
  -webkit-font-smoothing: antialiased;
}
p, h1, h2, h3, ul, ol, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; outline-offset: 5px; }
button, summary { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible, iframe:focus-visible { outline: 2px solid var(--accent); }
img, video { display: block; max-width: 100%; height: auto; }
svg { width: 22px; height: 22px; flex-shrink: 0; vertical-align: middle; }
[hidden] { display: none !important; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 20px; top: -100px; background: var(--inverse); color: var(--on-inverse); padding: 14px 20px; border-radius: var(--r-pill); }
.skip-link:focus { top: 20px; }
.t-resize { will-change: height; }

/* Scroll blur-stagger reveal (DesignBookmark Motion .it pattern) */
[data-reveal] {
  opacity: 0;
  filter: blur(6px);
  transform: translate3d(0, 14px, 0) scale(.985);
  transition:
    opacity .48s ease calc(var(--stagger-i, 0) * 45ms),
    transform .72s cubic-bezier(.16, 1, .3, 1) calc(var(--stagger-i, 0) * 45ms),
    filter .48s ease calc(var(--stagger-i, 0) * 45ms);
}
[data-reveal].is-in {
  opacity: 1;
  filter: none;
  transform: none;
}

/* Cosmic / stage surfaces — no strokes, pure layered tonal card + subtle ambient light */
.cosmic-surface { position: relative; isolation: isolate; overflow: hidden; background: var(--cosmic-bg); }
.cosmic-surface::before {
  content: ""; position: absolute; inset: -24%; z-index: -2; pointer-events: none;
  background: var(--cosmic-aurora);
  filter: blur(28px); animation: aurora-drift 26s ease-in-out infinite alternate;
}
.cosmic-surface::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("/v5/assets/grain.svg"); opacity: var(--grain-op); mix-blend-mode: soft-light;
}
.surface-particles { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.surface-particle {
  position: absolute; left: var(--particle-left); top: var(--particle-top);
  width: var(--particle-size); height: var(--particle-size); border-radius: var(--r-pill);
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 38%, transparent 76%);
  opacity: var(--particle-opacity); filter: blur(var(--particle-blur));
  transform: translate3d(var(--particle-shift-x, 0px), var(--particle-shift-y, 0px), 0);
  transition: transform 260ms var(--resize-ease);
  animation: particle-float var(--particle-duration) ease-in-out var(--particle-delay) infinite alternate;
}
.showcase .dual-preview { position: relative; z-index: 1; }
@keyframes aurora-drift { from { transform: translate(-2%, -2%) scale(1); } to { transform: translate(3%, 2%) scale(1.06); } }
@keyframes accent-flow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes particle-float { from { margin-top: -5px; } to { margin-top: 8px; } }
.cosmic-web {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  opacity: var(--web-op, .38);
  transform: translate3d(var(--web-x, 0px), var(--web-y, 0px), 0);
  transition: transform 400ms var(--resize-ease);
  animation: web-drift 26s ease-in-out infinite alternate;
}
.cosmic-web-line { stroke: var(--web-ink, rgba(23, 24, 26, .10)); stroke-width: .6; }
.cosmic-web-star { fill: var(--web-star, rgba(23, 24, 26, .24)); }
:root[data-theme="dark"] .cosmic-web { --web-ink: rgba(255, 255, 255, .11); --web-star: rgba(255, 255, 255, .36); }
@keyframes web-drift { from { margin-top: -4px; margin-left: -3px; } to { margin-top: 4px; margin-left: 3px; } }

/* ---------- Header & Unified Spring Instrument Island ---------- */
.site-header {
  --wm-size: 1.9rem; --wm-logo: 42px;
  height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; z-index: 40;
}
.site-header::after { display: none; }
[dir="rtl"] .site-header::after { display: none; }

.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 1.65rem; letter-spacing: -.055em; font-weight: 600; line-height: 1; flex-shrink: 0; }
.wordmark img { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; }
.wordmark-text { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.wordmark-text small { font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; color: var(--muted); }
.site-header .wordmark { gap: 12px; font-size: var(--wm-size); font-weight: 700; letter-spacing: -.06em; }
.site-header .wordmark img { width: var(--wm-logo); height: var(--wm-logo); }
.site-header .wordmark-text { flex-direction: row; align-items: center; gap: 14px; }
.site-header .wordmark-text small { padding-inline-start: 14px; border-inline-start: 1px solid var(--fill-3); line-height: 1.8; white-space: nowrap; }

/* Single unified header capsule combining nav, language spring dropdown & theme toggle */
.header-island {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px;
  margin-left: auto;
  border-radius: var(--r-pill);
  background: var(--card);
}
.island-sep {
  width: 1px; height: 18px; margin-inline: 4px;
  background: var(--fill-2); flex-shrink: 0;
}

/* Desktop nav inside the unified island (db-tab-pill mechanic) */
.desktop-nav {
  position: relative;
  display: flex; align-items: center; gap: 2px;
  padding: 0;
  border-radius: var(--r-pill);
  background: transparent;
}
.desktop-nav .nav-pill {
  position: absolute; left: 0; top: 0; bottom: 0;
  border-radius: var(--r-pill);
  background: var(--surface);
  pointer-events: none;
  opacity: 0;
  will-change: transform, width, opacity;
}
.desktop-nav a {
  position: relative; z-index: 1;
  font-size: .9375rem; font-weight: 500;
  color: var(--muted); padding: 9px 15px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: color .22s ease;
}
.desktop-nav a:hover,
.desktop-nav a.is-hot { color: var(--text); }

/* Language Spring Dropdown (db-spring-dropdown mechanic) inside the unified island */
.lang-switch {
  position: relative;
  display: inline-flex; align-items: center;
}
/* Invisible hover bridge across the gap between trigger and dropdown column */
.lang-switch::after {
  content: ""; position: absolute; left: -6px; right: -6px; top: 100%; height: 12px;
  pointer-events: none;
}
.lang-switch.is-open::after { pointer-events: auto; }

.lang-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 11px 0 13px; border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--text);
  font: inherit; font-size: .8125rem; font-weight: 600; letter-spacing: .01em;
  cursor: pointer; will-change: transform;
  transition: background .2s ease, color .2s ease;
}
.lang-trigger:hover,
.lang-switch.is-open .lang-trigger { background: var(--surface); }
.lang-chev { width: 14px; height: 14px; color: var(--muted); will-change: transform; flex-shrink: 0; }

.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 50;
  min-width: 112px; height: 0; padding: 6px;
  border-radius: var(--r-panel);
  background: var(--card);
  overflow: hidden;
  transform-origin: 50% 0;
  visibility: hidden;
  will-change: transform, height, opacity;
}
:root[data-theme="dark"] .lang-menu { background: #1c1c1c; }
.lang-hl {
  position: absolute; left: 6px; right: 6px; top: 0;
  border-radius: var(--r-row);
  background: var(--surface);
  opacity: 0; pointer-events: none;
  will-change: transform, height, opacity;
}
.lang-menu a {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  height: 38px; padding: 0 12px;
  border-radius: var(--r-row); border-bottom: 0;
  font-size: .875rem; font-weight: 500; line-height: 1;
  color: var(--muted); white-space: nowrap;
  opacity: 0; will-change: transform, opacity;
  transition: color .18s ease;
}
.lang-menu a:hover,
.lang-menu a.is-hot { color: var(--text); }
.lang-menu a.is-active { color: var(--text); font-weight: 600; }
.lang-menu a.is-active::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-text); flex-shrink: 0;
}

/* Fallback if JS is disabled */
.lang-switch:not(.is-enhanced) { gap: 2px; }
.lang-switch:not(.is-enhanced) a {
  padding: 8px 11px; border-radius: var(--r-pill); font-size: .8125rem; font-weight: 600; color: var(--muted);
}
.lang-switch:not(.is-enhanced) a.is-active { background: var(--inverse); color: var(--on-inverse); }

/* Theme toggle button inside the unified island */
.theme-toggle {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin-left: 2px; padding: 0; border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--muted);
  transition: background .2s ease, color .2s ease;
  will-change: transform;
}
.theme-toggle:hover { background: var(--surface); color: var(--text); }
.theme-toggle svg { width: 17px; height: 17px; will-change: transform; }
.theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon-moon { display: none; }
[data-theme="dark"] .theme-icon-sun { display: block; }

/* ---------- Buttons (Magnetic + Squash/Pop) ---------- */
.bottom-bar, .support-pop { display: none; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  min-height: 58px; padding: 0 26px; border: 0; border-radius: var(--r-pill);
  font-size: 1.0625rem; font-weight: 500; line-height: 1.4; white-space: nowrap;
  transition: background .22s ease, color .22s ease;
  will-change: transform;
}
.button > svg, .button > span { will-change: transform; }
.button-dark {
  color: #fff; background: var(--accent-gradient); background-size: 180% 180%; background-position: 0% 50%;
  animation: accent-flow 10s ease-in-out infinite alternate;
}
.button-dark:hover { background-position: 100% 50%; }
.button-outline { color: var(--text); background: var(--surface); }
.button-outline:hover { background: var(--surface-hover); }
.button-small { min-height: 46px; padding-inline: 19px; font-size: 1rem; }
.button-small svg { width: 19px; height: 19px; }
.button-version { flex-shrink: 0; font-size: .875rem; font-weight: 400; padding-left: 10px; border-left: 1px solid currentColor; line-height: 1.2; opacity: .78; }

/* ---------- Hero + Stepped Frosted Glass Side Glow ---------- */
.hero { position: relative; text-align: center; padding-top: 64px; padding-bottom: 56px; }
.hero > :not(.hero-glass) { position: relative; z-index: 3; }

.hero-glass {
  position: absolute;
  left: 50%;
  top: 24px;
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 84%, transparent 100%);
}
.hero-glass-wing {
  position: absolute;
  bottom: 0;
  top: 0;
  width: min(27vw, 390px);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: clamp(5px, .55vw, 9px);
}
.hero-glass-left { left: clamp(-8px, 0px, 8px); }
.hero-glass-right { right: clamp(-8px, 0px, 8px); }

/* Soft corner light bloom underneath crisp fluted glass fins */
.hero-glass-wing::before {
  content: "";
  position: absolute;
  bottom: -48px;
  width: 96%;
  height: 68%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 82%, rgba(255, 86, 56, .28), rgba(232, 48, 76, .12) 50%, transparent 74%);
  filter: blur(46px);
  pointer-events: none;
}
.hero-glass-left::before { left: -14%; }
.hero-glass-right::before { right: -14%; }
:root[data-theme="dark"] .hero-glass-wing::before {
  background: radial-gradient(ellipse at 50% 82%, rgba(255, 92, 58, .36), rgba(235, 48, 82, .16) 50%, transparent 75%);
}

.hero-glass-wing span {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, .06) 44%, rgba(255, 88, 60, .28) 86%, rgba(255, 255, 255, .44) 100%),
    linear-gradient(to top, rgba(255, 78, 52, .64) 0%, rgba(255, 118, 78, .34) 46%, rgba(255, 168, 128, .07) 82%, transparent 100%);
  filter: blur(4px);
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 10%, #000 62%, transparent 100%);
  mask-image: linear-gradient(to top, transparent 0%, #000 10%, #000 62%, transparent 100%);
  transform-origin: bottom center;
  will-change: transform, opacity;
  --rib-op: 1;
  opacity: var(--rib-op);
}
:root[data-theme="dark"] .hero-glass-wing span {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .02) 44%, rgba(255, 96, 64, .28) 86%, rgba(255, 255, 255, .11) 100%),
    linear-gradient(to top, rgba(255, 86, 56, .58) 0%, rgba(238, 50, 78, .28) 46%, rgba(255, 128, 96, .06) 82%, transparent 100%);
  filter: blur(4.5px);
}

/* Stepped heights: tallest on outer screen edges, stepping cleanly toward center */
.hero-glass-left span:nth-child(1), .hero-glass-right span:nth-child(6) { height: 92%; --rib-op: 1; }
.hero-glass-left span:nth-child(2), .hero-glass-right span:nth-child(5) { height: 79%; --rib-op: .94; }
.hero-glass-left span:nth-child(3), .hero-glass-right span:nth-child(4) { height: 66%; --rib-op: .86; }
.hero-glass-left span:nth-child(4), .hero-glass-right span:nth-child(3) { height: 53%; --rib-op: .76; }
.hero-glass-left span:nth-child(5), .hero-glass-right span:nth-child(2) { height: 40%; --rib-op: .64; }
.hero-glass-left span:nth-child(6), .hero-glass-right span:nth-child(1) { height: 28%; --rib-op: .52; }

/* Subtle mask fade so inner columns blend silently into background */
.hero-glass-left {
  -webkit-mask-image: linear-gradient(to right, #000 58%, transparent 100%);
  mask-image: linear-gradient(to right, #000 58%, transparent 100%);
}
.hero-glass-right {
  -webkit-mask-image: linear-gradient(to left, #000 58%, transparent 100%);
  mask-image: linear-gradient(to left, #000 58%, transparent 100%);
}
@media (max-width: 960px) {
  .hero-glass-wing { width: 32vw; gap: 4px; opacity: .65; }
}
@media (max-width: 680px) {
  .hero-glass-wing { width: 28vw; gap: 3px; opacity: .48; }
}

@media (min-width: 860px) {
  .hero::after {
    --fox-w: clamp(220px, calc(50vw - 260px), 320px);
    content: ""; position: absolute; z-index: 2; pointer-events: none;
    left: calc(50% + clamp(240px, calc(50vw - var(--fox-w) + 4px), 335px));
    bottom: -18px;
    width: var(--fox-w); aspect-ratio: 680 / 853;
    background: url("/v5/assets/hero-fox.webp?v=3") center bottom / contain no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 98%);
    mask-image: linear-gradient(to bottom, #000 72%, transparent 98%);
  }
  :root[data-theme="dark"] .hero::after { filter: brightness(.95); }
}

@media (min-width: 1220px) {
  .hero::after {
    --fox-w: clamp(310px, calc(50vw - 345px), 460px);
    left: calc(50% + clamp(335px, calc(50vw - var(--fox-w) + 4px), 450px));
  }
}

.eyebrow {
  display: inline-block;
  font-size: .78rem; line-height: 1.5; letter-spacing: .1em; font-weight: 600;
  color: var(--muted); text-transform: uppercase;
}
.hero-eyebrow {
  margin-bottom: 24px; padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--card); color: var(--text-2);
}
h1, h2, h3 { text-transform: uppercase; }
.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.65rem); font-weight: 700;
  letter-spacing: -.035em; line-height: 1.03; text-wrap: balance;
}
.hero-intro {
  max-width: 44em; margin: 24px auto 0;
  font-size: 1.1875rem; line-height: 1.62; color: var(--muted); letter-spacing: -.01em;
}
.hero-intro b { font-weight: 600; color: var(--text); }

.hero-downloads { display: flex; justify-content: center; gap: 14px; margin-top: 34px; }
.hero-downloads > div { display: flex; flex-direction: column; }
.platform-button { min-width: 322px; }
.download-meta { display: block; margin-top: 10px; font-size: .78125rem; line-height: 1.5; color: var(--muted); }
.download-meta a { color: var(--text-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--fill-3); transition: color .2s, text-decoration-color .2s; }
.download-meta a:hover { color: var(--text); text-decoration-color: currentColor; }

.all-releases { display: flex; justify-content: center; margin-top: 14px; }
.all-releases .text-link { font-size: .9375rem; color: var(--muted); gap: 8px; border-bottom-color: transparent; }
.all-releases .text-link:hover { color: var(--text); border-bottom-color: var(--fill-3); }
.all-releases .text-link svg { width: 16px; height: 16px; }

/* ---------- Plus-first Hero Offer (EU except DE/FI + AE + KZ) ---------- */
.hero-plus-offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 32px;
}
.hero-plus-offer[hidden] { display: none; }
.hero-plus-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.hero-plus-cta { min-width: 310px; }
.hero-plus-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  font-size: .84rem;
  color: var(--text-2);
}
.hero-plus-pills li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: var(--card);
}
.hero-plus-pills svg { width: 14px; height: 14px; color: var(--accent-red); }
.hero-free-text {
  margin: 18px 0 0;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--muted);
}
.hero-free-link {
  color: var(--text-2);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--fill-3);
  transition: color .2s ease, text-decoration-color .2s ease;
}
.hero-free-link:hover {
  color: var(--text);
  text-decoration-color: currentColor;
}
:root[data-hero-offer="plus"] .hero-downloads,
:root[data-hero-offer="plus"] .plus-banner {
  display: none;
}

/* ---------- RuGrab Plus Hero Banner (Compact DesignBookmark card + 3D spring tilt) ---------- */
.plus-banner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 20px; align-items: center;
  max-width: 820px; margin: 22px auto 0; padding: 14px 18px 14px 22px;
  border-radius: var(--r-card); text-align: left;
  background: var(--card); color: var(--text);
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: background-color .22s ease;
}
.plus-banner:hover { background: var(--surface-sunken); }
:root[data-theme="dark"] .plus-banner:hover { background: #1d1d1f; }
.plus-banner-main, .plus-banner-side { position: relative; z-index: 1; }
.plus-banner-text { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.plus-banner-text b { color: var(--text); font-weight: 700; }
.plus-banner-side {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  min-width: 0; padding: 2px 0 2px 20px;
  border-left: 1px solid var(--fill-2);
}
.plus-banner-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 0; }
.plus-banner-price b { font-size: 1.55rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--text); }
.plus-banner-price .plus-usd { font-size: .8125rem; color: var(--muted); }
.plus-banner-once { margin: -2px 0 0; font-size: .75rem; color: var(--muted); }
.plus-banner-actions { display: flex; flex-wrap: nowrap; gap: 6px; margin-top: 2px; }
.plus-banner-actions .button { min-height: 36px; padding: 0 14px; font-size: .84rem; font-weight: 600; gap: 6px; }
.plus-banner-actions svg { width: 15px; height: 15px; }
.plus-banner-buy { color: var(--on-inverse); background: var(--inverse); }
.plus-banner-buy:hover { opacity: .9; }
.plus-banner-buy:hover svg { transform: translateX(2px); }
.plus-banner-buy svg { transition: transform var(--resize-dur) var(--resize-ease); }
.plus-banner-more { color: var(--text-2); background: var(--fill-2); padding-inline: 12px; }
.plus-banner-more:hover { background: var(--fill-3); color: var(--text); }
.plus-banner .button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 760px) {
  .plus-banner { grid-template-columns: 1fr; gap: 12px; padding: 14px 16px; border-radius: var(--r-sheet); margin-top: 20px; }
  .plus-banner-side { border-left: 0; border-top: 1px solid var(--fill-2); padding: 12px 0 0; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
  .plus-banner-once { margin: 0; }
}

/* ---------- Showcase Studio (Spring choreography + inverted contrast stage) ---------- */
.showcase {
  /* Light theme -> Pure black stage (#000000) contrasting against white page */
  --sc-bg: #000000;
  --sc-card: #171717;
  --sc-card-hover: #1e1e1e;
  --sc-ink: #ffffff;
  --sc-ink-2: rgba(255, 255, 255, .86);
  --sc-muted: #9a9aa2;
  --sc-pill-bg: rgba(255, 255, 255, .08);
  --sc-pill-active: rgba(255, 255, 255, .16);

  position: relative;
  isolation: isolate;
  width: min(1420px, calc(100% - 32px));
  margin: 10px auto 14px;
  padding: clamp(14px, 1.5vw, 20px);
  border-radius: 34px;
  background: var(--sc-bg);
  color: var(--sc-ink);
  overflow: hidden;
  transform-origin: center top;
  transform: translate3d(0, calc((1 - var(--open, 1)) * 22px), 0) scale(calc(.95 + .05 * var(--open, 1)));
  will-change: transform;
}
:root[data-theme="dark"] .showcase {
  /* Dark theme -> Pure white stage (#ffffff) contrasting against black page */
  --sc-bg: #ffffff;
  --sc-card: #f2f2ef;
  --sc-card-hover: #eaeae6;
  --sc-ink: #17181a;
  --sc-ink-2: #3c3b37;
  --sc-muted: #6f6e68;
  --sc-pill-bg: rgba(23, 24, 26, .06);
  --sc-pill-active: #ffffff;
}

.showcase-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 8px 14px;
}
.showcase-title {
  margin: 0;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--sc-ink-2);
}

/* Segmented stretchy pill inside Showcase bar (db-tab-pill mechanic) */
.showcase-tabs {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--sc-pill-bg);
}
.showcase-tabs .nav-pill {
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  border-radius: var(--r-pill);
  background: var(--sc-pill-active);
  pointer-events: none;
  opacity: 0;
  will-change: transform, width, opacity;
}
.showcase-tabs button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1;
  color: var(--sc-muted);
  transition: color .2s ease;
}
.showcase-tabs button svg { width: 15px; height: 15px; }
.showcase-tabs button.is-hot,
.showcase-tabs button:hover { color: var(--sc-ink); }

.dual-preview {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .273fr);
  align-items: stretch;
  gap: clamp(12px, 1.5vw, 18px);
}
.showcase[data-mode="desktop"] .dual-preview { grid-template-columns: minmax(0, 1fr) 0fr; gap: 0; }
.showcase[data-mode="mobile"] .dual-preview { grid-template-columns: 0fr minmax(280px, 370px); justify-content: center; gap: 0; }

.video-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px;
  border-radius: 24px;
  background: var(--sc-card);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition: background-color .22s ease;
  cursor: pointer;
}
.video-card:hover { background: var(--sc-card-hover); }
.showcase[data-mode="desktop"] .video-card-android,
.showcase[data-mode="mobile"] .video-card-windows {
  opacity: 0;
  pointer-events: none;
  padding: 0;
  margin: 0;
  width: 0;
  height: 0;
  min-width: 0;
}

.video-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 8px 12px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--sc-ink);
}
.video-card-title { display: inline-flex; align-items: center; gap: 8px; color: var(--sc-ink); }
.video-card-title svg { width: 18px; height: 18px; color: var(--sc-ink); }
.video-card-meta { display: inline-flex; align-items: center; gap: 10px; }
.preview-dots { display: inline-flex; align-items: center; gap: 5px; opacity: .42; }
.preview-dots i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--sc-muted); }
.preview-version {
  font-size: .78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--sc-pill-bg);
  color: var(--sc-ink-2);
}

.video-embed {
  position: relative;
  overflow: hidden;
  background: #0b0c0e;
  border-radius: 16px;
  flex: 0 0 auto;
}
.video-embed-desktop { aspect-ratio: 16 / 9; width: 100%; }
.video-embed-phone {
  aspect-ratio: 9 / 19.5;
  width: 100%;
  border-radius: 18px;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  border: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.video-embed video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.video-embed video:not([controls]) { pointer-events: none; }

/* ---------- Platforms Showcase (Warp Lens Wings + High-Contrast Grid + Speed Bar) ---------- */
.platforms {
  position: relative;
  overflow: hidden;
  padding: clamp(108px, 9.5vw, 152px) 0 clamp(98px, 8.8vw, 140px);
}
.platforms-warp-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.platforms-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}
.platforms-speed {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  background: var(--card);
  color: var(--text-2);
  font-size: .96875rem;
  line-height: 1.45;
  text-align: left;
}
.platforms-speed-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-red-soft);
  color: var(--accent-red);
}
.platforms-speed-icon svg { width: 17px; height: 17px; }
.platforms-speed b,
.platforms-speed strong { color: var(--text); font-weight: 700; }
.speed-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.speed-pill svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 auto;
}
.platforms-heading {
  display: block;
  font-size: clamp(2.1rem, 3.85vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.04;
  text-transform: uppercase;
  color: var(--text);
  max-width: 980px;
}
.platforms-rule {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  margin: 26px 0 34px;
  background: linear-gradient(90deg, transparent 0%, rgba(17, 17, 19, .14) 18%, rgba(17, 17, 19, .24) 50%, rgba(17, 17, 19, .14) 82%, transparent 100%);
}
:root[data-theme="dark"] .platforms-rule {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .14) 18%, rgba(255, 255, 255, .28) 50%, rgba(255, 255, 255, .14) 82%, transparent 100%);
}
.platforms-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 2px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: var(--accent-red);
}
.platform-logos {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.platform-tile {
  /* High-contrast solid contrasting cards: dark obsidian in light theme, crisp pure white in dark theme */
  --pt-bg: #111113;
  --pt-bg-hover: #1c1c20;
  --pt-ink: #ffffff;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  min-height: 98px;
  padding: 18px 24px;
  border-radius: var(--r-card);
  background: var(--pt-bg);
  color: var(--pt-ink);
  transform-style: preserve-3d;
  will-change: transform;
  transition: background-color .22s ease;
  user-select: none;
}
:root[data-theme="dark"] .platform-tile {
  --pt-bg: #ffffff;
  --pt-bg-hover: #f2f2ef;
  --pt-ink: #111113;
}
.platform-tile:hover { background: var(--pt-bg-hover); }
.platform-tile b {
  font-size: clamp(1.3rem, 2vw, 1.68rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--pt-ink);
  text-align: left;
}
.platform-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  overflow: hidden;
  transition: transform .36s cubic-bezier(.16, 1, .3, 1);
}
.platform-badge svg { display: block; width: 48px; height: 48px; }
.platform-tile:hover .platform-badge { transform: scale(1.08); }

.platform-badge-yt { background: transparent; border-radius: 0; overflow: visible; }
.platform-badge-yt svg { width: 46px; height: 46px; }
.platform-badge-tt { background: #010101; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
:root[data-theme="dark"] .platform-badge-tt { box-shadow: none; }
.platform-badge-tt svg { width: 40px; height: 40px; }
.platform-badge-vk { background: transparent; }
.platform-badge-rt { background: #14191e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
:root[data-theme="dark"] .platform-badge-rt { box-shadow: none; }
.platform-badge-ok { background: #ee8208; }
.platform-badge-ok svg { width: 26px; height: 26px; }
.platform-badge-dz { background: transparent; }

@media (max-width: 980px) {
  .platform-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Section Rhythm & Bento Steps (#how) ---------- */
.section-space { padding-block: 88px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; }
.section-heading h2, .faq-intro h2 { font-size: clamp(2rem, 3.1vw, 2.75rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; margin-top: 14px; }
.h-dot { display: inline-block; width: .19em; height: .19em; margin: 0 .34em; border-radius: 50%; background: var(--accent-red); vertical-align: .26em; }
.section-heading > p { font-size: 1.0625rem; color: var(--text-2); line-height: 1.6; max-width: 340px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; margin-top: 28px; }
.steps > li {
  display: flex; flex-direction: column;
  padding: 22px 24px;
  border-radius: var(--r-card);
  background: var(--card);
  transform-style: preserve-3d;
  will-change: transform;
  transition: background-color .25s ease;
}
.steps > li:hover { background: var(--surface-sunken); }
:root[data-theme="dark"] .steps > li:hover { background: #1d1d1f; }
.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.step-number {
  display: inline-grid; place-items: center;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--fill-2); color: var(--text);
  font-size: .8125rem; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums;
}
.step-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--fill-1);
  color: var(--text-2);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), background-color .25s ease, color .25s ease;
}
.step-icon svg { width: 18px; height: 18px; }
.steps > li:hover .step-icon {
  transform: scale(1.08);
  background: var(--accent-tint-1);
  color: var(--accent-red);
}
.steps h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.24; margin: 16px 0 8px; color: var(--text); }
.steps p { font-size: .96875rem; color: var(--text-2); line-height: 1.52; max-width: none; margin: 0 0 18px; }

.steps-bento > li { padding: 24px; }
.steps-bento .step-lead { min-height: 0; margin: 0 0 16px; }
.step-breakdown {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
}
.step-breakdown li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--fill-1);
  font-size: .875rem;
  line-height: 1.45;
  color: var(--text-2);
}
.step-breakdown svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--green-text);
}
.step-breakdown b {
  color: var(--text);
  font-weight: 600;
}

.step-url-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 8px 9px 8px 13px;
  border-radius: var(--r-pill);
  background: var(--fill-1);
  font-size: .8125rem;
  color: var(--muted);
}
.step-url-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-red);
}
.step-url-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .78rem;
  color: var(--text-2);
}
.step-url-bar kbd {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--fill-2);
  color: var(--text);
  font: 600 .75rem/1.2 inherit;
}

.step-caption {
  display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding: 7px 14px; width: fit-content;
  border-radius: var(--r-pill); font-size: .84rem; font-weight: 600;
  color: var(--green-text); background: var(--green-soft);
}
.step-caption svg { width: 16px; height: 16px; color: var(--green-text); }
.format-samples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.format-samples > span {
  border: 0; border-radius: var(--r-pill); padding: 7px 13px;
  font-size: .84rem; font-weight: 600;
  color: var(--text-2); background: var(--fill-2);
}
.format-samples > span.fmt-4k {
  background: var(--inverse);
  color: var(--on-inverse);
}
.format-samples > span.fmt-mp3 {
  background: var(--accent-tint-1);
  color: var(--accent-red);
}

.quality-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 14px 20px;
  border: 0;
  border-radius: var(--r-panel);
  max-width: none;
  background: var(--card);
  font-size: .9375rem;
  line-height: 1.48;
  color: var(--text-2);
}
.quality-note-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-tint-1);
  color: var(--accent-red);
}
.quality-note-badge svg { width: 18px; height: 18px; }
.quality-note b { font-weight: 600; color: var(--text); }

/* ---------- Pocket Section ---------- */
.pocket.wrap {
  width: min(1400px, calc(100% - 32px));
}
.pocket {
  position: relative;
  display: flex;
  align-items: center;
  aspect-ratio: 2200 / 1149;
  padding: clamp(20px, 3.2vw, 48px);
  border-radius: clamp(28px, 2.8vw, 42px);
  overflow: hidden;
}
.pocket-shot { position: absolute; inset: 0 0 -1px 0; z-index: 0; }
.pocket-video { position: absolute; z-index: 0; left: 49.91%; top: 20.19%; width: 15.14%; height: 61.53%; border: 0; pointer-events: none; }
.pocket-shot img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; }
.pocket-shot::after {
  content: ""; position: absolute; z-index: 2; pointer-events: none;
  right: -4%; bottom: -2%; width: 35.5%; aspect-ratio: 720 / 946;
  background: url("/v5/assets/pocket-fox.webp?v=1") center bottom / contain no-repeat;
}
:root[data-theme="dark"] .pocket-shot::after { filter: brightness(.95); }
.pocket-copy {
  --pc-bg: #111113;
  --pc-ink: #ffffff;
  --pc-muted: rgba(255, 255, 255, .74);
  --pc-chip: rgba(255, 255, 255, .11);
  --pc-mat: #ffffff;
  --pc-line: rgba(255, 255, 255, .14);

  position: relative;
  z-index: 2;
  width: min(41%, 470px);
  padding: clamp(22px, 2.2vw, 32px);
  border-radius: clamp(22px, 2.2vw, 32px);
  background: var(--pc-bg);
  color: var(--pc-ink);
  transform-style: preserve-3d;
  will-change: transform;
}
:root[data-theme="dark"] .pocket-copy {
  --pc-bg: #ffffff;
  --pc-ink: #111113;
  --pc-muted: #52525b;
  --pc-chip: #f2f2ef;
  --pc-mat: #f2f2ef;
  --pc-line: rgba(17, 17, 19, .1);
}
.pocket-copy .eyebrow {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--pc-chip);
  color: var(--pc-ink);
}
.pocket-copy h2 {
  font-size: clamp(1.45rem, 2.25vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin-top: 12px;
  color: var(--pc-ink);
}
.pocket-copy h2 b {
  display: block;
  margin-top: .05em;
  font-size: 1.18em;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.pocket-copy > p:not(.eyebrow) {
  margin-top: 11px;
  font-size: clamp(.9rem, 1.04vw, 1.02rem);
  line-height: 1.48;
  text-wrap: pretty;
  color: var(--pc-muted);
}

.pocket-qr-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--pc-line);
}
.pocket-qr-code {
  flex: 0 0 auto;
  padding: 7px;
  border-radius: 15px;
  background: var(--pc-mat);
}
.pocket-qr-code img {
  display: block;
  width: clamp(82px, 7.6vw, 106px);
  height: auto;
  border-radius: 9px;
}
.pocket-qr-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pocket-qr-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--pc-ink);
}
.pocket-qr-badge .ico-rustore {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  order: 0;
}
.pocket-qr-note {
  font-size: .84rem;
  line-height: 1.42;
  text-wrap: pretty;
  color: var(--pc-muted);
}

/* ---------- Android Combined Section (Header Split + Seamless App Carousel) ---------- */
.android-section {
  border-top: 0;
  display: block;
}
.android-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 52px;
  align-items: center;
}
.android-content h2 { font-size: clamp(2.5rem, 4vw, 3.35rem); letter-spacing: -.03em; line-height: 1.04; font-weight: 800; margin-top: 18px; }
.android-content > p:not(.eyebrow):not(.apk-alternative) { font-size: 1.125rem; line-height: 1.65; color: var(--text-2); margin-top: 22px; max-width: 440px; }

.android-card {
  --ac-bg: #111113;
  --ac-ink: #ffffff;
  --ac-muted: rgba(255, 255, 255, .72);
  --ac-line: rgba(255, 255, 255, .28);

  padding: 32px 32px 28px;
  border-radius: var(--r-card);
  background: var(--ac-bg);
  color: var(--ac-ink);
  transform-style: preserve-3d;
  will-change: transform;
}
:root[data-theme="dark"] .android-card {
  --ac-bg: #ffffff;
  --ac-ink: #111113;
  --ac-muted: #52525b;
  --ac-line: rgba(17, 17, 19, .24);
}
.simple-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: 1.0625rem; font-weight: 600; line-height: 1.4; color: var(--ac-ink); }
.simple-list li { display: flex; align-items: center; gap: 12px; }
.simple-list svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--green); }
:root[data-theme="dark"] .simple-list svg { color: var(--green-text); }
.android-actions {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(128, 128, 136, .18);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.android-store-link {
  color: var(--ac-ink);
  border-bottom-color: var(--ac-line);
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.015em;
  text-transform: uppercase;
}
.android-store-link:hover {
  color: var(--accent-red);
  border-color: var(--accent-red);
}
.apk-alternative { font-size: .95rem; color: var(--ac-muted); }
.apk-alternative a { color: var(--ac-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Mobile Carousel ---------- */
.mobile-slider-section { border-top: 0; }
.mobile-slider-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.mobile-slider-heading h2 { font-size: 2.875rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin-top: 16px; }
.mobile-slider-heading h2 span, .download-copy h2 span, .android-content h2 span, .hero h1 > span {
  background: var(--accent-gradient); background-size: 200% 200%; color: transparent;
  -webkit-background-clip: text; background-clip: text;
  animation: accent-flow 12s ease-in-out infinite alternate;
}
.mobile-slider-intro { max-width: 390px; padding-bottom: 5px; }
.mobile-slider-intro > p { font-size: 1.0625rem; line-height: 1.65; color: var(--muted); }
.mobile-slider-intro .text-link { margin-top: 18px; }

.mobile-carousel {
  width: 100vw; margin: 44px 0 0; margin-inline: calc(50% - 50vw); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.mobile-carousel-viewport { overflow: hidden; padding: 24px 0 12px; }
.mobile-carousel-track { display: flex; align-items: flex-start; width: max-content; padding: 0; will-change: transform; animation: screens-marquee 78s linear infinite; }
.mobile-carousel:hover .mobile-carousel-track, .mobile-carousel:focus-within .mobile-carousel-track { animation-play-state: paused; }
@keyframes screens-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.mobile-carousel-slide {
  flex: 0 0 clamp(250px, 22vw, 360px); min-width: 0; margin-right: clamp(14px, 1.6vw, 24px);
  transition: transform .42s cubic-bezier(.16, 1, .3, 1), opacity .3s ease;
}
.mobile-carousel-track:hover .mobile-carousel-slide { opacity: .55; }
.mobile-carousel-track:hover .mobile-carousel-slide:hover { opacity: 1; transform: translateY(-8px) scale(1.02); }
.mobile-carousel-image { padding: 10px; border: 0; border-radius: var(--r-card); background: var(--card); overflow: hidden; }
.mobile-carousel-image img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; border-radius: var(--r-panel); }
.mobile-carousel-slide figcaption { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; align-items: baseline; padding: 14px 6px 2px; }
.mobile-slide-number { grid-row: span 2; color: var(--muted-2); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.mobile-carousel-slide strong { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.mobile-carousel-slide small { color: var(--muted); font-size: .875rem; line-height: 1.4; }

/* ---------- RuGrab Plus Section ---------- */
.plus-section { border-top: 0; }
.plus-section.wrap { width: min(1340px, calc(100% - 40px)); }
.plus-section .section-heading h2 span {
  background: var(--accent-gradient); background-size: 200% 200%; color: transparent;
  -webkit-background-clip: text; background-clip: text;
  animation: accent-flow 12s ease-in-out infinite alternate;
}
.plus-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin-top: 28px;
}
.plus-features li {
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  border-radius: var(--r-panel);
  background: var(--card);
  transform-style: preserve-3d;
  will-change: transform;
  transition: background-color .25s ease;
}
.plus-features li:hover { background: var(--surface-sunken); }
:root[data-theme="dark"] .plus-features li:hover { background: #1d1d1f; }
.plus-feat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.plus-features h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 0;
  color: var(--text);
}
.plus-features p {
  flex: 1;
  font-size: .95rem;
  color: var(--text-2);
  line-height: 1.5;
}
.plus-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent-red-soft);
  color: var(--accent-red);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
.plus-features li:hover .plus-icon { transform: scale(1.08); }
.plus-icon svg { width: 19px; height: 19px; }
.plus-features .format-samples { padding-top: 12px; gap: 6px; }
.plus-features .format-samples > span { padding: 5px 12px; font-size: .8125rem; }
.plus-features .format-samples > span:first-child { background: var(--inverse); color: var(--on-inverse); }

/* Comparison + High-Contrast Inverted Pricing Card (Layered Bento, zero double borders) */
.plus-perks {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(350px, .82fr);
  gap: 14px;
  align-items: stretch;
  margin-top: 14px;
  padding: 0;
  background: transparent;
}

.plus-compare {
  min-width: 0;
  padding: 30px 32px 26px;
  border-radius: var(--r-card);
  background: var(--card);
  color: var(--text);
}
.plus-compare-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.plus-perks .plus-compare h3 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.025em; color: var(--text); }

.cmp { width: 100%; margin-top: 18px; border-collapse: separate; border-spacing: 0; font-size: 1.03125rem; line-height: 1.4; color: var(--text); }
.cmp th, .cmp td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--fill-1); }
.cmp th[scope="row"], .cmp thead th:first-child { text-align: left; font-weight: 600; color: var(--text); padding-left: 0; font-size: 1.09375rem; }
.cmp thead th { font-size: .84rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--fill-2); padding-bottom: 12px; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .cmp-plus { background: var(--fill-1); color: var(--text); }
.cmp thead .cmp-plus { color: var(--accent-red); border-radius: 16px 16px 0 0; }
.cmp tbody tr:last-child .cmp-plus { border-radius: 0 0 16px 16px; }
.cmp-yes { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--fill-2); color: var(--text-2); vertical-align: middle; }
.cmp-yes svg { width: 16px; height: 16px; }
.cmp .cmp-plus .cmp-yes { background: var(--green); color: var(--on-green); }
.cmp-no { color: var(--muted-2); font-weight: 500; }
.cmp .cmp-sub { display: block; margin-top: 3px; font-size: .9rem; font-weight: 400; line-height: 1.42; color: var(--muted); }
.cmp-meta th { color: var(--muted); font-weight: 600; font-size: 1rem; }
.cmp-meta td { font-size: 1rem; color: var(--muted); white-space: nowrap; }
.cmp-meta .cmp-plus { color: var(--text); font-weight: 700; }
.cmp-price td, .cmp-price th { font-size: 1.15rem; font-weight: 700; padding-block: 16px; }
.cmp th:nth-child(2), .cmp td:nth-child(2),
.cmp th:nth-child(3), .cmp td:nth-child(3) { width: 160px; }

/* Inverted High-Contrast Plus CTA Card: Pure White in Dark theme, Deep Obsidian in Light theme */
.plus-perks .plus-cta {
  --p-bg: #111113;
  --p-ink: #ffffff;
  --p-muted: rgba(255, 255, 255, .72);
  --p-chip: rgba(255, 255, 255, .11);
  --p-line: rgba(255, 255, 255, .14);

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 34px 32px 30px;
  border-radius: var(--r-card);
  background: var(--p-bg);
  color: var(--p-ink);
  transform-style: preserve-3d;
  will-change: transform;
}
:root[data-theme="dark"] .plus-perks .plus-cta {
  --p-bg: #ffffff;
  --p-ink: #111113;
  --p-muted: #52525b;
  --p-chip: #f2f2ef;
  --p-line: rgba(17, 17, 19, .1);
}
.plus-cta-os {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--p-chip);
  color: var(--p-ink);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.plus-cta-os svg { width: 15px; height: 15px; color: var(--accent-red); }
.plus-cta-main {
  width: 100%;
  margin-block: 28px;
}
.plus-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.plus-perks .plus-cta .plus-price b {
  font-size: clamp(3.6rem, 4.7vw, 4.45rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--p-ink);
}
.plus-usd { font-size: 1.08rem; font-weight: 600; color: var(--p-muted); }
.plus-perks .plus-cta p.plus-price-note {
  margin: 10px 0 26px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--p-muted);
}
.plus-perks .plus-cta .plus-buy-btn {
  width: 100%;
  min-height: 62px;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(255, 71, 87, .26);
}
.plus-perks .plus-cta .plus-buy-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.plus-perks .plus-cta .plus-buy-btn svg { width: 18px; height: 18px; }
.plus-account {
  display: inline-block;
  margin-top: 16px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--p-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--p-line);
}
.plus-account:hover { color: var(--p-ink); text-decoration-color: currentColor; }
.plus-cta-foot {
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid var(--p-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plus-free-title {
  font-size: .875rem;
  font-weight: 600;
  color: var(--p-muted);
}
.plus-free-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.plus-free-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--p-chip);
  color: var(--p-ink);
  font-size: .875rem;
  font-weight: 600;
  transition: transform .25s ease, opacity .2s ease;
}
.plus-free-chip:hover { transform: translateY(-1px); opacity: .88; }
.plus-free-chip svg { width: 16px; height: 16px; flex: 0 0 auto; }

/* ---------- FAQ (Spring Expand Cards) ---------- */
.faq-section { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; border-top: 0; }
.faq-intro > p:not(.eyebrow) { margin-top: 20px; color: var(--muted); font-size: 1.0625rem; line-height: 1.65; }
.text-link {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 0;
  border-bottom: 1px solid var(--fill-3); background: transparent;
  font-size: 1rem; font-weight: 500; line-height: 1.5;
  transition: color .2s, border-color .2s;
}
.text-link svg { transition: transform var(--resize-dur) var(--resize-ease); }
.ico-rustore { width: 22px; height: 22px; border-radius: 5px; order: -1; }
.text-link-lg .ico-rustore { width: 32px; height: 32px; border-radius: 8px; }
.text-link:hover { color: var(--accent-red); border-color: var(--accent); }
.text-link:hover svg { transform: translateX(3px); }
.faq-intro .faq-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 22px; }
.text-link-lg { font-size: 1.75rem; gap: 14px; padding: 8px 0; letter-spacing: -.02em; }
.text-link-lg svg { width: 24px; height: 24px; }

.faq-list { display: grid; gap: 10px; align-content: start; }
.faq-list details {
  border-bottom: 0; border-radius: var(--r-panel);
  background: var(--card); overflow: hidden;
  transition: background .2s ease;
}
.faq-list details:first-child { border-top: 0; }
.faq-list details:hover, .faq-list details[open] { background: var(--surface); }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.faq-list summary {
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-size: 1.0625rem; line-height: 1.45; font-weight: 500; color: var(--text);
}
.faq-list summary svg {
  width: 19px; height: 19px; color: var(--muted);
  will-change: transform;
}
.faq-answer { padding: 0 24px 22px; font-size: 1rem; line-height: 1.7; color: var(--muted); }
.faq-answer a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--fill-3); }
.faq-answer b { font-weight: 600; color: var(--text); }

/* ---------- Updates Strip ---------- */
.updates-strip {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start;
  padding: 28px; border-top: 0; border-radius: var(--r-card);
  background: var(--card); margin-bottom: 16px;
}
.updates-strip h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.4; margin-top: 10px; }
.release-details { width: 100%; max-width: 420px; justify-self: end; border-radius: var(--r-panel); background: var(--surface); overflow: hidden; }
.release-details summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; font-size: 1rem; font-weight: 500; line-height: 1.5; }
.release-details summary [data-rg-ver] { margin-right: auto; padding: 2px 9px; border-radius: var(--r-pill); background: var(--fill-2); font-size: .8125rem; color: var(--text-2); }
.release-details summary svg { width: 18px; height: 18px; color: var(--muted); will-change: transform; }
.release-body { font-size: .95rem; line-height: 1.65; color: var(--muted); padding: 0 20px 18px; }
.release-body > p { font-size: .8125rem; margin-bottom: 8px; color: var(--muted-2); }
.release-body ul { padding-left: 18px; }

/* ---------- Footer (Theme-Split Fracture Web -> Opposite Theme Reveal) ---------- */
.site-footer {
  --f-bg: #111113;
  --f-ink: #ffffff;
  --f-muted: rgba(255, 255, 255, .68);
  --f-muted-2: rgba(255, 255, 255, .48);
  --f-chip: rgba(255, 255, 255, .09);
  --f-line: rgba(255, 255, 255, .14);

  position: relative;
  margin-top: 56px;
  padding: 0;
  overflow: hidden;
}
:root[data-theme="dark"] .site-footer {
  --f-bg: #ffffff;
  --f-ink: #111113;
  --f-muted: #4b4b53;
  --f-muted-2: #6e6e77;
  --f-chip: #f2f2ef;
  --f-line: rgba(17, 17, 19, .1);
}

.footer-rift {
  position: relative;
  width: 100%;
  height: 290px;
  background: var(--stage);
  overflow: hidden;
  pointer-events: none;
}
.footer-rift-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-surface {
  position: relative;
  background: var(--f-bg);
  color: var(--f-ink);
  padding: 36px 0 42px;
}

.footer-inner {
  width: min(1280px, calc(100% - 48px));
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}
.footer-brand {
  max-width: 420px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--f-ink);
}
.footer-logo img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}
.footer-tagline {
  margin-top: 12px;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--f-muted);
}
.footer-platforms-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.footer-platforms-mini > span {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--f-chip);
  color: var(--f-ink);
  font-size: .8125rem;
  font-weight: 600;
}

.footer-cols {
  display: flex;
  gap: 56px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-col-label {
  margin-bottom: 4px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--f-muted-2);
}
.footer-col a {
  font-size: .96875rem;
  font-weight: 500;
  color: var(--f-ink);
  opacity: .86;
  transition: opacity .2s ease, color .2s ease;
}
.footer-col a:hover {
  opacity: 1;
  color: var(--accent-red);
}

.footer-fineprint {
  border-top: 1px solid var(--f-line);
  margin-top: 34px;
  padding-top: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  font-size: .875rem;
  line-height: 1.55;
  color: var(--f-muted-2);
}
.footer-copy {
  font-weight: 600;
  color: var(--f-ink);
}
.footer-fineprint > p { flex: 1 1 280px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a {
  white-space: nowrap;
  color: var(--f-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--f-line);
  transition: color .2s;
}
.footer-legal a:hover { color: var(--f-ink); }
.footer-up {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--f-chip);
  color: var(--f-ink);
  font-weight: 600;
  white-space: nowrap;
  transition: transform .25s ease, background-color .2s ease;
}
.footer-up:hover { transform: translateY(-2px); }

@media (max-width: 820px) {
  .footer-rift { height: 190px; }
  .footer-top { flex-direction: column; gap: 30px; }
  .footer-cols { gap: 36px; flex-wrap: wrap; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-header { gap: 14px; }
  .site-header .wordmark-text small { display: none; }
  .desktop-nav { margin-left: auto; }
  .desktop-nav a { padding: 8px 12px; font-size: .875rem; }
  .hero { padding-top: 52px; }
  .showcase { width: calc(100% - 24px); padding: 14px; border-radius: 28px; }
  .dual-preview { grid-template-columns: minmax(0, 1fr) minmax(0, .273fr); gap: 12px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-heading > p { max-width: none; }
  .section-heading > p br { display: none; }
  .steps p { min-height: 130px; }
  .android-head { gap: 36px; }
  .faq-section { gap: 40px; }
}

@media (max-width: 800px) {
  .bottom-bar {
    position: fixed; left: 12px; right: 12px; bottom: calc(11px + env(safe-area-inset-bottom, 0px)); z-index: 55;
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 6px;
    border: 0; border-radius: var(--r-card);
    background: var(--bar-bg); backdrop-filter: blur(22px) saturate(1.1); -webkit-backdrop-filter: blur(22px) saturate(1.1);
  }
  .bottom-bar .nav-pill {
    position: absolute; left: 0; top: 6px; bottom: 6px;
    border-radius: var(--r-panel); background: var(--surface);
    pointer-events: none; opacity: 0; will-change: transform, width, opacity;
  }
  .bottom-bar > a, .bottom-bar > button {
    position: relative; z-index: 1;
    display: grid; justify-items: center; align-content: center; gap: 4px; padding: 9px 2px 8px;
    border: 0; border-radius: var(--r-panel); background: transparent; font: inherit; font-size: .6875rem; line-height: 1.15;
    color: var(--muted); text-align: center; -webkit-appearance: none; appearance: none; transition: color .2s;
  }
  .bottom-bar svg { width: 21px; height: 21px; }
  .bottom-bar > .is-current { color: var(--text); }
  .bottom-bar > .bottom-bar-donate { color: var(--accent-red); cursor: pointer; background: var(--accent-tint-1); }
  .bottom-bar > .bottom-bar-donate[aria-expanded="true"] { background: var(--accent-tint-2); }

  .support-pop:not([hidden]) {
    position: fixed; left: 12px; right: 12px; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 56;
    display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; padding: 18px 18px 16px;
    border: 0; border-radius: var(--r-card); background: var(--card);
  }
  .support-pop p { grid-column: 2; font-size: .9375rem; line-height: 1.55; color: var(--muted); }
  .support-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--surface); color: var(--accent-red); }
  .support-icon svg { width: 20px; height: 20px; }
  .support-pop .support-cta { grid-column: 1 / -1; margin-top: 2px; background: var(--accent-tint-1); color: var(--accent-red); }
  .support-pop-tg { grid-column: 1 / -1; justify-self: center; padding: 4px 2px; font-size: .9375rem; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
  .support-pop-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: var(--r-pill); background: var(--surface); color: var(--muted); cursor: pointer; }
  .support-pop-close svg { width: 16px; height: 16px; transform: rotate(45deg); }

  body { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .wrap { width: calc(100% - 40px); }
  .site-header { --wm-size: 1.75rem; --wm-logo: 40px; height: 82px; gap: 12px; }
  .desktop-nav, .island-sep { display: none; }
  .header-island { margin-left: auto; }
  .hero { padding-top: 44px; padding-bottom: 42px; }
  .platform-button { min-width: 0; font-size: 1rem; padding-inline: 20px; gap: 9px; }
  .showcase { width: calc(100% - 20px); padding: 12px; border-radius: 26px; }
  .showcase-bar { flex-wrap: wrap; gap: 10px; padding: 2px 4px 12px; }
  .dual-preview { grid-template-columns: minmax(0, 1fr) minmax(0, .273fr); gap: 10px; }
  .platforms { gap: 0; padding-block: 76px 68px; }
  .platforms-speed { border-radius: var(--r-panel); padding: 14px 16px; gap: 12px; margin-top: 20px; font-size: .9rem; }
  .platforms-heading { font-size: clamp(1.65rem, 6.2vw, 2.35rem); }
  .platforms-rule { margin: 18px 0 24px; }
  .platform-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .platform-tile { min-height: 76px; padding: 14px 16px; gap: 12px; border-radius: 20px; }
  .platform-tile b { font-size: 1.05rem; }
  .platform-badge { width: 38px; height: 38px; border-radius: 11px; }
  .platform-badge svg { width: 38px; height: 38px; }
  .platform-badge-yt svg { width: 36px; height: 36px; }
  .platform-badge-tt svg { width: 32px; height: 32px; }
  .platform-badge-ok svg { width: 21px; height: 21px; }
  .section-space { padding-block: 64px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 16px; }
  .steps { grid-template-columns: 1fr; }
  .steps p { min-height: 0; margin-bottom: 16px; }
  .quality-note { align-items: flex-start; gap: 14px; padding: 18px 20px; font-size: .95rem; }
  .plus-features { grid-template-columns: 1fr; }
  .plus-perks { grid-template-columns: 1fr; gap: 14px; padding: 0; }
  .plus-compare { padding: 24px 20px; }
  .plus-perks .plus-cta { width: auto; padding: 26px 24px; }
  .plus-perks .cmp th:nth-child(2), .plus-perks .cmp td:nth-child(2),
  .plus-perks .cmp th:nth-child(3), .plus-perks .cmp td:nth-child(3) { width: auto; }
  .faq-section { grid-template-columns: 1fr; gap: 30px; }
  .updates-strip { grid-template-columns: 1fr; gap: 18px; }
  .release-details { max-width: none; justify-self: start; }
}

@media (max-width: 960px) {
  .pocket-copy { width: min(44%, 380px); padding: 18px 20px; }
  .pocket-copy h2 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); margin-top: 8px; }
  .pocket-copy > p:not(.eyebrow) { font-size: .84rem; margin-top: 8px; }
  .pocket-qr-box { gap: 12px; margin-top: 12px; padding-top: 12px; }
  .pocket-qr-code img { width: 72px; }
  .android-head { gap: 32px; }
}

@media (max-width: 680px) {
  .pocket.wrap { width: calc(100% - 24px); }
  .pocket { border-radius: 26px; padding: 12px; }
  .pocket-copy { width: min(48%, 195px); padding: 12px; border-radius: 16px; }
  .pocket-copy .eyebrow { font-size: .5625rem; letter-spacing: .06em; padding: 3px 8px; }
  .pocket-copy h2 { font-size: .95rem; margin-top: 6px; }
  .pocket-copy > p:not(.eyebrow), .pocket-qr-box { display: none; }
  .android-card { padding: 24px 20px; }
  .hero-downloads { display: grid; grid-template-columns: 1fr; max-width: 390px; gap: 16px; margin-inline: auto; }
  .platform-button { min-height: 58px; font-size: 1.0625rem; }
  .dual-preview { grid-template-columns: 1fr; gap: 14px; }
  .showcase[data-mode="desktop"] .dual-preview,
  .showcase[data-mode="mobile"] .dual-preview { grid-template-columns: 1fr; }
  .showcase[data-mode="desktop"] .video-card-android,
  .showcase[data-mode="mobile"] .video-card-windows { display: none; }
  .video-card-android { width: 100%; max-width: 340px; margin-inline: auto; }
  .video-card-android .video-embed { height: auto; width: 100%; max-width: none; }
  .android-head { grid-template-columns: 1fr; gap: 28px; }
  .store-qr-stage { justify-self: center; max-width: 380px; }
  .mobile-slider-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .mobile-slider-heading h2 { font-size: 2.35rem; }
  .mobile-carousel-slide { flex-basis: min(44vw, 300px); }
  .footer-fineprint { flex-wrap: wrap; gap: 14px; }
  .footer-fineprint > p { flex-basis: 100%; order: 3; }
  .footer-fineprint > a { margin-left: auto; }
  .footer-legal { flex-basis: 100%; order: 4; }
}

@media (max-width: 480px) {
  html { scroll-padding-top: 22px; }
  .wrap, .plus-section.wrap { width: calc(100% - 32px); }
  .site-header { --wm-size: 1.45rem; --wm-logo: 36px; height: 72px; gap: 8px; }
  .lang-trigger { height: 32px; padding: 0 9px 0 11px; font-size: .75rem; }
  .theme-toggle { width: 32px; height: 32px; margin-left: 2px; }
  .hero h1 { font-size: clamp(2.1rem, 8.8vw, 2.75rem); letter-spacing: -.05em; line-height: 1.1; }
  .hero-intro { font-size: 1.0625rem; }
  .android-content h2 { font-size: 2.5rem; }
  .mobile-carousel-slide { flex-basis: min(70vw, 300px); }
  .faq-list summary { padding: 18px; font-size: 1rem; }
  .faq-answer { padding: 0 18px 18px; }
  .updates-strip { padding: 20px; }
  .plus-compare { padding: 16px 14px; }
  .cmp { font-size: .875rem; }
  .cmp th, .cmp td { padding: 9px 6px; }
  .cmp-meta td { white-space: normal; }
}

@media (max-width: 360px) {
  .site-header { --wm-size: 1.25rem; --wm-logo: 32px; gap: 6px; }
  .lang-switch a { padding: 6px 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .showcase { transform: none !important; }
  [data-reveal] { opacity: 1 !important; filter: none !important; transform: none !important; }
}
