/* Seratonin — design tokens & base styles */

:root {
  /* Type */
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-display: "Manrope", ui-sans-serif, system-ui, sans-serif;

  /* Color — dark-first, slight cool-violet tint */
  --bg-0: oklch(0.128 0.014 285);
  --bg-1: oklch(0.152 0.015 285);
  --bg-2: oklch(0.182 0.016 285);
  --bg-3: oklch(0.215 0.016 285);
  --line: oklch(0.27 0.018 285);
  --line-soft: oklch(0.23 0.015 285 / 0.55);
  --fg: oklch(0.97 0.005 280);
  --fg-1: oklch(0.86 0.008 280);
  --fg-2: oklch(0.66 0.012 280);
  --fg-3: oklch(0.5 0.012 280);

  --accent: oklch(0.64 0.19 248);
  --accent-2: oklch(0.76 0.16 242);
  --accent-soft: oklch(0.64 0.19 248 / 0.13);
  --accent-line: oklch(0.64 0.19 248 / 0.42);

  --good: oklch(0.74 0.16 155);
  --warn: oklch(0.78 0.16 75);
  --bad: oklch(0.68 0.21 25);

  /* Density */
  --d-x: 1;
  --pad-card: calc(28px * var(--d-x));
  --pad-section: calc(96px * var(--d-x));
  --gap-tight: calc(8px * var(--d-x));
  --gap: calc(16px * var(--d-x));
  --gap-lg: calc(28px * var(--d-x));

  /* Radius */
  --r-xs: 6px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  /* Shadow */
  --shadow-sm: 0 1px 0 rgba(255,255,255,0.04) inset, 0 1px 2px rgba(0,0,0,0.4);
  --shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 8px 30px rgba(0,0,0,0.45);
  --shadow-lg: 0 1px 0 rgba(255,255,255,0.06) inset, 0 30px 80px rgba(0,0,0,0.55);
  --glow: 0 0 0 1px oklch(0.64 0.19 248 / 0.32), 0 18px 60px oklch(0.64 0.19 248 / 0.22);
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

#top,
#pricing,
#compatibility,
#faq {
  scroll-margin-top: 96px;
}

body {
  background: var(--bg-0);
  color: var(--fg);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── ambient background — slow gradient + grain ───────────────────────────── */
.app-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% -10%, oklch(0.64 0.19 248 / 0.2), transparent 60%),
    radial-gradient(40% 35% at 8% 8%, oklch(0.7 0.17 220 / 0.11), transparent 60%),
    radial-gradient(30% 40% at 100% 80%, oklch(0.64 0.19 248 / 0.09), transparent 70%),
    var(--bg-0);
}
.app-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: overlay;
}

/* grid hairlines for depth */
.app-bg .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 60% at 50% 0%, #000 0%, transparent 80%);
}

