/* ==========================================================================
   Girok — site.v2.css
   Homepage design system: tokens, base, components, sections.
   Self-hosted fonts only (CSP: font-src 'self'; style-src 'self').
   Versioned filename: nginx serves /assets/* as immutable for 1 year —
   bump the version in the filename for any change.
   ========================================================================== */

/* ── Fonts ─────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Rajdhani'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/rajdhani-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Rajdhani'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/rajdhani-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Rajdhani'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/rajdhani-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokens ────────────────────────────────────────────────────────────── */
:root {
  color-scheme: dark;

  /* Surfaces — Deep Midnight */
  --bg:           #0B0B12;
  --bg-raised:    #10111C;
  --surface:      #171A27;
  --surface-2:    #22263A;

  /* Lines */
  --border:       #30364A;
  --border-soft:  rgba(167, 139, 250, 0.14);
  --border-hover: rgba(167, 139, 250, 0.36);

  /* Text */
  --text:         #F4F5FA;
  --text-2:       #A8AEC0;
  --text-3:       #8A90A6;

  /* Phantom Violet (from lib/core/theme/app_colors.dart) */
  --violet:       #6A2CF0;
  --violet-btn:   #7450E8;
  --violet-soft:  #A78BFA;
  --violet-deep:  #4B1AC7;
  --violet-hi:    #7C3AED;
  --violet-pale:  #C4B5FD;

  --gold:         #F5A623;
  --gold-text:    #F5B44A;
  --success:      #49D6A3;

  --grad-brand:   linear-gradient(90deg, #4B1AC7 0%, #6A2CF0 55%, #7C3AED 100%);
  --grad-btn:     linear-gradient(135deg, #5B2BD9 0%, #7450E8 100%);
  --grad-text:    linear-gradient(90deg, #C4B5FD 0%, #A78BFA 45%, #8B5CF6 100%);
  --grad-card:    linear-gradient(180deg, rgba(34, 38, 58, 0.55) 0%, rgba(23, 26, 39, 0.35) 100%);

  /* Type */
  --font-display: 'Rajdhani', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Space scale (4 · 8 · 16 · 24 · 32 · 48 · 64 · 96 · 128) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 16px; --s-4: 24px; --s-5: 32px;
  --s-6: 48px; --s-7: 64px; --s-8: 96px; --s-9: 128px;

  /* Radii */
  --r-sm: 12px; --r-md: 16px; --r-lg: 24px; --r-pill: 100px;

  /* Layout */
  --container: 1200px;
  --gutter: 16px;
  --header-h: 68px;
  --section-y: clamp(72px, 10vw, 128px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms;
  --t-med: 320ms;

  /* Shadows / glows */
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 24px 48px -28px rgba(0, 0, 0, 0.8);
  --glow-violet: 0 18px 44px -14px rgba(106, 44, 240, 0.65);
}
@media (min-width: 768px)  { :root { --gutter: 24px; --header-h: 76px; } }
@media (min-width: 1280px) { :root { --gutter: 32px; } }

/* ── Reset & base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: var(--violet-soft); text-decoration: none; }
a:hover { color: var(--violet-pale); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
strong { font-weight: 600; }
:focus-visible {
  outline: 2px solid var(--violet-soft);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: rgba(124, 58, 237, 0.55); color: #fff; }

.icon { width: 24px; height: 24px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 16px; height: 16px; }

/* ── Utilities ─────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 18px; border-radius: var(--r-sm);
  background: var(--violet-btn); color: #fff; font-weight: 600;
  transform: translateY(-160%); transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus { transform: none; color: #fff; }
.text-grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Section scaffold ──────────────────────────────────────────────────── */
.section { position: relative; padding-block: var(--section-y); }
.section--raised { background: var(--bg-raised); }
.section--raised::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.18), transparent);
}
.section-head {
  max-width: 760px; margin: 0 auto var(--s-6); text-align: center;
}
.section-head--left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.875rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--violet-soft);
  margin-bottom: var(--s-3);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad-brand);
}
.section-title { font-size: clamp(2rem, 1.35rem + 2.8vw, 3.125rem); }
.section-lead {
  margin-top: var(--s-3); color: var(--text-2);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  --btn-h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h); padding: 0 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 600; font-size: 0.9375rem; line-height: 1;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease),
              background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.btn--sm { --btn-h: 44px; padding: 0 18px; font-size: 0.875rem; }
.btn--primary {
  color: #fff; background: var(--grad-btn);
  box-shadow: 0 0 0 1px rgba(196, 181, 253, 0.18) inset, 0 10px 28px -12px rgba(106, 44, 240, 0.8);
}
.btn--primary:hover {
  color: #fff; transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(196, 181, 253, 0.3) inset, var(--glow-violet);
}
.btn--ghost {
  color: var(--text); border: 1px solid var(--border);
  background: rgba(23, 26, 39, 0.6);
}
.btn--ghost:hover { color: var(--text); border-color: var(--border-hover); }

