/* ============================================================
   Versatile Intelligence — versai.live
   Design system: pure white ground, rainbow accent spectrum,
   harsh gradients, liquid glass, neon glow, soft radii.
   ============================================================ */

:root {
  /* Cobalt spectrum — sky, azure, cobalt, navy (no purple, ever) */
  --red: #1e5be6;
  --orange: #2f8aff;
  --yellow: #7cc4ff;
  --green: #2f8aff;
  --teal: #7cc4ff;
  --blue: #2f8aff;
  --purple: #1e5be6;
  --pink: #143a9e;
  --link: #1e5be6;

  /* Neutrals on pure white */
  --bg: #ffffff;
  --ink: #0b0d12;
  --ink-2: #333947;
  --ink-3: #4b5362;
  --line: #e8eaef;
  --line-soft: #f1f3f7;

  /* Harsh (hard-stop) cobalt gradient */
  --rainbow-harsh: linear-gradient(90deg,
    #7cc4ff 0 25%, #2f8aff 25% 50%, #1e5be6 50% 75%, #143a9e 75% 100%);

  /* Smooth cobalt sweep for text fills */
  --rainbow-smooth: linear-gradient(100deg,
    #7cc4ff, #2f8aff 35%, #1e5be6 70%, #143a9e);

  --grad-brand: linear-gradient(120deg, #2f8aff, #1e5be6 55%, #143a9e);

  /* Radii */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(11, 13, 18, .05), 0 4px 12px rgba(11, 13, 18, .05);
  --shadow-md: 0 2px 4px rgba(11, 13, 18, .05), 0 12px 28px rgba(11, 13, 18, .09);
  --shadow-lg: 0 4px 8px rgba(11, 13, 18, .05), 0 24px 60px rgba(11, 13, 18, .14);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --max: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

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

.container { width: min(var(--max), 92vw); margin: 0 auto; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  transform: translateY(-300%);
  opacity: 0;
  pointer-events: none;
  transition: transform .2s ease, opacity .2s ease;
}
.skip-link:focus, .skip-link:focus-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible { outline-offset: 4px; }

/* ---------- Icons ---------- */
.icon { width: 22px; height: 22px; stroke-width: 2; flex: none; }
.icon-sm { width: 17px; height: 17px; }
.icon-lg { width: 28px; height: 28px; }

/* ============================================================
   Header — liquid glass
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px 0;
  transition: padding .3s ease;
}
.header-glass {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 1px 1px rgba(11, 13, 18, .04),
    0 12px 32px rgba(11, 13, 18, .10);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #0b0b0f;
  box-shadow: 0 4px 14px rgba(20, 58, 158, .4);
}
.brand-mark .brand-emblem { width: 24px; height: 24px; }
.brand span em { font-style: normal; color: var(--ink-3); font-weight: 500; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: background .2s ease, color .2s ease;
}
.main-nav a:hover { background: rgba(11, 13, 18, .06); color: var(--ink); }
.main-nav a.active { color: var(--ink); font-weight: 600; }
.main-nav a.active::after {
  content: "";
  display: block;
  height: 3px;
  margin-top: 1px;
  border-radius: 2px;
  background: var(--rainbow-harsh);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle:hover { background: rgba(11, 13, 18, .06); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  border: 0;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2, .8, .3, 1.2), box-shadow .25s ease, background .2s ease;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover .icon-arrow { transform: translateX(4px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, #2f8aff, #1e5be6 60%, #143a9e);
  background-size: 160% 160%;
  box-shadow: 0 6px 18px rgba(20, 58, 158, .35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(20, 58, 158, .45);
  background-position: 100% 50%;
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: #d8dbe4;
  box-shadow: var(--shadow-md);
}

.btn-glow {
  position: relative;
  animation: neon-pulse 2.6s ease-in-out infinite;
}
@keyframes neon-pulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(20, 58, 158, .35), 0 0 0 0 rgba(47, 138, 255, .30); }
  50% { box-shadow: 0 6px 24px rgba(20, 58, 158, .5), 0 0 26px 6px rgba(124, 196, 255, .32); }
}

.btn-lg { padding: 15px 28px; font-size: 1.02rem; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 168px 0 84px;
  overflow: clip;
}
.hero-orbs { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .35;
  animation: orb-float 12s ease-in-out infinite;
}
.orb-1 { width: 420px; height: 420px; top: -120px; left: -80px; background: radial-gradient(circle, var(--teal), transparent 65%); }
.orb-2 { width: 480px; height: 480px; top: -60px; right: -120px; background: radial-gradient(circle, var(--pink), transparent 65%); animation-delay: -4s; }
.orb-3 { width: 360px; height: 360px; bottom: -140px; left: 34%; background: radial-gradient(circle, var(--purple), transparent 65%); animation-delay: -8s; }
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -20px) scale(1.06); }
}

.hero-inner { text-align: center; max-width: 880px; margin: 0 auto; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-2);
  background: rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(47, 138, 255, .6);
  animation: dot-glow 2s ease-out infinite;
}
@keyframes dot-glow {
  0% { box-shadow: 0 0 0 0 rgba(47, 138, 255, .55); }
  100% { box-shadow: 0 0 0 9px rgba(47, 138, 255, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.2vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: -.03em;
  font-weight: 700;
  margin: 26px 0 22px;
}
.rainbow-text {
  background: var(--rainbow-smooth);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rainbow-slide 7s linear infinite;
}
@keyframes rainbow-slide {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

.hero-sub {
  font-size: 1.16rem;
  color: var(--ink-3);
  max-width: 620px;
  margin: 0 auto 34px;
}

.hero-ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* rainbow hairline divider — harsh stops */
.rainbow-rule {
  height: 4px;
  border: 0;
  background: var(--rainbow-harsh);
  border-radius: 2px;
}
.rainbow-rule-thin { height: 3px; }

/* ============================================================
   Metrics
   ============================================================ */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 74px;
}
.metric {
  position: relative;
  padding: 26px 22px 22px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: left;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.metric:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.metric::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--stripe, var(--blue));
}
.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.metric strong, .metric strong span, .metric strong em {
  background: linear-gradient(110deg, #2f8aff, #1e5be6 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric strong {
  animation: stat-glow 3.2s ease-in-out infinite;
}
@keyframes stat-glow {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(47, 138, 255, .30)); }
  50% { filter: drop-shadow(0 0 16px rgba(47, 138, 255, .65)); }
}
.metric > span { color: var(--ink-3); font-size: .92rem; }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 92px 0; position: relative; }
.section-tint { background: linear-gradient(180deg, #fff, #fafbfd 20%, #fafbfd 80%, #fff); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--link);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 4px;
  border-radius: 2px;
  background: var(--rainbow-harsh);
}
.section-head { max-width: 700px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  letter-spacing: -.025em;
  line-height: 1.12;
  margin: 14px 0 14px;
}
.section-head p { color: var(--ink-3); font-size: 1.08rem; }

/* ---------- Feature cards — 3 in a row ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2, .8, .3, 1.1), box-shadow .35s ease;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  background: var(--stripe-grad, var(--grad-brand));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 20px;
  background: var(--stripe-grad, var(--grad-brand));
  box-shadow: 0 8px 20px var(--icon-glow, rgba(47, 138, 255, .35));
  transition: transform .35s ease;
}
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: -.015em;
  margin-bottom: 10px;
}
.feature-card > p { color: var(--ink-3); font-size: .98rem; margin-bottom: 16px; }

/* checkmark bullets */
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--ink-2);
}
.checklist .icon {
  width: 19px; height: 19px;
  margin-top: 3px;
  color: var(--check, var(--green));
  stroke-width: 3;
}

