/* lecram marketing, single standalone stylesheet.
   Self-contained: no framework, no CDN, no JS dependency.
   Aesthetic: dark substrate, single lime accent, asymmetric editorial layout.
   Typography: Geist (sans) + JetBrains Mono (numerals, technical chrome). */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/Geist-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/Geist-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/Geist-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/Geist-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/JetBrainsMono-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/JetBrainsMono-Medium.woff2") format("woff2");
}

:root {
  --bg: #0e1116;
  --bg-soft: #161b22;
  --bg-elev: #1a2029;
  --bg-deep: #0a0d12;
  --line: #232a33;
  --line-soft: #1d242d;
  --fg: #eef2f5;
  --fg-2: #9aa4ad;
  --fg-3: #5f6770;
  --accent: #beef44;
  --accent-fg: #0e1116;
  --accent-soft: rgba(190, 239, 68, 0.12);
  --accent-line: rgba(190, 239, 68, 0.28);
  --accent-deep: #98c52e;

  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(4rem, 8vw, 6.5rem);

  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01", "cv11";
}

/* fixed grain overlay, pointer-events-none, GPU-cheap */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}

a:hover {
  border-bottom-color: var(--accent);
}

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

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

/* layout primitives */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
}

main > section {
  padding-block: var(--section-y);
  border-bottom: 1px solid var(--line-soft);
}

main > section:last-of-type {
  border-bottom: none;
}

/* nav */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 17, 22, 0.72);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.site-nav .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: none;
}

.brand img {
  width: 28px;
  height: 28px;
  display: block;
}

.brand .word {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: var(--fg);
  text-transform: lowercase;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  font-size: 0.9rem;
  color: var(--fg-2);
}

.nav-links a {
  color: var(--fg-2);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent) !important;
  border: 1px solid var(--accent-line);
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  background: var(--accent-soft);
  transition: background 160ms ease, border-color 160ms ease, transform 120ms ease;
}

.nav-cta:hover {
  background: rgba(190, 239, 68, 0.18);
  border-color: var(--accent);
  border-bottom-color: var(--accent);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

/* hero, asymmetric split: 7fr text / 5fr terminal.
   Pinning approach: an outer .hero-scroll provides the scroll runway
   (~2.4× viewport heights), and the actual .hero is position: sticky inside.
   Why this over a single tall .hero with sticky inner panel: keeps the
   semantic <section> intact, lets the text + CTA stay visible the whole
   time (this is a hero, not a separate scroll act), and the page resumes
   normal flow the instant the runway ends, no scroll-jacking, no listeners
   competing with the browser's native momentum. */

.hero-scroll {
  position: relative;
  height: 240vh; /* 2.4× viewport, enough room to choreograph 8 frames */
}

.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  /* keep the original padding feel while pinned */
  padding-block: clamp(2rem, 6vw, 4rem);
}

@media (max-width: 880px) {
  /* compress the runway on mobile, single column, less air to choreograph */
  .hero-scroll { height: 200vh; }
  .hero {
    height: auto;
    min-height: 100vh;
    position: sticky;
    top: 0;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -20% 30% -20%;
  background:
    radial-gradient(50% 70% at 12% 18%, var(--accent-soft) 0%, transparent 65%),
    radial-gradient(35% 45% at 92% 88%, rgba(190, 239, 68, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(190, 239, 68, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(190, 239, 68, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 70% 60% at 80% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 80% 50%, black 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 880px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(190, 239, 68, 0.18);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.028em;
  margin: 1.4rem 0 1.2rem;
  max-width: 14ch;
  text-wrap: balance;
}

h1 .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}

.hero .lead {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: var(--fg-2);
  max-width: 52ch;
  margin: 0 0 2rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  align-items: center;
}

.cta-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  margin-left: 0.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms cubic-bezier(0.16, 1, 0.3, 1), background 160ms ease, border-color 160ms ease, box-shadow 200ms ease;
  letter-spacing: -0.005em;
}

.btn:hover {
  border-bottom-color: transparent;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 8px 24px -8px rgba(190, 239, 68, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #cdf25e;
  border-color: #cdf25e;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 14px 32px -8px rgba(190, 239, 68, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.015);
  color: var(--fg);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--fg-3);
  color: var(--fg);
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.03);
}

.btn .arr {
  font-family: var(--font-mono);
  opacity: 0.7;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover .arr {
  transform: translateX(3px);
}

/* tiny scroll-progress hint inside the hero text column */
.hero-progress {
  margin-top: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.hero-progress-bar {
  display: inline-block;
  width: 80px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--accent) 0%,
    var(--accent) calc(var(--hero-stage, 0) * 100%),
    var(--line) calc(var(--hero-stage, 0) * 100%),
    var(--line) 100%
  );
  transition: background 80ms linear;
}

@media (max-width: 880px) {
  .hero-progress { display: none; }
}

/* hero terminal, the asset that fills the right column */

.hero-app {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--bg-deep), #0c0f14);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: var(--fg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 30px 60px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(190, 239, 68, 0.04);
  overflow: hidden;
  /* The panel itself stays anchored, the choreography happens *inside* it
     (planner state changes, hint slide-up, findings stagger). No continuous
     transform on the panel keeps GPU work scoped to the small animated
     elements, leaving plenty of frame budget on a 2018 MacBook. */
}

.hero-app::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 40% at 90% 0%, rgba(190, 239, 68, 0.07), transparent 70%);
  pointer-events: none;
}

