/* FrenXa marketing site — design system.
   Brand anchors match lib/Core/theme/app_colors.dart:
   cyan #00B4D8, purple #7B2CBF, magenta #FF2D9B. */

/* Poppins matches the Flutter app's type. Self-hosted latin subsets (~7.7 KB
   each) rather than Google Fonts, so there is no third-party request on the
   critical path. Regenerate with tool/build_marketing.sh --fonts. */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/poppins-400.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/poppins-500.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/poppins-600.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/poppins-700.woff2") format("woff2");
}

:root {
  --font-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --cyan: #00b4d8;
  --purple: #7b2cbf;
  --magenta: #ff2d9b;

  --ink: #14141c;
  --ink-2: #3d3950;
  --muted: #625d75;
  --soft: #8b8599;

  --surface: #ffffff;
  --canvas: #f7f5fb;
  --canvas-2: #f0ecf9;
  --line: #e3ddf0;
  --line-strong: #cfc6e2;

  --night: #100e1a;
  --night-2: #1a1628;
  --night-line: rgba(255, 255, 255, 0.12);

  --grad-brand: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 55%, var(--magenta) 100%);
  --grad-primary: linear-gradient(100deg, var(--cyan), var(--purple));

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20, 20, 28, 0.05), 0 2px 8px rgba(20, 20, 28, 0.04);
  --shadow: 0 4px 12px rgba(20, 20, 28, 0.06), 0 16px 40px rgba(43, 26, 82, 0.08);
  --shadow-lg: 0 10px 24px rgba(20, 20, 28, 0.08), 0 32px 72px rgba(43, 26, 82, 0.14);

  --content: 1160px;
  --reading: 760px;
  --header-h: 68px;

  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
}

/* ── Reset ─────────────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img,
svg,
picture {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.18;
  letter-spacing: -0.021em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.05rem, 1.35rem + 3.1vw, 3.65rem);
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.4rem);
}
h3 {
  font-size: clamp(1.13rem, 1.03rem + 0.45vw, 1.35rem);
}
h4 {
  font-size: 1rem;
}

p {
  margin: 0 0 1.05em;
  color: var(--ink-2);
}

a {
  color: var(--purple);
  text-decoration: none;
  transition: color 0.16s var(--ease);
}
a:hover {
  color: var(--magenta);
}

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.15rem;
}
li {
  margin-bottom: 0.5em;
  color: var(--ink-2);
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-weight: 600;
  transition: top 0.18s var(--ease);
}
.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Layout ────────────────────────────────────────────────────────────── */

.shell {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) {
  .shell {
    padding-inline: 32px;
  }
}

.band {
  padding-block: 56px;
}
@media (min-width: 768px) {
  .band {
    padding-block: 88px;
  }
}
.band--tight {
  padding-block: 40px;
}
.band--surface {
  background: var(--surface);
}
.band--canvas {
  background: var(--canvas-2);
}
.band--night {
  background: var(--night);
  color: rgba(255, 255, 255, 0.82);
}
.band--night h2,
.band--night h3 {
  color: #fff;
}
.band--night p {
  color: rgba(255, 255, 255, 0.72);
}

.prose {
  max-width: var(--reading);
}
.prose > p:last-child {
  margin-bottom: 0;
}

.stack {
  display: grid;
  gap: 18px;
}

/* ── Header ────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand:hover {
  color: var(--ink);
}
.brand img {
  width: auto;
  height: 32px;
  border-radius: 0;
}

.nav {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: var(--ink-2);
  font-size: 0.935rem;
  font-weight: 550;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.nav a:hover {
  background: var(--canvas-2);
  color: var(--purple);
}
.nav a[aria-current="page"] {
  color: var(--purple);
  background: rgba(123, 44, 191, 0.08);
}

.header-actions {
  display: none;
  margin-left: 8px;
  gap: 10px;
}

@media (min-width: 1024px) {
  .nav,
  .header-actions {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* Mobile drawer — CSS-only via <details>, no JavaScript. */
