/* ===========================================================
   NED - Non-verifiable Education, Delivered
   Sales training modules for real estate managers.
   ---
   NED BRAND TOKENS (edit these to retune the whole site).
   Sister brand: AIREA (AI real estate marketing). Keep NED warm/
   human and emerald-led so it reads as the human-training
   counterpart, visually compatible but distinct.
   Note: a few rgba() glow literals downstream are derived from
   --accent (31, 181, 122) and --accent-2 (79, 124, 255). If you
   change the hexes below, update those rgba bases too.
   =========================================================== */

:root {
  /* deep ink base */
  --bg:        #0c1118;
  --bg-2:      #111824;
  --surface:   #16202e;
  --surface-2: #1e2a3a;
  --ink:       #eef4f2;
  --muted:     #9fb1c2;
  --soft:      #6a7b8c;
  --line:      rgba(255, 255, 255, 0.09);
  --line-2:    rgba(255, 255, 255, 0.14);

  /* primary accent: NED emerald (growth, closing, go) */
  --accent:      #1fb57a;   /* rgb(31, 181, 122) */
  --accent-soft: #7df0c0;
  --accent-deep: #0f8f60;
  /* secondary accent: cool steel (depth, trust) */
  --accent-2:      #4f7cff; /* rgb(79, 124, 255) */
  --accent-2-deep: #3355cc;

  --radius:    18px;
  --radius-sm: 12px;
  --ring:      0 0 0 1px var(--line);
  --shadow:    0 30px 80px rgba(0, 0, 0, 0.45);
  --maxw:      1180px;
  --pad:       clamp(1.25rem, 5vw, 4rem);

  --charge: 0;       /* hero scroll charge, 0..1, set by JS */
  --progress: 0;     /* page scroll progress, 0..1 */
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(79, 124, 255, 0.16), transparent 55%),
    radial-gradient(90% 70% at 0% 0%, rgba(31, 181, 122, 0.10), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #042017; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
  line-height: 1.04;
}

p { margin: 0; }