.hero-app-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.012);
  position: relative;
  z-index: 1;
}

.hero-app-dots {
  display: inline-flex;
  gap: 0.32rem;
}

.hero-app-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #2c333d;
}

.hero-app-crumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--fg-3);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-app-crumb .sep {
  margin: 0 0.4em;
  opacity: 0.55;
}

.hero-app-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.42em;
}

.hero-app-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(190, 239, 68, 0.18);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.hero-app-stage {
  padding: 0.95rem 1rem 0.6rem;
  position: relative;
  z-index: 1;
}

.hero-app-stage-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 0.65rem;
}

.hero-app-graph {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
}

.g-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.72rem;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.018);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  position: relative;
  /* scroll-driven: queued nodes fade in slightly + dim; transforms only */
  transition: opacity 360ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 360ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 240ms ease,
              background 240ms ease,
              box-shadow 240ms ease;
  will-change: transform, opacity;
}

.g-node.g-running {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, rgba(190, 239, 68, 0.05), rgba(190, 239, 68, 0.015));
}

.g-node.g-running .g-tool {
  color: var(--fg);
}

.g-node.g-running .g-tool::before {
  content: "▸";
  color: var(--accent);
  font-size: 0.85em;
  animation: pulse-dot 1.4s ease-in-out infinite;
}

.g-node.g-running .g-meta {
  color: var(--accent-deep);
}

/* tool-meta swap: when the planner state flips, swap the meta line */
.g-node.g-running [data-meta-paused],
.g-node.g-running [data-meta-queued] { display: none; }
.g-node.g-running [data-meta-running] { display: inline; }

.g-node:not(.g-running) [data-meta-running] { display: none; }
.g-node.g-paused [data-meta-queued] { display: none; }

.g-node + .g-node::before {
  content: "";
  position: absolute;
  left: 1.55rem;
  top: -0.36rem;
  width: 1px;
  height: 0.36rem;
  background: var(--line);
}

.g-tool {
  color: var(--fg-1);
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}

.g-meta {
  color: var(--fg-3);
  font-size: 0.7rem;
}

.g-done .g-tool::before {
  content: "●";
  color: var(--accent);
  font-size: 0.5em;
}

.g-paused {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(190, 239, 68, 0.07);
}

.g-paused .g-tool {
  color: var(--accent);
  font-weight: 500;
}

.g-paused .g-tool::before {
  content: "▎";
  color: var(--accent);
  font-size: 1em;
}

.g-paused .g-meta {
  color: var(--accent-deep);
}

.g-queued .g-tool {
  color: var(--fg-3);
}

.g-queued .g-tool::before {
  content: "○";
  color: var(--fg-3);
  font-size: 0.5em;
}

