/* ============================================================================
   رِماية — the public website's design system (site.css)
   ----------------------------------------------------------------------------
   One stylesheet for every marketing page: home, how it works, use cases,
   plans, FAQ, contact, the legal pages and the 404, in Arabic (RTL) and English
   (LTR). The contract other pages build on is SITE_SHELL.md.

   Identity is the dashboard's (prototypes/admin/css/base.css): the same three
   purples, the same token NAMES, the same «Rimaya Arabic» face. Two themes,
   both first-class:
     · light — airy lavender canvas, white cards, purple ink and soft glows;
     · dark  — «Midnight Velvet»: near-black canvas under a deep-purple
               atmosphere, Electric and Violet used as light, never as flat
               fills behind body text.
   The theme follows the OS (`prefers-color-scheme`) and the header toggle
   overrides it with `html[data-theme]`.

   Rules: logical properties only (RTL and LTR from one sheet), no hard-coded
   colours in components (tokens only), every animation off under
   `prefers-reduced-motion`, and content fully visible with no JavaScript —
   reveal styles exist only under `@media (scripting: enabled)`.
   ========================================================================== */

/* ---------------------------------------------------------------- fonts --- */
/* The two Arabic faces every page preloads (400, 700) are `optional`, not
   `swap` (FIX-2). The fallback Arabic face is wider than IBM Plex, so under a
   slow first load the hero title wrapped to three lines and jumped back to two
   when the font swapped in: a layout shift of 0.155–0.174 at 390px (4× CPU,
   1.6 Mbps). `block` does not help — invisible text is still laid out in the
   fallback metrics. With `optional` and the preload, Chrome holds first paint
   briefly for them: on a 4G phone the page paints in Plex with a shift of 0,
   and only on a very slow first visit does it keep the system face for that
   view (the font is cached for the next page). The faces that are not
   preloaded (Arabic 500, the Latin subset: digits and English) stay `swap` —
   `optional` would strand them on the fallback — and measure ≤ 0.001. */