/* Store buttons */
.store-row { display: flex; flex-wrap: wrap; gap: 14px; }
.store-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 62px; min-width: 216px; padding: 10px 22px 10px 18px;
  border-radius: var(--r-md);
  color: var(--text); text-align: left;
  background: #0F1019;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast), box-shadow var(--t-med) var(--ease);
}
.store-btn .icon { width: 28px; height: 28px; }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn__small { font-size: 0.75rem; color: var(--text-2); letter-spacing: 0.01em; }
.store-btn__big { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; letter-spacing: 0.01em; }
a.store-btn:hover { color: var(--text); transform: translateY(-2px); border-color: var(--border-hover); box-shadow: var(--glow-violet); }
.store-btn--play {
  background: linear-gradient(#0F1019, #0F1019) padding-box,
              linear-gradient(135deg, rgba(167, 139, 250, 0.9), rgba(106, 44, 240, 0.35)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 14px 34px -18px rgba(106, 44, 240, 0.9);
}
.store-btn--soon { cursor: default; opacity: 0.92; }
.store-btn--soon .store-btn__big,
.store-btn--soon .icon { color: var(--text-2); }
.badge-soon {
  align-self: flex-start;
  margin-bottom: 3px;
  padding: 2px 8px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 0.6875rem; line-height: 1.35;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #1A1206; background: var(--gold);
  box-shadow: 0 6px 16px -6px rgba(245, 166, 35, 0.6);
}
@media (max-width: 479px) {
  .store-row { flex-direction: column; align-items: stretch; }
  .store-btn { min-width: 0; width: 100%; }
}

/* Plan badges */
.plan {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.04em;
  border: 1px solid; white-space: nowrap;
}
.plan--free    { color: var(--text-2);      border-color: var(--border);                 background: rgba(34, 38, 58, 0.5); }
.plan--plus    { color: var(--violet-pale); border-color: rgba(167, 139, 250, 0.4);      background: rgba(106, 44, 240, 0.14); }
.plan--creator { color: var(--gold-text);   border-color: rgba(245, 166, 35, 0.45);      background: rgba(245, 166, 35, 0.1); }

/* ── Header ────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-med) var(--ease), border-color var(--t-med) var(--ease),
              backdrop-filter var(--t-med) var(--ease);
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(11, 11, 18, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: rgba(167, 139, 250, 0.12);
}
.site-header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
}
.brand { display: inline-flex; align-items: center; flex: none; padding: 6px 0; }
.brand img { height: 32px; width: auto; }
@media (min-width: 768px) { .brand img { height: 36px; } }

.site-nav { display: none; }
.site-nav ul { display: flex; gap: 4px; list-style: none; padding: 0; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: 0.02em;
  color: var(--text-2);
  transition: color var(--t-fast), background-color var(--t-fast);
}
.site-nav a:hover { color: var(--text); background: rgba(167, 139, 250, 0.08); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: var(--r-sm);
  align-items: center; justify-content: center;
  border: 1px solid var(--border);
  background: rgba(23, 26, 39, 0.6);
}
.js .nav-toggle { display: inline-flex; }
.nav-toggle__bars { position: relative; width: 18px; height: 12px; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast), top var(--t-med) var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.header-cta { display: none; }
@media (min-width: 400px) { .header-cta { display: inline-flex; } }

@media (min-width: 1024px) {
  .site-nav { display: block; }
  .js .nav-toggle { display: none; }
}

/* Mobile navigation panel */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  padding: var(--s-4) var(--gutter) calc(var(--s-5) + env(safe-area-inset-bottom));
  background: rgba(11, 11, 18, 0.97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  overflow-y: auto;
  display: flex; flex-direction: column; gap: var(--s-5);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; padding: 0; }
.mobile-nav li + li { border-top: 1px solid rgba(48, 54, 74, 0.7); }
.mobile-nav a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 60px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--text);
}
.mobile-nav a:not(.btn) .icon { color: var(--violet-soft); }
.mobile-nav .btn { --btn-h: 56px; width: 100%; font-size: 1rem; }
.mobile-nav__note { color: var(--text-3); font-size: 0.875rem; text-align: center; }
.mobile-nav.is-entering { animation: nav-in var(--t-med) var(--ease); }
@keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } }
.nav-open { overflow: hidden; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px));
  padding-bottom: clamp(64px, 8vw, 112px);
  overflow: clip;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(56% 48% at 74% 42%, rgba(106, 44, 240, 0.34) 0%, rgba(106, 44, 240, 0) 70%),
    radial-gradient(38% 34% at 12% 8%, rgba(75, 26, 199, 0.28) 0%, rgba(75, 26, 199, 0) 70%),
    radial-gradient(40% 30% at 50% 100%, rgba(124, 58, 237, 0.16) 0%, rgba(124, 58, 237, 0) 70%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(167, 139, 250, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 60% 35%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 60% 35%, #000 0%, transparent 75%);
}
.hero__inner {
  display: grid; gap: clamp(48px, 7vw, 72px); align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
.hero__copy { text-align: center; max-width: 640px; margin-inline: auto; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; margin-bottom: var(--s-4);
  border-radius: var(--r-pill);
  border: 1px solid var(--border-soft);
  background: rgba(23, 26, 39, 0.7);
  font-size: 0.8125rem; font-weight: 600; color: var(--text-2);
}
.pill__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--violet-soft);
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.18);
}
.hero__title {
  font-size: clamp(2.6rem, 1.3rem + 4vw, 4.75rem);
  line-height: 1.0;
  letter-spacing: -0.012em;
}
.hero__title .text-grad { display: inline-block; padding-right: 0.04em; }
.hero__lead {
  margin: var(--s-4) auto 0; max-width: 54ch;
  color: var(--text-2);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
}
.hero .store-row { margin-top: var(--s-5); justify-content: center; }
.hero__meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px;
  margin-top: var(--s-5); padding: 0; list-style: none;
  font-size: 0.875rem; color: var(--text-2);
}
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .icon { color: var(--success); }

