/* ─── Set Assist marketing — shared tokens, base, and animations ─── */

:root {
  --sa-bg: #0a0a0c;
  --sa-bg-2: #0f0f10;
  --sa-surface: #141416;
  --sa-card: #1c1c1e;
  --sa-card-2: #2c2c2e;
  --sa-card-soft: #232325;

  --sa-text:  #f2f2f7;
  --sa-text2: #d8d8e0;
  --sa-text3: rgba(235,235,245,0.62);
  --sa-text4: rgba(235,235,245,0.38);
  --sa-text5: rgba(235,235,245,0.20);

  --sa-accent:    #5e5ce6;
  --sa-accent-hi: #7b7af4;
  --sa-accent-2:  #a8a6ff;
  --sa-accent-dim: rgba(94,92,230,0.14);
  --sa-accent-bd:  rgba(123,122,244,0.35);

  --sa-green:  #30d158;
  --sa-amber:  #ff9f0a;
  --sa-red:    #ff453a;
  --sa-pink:   #ff375f;
  --sa-teal:   #40c8e0;
  --sa-purple: #bf5af2;

  --sa-font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "SF Pro Text", system-ui, sans-serif;
  --sa-mono: "SF Mono", ui-monospace, Menlo, monospace;

  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-pop:    cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--sa-bg); }

