/* ============================================================
   TrueArc Ballistics - gradient-mesh product site
   ============================================================ */

:root {
  --bg: hsl(228 30% 7%);
  --bg-raise: hsl(228 28% 10%);
  --fg: hsl(220 20% 96%);
  --fg-dim: hsl(220 14% 68%);
  --fg-faint: hsl(220 12% 50%);
  --teal: hsl(175 70% 45%);
  --violet: hsl(262 65% 55%);
  --ember: hsl(20 90% 55%);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.10);
  --radius: 1rem;
  --radius-lg: 1.25rem;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --container: 72rem;
  --nav-h: 4.25rem;
}

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

html {
  color-scheme: dark;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.only-desktop { display: none; }
@media (min-width: 768px) { .only-desktop { display: inline; } }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

::selection { background: hsl(175 70% 45% / 0.35); }

/* ============================================================
   Mesh gradient field (CSS only - no filters, cheap to paint)
   ============================================================ */
.mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
}
.blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.blob-teal {
  width: 62vmax; height: 62vmax;
  top: -22vmax; left: -14vmax;
  background: radial-gradient(circle, hsl(175 70% 45% / 0.38) 0%, hsl(175 70% 45% / 0.14) 42%, transparent 68%);
}
.blob-violet {
  width: 70vmax; height: 70vmax;
  top: 8vmax; right: -26vmax;
  background: radial-gradient(circle, hsl(262 65% 55% / 0.36) 0%, hsl(262 65% 55% / 0.13) 42%, transparent 68%);
}
.blob-ember {
  width: 56vmax; height: 56vmax;
  bottom: -26vmax; left: 18vmax;
  background: radial-gradient(circle, hsl(20 90% 55% / 0.30) 0%, hsl(20 90% 55% / 0.10) 40%, transparent 66%);
}
@media (prefers-reduced-motion: no-preference) {
  .blob-teal   { animation: drift-a 52s ease-in-out infinite alternate; }
  .blob-violet { animation: drift-b 60s ease-in-out infinite alternate; }
  .blob-ember  { animation: drift-c 44s ease-in-out infinite alternate; }
}
@keyframes drift-a {
  from { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(9vmax, 7vmax) scale(1.12); }
  to   { transform: translate(-4vmax, 11vmax) scale(0.95); }
}
@keyframes drift-b {
  from { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-10vmax, 6vmax) scale(0.92); }
  to   { transform: translate(-5vmax, -8vmax) scale(1.1); }
}
@keyframes drift-c {
  from { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(7vmax, -9vmax) scale(1.08); }
  to   { transform: translate(12vmax, 3vmax) scale(0.94); }
}

/* Section quieting / intensifying over the mesh */
.quiet    { background: hsl(228 30% 7% / 0.72); }
.intense  { background: hsl(228 30% 7% / 0.25); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5ch;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.btn-white {
  background: #fff;
  color: hsl(228 30% 10%);
  padding: 0.62rem 1.25rem;
  font-size: 0.92rem;
  box-shadow: 0 8px 28px -10px rgba(255, 255, 255, 0.35);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 12px 34px -10px rgba(255, 255, 255, 0.45); }
.btn-ghost {
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--fg);
  padding: 0.62rem 1.25rem;
  font-size: 0.92rem;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.2); }
.btn-lg { padding: 0.85rem 1.9rem; font-size: 1rem; }
.btn-xl { padding: 1.05rem 2.6rem; font-size: 1.1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* ============================================================
   Navbar
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: hsl(228 30% 7% / 0.70);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand-glyph { width: 1.6rem; height: 1.6rem; }
.brand-word em { font-style: normal; color: var(--teal); }
.nav-links {
  display: none;
  gap: 1.75rem;
  margin-inline: auto;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--fg-dim);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--fg); }