@font-face {
  font-family: "Rimaya Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Rimaya Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Rimaya Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("/fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Rimaya Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rimaya Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rimaya Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------- tokens --- */
:root {
  color-scheme: light;

  /* the identity (BRAND_NOTES §1) */
  --brand-deep: #331761;
  --brand: #5c17fd;
  --brand-violet: #bb50f8;
  --brand-mid: #4717ad;
  --charcoal: #1a1a1a;
  --white: #ffffff;

  /* fills carry text; inks are read on a surface */
  --brand-fill: #5c17fd;
  --brand-deep-fill: #331761;
  --on-brand: #ffffff;
  --gradient-brand: linear-gradient(135deg, #331761 0%, #5c17fd 100%);
  --gradient-cta: linear-gradient(135deg, #5c17fd 0%, #7a3dff 55%, #9b45f5 100%);
  --gradient-text: linear-gradient(100deg, #5c17fd 0%, #9b45f5 60%, #bb50f8 100%);

  /* neutrals — derived from deep + charcoal, AA checked on --surface */
  --canvas: #f7f6fa;
  --canvas-alt: #f1eef8;
  --surface: #ffffff;
  --surface-sunken: #f2f0f7;
  --surface-hover: #faf9fd;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --ink: #1a1a1a;
  --ink-secondary: #55516b;
  --ink-muted: #6e6885;
  --hairline: #e6e3ee;
  --hairline-strong: #d3cee2;
  --accent-soft: #ede6ff;
  --accent-soft-ink: #4717ad;
  --accent-mid: #c9b8e8;
  --ok: #007a3e;
  --ok-soft: #e6f7ef;
  --no: #8a8499;

  /* atmosphere */
  --glow-a: rgba(92, 23, 253, 0.16);
  --glow-b: rgba(187, 80, 248, 0.14);
  --dot: rgba(51, 23, 97, 0.09);
  --shadow-1: 0 1px 2px rgba(31, 17, 61, 0.05), 0 2px 8px rgba(31, 17, 61, 0.05);
  --shadow-2: 0 2px 6px rgba(31, 17, 61, 0.05), 0 18px 40px -12px rgba(51, 23, 97, 0.18);
  --shadow-3: 0 4px 12px rgba(31, 17, 61, 0.06), 0 40px 80px -24px rgba(51, 23, 97, 0.3);
  --shadow-cta: 0 10px 28px -8px rgba(92, 23, 253, 0.55);
  --rim: transparent;
  --header-bg: rgba(247, 246, 250, 0.82);
  --device: #17131f;
  --device-edge: #2c2538;

  /* type */
  --font: "Rimaya Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --fw-body: 400;
  --fw-strong: 500;
  --fw-head: 700;
  --fs-hero: clamp(2.35rem, 1.6rem + 3.6vw, 4.5rem);
  --fs-h1: clamp(2.1rem, 1.6rem + 2.4vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.8vw, 2.75rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.375rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* space + shape */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 9vw, 128px);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;

  /* names the voice agent's floater (css/agent-float.css) reads */
  --electric: #5c17fd;
  --violet: #bb50f8;
}

/* dark — a full palette, not an inversion. Inks are lifted so they stay AA on
   the dark surfaces (same values as the dashboard's dark block). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --canvas: #0e0b14;
    --canvas-alt: #120e1a;
    --surface: #17131f;
    --surface-sunken: #120f18;
    --surface-hover: #1f1a29;
    --surface-glass: rgba(26, 21, 36, 0.66);
    --ink: #f4f2f7;
    --ink-secondary: #c6c0d2;
    --ink-muted: #9d96af;
    --hairline: rgba(255, 255, 255, 0.09);
    --hairline-strong: rgba(255, 255, 255, 0.16);
    --accent-soft: rgba(187, 80, 248, 0.14);
    --accent-soft-ink: #d6c2ff;
    --accent-mid: #6b4e93;
    --brand: #b98cff;
    --brand-deep: #d6c2ff;
    --brand-mid: #a47cff;
    --ok: #4bd08f;
    --ok-soft: rgba(75, 208, 143, 0.12);
    --no: #7d768f;
    --gradient-text: linear-gradient(100deg, #b98cff 0%, #d08bff 55%, #e7a8ff 100%);
    --glow-a: rgba(92, 23, 253, 0.32);
    --glow-b: rgba(187, 80, 248, 0.2);
    --dot: rgba(255, 255, 255, 0.05);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-2: 0 18px 40px -16px rgba(0, 0, 0, 0.7);
    --shadow-3: 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.04);
    --shadow-cta: 0 10px 34px -8px rgba(92, 23, 253, 0.8);
    --rim: rgba(187, 140, 255, 0.22);
    --header-bg: rgba(14, 11, 20, 0.74);
    --device: #08060c;
    --device-edge: #2a2335;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #0e0b14;
  --canvas-alt: #120e1a;
  --surface: #17131f;
  --surface-sunken: #120f18;
  --surface-hover: #1f1a29;
  --surface-glass: rgba(26, 21, 36, 0.66);
  --ink: #f4f2f7;
  --ink-secondary: #c6c0d2;
  --ink-muted: #9d96af;
  --hairline: rgba(255, 255, 255, 0.09);
  --hairline-strong: rgba(255, 255, 255, 0.16);
  --accent-soft: rgba(187, 80, 248, 0.14);
  --accent-soft-ink: #d6c2ff;
  --accent-mid: #6b4e93;
  --brand: #b98cff;
  --brand-deep: #d6c2ff;
  --brand-mid: #a47cff;
  --ok: #4bd08f;
  --ok-soft: rgba(75, 208, 143, 0.12);
  --no: #7d768f;
  --gradient-text: linear-gradient(100deg, #b98cff 0%, #d08bff 55%, #e7a8ff 100%);
  --glow-a: rgba(92, 23, 253, 0.32);
  --glow-b: rgba(187, 80, 248, 0.2);
  --dot: rgba(255, 255, 255, 0.05);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 18px 40px -16px rgba(0, 0, 0, 0.7);
  --shadow-3: 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --shadow-cta: 0 10px 34px -8px rgba(92, 23, 253, 0.8);
  --rim: rgba(187, 140, 255, 0.22);
  --header-bg: rgba(14, 11, 20, 0.74);
  --device: #08060c;
  --device-edge: #2a2335;
}

/* ---------------------------------------------------------------- reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
figure,
blockquote {
  margin: 0;
}
ul[class],
ol[class] {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-weight: var(--fw-head);
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: var(--accent-mid);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.visually-hidden {
  position: absolute !important;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.num,
bdi.num {
  font-variant-numeric: tabular-nums;
}

/* -------------------------------------------------------------- layout --- */
.wrap {
  inline-size: 100%;
  max-inline-size: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow {
  max-inline-size: calc(820px + var(--gutter) * 2);
}
.section {
  position: relative;
  padding-block: var(--section);
}
.section--tight {
  padding-block: calc(var(--section) * 0.6);
}
.section--alt {
  background: var(--canvas-alt);
}
.section--line {
  border-block-start: 1px solid var(--hairline);
}
.stack > * + * {
  margin-block-start: var(--stack, 1rem);
}

/* ---------------------------------------------------------------- skip --- */
.skip {
  position: absolute;
  inset-inline-start: 16px;
  inset-block-start: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--brand-fill);
  color: var(--on-brand);
  font-weight: var(--fw-strong);
  text-decoration: none;
}
.skip:focus {
  inset-block-start: 12px;
}

/* ------------------------------------------------------------- buttons --- */
.btn {
  --btn-h: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-block-size: var(--btn-h);
  padding-inline: 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-weight: var(--fw-strong);
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.btn:hover {
  text-decoration: none;
}
.btn--primary {
  background: var(--gradient-cta);
  color: var(--on-brand);
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(92, 23, 253, 0.7);
}
.btn--secondary {
  background: var(--surface);
  border-color: var(--hairline-strong);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}
.btn--secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-strong);
}
.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.btn--sm {
  --btn-h: 42px;
  padding-inline: 18px;
  font-size: 0.9375rem;
}
.btn--lg {
  --btn-h: 58px;
  padding-inline: 30px;
  font-size: 1.0625rem;
}
.btn--block {
  inline-size: 100%;
}
.btn__icon {
  inline-size: 18px;
  block-size: 18px;
  flex: none;
}
/* arrows are drawn pointing "forward" for RTL (to the left); LTR flips them */
[dir="ltr"] .btn__icon--fwd,
[dir="ltr"] .icon-fwd {
  transform: scaleX(-1);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: var(--fw-strong);
  color: var(--brand);
  text-decoration: none;
}
.link-arrow:hover {
  text-decoration: underline;
}
.link-arrow svg {
  inline-size: 16px;
  block-size: 16px;
  transition: transform 0.2s var(--ease);
}
.link-arrow:hover svg {
  transform: translateX(-3px);
}
[dir="ltr"] .link-arrow svg {
  transform: scaleX(-1);
}
[dir="ltr"] .link-arrow:hover svg {
  transform: scaleX(-1) translateX(-3px);
}

/* -------------------------------------------------------------- header --- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  transition:
    background-color 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
  border-block-end: 1px solid transparent;
}
.site-header.is-stuck {
  background: var(--header-bg);
  border-block-end-color: var(--hairline);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-block-size: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  border-radius: 8px;
}
.brand img {
  inline-size: auto;
  block-size: 40px;
}
.brand__logo--dark {
  display: none;
}
:root[data-theme="dark"] .brand__logo--light {
  display: none;
}
:root[data-theme="dark"] .brand__logo--dark {
  display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand__logo--light {
    display: none;
  }
  :root:not([data-theme="light"]) .brand__logo--dark {
    display: block;
  }
}
.site-nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}
.site-nav a {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  color: var(--ink-secondary);
  font-weight: var(--fw-strong);
  font-size: 0.9688rem;
  text-decoration: none;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.site-nav a:hover {
  color: var(--ink);
  background: var(--surface-sunken);
}
.site-nav a[aria-current="page"] {
  color: var(--brand);
  background: var(--accent-soft);
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: auto;
}
.site-nav + .site-header__actions {
  margin-inline-start: 0;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  inline-size: 42px;
  block-size: 42px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--surface-glass);
  color: var(--ink-secondary);
  cursor: pointer;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: var(--fw-head);
  letter-spacing: 0.02em;
  transition:
    color 0.2s,
    border-color 0.2s,
    background-color 0.2s;
}
.icon-btn:hover {
  color: var(--brand);
  border-color: var(--accent-mid);
}
.icon-btn svg {
  inline-size: 18px;
  block-size: 18px;
}
.theme-toggle .icon-sun {
  display: none;
}
:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}
:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun {
    display: block;
  }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon {
    display: none;
  }
}
/* without JavaScript the toggle cannot work, so it is not offered */
@media (scripting: none) {
  .theme-toggle {
    display: none;
  }
}
.site-header__login {
  display: none;
  padding: 8px 12px;
  color: var(--ink-secondary);
  font-weight: var(--fw-strong);
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: var(--r-pill);
}
.site-header__login:hover {
  color: var(--brand);
}
.site-header__cta {
  display: none;
}
.menu-btn {
  display: inline-grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--surface-glass);
  cursor: pointer;
}
.menu-btn__bars span {
  display: block;
  inline-size: 18px;
  block-size: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-btn__bars {
  display: grid;
  gap: 5px;
}
.menu-btn[aria-expanded="true"] .menu-btn__bars span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] .menu-btn__bars span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}
.menu-panel {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  overflow-y: auto;
  padding: 16px var(--gutter) 40px;
  background: var(--canvas);
  border-block-start: 1px solid var(--hairline);
}
.menu-panel__nav {
  display: grid;
  gap: 4px;
  max-inline-size: 560px;
  margin-inline: auto;
}
.menu-panel__nav a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 8px;
  border-block-end: 1px solid var(--hairline);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: var(--fw-strong);
  text-decoration: none;
}
.menu-panel__nav a[aria-current="page"] {
  color: var(--brand);
}
.menu-panel__actions {
  display: grid;
  gap: 10px;
  margin-block-start: 20px;
}
.menu-panel__row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-block-start: 12px;
}
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .menu-panel:not([hidden]) {
    animation: menu-in 0.32s var(--ease);
  }
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}
html.is-menu-open {
  overflow: hidden;
}
/* No JavaScript: the menu button cannot open anything, so the links show inline. */
@media (scripting: none) {
  .menu-btn {
    display: none;
  }
  .site-nav {
    display: flex;
    flex-wrap: wrap;
  }
}
@media (min-width: 640px) {
  .site-header__cta {
    display: inline-flex;
  }
}
@media (min-width: 1080px) {
  .site-nav {
    display: flex;
  }
  .site-header__login {
    display: inline-flex;
  }
  .menu-btn {
    display: none;
  }
  .menu-panel {
    display: none !important;
  }
}