/* ============================================================
   Bento grid
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 18px;
}
.bento-cell {
  position: relative;
  border-radius: var(--r-lg);
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}
.bento-cell:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #dcdfe8;
}
.bento-cell h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: -.01em;
}
.bento-cell p { color: var(--ink-3); font-size: .92rem; }
.bento-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: auto;
  background: var(--cell-grad, var(--grad-brand));
  box-shadow: 0 6px 16px var(--cell-glow, rgba(47, 138, 255, .3));
}
.b-span-3 { grid-column: span 3; }
.b-span-2 { grid-column: span 2; }
.b-span-4 { grid-column: span 4; }
.b-tall { grid-row: span 2; }

.bento-hero-cell {
  color: #fff;
  border: 0;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 255, 255, .18), transparent 45%),
    linear-gradient(130deg, var(--blue), var(--purple) 55%, var(--pink));
  justify-content: center;
}
.bento-hero-cell h3 { font-size: 1.5rem; }
.bento-hero-cell p { color: rgba(255, 255, 255, .85); font-size: 1rem; }

/* neon-glow chip inside bento */
.neon-chip {
  align-self: flex-start;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1.5px solid currentColor;
  animation: chip-glow 2.4s ease-in-out infinite;
}
@keyframes chip-glow {
  0%, 100% { box-shadow: 0 0 4px rgba(124, 196, 255, .4), inset 0 0 4px rgba(124, 196, 255, .15); }
  50% { box-shadow: 0 0 16px rgba(124, 196, 255, .75), inset 0 0 8px rgba(124, 196, 255, .3); }
}

