/* ============================================================================
   elix. — landing styles
   Adapted from staging-miniapp (Liquid Glass, dark-first).
   Pure CSS, no Tailwind. Core Web Vitals optimized.
   ============================================================================ */

/* ---------------------------------------------------------------------------
   Design tokens — mirror of staging-miniapp/src/index.css
   --------------------------------------------------------------------------- */

:root {
  /* Color system — neutral, dark-first */
  --background: oklch(0.145 0.018 264);
  --foreground: oklch(0.985 0.005 264);

  --card: oklch(0.18 0.02 264 / 0.7);
  --card-foreground: oklch(0.985 0.005 264);

  --primary: oklch(0.69 0.18 252);
  --primary-foreground: oklch(0.99 0.005 264);

  --secondary: oklch(0.27 0.025 264 / 0.55);
  --secondary-foreground: oklch(0.985 0.005 264);

  --muted: oklch(0.27 0.02 264 / 0.4);
  --muted-foreground: oklch(0.72 0.02 264);

  --accent: oklch(0.78 0.16 220);
  --accent-foreground: oklch(0.13 0.018 264);

  --destructive: oklch(0.65 0.22 22);
  --success: oklch(0.74 0.18 155);
  --warning: oklch(0.83 0.16 92);

  --border: oklch(1 0 0 / 0.1);
  --input: oklch(1 0 0 / 0.06);
  --ring: oklch(0.69 0.18 252 / 0.5);

  /* Glass tokens */
  --glass-fill: oklch(1 0 0 / 0.06);
  --glass-edge: oklch(1 0 0 / 0.12);
  --glass-tint: oklch(0.69 0.18 252 / 0.18);

  /* Radii */
  --radius: 0.875rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 8px);
  --radius-3xl: calc(var(--radius) + 16px);

  /* Layout */
  --container-max: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);

  /* Font */
  --font-sans:
    'Inter', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto,
    'Helvetica Neue', sans-serif;

  /* Easing */
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------------------------------------------------
   Base
   --------------------------------------------------------------------------- */

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

html {
  background: #06070b;
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  font-size: 16px;
  line-height: 1.5;
  color: var(--foreground);
  zoom: 1.2;
  background:
    radial-gradient(
      900px 480px at 50% -8%,
      oklch(0.69 0.18 252 / 0.16) 0%,
      transparent 70%
    ),
    radial-gradient(
      700px 400px at 90% 30%,
      oklch(0.78 0.16 220 / 0.07) 0%,
      transparent 65%
    ),
    #050508;
  background-attachment: fixed;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.09) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 95%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 95%);
}

body > * {
  position: relative;
  z-index: 1;
}

::selection {
  background: color-mix(in oklab, var(--primary) 35%, transparent);
  color: var(--foreground);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}

ul {
  list-style: none;
}

::-webkit-scrollbar {
  width: 0;
  height: 0;
}

* {
  scrollbar-width: none;
}

/* ---------------------------------------------------------------------------
   Layout primitives
   --------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(2rem, 5vw, 3.5rem);
  position: relative;
}

.section-narrow {
  padding-block: clamp(1.5rem, 3.5vw, 2.5rem);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.section-eyebrow::before {
  content: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--foreground);
}

h1 {
  font-size: clamp(2.25rem, 5.6vw, 3.75rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.125rem, 1.6vw, 1.25rem);
}

p {
  color: var(--muted-foreground);
}

.lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: oklch(0.85 0.015 264);
  line-height: 1.55;
}

.muted {
  color: var(--muted-foreground);
}

.label-caps {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, oklch(0.69 0.18 252) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------------------
   Liquid Glass surfaces
   --------------------------------------------------------------------------- */

.glass {
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-edge);
  box-shadow:
    0 1px 0 0 color-mix(in oklab, white 14%, transparent) inset,
    0 24px 48px -24px rgb(0 0 0 / 0.6);
}

.glass-strong {
  background: color-mix(in oklab, var(--glass-fill) 130%, transparent);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid var(--glass-edge);
  box-shadow:
    0 1px 0 0 color-mix(in oklab, white 18%, transparent) inset,
    0 32px 60px -28px rgb(0 0 0 / 0.7);
}

.glass-soft {
  background: color-mix(in oklab, var(--glass-fill) 60%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid color-mix(in oklab, var(--glass-edge) 70%, transparent);
}

.glass-tinted {
  background:
    linear-gradient(
      135deg,
      color-mix(in oklab, var(--glass-tint) 100%, transparent),
      transparent 60%
    ),
    var(--glass-fill);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-edge);
}