.hero-app-hint {
  margin: 0.6rem 1rem 0.85rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--accent-line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(190, 239, 68, 0.07), rgba(190, 239, 68, 0.02));
  position: relative;
  z-index: 1;
  /* scroll-driven entrance, slides up + fades in around stage 0.55..0.70.
     Opacity interpolates via custom-property in calc() (untyped numbers
     work fine for unitless props like opacity). The slide-up uses a
     class flip toggled by JS (.is-shown) for cross-browser reliability. */
  opacity: clamp(0, calc((var(--hero-stage, 0) - 0.55) / 0.15), 1);
  transform: translate3d(0, 14px, 0);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 220ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

[data-hero-app].is-hint-shown [data-hint] {
  transform: translate3d(0, 0, 0);
}

/* "pressed" pulse on the primary hint button around stage 0.78..0.86 */
[data-hero-app].is-hint-pressed [data-hint-primary] {
  transform: translateY(1px) scale(0.98);
  background: var(--accent-deep);
  box-shadow: 0 0 0 3px rgba(190, 239, 68, 0.25), 0 1px 0 rgba(0, 0, 0, 0.2) inset;
}

[data-hint-primary] {
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
              background 180ms ease,
              box-shadow 200ms ease;
}

.hint-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}

.hint-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(190, 239, 68, 0.08);
  border: 1px solid var(--accent-line);
  border-radius: 4px;
  padding: 0.14rem 0.5rem;
}

.hint-step {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--fg-3);
  letter-spacing: 0.04em;
}

.hint-body {
  margin: 0;
  font-size: 0.88rem;
  color: var(--fg-1);
  line-height: 1.45;
}

.hint-actions {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.45rem;
}

.hint-btn {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  padding: 0.34rem 0.7rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg-1);
  cursor: pointer;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
              background 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hint-btn:hover {
  background: rgba(255, 255, 255, 0.04);
}

.hint-btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
  font-weight: 600;
}

.hint-btn-primary:hover {
  background: var(--accent-deep);
}

.hero-app-findings {
  border-top: 1px solid var(--line-soft);
  padding: 0.85rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.008);
  position: relative;
  z-index: 1;
}

.findings-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 0.55rem;
}

.hero-app-findings ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
}

.hero-app-findings li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--fg-1);
  font-family: var(--font-sans);
  /* scroll-driven reveal: each <li data-finding> gets is-revealed when JS
     determines its slot in the staggered timeline (~80ms apart). */
  opacity: 0;
  transform: translate3d(0, 6px, 0);
  transition: opacity 280ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.hero-app-findings li.is-revealing { opacity: 0.5; transform: translate3d(0, 3px, 0); }
.hero-app-findings li.is-revealed { opacity: 1; transform: none; }

/* reduced-motion: render the final state immediately. The JS bails too,
   but we keep the CSS fallback in case JS is disabled. */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll { height: auto; }
  .hero { position: relative; height: auto; min-height: 80dvh; }
  .hero-app-hint { opacity: 1; transform: none; }
  .hero-app-findings li { opacity: 1; transform: none; }
  .hero-progress { display: none; }
}

.hero-app-findings li code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--fg-2);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.04em 0.36em;
  border-radius: 3px;
}