/* ============================================================
   Not-X-It's-Y
   ============================================================ */
.notx {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.notx-card {
  padding: 30px 28px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--stripe, var(--purple));
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.notx-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.notx-card .not {
  display: block;
  font-size: .95rem;
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  margin-bottom: 6px;
}
.notx-card .is {
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.notx-card p { margin-top: 12px; color: var(--ink-3); font-size: .95rem; }

/* ============================================================
   Calculator
   ============================================================ */
.calc-wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  border-radius: var(--r-xl);
  padding: 34px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), var(--shadow-lg);
}
.calc-bg {
  position: relative;
  border-radius: var(--r-xl);
  padding: 3px;
  background: var(--rainbow-smooth);
  background-size: 300% 300%;
  animation: rainbow-slide 9s linear infinite;
}
.calc-field { margin-bottom: 20px; }
.calc-field label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: .93rem;
  margin-bottom: 8px;
}
.calc-field output { font-variant-numeric: tabular-nums; color: var(--link); font-weight: 700; }
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--orange) var(--fill, 50%), var(--line) var(--fill, 50%));
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--orange);
  box-shadow: 0 2px 8px rgba(47, 138, 255, .4);
  transition: transform .2s ease;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--orange);
  box-shadow: 0 2px 8px rgba(47, 138, 255, .4);
}
.calc-note { font-size: .84rem; color: var(--ink-3); }