body {
  font-family: var(--sa-font);
  font-feature-settings: "kern", "liga", "calt", "ss01";
  letter-spacing: -0.012em;
  background: var(--sa-bg);
  color: var(--sa-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;

  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s var(--ease-spring),
              transform 0.55s var(--ease-spring);
}
body.page-ready { opacity: 1; transform: translateY(0); }

/* Page-leave: triggered on internal link clicks before navigation */
body.page-leaving {
  opacity: 0;
  transform: translateY(-6px) scale(0.997);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

@media (prefers-reduced-motion: reduce) {
  body { opacity: 1; transform: none; transition: none; }
  body.page-leaving { opacity: 1; transform: none; }
}

::selection { background: var(--sa-accent); color: #fff; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.display { font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }

/* Ambient glow on hero/feature sections */
.ambient::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 60%;
  background: radial-gradient(ellipse at 50% 0%, rgba(123,122,244,0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.35;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

/* ─── Reveal-on-scroll ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease-spring), transform 800ms var(--ease-spring), filter 800ms var(--ease-spring);
  will-change: transform, opacity;
}
.reveal.in { opacity: 1; transform: none; }

.reveal-blur { filter: blur(12px); }
.reveal-blur.in { filter: blur(0); }

.reveal-scale { transform: translateY(20px) scale(0.96); }
.reveal-scale.in { transform: none; }

/* Stagger delays (data-stagger="1..8") */
.reveal[data-stagger="1"] { transition-delay: 60ms; }
.reveal[data-stagger="2"] { transition-delay: 120ms; }
.reveal[data-stagger="3"] { transition-delay: 180ms; }
.reveal[data-stagger="4"] { transition-delay: 240ms; }
.reveal[data-stagger="5"] { transition-delay: 300ms; }
.reveal[data-stagger="6"] { transition-delay: 360ms; }
.reveal[data-stagger="7"] { transition-delay: 420ms; }
.reveal[data-stagger="8"] { transition-delay: 480ms; }

/* ─── Idle motion ─── */
@keyframes floatY {
  0%, 100% { transform: var(--frag-rot, none) translateY(0); }
  50%      { transform: var(--frag-rot, none) translateY(-10px); }
}
@keyframes floatYAlt {
  0%, 100% { transform: var(--frag-rot, none) translateY(0); }
  50%      { transform: var(--frag-rot, none) translateY(8px); }
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(48,209,88,0.7); }
  70%      { box-shadow: 0 0 0 8px rgba(48,209,88,0); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
@keyframes ringDraw {
  from { stroke-dashoffset: var(--ring-c); }
  to   { stroke-dashoffset: var(--ring-end); }
}
@keyframes dashFlow {
  to { stroke-dashoffset: -120; }
}
@keyframes barFill {
  from { width: 0; }
  to   { width: var(--bar-w, 100%); }
}
@keyframes liveDot {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.25); }
}
@keyframes navInk {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

.float-idle  { animation: floatY 7s ease-in-out infinite; }
.float-idle.alt { animation-name: floatYAlt; animation-duration: 8.5s; }

.in .ring-stroke { animation: ringDraw 1.4s var(--ease-spring) 0.2s forwards; }
.in .dash-flow   { animation: dashFlow 4s linear infinite; }
.in .bar-fill    { animation: barFill 1.2s var(--ease-spring) 0.3s forwards; }

.live-dot { animation: liveDot 1.8s ease-in-out infinite; }
.pulse-dot { animation: pulseDot 2.2s ease-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .float-idle, .live-dot, .pulse-dot, .dash-flow { animation: none !important; }
}

/* ─── Surface primitives ─── */
.glass {
  background: linear-gradient(180deg, rgba(36,36,42,0.78), rgba(20,20,24,0.78));
  border: 0.5px solid rgba(255,255,255,0.10);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 24px 60px -20px rgba(0,0,0,0.6),
    0 8px 30px -10px rgba(94,92,230,0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 22px;
  transition: transform 320ms var(--ease-spring), box-shadow 320ms var(--ease-spring);
}
.glass:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.10) inset,
    0 32px 80px -20px rgba(0,0,0,0.7),
    0 12px 44px -10px rgba(94,92,230,0.30);
}
.glass-soft {
  background: rgba(28,28,30,0.6);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.surface {
  background: linear-gradient(180deg, #1c1c1e 0%, #141416 100%);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 40px 80px -30px rgba(0,0,0,0.7),
    0 12px 40px -10px rgba(94,92,230,0.18);
  overflow: hidden;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(123,122,244,0.10);
  border: 0.5px solid var(--sa-accent-bd);
  color: var(--sa-accent-hi);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--sa-accent-hi);
  box-shadow: 0 0 12px var(--sa-accent-hi);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 16px; font-weight: 600;
  letter-spacing: -0.01em;
  border: none; cursor: pointer; text-decoration: none;
  transition: transform 220ms var(--ease-spring), background 160ms ease, box-shadow 220ms var(--ease-spring), color 160ms ease;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--sa-accent); color: #fff;
  box-shadow: 0 8px 24px -8px rgba(94,92,230,0.6);
}
.btn-primary:hover {
  background: var(--sa-accent-hi);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(94,92,230,0.7);
}
.btn-secondary {
  background: rgba(255,255,255,0.08); color: var(--sa-text);
  border: 0.5px solid rgba(255,255,255,0.12);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.btn-ghost { background: transparent; color: var(--sa-accent-hi); padding: 14px 16px; }
.btn-ghost:hover { color: var(--sa-accent-2); }
.btn:active { transform: scale(0.97); }

/* Shine sweep on primary buttons */
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}
.btn-primary:hover::after { transform: translateX(120%); }

/* ─── Section spacing ─── */
.section { position: relative; padding: 140px 24px; }
@media (max-width: 900px) { .section { padding: 96px 20px; } }

.container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.container-narrow { max-width: 920px; margin: 0 auto; position: relative; z-index: 2; }

/* ─── Store badges ─── */
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 14px;
  border-radius: 14px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  transition: transform 220ms var(--ease-spring), border-color 160ms ease, box-shadow 220ms var(--ease-spring);
  text-decoration: none;
}
.store-badge:hover {
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -16px rgba(0,0,0,0.7);
}
.store-badge .sb-small { font-size: 10px; letter-spacing: 0.06em; opacity: 0.75; line-height: 1.1; }
.store-badge .sb-big { font-size: 18px; font-weight: 600; line-height: 1.1; margin-top: 2px; letter-spacing: -0.01em; }

/* ─── Tier card ─── */
.tier {
  position: relative;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(28,28,30,0.8), rgba(20,20,22,0.8));
  border: 0.5px solid rgba(255,255,255,0.10);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform 320ms var(--ease-spring), box-shadow 320ms var(--ease-spring), border-color 320ms ease;
}
.tier:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.16); }
.tier.featured {
  background: linear-gradient(180deg, rgba(94,92,230,0.18), rgba(36,32,80,0.6));
  border: 1px solid var(--sa-accent-bd);
  box-shadow: 0 24px 60px -24px rgba(94,92,230,0.5);
}
.tier.featured:hover { box-shadow: 0 36px 80px -24px rgba(94,92,230,0.65); }
.tier h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.tier .price-row { display: flex; align-items: baseline; gap: 6px; }
.tier .price { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; }
.tier .per { color: var(--sa-text3); font-size: 14px; }
.tier ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tier li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--sa-text2); }
.tier li svg { flex-shrink: 0; margin-top: 2px; }