.nav-cta { display: none; margin-left: auto; }
.nav-burger {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem 0.4rem;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: block; margin-left: 0; }
  .nav-burger { display: none; }
}
@media (max-width: 899px) {
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: hsl(228 30% 7% / 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 20rem; }
  .nav-links a { padding: 0.9rem 1.25rem; border-top: 1px solid rgba(255,255,255,0.05); }
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
/* Hidden state is opt-in: html.js-anim is set by script only when
   IntersectionObserver exists and reduced-motion is off, so content
   can never be stranded invisible. */
@media (prefers-reduced-motion: no-preference) {
  html.js-anim .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
  }
  html.js-anim .reveal.in { opacity: 1; transform: none; }
  html.js-anim .reveal.d1 { transition-delay: 0.1s; }
  html.js-anim .reveal.d2 { transition-delay: 0.2s; }
  html.js-anim .reveal.d3 { transition-delay: 0.3s; }
  html.js-anim .reveal.d4 { transition-delay: 0.4s; }
}

/* ============================================================
   Section headings
   ============================================================ */
.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}
.section-head.left { text-align: left; margin-inline: 0; }
.kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  color: var(--teal);
  margin-bottom: 0.9rem;
}
.section-head h2, .buy-title {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-sub {
  margin-top: 0.9rem;
  color: var(--fg-dim);
  font-size: 1.02rem;
}

/* ============================================================
   Glass card base
   ============================================================ */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: calc(var(--nav-h) + 4.5rem) 0 4rem;
  text-align: center;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.34em;
  color: var(--fg-dim);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(2.4rem, 7.2vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.grad-text {
  background: linear-gradient(92deg, var(--teal) 0%, var(--violet) 52%, var(--ember) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 1.4rem auto 0;
  max-width: 34rem;
  color: var(--fg-dim);
  font-size: clamp(1rem, 2vw, 1.15rem);
}
.hero-ctas {
  margin-top: 2.2rem;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* hero stage: product + floating cards */
.hero-stage {
  margin-top: 4.5rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 20rem;
}
.product-wrap {
  position: relative;
  width: min(30rem, 82vw);
  transform: rotate(-5deg);
}
@media (prefers-reduced-motion: no-preference) {
  .product-wrap { animation: hover-float 7s ease-in-out infinite; }
  @keyframes hover-float {
    0%, 100% { transform: rotate(-5deg) translateY(0); }
    50%      { transform: rotate(-5deg) translateY(-12px); }
  }
}
.product { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,0.55)); }
.product-reflection {
  position: absolute;
  left: 8%; right: 8%;
  bottom: -3.2rem;
  height: 3rem;
  background: linear-gradient(180deg, rgba(120, 200, 200, 0.14), transparent 80%);
  border-radius: 50%;
  transform: scaleY(0.4);
  filter: blur(6px);
}
.product-shadow {
  position: absolute;
  left: 16%; right: 16%;
  bottom: -2.4rem;
  height: 1.4rem;
  background: radial-gradient(ellipse, rgba(0,0,0,0.6), transparent 70%);
}

.float-card {
  position: absolute;
  width: 12.5rem;
  padding: 1rem 1.1rem;
  text-align: left;
  box-shadow: 0 22px 50px -18px rgba(0, 0, 0, 0.7);
  z-index: 2;
}
.float-left  { left: max(0px, calc(50% - 27rem)); top: 6%; transform: rotate(-3deg); }
.float-right { right: max(0px, calc(50% - 27rem)); bottom: 4%; transform: rotate(2.5deg); }
.fc-head {
  display: flex;
  align-items: center;
  gap: 0.5ch;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--fg-faint);
  margin-bottom: 0.6rem;
}
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot-teal { background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.dot-violet { background: var(--violet); box-shadow: 0 0 8px var(--violet); }
.fc-big {
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.7rem;
}
.fc-unit { font-size: 0.85rem; font-weight: 400; color: var(--fg-faint); margin-left: 0.4ch; }
.fc-rows { display: grid; gap: 0.32rem; font-size: 0.72rem; }
.fc-rows div { display: flex; justify-content: space-between; }
.fc-rows span { color: var(--fg-faint); }
.fc-rows b { color: var(--fg); font-weight: 500; }

@media (max-width: 860px) {
  .hero-stage { flex-direction: column; gap: 1.25rem; min-height: 0; }
  .float-card { position: static; transform: rotate(0); width: min(20rem, 100%); }
  .float-left { order: 2; }
  .product-wrap { order: 1; margin-bottom: 3rem; }
  .float-right { order: 3; }
}

/* ============================================================
   Proof strip
   ============================================================ */
.proof {
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  background: hsl(228 30% 7% / 0.6);
  padding: 1.6rem 0;
}
.proof-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 2.5rem;
  text-align: center;
}
.proof-copy { color: var(--fg-faint); font-size: 0.9rem; }
.proof-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
}
.proof-dot { color: var(--fg-faint); }