.calc-results { display: grid; gap: 16px; align-content: start; }
.calc-result {
  padding: 22px 24px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--stripe, var(--orange));
  box-shadow: var(--shadow-sm);
}
.calc-result span { font-size: .88rem; color: var(--ink-3); display: block; }
.calc-result strong {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.calc-result-hot {
  border: 0;
  color: #fff;
  background: linear-gradient(120deg, var(--red), var(--pink));
  animation: hot-glow 2.8s ease-in-out infinite;
}
.calc-result-hot span { color: rgba(255, 255, 255, .85); }
@keyframes hot-glow {
  0%, 100% { box-shadow: 0 8px 24px rgba(30, 91, 230, .35); }
  50% { box-shadow: 0 8px 34px rgba(20, 58, 158, .55); }
}

/* ============================================================
   Steps / how it works
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  letter-spacing: -.03em;
  background: var(--num-grad, var(--grad-brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 8px;
}
.step h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--ink-3); font-size: .95rem; }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.testimonial {
  position: relative;
  padding: 30px 30px 26px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--stripe, var(--blue));
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stars { display: flex; gap: 3px; color: var(--yellow); margin-bottom: 14px; }
.stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; filter: drop-shadow(0 0 4px rgba(124, 196, 255, .55)); }
.testimonial blockquote {
  font-size: 1.04rem;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.testimonial cite { font-style: normal; display: block; }
.testimonial cite strong { display: block; font-size: .95rem; }
.testimonial cite span { font-size: .87rem; color: var(--ink-3); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  border: 1px solid var(--line);
  border-left: 6px solid var(--stripe, var(--blue));
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease;
  overflow: hidden;
}
.faq details:hover { box-shadow: var(--shadow-md); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--line-soft);
  font-weight: 600;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq details[open] summary::after {
  content: "−";
  background: var(--ink);
  color: #fff;
  transform: rotate(180deg);
}
.faq details > p {
  padding: 0 22px 20px;
  color: var(--ink-2);
  font-size: .98rem;
}
.faq details > p a { color: var(--link); font-weight: 600; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: 70px 40px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(90% 160% at 15% 0%, rgba(124, 196, 255, .38), transparent 50%),
    radial-gradient(90% 160% at 85% 100%, rgba(20, 58, 158, .45), transparent 50%),
    linear-gradient(120deg, #081a33, #0a1f3a 55%, #0d2440);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--rainbow-harsh);
  z-index: 3;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-video {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0 !important;
  opacity: .45;
}
.cta-band .cta-shade {
  position: absolute !important;
  inset: 0;
  z-index: 1 !important;
  background:
    radial-gradient(90% 160% at 15% 0%, rgba(124, 196, 255, .28), transparent 50%),
    radial-gradient(90% 160% at 85% 100%, rgba(20, 58, 158, .35), transparent 50%),
    linear-gradient(120deg, rgba(8, 26, 51, .6), rgba(10, 31, 58, .52) 55%, rgba(13, 36, 64, .6));
}
@media (prefers-reduced-motion: reduce) {
  .cta-video { display: none; }
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -.025em;
  margin-bottom: 14px;
}
.cta-band p { color: rgba(255, 255, 255, .8); max-width: 560px; margin: 0 auto 30px; font-size: 1.08rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 90px;
  padding: 56px 0 34px;
  background: #fafbfd;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { color: var(--ink-3); font-size: .93rem; max-width: 340px; margin-top: 12px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: .92rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--ink-3); font-size: .93rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: .86rem;
}
.footer-rule { margin-bottom: 0; }

/* ============================================================
   Inner pages
   ============================================================ */
.page-hero { padding: 176px 0 40px; text-align: center; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -.03em;
  line-height: 1.08;
  margin: 22px 0 16px;
}
.page-hero .hero-sub { margin-bottom: 0; }

.prose { max-width: 780px; margin: 0 auto; }
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -.02em;
  margin: 44px 0 14px;
  padding-left: 16px;
  border-left: 5px solid var(--stripe, var(--purple));
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 16px 22px; display: grid; gap: 8px; }
.prose a { color: var(--link); font-weight: 500; }
.prose a:hover { text-decoration: underline; }
.legal-updated { color: var(--ink-3); font-size: .9rem; margin-bottom: 34px; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 30px; align-items: start; }
.contact-card {
  padding: 32px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  font: inherit;
  font-size: .96rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--link);
  box-shadow: 0 0 0 4px rgba(30, 91, 230, .14);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .85rem; color: var(--ink-3); margin-top: 14px; }