.hero__visual {
  position: relative;
  width: min(100%, 420px);
  margin-inline: auto;
  padding-inline: 24px;
}
.hero__visual::before {
  content: ""; position: absolute; inset: 6% -4% 4%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(124, 58, 237, 0.55), rgba(106, 44, 240, 0) 72%);
  filter: blur(8px);
}

/* Phone frames (screens are cropped from the Girok composites and already include the bezel) */
.phone {
  position: relative;
  margin-inline: auto;
  /* Soft edges so the composite's cropped background melts into the page */
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, #000 3%, #000 82%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, transparent 0%, #000 3%, #000 82%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-composite: intersect;
}
.phone img { width: 100%; height: auto; }
.phone--hero { max-width: 330px; animation: float 7s ease-in-out infinite; }

/* Floating interface chips (decorative) */
.chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  background: rgba(16, 17, 28, 0.82);
  border: 1px solid rgba(167, 139, 250, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip__icon {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  color: #fff; background: var(--grad-btn);
}
.chip__icon .icon { width: 18px; height: 18px; }
.chip__label { display: block; font-size: 0.6875rem; color: var(--text-3); line-height: 1.2; }
.chip__value { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.2; color: var(--text); }
.chip--a { top: 16%; left: -6px; animation-delay: -1.5s; }
.chip--b { top: 46%; right: -10px; animation-delay: -3s; }
.chip--c { bottom: 16%; left: 0; animation-delay: -4.5s; }
@media (max-width: 379px) { .chip { display: none; } }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (min-width: 1024px) {
  .hero { min-height: min(100vh, 940px); display: flex; align-items: center; }
  .hero > .container { width: 100%; }
  .hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .hero__copy { text-align: left; margin: 0; }
  .hero__lead { margin-left: 0; }
  .hero .store-row, .hero__meta { justify-content: flex-start; }
  .hero__visual { width: 100%; max-width: 460px; padding-inline: 48px; }
  .phone--hero { max-width: 340px; }
  .chip--a { left: 0; }
  .chip--b { right: 0; }
  .chip--c { left: 12px; }
}

/* ── Cards ─────────────────────────────────────────────────────────────── */
.card {
  position: relative;
  padding: var(--s-5) var(--s-4);
  border-radius: var(--r-lg);
  background: var(--grad-card), var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.card::before {
  content: ""; position: absolute; top: -1px; left: 18%; right: 18%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.6), transparent);
}
@media (hover: hover) {
  .card--hover:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card), 0 28px 60px -32px rgba(106, 44, 240, 0.7);
  }
}
.icon-tile {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 15px;
  color: var(--violet-pale);
  background: linear-gradient(135deg, rgba(106, 44, 240, 0.32), rgba(106, 44, 240, 0.06));
  border: 1px solid rgba(167, 139, 250, 0.26);
  margin-bottom: var(--s-4);
}
.card__title { font-size: 1.4375rem; margin-bottom: var(--s-2); }
.card__text { color: var(--text-2); font-size: 0.9688rem; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-3); padding: 0; list-style: none; }
.tag {
  display: inline-flex; padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 0.75rem; font-weight: 600; color: var(--text-2);
  background: rgba(34, 38, 58, 0.7); border: 1px solid rgba(48, 54, 74, 0.9);
}