/* ---------------------------------------------------------- atmosphere --- */
.aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.aurora::before {
  inline-size: min(70vw, 820px);
  aspect-ratio: 1;
  inset-block-start: -28%;
  inset-inline-end: -12%;
  background: radial-gradient(closest-side, var(--glow-a), transparent);
}
.aurora::after {
  inline-size: min(60vw, 680px);
  aspect-ratio: 1;
  inset-block-start: 18%;
  inset-inline-start: -18%;
  background: radial-gradient(closest-side, var(--glow-b), transparent);
}
.dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}

/* -------------------------------------------------------------- headings --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--surface-glass);
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: var(--fw-strong);
  line-height: 1.4;
  box-shadow: inset 0 0 0 1px var(--rim);
}
.eyebrow__dot {
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--brand-violet);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.section-head {
  display: grid;
  gap: 14px;
  max-inline-size: 760px;
  margin-block-end: clamp(36px, 5vw, 56px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.section-head h2 {
  font-size: var(--fs-h2);
}
.lead {
  color: var(--ink-secondary);
  font-size: var(--fs-lead);
  line-height: 1.75;
}
.grad {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted {
  color: var(--ink-muted);
}
.small {
  font-size: var(--fs-small);
}

/* ----------------------------------------------------------- page hero --- */
.page-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(48px, 8vw, 104px) clamp(40px, 6vw, 72px);
  text-align: center;
}
.page-hero__in {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-inline-size: 780px;
  margin-inline: auto;
}
.page-hero h1 {
  font-size: var(--fs-h1);
}
.page-hero .lead {
  max-inline-size: 620px;
}
.page-hero .btn-row {
  justify-content: center;
  margin-block-start: 8px;
}
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  color: var(--ink-muted);
  font-size: var(--fs-small);
}

