/* =============================================================
   ZERO 3 CORP. — Website v2
   style.css — base styles, design tokens & layout.
   Companion stylesheet: mobile.css (responsive breakpoints).
   Load order: style.css  →  mobile.css
   ============================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

:focus-visible {
  outline: 2.5px solid var(--lime);
  outline-offset: 3px;
  border-radius: 3px;
}
::selection { background: var(--lime); color: var(--on-lime); }


/* ---------- Design tokens ---------- */
:root {
  /* colors — lime signature */
  --lime:        #ACE848;
  --lime-bright: #C5F56F;
  --lime-deep:   #8BCF38;
  --lime-soft:   #ACE84824; /* --lime @ 14% */
  --lime-line:   #ACE8484D; /* --lime @ 30% */

  /* colors — warm charcoal neutrals (faint green tint, stepping in lightness) */
  --bg:        #121613;
  --bg-2:      #171C18;
  --surface:   #1D231E;
  --surface-2: #262D27;
  --border:    #29302B;
  --border-2:  #3D453F;
  --tint:      #171C1888;  /* section + hero wash layered over the field */

  /* colors — text ramp */
  --text:       #F3F6F4;
  --text-muted: #ACB1AD;
  --text-dim:   #7D827E;

  /* colors — accent foreground (text/icons on lime) */
  --on-lime:   #0E1C11;

  /* colors — canvas node-network (rgb for JS, if reused): lime 174,242,74 / faint 188,205,180 */

  /* type */
  --font-display:  "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body:     "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono:     "Spline Sans Mono", ui-monospace, "SFMono-Regular", monospace;
  --font-wordmark: "Space Mono", ui-monospace, "SFMono-Regular", monospace; /* logo only */
  --fs-xs:   0.78rem;
  --fs-sm:   0.9rem;
  --fs-base: 1rem;
  --fs-md:   clamp(1.1rem, 0.9rem + 0.7vw, 1.35rem);
  --fs-lg:   clamp(1.35rem, 1.05rem + 1.2vw, 1.85rem);
  --fs-xl:   clamp(1.8rem, 1.3rem + 2.2vw, 2.9rem);
  --fs-2xl:  clamp(2.4rem, 1.5rem + 4vw, 4.4rem);
  --fs-3xl:  clamp(3rem, 1.6rem + 6vw, 6rem);

  /* radii */
  --r-sm:   10px;
  --r:      16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-pill: 999px;

  /* spacing / layout */
  --container: 1200px;
  --gutter:   clamp(1.15rem, 4vw, 2.5rem);
  --header-h: 76px;

  /* motion */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.30, 1);
}


/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}


/* ---------- Sections ---------- */
/* every section (and the hero) shares one consistent wash over the field */
.section { padding-block: clamp(3rem, 2rem + 4vw, 6rem); background: var(--tint); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: var(--lime-line); }

.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section-head h2 { font-size: var(--fs-xl); margin-top: 1rem; }
.section-head p { color: var(--text-muted); font-size: var(--fs-md); margin-top: 1.1rem; max-width: 56ch; }


/* ---------- Neural-network background field ---------- */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.bg-field canvas { width: 100%; height: 100%; display: block; }
/* faint edge vignette only — keeps the field prominent while adding depth */
.bg-field::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(130% 100% at 50% 0%, transparent 60%, #0B0E0C59 100%);
}

/* lift real content above the field */
main, .site-footer { position: relative; z-index: 1; }


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  line-height: 1;
  padding: 0.8rem 1.3rem;
  border-radius: var(--r-pill);
  background: var(--lime);
  color: var(--on-lime);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.25s var(--ease),
              box-shadow 0.35s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--lime-bright);
  box-shadow: 0 12px 30px -12px var(--lime-line);
}
.btn:active { transform: translateY(0); }
.btn .arw { transition: transform 0.35s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

.btn--lg { padding: 1.05rem 1.7rem; font-size: var(--fs-base); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn--ghost:hover {
  background: var(--lime-soft);
  border-color: var(--lime);
  box-shadow: none;
}


/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease);
}
.site-header.scrolled {
  background: #0E120FA6;                 /* translucent dark → blur reads as frosted glass */
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}

/* three flex zones — equal-width sides (flex:1) keep the center links truly centered */
.nav-left { flex: 1 1 0; display: flex; align-items: center; }

/* brand — node mark + mono wordmark, soft neon glow */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-wordmark);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--lime);
  text-shadow: 0 0 18px rgba(172, 232, 72, 0.45);
  white-space: nowrap;
  transition: text-shadow 0.35s var(--ease);
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
  filter: drop-shadow(0 0 6px rgba(172, 232, 72, 0.30));
  transition: filter 0.35s var(--ease);
}
.brand:hover { text-shadow: 0 0 26px rgba(172, 232, 72, 0.70); }
.brand:hover .brand-mark { filter: drop-shadow(0 0 11px rgba(172, 232, 72, 0.60)); }