.info-list { list-style: none; display: grid; gap: 16px; margin-top: 26px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .icon { color: var(--link); margin-top: 2px; }
.info-list strong { display: block; font-size: .95rem; }
.info-list span { color: var(--ink-3); font-size: .9rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

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

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1020px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .features, .notx, .steps { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-span-2, .b-span-3, .b-span-4 { grid-column: span 2; }
  .b-tall { grid-row: auto; }
  .calc-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .section { padding: 64px 0; }
  .hero { padding: 140px 0 60px; }
  .features, .notx, .steps, .testimonials, .metrics { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .b-span-2, .b-span-3, .b-span-4 { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .calc-wrap { padding: 22px; }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 4vw; right: 4vw;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; font-size: 1rem; }
  .main-nav a.active::after { width: 40px; }
  .nav-toggle { display: grid; place-items: center; }
  .header-cta { display: none; }
}


/* ============================================================
   Hero v2 — editorial split with emblem centerpiece
   ============================================================ */
.hero-inner {
  max-width: none;
  text-align: left;
  display: grid;
  grid-template-columns: 1.32fr .68fr;
  gap: 40px;
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-copy .pill { margin-left: 0; }
.hero-ctas { justify-content: flex-start; }
.hero-sub { margin-left: 0; }
.metrics { grid-column: 1 / -1; }

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}
.art-emblem {
  width: min(270px, 74%);
  filter: drop-shadow(0 14px 44px rgba(47, 138, 255, .38));
  animation: art-float 7s ease-in-out infinite;
}
@keyframes art-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(1.5deg); }
}
.art-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1.5px dashed rgba(47, 138, 255, .38);
  animation: art-spin 46s linear infinite;
}
.art-ring::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7cc4ff, #1e5be6);
  box-shadow: 0 0 12px rgba(47, 138, 255, .8);
}
.art-ring-1 { width: 330px; height: 330px; margin: -165px 0 0 -165px; }
.art-ring-2 {
  width: 410px; height: 410px; margin: -205px 0 0 -205px;
  border-color: rgba(124, 196, 255, .28);
  animation-duration: 70s;
  animation-direction: reverse;
}
@keyframes art-spin { to { transform: rotate(360deg); } }

/* fine data grid behind the hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(20, 58, 158, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 58, 158, .06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(90% 85% at 60% 30%, black, transparent 78%);
  mask-image: radial-gradient(90% 85% at 60% 30%, black, transparent 78%);
}

/* film grain over everything — the analog finish */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: .032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* keyword ticker */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  background: #fff;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.ticker-track .tick-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7cc4ff, #1e5be6);
  box-shadow: 0 0 8px rgba(47, 138, 255, .6);
  flex: none;
}
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

/* cobalt scrollbar */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--line-soft); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(#2f8aff, #1e5be6);
  border-radius: 6px;
  border: 3px solid var(--line-soft);
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-art { min-height: 380px; order: 2; }
  .metrics { order: 3; }
  .art-emblem { width: 190px; }
  .art-ring-1 { width: 250px; height: 250px; margin: -125px 0 0 -125px; }
  .art-ring-2 { width: 320px; height: 320px; margin: -160px 0 0 -160px; }
  .metrics { margin-top: 46px; }
}

/* keep the gradient phrase together on one line at every width */
.hero h1 .rainbow-text {
  white-space: nowrap;
  display: inline-block;
  line-height: 1.15;
  padding: 0 .06em .16em 0;   /* paint area covers descenders (g, y) so gradient text isn't cut off */
  margin: 0 -.06em -.16em 0;  /* ...without changing the layout */
}


/* ============================================================
   Phone optimization (≤720px) — desktop untouched
   ============================================================ */
