/* =========================================================================
   RetailAxo — marketing site
   Tokens mirror the app's own palette (lib/theme/app_colors.dart): the light
   canvas #EDF0F5, the dark canvas #0B0C0F, ink #111827/#F4F5F7, and the ONE
   brand colour the app never theme-swaps — the mark's #0098CA.
   ========================================================================= */

:root {
  --bg: #EDF0F5;
  --surface: #FFFFFF;
  --surface-2: #F5F7FA;
  --ink: #111827;
  --ink-2: #4B5563;
  --ink-3: #6B7280;
  --ink-4: #9CA3AF;
  --border: #E5E7EB;
  --border-2: #D1D5DB;

  --brand: #0098CA;
  --brand-deep: #0077A3;
  --brand-soft: rgba(0, 152, 202, 0.12);
  --brand-glow: rgba(0, 152, 202, 0.45);
  --charcoal: #0B0C0F;
  --charcoal-2: #16181D;
  --charcoal-3: #1F2229;

  --ok: #16A34A;
  --ok-bg: #DCFCE7;
  --warn: #D97706;
  --warn-bg: #FEF3C7;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

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

  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06), 0 1px 3px rgba(17, 24, 39, 0.04);
  --shadow: 0 8px 24px -8px rgba(17, 24, 39, 0.14), 0 2px 6px rgba(17, 24, 39, 0.05);
  --shadow-lg: 0 30px 60px -20px rgba(17, 24, 39, 0.28);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 72px;

  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0B0C0F;
  --surface: #16181D;
  --surface-2: #1C1F26;
  --ink: #F4F5F7;
  --ink-2: #C9CED6;
  --ink-3: #9AA0AC;
  --ink-4: #6B7280;
  --border: #2C2F38;
  --border-2: #3A3E4A;
  --ok-bg: rgba(52, 211, 153, 0.15);
  --ok: #34D399;
  --warn: #FBBF24;
  --warn-bg: rgba(251, 191, 36, 0.15);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0C0F;
    --surface: #16181D;
    --surface-2: #1C1F26;
    --ink: #F4F5F7;
    --ink-2: #C9CED6;
    --ink-3: #9AA0AC;
    --ink-4: #6B7280;
    --border: #2C2F38;
    --border-2: #3A3E4A;
    --ok-bg: rgba(52, 211, 153, 0.15);
    --ok: #34D399;
    --warn: #FBBF24;
    --warn-bg: rgba(251, 191, 36, 0.15);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* An author `display` on an element beats the UA's `[hidden] { display:none }`,
   so .btn / .dl__hash with the attribute were still drawn — an empty SHA-256
   box and a dead "What's new" button appeared whenever the API had no data. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--border); }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: 16px; }