.sev {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.sev-crit { background: #ff4d4f; box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.18); }
.sev-high { background: #ff8e3c; box-shadow: 0 0 0 2px rgba(255, 142, 60, 0.16); }
.sev-med  { background: #f0c75e; box-shadow: 0 0 0 2px rgba(240, 199, 94, 0.16); }

.sev-tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.price-custom {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* trust strip, between hero and what */

.trust-strip {
  border-bottom: 1px solid var(--line-soft);
  padding-block: 1.6rem;
}

.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  text-transform: uppercase;
}

.trust-strip .stat {
  color: var(--fg-2);
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}

.trust-strip .stat strong {
  color: var(--fg);
  font-weight: 500;
  font-size: 1.1rem;
  font-feature-settings: "tnum";
}

.trust-strip .stat::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  margin-right: 0.5rem;
  align-self: center;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* section heads */

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.05;
  margin: 0 0 0.5rem;
  max-width: 22ch;
  text-wrap: balance;
}

h2 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.section-eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.section-lead {
  color: var(--fg-2);
  max-width: 56ch;
  margin: 0 0 2.5rem;
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}

/* what-it-is: zig-zag (bento), replaces banned 3-card row */

.differentiators {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.diff {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.6rem 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent 50%);
  position: relative;
  overflow: hidden;
  transition: border-color 200ms ease, transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.diff:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px);
}

.diff::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.diff-1 { grid-column: span 4; min-height: 240px; }
.diff-2 { grid-column: span 2; }
.diff-3 { grid-column: span 2; }
.diff-4 { grid-column: span 4; min-height: 240px; }

@media (max-width: 880px) {
  .differentiators { grid-template-columns: 1fr; }
  .diff-1, .diff-2, .diff-3, .diff-4 { grid-column: auto; min-height: 0; }
}

.diff .icon {
  width: 26px;
  height: 26px;
  margin-bottom: 1rem;
  color: var(--accent);
  stroke-width: 1.5;
}

.diff h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.45rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-wrap: balance;
}

.diff p {
  color: var(--fg-2);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0;
  max-width: 42ch;
}

.diff .diff-vis {
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--fg-3);
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.diff .vrow {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.4rem 0;
  border-top: 1px dashed var(--line-soft);
}

.diff .vrow:first-child { border-top: none; }

.diff .vrow .vlabel { color: var(--fg-2); }
.diff .vrow .vstate {
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.diff .vrow .vstate.dim { color: var(--fg-3); }

/* the-lane */

.lane-statement {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--fg);
  max-width: 60ch;
  margin: 0 0 2.5rem;
  line-height: 1.45;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.lane-statement strong {
  color: var(--fg);
  background: linear-gradient(180deg, transparent 62%, var(--accent-soft) 62%);
  font-weight: 500;
  padding: 0 0.18em;
}

.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 0;
}

.compare-row {
  display: grid;
  grid-template-columns: minmax(0, 18ch) auto minmax(0, 1fr);
  gap: 1.2rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-them {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  text-decoration: line-through;
  text-decoration-color: var(--fg-3);
  text-decoration-thickness: 1px;
}

.compare-vs {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.compare-us {
  color: var(--fg);
  font-size: 0.98rem;
  line-height: 1.5;
}

.compare-us em {
  font-style: normal;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  margin-left: 0.5rem;
  text-transform: uppercase;
  border: 1px solid var(--accent-line);
  padding: 0.12em 0.5em;
  border-radius: 999px;
  background: var(--accent-soft);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .compare-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

/* screenshots, masonry-ish: feature one wide, two stacked beside */

.shots {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
  transition: border-color 200ms ease, transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms ease;
  position: relative;
}

.shot:hover {
  border-color: var(--accent-line);
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.5);
}

.shot-wide { grid-column: span 6; }
.shot-half { grid-column: span 3; }
.shot-third { grid-column: span 2; }

@media (max-width: 880px) {
  .shots { grid-template-columns: 1fr; }
  .shot-wide, .shot-half, .shot-third { grid-column: auto; }
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line-soft);
}

.shot figcaption {
  padding: 1.05rem 1.2rem 1.2rem;
  font-size: 0.92rem;
  color: var(--fg-2);
  line-height: 1.55;
}

.shot figcaption strong {
  color: var(--fg);
  font-weight: 600;
  display: block;
  margin-bottom: 0.18rem;
  letter-spacing: -0.005em;
}

/* operator quote, replaces "no social proof" gap */

.operator-quote {
  margin: 3rem 0 0;
  padding: 2rem clamp(1.5rem, 3vw, 2.5rem);
  border-left: 2px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, var(--accent-soft) 0%, transparent 60%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}

.operator-quote blockquote {
  margin: 0;
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.45;
  color: var(--fg);
  font-weight: 500;
  letter-spacing: -0.012em;
  max-width: 50ch;
  text-wrap: pretty;
}

.operator-quote blockquote::before {
  content: "“";
  color: var(--accent);
  font-size: 1.4em;
  line-height: 0;
  margin-right: 0.05em;
  vertical-align: -0.18em;
}

.operator-quote .attr {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--fg-3);
  letter-spacing: 0.06em;
  text-align: right;
  line-height: 1.5;
  white-space: nowrap;
}

.operator-quote .attr strong {
  display: block;
  color: var(--fg);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .operator-quote {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .operator-quote .attr {
    text-align: left;
  }
}

/* capabilities, flat list, monospace, no boxes (taste-skill: cards omitted in favor of spacing) */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 1rem;
}

.cap {
  padding: 0.95rem 1.1rem 0.95rem 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.93rem;
  color: var(--fg);
  font-feature-settings: "tnum";
}

.cap:nth-child(2n-1) {
  padding-right: 1.5rem;
  border-right: 1px solid var(--line-soft);
  padding-left: 0;
}

.cap:nth-child(2n) {
  padding-left: 1.5rem;
}

.cap::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-top: 0.6rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

@media (max-width: 768px) {
  .cap-grid { grid-template-columns: 1fr; }
  .cap:nth-child(2n-1) {
    padding-right: 0;
    border-right: none;
  }
  .cap:nth-child(2n) {
    padding-left: 0;
  }
}

/* pricing, emphasize featured tier with color and weight, not just border */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

@media (max-width: 880px) {
  .tiers { grid-template-columns: 1fr; }
}

.tier {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.8rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  position: relative;
  transition: border-color 200ms ease, transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.tier:hover {
  border-color: var(--fg-3);
  transform: translateY(-2px);
}

.tier.featured {
  border-color: var(--accent);
  background:
    linear-gradient(180deg, rgba(190, 239, 68, 0.08), rgba(190, 239, 68, 0.02) 40%, var(--bg-soft) 80%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 0 0 1px var(--accent),
    0 30px 60px -24px rgba(190, 239, 68, 0.25);
}

.tier.featured:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.tier .featured-flag {
  position: absolute;
  top: -1px;
  right: 1.6rem;
  background: var(--accent);
  color: var(--accent-fg);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.32rem 0.6rem;
  border-radius: 0 0 4px 4px;
  font-weight: 600;
}

.tier .name {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 1.4rem;
  display: block;
}

.tier.featured .name {
  color: var(--accent);
}

.tier .price {
  font-size: 2.4rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-feature-settings: "tnum";
  color: var(--fg);
}

.tier .price-unit {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--fg-2);
  letter-spacing: 0;
  margin-left: 0.2rem;
}

.tier .pitch {
  color: var(--fg-2);
  font-size: 0.92rem;
  margin: 0 0 1.5rem;
  min-height: 2.6em;
  line-height: 1.45;
}

.tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  gap: 0.6rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 1.2rem;
}

.tier li {
  font-size: 0.92rem;
  color: var(--fg);
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.5;
}

.tier li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  background: transparent;
}