@media (max-width: 720px) {
  body { font-size: 16px; }

  /* inner-page heroes: clip the decorative orbs (they caused horizontal scroll) */
  .page-hero { position: relative; overflow: clip; padding: 130px 0 28px; }
  .page-hero h1 { font-size: clamp(2rem, 8.6vw, 2.5rem); margin: 18px 0 12px; }

  /* header */
  .site-header { padding: 10px 0; }
  .header-glass { padding: 8px 8px 8px 12px; }
  .nav-toggle { width: 44px; height: 44px; padding: 0; }

  /* hero */
  .hero { padding: 118px 0 48px; }
  .hero-inner { gap: 14px; }
  .pill {
    font-size: .8rem;
    padding: 7px 12px;
    line-height: 1.35;
    border-radius: 14px;
    align-items: flex-start;
  }
  .pill .dot { margin-top: 6px; }
  .hero h1 { margin: 18px 0 14px; }
  .hero-sub { font-size: 1.04rem; margin-bottom: 24px; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-art { min-height: 280px; margin-top: 10px; }
  .art-emblem { width: 132px; }
  .art-ring-1 { width: 186px; height: 186px; margin: -93px 0 0 -93px; }
  .art-ring-2 { width: 240px; height: 240px; margin: -120px 0 0 -120px; }

  /* stats: 2×2 grid, tighter */
  .metrics { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
  .metric { padding: 18px 16px 16px 18px; }
  .metric strong { font-size: 1.7rem; }
  .metric strong em { display: block; font-size: .85rem; letter-spacing: 0; margin-top: -2px; }
  .metric > span { font-size: .82rem; line-height: 1.45; }

  /* ticker */
  .ticker { padding: 12px 0; }
  .ticker-track { gap: 22px; font-size: .74rem; letter-spacing: .16em; }

  /* section rhythm */
  .section { padding: 54px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { font-size: clamp(1.7rem, 7vw, 2rem); margin: 12px 0 10px; }
  .section-head p { font-size: 1rem; }

  /* cards */
  .feature-card { padding: 24px 20px; }
  .feature-icon { width: 46px; height: 46px; margin-bottom: 16px; }
  .feature-card h3 { font-size: 1.18rem; }
  .features, .notx, .steps, .testimonials { gap: 14px; }
  .bento { gap: 12px; grid-auto-rows: auto; }
  .bento-cell { padding: 20px; }
  .bento-icon { width: 40px; height: 40px; margin-bottom: 14px; }
  .bento-hero-cell { min-height: 200px; }
  .notx-card { padding: 22px 20px; }
  .notx-card .is { font-size: 1.2rem; }
  .step { padding: 22px 20px; }
  .step::before { font-size: 2.1rem; }
  .testimonial { padding: 22px 20px 20px; }
  .testimonial blockquote { font-size: 1rem; }

  /* calculator: bigger drag targets, tighter card */
  .calc-wrap { padding: 18px; gap: 18px; }
  .calc-field { margin-bottom: 16px; }
  input[type="range"] {
    height: 28px;
    background: linear-gradient(90deg, var(--orange) var(--fill, 50%), var(--line) var(--fill, 50%)) center / 100% 8px no-repeat;
  }
  input[type="range"]::-webkit-slider-thumb { width: 26px; height: 26px; }
  .calc-result { padding: 16px 18px; }
  .calc-result strong { font-size: 1.7rem; }

  /* FAQ */
  .faq { gap: 10px; }
  .faq summary { padding: 15px 16px; font-size: .98rem; gap: 12px; }
  .faq details > p { padding: 0 16px 16px; font-size: .94rem; }

  /* CTA band */
  .cta-band { padding: 46px 22px; border-radius: var(--r-lg); }
  .cta-band h2 { font-size: clamp(1.6rem, 6.8vw, 1.9rem); }
  .cta-band p { font-size: 1rem; margin-bottom: 24px; }
  .cta-band .btn { width: 100%; justify-content: center; }

  /* forms: 16px prevents iOS auto-zoom on focus */
  .form-field input, .form-field textarea, .form-field select { font-size: 16px; padding: 13px 14px; }
  .contact-card { padding: 22px 18px; }
  .contact-grid { gap: 22px; }

  /* prose pages */
  .prose h2 { font-size: 1.3rem; margin: 34px 0 12px; }

  /* footer: real tap targets, stacked bottom row */
  .site-footer { margin-top: 56px; padding: 40px 0 28px; }
  .footer-top { gap: 26px; margin-bottom: 28px; }
  .footer-col a { display: inline-block; padding: 6px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 420px) {
  .brand span em { display: none; }
}

/* ============================================================
   Centered layout for phone + tablet (≤900px) — desktop untouched
   ============================================================ */
@media (max-width: 900px) {
  main, .site-footer { text-align: center; }

  /* hero */
  .hero-inner, .hero-copy { text-align: center; }
  .hero-copy .pill { margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .pill { text-align: left; }            /* two-line badge reads better left-inside, centered as a block */
  .pill { align-items: center; }

  /* section heads + eyebrows */
  .section-head { margin-inline: auto; text-align: center; }
  .eyebrow { justify-content: center; }

  /* stats */
  .metric { text-align: center; }
  .metric::before { display: none; }
  .metric::after {
    content: "";
    position: absolute;
    left: 20%; right: 20%; top: 0;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: var(--stripe, var(--blue));
  }

  /* cards */
  .feature-card, .bento-cell, .notx-card, .step, .testimonial, .calc-result, .faq details { text-align: center; }
  .feature-icon, .bento-icon { margin-inline: auto; }
  .bento-icon { margin-bottom: 14px; }
  .bento-cell { justify-content: center; }
  .neon-chip { align-self: center; }
  .checklist { justify-items: center; }
  .checklist li { justify-content: center; text-align: center; }
  .stars { justify-content: center; }
  .notx-card, .testimonial, .calc-result {
    border-left-width: 1px;
    border-left-color: var(--line);
    border-top: 5px solid var(--stripe, var(--blue));
  }
  .faq summary { justify-content: center; text-align: center; }
  .faq summary::after { position: absolute; right: 14px; }
  .faq summary { position: relative; padding-right: 48px; padding-left: 48px; }
  .faq details { border-left-width: 1px; border-left-color: var(--line); border-top: 5px solid var(--stripe, var(--blue)); }

  /* calculator */
  .calc-field label { justify-content: center; gap: 10px; text-align: center; }
  .calc-note, #calc-reset { text-align: center; }
  #calc-reset { margin-inline: auto; display: inline-flex; }
  .calc-wrap > div:first-child { text-align: center; }

  /* contact */
  .info-list li { justify-content: center; text-align: center; flex-direction: column; align-items: center; gap: 6px; }
  .info-list .icon { margin-top: 0; }
  .form-field label { text-align: center; }
  .contact-grid { text-align: center; }

  /* prose (about, thanks) */
  .prose { text-align: center; }
  .prose h2 { padding-left: 0; border-left: 0; padding-top: 12px; border-top: 5px solid var(--stripe, var(--purple)); display: inline-block; }
  .prose ul { margin-left: 0; list-style-position: inside; }

  /* footer */
  .footer-brand .brand { justify-content: center; }
  .footer-brand p { margin-inline: auto; }
  .footer-col ul { justify-items: center; }
  .footer-bottom { align-items: center; text-align: center; }
}

/* legal pages stay left-aligned for readability */
@media (max-width: 900px) {
  body.legal main { text-align: left; }
  body.legal .prose { text-align: left; }
  body.legal .prose h2 { display: block; padding-left: 16px; padding-top: 0; border-top: 0; border-left: 5px solid var(--stripe, var(--purple)); }
  body.legal .prose ul { margin-left: 22px; list-style-position: outside; }
  body.legal .page-hero { text-align: center; }
}

/* ---- mobile/tablet alignment refinements ---- */
@media (max-width: 900px) {
  /* checkmark lists: check flows inline with centered text, no orphaned icon */
  .checklist { display: block; }
  .checklist li { display: block; text-align: center; margin-bottom: 10px; }
  .checklist li:last-child { margin-bottom: 0; }
  .checklist .icon { display: inline-block; vertical-align: -4px; margin: 0 6px 0 0; }
  .checklist li > span { display: inline; }

  /* eyebrow labels: dash sits centered above the text so wrapping never breaks it */
  .eyebrow { display: block; text-align: center; }
  .eyebrow::before { display: block; margin: 0 auto 8px; }

  /* hero badge reads centered */
  .pill { text-align: center; justify-content: center; }
}