.grid { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px)  { .grid--4, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ── Showcase gallery ──────────────────────────────────────────────────── */
.showcase { overflow: clip; }
.showcase::after {
  content: ""; position: absolute; left: 50%; top: 55%; z-index: 0;
  width: min(1100px, 120vw); height: 520px; transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(106, 44, 240, 0.22), transparent 70%);
  pointer-events: none;
}
.gallery { position: relative; z-index: 1; }
.gallery__track {
  display: flex; gap: clamp(16px, 2.2vw, 28px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 12px var(--gutter) 28px;
  margin: 0; list-style: none;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item {
  flex: 0 0 clamp(236px, 70vw, 300px);
  scroll-snap-align: center;
}
@media (min-width: 768px) { .gallery__item { scroll-snap-align: start; } }
.gallery__frame {
  position: relative; overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  background: var(--surface);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.gallery__frame img { width: 100%; aspect-ratio: 941 / 1671; object-fit: cover; }
@media (hover: hover) {
  .gallery__item:hover .gallery__frame {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 30px 60px -30px rgba(106, 44, 240, 0.65);
  }
}
.gallery__caption { padding: var(--s-3) 4px 0; }
.gallery__caption h3 { font-size: 1.25rem; }
.gallery__caption p { color: var(--text-2); font-size: 0.875rem; margin-top: 4px; line-height: 1.5; }
.gallery__controls {
  display: flex; align-items: center; justify-content: center; gap: var(--s-3);
  margin-top: var(--s-2);
}
.gallery__btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(23, 26, 39, 0.8); color: var(--text);
  transition: border-color var(--t-fast), background-color var(--t-fast), opacity var(--t-fast);
}
.gallery__btn:hover:not(:disabled) { border-color: var(--border-hover); background: rgba(106, 44, 240, 0.18); }
.gallery__btn:disabled { opacity: 0.35; cursor: default; }
.gallery__status {
  min-width: 64px; text-align: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.gallery__controls { display: none; }
.js .gallery__controls { display: flex; }
.js .gallery.is-static .gallery__controls { display: none; }
/* Wide screens: all five screens in one row, gently arced */
@media (min-width: 1200px) {
  .gallery__track {
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    overflow: visible;
    scroll-snap-type: none;
    padding-top: 8px; padding-bottom: 44px;
  }
  .gallery__item { flex: 1 1 0; min-width: 0; }
  .gallery__item:nth-child(1), .gallery__item:nth-child(5) { transform: translateY(32px); }
  .gallery__item:nth-child(2), .gallery__item:nth-child(4) { transform: translateY(12px); }
}
.note {
  display: flex; gap: 10px; align-items: flex-start;
  max-width: 720px; margin: var(--s-5) auto 0; padding: 12px 16px;
  border-radius: var(--r-sm);
  background: rgba(23, 26, 39, 0.7); border: 1px solid var(--border-soft);
  color: var(--text-2); font-size: 0.8125rem; line-height: 1.55;
}
.note .icon { color: var(--violet-soft); margin-top: 1px; }

/* ── How it works ──────────────────────────────────────────────────────── */
.steps {
  position: relative;
  display: grid; gap: var(--s-4);
  grid-template-columns: minmax(0, 1fr);
  list-style: none; padding: 0;
  counter-reset: step;
}
.step {
  position: relative;
  padding: var(--s-5) var(--s-4) var(--s-5) 88px;
}
.step__num {
  position: absolute; left: 22px; top: 28px;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 12px 28px -12px rgba(106, 44, 240, 0.9);
}
.step__title { font-size: 1.5rem; margin-bottom: var(--s-2); }
.step__text { color: var(--text-2); font-size: 0.9688rem; }
.step__list { margin-top: var(--s-3); padding: 0; list-style: none; display: grid; gap: 8px; }
.step__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; color: var(--text); }
.step__list .icon { color: var(--violet-soft); margin-top: 3px; }
/* Mobile timeline connector */
.steps::before {
  content: ""; position: absolute; left: 46px; top: 60px; bottom: 60px; width: 2px;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.5), rgba(106, 44, 240, 0.1));
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
  .steps::before {
    left: 16.66%; right: 16.66%; top: 52px; bottom: auto; width: auto; height: 2px;
    background: linear-gradient(90deg, rgba(167, 139, 250, 0.1), rgba(167, 139, 250, 0.6), rgba(167, 139, 250, 0.1));
  }
  .step { padding: 96px var(--s-5) var(--s-5); text-align: left; }
  .step__num { left: var(--s-5); top: 28px; }
}