/* ============================================================
   How it works
   ============================================================ */
.how { padding: 6rem 0; }
.how-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.how-card { padding: 1.8rem 1.6rem; }
.how-num {
  font-size: 0.8rem;
  color: var(--teal);
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
}
.how-card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.how-card p { color: var(--fg-dim); font-size: 0.94rem; }
.ticker {
  margin-top: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.7rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.82rem;
}
.ticker-line { display: flex; justify-content: space-between; align-items: baseline; }
.ticker-label { color: var(--fg-faint); font-size: 0.68rem; letter-spacing: 0.18em; }
.ticker-fixed { color: var(--fg-dim); }
.scramble { color: var(--fg); font-weight: 500; }
.scramble.accent-teal { color: hsl(175 70% 62%); }
.scramble.accent-ember { color: hsl(20 90% 66%); }

/* ============================================================
   App section
   ============================================================ */
.app { padding: 6rem 0; }
.app-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .app-grid { grid-template-columns: 5fr 6fr; gap: 5rem; }
}
.app-phone-col { display: flex; justify-content: center; }

.phone {
  position: relative;
  width: min(18.5rem, 88vw);
  aspect-ratio: 9 / 18.6;
  border-radius: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, #1a1e27, #0d1016);
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.04),
    0 40px 80px -30px rgba(0, 0, 0, 0.8),
    0 0 90px -30px hsl(262 65% 55% / 0.5);
  padding: 0.55rem;
}
.phone-notch {
  position: absolute;
  top: 1rem; left: 50%;
  transform: translateX(-50%);
  width: 32%; height: 1.35rem;
  background: #05070b;
  border-radius: 999px;
  z-index: 3;
}
.phone-screens {
  position: relative;
  height: calc(100% - 2.2rem);
  border-radius: 2.1rem;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% -10%, hsl(262 65% 55% / 0.22), transparent 55%),
    radial-gradient(120% 90% at 10% 110%, hsl(175 70% 45% / 0.18), transparent 55%),
    hsl(228 26% 9%);
}
.screen {
  position: absolute;
  inset: 0;
  padding: 3rem 1.15rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.screen.is-active { opacity: 1; transform: none; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) {
  .screen { transition: none; transform: none; }
}
.scr-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.2rem;
}
.scr-title { font-weight: 600; font-size: 0.98rem; }
.scr-chip {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: hsl(175 70% 62%);
  border: 1px solid hsl(175 70% 45% / 0.4);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}
.scr-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.85rem;
  padding: 0.75rem 0.85rem;
}
.scr-card-active { border-color: hsl(175 70% 45% / 0.45); box-shadow: inset 0 0 0 1px hsl(175 70% 45% / 0.15); }
.scr-card.dim { opacity: 0.55; }
.scr-row-title { font-size: 0.82rem; font-weight: 600; margin-bottom: 0.45rem; }
.scr-kv {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  padding: 0.14rem 0;
}
.scr-kv span { color: var(--fg-faint); }
.scr-kv b { font-weight: 500; }
.scr-btn {
  margin-top: auto;
  background: #fff;
  color: hsl(228 30% 10%);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.6rem;
  text-align: center;
}
.scr-table { width: 100%; border-collapse: collapse; font-size: 0.74rem; }
.scr-table th {
  text-align: right;
  color: var(--fg-faint);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  padding: 0.3rem 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.scr-table th:first-child, .scr-table td:first-child { text-align: left; }
.scr-table td {
  text-align: right;
  padding: 0.42rem 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.scr-table tr.hl td { color: hsl(175 70% 66%); background: hsl(175 70% 45% / 0.08); }
.scr-note { font-size: 0.66rem; color: var(--fg-faint); margin-top: auto; }
.scr-hero {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  padding: 0.8rem 0 0.4rem;
}
.scr-hero span { display: block; font-size: 0.72rem; font-weight: 400; color: var(--fg-faint); letter-spacing: 0.2em; }
.scr-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
.scr-tile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.75rem;
  padding: 0.6rem 0.7rem;
  display: grid;
  gap: 0.1rem;
}
.scr-tile span { font-size: 0.6rem; letter-spacing: 0.16em; color: var(--fg-faint); }
.scr-tile b { font-size: 0.95rem; font-weight: 600; }
.scr-avatars { display: flex; padding: 0.2rem 0 0.4rem; }
.ava {
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-mono);
  border: 2px solid hsl(228 26% 9%);
  margin-left: -0.45rem;
}
.ava:first-child { margin-left: 0; }
.a1 { background: hsl(175 60% 30%); }
.a2 { background: hsl(262 50% 38%); }
.a3 { background: hsl(20 70% 38%); }