.tappable {
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.tappable:active {
  transform: scale(0.985);
}

.card-hover {
  transition: transform 0.22s var(--ease-out-expo), box-shadow 0.22s ease, border-color 0.22s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
}

.glow-primary {
  box-shadow:
    0 0 0 1px color-mix(in oklab, var(--primary) 60%, transparent),
    0 12px 40px -12px color-mix(in oklab, var(--primary) 80%, transparent);
}

/* ---------------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.btn:active {
  transform: scale(0.985);
}

.btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.btn--primary {
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--primary) 100%, transparent),
    color-mix(in oklab, var(--primary) 80%, transparent)
  );
  color: var(--primary-foreground);
  box-shadow:
    0 1px 0 0 color-mix(in oklab, white 30%, transparent) inset,
    0 8px 28px -10px color-mix(in oklab, var(--primary) 70%, transparent);
}

.btn--primary:hover {
  filter: brightness(1.06);
}

.btn--glass {
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-color: var(--glass-edge);
  color: var(--foreground);
}

.btn--glass:hover {
  background: color-mix(in oklab, var(--glass-fill) 160%, transparent);
}

.btn--ghost {
  background: transparent;
  color: var(--foreground);
  border-color: transparent;
}

.btn--ghost:hover {
  color: var(--primary);
}

.btn--lg {
  padding: 1.05rem 1.75rem;
  font-size: 1.02rem;
  border-radius: var(--radius-2xl);
}

.btn--full {
  width: 100%;
}

.btn .arrow {
  transition: transform 0.2s var(--ease-out-expo);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* ---------------------------------------------------------------------------
   Header / nav
   --------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.75rem var(--gutter);
  background: transparent;
  pointer-events: none;
}

.site-header__inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: fit-content;
  margin-inline: auto;
  padding: 0.45rem 0.6rem 0.45rem 1rem;
  border-radius: 9999px;

  background:
    linear-gradient(
      180deg,
      oklch(0.69 0.18 252 / 0.07) 0%,
      oklch(0.78 0.16 220 / 0.03) 100%
    ),
    oklch(0.13 0.018 264 / 0.58);

  -webkit-backdrop-filter: blur(28px) saturate(200%) brightness(1.06);
  backdrop-filter: blur(28px) saturate(200%) brightness(1.06);

  border: 1px solid oklch(1 0 0 / 0.1);
  border-top-color: oklch(1 0 0 / 0.16);

  box-shadow:
    0 2px 32px -4px oklch(0.69 0.18 252 / 0.12),
    0 1px 0 0 oklch(0.69 0.18 252 / 0.1),
    inset 0 1px 0 0 oklch(1 0 0 / 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--foreground);
}

.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background-image: url('/logo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 6px 18px -4px color-mix(in oklab, var(--primary) 60%, transparent);
}

.brand__mark::after {
  content: none;
}

.nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.nav a {
  color: var(--muted-foreground);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.18s ease;
}

.nav a:hover {
  color: var(--foreground);
}

@media (min-width: 880px) {
  .nav {
    display: flex;
  }
}

.site-header__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-header__cta .btn {
  border-radius: 9999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}

/* ---------------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------------- */

.hero {
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.25rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.05fr 1fr;
  }
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--glass-fill) 120%, transparent);
  border: 1px solid var(--glass-edge);
  font-size: 0.78rem;
  color: var(--muted-foreground);
  margin-bottom: 1.4rem;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.hero__pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px color-mix(in oklab, var(--success) 80%, transparent);
}

.hero__title {
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  margin-bottom: 1.1rem;
}

.hero__title .accent {
  background: linear-gradient(135deg, #fff 30%, oklch(0.69 0.18 252) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: oklch(0.85 0.015 264);
  max-width: 38rem;
  margin-bottom: 1.6rem;
}

.hero__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.hero__bullets li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--glass-fill) 90%, transparent);
  border: 1px solid var(--glass-edge);
  font-size: 0.85rem;
  color: oklch(0.9 0.01 264);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero__bullets svg {
  flex-shrink: 0;
  color: var(--primary);
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.hero__cta-note {
  font-size: 0.82rem;
  color: var(--muted-foreground);
}

/* hero visual — Mini App mock card */
.hero__visual {
  position: relative;
}

.mock-card {
  position: relative;
  border-radius: var(--radius-3xl);
  padding: 1.5rem;
  background: color-mix(in oklab, var(--glass-fill) 130%, transparent);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid var(--glass-edge);
  box-shadow:
    0 1px 0 0 color-mix(in oklab, white 18%, transparent) inset,
    0 50px 90px -40px rgb(0 0 0 / 0.85);
}

.mock-card::before {
  content: '';
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 60%;
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--primary) 18%, transparent),
    transparent 80%
  );
  pointer-events: none;
  border-radius: inherit;
  z-index: -1;
}