/* nav links (center zone) */
.nav-links {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-links a {
  position: relative;
  display: inline-block;
  padding: 0.55rem 0.9rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: color 0.25s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--lime); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.32rem;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
}

.nav-actions { flex: 1 1 0; display: flex; align-items: center; justify-content: flex-end; gap: 0.7rem; }

/* mobile hamburger — hidden until small screens (see mobile.css) */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  background: var(--surface);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 2px;
  background: var(--text);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after  { transform: translate(-50%, 5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* mobile dropdown — shown only at small screens (see mobile.css) */
.mobile-menu { display: none; }


/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 82vh, 820px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 84px);
  padding-bottom: clamp(1.5rem, 3vw, 3rem);
  background: var(--tint);
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 50rem; }
.hero h1 {
  font-size: var(--fs-2xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.03;
}
.hero h1 .accent { color: var(--lime); }
.hero-sub {
  margin-top: 1.6rem;
  font-size: var(--fs-md);
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.65;
}
.hero-cta {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}


/* ---------- About ---------- */
.about-body { max-width: 760px; }
.about-story h3 { font-size: var(--fs-lg); margin-bottom: 1rem; }
.about-story p { color: var(--text-muted); font-size: var(--fs-md); line-height: 1.7; }
.about-story p + p { margin-top: 1.1rem; }

/* featured quote — borderless pull-quote above the story, lime left rule */
.quote-card {
  margin-bottom: clamp(2rem, 1.5rem + 1vw, 2.8rem);
  max-width: 680px;
  padding-left: clamp(1.2rem, 0.8rem + 1vw, 1.8rem);
  border-left: 3px solid var(--lime);
  display: flex;
  flex-direction: column;
}
.quote-card .qmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 0.9;
  color: var(--lime);
}
.quote-card blockquote {
  margin-top: -0.4rem;                 /* tuck the text up close under the mark */
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-lg);
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--text);
}
.quote-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: 1rem;
  font-size: var(--fs-sm);
  color: var(--text-dim);
}
.quote-card figcaption::before {
  content: "";
  width: 1.7rem;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
  margin-bottom: 0.55rem;
}
.quote-card figcaption b { color: var(--text); font-weight: 600; font-size: var(--fs-base); }

/* value pillars — flex row, hairline dividers */
.values {
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.value {
  flex: 1 1 220px;
  padding: clamp(1.4rem, 1rem + 1.2vw, 1.9rem);
  border-left: 1px solid var(--border);
  background: #1D231EEB;   /* surface ~92% so copy stays crisp over the field */
  transition: background 0.4s var(--ease);
}
.value:first-child { border-left: none; }
.value:hover { background: var(--surface-2); }
.value .vn { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--lime); letter-spacing: 0.06em; }
.value h4 { font-size: var(--fs-md); margin-top: 0.7rem; letter-spacing: -0.01em; }
.value p { color: var(--text-muted); font-size: var(--fs-sm); margin-top: 0.5rem; line-height: 1.55; }