/* ── Feature highlights ────────────────────────────────────────────────── */
.feature-row {
  display: grid; gap: clamp(40px, 6vw, 80px); align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
.feature-row + .feature-row { margin-top: clamp(72px, 9vw, 120px); }
.feature-row__media { position: relative; display: flex; justify-content: center; }
.feature-row__media::before {
  content: ""; position: absolute; inset: 8% 4%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(106, 44, 240, 0.35), transparent 70%);
}
.feature-row__media .phone { width: min(100%, 320px); }
.feature-row__title { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); }
.feature-row__text { color: var(--text-2); margin-top: var(--s-3); }
.checklist { list-style: none; padding: 0; margin-top: var(--s-4); display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .tick {
  flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 2px;
  border-radius: 50%; color: var(--violet-pale);
  background: rgba(106, 44, 240, 0.22); border: 1px solid rgba(167, 139, 250, 0.3);
}
.checklist .tick .icon { width: 14px; height: 14px; }
.checklist strong { color: var(--text); }
.checklist span { color: var(--text-2); }
@media (min-width: 1024px) {
  .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-row--reverse .feature-row__media { order: 2; }
}

/* Quality table */
.spec-table {
  width: 100%; margin-top: var(--s-4);
  border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--border-soft); border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(23, 26, 39, 0.7);
  font-size: 0.9375rem;
}
.spec-table th, .spec-table td { padding: 12px 14px; text-align: left; }
.spec-table thead th {
  font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3);
  background: rgba(34, 38, 58, 0.6);
}
.spec-table tbody tr + tr td, .spec-table tbody tr + tr th { border-top: 1px solid rgba(48, 54, 74, 0.7); }
.spec-table tbody th { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; }
.spec-table td { color: var(--text-2); font-variant-numeric: tabular-nums; }
.table-note { margin-top: var(--s-3); font-size: 0.8125rem; color: var(--text-3); }
@media (max-width: 420px) {
  .spec-table th, .spec-table td { padding: 10px 8px; }
  .spec-table { font-size: 0.8125rem; }
  .spec-table tbody th { font-size: 1rem; }
  .spec-table .plan { padding: 2px 7px; font-size: 0.75rem; }
}

/* Orientation pair */
.poster-pair {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px);
  width: min(100%, 520px);
}
.poster-pair .gallery__frame:nth-child(2) { transform: translateY(32px); }

