/* ==========================================================================
   PINCLAVE — styles.css
   Premium static site design system.
   Sections:
   (a) Font families are loaded via <link> in the <head> (no @import here).
   (b) Design tokens: :root (light — the default) + [data-theme="dark"] (opt-in).
   (c) Reset / base / typography.
   (d) Layout primitives.
   (e) Components (full contract).
   (f) Utilities.
   (g) Motion / reveal + reduced-motion guard.
   (h) Responsive breakpoints.
   ========================================================================== */

/* ==========================================================================
   (b) DESIGN TOKENS
   ========================================================================== */
:root {
  /* Surfaces & text — LIGHT */
  --bg: #FFFFFF;
  --bg-subtle: #F7F8FC;
  --surface: #FFFFFF;
  --surface-2: #F2F4FA;
  --border: #E6E8F0;
  --border-strong: #D3D7E4;
  --text: #0E1220;
  --text-muted: #4A5169;
  --text-faint: #8A90A6;

  /* Brand & accents — LIGHT */
  --brand: #4F46E5;
  --brand-strong: #4338CA;
  --brand-soft: #EEF0FF;
  --violet: #7C3AED;
  --cyan: #06B6D4;
  --emerald: #10B981;
  --amber: #F59E0B;
  --on-brand: #FFFFFF;

  /* Shared gradients */
  --gradient-brand: linear-gradient(135deg, #4F46E5 0%, #7C3AED 48%, #06B6D4 100%);
  --gradient-text: linear-gradient(120deg, var(--brand) 0%, var(--violet) 55%, var(--cyan) 100%);

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows — layered, soft, low-opacity */
  --shadow-sm: 0 1px 2px rgba(14, 18, 32, 0.05), 0 1px 3px rgba(14, 18, 32, 0.06);
  --shadow-md: 0 4px 12px rgba(14, 18, 32, 0.06), 0 2px 6px rgba(14, 18, 32, 0.05);
  --shadow-lg: 0 18px 40px -12px rgba(14, 18, 32, 0.16), 0 8px 20px -8px rgba(14, 18, 32, 0.10);
  --shadow-glow: 0 10px 34px -8px rgba(79, 70, 229, 0.42), 0 4px 14px -6px rgba(124, 58, 237, 0.32);

  /* Glass header background */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(14, 18, 32, 0.08);

  /* Store badge (dark in BOTH themes) */
  --badge-bg: #0E1220;
  --badge-bg-hover: #1C2236;
  --badge-text: #FFFFFF;
  --badge-text-soft: #C7CBDA;
  --badge-border: rgba(255, 255, 255, 0.14);

  /* Decorative orb tints */
  --orb-1: rgba(79, 70, 229, 0.30);
  --orb-2: rgba(124, 58, 237, 0.24);
  --orb-3: rgba(6, 182, 212, 0.22);
  --grid-line: rgba(14, 18, 32, 0.04);

  /* Rhythm */
  --section-y: clamp(64px, 9vw, 112px);
  --container: 1200px;
  --container-wide: 1320px;
  --gutter: clamp(20px, 4vw, 24px);
  --header-h: 68px;

  /* Type families */
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;

  color-scheme: light;
}

/* Explicit dark theme */
[data-theme="dark"] {
  --bg: #090C16;
  --bg-subtle: #0C1020;
  --surface: #121729;
  --surface-2: #171D34;
  --border: #222944;
  --border-strong: #2E3757;
  --text: #F3F5FB;
  --text-muted: #AEB6D0;
  --text-faint: #727A96;

  --brand: #818CF8;
  --brand-strong: #A5B4FC;
  --brand-soft: #1B2140;
  --violet: #A78BFA;
  --cyan: #22D3EE;
  --emerald: #34D399;
  --amber: #FBBF24;
  --on-brand: #0B0E18;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 22px 50px -14px rgba(0, 0, 0, 0.66), 0 10px 24px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 12px 40px -10px rgba(129, 140, 248, 0.44), 0 4px 16px -6px rgba(167, 139, 250, 0.30);

  --glass-bg: rgba(12, 16, 32, 0.68);
  --glass-border: rgba(255, 255, 255, 0.08);

  --orb-1: rgba(129, 140, 248, 0.26);
  --orb-2: rgba(167, 139, 250, 0.22);
  --orb-3: rgba(34, 211, 238, 0.18);
  --grid-line: rgba(255, 255, 255, 0.045);

  color-scheme: dark;
}


/* ==========================================================================
   (c) RESET / BASE / TYPOGRAPHY
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
  overflow-x: hidden;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  transition: background-color 0.3s ease, color 0.3s ease;
}

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
img, svg { vertical-align: middle; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}
button { cursor: pointer; background: none; border: none; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); }

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.85rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-weight: 700; }
h4 { font-size: clamp(1.1rem, 1.6vw, 1.25rem); font-weight: 700; }

p { color: var(--text-muted); text-wrap: pretty; }

strong, b { color: var(--text); font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--brand); color: #fff; }

hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 2rem 0;
}

/* ==========================================================================
   (d) LAYOUT PRIMITIVES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--container-wide); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 68px); }
.section--alt { background: var(--bg-subtle); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 0.85rem;
}

.section-head {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.section-head p { margin-top: 1rem; font-size: 1.1rem; }

.lead {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 42rem;
}

.stack { display: flex; flex-direction: column; gap: 1.25rem; }
.stack > * { margin: 0; }

.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   (e) COMPONENTS
   ========================================================================== */

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.85em 1.4em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background-color 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { color: #fff; box-shadow: 0 14px 42px -10px rgba(79, 70, 229, 0.55); }

.btn--secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn--secondary:hover { color: var(--text); border-color: var(--brand); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
}
.btn--ghost:hover { color: var(--brand); background: var(--brand-soft); }

.btn--lg { padding: 1.05em 1.7em; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

/* ---- Store badges (dark in both themes) ---- */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 200px;
  padding: 0.62rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid var(--badge-border);
  box-shadow: var(--shadow-md);
  transition: transform 0.18s ease, background-color 0.2s ease, box-shadow 0.22s ease;
}
.store-badge:hover {
  color: var(--badge-text);
  background: var(--badge-bg-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.store-badge svg { width: 1.65rem; height: 1.65rem; flex: none; fill: currentColor; }
.store-badge__label { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge small {
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  color: var(--badge-text-soft);
  text-transform: uppercase;
}
.store-badge b {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--badge-text);
}

/* ---- Header / nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid var(--glass-border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  flex: none;
}
.nav__brand:hover { color: var(--text); }
.nav__brand svg { height: 28px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-inline-start: auto;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text-muted);
  transition: color 0.18s ease, background-color 0.18s ease;
}
.nav__link:hover { color: var(--text); background: var(--surface-2); }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-brand);
}

.nav__actions { display: flex; align-items: center; gap: 0.6rem; flex: none; }
.nav__actions .btn { padding: 0.6em 1.1em; font-size: 0.92rem; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.theme-toggle:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-1px); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile slide-down panel */
.nav__mobile {
  display: none;
  border-top: 1px solid var(--glass-border);
  background: var(--glass-bg);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
}
.nav__mobile.is-open { display: block; }
.nav__mobile-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0.75rem var(--gutter) 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.nav__mobile .nav__link {
  font-size: 1.05rem;
  padding: 0.8rem 0.85rem;
}
.nav__mobile .nav__link[aria-current="page"]::after { display: none; }
.nav__mobile-cta { margin-top: 0.75rem; }

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 104px);
}
.hero::before {
  /* soft radial orbs + faint grid */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(46% 40% at 15% 10%, var(--orb-1), transparent 70%),
    radial-gradient(40% 38% at 85% 8%, var(--orb-3), transparent 72%),
    radial-gradient(50% 46% at 70% 90%, var(--orb-2), transparent 74%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 78%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.hero__content { max-width: 40rem; }
.hero__content h1 { margin-bottom: 1.25rem; }
.hero__content .lead { margin-bottom: 1.9rem; }
.hero__visual { position: relative; display: flex; justify-content: center; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.badge-pill svg { width: 1rem; height: 1rem; color: var(--emerald); flex: none; }

/* ---- Generic card ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.6vw, 1.9rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.24s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card__title { margin-bottom: 0.5rem; }
.card__text { color: var(--text-muted); font-size: 1rem; }

/* ---- App cards ---- */
.app-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.6vw, 1.8rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.24s ease, border-color 0.2s ease;
  height: 100%;
}
.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.app-card__top { display: flex; align-items: flex-start; gap: 1rem; }
.app-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex: none;
  border: 1px solid var(--border);
}
.app-card__icon img, .app-card__icon svg { width: 100%; height: 100%; }
.app-card__meta { display: flex; flex-direction: column; gap: 0.2rem; }
.app-card__meta h3 { font-size: 1.2rem; }
.app-card__category {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}
.app-card__text { color: var(--text-muted); font-size: 0.98rem; flex: 1; }
.app-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}
.app-card__platform { font-size: 0.85rem; color: var(--text-faint); font-weight: 600; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}
.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.status--available {
  color: var(--emerald);
  background: color-mix(in srgb, var(--emerald) 12%, transparent);
  border-color: color-mix(in srgb, var(--emerald) 28%, transparent);
}
.status--soon {
  color: var(--amber);
  background: color-mix(in srgb, var(--amber) 12%, transparent);
  border-color: color-mix(in srgb, var(--amber) 30%, transparent);
}

/* ---- Feature tiles ---- */
.feature {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: clamp(1.2rem, 2.2vw, 1.6rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.24s ease, border-color 0.2s ease;
  height: 100%;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 16%, transparent), color-mix(in srgb, var(--violet) 14%, transparent));
  color: var(--brand);
  margin-bottom: 0.35rem;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature__title { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--text); }
.feature__text { color: var(--text-muted); font-size: 0.97rem; }

/* ---- Value grid (alias helper) ---- */
.value { display: grid; gap: clamp(1.1rem, 2.4vw, 1.75rem); }

/* ---- Phone mockup framing ---- */
.mockup { position: relative; display: inline-block; }
.mockup--phone {
  position: relative;
  padding: 10px;
  border-radius: 42px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.mockup--phone img,
.mockup--phone svg {
  width: 100%;
  border-radius: 32px;
  display: block;
}
/* Theme-aware screenshots: show the set that matches the active theme (light is default). */
.mockup--phone .shot-dark { display: none; }
[data-theme="dark"] .mockup--phone .shot-light { display: none; }
[data-theme="dark"] .mockup--phone .shot-dark { display: block; }
.mockup__glow {
  position: absolute;
  inset: -14%;
  z-index: -1;
  border-radius: 50%;
  background: var(--gradient-brand);
  filter: blur(60px);
  opacity: 0.32;
  pointer-events: none;
}

.screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}
.screen { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; text-align: center; }
.screen__caption {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 18rem;
}

/* ---- Pricing ---- */
.pricing { display: grid; gap: clamp(1.25rem, 3vw, 1.75rem); align-items: stretch; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.24s ease;
  height: 100%;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card--featured {
  border-color: transparent;
  box-shadow: var(--shadow-glow);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--gradient-brand) border-box;
  border: 1.5px solid transparent;
}
.price-card--featured::before {
  content: "Most popular";
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient-brand);
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
}
.price-card__platform {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}
.price-card__platform svg { width: 1.3rem; height: 1.3rem; }
.price-card__amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}
.price-card__period { font-size: 1rem; font-weight: 600; color: var(--text-faint); }
.price-card__note { font-size: 0.9rem; color: var(--text-faint); }
.price-list { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.25rem; }
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.98rem;
  color: var(--text-muted);
}
.price-list li::before {
  content: "";
  flex: none;
  margin-top: 0.28em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--emerald) 16%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 0.72rem;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---- FAQ accordion ---- */