/* ---------------------------------------------------------------- cards --- */
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}
.grid--2,
.grid--3,
.grid--4 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid--2,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1), inset 0 1px 0 var(--rim);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s;
}
.card h3 {
  font-size: var(--fs-h3);
}
.card p {
  color: var(--ink-secondary);
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2), inset 0 1px 0 var(--rim);
  border-color: var(--accent-mid);
}
.card--link {
  text-decoration: none;
  color: inherit;
}
.card__icon {
  display: grid;
  place-items: center;
  inline-size: 48px;
  block-size: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--brand);
}
.card__icon svg {
  inline-size: 24px;
  block-size: 24px;
}
.card__foot {
  margin-block-start: auto;
  padding-block-start: 8px;
}
.card__example {
  display: block;
  margin-block-start: auto;
  padding-block-start: 12px;
  border-block-start: 1px dashed var(--hairline-strong);
  color: var(--ink-muted);
  font-size: var(--fs-small);
}

/* ---------------------------------------------------------------- tags --- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-soft-ink);
  font-size: 0.8125rem;
  font-weight: var(--fw-strong);
  line-height: 1.5;
  white-space: nowrap;
}
.tag--ok {
  background: var(--ok-soft);
  color: var(--ok);
}
.tag--line {
  background: transparent;
  border: 1px solid var(--hairline-strong);
  color: var(--ink-secondary);
}
.ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--ink-secondary);
  font-size: 0.9375rem;
}
.ticks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ticks svg {
  inline-size: 18px;
  block-size: 18px;
  flex: none;
  color: var(--brand);
}

/* -------------------------------------------------------- feature rows --- */
.feature {
  display: grid;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.feature + .feature {
  margin-block-start: clamp(64px, 9vw, 120px);
}
.feature__copy {
  display: grid;
  gap: 16px;
  max-inline-size: 520px;
}
.feature__copy h3 {
  font-size: var(--fs-h2);
}
.feature__list {
  display: grid;
  gap: 10px;
  margin-block-start: 4px;
}
.feature__list li {
  display: flex;
  gap: 10px;
  color: var(--ink-secondary);
}
.feature__list svg {
  inline-size: 20px;
  block-size: 20px;
  flex: none;
  margin-block-start: 4px;
  color: var(--brand);
}
@media (min-width: 960px) {
  .feature {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .feature--flip .feature__copy {
    order: 2;
  }
}
.step-no {
  display: inline-grid;
  place-items: center;
  inline-size: 36px;
  block-size: 36px;
  border-radius: 12px;
  background: var(--gradient-brand);
  color: var(--on-brand);
  font-weight: var(--fw-head);
  font-size: 0.9375rem;
}

/* ------------------------------------------------------------ devices --- */
.device-phone {
  position: relative;
  inline-size: min(100%, var(--phone-w, 300px));
  padding: 10px;
  border-radius: 46px;
  background: var(--device);
  box-shadow:
    var(--shadow-3),
    inset 0 0 0 1.5px var(--device-edge),
    0 0 0 1px var(--rim);
  margin-inline: auto;
}
.device-phone__screen {
  position: relative;
  overflow: hidden;
  border-radius: 37px;
  aspect-ratio: 390 / 844;
  background: var(--surface-sunken);
}
.device-phone__screen img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: top center;
}
.device-phone::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset-block-start: 20px;
  inset-inline-start: 50%;
  inline-size: 30%;
  block-size: 22px;
  border-radius: var(--r-pill);
  background: var(--device);
  transform: translateX(-50%);
}
[dir="rtl"] .device-phone::before {
  transform: translateX(50%);
}
.device-browser {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-3), 0 0 0 1px var(--rim);
}
.device-browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-block-end: 1px solid var(--hairline);
  background: var(--surface-sunken);
  direction: ltr;
}
.device-browser__bar i {
  inline-size: 10px;
  block-size: 10px;
  border-radius: 50%;
  background: var(--hairline-strong);
}
.device-browser__url {
  flex: 1;
  max-inline-size: 280px;
  margin-inline: auto;
  padding: 3px 12px;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 0.75rem;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.device-browser__screen {
  aspect-ratio: 16 / 10;
  background: var(--surface-sunken);
}
.device-browser__screen img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: top center;
}
.shot-caption {
  margin-block-start: 14px;
  color: var(--ink-muted);
  font-size: var(--fs-small);
  text-align: center;
}

