/* =========================================================
   AnonSIP — anonymous global SIP trunks
   Tokens mirror src/styles/theme.css (shadcn semantic tokens, oklch).
   Toggle themes with <html class="dark"> — see read.MD.
   ========================================================= */

:root {
  /* ---- neutral scale (light) — stepped, not pure black/white ---- */
  --background: oklch(0.985 0 0);
  --surface: oklch(1 0 0);
  --surface-2: oklch(0.965 0 0);
  --surface-3: oklch(0.94 0 0);
  --foreground: oklch(0.22 0 0);
  --muted-foreground: oklch(0.5 0 0);
  --border: oklch(0.9 0 0);
  --border-strong: oklch(0.82 0 0);
  --radius: 0.625rem;

  /* ---- accent: dark neutral on light surfaces ---- */
  --brand: oklch(0.3 0 0);
  --uptime: oklch(0.45 0 0);
  --on-brand: oklch(0.98 0 0);

  /* ---- page aliases: component rules only use these ---- */
  --abyss: var(--background);
  --abyss-2: var(--surface-2);
  --panel: var(--surface);
  --panel-2: var(--surface-3);
  --line: var(--border);
  --line-soft: color-mix(in oklch, var(--border) 55%, transparent);

  --ink: var(--foreground);
  --slate: var(--muted-foreground);
  --slate-dim: color-mix(in oklch, var(--muted-foreground) 75%, transparent);

  /* neutral elevation shadow — no colored glow */
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 6%);
  --shadow-md: 0 6px 20px -8px oklch(0 0 0 / 14%);
  --shadow-lg: 0 18px 44px -20px oklch(0 0 0 / 20%);

  --tint-brand-10: color-mix(in oklch, var(--brand) 10%, transparent);
  --tint-brand-14: color-mix(in oklch, var(--brand) 14%, transparent);
  --tint-uptime-30: color-mix(in oklch, var(--uptime) 30%, transparent);

  --header-bg: color-mix(in oklch, var(--background) 78%, transparent);
  --header-bg-scrolled: color-mix(
    in oklch,
    var(--background) 94%,
    transparent
  );

  --radius-card: calc(var(--radius) + 0.25rem);
  --radius-lg: calc(var(--radius) + 0.75rem);
  --wrap: 1140px;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

.dark {
  /* ---- neutral scale (dark) — five distinct steps ---- */
  --background: oklch(0.17 0 0);
  --surface: oklch(0.215 0 0);
  --surface-2: oklch(0.25 0 0);
  --surface-3: oklch(0.3 0 0);
  --foreground: oklch(0.96 0 0);
  --muted-foreground: oklch(0.73 0 0);
  --border: oklch(0.31 0 0);
  --border-strong: oklch(0.42 0 0);

  /* accent inverts: light neutral reads against dark surfaces */
  --brand: oklch(0.9 0 0);
  --uptime: oklch(0.82 0 0);
  --on-brand: oklch(0.19 0 0);

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 30%);
  --shadow-md: 0 6px 20px -8px oklch(0 0 0 / 45%);
  --shadow-lg: 0 18px 44px -20px oklch(0 0 0 / 60%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--abyss);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--brand);
  color: var(--abyss);
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

/* ============ EYEBROW ============ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brand);
  opacity: 0.6;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
  background: var(--brand);
  color: var(--on-brand);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--on-brand);
}
.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: var(--slate);
}
.btn-ghost:hover {
  color: var(--ink);
  box-shadow: none;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.02rem;
}
.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}
.btn-block {
  width: 100%;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: var(--header-bg-scrolled);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
}
.brand-mark {
  color: var(--brand);
  flex: none;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}
.brand-name span {
  color: var(--brand);
  font-weight: 500;
  opacity: 0.9;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.nav a {
  font-size: 0.93rem;
  color: var(--slate);
  font-weight: 500;
  position: relative;
}
.nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 92px 0 84px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--surface-2);
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(
    circle at 72% 14%,
    #000 0%,
    transparent 70%
  );
  mask-image: radial-gradient(circle at 72% 14%, #000 0%, transparent 70%);
}
.hero-grid {
  position: absolute;
  inset: -2px;
  opacity: 0.5;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(
    circle at 70% 20%,
    #000 0%,
    transparent 72%
  );
  mask-image: radial-gradient(circle at 70% 20%, #000 0%, transparent 72%);
}
.hero-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-net line {
  stroke: var(--border-strong);
  stroke-width: 1;
}
.hero-net .node {
  fill: var(--brand);
  animation: nodePulse 3.4s ease-in-out infinite;
  transform-origin: center;
}
@keyframes nodePulse {
  0%,
  100% {
    opacity: 0.25;
    r: 3;
  }
  50% {
    opacity: 1;
    r: 5.4;
  }
}
.hero-net .packet {
  fill: var(--ink);
  filter: drop-shadow(0 0 4px var(--brand));
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 7px 14px;
  margin-bottom: 1.4rem;
}
.hero .pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: oklch(0.88 0.32 138.56);
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 color-mix(in oklch, var(--uptime) 45%, transparent);
  }
  70%,
  100% {
    box-shadow: 0 0 0 8px transparent;
  }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 0.5em;
}
.hero-title .grad {
  color: var(--slate);
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--slate);
  max-width: 640px;
  margin-bottom: 2.2rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.crypto-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-dim);
}
.crypto-badges .chip {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 6px 13px;
  color: var(--slate);
  background: var(--panel);
}

/* ============ STATS ============ */
.stats {
  padding: 0 0 84px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.stat {
  background: var(--panel);
  padding: 20px 22px;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-dim);
}