.mock-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.mock-card__user {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mock-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
}

.mock-card__sub {
  border-radius: var(--radius-2xl);
  padding: 1.15rem;
  background: color-mix(in oklab, var(--glass-fill) 100%, transparent);
  border: 1px solid var(--glass-edge);
  margin-bottom: 0.85rem;
}

.mock-card__days {
  font-size: clamp(2.4rem, 7vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}

.mock-card__days small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.mock-progress {
  height: 6px;
  border-radius: 3px;
  background: color-mix(in oklab, var(--glass-edge) 100%, transparent);
  overflow: hidden;
  margin-top: 0.85rem;
}

.mock-progress__fill {
  display: block;
  height: 100%;
  width: 62%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: inherit;
}

.mock-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1rem;
}

.mock-mini-btn {
  padding: 0.7rem;
  border-radius: var(--radius-lg);
  background: color-mix(in oklab, var(--glass-fill) 80%, transparent);
  border: 1px solid var(--glass-edge);
  font-size: 0.82rem;
  text-align: center;
  color: var(--foreground);
}

.mock-floating {
  position: absolute;
  border-radius: var(--radius-2xl);
  padding: 0.75rem 1rem;
  background: color-mix(in oklab, var(--glass-fill) 140%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-edge);
  box-shadow: 0 24px 48px -24px rgb(0 0 0 / 0.6);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
}

.mock-floating--top {
  top: -18px;
  right: 28px;
  animation: float-y 6s ease-in-out infinite;
}

.mock-floating--bottom {
  bottom: -22px;
  left: 18px;
  animation: float-y 7s ease-in-out infinite reverse;
}

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

.mock-floating .icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: color-mix(in oklab, var(--primary) 22%, transparent);
  color: var(--primary);
  display: grid;
  place-items: center;
}

/* trust bar */
.trust-bar {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid color-mix(in oklab, var(--glass-edge) 60%, transparent);
}

.trust-bar__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.trust-bar__items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
}

.trust-pill {
  font-size: 0.85rem;
  color: oklch(0.85 0.01 264);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: oklch(0.13 0.018 264 / 0.6);
  border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  height: 36px;
  box-shadow: 0 1px 0 0 oklch(1 0 0 / 0.04) inset;
}

.trust-pill img {
  display: block;
  height: 18px;
  width: auto;
}

.trust-pill[aria-label="Visa"] img {
  filter: brightness(0) invert(1);
}

.trust-pill svg {
  color: var(--muted-foreground);
}

/* ---------------------------------------------------------------------------
   Reasons (3 cards)
   --------------------------------------------------------------------------- */

.reasons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 720px) {
  .reasons {
    grid-template-columns: repeat(3, 1fr);
  }
}

.reason {
  border-radius: var(--radius-3xl);
  padding: 1.75rem;
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-edge);
  box-shadow:
    0 1px 0 0 color-mix(in oklab, white 14%, transparent) inset,
    0 24px 48px -24px rgb(0 0 0 / 0.6);
  transition: transform 0.22s var(--ease-out-expo), border-color 0.22s ease;
}

.reason:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--primary) 30%, var(--glass-edge));
}

.reason__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, color-mix(in oklab, var(--primary) 25%, transparent), transparent 80%),
    color-mix(in oklab, var(--glass-fill) 130%, transparent);
  border: 1px solid color-mix(in oklab, var(--primary) 30%, var(--glass-edge));
  display: grid;
  place-items: center;
  color: var(--primary);
  margin-bottom: 1.1rem;
}

.reason h3 {
  margin-bottom: 0.6rem;
}

.reason p {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------------------------
   How it works — 3 steps
   --------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  counter-reset: step;
  list-style: none;
  padding: 0;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius-2xl);
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--glass-edge);
  counter-increment: step;
}

.step__num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.step__num::before {
  content: counter(step, decimal-leading-zero);
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: color-mix(in oklab, var(--primary) 18%, transparent);
  border: 1px solid color-mix(in oklab, var(--primary) 35%, transparent);
  font-size: 0.72rem;
  color: var(--primary);
  letter-spacing: 0;
}

.step h3 {
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
}

.step p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.steps__cta {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  justify-content: center;
}

/* ---------------------------------------------------------------------------
   Pricing
   --------------------------------------------------------------------------- */