/* --------------------------------------------------------------- steps --- */
.steps {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  counter-reset: step;
}
@media (min-width: 900px) {
  .steps--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.step {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1), inset 0 1px 0 var(--rim);
}
.step h3 {
  font-size: var(--fs-h3);
}
.step p {
  color: var(--ink-secondary);
}
.step__media {
  margin-block-start: 8px;
}
.step .device-phone {
  --phone-w: 230px;
}

/* ---------------------------------------------------------------- plans --- */
.plans {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  max-inline-size: 920px;
  margin-inline: auto;
}
@media (min-width: 760px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-2), inset 0 1px 0 var(--rim);
}
.plan--featured {
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(140deg, var(--brand-violet), var(--brand-fill) 45%, var(--hairline) 80%) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-3);
}
.plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plan__name {
  font-size: 1.5rem;
}
.plan__for {
  color: var(--ink-secondary);
}
.plan__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.plan__amount {
  font-size: clamp(2.75rem, 2.2rem + 2vw, 3.5rem);
  font-weight: var(--fw-head);
  line-height: 1;
  letter-spacing: -0.02em;
}
.plan__unit {
  color: var(--ink-secondary);
  font-weight: var(--fw-strong);
}
.plan__was {
  color: var(--ink-muted);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.plan__list {
  display: grid;
  gap: 12px;
  padding-block: 18px;
  border-block: 1px solid var(--hairline);
}
.plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.plan__list svg {
  inline-size: 20px;
  block-size: 20px;
  flex: none;
  margin-block-start: 3px;
}
.plan__list .is-yes svg {
  color: var(--ok);
}
.plan__list .is-no {
  color: var(--ink-muted);
}
.plan__list .is-no svg {
  color: var(--no);
}
.plan__note {
  color: var(--ink-muted);
  font-size: var(--fs-small);
  text-align: center;
}
.plans-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-block-start: 28px;
  color: var(--ink-secondary);
  font-size: 0.9375rem;
}

/* ------------------------------------------------------------ compare --- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
/* The scroll area is a labelled region in the tab order (FIX-2), so a keyboard
   reaches the columns a phone hides; it gets the site's own focus ring, drawn
   inside so the rounded card's overflow does not clip it. */
.table-wrap:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
  border-radius: var(--r-lg);
}
.compare {
  inline-size: 100%;
  min-inline-size: 520px;
  border-collapse: collapse;
  font-size: 0.9688rem;
}
.compare caption {
  padding: 16px 20px 0;
  text-align: start;
  color: var(--ink-muted);
  font-size: var(--fs-small);
}
.compare th,
.compare td {
  padding: 14px 20px;
  border-block-end: 1px solid var(--hairline);
  text-align: start;
  vertical-align: middle;
}
.compare thead th {
  color: var(--ink);
  font-weight: var(--fw-head);
}
.compare tbody th {
  color: var(--ink-secondary);
  font-weight: var(--fw-strong);
}
.compare td {
  text-align: center;
}
.compare thead th:not(:first-child) {
  text-align: center;
}
.compare tr:last-child > * {
  border-block-end: 0;
}
.compare svg {
  inline-size: 20px;
  block-size: 20px;
  margin-inline: auto;
}
.compare .is-yes {
  color: var(--ok);
}
.compare .is-no {
  color: var(--no);
}