.faq { max-width: 46rem; margin-inline: auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq__item:hover { border-color: var(--border-strong); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}
.faq__q .faq__icon {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--text-faint);
  transition: transform 0.28s ease, color 0.2s ease;
}
.faq__q[aria-expanded="true"] { color: var(--brand); }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); color: var(--brand); }
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s ease;
}
.faq__a-inner { padding: 0 1.35rem 1.25rem; color: var(--text-muted); }
.faq__item.is-open .faq__a { max-height: 22rem; }

/* ---- CTA band ---- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
  color: #fff;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-glow);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(40% 60% at 10% 10%, rgba(255, 255, 255, 0.25), transparent 70%),
    radial-gradient(45% 65% at 90% 90%, rgba(6, 182, 212, 0.35), transparent 72%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 40rem; margin-inline: auto; margin-bottom: 1.8rem; }
.cta-band .btn--secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}
.cta-band .btn--secondary:hover { background: rgba(255, 255, 255, 0.24); color: #fff; }
.cta-band .btn--primary {
  background: #fff;
  color: var(--brand-strong);
  box-shadow: 0 12px 34px -8px rgba(0, 0, 0, 0.3);
}
.cta-band .btn--primary:hover { color: var(--brand-strong); }
.cta-band .store-badges { justify-content: center; }

/* ---- Callout (privacy/trust highlight) ---- */
.callout {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.callout::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gradient-brand);
}
.callout__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}
.callout__icon svg { width: 28px; height: 28px; }
.callout__body { flex: 1; }
.callout__body h2,
.callout__body h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-weight: 700; margin-bottom: 0.6rem; }
.callout__body p { font-size: 1rem; }
.callout__body p + p { margin-top: 0.75rem; }