.menu {
  margin-left: auto;
}
.menu__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
}
.menu__toggle::-webkit-details-marker {
  display: none;
}
.menu[open] .menu__toggle {
  border-color: var(--purple);
  color: var(--purple);
}
.menu__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 18px 20px 26px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.menu__group {
  padding-block: 10px;
  border-top: 1px solid var(--line);
}
.menu__group:first-child {
  border-top: 0;
}
.menu__group-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--soft);
  font-weight: 700;
  margin-bottom: 6px;
}
.menu__links {
  display: grid;
  gap: 2px;
}
.menu__links a {
  display: block;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-weight: 550;
}
.menu__links a:hover {
  background: var(--canvas-2);
  color: var(--purple);
}
.menu__cta {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}
@media (min-width: 1024px) {
  .menu {
    display: none;
  }
}

/* ── Buttons ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 650;
  font-size: 0.96rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), background 0.16s var(--ease),
    color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(123, 44, 191, 0.28);
}
.btn--primary:hover {
  color: #fff;
  box-shadow: 0 10px 26px rgba(123, 44, 191, 0.36);
}
.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
  color: var(--purple);
  border-color: var(--purple);
}
.btn--night {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}
.btn--night:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.btn--sm {
  padding: 9px 16px;
  font-size: 0.89rem;
}
.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ── Store badges ──────────────────────────────────────────────────────── */

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px 11px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  min-width: 190px;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), border-color 0.16s var(--ease);
}
.store:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--purple);
  color: var(--ink);
}
.store__icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  color: var(--purple);
}
.store__text {
  display: grid;
  line-height: 1.3;
}
.store__kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--soft);
  font-weight: 700;
}
.store__name {
  font-size: 0.98rem;
  font-weight: 650;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: #fff;
  padding-block: 64px 72px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 520px;
  background: radial-gradient(60% 60% at 22% 20%, rgba(0, 180, 216, 0.35), transparent 70%),
    radial-gradient(55% 55% at 78% 12%, rgba(255, 45, 155, 0.28), transparent 70%),
    radial-gradient(60% 60% at 50% 60%, rgba(123, 44, 191, 0.38), transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}
.hero > * {
  position: relative;
}
@media (min-width: 768px) {
  .hero {
    padding-block: 96px 104px;
  }
}

.hero__grid {
  display: grid;
  gap: 44px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 56px;
  }
}