.phone-dots {
  position: absolute;
  bottom: -2.1rem;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}
.pdot {
  width: 0.55rem; height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transition: background 0.2s ease, width 0.2s ease;
  padding: 0;
}
.pdot.is-active { background: var(--teal); width: 1.4rem; }
.pdot:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.feature-list {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 1.1rem;
}
.feature-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.check {
  flex: none;
  width: 1.35rem; height: 1.35rem;
  color: var(--teal);
  background: hsl(175 70% 45% / 0.12);
  border: 1px solid hsl(175 70% 45% / 0.35);
  border-radius: 50%;
  padding: 0.22rem;
  margin-top: 0.15rem;
}
.feature-list b { display: block; font-weight: 600; font-size: 0.98rem; }
.feature-list span { color: var(--fg-dim); font-size: 0.88rem; }

.store-badges { display: flex; gap: 0.8rem; margin-top: 2.2rem; flex-wrap: wrap; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.45);
  border-radius: 0.7rem;
  padding: 0.55rem 1.05rem;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.store-badge:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(0, 0, 0, 0.65); }
.store-badge svg { width: 1.5rem; height: 1.5rem; }
.store-badge span { display: grid; line-height: 1.15; font-weight: 600; font-size: 0.95rem; }
.store-badge small { font-weight: 400; font-size: 0.62rem; color: var(--fg-faint); letter-spacing: 0.03em; }

/* ============================================================
   Ecosystem
   ============================================================ */
.eco { padding: 6rem 0; }
.eco-diagram {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 58rem;
  margin: 0 auto;
}
.eco-node {
  flex: 1 1 0;
  max-width: 15rem;
  padding: 1.7rem 1.2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.eco-node.optional { border-style: dashed; }
.eco-icon { width: 3rem; height: 3rem; color: var(--teal); margin-bottom: 0.5rem; }
.eco-node:nth-child(3) .eco-icon { color: hsl(262 65% 68%); }
.eco-node.optional .eco-icon { color: hsl(20 90% 62%); }
.eco-node h3 { font-size: 1.02rem; font-weight: 600; }
.eco-node p { font-size: 0.62rem; letter-spacing: 0.22em; color: var(--fg-faint); }
.eco-link {
  flex: 0 1 8.5rem;
  align-self: center;
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 0.4rem;
}
.eco-link svg { width: 100%; height: 24px; overflow: visible; }
.dash {
  stroke: hsl(175 70% 55% / 0.75);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 6 8;
}
@media (prefers-reduced-motion: no-preference) {
  .dash { animation: dash-flow 1.6s linear infinite; }
  .dash.delay { animation-delay: 0.8s; }
}
@keyframes dash-flow { to { stroke-dashoffset: -28; } }
.eco-link-label {
  position: absolute;
  top: calc(50% + 0.7rem);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--fg-faint);
  white-space: nowrap;
  background: hsl(228 30% 7% / 0.85);
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
}
.eco-copy {
  text-align: center;
  color: var(--fg-dim);
  max-width: 36rem;
  margin: 2.6rem auto 0;
  font-size: 0.95rem;
}
@media (max-width: 760px) {
  .eco-diagram { flex-direction: column; align-items: center; }
  .eco-node { width: 100%; max-width: 20rem; }
  .eco-link { flex-basis: auto; width: 3.4rem; height: 4.2rem; transform: rotate(90deg); }
  .eco-link-label { transform: rotate(-90deg); top: auto; }
}