/* ---------- Services ---------- */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 0.6rem + 1vw, 1.5rem);
}
.service {
  position: relative;
  flex: 1 1 420px;                 /* two per row on desktop */
  display: flex;
  gap: 1.3rem;
  align-items: flex-start;
  padding: clamp(1.7rem, 1.2rem + 1.5vw, 2.4rem);
  background: #1D231EE6;           /* surface ~90% over the field */
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  color: inherit;
  transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.service::after {                   /* soft lime glow on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(130% 90% at 100% 0%, var(--lime-soft), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.service:hover {
  transform: translateY(-6px);
  background: #262D27F2;
  border-color: var(--lime-line);
  box-shadow: 0 22px 46px -28px rgba(0, 0, 0, 0.75);
}
.service:hover::after { opacity: 1; }
.service-ico, .service-body { position: relative; z-index: 1; }
.service-ico {
  flex: none;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: var(--lime-soft);
  border: 1px solid var(--lime-line);
  color: var(--lime);
}
.service-ico svg { width: 26px; height: 26px; }
.service-body { display: flex; flex-direction: column; gap: 0.5rem; }
.service h3 { font-size: var(--fs-lg); letter-spacing: -0.015em; }
.service p { font-size: var(--fs-base); color: var(--text-muted); line-height: 1.55; }

/* wildcard — subtle CTA card (dark, lime-accented) linking to contact */
.service--wild { border-color: var(--lime-line); }
.service--wild:hover { border-color: var(--lime); }
.service--wild .service-ico {
  background: var(--lime);
  border-color: var(--lime);
  color: #15240A;
}
.wild-cta {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--lime);
}
.service--wild .arw { transition: transform 0.35s var(--ease); }
.service--wild:hover .arw { transform: translateX(3px); }


/* ---------- Products ---------- */
.products {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 0.5rem + 1.5vw, 1.5rem);
}
.product {
  position: relative;
  display: flex;
  gap: clamp(1.5rem, 0.5rem + 3vw, 4rem);
  align-items: center;
  padding: clamp(1.8rem, 1rem + 2.4vw, 3.2rem);
  background: #1D231EE6;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.product::after {                   /* lime glow on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(120% 100% at 100% 0%, var(--lime-soft), transparent 52%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.product:hover {
  transform: translateY(-4px);
  border-color: var(--lime-line);
  background: #20271FF2;
}
.product:hover::after { opacity: 1; }
.product-head {
  flex: 1 1 42%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.product-body {
  flex: 1 1 58%;
  position: relative;
  z-index: 1;
}
.product .pidx {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.product h3 {
  font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem);
  letter-spacing: -0.03em;
}
.product h3 sup { font-size: 0.4em; vertical-align: super; color: var(--text-muted); }
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.product-tags span {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
  background: var(--lime-soft);
  border: 1px solid var(--lime-line);
  border-radius: var(--r-pill);
  padding: 0.35rem 0.8rem;
}
.product-body p {
  color: var(--text-muted);
  font-size: var(--fs-md);
  line-height: 1.65;
}


/* ---------- Contact ---------- */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 0.5rem + 3vw, 3.5rem);
  align-items: flex-start;
}
.contact-info {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .ic {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--lime-soft);
  border: 1px solid var(--lime-line);
  color: var(--lime);
}
.contact-item .ic svg { width: 20px; height: 20px; }
.contact-item .lbl {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.contact-item .val { font-size: var(--fs-md); margin-top: 0.25rem; display: inline-block; }
.contact-item a.val:hover { color: var(--lime); }

.contact-card {
  flex: 1 1 420px;
  background: #1D231EE6;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 1rem + 2vw, 2.6rem);
}
.contact-card h3 { font-size: var(--fs-lg); }
.contact-card > p { color: var(--text-muted); margin-top: 0.6rem; font-size: var(--fs-sm); }
.form { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.hp-field { display: none; }   /* honeypot — never shown */
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: var(--fs-sm); font-weight: 500; color: var(--text-muted); }
.field input, .field textarea {
  font-family: inherit;
  font-size: var(--fs-base);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lime); background: var(--bg-2); }
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { justify-content: center; margin-top: 0.3rem; }
.form-status { font-size: var(--fs-sm); text-align: center; min-height: 1.2em; }
.form-status.ok  { color: var(--lime); }
.form-status.err { color: #FF9B9B; }
.form-note { font-size: var(--fs-xs); color: var(--text-dim); text-align: center; }


/* ---------- Footer ---------- */
.site-footer {
  background: #0F120FE6;
  border-top: 1px solid var(--border);
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem) 1.6rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
.footer-brand { max-width: 32ch; }
.footer-brand .brand { font-size: 1.5rem; margin-bottom: 0.9rem; }
.footer-brand .brand-mark { width: 28px; height: 28px; }
.footer-brand p { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.6; }
.footer-cols { display: flex; flex-wrap: wrap; gap: clamp(2rem, 1rem + 4vw, 5rem); }
.fcol h4 {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  margin-bottom: 1rem;
}
.fcol ul { display: flex; flex-direction: column; gap: 0.6rem; }
.fcol a { color: var(--text-muted); font-size: var(--fs-sm); transition: color 0.25s var(--ease); }
.fcol a:hover { color: var(--lime); }
.footer-bottom {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: var(--fs-xs);
}


/* ---------- Legal / inner pages ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  border-bottom: 1px solid var(--border);
  background: var(--tint);
}
.page-hero h1 { font-size: var(--fs-2xl); }
.page-hero .crumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: var(--fs-sm);
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.page-hero .crumb a { color: var(--text-muted); }
.page-hero .crumb a:hover { color: var(--lime); }
.page-hero .meta {
  margin-top: 1rem;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  color: var(--text-muted);
}
.page-hero .meta span {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
}

.prose {
  max-width: 62rem;                    /* wider than v1 — uses more of the screen */
  margin-inline: auto;
  margin-block: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  padding: clamp(1.6rem, 1rem + 3vw, 3.5rem);
  background: #141915B3;               /* faint panel so long text reads over the field */
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.prose h2 {
  font-size: var(--fs-lg);
  margin-top: 2.6rem;
  padding-top: 1.9rem;
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.prose h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.prose h3 { font-size: var(--fs-md); margin-top: 1.7rem; color: var(--text); }
.prose p, .prose li { color: var(--text-muted); line-height: 1.75; }
.prose p { margin-top: 1rem; }
.prose ul { margin-top: 1rem; padding-left: 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; }
.prose li::marker { color: var(--lime); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--lime); border-bottom: 1px solid var(--lime-line); }
.prose a:hover { border-bottom-color: var(--lime); }
.prose .lead { font-size: var(--fs-md); color: var(--text); }
.callout {
  margin-top: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.3rem 1.5rem;
}
.callout p:first-child { margin-top: 0; }
.callout p + p { margin-top: 0.7rem; }

/* ghost "Home" arrow in the inner-page nav */
.btn .arw-l { transition: transform 0.35s var(--ease); }
.btn:hover .arw-l { transform: translateX(-3px); }


/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }


/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