.hero h1 {
  color: #fff;
}
.hero__lede {
  font-size: clamp(1.02rem, 0.96rem + 0.32vw, 1.19rem);
  color: rgba(255, 255, 255, 0.76);
  max-width: 40ch;
}
.hero__note {
  margin-top: 18px;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.55);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
}
.eyebrow--light {
  background: rgba(123, 44, 191, 0.08);
  border-color: rgba(123, 44, 191, 0.2);
  color: var(--purple);
}

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Phone mockup built from CSS — no heavy image payload. */
.mock {
  position: relative;
  margin-inline: auto;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 18.5;
  border-radius: 42px;
  padding: 11px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.06));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.mock__screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #0b0913;
  display: grid;
  place-items: center;
}
.mock__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stylised in-app illustration (no screenshot asset required). */
.preview {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 10px;
  padding: 18px 14px 14px;
  background: radial-gradient(120% 80% at 50% 0%, #221a38 0%, #0b0913 60%);
}
.preview__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.preview__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
}
.preview__meta {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.45);
}
.preview__map {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background-color: #171130;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(70% 60% at 40% 35%, rgba(0, 180, 216, 0.24), transparent 70%),
    radial-gradient(60% 50% at 72% 70%, rgba(255, 45, 155, 0.2), transparent 70%);
  background-size: 26px 26px, 26px 26px, 100% 100%, 100% 100%;
}
.preview__dot,
.preview__marker {
  position: absolute;
  border-radius: 50%;
}
.preview__dot {
  width: 12px;
  height: 12px;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(0, 180, 216, 0.2);
}
.preview__dot--a {
  left: 24%;
  top: 26%;
}
.preview__dot--b {
  left: 62%;
  top: 40%;
  background: var(--magenta);
  box-shadow: 0 0 0 5px rgba(255, 45, 155, 0.2);
}
.preview__dot--c {
  left: 38%;
  top: 68%;
  background: #4ade80;
  box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.18);
}
.preview__marker {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 9px;
}
.preview__marker--shop {
  right: 16%;
  top: 16%;
  background: linear-gradient(135deg, #00b4d8, #0288a8);
}
.preview__marker--group {
  left: 14%;
  bottom: 16%;
  background: linear-gradient(135deg, #7b2cbf, #5a1e8f);
}
.preview__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
}
.preview__name {
  display: block;
  font-size: 0.78rem;
  font-weight: 650;
  color: #fff;
}
.preview__sub {
  display: block;
  font-size: 0.63rem;
  color: rgba(255, 255, 255, 0.5);
}
.preview__action {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: var(--grad-primary);
  color: #fff;
  flex: 0 0 auto;
}
.preview__nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 9px 6px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.preview__tab {
  color: rgba(255, 255, 255, 0.34);
}
.preview__tab--on {
  color: var(--cyan);
}

/* ── Section headers ───────────────────────────────────────────────────── */

.sec-head {
  max-width: 640px;
  margin-bottom: 36px;
}
.sec-head--center {
  margin-inline: auto;
  text-align: center;
}
.sec-head p {
  font-size: 1.03rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ── Cards & grids ─────────────────────────────────────────────────────── */

.grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    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 {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}
a.card--link {
  display: block;
  color: inherit;
  text-decoration: none;
}
a.card--link h3,
a.card--link h4 {
  color: var(--ink);
}
a.card--link:hover {
  border-color: var(--purple);
}
a.card--link:hover h3,
a.card--link:hover h4 {
  color: var(--purple);
}

.card--lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.card h3 {
  margin-bottom: 0.4em;
}
.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}
.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: var(--grad-primary);
  color: #fff;
}
.card__icon svg {
  width: 22px;
  height: 22px;
}
.card__icon--cyan {
  background: linear-gradient(135deg, #00b4d8, #0288a8);
}
.card__icon--purple {
  background: linear-gradient(135deg, #7b2cbf, #5a1e8f);
}
.card__icon--magenta {
  background: linear-gradient(135deg, #ff2d9b, #c71e77);
}
.card__icon--green {
  background: linear-gradient(135deg, #1b7f5a, #126043);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  margin: 0;
  font-size: 0.96rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--grad-primary);
  box-shadow: inset 0 0 0 3px var(--surface);
}
.band--night .checklist li::before {
  box-shadow: inset 0 0 0 3px var(--night);
}
.band--night .checklist li {
  color: rgba(255, 255, 255, 0.76);
}

/* ── Feature pillar (features page) ────────────────────────────────────── */

.pillar {
  scroll-margin-top: calc(var(--header-h) + 20px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pillar__bar {
  height: 4px;
  background: var(--grad-primary);
}
.pillar__body {
  padding: 26px 24px 24px;
}
@media (min-width: 768px) {
  .pillar__body {
    padding: 32px;
  }
}
.pillar__num {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--soft);
  display: block;
  margin-bottom: 6px;
}
.pillar__why {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--canvas-2);
  border-left: 3px solid var(--purple);
  font-size: 0.94rem;
  color: var(--ink-2);
}
.pillar__why strong {
  color: var(--ink);
}

.quicknav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.quicknav a {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
}
.quicknav a:hover {
  border-color: var(--purple);
  color: var(--purple);
}

/* ── Callout ───────────────────────────────────────────────────────────── */

.callout {
  border-radius: var(--radius);
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.96rem;
  color: var(--ink-2);
  border-left: 4px solid var(--cyan);
}
.callout p:last-child {
  margin-bottom: 0;
}
.callout--warn {
  border-left-color: #d97706;
  background: #fffbf2;
}
.callout--good {
  border-left-color: #1b7f5a;
  background: #f3fbf7;
}

/* ── Tables ────────────────────────────────────────────────────────────── */

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
th,
td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--canvas-2);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  white-space: nowrap;
}
tbody tr:last-child td {
  border-bottom: 0;
}

/* Below the breakpoint a real table either overflows or squeezes columns to
   unreadable widths, so each row becomes a stacked label/value block using the
   data-label written by dataTable(). */
@media (max-width: 719px) {
  .table-wrap thead {
    /* Visually hidden but still announced, so the header row keeps its
       association for assistive tech. */
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  .table-wrap tbody tr {
    display: block;
    padding: 6px 0;
    border-bottom: 1px solid var(--line);
  }
  .table-wrap tbody tr:last-child {
    border-bottom: 0;
  }
  .table-wrap td {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    border-bottom: 0;
    padding: 8px 16px;
  }
  .table-wrap td::before {
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
  }
}

@media (min-width: 720px) {
  .table-wrap {
    overflow-x: auto;
  }
  table {
    min-width: 520px;
  }
}

/* ── FAQ ───────────────────────────────────────────────────────────────── */

.faq {
  display: grid;
  gap: 12px;
}
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__q {
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 20px;
  font-weight: 650;
  color: var(--ink);
  position: relative;
}
.faq__q::-webkit-details-marker {
  display: none;
}
.faq__q::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.faq__item[open] .faq__q::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq__a {
  padding: 0 20px 18px;
  color: var(--ink-2);
  font-size: 0.96rem;
}
.faq__a p:last-child {
  margin-bottom: 0;
}

/* ── Doc / legal page ──────────────────────────────────────────────────── */

.doc-hero {
  background: linear-gradient(170deg, var(--night) 0%, #1c1430 100%);
  color: #fff;
  padding-block: 52px 56px;
}
@media (min-width: 768px) {
  .doc-hero {
    padding-block: 72px;
  }
}
.doc-hero h1 {
  color: #fff;
}
.doc-hero p {
  color: rgba(255, 255, 255, 0.74);
  max-width: 62ch;
  margin-bottom: 0;
}
.doc-hero__meta {
  margin-top: 20px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.52);
}

.doc-sections {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.doc-section {
  scroll-margin-top: calc(var(--header-h) + 20px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  /* Grid items default to min-width:auto, so a wide child (the min-width:520px
     tables on /permissions and /data-safety) would stretch the section past the
     viewport instead of scrolling inside .table-wrap. */
  min-width: 0;
}
@media (min-width: 768px) {
  .doc-section {
    padding: 28px 32px;
  }
}
.doc-section > :last-child {
  margin-bottom: 0;
}

.related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related a {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 0.89rem;
  font-weight: 600;
  color: var(--ink-2);
}
.related a:hover {
  border-color: var(--purple);
  color: var(--purple);
}

/* ── CTA band ──────────────────────────────────────────────────────────── */

.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  background: var(--night);
  color: #fff;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -50% -20% auto -20%;
  height: 340px;
  background: radial-gradient(50% 60% at 30% 30%, rgba(0, 180, 216, 0.32), transparent 70%),
    radial-gradient(50% 60% at 72% 20%, rgba(255, 45, 155, 0.26), transparent 70%);
  pointer-events: none;
}
.cta > * {
  position: relative;
}
.cta h2 {
  color: #fff;
}
.cta p {
  color: rgba(255, 255, 255, 0.74);
  max-width: 52ch;
  margin-inline: auto;
}
.cta .btn-row {
  justify-content: center;
}
@media (min-width: 768px) {
  .cta {
    padding: 56px 44px;
  }
}

/* ── Stats / logos strip ───────────────────────────────────────────────── */

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}
.pill--light {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink-2);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  margin: 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--grad-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
}
.steps strong {
  display: block;
  color: var(--ink);
}

/* ── Footer ────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--night);
  color: rgba(255, 255, 255, 0.68);
  padding-block: 52px 28px;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}
.site-footer a:hover {
  color: #fff;
}
.footer__top {
  display: grid;
  gap: 36px;
}
@media (min-width: 900px) {
  .footer__top {
    grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
    gap: 32px;
  }
}
.footer__brand .brand {
  color: #fff;
  margin-bottom: 14px;
}
.footer__brand .brand:hover {
  color: #fff;
}
.footer__blurb {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 34ch;
}
.footer__col h3 {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 700;
  margin-bottom: 12px;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer__col li {
  margin: 0;
}
.footer__bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--night-line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Contact / form styling (native, no JS validation) ─────────────────── */

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-size: 0.87rem;
  font-weight: 650;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.95rem;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  width: 100%;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--purple);
}
.field__hint {
  font-size: 0.82rem;
  color: var(--soft);
}

/* ── Motion & contrast preferences ─────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover,
  .card--lift:hover,
  .store:hover {
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cta,
  .related {
    display: none;
  }
  body {
    background: #fff;
  }
}