.pricing__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pricing__head h2 {
  margin-bottom: 0.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.plan {
  position: relative;
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-edge);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.22s var(--ease-out-expo), border-color 0.22s ease, box-shadow 0.22s ease;
}

.plan:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--primary) 35%, var(--glass-edge));
}

.plan--featured {
  border-color: color-mix(in oklab, var(--primary) 50%, var(--glass-edge));
  background:
    linear-gradient(160deg, color-mix(in oklab, var(--primary) 14%, transparent), transparent 60%),
    var(--glass-fill);
  box-shadow:
    0 1px 0 0 color-mix(in oklab, white 18%, transparent) inset,
    0 24px 60px -22px color-mix(in oklab, var(--primary) 50%, transparent);
}

.plan__badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--primary) 22%, transparent);
  color: oklch(0.92 0.05 252);
  border: 1px solid color-mix(in oklab, var(--primary) 40%, transparent);
  margin-bottom: -0.25rem;
}

.plan__badge--neutral {
  background: color-mix(in oklab, var(--glass-fill) 130%, transparent);
  color: var(--muted-foreground);
  border-color: var(--glass-edge);
}

.plan__title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.4rem;
}

.plan__price {
  font-size: clamp(2rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}

.plan__price small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted-foreground);
  letter-spacing: 0;
}

.plan__features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.25rem;
  flex: 1;
}

.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: oklch(0.85 0.015 264);
  line-height: 1.45;
}

.plan__features svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

.plan__cta {
  margin-top: 0.5rem;
}

.pricing__addons {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.addon-pill {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--glass-fill) 80%, transparent);
  border: 1px solid var(--glass-edge);
  font-size: 0.85rem;
  color: oklch(0.86 0.01 264);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.addon-pill strong {
  color: var(--foreground);
  font-weight: 600;
}

.pricing__note {
  margin-top: 1.5rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-lg);
  background: color-mix(in oklab, var(--glass-fill) 70%, transparent);
  border: 1px solid color-mix(in oklab, var(--glass-edge) 70%, transparent);
  font-size: 0.88rem;
  color: var(--muted-foreground);
  line-height: 1.55;
}

/* ---------------------------------------------------------------------------
   Compare table
   --------------------------------------------------------------------------- */

.compare-card {
  border-radius: var(--radius-2xl);
  padding: 0;
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-edge);
  overflow: hidden;
}

.compare {
  width: 100%;
  border-collapse: collapse;
}

.compare th,
.compare td {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.92rem;
  border-bottom: 1px solid color-mix(in oklab, var(--glass-edge) 70%, transparent);
  vertical-align: top;
}

.compare tr:last-child th,
.compare tr:last-child td {
  border-bottom: 0;
}

.compare th {
  font-weight: 600;
  color: var(--muted-foreground);
  background: color-mix(in oklab, var(--glass-fill) 70%, transparent);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare td:first-child {
  font-weight: 600;
  color: var(--foreground);
  width: 24%;
  min-width: 160px;
  background: color-mix(in oklab, var(--glass-fill) 40%, transparent);
}

.compare td.elix {
  color: var(--foreground);
  background: color-mix(in oklab, var(--primary) 10%, transparent);
}

.compare td.legacy {
  color: var(--muted-foreground);
}

@media (max-width: 640px) {
  .compare th,
  .compare td {
    padding: 0.75rem 0.85rem;
    font-size: 0.85rem;
  }
  .compare td:first-child {
    min-width: 110px;
  }
}

/* ---------------------------------------------------------------------------
   Devices grid
   --------------------------------------------------------------------------- */

.devices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.device {
  padding: 1.25rem;
  border-radius: var(--radius-2xl);
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--glass-edge);
  transition: transform 0.22s var(--ease-out-expo), border-color 0.22s ease;
}

.device:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--primary) 30%, var(--glass-edge));
}

.device__platform {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}

.device__platform svg,
.device__platform img {
  color: #fff;
  filter: brightness(0) invert(1);
}

.device__clients {
  font-size: 0.88rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* ---------------------------------------------------------------------------
   Referral
   --------------------------------------------------------------------------- */

.referral {
  border-radius: var(--radius-3xl);
  padding: clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(
      circle at 85% 0%,
      color-mix(in oklab, var(--primary) 22%, transparent),
      transparent 55%
    ),
    var(--glass-fill);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-edge);
  position: relative;
  overflow: hidden;
}

.referral__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 880px) {
  .referral__grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

.referral__bullets {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.referral__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.96rem;
  color: oklch(0.88 0.01 264);
}

.referral__bullets strong {
  color: var(--foreground);
  font-weight: 700;
}

.referral__bullets .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--primary) 18%, transparent);
  border: 1px solid color-mix(in oklab, var(--primary) 35%, transparent);
  display: grid;
  place-items: center;
  color: var(--primary);
  flex-shrink: 0;
}