/* ----------------------------------------------------------------- faq --- */
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-1), inset 0 1px 0 var(--rim);
  transition: border-color 0.2s;
}
.faq details[open] {
  border-color: var(--accent-mid);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: var(--fw-strong);
  font-size: 1.0625rem;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  inline-size: 12px;
  block-size: 12px;
  border-inline-end: 2px solid var(--ink-muted);
  border-block-end: 2px solid var(--ink-muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.faq summary:hover {
  color: var(--brand);
}
.faq__a {
  padding: 0 22px 20px;
  color: var(--ink-secondary);
}
.faq__a > * + * {
  margin-block-start: 10px;
}
.faq-group + .faq-group {
  margin-block-start: 40px;
}
.faq-group h2 {
  margin-block-end: 16px;
  font-size: var(--fs-h3);
  color: var(--ink-secondary);
}

/* --------------------------------------------------------------- prose --- */
.legal {
  display: grid;
  gap: 40px;
}
@media (min-width: 1000px) {
  .legal {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
  }
}
.toc {
  padding: 18px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--surface);
}
@media (min-width: 1000px) {
  .toc {
    position: sticky;
    inset-block-start: calc(var(--header-h) + 20px);
  }
}
.toc__title {
  margin-block-end: 8px;
  color: var(--ink-muted);
  font-size: var(--fs-small);
  font-weight: var(--fw-strong);
}
.toc__list {
  display: grid;
  gap: 2px;
  counter-reset: toc;
}
.toc__list a {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--ink-secondary);
  font-size: 0.9063rem;
  text-decoration: none;
  line-height: 1.5;
}
.toc__list a:hover {
  background: var(--surface-sunken);
  color: var(--ink);
}
.toc__list a.is-active,
.toc__list a[aria-current="true"] {
  background: var(--accent-soft);
  color: var(--brand);
}
.prose {
  max-inline-size: 72ch;
  color: var(--ink-secondary);
  line-height: 1.95;
}
.prose h2 {
  margin-block: 44px 14px;
  color: var(--ink);
  font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.prose h2:first-child {
  margin-block-start: 0;
}
.prose h3 {
  margin-block: 24px 8px;
  color: var(--ink);
  font-size: 1.125rem;
}
.prose p,
.prose ul,
.prose ol {
  margin-block: 0 14px;
}
.prose ul,
.prose ol {
  padding-inline-start: 1.4em;
}
.prose li + li {
  margin-block-start: 6px;
}
.prose strong {
  color: var(--ink);
  font-weight: var(--fw-strong);
}
.prose table {
  inline-size: 100%;
  margin-block: 0 16px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.prose th,
.prose td {
  padding: 10px 12px;
  border: 1px solid var(--hairline);
  text-align: start;
  vertical-align: top;
}
.prose th {
  color: var(--ink);
  background: var(--surface-sunken);
}
.prose code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface-sunken);
  font-size: 0.9em;
  direction: ltr;
  unicode-bidi: isolate;
}
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--ink-secondary);
}
.notice svg {
  inline-size: 20px;
  block-size: 20px;
  flex: none;
  margin-block-start: 4px;
  color: var(--brand);
}

/* ------------------------------------------------------------ contact --- */
.contact-card {
  align-items: flex-start;
}
.contact-card .btn {
  margin-block-start: auto;
}
.contact-card__value {
  color: var(--ink);
  font-weight: var(--fw-strong);
  direction: ltr;
  unicode-bidi: isolate;
  word-break: break-all;
}

/* ------------------------------------------------------------ CTA band --- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(44px, 7vw, 88px) clamp(24px, 5vw, 64px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(187, 80, 248, 0.55), transparent 55%),
    radial-gradient(120% 140% at 0% 100%, rgba(92, 23, 253, 0.7), transparent 60%),
    #1d0d3d;
  color: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-3);
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
}
.cta-band h2 {
  font-size: var(--fs-h2);
  color: #ffffff;
}
.cta-band p {
  max-inline-size: 560px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-lead);
}
.cta-band .btn-row {
  justify-content: center;
  margin-block-start: 28px;
}
.cta-band .btn--primary {
  background: #ffffff;
  color: #331761;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
}
.cta-band .btn--ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}
.cta-band .btn--ghost:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.cta-band .ticks {
  justify-content: center;
  margin-block-start: 20px;
  color: rgba(255, 255, 255, 0.8);
}
.cta-band .ticks svg {
  color: #d9b8ff;
}
.cta-band :focus-visible {
  outline-color: #ffffff;
}

/* -------------------------------------------------------------- footer --- */
.site-footer {
  margin-block-start: calc(var(--section) * 0.5);
  padding-block: 56px 32px;
  border-block-start: 1px solid var(--hairline);
  background: var(--canvas-alt);
}
.site-footer__grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 760px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}
.site-footer__about {
  display: grid;
  align-content: start;
  gap: 14px;
  max-inline-size: 320px;
}
.site-footer__about p {
  color: var(--ink-secondary);
  font-size: 0.9375rem;
}
.site-footer h2 {
  margin-block-end: 12px;
  color: var(--ink);
  font-size: 0.9375rem;
}
.site-footer ul {
  display: grid;
  gap: 8px;
}
.site-footer a:not(.btn) {
  color: var(--ink-secondary);
  font-size: 0.9375rem;
  text-decoration: none;
}
.site-footer a:not(.btn):hover {
  color: var(--brand);
  text-decoration: underline;
}
.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-block-start: 44px;
  padding-block-start: 20px;
  border-block-start: 1px solid var(--hairline);
  color: var(--ink-muted);
  font-size: var(--fs-small);
}
.site-footer__base a {
  font-size: inherit;
}
.ltr {
  direction: ltr;
  unicode-bidi: isolate;
}