/* Audio + library cards */
.duo { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); margin-top: clamp(72px, 9vw, 120px); }
@media (min-width: 900px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.duo .card { padding: var(--s-5); }
.meters { display: grid; gap: 14px; margin-top: var(--s-4); }
.meter__row { display: flex; justify-content: space-between; font-size: 0.875rem; margin-bottom: 6px; }
.meter__row span:first-child { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.meter__row span:last-child { color: var(--text-3); font-variant-numeric: tabular-nums; }
.meter__track { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.meter__fill { height: 100%; border-radius: 8px; background: var(--grad-brand); }
.meter__fill--70 { width: 70%; }
.meter__fill--90 { width: 90%; }
.mode-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-4); padding: 0; list-style: none; }
.mode-list li {
  padding: 8px 14px; border-radius: var(--r-pill); font-size: 0.8125rem; font-weight: 600;
  border: 1px solid var(--border); color: var(--text-2); background: rgba(34, 38, 58, 0.5);
}
.mode-list li.is-plus { border-color: rgba(167, 139, 250, 0.4); color: var(--violet-pale); background: rgba(106, 44, 240, 0.14); }
.filter-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-top: var(--s-4); border-radius: var(--r-pill); background: var(--surface-2); }
.filter-tabs span { padding: 6px 14px; border-radius: var(--r-pill); font-size: 0.8125rem; font-weight: 600; color: var(--text-2); }
.filter-tabs span:first-child { color: #fff; background: var(--grad-btn); }

/* ── Cloud ─────────────────────────────────────────────────────────────── */
.cloud { overflow: clip; }
.cloud__inner {
  display: grid; gap: clamp(48px, 6vw, 80px); align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1024px) { .cloud__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.cloud__visual { position: relative; display: flex; flex-direction: column; align-items: center; padding: 24px 0; }
.feature-row__media .cloud__visual { width: 100%; }
.visual-caption {
  max-width: 34ch; margin-top: var(--s-2);
  text-align: center; font-size: 0.8125rem; line-height: 1.5; color: var(--text-3);
}
.cloud__visual .phone { width: min(100%, 320px); }
.cloud__orb {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(45% 40% at 50% 45%, rgba(106, 44, 240, 0.45), transparent 70%),
    radial-gradient(30% 25% at 80% 15%, rgba(167, 139, 250, 0.2), transparent 70%);
}
.cloud__float {
  position: absolute; display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 20px;
  color: var(--violet-pale);
  background: rgba(16, 17, 28, 0.85);
  border: 1px solid rgba(167, 139, 250, 0.3);
  box-shadow: 0 20px 40px -20px rgba(106, 44, 240, 0.9);
  animation: float 7s ease-in-out infinite;
}
.cloud__float img, .cloud__float .icon { width: 30px; height: 30px; }
.cloud__float--a { top: 10%; right: max(0px, calc(50% - 230px)); animation-delay: -2s; }
.cloud__float--b { bottom: 18%; left: max(0px, calc(50% - 230px)); animation-delay: -4s; }
.plans { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--s-5); }
.plan-tile {
  padding: 16px 14px; border-radius: var(--r-md);
  background: rgba(23, 26, 39, 0.8); border: 1px solid var(--border-soft);
}
.plan-tile__size { display: block; margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1; }
.plan-tile__label { display: block; margin-top: 4px; font-size: 0.75rem; color: var(--text-3); }
.plan-tile--creator { border-color: rgba(245, 166, 35, 0.32); }
@media (max-width: 379px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
}

/* ── Why Girok ─────────────────────────────────────────────────────────── */
.why .card { padding: var(--s-4); display: flex; gap: var(--s-3); align-items: flex-start; }
.why .icon-tile { margin: 0; flex: none; width: 46px; height: 46px; border-radius: 13px; }
.why .card__title { font-size: 1.25rem; margin-bottom: 4px; }
.why .card__text { font-size: 0.9375rem; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item {
  border-radius: var(--r-md);
  background: rgba(23, 26, 39, 0.75);
  border: 1px solid var(--border-soft);
  transition: border-color var(--t-med) var(--ease), background-color var(--t-med) var(--ease);
}
.faq__item[open] { border-color: rgba(167, 139, 250, 0.32); background: var(--surface); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  min-height: 64px; padding: 16px 20px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; line-height: 1.3;
  cursor: pointer; list-style: none; border-radius: var(--r-md);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--violet-pale); }
.faq__icon {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  color: var(--violet-soft); background: rgba(106, 44, 240, 0.16); border: 1px solid rgba(167, 139, 250, 0.25);
  transition: transform var(--t-med) var(--ease);
}
.faq__icon .icon { width: 16px; height: 16px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__answer { padding: 0 20px 20px; color: var(--text-2); }
.faq__answer p + p { margin-top: 10px; }
.faq__item[open] .faq__answer { animation: faq-in var(--t-med) var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }

/* ── Final CTA ─────────────────────────────────────────────────────────── */
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 72px);
  border-radius: clamp(24px, 3vw, 36px);
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(167, 139, 250, 0.35), transparent 70%),
    linear-gradient(135deg, #2A1170 0%, #4B1AC7 45%, #6A2CF0 100%);
  border: 1px solid rgba(196, 181, 253, 0.28);
  box-shadow: 0 40px 100px -50px rgba(106, 44, 240, 0.9);
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 80%);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 80%);
}
.cta-panel__logo { width: 64px; height: 64px; margin: 0 auto var(--s-4); border-radius: 18px; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.6); }
.cta-panel h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); max-width: 18ch; margin-inline: auto; }
.cta-panel p { margin: var(--s-3) auto 0; max-width: 46ch; color: #E9E3FF; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); }
.cta-panel .store-row { justify-content: center; margin-top: var(--s-5); }
.cta-panel .store-btn--play {
  background: #0B0B12; border: 1px solid rgba(255, 255, 255, 0.22);
}
.cta-panel .store-btn--soon { background: rgba(11, 11, 18, 0.55); border-color: rgba(255, 255, 255, 0.18); }
.cta-panel .store-btn--soon .store-btn__small,
.cta-panel .store-btn--soon .store-btn__big,
.cta-panel .store-btn--soon .icon { color: #D9D2F5; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  padding: clamp(56px, 7vw, 88px) 0 var(--s-5);
  border-top: 1px solid rgba(48, 54, 74, 0.7);
  background: linear-gradient(180deg, var(--bg) 0%, #08080E 100%);
}
.footer-grid {
  display: grid; gap: var(--s-6) var(--s-5);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); } }
.footer-brand a { display: inline-block; padding: 4px 0; }
.footer-brand img { height: 36px; width: auto; }
.footer-brand p { margin-top: var(--s-3); max-width: 34ch; color: var(--text-2); font-size: 0.9375rem; }
.footer-col h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text);
  margin-bottom: var(--s-3);
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.footer-col a, .footer-col .footer-text {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
  color: var(--text-2); font-size: 0.9375rem;
}
.footer-col a:hover { color: var(--text); }
.footer-col .footer-text { min-height: 0; padding: 8px 0; line-height: 1.5; }
.footer-mail { word-break: break-word; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: clamp(40px, 6vw, 64px); padding-top: var(--s-4);
  border-top: 1px solid rgba(48, 54, 74, 0.6);
  color: var(--text-3); font-size: 0.8125rem;
}
.footer-bottom p { max-width: 70ch; }