/* ─── Compare table ─── */
.compare { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td {
  padding: 16px 18px; text-align: left;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.compare thead th { font-weight: 600; color: var(--sa-text); font-size: 13px; letter-spacing: -0.01em; }
.compare thead th.tier-col { text-align: center; min-width: 110px; }
.compare td.tier-cell { text-align: center; color: var(--sa-text3); }
.compare td.tier-cell.yes { color: var(--sa-accent-hi); }
.compare td.tier-cell.featured { background: rgba(94,92,230,0.06); }
.compare th.featured { background: rgba(94,92,230,0.10); }
.compare .group-row td {
  background: rgba(255,255,255,0.02);
  color: var(--sa-text3); font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 18px 18px 8px;
}
.compare tr.row-feature td { color: var(--sa-text); }
.compare tr.row-feature td .sub { color: var(--sa-text3); font-size: 12px; margin-top: 2px; }
.compare tr.row-feature { transition: background 160ms ease; }
.compare tr.row-feature:hover { background: rgba(255,255,255,0.02); }

/* ─── Sticky nav ─── */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 28px); max-width: 1100px;
  padding: 10px 14px 10px 18px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(20,20,24,0.6);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 0.5px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  box-shadow: 0 8px 32px -10px rgba(0,0,0,0.5);
  transition: top 200ms var(--ease-spring), padding 200ms var(--ease-spring);
}
.nav.scrolled { top: 8px; padding-top: 8px; padding-bottom: 8px; }

.nav .brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
}
.nav .brand .icon {
  width: 28px; height: 28px; border-radius: 7px;
  background: linear-gradient(135deg, var(--sa-accent-hi), var(--sa-accent));
  display: grid; place-items: center;
  box-shadow: 0 4px 12px -2px rgba(94,92,230,0.5);
  transition: transform 320ms var(--ease-pop);
}
.nav .brand:hover .icon { transform: rotate(-10deg) scale(1.06); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  color: var(--sa-text2);
  transition: background 120ms ease, color 120ms ease;
}
.nav-links a:hover { background: rgba(255,255,255,0.06); color: var(--sa-text); }
.nav-links a.active {
  color: var(--sa-text);
  background: rgba(255,255,255,0.08);
}
.nav-links a.active::after {
  content: "";
  position: absolute; left: 50%; bottom: 3px;
  width: 18px; height: 2px; border-radius: 2px;
  background: var(--sa-accent-hi);
  transform: translateX(-50%) scaleX(0);
  animation: navInk 0.4s var(--ease-spring) 0.1s forwards;
  transform-origin: center;
}
@media (max-width: 720px) { .nav-links { display: none; } }