.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--accent);
  color: #1a1305;
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  transition: transform 0.18s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- progress bar ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 60;
  background: rgba(255, 255, 255, 0.06);
}
.progress span {
  display: block;
  height: 100%;
  width: calc(var(--progress) * 100%);
  background: linear-gradient(90deg, var(--accent-soft), var(--accent), var(--accent-2));
  box-shadow: 0 0 14px rgba(31, 181, 122, 0.6);
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.is-elevated {
  background: rgba(11, 9, 23, 0.72);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand img { filter: drop-shadow(0 0 12px rgba(31, 181, 122, 0.25)); }

.nav {
  display: flex;
  gap: 1.6rem;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--muted);
}
.nav a { position: relative; padding: 0.2rem 0; transition: color 0.2s ease; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  color: #04241a;
  box-shadow: 0 8px 30px rgba(31, 181, 122, 0.32);
}
.btn-primary:hover {
  box-shadow: 0 10px 40px rgba(31, 181, 122, 0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--accent); }

.header-cta { height: 2.6rem; padding: 0 1.1rem; font-size: 0.9rem; }
.btn-lg { height: 3.4rem; padding: 0 2rem; font-size: 1.05rem; }

/* ---------- shared section ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 8rem) var(--pad);
}
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.kicker {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
.section-sub {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  max-width: 42rem;
}

/* ===========================================================
   HERO
   =========================================================== */
/* tall wrapper: the extra height is the scroll distance that charges the bolt */
.hero-pin { position: relative; height: 200vh; }
.hero {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  padding: 7rem var(--pad) 4rem;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 50% at 78% 42%, rgba(31, 181, 122, calc(0.05 + var(--charge) * 0.18)), transparent 60%);
  pointer-events: none;
  transition: background 0.2s linear;
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.eyebrow .dot {
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(31, 181, 122, 0.55);
  animation: pulse 2.4s infinite;
}

h1 {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(3rem, 6.2vw, 5.4rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.lede {
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.4rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  list-style: none;
  margin: 0; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero-trust li { position: relative; }
.hero-trust li + li::before {
  content: "";
  position: absolute;
  left: -0.8rem; top: 50%;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--soft);
  transform: translateY(-50%);
}

/* ---- the lightning bolt that charges ---- */
.bolt-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-height: 320px;
}
.bolt-ring {
  position: absolute;
  width: min(78%, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(79, 124, 255, 0.25);
  box-shadow: inset 0 0 60px rgba(79, 124, 255, 0.12);
}
.bolt-ring-2 {
  width: min(58%, 270px);
  border-color: rgba(31, 181, 122, calc(0.15 + var(--charge) * 0.4));
  transition: border-color 0.2s linear;
  animation: spin 22s linear infinite;
  border-style: dashed;
}
.bolt {
  position: relative;
  width: min(42%, 200px);
  overflow: visible;
  transform: rotate(8deg);
}
.bolt-shape {
  fill: url(#boltFill);
  /* brightness driven by scroll charge + idle flicker */
  opacity: calc(0.28 + var(--charge) * 0.72);
  filter: url(#boltGlow) brightness(calc(0.8 + var(--charge) * 0.8));
  transition: opacity 0.18s linear;
}
.is-charged .bolt-shape { animation: flicker 3.6s infinite; }
.bolt-stroke {
  fill: none;
  stroke: var(--accent-soft);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
  opacity: 0.9;
}
.bolt-drawn .bolt-stroke {
  animation: draw 1.4s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.charge-label {
  position: absolute;
  bottom: 4%;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
}
.charge-val { color: var(--accent); }

.scroll-hint {
  position: absolute;
  bottom: 1.6rem; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  display: grid;
  place-items: start center;
  padding-top: 7px;
}
.scroll-hint span {
  width: 3px; height: 7px;
  border-radius: 2px;
  background: var(--accent);
  animation: scrolldot 1.8s ease-in-out infinite;
}

/* ===========================================================
   TICKER
   =========================================================== */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(31, 181, 122,0.06), rgba(79, 124, 255,0.06));
  overflow: hidden;
  padding: 1.1rem 0;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  white-space: nowrap;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--ink);
  animation: marquee 26s linear infinite;
  will-change: transform;
}
.ticker-track .sep { color: var(--accent); }

/* ===========================================================
   PINNED HORIZONTAL STATEMENT
   =========================================================== */
.pin { position: relative; height: 320vh; }
.pin-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.pin-track {
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding-left: 50vw;
  white-space: nowrap;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 9vw, 7rem);
  letter-spacing: -0.03em;
  will-change: transform;
  --meet-scale: 1;
}
.pin-line { display: contents; margin: 0; }
.pin-track .w {
  display: inline-block;
  color: rgba(255, 255, 255, 0.16);
  transition: color 0.25s ease, transform 0.25s ease;
}
.pin-track .w.lit { color: var(--ink); }
.pin-track .w.key.lit { color: var(--accent); text-shadow: 0 0 38px rgba(31, 181, 122, 0.45); }
.pin-track .w.sp { margin-left: 0.6em; }
.meet-phrase {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transform: scale(var(--meet-scale));
  transform-origin: center;
  will-change: transform;
}
.meet-phrase .w.sp { margin-left: 0; }

.pin-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ===========================================================
   WHAT / cards
   =========================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.card {
  position: relative;
  padding: 1.8rem 1.6rem 2rem;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card-num {
  display: inline-block;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
}
.card h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* ===========================================================
   RESOURCES
   =========================================================== */
.resources {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.resources-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
.resources-copy .section-sub { margin-bottom: 1.5rem; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 600;
}
.text-link svg { transition: transform 0.2s ease; }
.text-link:hover svg { transform: translateX(4px); }

.resource-list {
  list-style: none;
  margin: 0; padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(31, 181, 122,0.06), transparent 40%), var(--surface);
  overflow: hidden;
}
.resource-list li {
  position: relative;
  padding: 1.15rem 1.4rem 1.15rem 3rem;
  color: var(--muted);
  font-weight: 500;
  border-top: 1px solid var(--line);
}
.resource-list li:first-child { border-top: 0; }
.resource-list li::before {
  content: "";
  position: absolute;
  left: 1.4rem; top: 1.5rem;
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(31, 181, 122, 0.6);
}

/* ===========================================================
   CHANNELS
   =========================================================== */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.channel {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 11rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.channel:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--surface-2);
}
.channel-tag {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.channel strong {
  margin-top: auto;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.channel small { color: var(--soft); font-weight: 500; font-size: 0.86rem; }
.channel.feature {
  grid-column: span 2;
  grid-row: span 2;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(79, 124, 255,0.22), transparent 55%),
    linear-gradient(160deg, rgba(31, 181, 122,0.14), transparent 50%),
    var(--surface-2);
  border-color: var(--line-2);
}
.channel.feature strong { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.channel.feature small { color: var(--muted); font-size: 1rem; }

/* ===========================================================
   ABOUT
   =========================================================== */
.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-art { display: grid; place-items: center; }
.about-art img {
  width: min(20rem, 70%);
  filter: drop-shadow(0 24px 60px rgba(31, 181, 122, 0.18));
  animation: float 7s ease-in-out infinite;
}
.about-copy h2 { margin-bottom: 1.2rem; }
.about-copy p { color: var(--muted); }
.care-note {
  margin-top: 1.6rem;
  padding: 1.2rem 1.4rem;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
  color: var(--soft) !important;
}

/* ===========================================================
   CONTACT
   =========================================================== */
.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact-copy {
  position: sticky;
  top: 6rem;
}
.contact-form {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(79, 124, 255, 0.14), transparent 48%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: var(--shadow);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.contact-form label {
  display: grid;
  gap: 0.42rem;
  color: var(--ink);
  font-weight: 700;
}
.contact-form label.full {
  grid-column: 1 / -1;
}
.contact-form label span {
  font-size: 0.86rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: rgba(11, 9, 23, 0.78);
  color: var(--ink);
  font: inherit;
  padding: 0.9rem 0.95rem;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 181, 122, 0.16);
}
.site-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-submit {
  width: 100%;
  margin-top: 1.1rem;
}
.form-status {
  min-height: 1.4rem;
  margin-top: 0.85rem;
  color: var(--accent);
  font-weight: 700;
}

/* ===========================================================
   CLOSER + FOOTER
   =========================================================== */
.closer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--pad) clamp(5rem, 9vw, 8rem);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 2rem;
}
.closer h2 {
  font-size: clamp(2rem, 5.5vw, 4rem);
  max-width: 18ch;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem var(--pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
  max-width: var(--maxw);
  margin: 0 auto;
  color: var(--muted);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  color: var(--ink);
}
.site-footer a { color: var(--accent); font-weight: 600; }
.footer-fine {
  flex-basis: 100%;
  color: var(--soft);
  font-size: 0.86rem;
}

/* ===========================================================
   reveal-on-scroll
   =========================================================== */
.has-motion [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.has-motion [data-reveal].in { opacity: 1; transform: none; }
.has-motion [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.has-motion [data-reveal-stagger].in > * { opacity: 1; transform: none; }
.has-motion [data-reveal-stagger].in > *:nth-child(2) { transition-delay: 0.08s; }
.has-motion [data-reveal-stagger].in > *:nth-child(3) { transition-delay: 0.16s; }
.has-motion [data-reveal-stagger].in > *:nth-child(4) { transition-delay: 0.24s; }
.has-motion [data-reveal-stagger].in > *:nth-child(5) { transition-delay: 0.32s; }
.has-motion [data-reveal-stagger].in > *:nth-child(6) { transition-delay: 0.40s; }
.has-motion [data-reveal-stagger].in > *:nth-child(7) { transition-delay: 0.48s; }
.has-motion [data-reveal-stagger].in > *:nth-child(8) { transition-delay: 0.56s; }

/* ===========================================================
   keyframes
   =========================================================== */
@keyframes pulse {
  70%  { box-shadow: 0 0 0 0.6rem rgba(31, 181, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 181, 122, 0); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes flicker {
  0%, 100%   { filter: url(#boltGlow) brightness(1.55); }
  47%        { filter: url(#boltGlow) brightness(1.55); }
  48%        { filter: url(#boltGlow) brightness(0.9); }
  49%        { filter: url(#boltGlow) brightness(1.7); }
  50%        { filter: url(#boltGlow) brightness(1.1); }
  51%        { filter: url(#boltGlow) brightness(1.6); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float {
  50% { transform: translateY(-14px); }
}
@keyframes scrolldot {
  0% { opacity: 0; transform: translateY(-3px); }
  40% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(8px); }
}

/* ===========================================================
   responsive
   =========================================================== */
@media (max-width: 900px) {
  .nav { display: none; }
  /* keep the pinned charge-up on mobile - compact hero so it fits one screen */
  .hero-pin { height: 175vh; }
  .hero { height: auto; min-height: 100svh; padding: 5.25rem var(--pad) 1.5rem; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.9rem;
    justify-items: start;
    align-content: center;
  }
  .eyebrow { margin-bottom: 1rem; }
  h1 { margin-bottom: 0.9rem; }
  .lede { margin-bottom: 1.3rem; }
  .hero-actions { margin-bottom: 0; }
  .hero-trust { display: none; }
  .scroll-hint { display: none; }
  .charge-label { display: none; } /* declutter: glow alone shows charge on mobile */
  .bolt-stage {
    order: -1;
    aspect-ratio: auto;
    min-height: 0;
    height: 140px;
    width: 100%;
  }
  .bolt { width: 104px; }
  .bolt-ring { width: 140px; }
  .bolt-ring-2 { width: 104px; }
  .cards { grid-template-columns: 1fr; }
  .resources, .about, .contact { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
  .about-art { order: -1; }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .channel.feature { grid-column: span 2; grid-row: auto; }
  .pin { height: 280vh; }
}

@media (max-width: 540px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .channel-grid { grid-template-columns: 1fr; }
  .channel.feature { grid-column: auto; }
  .channel { min-height: 8rem; }
  h1 { font-size: clamp(2.6rem, 13vw, 3.4rem); }
  .contact-grid { grid-template-columns: 1fr; }
}

/* short screens: shrink the pinned hero further so the CTAs stay above the fold */
@media (max-width: 900px) and (max-height: 720px) {
  .hero { padding-top: 4.5rem; }
  .hero-inner { gap: 0.8rem; }
  .eyebrow { margin-bottom: 0.6rem; }
  .bolt-stage { height: 112px; }
  .bolt { width: 88px; }
  .bolt-ring { width: 112px; }
  .bolt-ring-2 { width: 84px; }
  .charge-label { display: none; }
  h1 { font-size: clamp(2rem, 10.5vw, 2.9rem); margin-bottom: 0.65rem; }
  .lede { font-size: 0.98rem; line-height: 1.5; margin-bottom: 1rem; }
  .hero-actions .btn { height: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  * , *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-pin { height: auto; }
  .hero { position: static; height: auto; min-height: 100svh; }
  .pin { height: auto; }
  .pin-sticky { position: static; height: auto; padding: 4rem 0; }
  .pin-track { flex-wrap: wrap; white-space: normal; padding-left: 0; justify-content: center; text-align: center; }
  .meet-phrase { transform: none; }
  .pin-track .w { color: var(--ink); }
  .pin-track .w.key { color: var(--accent); }
  .bolt-shape { opacity: 1; }
}

/* ===========================================================
   header end group (holds the header CTA; keeps the header a
   3-item flex: brand | nav | actions)
   =========================================================== */
.header-end { display: inline-flex; align-items: center; gap: 0.7rem; }
.lede { max-width: 38rem; } /* a touch wider so the intro holds ~3 lines */

/* ===========================================================
   PRICING (NED module access) - additive, reuses card tokens
   =========================================================== */
.pricing { max-width: var(--maxw); margin: 0 auto; padding: clamp(4.5rem, 10vw, 8rem) var(--pad); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}
.price {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.9rem 1.7rem 2rem;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.price.feature {
  border-color: var(--accent);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(31, 181, 122, 0.16), transparent 55%),
    linear-gradient(180deg, var(--surface-2), var(--bg-2));
}
.price-tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.price h3 { font-family: "Barlow Condensed", sans-serif; font-size: 1.5rem; }
.price .amount { font-family: "Barlow Condensed", sans-serif; font-size: 2.6rem; font-weight: 800; line-height: 1; }
.price .amount small { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.price ul { list-style: none; margin: 0.4rem 0 1.2rem; padding: 0; display: grid; gap: 0.55rem; }
.price li { position: relative; padding-left: 1.4rem; color: var(--muted); font-size: 0.95rem; }
.price li::before { content: ""; position: absolute; left: 0; top: 0.55rem; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--accent); }
.price .btn { margin-top: auto; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