/* ---------------------------------------------------------------- hero --- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(28px, 5vw, 72px) clamp(56px, 8vw, 104px);
}
.hero__grid {
  display: grid;
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
}
@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}
.hero__copy {
  display: grid;
  justify-items: start;
  gap: 22px;
}
.hero__title {
  font-size: var(--fs-hero);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.hero__title .grad {
  display: block;
  padding-block-end: 0.08em;
}
.hero__lead {
  max-inline-size: 520px;
}
.hero__ticks {
  margin-block-start: 4px;
}
.hero__visual {
  position: relative;
  min-block-size: 0;
}
.hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  max-inline-size: 520px;
  margin-inline: auto;
  padding-block: 12px 24px;
}
.hero__stage::before {
  content: "";
  position: absolute;
  inset: 12% 6% 4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow-a), transparent 70%);
  filter: blur(10px);
}
.hero__phone--front {
  --phone-w: 290px;
  position: relative;
  z-index: 2;
}
.hero__phone--back {
  --phone-w: 230px;
  position: absolute;
  z-index: 1;
  inset-block-start: 9%;
  inset-inline-end: 0;
  opacity: 0.9;
  transform: rotate(7deg);
}
[dir="ltr"] .hero__phone--back {
  transform: rotate(-7deg);
}
@media (max-width: 560px) {
  .hero__phone--front {
    --phone-w: 250px;
  }
  .hero__phone--back {
    --phone-w: 180px;
    inset-inline-end: -4%;
  }
}
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-2), inset 0 1px 0 var(--rim);
  font-size: 0.875rem;
  line-height: 1.4;
}
.float-card b {
  display: block;
  font-weight: var(--fw-strong);
  white-space: nowrap;
}
.float-card--ship {
  inset-block-start: 22%;
  inset-inline-start: -4%;
}
.float-card--win {
  inset-block-end: 14%;
  inset-inline-end: -2%;
}
.float-card__icon {
  display: grid;
  place-items: center;
  inline-size: 34px;
  block-size: 34px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--brand);
}
.float-card__icon svg {
  inline-size: 18px;
  block-size: 18px;
}
.float-card__badge {
  padding: 6px 10px;
  border-radius: 12px;
  background: var(--gradient-brand);
  color: var(--on-brand);
  font-weight: var(--fw-head);
}
.float-card__ok {
  display: grid;
  place-items: center;
  inline-size: 24px;
  block-size: 24px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
}
.float-card__ok svg {
  inline-size: 14px;
  block-size: 14px;
}
.meter {
  display: block;
  inline-size: 150px;
  block-size: 6px;
  margin-block-start: 6px;
  overflow: hidden;
  border-radius: var(--r-pill);
  background: var(--surface-sunken);
}
.meter__fill {
  display: block;
  inline-size: 78%;
  block-size: 100%;
  border-radius: inherit;
  background: var(--gradient-cta);
}
@media (max-width: 560px) {
  .float-card {
    font-size: 0.8125rem;
    padding: 8px 10px;
  }
  .float-card--ship {
    inset-inline-start: -2%;
    inset-block-start: 14%;
  }
  .meter {
    inline-size: 110px;
  }
}
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .hero__phone--front {
    animation: rise 0.9s var(--ease) both;
  }
  .hero__phone--back {
    animation: rise-back 1.1s var(--ease) 0.1s both;
  }
  .float-card--ship {
    animation:
      pop 0.7s var(--ease) 0.5s both,
      bob 6s ease-in-out 1.4s infinite;
  }
  .float-card--win {
    animation:
      pop 0.7s var(--ease) 0.8s both,
      bob 7s ease-in-out 1.8s infinite reverse;
  }
  .meter__fill {
    animation: fill 2.4s var(--ease) 1s both;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
}
@keyframes rise-back {
  from {
    opacity: 0;
    transform: translateY(40px) rotate(0deg);
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
}
@keyframes bob {
  50% {
    transform: translateY(-8px);
  }
}
@keyframes fill {
  from {
    inline-size: 12%;
  }
}

/* ---------------------------------------------------------------- strip --- */
.strip {
  border-block: 1px solid var(--hairline);
  background: var(--surface-glass);
}
.strip__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}
.strip__list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 12px;
  color: var(--ink-secondary);
  font-weight: var(--fw-strong);
  font-size: 0.9375rem;
  text-align: center;
}
.strip__list svg {
  inline-size: 22px;
  block-size: 22px;
  flex: none;
  color: var(--brand);
}
@media (min-width: 860px) {
  .strip__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .strip__list li + li {
    border-inline-start: 1px solid var(--hairline);
  }
}