.tier.featured li::before {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.tier .tier-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

/* footer, simplified: 2-col, less link-farm */

footer.site-foot {
  padding-block: 4rem 2.2rem;
  color: var(--fg-2);
  font-size: 0.88rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

.foot-grid .foot-brand .word {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.18em;
  color: var(--fg);
  text-transform: lowercase;
}

.foot-grid .foot-brand p {
  margin: 0.7rem 0 0;
  color: var(--fg-2);
  font-size: 0.9rem;
  max-width: 36ch;
  line-height: 1.5;
}

@media (max-width: 880px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
}

.foot-grid h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 0.85rem;
  font-weight: 500;
}

.foot-grid a {
  color: var(--fg);
  font-size: 0.9rem;
}

.foot-grid p {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  color: var(--fg);
}

.foot-grid .meta {
  color: var(--fg-3);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--fg-3);
  letter-spacing: 0.08em;
}

/* fade-in on scroll, behind feature query so JS-off still renders */

@media (prefers-reduced-motion: no-preference) {
  .fade-section {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 540ms cubic-bezier(0.16, 1, 0.3, 1), transform 540ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .fade-section.is-visible {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .fade-section {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* visually-hidden utility (skip-link) */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   variant-2 polish, pinned screenshot sequence, hero exit dock,
   bento stagger, comparison strikethrough draw-on, RECOMMENDED
   tier pulse. Scoped under body.v2 so it activates only when the
   document opts in via class=v2.
   ============================================================ */
/* lecram marketing, variant 2: maximal Apple-immersive overlay.
   Loads on top of /styles.css. Adds:
     1. Hero exit dock, .hero-app scales + translates upper-right, fades out.
     2. Pinned product-screenshot sequence with 4-step crossfade.
     3. Stagger-in for "What it is" bento tiles (1-shot, 100ms cascade).
     4. Strikethrough draw-on for "The lane" comparison rows (~400ms LTR).
     5. Glow pulse for the RECOMMENDED pricing tier (1 pulse, settle).
   All animations use transform / opacity / filter only.
   prefers-reduced-motion: falls back to instant-on terminal states. */

/* =========================================================================
   1. HERO EXIT DOCK
   When body gets --v2-exit set 0..1, the .hero-app shrinks toward a corner
   and fades. After 1.0 it's effectively gone. Don't dock permanently, fade
   to opacity 0 by 1.0 so it isn't a distracting mini-window.
   ========================================================================= */

@media (prefers-reduced-motion: no-preference) {
  body.v2 .hero-app {
    /* keep transform-origin near the panel's top-right so it shrinks toward
       the dock target rather than off-axis */
    transform-origin: 90% 12%;
    transition: opacity 220ms cubic-bezier(0.16, 1, 0.3, 1),
                filter 240ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity, filter;
  }

  /* Apply the exit transform via CSS calc on a body-level custom property.
     Only kicks in once the user is past the hero runway (.v2-hero-exited). */
  body.v2.v2-hero-exited .hero-app {
    /* clamp for safety: e is a 0..1 number with no unit */
    --e: var(--v2-exit, 0);
    transform:
      translate3d(calc(var(--e) * 28%), calc(var(--e) * -22%), 0)
      scale(calc(1 - var(--e) * 0.78));
    opacity: calc(1 - var(--e) * 1.05);
    filter: blur(calc(var(--e) * 4px));
    /* once shrunk past ~80% it should not eat clicks even if visible */
    pointer-events: none;
  }

  /* When fully exited, remove the panel from the layer entirely (clean exit) */
  body.v2.v2-hero-exited .hero-app[style] {
    /* nothing, handled by the calc above; declaration kept for IDE clarity */
  }
}

/* The dock target is purely a visual breadcrumb of where the panel disappears.
   Subtle dotted ring in the upper-right that fades in once the user scrolls
   past the hero. Decorative only. */
.v2-dock {
  position: fixed;
  top: 64px;
  right: clamp(12px, 3vw, 28px);
  width: 64px;
  height: 40px;
  border-radius: 8px;
  border: 1px dashed var(--accent-line);
  background: rgba(190, 239, 68, 0.02);
  pointer-events: none;
  z-index: 9;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 240ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: no-preference) {
  body.v2.v2-hero-exited .v2-dock {
    /* show briefly mid-exit (0.3..0.7) then fade as the panel disappears */
    opacity: calc(min(var(--v2-exit, 0), 1 - var(--v2-exit, 0)) * 1.4);
    transform: scale(1);
  }
}

@media (max-width: 880px) { .v2-dock { display: none; } }

/* =========================================================================
   2. PINNED SCREENSHOT SEQUENCE
   Outer wrapper provides ~2.4 viewports of scroll runway; the inner .v2-shotpin
   is position: sticky and fills the viewport. JS sets --shot-step (0..3) and
   --shot-p (0..1). CSS handles all visuals: image crossfade, headline highlight,
   progress bar.
   ========================================================================= */

.v2-shotpin-section {
  /* override the global section padding so the runway frames cleanly */
  padding-block: 0 !important;
}

.v2-shotpin-intro {
  padding-block: var(--section-y) 1.5rem;
}

.v2-shotpin-scroll {
  position: relative;
  /* 4 steps × ~0.8vh per step + 1vh viewport pin = ~3.4× viewport runway.
     Slight under 4× because the step transitions feel snappier with overlap. */
  height: 320vh;
}

.v2-shotpin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.v2-shotpin::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 80% 20%, var(--accent-soft) 0%, transparent 65%),
    radial-gradient(35% 45% at 8% 88%, rgba(190, 239, 68, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.v2-shotpin::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(190, 239, 68, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(190, 239, 68, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.v2-shotpin-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: 100%;
}

@media (max-width: 880px) {
  .v2-shotpin-scroll { height: auto; }
  .v2-shotpin { position: relative; height: auto; padding-block: var(--section-y); }
  .v2-shotpin-grid { grid-template-columns: 1fr; }
}

/* Headline stack (left column) */

.v2-shot-headlines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.v2-shot-headline {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  row-gap: 0.3rem;
  padding: 0.4rem 0 0.4rem 1.1rem;
  border-left: 2px solid var(--line-soft);
  opacity: 0.32;
  filter: blur(0.5px);
  transform: translate3d(-6px, 0, 0);
  transition: opacity 360ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 360ms cubic-bezier(0.16, 1, 0.3, 1),
              filter 360ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 240ms ease;
  will-change: transform, opacity, filter;
}

.v2-shot-headline.is-active {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
  border-left-color: var(--accent);
}

.v2-shot-num {
  grid-row: 1 / span 2;
  align-self: start;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--fg-3);
  padding-top: 0.18rem;
}

.v2-shot-headline.is-active .v2-shot-num { color: var(--accent); }

.v2-shot-title {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--fg);
  line-height: 1.2;
  text-wrap: balance;
}

.v2-shot-sub {
  font-size: 0.92rem;
  color: var(--fg-2);
  line-height: 1.5;
  max-width: 36ch;
}

/* Frame (right column), fixed-aspect canvas with chrome and a crossfade stack */

.v2-shot-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--bg-deep), #0c0f14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 40px 80px -28px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(190, 239, 68, 0.04);
  overflow: hidden;
}

.v2-shot-chrome {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.012);
  position: relative;
  z-index: 2;
}

.v2-shot-dots { display: inline-flex; gap: 0.32rem; }
.v2-shot-dots span {
  width: 9px; height: 9px; border-radius: 999px; background: #2c333d;
}

.v2-shot-crumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--fg-3);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-shot-step {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
}