/* ── typography ───────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(44px, 6.5vw, 88px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; }
h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -0.025em; }
h3 { font-size: 20px; line-height: 1.25; }
.mono { font-family: var(--font-mono); font-feature-settings: "zero", "ss01"; }
.kbd { font-family: var(--font-mono); font-size: 11px; padding: 2px 6px; border-radius: 4px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--fg-1); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
}

p { color: var(--fg-1); }
.muted { color: var(--fg-2); }
.dim { color: var(--fg-3); }

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

/* ── layout helpers ───────────────────────────────────────────────────────── */
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.row { display: flex; align-items: center; gap: var(--gap); }
.col { display: flex; flex-direction: column; gap: var(--gap); }
.spread { display: flex; align-items: center; justify-content: space-between; gap: var(--gap); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
@media (max-width: 880px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.section { padding-block: var(--pad-section); }
.section-tight { padding-block: calc(var(--pad-section) * 0.55); }

/* ── buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  cursor: pointer;
  background: transparent;
  color: var(--fg);
  transition: transform .12s ease, background .12s ease, border-color .12s ease, color .12s ease, box-shadow .12s ease;
  white-space: nowrap;
  user-select: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn.primary {
  background: var(--fg);
  color: var(--bg-0);
  border-color: var(--fg);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 8px 28px rgba(0,0,0,0.4);
}
.btn.primary:hover { background: var(--fg-1); }

.btn.accent {
  background: linear-gradient(180deg, oklch(0.7 0.18 248), oklch(0.56 0.21 248));
  color: white;
  border-color: oklch(0.76 0.16 242 / 0.4);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 10px 30px oklch(0.64 0.19 248 / 0.38);
}
.btn.accent:hover { filter: brightness(1.06); }

.btn.ghost {
  border-color: var(--line);
  color: var(--fg-1);
  background: oklch(1 0 0 / 0.02);
}
.btn.ghost:hover { background: oklch(1 0 0 / 0.05); border-color: var(--fg-3); color: var(--fg); }

.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn.icon { width: 36px; padding: 0; }

/* ── card / surface ───────────────────────────────────────────────────────── */
.card {
  background: linear-gradient(180deg, oklch(1 0 0 / 0.025), oklch(1 0 0 / 0.004)), var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: var(--pad-card);
  box-shadow: var(--shadow-sm);
}
.surface {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
}
.surface:hover {
  border-color: var(--fg-3);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

/* ── badges & chips ───────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 8px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-1);
}
.badge.dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--good);
  box-shadow: 0 0 0 3px oklch(0.74 0.16 155 / 0.16);
}
.badge.warn { color: oklch(0.85 0.12 75); }
.badge.warn::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 3px oklch(0.78 0.16 75 / 0.16); }
.badge.bad { color: oklch(0.78 0.18 25); }
.badge.bad::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 3px oklch(0.68 0.21 25 / 0.16); }
.badge.accent { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-2); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.04);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--fg-1);
}

/* ── form ─────────────────────────────────────────────────────────────────── */
.input {
  height: 40px;
  padding: 0 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--fg);
  font: inherit;
  font-size: 14px;
  outline: none;
  width: 100%;
}
.input:focus { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.input.mono { font-family: var(--font-mono); font-size: 13px; }

/* ── tabs / nav ───────────────────────────────────────────────────────────── */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.128 0.014 285 / 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.topnav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; font-size: 15px; }
.brand-mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background:
    radial-gradient(120% 120% at 30% 0%, oklch(0.85 0.15 235), oklch(0.55 0.2 248) 60%, oklch(0.4 0.18 255) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 4px 14px oklch(0.6 0.18 248 / 0.5);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 6px;
  border-radius: 4px;
  border: 1.5px solid rgba(255,255,255,0.85);
  border-bottom-color: transparent;
  border-right-color: transparent;
  transform: rotate(45deg);
}

.nav-tabs { display: inline-flex; gap: 2px; padding: 5px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 13px; position: relative; }
.nav-tabs-rail { align-items: center; }
.nav-tabs-rail > a {
  position: relative;
  z-index: 1;
  padding: 7px 15px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg-2);
  transition: color 0.2s ease, transform 0.15s ease;
}
.nav-tabs-rail > a:hover { color: var(--fg); }
.nav-tabs-rail > a:active { transform: scale(0.96); }
.nav-tabs-rail > a.is-active { color: var(--fg); }
.nav-tab-indicator {
  position: absolute;
  bottom: 6px;
  left: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  pointer-events: none;
  opacity: 0.95;
  transition: left 0.28s cubic-bezier(0.22, 1, 0.36, 1), width 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  box-shadow: 0 0 14px oklch(0.64 0.19 248 / 0.4);
}
.nav-tabs-rail[data-active=""] .nav-tab-indicator {
  opacity: 0;
  height: 0;
}

.topnav-actions { gap: 10px; flex-shrink: 0; }
.brand-ver { margin-left: 6px; }

@media (max-width: 900px) {
  .topnav-inner {
    flex-wrap: wrap;
    height: auto;
    padding-block: 12px;
    gap: 12px;
  }
  .nav-tabs-rail { order: 3; width: 100%; justify-content: stretch; }
  .nav-tabs-rail > a { flex: 1; text-align: center; padding-inline: 8px; }
}

/* ── pricing ─────────────────────────────────────────────────────────────── */
.price-card {
  position: relative;
  padding: 32px;
  border-radius: var(--r-xl);
  background: var(--bg-1);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 24px;
}
.price-card.featured {
  background:
    radial-gradient(80% 60% at 100% 0%, oklch(0.66 0.18 245 / 0.20), transparent 60%),
    linear-gradient(180deg, oklch(0.2 0.035 245), oklch(0.16 0.02 245));
  border: 1px solid oklch(0.66 0.18 245 / 0.45);
  box-shadow: 0 30px 80px oklch(0.66 0.18 245 / 0.28), 0 1px 0 rgba(255,255,255,0.06) inset;
}
.price-amount { font-family: var(--font-display); font-size: 56px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.price-period { font-size: 14px; color: var(--fg-2); }
.price-feat { display: grid; grid-template-columns: 16px 1fr; gap: 10px 12px; align-items: start; font-size: 14px; color: var(--fg-1); }
.price-feat svg { width: 16px; height: 16px; color: var(--accent-2); margin-top: 3px; }
.price-feat .strike { color: var(--fg-3); text-decoration: line-through; text-decoration-color: var(--fg-3); }

/* ── terminal showcase ───────────────────────────────────────────────────── */
.term {
  background: linear-gradient(180deg, oklch(0.16 0.014 280), oklch(0.135 0.012 280));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
}
.term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: oklch(0.2 0.014 280);
}
.term-dots { display: flex; gap: 6px; }
.term-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--bg-3); }
.term-bar .title { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); margin-left: auto; margin-right: auto; transform: translateX(-12px); }
.term-body { padding: 18px 20px; min-height: 280px; }
.term-line { display: flex; gap: 12px; }
.term-prompt { color: var(--fg-3); }
.term-ok { color: var(--good); }
.term-warn { color: var(--warn); }
.term-bad { color: var(--bad); }
.term-key { color: var(--accent-2); }
.term-cursor {
  display: inline-block; width: 8px; height: 14px; background: var(--accent);
  vertical-align: -2px; margin-left: 2px; animation: blink 1.05s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ── feature card ────────────────────────────────────────────────────────── */
.feat {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-1);
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .15s, transform .15s;
}
.feat:hover { border-color: var(--fg-3); transform: translateY(-2px); }
.feat-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: grid; place-items: center;
  color: var(--accent-2);
}