/* ---- Stats ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 0.25rem; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}
.stat__label { font-size: 0.95rem; color: var(--text-muted); font-weight: 600; }

/* ---- Footer ---- */
.site-footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 2.5rem;
}
.footer__brand { max-width: 22rem; }
.footer__brand svg { height: 28px; width: auto; margin-bottom: 1rem; color: var(--text); }
.footer__brand p { font-size: 0.97rem; margin-bottom: 1rem; }
.footer__brand a { color: var(--brand); font-weight: 600; }
.footer__col h2 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__links a {
  color: var(--text-muted);
  font-size: 0.97rem;
  font-weight: 500;
  transition: color 0.18s ease;
}
.footer__links a:hover { color: var(--brand); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-faint);
}
.footer__bottom p { color: var(--text-faint); font-size: 0.9rem; }

/* ---- Toast ---- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 140%);
  z-index: 200;
  max-width: min(92vw, 420px);
  padding: 0.85rem 1.25rem;
  border-radius: var(--r-pill);
  background: var(--badge-bg);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--badge-border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  pointer-events: none;
}
.toast svg { width: 1.15rem; height: 1.15rem; color: var(--cyan); flex: none; }
.toast--show { transform: translate(-50%, 0); opacity: 1; }

/* ---- Legal / prose ---- */
.legal-header { max-width: 46rem; margin-inline: auto; margin-bottom: clamp(2rem, 4vw, 3rem); }
.legal-header h1 { margin-bottom: 0.5rem; }
.legal-header p { color: var(--text-faint); font-size: 0.95rem; }