.v2-shot-step-sep { color: var(--fg-3); }

.v2-shot-stage {
  position: relative;
  /* lock the canvas at a 16:10 (1440x900) aspect, fluid width */
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  overflow: hidden;
}

.v2-shot-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  opacity: 0;
  /* very subtle Ken-Burns: tiny scale-down for the *active* frame, gives
     each step a gentle "settle" instead of a flat pop. */
  transform: scale(1.03);
  transition: opacity 520ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 1200ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Activate by step. We can't trivially target via attribute selector when
   step is a CSS custom prop, so we use a narrow rule per step. */
.v2-shotpin-scroll[style*="--shot-step: 0"] .v2-shot-img[data-step="0"],
.v2-shotpin-scroll[style*="--shot-step:0"]  .v2-shot-img[data-step="0"],
.v2-shotpin-scroll[style*="--shot-step: 1"] .v2-shot-img[data-step="1"],
.v2-shotpin-scroll[style*="--shot-step:1"]  .v2-shot-img[data-step="1"],
.v2-shotpin-scroll[style*="--shot-step: 2"] .v2-shot-img[data-step="2"],
.v2-shotpin-scroll[style*="--shot-step:2"]  .v2-shot-img[data-step="2"],
.v2-shotpin-scroll[style*="--shot-step: 3"] .v2-shot-img[data-step="3"],
.v2-shotpin-scroll[style*="--shot-step:3"]  .v2-shot-img[data-step="3"] {
  opacity: 1;
  transform: scale(1);
}