/* ── live status ─────────────────────────────────────────────────────────── */
.statbar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.statbar > div { background: var(--bg-1); padding: 22px 24px; }
.statbar h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-2); font-weight: 500; }
.stat-num { font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat-delta { font-family: var(--font-mono); font-size: 12px; color: var(--good); }

/* ── faq ─────────────────────────────────────────────────────────────────── */
.faq-row {
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 0;
  cursor: pointer;
}
.faq-row[data-open="true"] .faq-icon { transform: rotate(45deg); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.faq-icon { width: 18px; height: 18px; color: var(--fg-2); transition: transform .25s ease; }
.faq-a { padding-top: 12px; color: var(--fg-2); max-width: 70ch; }

/* ── dashboard sidebar ───────────────────────────────────────────────────── */
.dash {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
  padding-block: 32px;
}
.dash-side {
  position: sticky; top: 88px;
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.dash-side button {
  appearance: none; border: 0; background: transparent;
  text-align: left;
  padding: 10px 12px; border-radius: 8px;
  color: var(--fg-2); font: inherit; font-size: 13.5px; font-weight: 500;
  cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  transition: background .12s, color .12s;
}
.dash-side button svg { width: 16px; height: 16px; }
.dash-side button:hover { color: var(--fg); background: var(--bg-2); }
.dash-side button[aria-current="true"] {
  color: var(--fg);
  background: var(--bg-3);
}
.dash-side .side-divider { height: 1px; background: var(--line-soft); margin: 6px 4px; }
.dash-side .side-label { padding: 8px 12px 4px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); }

/* ── key copy ────────────────────────────────────────────────────────────── */
.keybox {
  display: flex; align-items: center; gap: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
}
.keybox .key {
  flex: 1; min-width: 0;
  font-family: var(--font-mono); font-size: 13px;
  padding: 12px 16px;
  color: var(--fg);
  letter-spacing: 0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.keybox button {
  appearance: none; border: 0;
  border-left: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--fg-1);
  font: inherit; font-size: 13px;
  height: 100%;
  padding: 12px 16px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .12s, color .12s;
}
.keybox button:hover { background: var(--bg-3); color: var(--fg); }

/* ── progress ────────────────────────────────────────────────────────────── */
.prog { height: 6px; border-radius: 999px; background: var(--bg-3); overflow: hidden; }
.prog > i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: inherit;
}

/* ── table (admin) ───────────────────────────────────────────────────────── */
.tbl {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.tbl th { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); font-weight: 500; padding-bottom: 10px; }
.tbl tr:hover td { background: oklch(1 0 0 / 0.018); }
.tbl td.mono { font-family: var(--font-mono); font-size: 12.5px; color: var(--fg-1); }

/* ── misc ────────────────────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--line-soft); }
.scroll-x { overflow-x: auto; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}
.pulse { animation: pulse-dot 1.6s ease-in-out infinite; }

.plan-pick-btn {
  appearance: none;
  text-align: left;
  cursor: pointer;
  padding: 18px;
  border-radius: 14px;
  font: inherit;
  color: var(--fg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.16s ease;
}
.plan-pick-btn:hover {
  transform: translateY(-1px);
}
.plan-pick-btn:active {
  transform: translateY(0) scale(0.99);
}
.plan-pick-btn--selected {
  box-shadow: 0 0 0 1px var(--accent-line), 0 12px 36px oklch(0.64 0.19 248 / 0.15);
}

@keyframes drift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(20px, -10px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* hero gradient orb */
.orb {
  position: absolute;
  width: 580px; height: 580px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite;
  pointer-events: none;
}

/* ── live purchase ping (social proof, bottom-left) ─────────────────────── */
.purchase-ping {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 45;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: min(300px, calc(100vw - 32px));
  padding: 14px 16px 14px 14px;
  background: linear-gradient(145deg, oklch(1 0 0 / 0.04), transparent), var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  line-height: 1.45;
  color: var(--fg-1);
  opacity: 0;
  transform: translate3d(-24px, 10px, 0);
  transition:
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.purchase-ping--in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.purchase-ping-dot {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 3px oklch(0.74 0.16 155 / 0.22);
  animation: purchase-ping-dot 2.2s ease-in-out infinite;
}
@keyframes purchase-ping-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.12); }
}
.purchase-ping-plan {
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.purchase-ping-meta {
  color: var(--fg-2);
  font-weight: 400;
}
@media (prefers-reduced-motion: reduce) {
  .purchase-ping { transition: opacity 0.2s ease; transform: none; }
  .purchase-ping-dot { animation: none; }
}

/* ── section entrance (light, not cheesy) ─────────────────────────────── */
.section-reveal {
  animation: section-reveal-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.section-reveal-delay-1 { animation-delay: 0.06s; }
.section-reveal-delay-2 { animation-delay: 0.12s; }
.section-reveal-delay-3 { animation-delay: 0.18s; }
@keyframes section-reveal-in {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .section-reveal,
  .section-reveal-delay-1,
  .section-reveal-delay-2,
  .section-reveal-delay-3 {
    animation: none;
  }
}