/* ==========================================================================
   v2 — inner pages (Features, Download, Support, About, legal)
   ========================================================================== */

/* Active navigation item */
.site-nav a[aria-current="page"] { color: var(--text); background: rgba(167, 139, 250, 0.12); }
.mobile-nav a[aria-current="page"] { color: var(--violet-pale); }

/* Inner-page hero */
.page-hero {
  position: relative; overflow: clip; isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(48px, 6vw, 80px);
  text-align: center;
}
.page-hero .hero__bg::before {
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(106, 44, 240, 0.32) 0%, rgba(106, 44, 240, 0) 70%),
    radial-gradient(30% 40% at 85% 20%, rgba(75, 26, 199, 0.22) 0%, rgba(75, 26, 199, 0) 70%);
}
.page-hero .hero__bg::after {
  -webkit-mask-image: radial-gradient(60% 70% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 70% at 50% 0%, #000 0%, transparent 75%);
}
.page-hero__title { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4rem); line-height: 1.02; max-width: 18ch; margin-inline: auto; }
.page-hero__lead {
  margin: var(--s-4) auto 0; max-width: 60ch;
  color: var(--text-2); font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
}
.page-hero .store-row, .page-hero .btn-row { justify-content: center; margin-top: var(--s-5); }
.page-hero .eyebrow { justify-content: center; }
/* Override the homepage hero's left alignment (≥1024px) for inner pages */
.page-hero .hero__copy { text-align: center; margin-inline: auto; max-width: 820px; }
.page-hero--legal { padding-bottom: clamp(24px, 4vw, 40px); }
/* Legal pages: heading lines up with the 760px reading column */
.page-hero--legal .hero__copy { text-align: left; max-width: 760px; }
.page-hero--legal .eyebrow { justify-content: flex-start; }
.page-hero--legal .page-hero__title { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.25rem); margin-inline: 0; max-width: none; }
/* The hero already supplies the space above the first section */
.page-hero + .section { padding-top: clamp(24px, 4vw, 48px); }
.page-hero--legal + .section { padding-top: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Jump links (in-page sub navigation) */
.jump-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-top: var(--s-5); padding: 0; list-style: none;
}
.jump-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: var(--r-pill); border: 1px solid var(--border-soft);
  background: rgba(23, 26, 39, 0.7); color: var(--text-2); font-weight: 600; font-size: 0.875rem;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.jump-links a:hover { color: var(--text); border-color: var(--border-hover); }
.jump-links .icon { color: var(--violet-soft); }

/* Feature detail blocks */
.detail { scroll-margin-top: calc(var(--header-h) + 16px); }
.detail + .detail { margin-top: clamp(72px, 9vw, 120px); }
.detail-grid { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); margin-top: var(--s-5); }
@media (min-width: 640px)  { .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .detail-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mini-card { padding: var(--s-4); }
.mini-card .icon-tile { width: 44px; height: 44px; border-radius: 12px; margin-bottom: var(--s-3); }
.mini-card .icon-tile .icon { width: 20px; height: 20px; }
.mini-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.mini-card p { color: var(--text-2); font-size: 0.9375rem; }

/* Plan comparison */
.compare-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--border-soft); background: rgba(23, 26, 39, 0.7); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.9375rem; }
.compare th, .compare td { padding: 14px 16px; text-align: center; vertical-align: middle; }
.compare thead th { background: rgba(34, 38, 58, 0.6); padding-top: 18px; padding-bottom: 18px; }
.compare thead th:first-child, .compare tbody th { text-align: left; }
.compare tbody th { font-weight: 600; color: var(--text); font-family: var(--font-body); font-size: 0.9375rem; }
.compare tbody tr + tr > * { border-top: 1px solid rgba(48, 54, 74, 0.7); }
.compare td { color: var(--text-2); }
.compare .yes { color: var(--success); }
.compare .no { color: var(--text-3); }
.compare .icon { margin-inline: auto; width: 20px; height: 20px; }
.compare-note { margin-top: var(--s-3); font-size: 0.8125rem; color: var(--text-3); }