/* ============ SECTIONS ============ */
.section {
  padding: 84px 0;
  position: relative;
}
.section.alt {
  background: var(--abyss-2);
  border-block: 1px solid var(--line);
}
.section-head {
  max-width: 660px;
  margin-bottom: 3rem;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head.center .eyebrow {
  justify-content: center;
}
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.section-head p {
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* ============ FEATURE CARDS ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  box-shadow: var(--shadow-sm);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--tint-brand-10);
  color: var(--brand);
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 1.08rem;
  margin-bottom: 0.35em;
}
.feature p {
  font-size: 0.92rem;
  margin: 0;
}

/* ============ COMPATIBILITY ============ */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.logo-chip {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--slate);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 18px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.logo-chip:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

/* ============ CAPABILITY TAGS ============ */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--slate);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 10px 16px;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.feature-tag:hover {
  border-color: var(--brand);
  color: var(--ink);
  transform: translateY(-2px);
}
.feature-tag svg {
  color: var(--brand);
  flex: none;
}

/* ============ PRICING ============ */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.6rem;
}
.bt-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-dim);
  transition: color 0.2s ease;
}
.bt-label.active {
  color: var(--ink);
}
.bt-label em {
  font-style: normal;
  color: var(--uptime);
}

.switch {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  padding: 0;
  transition: background 0.22s ease, border-color 0.22s ease;
}
.switch .knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--slate);
  transition: transform 0.22s ease, background 0.22s ease;
}
.switch[aria-checked="true"] {
  border-color: var(--brand);
  background: var(--tint-brand-14);
}
.switch[aria-checked="true"] .knob {
  transform: translateX(24px);
  background: var(--brand);
}
.switch:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.price {
  box-shadow: var(--shadow-sm);
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s ease, transform 0.22s ease,
    box-shadow 0.22s ease;
}
.price:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.price.featured {
  border-color: var(--border-strong);
  background: var(--panel-2);
}
.badge-pop {
  position: absolute;
  top: -12px;
  left: 28px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--brand);
  color: var(--on-brand);
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 600;
}
.plan-name {
  font-size: 1.24rem;
  margin-bottom: 0.3em;
}
.plan-desc {
  font-size: 0.92rem;
  color: var(--slate);
  margin-bottom: 1.4rem;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}
.plan-price .amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.plan-price .per {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--slate-dim);
}
.plan-feats {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  flex: 1;
}
.plan-feats li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 9px 0;
  font-size: 0.93rem;
  border-bottom: 1px solid var(--line-soft);
}
.plan-feats li:last-child {
  border-bottom: 0;
}
/* Pure-CSS tick: rotated bottom+right borders. Token-colored, no mask,
   no absolute positioning — so it can't drift out of alignment. */
.plan-feats li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 11px;
  margin: 5px 3px 0 4px;
  border: solid var(--brand);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ============ HOW IT WORKS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  box-shadow: var(--shadow-sm);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.step:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--tint-brand-10);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.step h3 {
  font-size: 1.04rem;
  margin-bottom: 0.35em;
}
.step p {
  font-size: 0.92rem;
  margin: 0;
}

/* ============ REVIEWS ============ */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review {
  box-shadow: var(--shadow-sm);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  margin: 0;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.review:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.review p {
  font-size: 0.98rem;
  color: var(--slate);
  margin-bottom: 1.2rem;
}
.review footer {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--slate-dim);
}
.review footer strong {
  color: var(--ink);
  font-weight: 500;
}

/* ============ CTA BAND ============ */
.cta-band {
  padding-bottom: 84px;
}
.cta-inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 56px 44px;
  text-align: center;
}
.cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--surface-2);
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(
    circle at 50% 0%,
    #000 0%,
    transparent 72%
  );
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
}
.cta-inner > * {
  position: relative;
}
.cta-inner h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}
.cta-inner p {
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 1.8rem;
}
.cta-inner .hero-cta {
  justify-content: center;
  margin-bottom: 0;
}

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--abyss-2);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .brand {
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.92rem;
  max-width: 340px;
  margin-bottom: 18px;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-dim);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 0.92rem;
  color: var(--slate);
  padding: 5px 0;
}
.footer-col a:hover {
  color: var(--brand);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--uptime);
  border: 1px solid var(--tint-uptime-30);
  border-radius: 30px;
  padding: 6px 12px;
}
.status-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: oklch(0.88 0.32 138.56);
  animation: ping 2.2s ease-out infinite;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--slate-dim);
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 940px) {
  .feature-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid,
  .review-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .header-actions {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--abyss-2);
    border-bottom: 1px solid var(--line);
    padding: 10px 22px 22px;
    transform: translateY(-140%);
    transition: transform 0.3s ease;
    z-index: 90;
  }
  .nav.open {
    transform: translateY(0);
  }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-inner {
    padding: 40px 24px;
  }
}

@media (max-width: 460px) {
  .feature-grid,
  .steps,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}