/* ============================================================
   Comparison table
   ============================================================ */
.compare { padding: 6rem 0; }
.table-card { max-width: 56rem; margin: 0 auto; overflow: hidden; }
.table-scroll { overflow-x: auto; }
.cmp {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.cmp th, .cmp td {
  padding: 1rem 1.3rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.cmp thead th {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  font-weight: 600;
  padding-top: 1.3rem;
}
.cmp tbody th { color: var(--fg-dim); font-weight: 500; font-size: 0.85rem; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: none; }
.cmp td { color: var(--fg-dim); }
.ta-col {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  color: var(--fg) !important;
  position: relative;
}
thead .ta-col::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--teal), var(--violet), var(--ember));
}
.ta-flag { font-weight: 700; color: var(--fg); }
.yes { color: hsl(175 70% 62%); font-weight: 500; }
.no { color: var(--fg-faint); }
.price { font-weight: 700; font-size: 1.05rem; }

/* ============================================================
   Reviews
   ============================================================ */
.reviews { padding: 6rem 0; }
.review-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.review { padding: 1.8rem 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.stars { display: flex; gap: 0.25rem; }
.stars svg { width: 0.95rem; height: 0.95rem; fill: hsl(38 92% 58%); }
.review blockquote {
  font-size: 0.98rem;
  color: var(--fg);
  line-height: 1.65;
}
.review figcaption { margin-top: auto; }
.review figcaption b { display: block; font-weight: 600; font-size: 0.95rem; }
.review figcaption span { color: var(--fg-faint); font-size: 0.82rem; }

/* ============================================================
   Buy CTA
   ============================================================ */
.buy {
  position: relative;
  padding: 8rem 0;
  text-align: center;
  overflow: hidden;
}
.buy-blobs { position: absolute; inset: 0; pointer-events: none; }
.buy-blobs i {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.buy-blobs i:first-child {
  width: 46rem; height: 46rem;
  left: 50%; top: 50%;
  margin: -23rem 0 0 -34rem;
  background: radial-gradient(circle, hsl(175 70% 45% / 0.34), transparent 62%);
}
.buy-blobs i:last-child {
  width: 42rem; height: 42rem;
  left: 50%; top: 50%;
  margin: -19rem 0 0 -8rem;
  background: radial-gradient(circle, hsl(262 65% 55% / 0.34), hsl(20 90% 55% / 0.10) 48%, transparent 66%);
}
@media (prefers-reduced-motion: no-preference) {
  .buy-blobs i:first-child { animation: drift-b 46s ease-in-out infinite alternate; }
  .buy-blobs i:last-child  { animation: drift-a 54s ease-in-out infinite alternate; }
}
.buy-inner { position: relative; }
.buy-title { font-size: clamp(2rem, 5vw, 3.2rem); }
.buy-sub { margin: 0.9rem 0 2.2rem; color: var(--fg-dim); font-size: 1.1rem; }
.buy-fine { margin-top: 1.2rem; color: var(--fg-faint); font-size: 0.85rem; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: hsl(228 30% 5%);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 4.5rem 0 2.5rem;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr; } }
.footer-brand .brand { margin-bottom: 0.6rem; }
.footer-tag { color: var(--fg-faint); font-size: 0.85rem; margin-bottom: 1.6rem; font-family: var(--font-mono); letter-spacing: 0.08em; }
.newsletter label { display: block; font-size: 0.88rem; color: var(--fg-dim); margin-bottom: 0.7rem; }
.news-row { display: flex; gap: 0.5rem; max-width: 22rem; }
.news-row input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--fg);
  padding: 0.5rem 1rem;
  font: inherit;
  font-size: 0.88rem;
}
.news-row input::placeholder { color: var(--fg-faint); }
.news-row input:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.news-ok { margin-top: 0.7rem; color: hsl(175 70% 62%); font-size: 0.8rem; }
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--fg-dim);
  font-size: 0.9rem;
  padding: 0.28rem 0;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--fg); }
.footer-legal {
  margin-top: 3.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  justify-content: space-between;
  color: var(--fg-faint);
  font-size: 0.8rem;
}