/* Prose (legal + long-form) */
.prose { max-width: 760px; margin-inline: auto; color: var(--text-2); }
.prose > * + * { margin-top: 1em; }
.prose h2 {
  margin-top: 2.2em; color: var(--text);
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.prose h3 { margin-top: 1.6em; color: var(--text); font-size: 1.25rem; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--violet-soft); }
.prose a { text-decoration: underline; text-decoration-color: rgba(167, 139, 250, 0.45); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose code {
  padding: 2px 6px; border-radius: 6px; font-size: 0.875em;
  background: var(--surface-2); color: var(--violet-pale);
}
.prose .meta { color: var(--text-3); font-size: 0.875rem; }
.prose .toc {
  margin-top: var(--s-5); padding: 4px 20px;
  border-radius: var(--r-md); border: 1px solid var(--border-soft); background: rgba(23, 26, 39, 0.75);
}
.prose .toc summary {
  min-height: 52px; display: flex; align-items: center; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--text);
}
.prose .toc ol { margin: 0 0 16px; columns: 1; }
@media (min-width: 720px) { .prose .toc ol { columns: 2; column-gap: 40px; } }
.prose .toc li { break-inside: avoid; }
.prose .toc a { text-decoration: none; color: var(--text-2); }
.prose .toc a:hover { color: var(--text); }
.prose .info-box {
  margin-top: var(--s-4); padding: var(--s-4);
  border-radius: var(--r-md); border: 1px solid var(--border-soft);
  background: var(--grad-card), var(--surface);
}
.prose .info-box h3 { margin-top: 0; }
.draft-banner {
  display: flex; gap: 12px; align-items: flex-start;
  max-width: 760px; margin: 0 auto var(--s-5); padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(245, 166, 35, 0.45); background: rgba(245, 166, 35, 0.1);
  color: var(--gold-text); font-size: 0.9375rem;
}
.draft-banner strong { color: var(--gold-text); }

/* Contact + support */
.contact-grid { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-card { padding: var(--s-5); }
.contact-card h2, .contact-card h3 { font-size: 1.5rem; margin-bottom: var(--s-2); }
.contact-card p { color: var(--text-2); }
.contact-card .btn { margin-top: var(--s-4); }
.contact-card .tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-4); padding: 0; list-style: none; }
.mail-link { font-weight: 600; word-break: break-word; }
.help-group + .help-group { margin-top: clamp(48px, 6vw, 72px); }
.help-group__head { display: flex; align-items: center; gap: 14px; margin-bottom: var(--s-4); scroll-margin-top: calc(var(--header-h) + 16px); }
.help-group__head .icon-tile { margin: 0; width: 44px; height: 44px; border-radius: 12px; }
.help-group__head h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); }
.faq--left { margin-inline: 0; max-width: none; }
.faq__answer ol, .faq__answer ul { padding-left: 1.3em; margin-top: 8px; }
.faq__answer li + li { margin-top: 6px; }
.faq__answer strong { color: var(--text); }

/* Numbered list of steps (download) */
.numbered { list-style: none; padding: 0; display: grid; gap: var(--s-3); counter-reset: n; }
.numbered > li {
  counter-increment: n; position: relative;
  padding: var(--s-4) var(--s-4) var(--s-4) 76px;
}
.numbered > li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; left: 20px; top: 22px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  font-family: var(--font-display); font-weight: 700; color: #fff; background: var(--grad-btn);
}
.numbered h3 { font-size: 1.25rem; margin-bottom: 4px; }
.numbered p { color: var(--text-2); font-size: 0.9375rem; }

/* Stats strip (about) */
.stats { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--s-6); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding: var(--s-4); text-align: center; border-radius: var(--r-md); border: 1px solid var(--border-soft); background: rgba(23, 26, 39, 0.75); }
.stat__value { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.05; }
.stat__label { display: block; margin-top: 6px; font-size: 0.8125rem; color: var(--text-3); }
.lead-block { max-width: 760px; margin-inline: auto; }
.lead-block p { color: var(--text-2); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); }
.lead-block p + p { margin-top: 1em; }
.lead-block .section-title { margin-bottom: var(--s-4); }
.lead-block strong { color: var(--text); }

.note--left { margin-left: 0; margin-right: 0; }
.note strong { color: var(--text); }

/* Text link with arrow */
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; }
.link-arrow .icon { transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.section-cta { margin-top: var(--s-5); text-align: center; }

/* ── Reveal on scroll (only when JS is running) ────────────────────────── */
.js .reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { --reveal-delay: 80ms; }
.reveal--d2 { --reveal-delay: 160ms; }
.reveal--d3 { --reveal-delay: 240ms; }

/* Hero entrance (CSS only, no JS dependency) */
.hero__copy > * { animation: rise 700ms var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: 60ms; }
.hero__copy > :nth-child(3) { animation-delay: 120ms; }
.hero__copy > :nth-child(4) { animation-delay: 180ms; }
.hero__copy > :nth-child(5) { animation-delay: 240ms; }
.hero__visual { animation: rise 900ms 120ms var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ── Reduced motion ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* Wide tables scroll inside their own box on small phones */
.table-scroll { margin-top: var(--s-4); overflow-x: auto; border-radius: var(--r-md); }
.table-scroll .spec-table { margin-top: 0; min-width: 440px; }