.prose { max-width: 46rem; margin-inline: auto; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 2.5rem; margin-bottom: 0.85rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.75rem; margin-bottom: 0.6rem; }
.prose p { margin-bottom: 1.1rem; line-height: 1.75; }
.prose ul, .prose ol { margin: 0 0 1.25rem; padding-left: 1.3rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { color: var(--text-muted); margin-bottom: 0.5rem; padding-left: 0.25rem; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--text); }
.prose > *:first-child { margin-top: 0; }

/* ==========================================================================
   (f) UTILITIES
   ========================================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 300;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.center { text-align: center; }
.center-x { margin-inline: auto; }

.pill, .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.full-width { width: 100%; }

/* ==========================================================================
   (g) MOTION / REVEAL
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .app-card:hover, .feature:hover,
  .store-badge:hover, .price-card:hover { transform: none; }
}

/* ==========================================================================
   (h) RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { max-width: 42rem; margin-inline: auto; }
  .hero__content .lead { margin-inline: auto; }
  .hero__actions, .hero__badges { justify-content: center; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .nav__links,
  .nav__actions .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .screens { grid-template-columns: 1fr; max-width: 24rem; margin-inline: auto; }
  .screen__caption { max-width: 24rem; }
}

@media (max-width: 720px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .callout { flex-direction: column; gap: 1rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; align-items: center; }
  .store-badge { flex: 1; }
}

@media (max-width: 420px) {
  .hero__actions .btn { width: 100%; }
  .store-badges { flex-direction: column; }
  .store-badge { min-width: 100%; }
}
