:root{
  /* Uses tokens from main.css: --bg, --fg, --muted, --brand, --card, --container */
}

/* ---------- Hero: fix bleed + polish ---------- */
.hero-about{
  position: relative;
  overflow: hidden; /* broader support than overflow: clip */
  padding-block: 72px 36px;
  background: linear-gradient(180deg, rgba(0,247,0,0.08), rgba(0,0,0,0));
}
.hero-about > *:not(#about-anim){ position: relative; z-index: 1; }
#about-anim{ position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; pointer-events: none; filter: drop-shadow(0 0 10px rgba(0,247,0,.15)); }
.hero-about .accent{ color: var(--brand); }
.hero-about .lead{ color: var(--muted); max-width: 62ch; }
.hero-about h1{ margin: 0 0 8px 0; font-size: clamp(32px, 6.4vw, 56px); line-height: 1.12; }

/* ---------- Typographic helpers ---------- */
.eyebrow{ letter-spacing: .12em; text-transform: uppercase; font-size: 12px; color: var(--muted); margin: 0 0 10px 0; }
.lead{ font-size: clamp(16px, 3.5vw, 20px); margin: 0 0 16px 0; }
.muted{ color: var(--muted); }
.accent{ color: var(--brand); }

/* ---------- Buttons ---------- */
.btn{ display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border-radius: 10px; border: 1px solid #2a2b31; font-weight: 600; line-height: 1.2; text-decoration: none; }
.btn:hover, .btn:focus{ text-decoration: none; transform: translateY(-1px); }
.btn-primary{ background: var(--brand); color: #041104; border-color: var(--brand); box-shadow: 0 6px 24px -12px rgba(0,247,0,.6); }
.btn-ghost{ background: transparent; color: var(--fg); }
.cta-row{ display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.scroll-cue{ margin-top: 14px; font-size: 12px; color: var(--muted); }

/* ---------- Layout ---------- */
.grid{ display: grid; gap: 16px; }
.two-col{ grid-template-columns: 1fr; }
@media (min-width: 880px){
  .two-col{ grid-template-columns: 3fr 2fr; align-items: start; }
}

/* ---------- Content cards ---------- */
.card{ background: var(--card); border: 1px solid #202228; border-radius: 12px; padding: 16px; }
.prose p{ margin: 0 0 12px 0; }

/* ---------- Highlights list ---------- */
.highlights{ display: grid; gap: 10px; }
.highlights li{ list-style: none; }
.highlights li strong{ color: var(--fg); }

/* ---------- Section aurora background (subtle) ---------- */
.section-aurora{
  position: relative;
  isolation: isolate;
}
.section-aurora::before{
  content: "";
  position: absolute; inset: -120px 0 auto 0; height: 340px; z-index: 0;
  background:
    radial-gradient(90% 60% at 70% 10%, rgba(0,247,0,0.14), rgba(0,0,0,0) 60%),
    radial-gradient(80% 50% at 10% 80%, rgba(0,247,0,0.08), rgba(0,0,0,0) 70%);
  pointer-events: none;
}
.section-aurora > *{ position: relative; z-index: 1; }

/* ---------- Features grid (with icons & elevated cards) ---------- */
.features-grid{ grid-template-columns: 1fr; }
@media (min-width: 800px){ .features-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px){ .features-grid{ grid-template-columns: repeat(3, 1fr); } }

.feature{ position: relative; border: 1px solid transparent; background:
  linear-gradient(var(--card), var(--card)) padding-box,
  linear-gradient(135deg, rgba(0,247,0,0.32), rgba(0,247,0,0.08)) border-box;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.6) inset,
    0 10px 30px -12px rgba(0,0,0,.65),
    0 0 60px -30px rgba(0,247,0,.25);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover, .feature:focus-within{
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.6) inset,
    0 18px 38px -14px rgba(0,0,0,.7),
    0 0 70px -28px rgba(0,247,0,.32);
}
.feature-head{ display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; margin-bottom: 8px; }
.feature-icon{
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: var(--brand);
  background:
    radial-gradient(75% 75% at 30% 20%, rgba(0,247,0,0.18), rgba(0,0,0,0) 60%),
    rgba(0,0,0,0.18);
  box-shadow: inset 0 0 0 1px rgba(0,247,0,0.35), 0 4px 14px -6px rgba(0,247,0,0.45);
}
.feature ul{ margin: 6px 0 0 18px; }

/* ---------- Process steps ---------- */
.process.steps{ display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.step{ background: var(--card); border: 1px solid #202228; border-radius: 10px; padding: 14px; }
.step .num{
  width: 26px; height: 26px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,247,0,0.14); color: var(--brand); font-weight: 700; margin-bottom: 8px;
}

/* ---------- Metrics ---------- */
.metrics{ display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 12px; }
.metric{ text-align: center; }
.metric-value{ display: block; font-size: clamp(26px, 6vw, 42px); line-height: 1.1; font-weight: 800; text-shadow: 0 0 8px rgba(0,247,0,0.25); }
.metric-label{ display: block; color: var(--muted); font-size: 14px; }

/* ---------- CTA ---------- */
#cta .card{ text-align: center; }
#cta .tagline{ margin-top: 8px; color: var(--muted); }

/* ---------- In-view animation ---------- */
[data-animate]{ opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.is-visible{ opacity: 1 !important; transform: none !important; }