.center { text-align: center; }
.mx { margin-inline: auto; }
.maxw-60 { max-width: 60ch; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; } .mt-64 { margin-top: 64px; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.display {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.display--xl { font-size: clamp(42px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -0.025em; }
.display .em { font-style: italic; color: var(--brand); }
.h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.mono { font-family: var(--font-mono); font-size: 0.92em; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--border);
}
.pill--brand { background: var(--brand-soft); color: var(--brand-deep); border-color: transparent; }
.pill--ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
:root[data-theme="dark"] .pill--brand { color: #5CC8EC; }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill--live .pill__dot { animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 20px; border-radius: 12px;
  font-weight: 600; font-size: 15px; line-height: 1;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, border-color .18s, color .18s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px var(--brand-glow); }
.btn--primary:hover { background: var(--brand-deep); transform: translateY(-1px); box-shadow: 0 14px 28px -10px var(--brand-glow); }
.btn--dark { background: var(--charcoal); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-1px); }
:root[data-theme="dark"] .btn--dark { background: #F4F5F7; color: #0B0C0F; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border-2); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink-4); transform: translateY(-1px); }
.btn--light { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.16); backdrop-filter: blur(8px); }
.btn--light:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.is-scrolled { border-bottom-color: var(--border); background: color-mix(in srgb, var(--bg) 88%, transparent); }
/* Opaque enough that the LIGHT page body behind the bar (it sits above the
   hero in the DOM, not over it) cannot bleed through and turn it mid-grey. */
.nav--on-dark { --nav-ink: #fff; background: rgba(11, 12, 15, 0.9); }
.nav--on-dark.is-scrolled { background: rgba(11, 12, 15, 0.96); border-bottom-color: rgba(255,255,255,0.08); }
.nav--on-dark .nav__link, .nav--on-dark .brand__name, .nav--on-dark .theme-btn, .nav--on-dark .nav__toggle { color: #fff; }
.nav--on-dark .theme-btn { border-color: rgba(255,255,255,0.18); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -0.02em; font-size: 19px; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 19px; letter-spacing: 0;
  box-shadow: 0 6px 16px -6px var(--brand-glow);
}
.brand__mark img { width: 100%; height: 100%; border-radius: 9px; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__link { padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background .15s, color .15s; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav--on-dark .nav__link:hover, .nav--on-dark .nav__link[aria-current="page"] { background: rgba(255,255,255,0.1); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.theme-btn {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--border-2); color: var(--ink-2);
  transition: background .15s, transform .15s;
}
.theme-btn:hover { background: var(--surface); transform: rotate(-12deg); }
.theme-btn svg { width: 18px; height: 18px; }
/* On the dark nav the shared hover fill is var(--surface), which in LIGHT mode
   is white — a white icon on a white button, i.e. the control vanished under
   the cursor the moment the theme flipped. A translucent fill reads on either. */
.nav--on-dark .theme-btn:hover { background: rgba(255,255,255,0.14); }
/* The icon shows the EFFECTIVE theme, not just the stored one: a first-time
   visitor under system dark mode has no data-theme yet and was shown a sun. */
.theme-btn .i-moon { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { display: none; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { display: block; }
}
.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 10px; background: transparent; border: 1px solid var(--border-2); place-items: center; }
.nav__toggle svg { width: 20px; height: 20px; }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: grid; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    padding: 12px 20px 18px; background: var(--surface); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav--on-dark.is-open .nav__links { background: var(--charcoal-2); }
  .nav.is-open .nav__link { padding: 12px 14px; font-size: 16px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--charcoal); color: #fff;
  padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 7vw, 96px);
}
.hero__orbs { position: absolute; inset: -20% -10%; z-index: -2; pointer-events: none; filter: blur(60px); opacity: .9; }
.orb { position: absolute; border-radius: 50%; will-change: transform; }
.orb--1 { width: 56vw; height: 56vw; left: -14vw; top: -18vw; background: radial-gradient(circle at 40% 40%, rgba(0,152,202,0.55), transparent 62%); animation: drift1 26s ease-in-out infinite alternate; }
.orb--2 { width: 44vw; height: 44vw; right: -12vw; top: 6vw; background: radial-gradient(circle at 50% 50%, rgba(56,189,248,0.35), transparent 60%); animation: drift2 32s ease-in-out infinite alternate; }
.orb--3 { width: 38vw; height: 38vw; left: 34vw; bottom: -22vw; background: radial-gradient(circle at 50% 50%, rgba(0,119,163,0.45), transparent 60%); animation: drift3 24s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(8vw, 6vw) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-6vw, 8vw) scale(1.12); } }
@keyframes drift3 { to { transform: translate(-8vw, -5vw) scale(0.94); } }
.hero__grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}
.hero__grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .hero__inner { grid-template-columns: 1fr; } }
.hero__copy .eyebrow { color: #7DD3F2; }
.hero__copy .eyebrow::before { background: #7DD3F2; }
.hero__copy .display { color: #fff; margin-top: 18px; }
.hero__copy .display .em { color: #5CC8EC; }
.hero__copy .lede { color: rgba(255,255,255,0.72); margin-top: 22px; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 28px; color: rgba(255,255,255,0.6); font-size: 14px; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; color: #5CC8EC; }

/* the animated till */
.hero__visual { position: relative; }
.till {
  position: relative;
  background: #101216;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(0,152,202,0.08), 0 0 120px -30px rgba(0,152,202,0.35);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transform-origin: 60% 50%;
  animation: tillFloat 9s ease-in-out infinite;
}
@keyframes tillFloat {
  0%, 100% { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(1400px) rotateY(-5deg) rotateX(1.5deg) translateY(-8px); }
}
.till__bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: #16181D; border-bottom: 1px solid rgba(255,255,255,0.07); }
.till__dot { width: 10px; height: 10px; border-radius: 50%; background: #3A3E4A; }
.till__dot:nth-child(1) { background: #FF5F57; } .till__dot:nth-child(2) { background: #FEBC2E; } .till__dot:nth-child(3) { background: #28C840; }
.till__title { margin-left: 10px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.55); letter-spacing: .04em; }
.till__body { display: grid; grid-template-columns: 1.35fr 1fr; min-height: 340px; }
.till__grid { padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: start; border-right: 1px solid rgba(255,255,255,0.07); }
.tile {
  min-height: 78px; border-radius: 12px; padding: 10px;
  background: #1B1E25; border: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.tile__name { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.85); }
.tile__price { font-size: 11px; color: #5CC8EC; font-weight: 700; font-variant-numeric: tabular-nums; }
.tile__stock { font-size: 9.5px; color: rgba(255,255,255,0.35); white-space: nowrap; }
.tile__meta { display: flex; flex-wrap: wrap; gap: 2px 6px; align-items: baseline; }
.tile.is-hit { transform: scale(0.96); border-color: rgba(0,152,202,0.7); box-shadow: 0 0 0 3px rgba(0,152,202,0.25), 0 0 24px -6px var(--brand-glow); }
.till__cart { display: flex; flex-direction: column; background: #131519; }
.till__cart-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.75); border-bottom: 1px solid rgba(255,255,255,0.07); }
.till__cart-head .pill { background: rgba(0,152,202,0.16); color: #7DD3F2; border-color: transparent; font-size: 10px; padding: 2px 8px; }
.till__lines { flex: 1; padding: 8px 14px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.line {
  display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: baseline;
  font-size: 11.5px; color: rgba(255,255,255,0.85);
  padding: 7px 10px; border-radius: 9px; background: rgba(255,255,255,0.04);
  transform: translateX(14px); opacity: 0; transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.line.is-in { transform: none; opacity: 1; }
.line small { color: rgba(255,255,255,0.4); font-size: 10px; margin-left: 6px; }
.line b { font-variant-numeric: tabular-nums; color: #fff; font-weight: 600; }
.till__totals { padding: 10px 14px 12px; border-top: 1px solid rgba(255,255,255,0.07); font-size: 11.5px; color: rgba(255,255,255,0.55); display: grid; gap: 4px; }
.till__totals div { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.till__totals .tot { color: #fff; font-weight: 700; font-size: 15px; margin-top: 4px; }
.till__charge {
  margin: 0 14px 14px; padding: 11px; border-radius: 11px; text-align: center;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 12.5px; font-variant-numeric: tabular-nums;
  box-shadow: 0 10px 24px -10px var(--brand-glow); transition: transform .2s var(--ease), background .2s;
}
.till__charge.is-paid { background: #16A34A; transform: scale(0.98); }
.till__receipt {
  position: absolute; right: 22px; top: 100%; width: 170px;
  background: #fff; color: #111; border-radius: 6px 6px 0 0;
  padding: 12px 12px 18px; font-family: var(--font-mono); font-size: 9.5px; line-height: 1.45;
  box-shadow: 0 -10px 30px -12px rgba(0,0,0,0.6);
  transform: translateY(0); transition: transform .9s var(--ease-io);
  -webkit-mask-image: linear-gradient(#000 88%, transparent); mask-image: linear-gradient(#000 88%, transparent);
}
.till__receipt.is-out { transform: translateY(-118px); }
.till__receipt b { display: block; text-align: center; font-size: 10.5px; letter-spacing: .06em; }
.till__receipt .r-line { display: flex; justify-content: space-between; }
.till__receipt .r-total { border-top: 1px dashed #999; margin-top: 4px; padding-top: 4px; font-weight: 700; }
.hero__visual::after {
  content: ""; position: absolute; inset: auto 8% -30px 8%; height: 60px;
  background: radial-gradient(ellipse, rgba(0,152,202,0.35), transparent 70%); filter: blur(18px); z-index: -1;
}
@media (max-width: 960px) {
  .till { transform: none; animation: none; }
  .till__body { min-height: 300px; }
}
@media (max-width: 520px) {
  /* The receipt that "prints" out of the till covers the Paid button on a
     phone — no room for the flourish there, and Paid already tells the story. */
  .till__receipt { display: none; }
  .till__body { grid-template-columns: 1fr; }
  .till__grid { grid-template-columns: repeat(3, 1fr); border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .tile { min-height: 64px; }
}

/* ---------- stats strip ---------- */
.strip { background: var(--surface); border-block: 1px solid var(--border); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .strip__inner { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 26px 18px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
@media (max-width: 760px) { .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }
.stat__n { font-family: var(--font-serif); font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat__n .sup { font-size: .55em; color: var(--brand); vertical-align: super; margin-left: 2px; }
.stat__l { margin-top: 4px; font-size: 13px; color: var(--ink-3); font-weight: 500; }

/* ---------- cards / features ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-2); }
.feature__icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-deep); margin-bottom: 18px;
}
:root[data-theme="dark"] .feature__icon { color: #5CC8EC; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--ink-3); font-size: 14.5px; line-height: 1.6; }

/* ---------- showcase (alternating rows) ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.showcase + .showcase { margin-top: clamp(64px, 8vw, 110px); }
.showcase--flip .showcase__media { order: 2; }
@media (max-width: 860px) { .showcase { grid-template-columns: 1fr; } .showcase--flip .showcase__media { order: 0; } }
.showcase__copy h2 { margin-top: 16px; }
.showcase__copy .lede { margin-top: 14px; }
.checks { margin-top: 22px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.checks svg { width: 18px; height: 18px; flex: none; color: var(--ok); margin-top: 3px; }
.mock {
  border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.mock__bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-2); display: block; }
.mock__body { padding: 18px; }
.row { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; font-size: 13px; }
.row + .row { margin-top: 6px; }
.row--head { color: var(--ink-4); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.row:not(.row--head) { background: var(--surface-2); }
.row .n { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.bar { height: 8px; border-radius: 99px; background: var(--border); overflow: hidden; }
.bar > i { display: block; height: 100%; width: var(--w, 50%); background: var(--brand); border-radius: 99px; transform-origin: left; animation: grow 1.4s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.kpi { padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.kpi__l { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); }
.kpi__v { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi__d { font-size: 12px; color: var(--ok); font-weight: 600; margin-top: 2px; }
.kpi__d--down { color: #DC2626; }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 64px; margin-top: 12px; }
.spark i { flex: 1; background: var(--brand); border-radius: 4px 4px 0 0; opacity: .85; height: var(--h, 40%); transform-origin: bottom; animation: grow 1.2s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.spark i:nth-child(odd) { opacity: .55; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin-inline: auto; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; }
.plan--featured { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft), var(--shadow); }
.plan--featured:hover { box-shadow: 0 0 0 4px var(--brand-soft), var(--shadow-lg); }
.ribbon { position: absolute; top: -13px; left: 28px; }
.plan__name { font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--ink-2); }
.plan__price { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font-family: var(--font-serif); font-size: 44px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan__per { color: var(--ink-3); font-size: 14px; }
.plan__desc { margin-top: 10px; color: var(--ink-3); font-size: 14.5px; }
.plan__list { margin-top: 22px; display: grid; gap: 10px; flex: 1; }
.plan__list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.plan__list svg { width: 18px; height: 18px; flex: none; color: var(--brand); margin-top: 2px; }
.plan__list li.off { color: var(--ink-4); }
.plan__list li.off svg { color: var(--ink-4); }
.plan__cta { margin-top: 26px; }
.trial-note { margin-top: 22px; text-align: center; color: var(--ink-3); font-size: 14px; }

/* ---------- platforms ---------- */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 560px) { .platforms { grid-template-columns: 1fr; } }
.platform { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 26px 18px; }
.platform__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); }
.platform__icon svg { width: 26px; height: 26px; }
.platform h3 { font-size: 16px; }
.platform p { font-size: 13px; color: var(--ink-3); }

/* store buttons */
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 18px 8px 14px; border-radius: 13px;
  background: var(--charcoal); color: #fff; border: 1px solid rgba(255,255,255,0.08);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
  text-align: left; line-height: 1.1;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: #000; }
:root[data-theme="dark"] .store-btn { background: #F4F5F7; color: #0B0C0F; border-color: transparent; }
:root[data-theme="dark"] .store-btn:hover { background: #fff; }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: 10.5px; font-weight: 500; opacity: .75; letter-spacing: .02em; }
.store-btn b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.store-btn--soon { opacity: .6; cursor: default; pointer-events: none; }
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- faq ---------- */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--ink-4); transition: transform .25s var(--ease); flex: none; }
.faq__item[open] summary::after { transform: rotate(45deg); color: var(--brand); }
.faq__item p { padding: 0 22px 20px; color: var(--ink-2); font-size: 15px; line-height: 1.65; }

/* ---------- cta band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--charcoal); color: #fff; border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px); text-align: center;
}
.cta-band::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: radial-gradient(circle at 30% 30%, rgba(0,152,202,0.5), transparent 45%), radial-gradient(circle at 75% 70%, rgba(56,189,248,0.32), transparent 45%); filter: blur(50px); animation: drift1 20s ease-in-out infinite alternate; }
.cta-band .display { color: #fff; }
.cta-band .lede { color: rgba(255,255,255,0.7); margin: 16px auto 0; max-width: 56ch; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0 28px; margin-top: clamp(64px, 8vw, 110px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__tag { margin-top: 12px; color: var(--ink-3); font-size: 14px; max-width: 34ch; }
.footer__col h4 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 14px; }
.footer__col a { display: block; padding: 5px 0; color: var(--ink-2); font-size: 14.5px; }
.footer__col a:hover { color: var(--brand); }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--ink-4); font-size: 13px; }
.footer__bottom a { color: var(--ink-3); }
.footer__bottom a:hover { color: var(--brand); }

/* ---------- inner pages ---------- */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); }
.page-head .display { margin-top: 14px; }
.page-head .lede { margin-top: 14px; max-width: 62ch; }
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; letter-spacing: -0.01em; }
.prose h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 10px 0; display: grid; gap: 6px; }
.prose a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
:root[data-theme="dark"] .prose a { color: #5CC8EC; }
.prose .note { padding: 16px 18px; border-radius: var(--r); background: var(--brand-soft); border: 1px solid transparent; font-size: 14.5px; color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--ink-2); }
.prose th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-4); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.toc a { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--ink-2); }
.toc a:hover { border-color: var(--brand); color: var(--brand-deep); }

/* download */
.dl { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .dl { grid-template-columns: 1fr; } }
.dl__card { padding: 30px; }
.dl__head { display: flex; align-items: center; gap: 14px; }
.dl__head .platform__icon { width: 46px; height: 46px; border-radius: 13px; }
.dl__meta { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 520px) { .dl__meta { grid-template-columns: 1fr 1fr; } }
.dl__meta div { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.dl__meta small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); }
.dl__meta b { display: block; font-size: 16px; font-weight: 700; margin-top: 3px; font-variant-numeric: tabular-nums; }
.dl__hash { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.dl__hash code { font-family: var(--font-mono); font-size: 12px; word-break: break-all; color: var(--ink-2); }
.dl__hash button { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.dl__adv { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 12px; }
.dl__adv summary { list-style: none; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-4); display: inline-flex; align-items: center; gap: 6px; }
.dl__adv summary::-webkit-details-marker { display: none; }
.dl__adv summary::before { content: "+"; font-size: 16px; line-height: 1; transition: transform .2s var(--ease); }
.dl__adv[open] summary::before { transform: rotate(45deg); }
.dl__adv summary:hover { color: var(--ink-2); }
.dl__adv .dl__hash { margin-top: 12px; }
.dl__status { margin-top: 16px; font-size: 14px; color: var(--ink-3); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dl__status .pill { flex: none; white-space: nowrap; }
.skeleton { position: relative; overflow: hidden; background: var(--surface-2); border-radius: 8px; color: transparent !important; }
.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ink) 8%, transparent), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.steps { counter-reset: s; display: grid; gap: 14px; }
.steps li { position: relative; padding-left: 44px; font-size: 15px; color: var(--ink-2); }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-deep); font-weight: 800; font-size: 13px; }
:root[data-theme="dark"] .steps li::before { color: #5CC8EC; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact__card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; }
.contact__card .feature__icon { margin: 0; flex: none; }
.contact__card h3 { font-size: 16px; }
.contact__card p { color: var(--ink-3); font-size: 14px; margin-top: 4px; }
.contact__card a.link { color: var(--brand-deep); font-weight: 600; font-size: 15px; display: inline-block; margin-top: 8px; }
:root[data-theme="dark"] .contact__card a.link { color: #5CC8EC; }
.form { padding: 30px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.req { color: var(--brand); font-weight: 700; margin-left: 2px; }
.form__legend { margin-bottom: 0; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field textarea { min-height: 140px; resize: vertical; }
.form__note { margin-top: 12px; font-size: 13px; color: var(--ink-4); }

/* ---------- reveal / motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .08s; } .reveal--d2 { transition-delay: .16s; } .reveal--d3 { transition-delay: .24s; } .reveal--d4 { transition-delay: .32s; }
.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.stagger.is-in > * { opacity: 1; transform: none; }
.stagger.is-in > *:nth-child(1) { transition-delay: .05s; }
.stagger.is-in > *:nth-child(2) { transition-delay: .13s; }
.stagger.is-in > *:nth-child(3) { transition-delay: .21s; }
.stagger.is-in > *:nth-child(4) { transition-delay: .29s; }
.stagger.is-in > *:nth-child(5) { transition-delay: .37s; }
.stagger.is-in > *:nth-child(6) { transition-delay: .45s; }
.stagger.is-in > *:nth-child(7) { transition-delay: .53s; }
.stagger.is-in > *:nth-child(8) { transition-delay: .61s; }
.words > span { display: inline-block; opacity: 0; transform: translateY(0.6em) rotate(1deg); animation: wordIn .8s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .9s var(--ease) both; }
.fade-up--d1 { animation-delay: .35s; } .fade-up--d2 { animation-delay: .5s; } .fade-up--d3 { animation-delay: .65s; } .fade-up--d4 { animation-delay: .8s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .stagger > *, .words > span, .line { opacity: 1 !important; transform: none !important; }
}