/* Initial state, no style yet, first image visible */
.v2-shotpin-scroll:not([style]) .v2-shot-img[data-step="0"] {
  opacity: 1;
  transform: scale(1);
}

.v2-shot-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: rgba(190, 239, 68, 0.06);
  z-index: 2;
  pointer-events: none;
}

.v2-shot-progress-bar {
  display: block;
  height: 100%;
  width: calc(var(--shot-p, 0) * 100%);
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  transition: width 80ms linear;
}

.v2-shotpin-scroll { /* expose the custom prop to children */ }

/* =========================================================================
   3. BENTO STAGGER-IN
   The parent .fade-section already animates the section as a whole. We layer
   a per-tile entrance on top: each [data-stagger-item] starts hidden + offset,
   and JS adds .is-in with a 100ms cascade.
   ========================================================================= */

@media (prefers-reduced-motion: no-preference) {
  [data-stagger-item] {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity 520ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
  }
  [data-stagger-item].is-in {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================================
   4. COMPARE-ROW STRIKETHROUGH DRAW-ON
   Replace the global text-decoration on .compare-them with a pseudo-element
   line that scales from scaleX(0) to scaleX(1) across ~400ms when the row
   enters viewport. We need to disable the inherited line-through to avoid a
   double-strike. Also override the inherited color in .v2 scope so the strike
   reads on dark gray text.
   ========================================================================= */

@media (prefers-reduced-motion: no-preference) {
  body.v2 .compare-them {
    /* drop the static text-decoration from /styles.css */
    text-decoration: none !important;
    position: relative;
    display: inline-block;
  }
  body.v2 .compare-them-text {
    position: relative;
    display: inline-block;
    /* center-line via pseudo on the inner span so it tracks the actual text */
  }
  body.v2 .compare-them-text::after {
    content: "";
    position: absolute;
    left: -3%;
    right: -3%;
    top: 52%;
    height: 1px;
    background: var(--fg-3);
    transform: scaleX(0);
    transform-origin: 0% 50%;
    transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
  }
  body.v2 [data-compare-row].is-in .compare-them-text::after {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.v2 .compare-them { text-decoration: line-through; }
}

/* =========================================================================
   5. RECOMMENDED TIER GLOW PULSE
   When pricing enters viewport, the featured tier gets one subtle pulse: a
   lime ring expanding + fading. Settles back to the static featured styling.
   ========================================================================= */

@media (prefers-reduced-motion: no-preference) {
  .tier.featured.is-pulsing {
    animation: v2-tier-pulse 1600ms cubic-bezier(0.16, 1, 0.3, 1) 1 both;
  }
}

@keyframes v2-tier-pulse {
  0% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.04) inset,
      0 0 0 1px var(--accent),
      0 0 0 0 rgba(190, 239, 68, 0.45),
      0 30px 60px -24px rgba(190, 239, 68, 0.25);
    transform: translateY(0) scale(1);
  }
  35% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.06) inset,
      0 0 0 2px var(--accent),
      0 0 0 14px rgba(190, 239, 68, 0.18),
      0 30px 60px -24px rgba(190, 239, 68, 0.40);
    transform: translateY(-2px) scale(1.012);
  }
  70% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.04) inset,
      0 0 0 1px var(--accent),
      0 0 0 22px rgba(190, 239, 68, 0);
    transform: translateY(-1px) scale(1.004);
  }
  100% {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.04) inset,
      0 0 0 1px var(--accent),
      0 30px 60px -24px rgba(190, 239, 68, 0.25);
    transform: none;
  }
}