.referral__cta {
  margin-top: 1.6rem;
}

.referral__visual {
  position: relative;
}

.ref-stack {
  display: grid;
  gap: 0.75rem;
}

.ref-card {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-2xl);
  background: color-mix(in oklab, var(--glass-fill) 130%, transparent);
  border: 1px solid var(--glass-edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.ref-card__amount {
  color: var(--success);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------------------
   Privacy / security list
   --------------------------------------------------------------------------- */

.privacy-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 720px) {
  .privacy-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.privacy-item {
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-2xl);
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--glass-edge);
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.privacy-item .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: color-mix(in oklab, var(--primary) 18%, transparent);
  color: var(--primary);
  flex-shrink: 0;
}

.privacy-item h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.privacy-item p {
  font-size: 0.9rem;
  line-height: 1.55;
}

.privacy-note {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  max-width: 60rem;
}

/* ---------------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------------- */

.faq {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 880px;
  margin: 0 auto;
}

.faq__item {
  border-radius: var(--radius-2xl);
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--glass-edge);
  overflow: hidden;
}

.faq__item[open] {
  border-color: color-mix(in oklab, var(--primary) 35%, var(--glass-edge));
}

.faq__summary {
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  color: var(--foreground);
  user-select: none;
}

.faq__summary::-webkit-details-marker {
  display: none;
}

.faq__summary::after {
  content: '';
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background:
    linear-gradient(currentColor, currentColor) center/14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center/1.5px 14px no-repeat;
  color: var(--muted-foreground);
  transition: transform 0.22s var(--ease-out-expo);
}

.faq__item[open] .faq__summary::after {
  background:
    linear-gradient(currentColor, currentColor) center/14px 1.5px no-repeat;
  transform: rotate(180deg);
  color: var(--primary);
}

.faq__answer {
  padding: 0 1.4rem 1.25rem;
  color: var(--muted-foreground);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------------------------
   Final CTA
   --------------------------------------------------------------------------- */

.final-cta {
  position: relative;
  margin-top: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-3xl);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
  background:
    radial-gradient(
      circle at 50% 0%,
      color-mix(in oklab, var(--primary) 26%, transparent),
      transparent 65%
    ),
    color-mix(in oklab, var(--glass-fill) 130%, transparent);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid color-mix(in oklab, var(--primary) 30%, var(--glass-edge));
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 55%);
  pointer-events: none;
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  position: relative;
}

.final-cta p {
  max-width: 38rem;
  margin: 0 auto 2rem;
  color: oklch(0.85 0.015 264);
  font-size: 1.05rem;
  position: relative;
}

.final-cta__cta {
  position: relative;
}

.final-cta__note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  position: relative;
}

/* ---------------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------------- */

.site-footer {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
  border-top: 1px solid color-mix(in oklab, var(--glass-edge) 60%, transparent);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 760px) {
  .site-footer__grid {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
}

.site-footer h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.85rem;
}

.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer ul a {
  font-size: 0.92rem;
  color: oklch(0.85 0.01 264);
  transition: color 0.18s ease;
}

.site-footer ul a:hover {
  color: var(--primary);
}

.site-footer__brand {
  font-size: 0.92rem;
  color: var(--muted-foreground);
  line-height: 1.55;
  margin-top: 0.85rem;
  max-width: 28rem;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in oklab, var(--glass-edge) 50%, transparent);
  font-size: 0.82rem;
  color: var(--muted-foreground);
}

/* ---------------------------------------------------------------------------
   Sticky mobile CTA (one main action — Open bot)
   --------------------------------------------------------------------------- */

.sticky-cta {
  position: fixed;
  inset: auto 0 0 0;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background:
    linear-gradient(
      180deg,
      transparent,
      color-mix(in oklab, #050508 80%, transparent) 35%,
      #050508 100%
    );
  z-index: 30;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta .btn {
  width: min(100%, 420px);
  box-shadow:
    0 1px 0 0 color-mix(in oklab, white 30%, transparent) inset,
    0 18px 36px -10px color-mix(in oklab, var(--primary) 70%, transparent);
}

@media (min-width: 880px) {
  .sticky-cta {
    display: none;
  }
}

/* ---------------------------------------------------------------------------
   Reveal on scroll
   --------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------------------------
   Reduced motion
   --------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .mock-floating--top,
  .mock-floating--bottom {
    animation: none;
  }
}