/* ─── Mobile burger button (≤720px) ─── */
.nav-burger {
  display: none;
  appearance: none;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.10);
  width: 36px; height: 36px; border-radius: 10px;
  margin-left: 8px;
  cursor: pointer;
  position: relative;
  transition: background 160ms ease;
}
.nav-burger:hover { background: rgba(255,255,255,0.10); }
.nav-burger span {
  position: absolute; left: 50%; top: 50%;
  width: 16px; height: 1.5px; border-radius: 2px;
  background: var(--sa-text);
  transform: translate(-50%, -50%);
  transition: transform 280ms var(--ease-spring), opacity 180ms ease;
}
.nav-burger span:nth-child(1) { transform: translate(-50%, calc(-50% - 5px)); }
.nav-burger span:nth-child(3) { transform: translate(-50%, calc(-50% + 5px)); }
.nav-burger.open span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-burger { display: inline-block; }
  .nav .nav-cta { display: none; } /* CTA moves into the dropdown */
}

/* ─── Mobile dropdown panel ─── */
.nav-mobile {
  position: fixed;
  top: 70px; left: 14px; right: 14px;
  z-index: 99;
  padding: 14px;
  display: none;
  flex-direction: column;
  gap: 4px;
  background: rgba(20,20,24,0.92);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  backdrop-filter: blur(28px) saturate(160%);
  border: 0.5px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 24px 60px -20px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 240ms var(--ease-spring), transform 280ms var(--ease-spring);
  pointer-events: none;
}
.nav-mobile.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.nav-mobile a {
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 17px; font-weight: 500;
  color: var(--sa-text2);
  letter-spacing: -0.01em;
  transition: background 120ms ease, color 120ms ease;
}
.nav-mobile a:active,
.nav-mobile a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--sa-text);
}
.nav-mobile a.active {
  color: var(--sa-text);
  background: rgba(255,255,255,0.08);
}
.nav-mobile .nav-mobile-cta {
  margin-top: 6px;
  text-align: center;
  background: var(--sa-accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 16px;
}
.nav-mobile .nav-mobile-cta:hover { background: var(--sa-accent-hi); color: #fff; }

@media (min-width: 721px) {
  .nav-mobile, .nav-mobile-overlay { display: none !important; }
}
@media (max-width: 720px) {
  .nav-mobile { display: flex; }
}

/* Backdrop behind the dropdown — taps anywhere outside close it */
.nav-mobile-overlay {
  position: fixed; inset: 0; z-index: 98;
  background: rgba(10,10,12,0.45);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.nav-mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ─── iOS-ish status bar ─── */
.ios-statusbar {
  height: 44px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px;
  font-size: 14px; font-weight: 600; color: var(--sa-text);
  font-feature-settings: "tnum";
}

/* ─── List row ─── */
.list-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}
.list-row:last-child { border-bottom: none; }
.list-row .icon {
  width: 30px; height: 30px;
  border-radius: 7px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.list-row .label { font-size: 16px; font-weight: 500; }
.list-row .sub { font-size: 13px; color: var(--sa-text3); margin-top: 1px; }

/* ─── FAQ ─── */
.faq-item {
  border-top: 0.5px solid rgba(255,255,255,0.08);
  padding: 22px 0;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  transition: color 160ms ease;
}
.faq-q:hover { color: var(--sa-accent-hi); }
.faq-a {
  margin-top: 12px;
  color: var(--sa-text3);
  font-size: 16px; line-height: 1.6;
  max-width: 720px;
  animation: faqOpen 0.35s var(--ease-spring);
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ─── Marquee ─── */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: inline-flex; gap: 14px;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: rgba(28,28,30,0.7);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  color: var(--sa-text2);
  transition: border-color 200ms ease, background 200ms ease;
}
.marquee-chip:hover { border-color: rgba(255,255,255,0.18); background: rgba(36,36,42,0.85); }
.marquee-chip .role-dot { width: 8px; height: 8px; border-radius: 50%; }

.section-eyebrow {
  font-size: 13px; font-weight: 600;
  color: var(--sa-accent-hi);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 14px;
}

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

.hscroll { overflow-x: auto; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }

/* ─── Pricing toggle ─── */
.pricing-toggle {
  display: inline-flex;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  padding: 4px;
  position: relative;
}
.pricing-toggle button {
  position: relative; z-index: 1;
  padding: 10px 22px;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: var(--sa-text3);
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: color 200ms ease;
}
.pricing-toggle button.active { color: var(--sa-text); }
.pricing-toggle .toggle-pill {
  position: absolute; top: 4px; bottom: 4px;
  background: rgba(255,255,255,0.10);
  border-radius: 999px;
  transition: left 0.35s var(--ease-spring), width 0.35s var(--ease-spring);
  z-index: 0;
}
.pricing-toggle .save-pill {
  margin-left: 8px;
  background: var(--sa-green);
  color: #022b0e;
  font-size: 10px; font-weight: 700;
  padding: 2px 6px; border-radius: 4px;
  vertical-align: middle;
}

/* ─── Footer ─── */
footer {
  padding: 80px 24px 60px;
  border-top: 0.5px solid rgba(255,255,255,0.08);
  position: relative;
}
footer .col-title {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sa-text3);
  margin-bottom: 16px;
}
footer a {
  display: block; padding: 4px 0;
  color: var(--sa-text2); font-size: 14px;
  transition: color 160ms ease, transform 160ms ease;
}
footer a:hover { color: var(--sa-text); transform: translateX(2px); }

body { content-visibility: auto; }

/* ─── Tier badge (Basic / Pro / Free) — used on Features page ─── */
.tier-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  border: 0.5px solid transparent;
  white-space: nowrap;
}
.tier-badge.free  { color: var(--sa-text2); background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.10); }
.tier-badge.basic { color: var(--sa-accent-hi); background: var(--sa-accent-dim); border-color: var(--sa-accent-bd); }
.tier-badge.pro   { color: #fff; background: linear-gradient(135deg, var(--sa-accent-hi), var(--sa-purple)); border-color: transparent; box-shadow: 0 4px 14px -4px rgba(123,122,244,0.5); }

/* Feature catalog cards */
.feature-card {
  position: relative;
  padding: 22px 22px 24px;
  background: linear-gradient(180deg, rgba(28,28,30,0.7), rgba(20,20,22,0.7));
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  transition: transform 320ms var(--ease-spring), border-color 320ms ease, background 320ms ease;
  overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 0% 0%, var(--card-glow, rgba(123,122,244,0.10)), transparent 60%);
  opacity: 0; transition: opacity 320ms ease;
  pointer-events: none;
}
.feature-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.16); }
.feature-card:hover::before { opacity: 1; }
.feature-card .fc-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  margin-bottom: 10px;
}
.feature-card .fc-icon {
  width: 36px; height: 36px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--card-icon-bg, var(--sa-accent-dim));
  border: 0.5px solid var(--card-icon-bd, var(--sa-accent-bd));
  flex-shrink: 0;
}
.feature-card .fc-title { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.feature-card .fc-body { font-size: 14px; line-height: 1.55; color: var(--sa-text3); margin-top: 2px; }

/* Category section header on Features page */
.cat-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.cat-head .cat-num {
  font-family: var(--sa-mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sa-text4);
}
.cat-head .cat-rule { flex: 1; height: 0.5px; background: rgba(255,255,255,0.08); }

/* Filter pills */
.filter-pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.10);
  color: var(--sa-text2);
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: all 200ms var(--ease-spring);
  letter-spacing: -0.01em;
}
.filter-pill:hover { background: rgba(255,255,255,0.08); color: var(--sa-text); }
.filter-pill.active {
  background: var(--sa-accent);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px -8px rgba(94,92,230,0.6);
}
.filter-pill .count {
  margin-left: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  font-variant-numeric: tabular-nums;
}
.filter-pill.active .count { color: rgba(255,255,255,0.85); }