/* =========================================================================
   Reduced-motion catch-all, render terminal states immediately.
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
  body.v2 .hero-app { transform: none !important; opacity: 1 !important; filter: none !important; }
  body.v2 .v2-dock { display: none; }
  .v2-shotpin-scroll { height: auto; }
  .v2-shotpin { position: relative; height: auto; padding-block: var(--section-y); }
  .v2-shot-img { transition: none !important; }
  /* fall back: only first image visible (avoid stacked-image flash) */
  .v2-shot-img[data-step="0"] { opacity: 1 !important; transform: none !important; }
  [data-stagger-item] { opacity: 1 !important; transform: none !important; }
  .tier.featured.is-pulsing { animation: none !important; }
}

/* =========================================================================
   Small refinements that make the variant feel one tier more polished.
   ========================================================================= */

/* Hero text gets a subtle mask reveal on initial load, nothing scroll-bound,
   just a quick polish that says "this page knows it's the loading frame". */
@media (prefers-reduced-motion: no-preference) {
  body.v2 .hero h1 {
    animation: v2-hero-rise 720ms cubic-bezier(0.16, 1, 0.3, 1) 80ms both;
  }
  body.v2 .hero .lead {
    animation: v2-hero-rise 720ms cubic-bezier(0.16, 1, 0.3, 1) 200ms both;
  }
  body.v2 .hero .cta-row {
    animation: v2-hero-rise 720ms cubic-bezier(0.16, 1, 0.3, 1) 320ms both;
  }
}

@keyframes v2-hero-rise {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to   { opacity: 1; transform: none; }
}