/* --------------------------------------------------------- kind filter --- */
.filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-block-end: 28px;
}
.filter__btn {
  padding: 8px 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-secondary);
  font-weight: var(--fw-strong);
  font-size: 0.9375rem;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.filter__btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.filter__btn[aria-pressed="true"] {
  border-color: transparent;
  background: var(--brand-fill);
  color: var(--on-brand);
}
@media (scripting: none) {
  .filter {
    display: none;
  }
}
.kinds__note {
  max-inline-size: 760px;
  margin: 28px auto 0;
}
.center-link {
  margin-block-start: 28px;
  text-align: center;
}

/* ----------------------------------------------------------------- chat --- */
.feature__h {
  font-size: var(--fs-h2);
}
.tag__icon {
  inline-size: 14px;
  block-size: 14px;
}
.chat {
  inline-size: 100%;
  max-inline-size: 460px;
  margin-inline: auto;
}
.chat__window {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-3), inset 0 1px 0 var(--rim);
}
.chat__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block-end: 12px;
  border-block-end: 1px solid var(--hairline);
}
.chat__avatar {
  display: grid;
  place-items: center;
  inline-size: 34px;
  block-size: 34px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--on-brand);
}
.chat__avatar svg {
  inline-size: 18px;
  block-size: 18px;
}
.chat__bubble {
  max-inline-size: 88%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.chat__bubble--me {
  justify-self: start;
  border-start-start-radius: 4px;
  background: var(--brand-fill);
  color: var(--on-brand);
}
.chat__bubble--ai {
  justify-self: end;
  display: grid;
  gap: 10px;
  max-inline-size: 94%;
  border-start-end-radius: 4px;
  background: var(--surface-sunken);
  color: var(--ink);
}
.chat__offer {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface);
}
.chat__offer-title {
  font-weight: var(--fw-head);
}
.chat__rows {
  display: grid;
  gap: 4px;
  margin: 0;
  font-size: 0.875rem;
}
.chat__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.chat__row dt {
  color: var(--ink-muted);
}
.chat__row dd {
  margin: 0;
  font-weight: var(--fw-strong);
}
.chat__btn {
  justify-self: start;
  margin-block-start: 4px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--gradient-cta);
  color: var(--on-brand);
  font-size: 0.875rem;
  font-weight: var(--fw-strong);
}
.chat__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  color: var(--ink-muted);
  font-size: 0.875rem;
}
.chat__mic {
  display: grid;
  place-items: center;
  inline-size: 30px;
  block-size: 30px;
  border-radius: 50%;
  background: var(--brand-fill);
  color: var(--on-brand);
}
.chat__mic svg {
  inline-size: 16px;
  block-size: 16px;
}
.feature--ai {
  align-items: center;
}

/* ------------------------------------------------------------ subpages --- */
.card__title {
  font-size: var(--fs-h3);
}
.narrow-grid {
  max-inline-size: 920px;
  margin-inline: auto;
}
.grid--5 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  .grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.step-visual {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background:
    radial-gradient(60% 70% at 50% 40%, var(--glow-a), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow-2), inset 0 1px 0 var(--rim);
}
.step-visual__icon {
  display: grid;
  place-items: center;
  inline-size: 96px;
  block-size: 96px;
  border-radius: 28px;
  background: var(--gradient-brand);
  color: var(--on-brand);
  box-shadow: var(--shadow-cta);
}
.step-visual__icon svg {
  inline-size: 44px;
  block-size: 44px;
}
.feature__copy .step-no {
  margin-block-end: -4px;
}
.contact-split {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 960px) {
  .contact-split {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}
.contact-split .section-head {
  margin-block-end: 24px;
}
.tips {
  background: var(--accent-soft);
  border-color: transparent;
}
.toc__foot {
  margin-block-start: 12px;
  padding-block-start: 12px;
  border-block-start: 1px solid var(--hairline);
  color: var(--ink-muted);
}
.nf__code {
  font-size: clamp(4.5rem, 3rem + 8vw, 9rem);
  font-weight: var(--fw-head);
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nf__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.nf__links a {
  text-decoration: none;
  font-size: 0.9375rem;
  padding: 6px 14px;
}
.nf {
  min-block-size: 60vh;
  display: grid;
  align-items: center;
}

/* the voice agent's floater is fixed: keep the footer's last line clear of it */
.has-agent-float .site-footer {
  padding-block-end: calc(var(--af-size, 72px) + 34px);
}

/* -------------------------------------------------------------- reveal --- */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.7s var(--ease),
      transform 0.7s var(--ease);
    transition-delay: var(--delay, 0s);
  }
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

/* ----------------------------------------------------- reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ------------------------------------------------------------- print --- */
@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .agent-float,
  .toc {
    display: none !important;
  }
  body {
    background: #ffffff;
    color: #000000;
  }
}
