/* Home opts into the shared texture hierarchy in base.css: permanent paper
   grain, a hero-local dot field, and a separate lower/right grid region. */

.hero[data-astro-cid-lcdefpme] {
  padding-top: var(--space-hero-top);
  padding-bottom: 0;
  overflow: hidden;
}
.hero-copy[data-astro-cid-lcdefpme] {
  text-align: center;
  justify-items: center;
  gap: 18px;
  display: grid;
}
.hero-copy[data-astro-cid-lcdefpme] .hero-ctas[data-astro-cid-lcdefpme] {
  margin-top: 15px;
}
.hero-title[data-astro-cid-lcdefpme] {
  gap: 2px;
  display: grid;
}
.hero-title[data-astro-cid-lcdefpme]
  .display-editorial[data-astro-cid-lcdefpme],
.hero-title[data-astro-cid-lcdefpme] .display-geo[data-astro-cid-lcdefpme] {
  display: block;
}
.hero[data-astro-cid-lcdefpme] .lede[data-astro-cid-lcdefpme] {
  font-size: 1.25rem;
  line-height: 1.68;
}
@media (width <= 879px) {
  .hero[data-astro-cid-lcdefpme] .lede[data-astro-cid-lcdefpme] {
    font-size: 1rem;
    line-height: 1.63;
  }
}
.hero-ctas[data-astro-cid-lcdefpme] {
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  display: flex;
}
.hero-alt[data-astro-cid-lcdefpme] {
  font-size: var(--fs-micro);
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: var(--dim);
}
.hero-alt[data-astro-cid-lcdefpme] a[data-astro-cid-lcdefpme] {
  color: var(--muted);
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 1px;
}
.hero-alt[data-astro-cid-lcdefpme] a[data-astro-cid-lcdefpme]:hover {
  color: var(--ink);
}
.hero-window[data-astro-cid-lcdefpme] {
  margin-top: clamp(32px, 3.5vw, 44px);
  position: relative;
}
/* Figma V2 "overlapping-panels" — three panels floating on a transparent canvas
   (1120×400 design space; side panels at 86% opacity, center on top) */
.hero-panels[data-astro-cid-lcdefpme] {
  position: relative;
  aspect-ratio: 1120 / 400;
}
.hero-panels[data-astro-cid-lcdefpme] .panel[data-astro-cid-lcdefpme] {
  position: absolute;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 14px 26.3px rgb(0 0 0 / 0.4);
}
.hero-panels[data-astro-cid-lcdefpme] .panel-left[data-astro-cid-lcdefpme] {
  left: 0;
  top: 12%;
  width: 32.6%;
  height: 59%;
  opacity: 0.86;
}
.hero-panels[data-astro-cid-lcdefpme] .panel-right[data-astro-cid-lcdefpme] {
  left: 72.1%;
  top: 10.25%;
  width: 28.5%;
  height: 60.75%;
  opacity: 0.86;
}
.hero-panels[data-astro-cid-lcdefpme] .panel-center[data-astro-cid-lcdefpme] {
  left: 50%;
  top: 0;
  width: 57.32%;
  height: 91.25%;
  transform: translateX(-50%);
  /* Figma 181:2604 fill is top-anchored (top -0.07%), cropping overflow at
     the bottom — keep the app header row visible instead of center-cropping */
  object-position: 50% 0%;
}
.log-actions[data-astro-cid-lcdefpme] {
  gap: 8px;
  margin-top: 8px;
  display: flex;
}
.log-btn[data-astro-cid-lcdefpme] {
  font-family: var(--font-mono);
  letter-spacing: var(--track-mono);
  border-radius: var(--r-1);
  color: #f6efea;
  border: 1px solid #f6efea40;
  padding: 7px 14px;
  font-size: 0.66rem;
}
.log-btn[data-astro-cid-lcdefpme].confirm {
  color: #01231e;
  background: #36ffab;
  border-color: #36ffab;
}
.proof-strip[data-astro-cid-lcdefpme] {
  /* No own borders: the neighboring window/terminal-band rules define the
     edges (avoids doubled hairlines); top margin separates the strip from
     the hero window, matching the window's own margin rhythm. */
  border-block: 0;
  background: var(--canvas-deep);
  margin-inline: 0;
  margin-top: clamp(32px, 3.5vw, 44px);
}
.proof-inner[data-astro-cid-lcdefpme] {
  max-width: calc(var(--band-wide) + 2 * var(--gutter));
  /* Center the capped content column inside the full-bleed strip so the
     proof row reads symmetric, not left-anchored. */
  margin-inline: auto;
  font-size: var(--fs-micro);
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 14px;
  display: flex;
}
.proof-inner[data-astro-cid-lcdefpme] span[data-astro-cid-lcdefpme] {
  align-items: center;
  gap: 10px;
  display: inline-flex;
}
.proof-inner[data-astro-cid-lcdefpme] span[data-astro-cid-lcdefpme]:before {
  content: "◆";
  /* Deep terracotta: the strip's warm peach wash kills the mint accent's
     contrast; this stays in the site's warm family (execution / rule-warm)
     and clears 4.5:1 on the peach background. */
  color: #8a3c0f;
  font-size: 7px;
}
.card-copy[data-astro-cid-lcdefpme] {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}
/* Opaque chapter bands repeat the same paper grain so the texture never
   disappears merely because the regional dot/grid layers have ended. */
.footer[data-astro-cid-nns7i3if] {
  background-color: var(--canvas);
  background-image: var(--site-grain-tile);
  background-size: 180px 180px;
  background-repeat: repeat;
}
#faq[data-astro-cid-lcdefpme] {
  background-color: var(--canvas);
  background-image: var(--site-grain-tile);
  background-size: 180px 180px;
  background-repeat: repeat;
  border-top: 1px solid color-mix(in srgb, var(--ink) 8%, var(--canvas));
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, var(--canvas));
}
.commands[data-astro-cid-lcdefpme] {
  gap: var(--gap-commands);
  max-width: var(--band-wide);
  margin-inline: auto;
  display: grid;
}
.command-row[data-astro-cid-lcdefpme] {
  gap: var(--gap-command);
  grid-template-columns: 38fr 62fr;
  align-items: center;
  min-height: 440px;
  display: grid;
}
.command-visual[data-astro-cid-lcdefpme] {
  position: relative;
}
.command-visual[data-astro-cid-lcdefpme] .product-window {
  z-index: 1;
  position: relative;
}
.command-copy[data-astro-cid-lcdefpme] .h-section[data-astro-cid-lcdefpme] {
  font-weight: 680;
  line-height: 1.22;
}
.product-pill[data-astro-cid-lcdefpme] {
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-pill);
  height: 32px;
  font-size: var(--fs-micro);
  align-items: center;
  gap: 12px;
  margin-inline: auto;
  padding: 0 14px;
  display: inline-flex;
}
.pill-tick[data-astro-cid-lcdefpme] {
  border: 1px solid var(--accent);
  background: linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  width: 6px;
  height: 6px;
}
.pill-name[data-astro-cid-lcdefpme] {
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: var(--ink);
}
.pill-div[data-astro-cid-lcdefpme] {
  background: var(--rule-strong);
  width: 1px;
  height: 14px;
}
.pill-link[data-astro-cid-lcdefpme] {
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: var(--muted);
}
.pill-link[data-astro-cid-lcdefpme]:hover {
  color: var(--ink);
}
.command-copy[data-astro-cid-lcdefpme] {
  align-content: center;
  gap: 14px;
  display: grid;
}
.command-index[data-astro-cid-lcdefpme] {
  font-size: var(--fs-label);
  letter-spacing: var(--track-mono);
  color: var(--dim);
}
.mini[data-astro-cid-lcdefpme] {
  color: #e8ded6;
  gap: 8px;
  font-size: 0.8rem;
  line-height: 1.55;
  display: grid;
}
.mini-chart[data-astro-cid-lcdefpme] {
  border-top: 1px solid #f6efea1a;
  width: 100%;
  height: auto;
  margin-top: 10px;
  padding-top: 12px;
}
.inset-panel[data-astro-cid-lcdefpme] {
  border-radius: var(--r-1);
  letter-spacing: var(--track-mono);
  background: #1a1210;
  border: 1px solid #f6efea38;
  gap: 6px;
  margin-top: 12px;
  margin-left: 18%;
  padding: 12px 14px;
  font-size: 0.68rem;
  display: grid;
}
.inset-panel[data-astro-cid-lcdefpme] .bar[data-astro-cid-lcdefpme] {
  vertical-align: middle;
  border: 1px solid #f6efea38;
  width: 90px;
  height: 5px;
  margin-inline: 8px;
  display: inline-block;
}
.inset-panel[data-astro-cid-lcdefpme]
  .bar[data-astro-cid-lcdefpme]
  i[data-astro-cid-lcdefpme] {
  background: #36ffab;
  height: 100%;
  display: block;
}
.mini[data-astro-cid-lcdefpme] .dim[data-astro-cid-lcdefpme] {
  color: #b8aca6;
}
.mini[data-astro-cid-lcdefpme] .ok[data-astro-cid-lcdefpme] {
  color: #36ffab;
  margin-right: 6px;
}
.checklist[data-astro-cid-lcdefpme] p[data-astro-cid-lcdefpme] {
  letter-spacing: 0.06em;
  font-size: 0.75rem;
}
.platform-grid[data-astro-cid-lcdefpme] {
  max-width: var(--band-wide);
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-inline: auto;
  display: grid;
}
.platform-grid[data-astro-cid-lcdefpme] .rule-card[data-astro-cid-lcdefpme] {
  align-content: start;
  gap: 14px;
  display: grid;
}
.controls-panel[data-astro-cid-lcdefpme] {
  border: 1px solid var(--rule-warm);
  border-radius: var(--r-2);
  gap: var(--space-block);
  padding: 48px;
  display: grid;
}
.controls-head[data-astro-cid-lcdefpme] {
  gap: 18px;
  display: grid;
}
.pillars[data-astro-cid-lcdefpme] {
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
  display: grid;
}
.pillar[data-astro-cid-lcdefpme] {
  border-top: 1px solid var(--rule-strong);
  gap: 10px;
  padding-top: 16px;
  display: grid;
}
.pillar-title[data-astro-cid-lcdefpme] {
  font-family: var(--font-geo);
  letter-spacing: -0.015em;
  font-size: 1.25rem;
  font-weight: 600;
  font-stretch: 112%;
  line-height: 1.25;
}
.ent-band[data-astro-cid-lcdefpme] {
  border: 1px solid var(--rule-warm);
  border-radius: var(--r-2);
  grid-template-columns: 1.5fr auto;
  align-items: center;
  gap: 40px;
  padding: 40px 48px;
  display: grid;
}
.ent-copy[data-astro-cid-lcdefpme] {
  justify-items: start;
  gap: 12px;
  display: grid;
}
.ent-copy[data-astro-cid-lcdefpme] .eyebrow .amp[data-astro-cid-lcdefpme] {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.4em;
  line-height: 1;
  letter-spacing: 0;
}
/* Eyebrow label icons (.eyebrow .eb-ic) and the icon/label inline-flex
   centering live in base.css — the eyebrow system is shared chrome on
   every page. */
.ent-cta[data-astro-cid-lcdefpme] {
  justify-items: center;
  gap: 10px;
  display: grid;
}
.ent-micro[data-astro-cid-lcdefpme] {
  font-size: var(--fs-micro);
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: var(--dim);
}
.closing[data-astro-cid-lcdefpme] {
  overflow: hidden;
}
.closing-h[data-astro-cid-lcdefpme] {
  font-family: var(--font-geo);
  letter-spacing: -0.02em;
  font-size: clamp(2.125rem, 3.2vw + 1rem, 3.75rem);
  font-weight: 680;
  font-stretch: 118%;
  line-height: 1.3;
}
.closing-inner[data-astro-cid-lcdefpme] {
  text-align: center;
  justify-items: center;
  gap: 22px;
  display: grid;
  position: relative;
}
.closing-meta[data-astro-cid-lcdefpme] {
  font-size: var(--fs-micro);
  letter-spacing: var(--track-mono);
  color: var(--dim);
}
.closing-trust[data-astro-cid-lcdefpme] {
  font-size: var(--fs-micro);
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.steps-grid[data-astro-cid-lcdefpme] {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-inline: auto;
  display: grid;
}
.step[data-astro-cid-lcdefpme] {
  border-top: 1px solid var(--rule-strong);
  gap: 12px;
  padding: 24px 0 0;
  display: grid;
}
.step-index[data-astro-cid-lcdefpme] {
  font-size: var(--fs-label);
  letter-spacing: var(--track-mono);
  color: var(--dim);
}
.faq[data-astro-cid-lcdefpme] {
  display: grid;
}
.faq-row[data-astro-cid-lcdefpme] {
  border-bottom: 1px solid var(--rule);
  transition: background-color 0.18s var(--ease-out);
}
.faq-row[data-astro-cid-lcdefpme]:first-child {
  border-top: 1px solid var(--rule);
}
/* Open state: one continuous wash, bounded exactly to the row edges. */
.faq-row.open[data-astro-cid-lcdefpme] {
  background: color-mix(in srgb, var(--ink) 3%, transparent);
}
.faq-q[data-astro-cid-lcdefpme] {
  text-align: left;
  width: 100%;
  transition: background-color 0.15s var(--ease-out);
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 8px;
  font-size: 1.0625rem;
  font-weight: 500;
  display: flex;
}
.faq-q[data-astro-cid-lcdefpme]:hover {
  background: color-mix(in srgb, var(--ink) 3%, transparent);
}
.faq-chev[data-astro-cid-lcdefpme] {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 14px;
  transition: transform 0.2s var(--ease-out);
}
.faq-q[data-astro-cid-lcdefpme][aria-expanded="true"]
  .faq-chev[data-astro-cid-lcdefpme] {
  transform: rotate(45deg);
}
/* Answer collapses via a 0fr -> 1fr grid track; visibility keeps closed
   answers out of the tab order and the accessibility tree. */
.faq-a[data-astro-cid-lcdefpme] {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  padding: 0 8px;
  transition: grid-template-rows 0.16s var(--ease-out), visibility 0.16s;
}
.faq-row.open[data-astro-cid-lcdefpme] .faq-a[data-astro-cid-lcdefpme] {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.24s var(--ease-out), visibility 0.24s;
}
.faq-a-in[data-astro-cid-lcdefpme] {
  overflow: hidden;
  min-height: 0;
}
.faq-a[data-astro-cid-lcdefpme] p[data-astro-cid-lcdefpme] {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  padding-bottom: 22px;
}
.faq-outro[data-astro-cid-lcdefpme] {
  text-align: center;
  font-size: var(--fs-label);
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 24px;
}
.faq-outro[data-astro-cid-lcdefpme] a[data-astro-cid-lcdefpme] {
  color: var(--ink);
  border-bottom: 1px solid var(--rule-strong);
}
.hero-copy[data-astro-cid-lcdefpme].reveal {
  opacity: 1;
  transform: none;
}
.hero-copy[data-astro-cid-lcdefpme].reveal > [data-astro-cid-lcdefpme] {
  opacity: 0;
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
  transform: translateY(14px);
}
.hero-copy[data-astro-cid-lcdefpme].reveal.in > [data-astro-cid-lcdefpme] {
  opacity: 1;
  transform: none;
}
.hero-copy[data-astro-cid-lcdefpme].reveal.in
  > [data-astro-cid-lcdefpme]:nth-child(2) {
  transition-delay: 80ms;
}
.hero-copy[data-astro-cid-lcdefpme].reveal.in
  > [data-astro-cid-lcdefpme]:nth-child(3) {
  transition-delay: 0.16s;
}
.hero-copy[data-astro-cid-lcdefpme].reveal.in
  > [data-astro-cid-lcdefpme]:nth-child(4) {
  transition-delay: 0.24s;
}
.hero-copy[data-astro-cid-lcdefpme].reveal.in
  > [data-astro-cid-lcdefpme]:nth-child(5) {
  transition-delay: 0.32s;
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy[data-astro-cid-lcdefpme].reveal > [data-astro-cid-lcdefpme] {
    opacity: 1;
    transition: none;
    transform: none;
  }
}
@media (width <= 900px) {
  .platform-grid[data-astro-cid-lcdefpme] {
    grid-template-columns: 1fr;
  }
  .pillars[data-astro-cid-lcdefpme] {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .command-row[data-astro-cid-lcdefpme] {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 0;
  }
  .commands[data-astro-cid-lcdefpme] {
    gap: 72px;
  }
  .ent-band[data-astro-cid-lcdefpme] {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ent-cta[data-astro-cid-lcdefpme] {
    justify-items: start;
  }
  .steps-grid[data-astro-cid-lcdefpme] {
    grid-template-columns: 1fr;
  }
}
@media (width <= 560px) {
  .pillars[data-astro-cid-lcdefpme] {
    grid-template-columns: 1fr;
  }
  .controls-panel[data-astro-cid-lcdefpme] {
    padding: 32px;
  }
  .ent-band[data-astro-cid-lcdefpme] {
    padding: 28px;
  }
  .hero[data-astro-cid-lcdefpme] .hero-ctas[data-astro-cid-lcdefpme] {
    gap: 24px;
  }
  .terminal-band[data-astro-cid-lcdefpme] .hero-ctas[data-astro-cid-lcdefpme] {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .terminal-band[data-astro-cid-lcdefpme]
    .hero-ctas[data-astro-cid-lcdefpme]
    .btn[data-astro-cid-lcdefpme] {
    width: 100%;
  }
}

/* ------------------------------------------------------------------
   Homepage product-window component (moved from index.html inline
   <style>; mint halo dropped from the shadow stack — contact ring and
   depth shadow only).
   ------------------------------------------------------------------ */
.product-window[data-astro-cid-x6xtwrhy] {
  border-radius: var(--r-2);
  box-shadow:
    0 0 0 1px #0c080866,
    0 32px 64px -36px #0c08088c;
  background: #171010;
  border: 1px solid #f6efea66;
  margin: 0;
  overflow: hidden;
}
.pw-bar[data-astro-cid-x6xtwrhy] {
  background: #f6efea08;
  border-bottom: 1px solid #f6efea1a;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  padding: 4px 12px;
  display: flex;
}
.pw-dots[data-astro-cid-x6xtwrhy] {
  gap: 5px;
  display: inline-flex;
}
.pw-dots[data-astro-cid-x6xtwrhy] i[data-astro-cid-x6xtwrhy] {
  background: #f6efea38;
  border-radius: 1px;
  width: 5px;
  height: 5px;
}
.pw-title[data-astro-cid-x6xtwrhy] {
  font-size: var(--fs-micro);
  letter-spacing: var(--track-mono);
  color: #b8aca6;
  text-transform: uppercase;
}
.pw-sample[data-astro-cid-x6xtwrhy] {
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: #8a7f79;
  border-radius: var(--r-1);
  white-space: nowrap;
  border: 1px dashed #f6efea33;
  margin-left: auto;
  padding: 2px 6px;
  font-size: 0.58rem;
}
.pw-sample[data-astro-cid-x6xtwrhy] + .pw-status[data-astro-cid-x6xtwrhy] {
  margin-left: 8px;
}
.pw-status[data-astro-cid-x6xtwrhy] {
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  border-radius: var(--r-pill);
  white-space: nowrap;
  border: 1px dashed;
  margin-left: auto;
  padding: 3px 8px;
  font-size: 0.625rem;
}
.tone-signal[data-astro-cid-x6xtwrhy] {
  color: #36ffab;
}
.tone-execution[data-astro-cid-x6xtwrhy] {
  color: #ff8a3d;
}
.tone-heat[data-astro-cid-x6xtwrhy] {
  color: #ff4d5e;
}
.pw-body[data-astro-cid-x6xtwrhy] {
  padding: 18px;
}

/* ------------------------------------------------------------------
   Agent Desk signal rail — a continuous scroll-progress path through
   the four alternating scenes. The base line stays recessed; the read
   portion turns mint and a warm-white signal head follows the reader.
   ------------------------------------------------------------------ */
#product .commands {
  --rail-progress: 0%;
  --rail-start: 220px;
  --rail-span: calc(100% - 440px);
  position: relative;
}

#product .command-rail {
  position: absolute;
  z-index: 2;
  top: var(--rail-start);
  left: 50%;
  width: 28px;
  height: var(--rail-span);
  translate: -50% 0;
  pointer-events: none;
}

#product .command-rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  translate: -50% 0;
}

#product .command-rail::before {
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    color-mix(in srgb, var(--ink) 18%, transparent) 3%,
    color-mix(in srgb, var(--ink) 18%, transparent) 97%,
    transparent
  );
}

#product .command-rail__progress {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  width: 1px;
  height: var(--rail-progress);
  translate: -50% 0;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--accent) 8%, transparent),
    color-mix(in srgb, var(--accent) 24%, transparent) 82%,
    color-mix(in srgb, var(--accent) 42%, transparent)
  );
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 8%, transparent);
  opacity: 0;
  transition: opacity 0.18s var(--ease-out);
}

#product .command-rail__head {
  position: absolute;
  z-index: 3;
  top: var(--rail-progress);
  left: 50%;
  width: 6px;
  height: 6px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--ink);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent),
    0 0 10px 2px color-mix(in srgb, var(--accent) 50%, transparent),
    0 0 22px 7px color-mix(in srgb, var(--accent) 16%, transparent);
  opacity: 0;
  transition: opacity 0.18s var(--ease-out);
}

#product .commands[data-rail-entered="true"] .command-rail__progress,
#product .commands[data-rail-entered="true"] .command-rail__head {
  opacity: 1;
}

#product .command-rail__head::before,
#product .command-rail__head::after {
  content: "";
  position: absolute;
  left: 50%;
  translate: -50% 0;
  pointer-events: none;
}

#product .command-rail__head::before {
  width: 1px;
  height: 76px;
  background: linear-gradient(
    to bottom,
    transparent,
    color-mix(in srgb, var(--accent) 58%, transparent)
  );
}

#product .command-rail__head::after {
  width: 24px;
  height: 68px;
  opacity: 0.62;
  background: radial-gradient(
    ellipse at 50% 100%,
    color-mix(in srgb, var(--accent) 34%, transparent),
    transparent 68%
  );
  filter: blur(4px);
}

#product .commands[data-rail-direction="down"] .command-rail__head::before,
#product .commands[data-rail-direction="down"] .command-rail__head::after {
  top: auto;
  bottom: 3px;
}

#product .commands[data-rail-direction="up"] .command-rail__head::before,
#product .commands[data-rail-direction="up"] .command-rail__head::after {
  top: 3px;
  bottom: auto;
}

#product .commands[data-rail-direction="up"] .command-rail__head::before {
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--accent) 58%, transparent),
    transparent
  );
}

#product .commands[data-rail-direction="up"] .command-rail__head::after {
  background: radial-gradient(
    ellipse at 50% 0%,
    color-mix(in srgb, var(--accent) 34%, transparent),
    transparent 68%
  );
}

@media (width > 900px) {
  #product .commands:before {
    content: none;
  }
  #product .command-row {
    grid-template-columns: 1fr 1fr;
    column-gap: 88px;
    position: relative;
  }
  #product .command-row:nth-of-type(even) .command-visual {
    order: -1;
  }
  #product .command-row:before {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    width: 13px;
    height: 13px;
    translate: -50% -50%;
    border-radius: 50%;
    background: var(--canvas-deep);
    border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
    box-shadow:
      0 0 0 5px var(--canvas-deep),
      0 0 0 6px color-mix(in srgb, var(--ink) 8%, transparent);
    transition:
      background-color 0.22s var(--ease-out),
      border-color 0.22s var(--ease-out),
      box-shadow 0.22s var(--ease-out);
  }
  #product .command-row.is-rail-lit:before {
    background: radial-gradient(
      circle,
      var(--ink) 0 2px,
      color-mix(in srgb, var(--accent) 68%, var(--ink)) 2.5px 3.5px,
      var(--canvas-deep) 4px
    );
    border-color: color-mix(in srgb, var(--accent) 58%, var(--ink));
    box-shadow:
      0 0 0 5px var(--canvas-deep),
      0 0 0 6px color-mix(in srgb, var(--accent) 34%, transparent),
      0 0 16px 4px color-mix(in srgb, var(--accent) 16%, transparent);
  }
}

#product .command-index {
  transition:
    color 0.22s var(--ease-out),
    text-shadow 0.22s var(--ease-out);
}

#product .command-row.is-rail-lit .command-index {
  color: var(--accent);
  text-shadow: 0 0 14px color-mix(in srgb, var(--accent) 28%, transparent);
}

@media (width <= 900px) {
  #product .commands {
    padding-left: 22px;
  }
  #product .command-rail {
    left: 4px;
    width: 16px;
  }
  #product .command-row {
    position: relative;
  }
  #product .command-row::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: 50%;
    left: -18px;
    width: 9px;
    height: 9px;
    translate: -50% -50%;
    border: 1px solid color-mix(in srgb, var(--ink) 26%, transparent);
    border-radius: 50%;
    background: var(--canvas-deep);
    box-shadow: 0 0 0 4px var(--canvas-deep);
  }
  #product .command-row.is-rail-lit::before {
    background: radial-gradient(
      circle,
      var(--ink) 0 1.5px,
      color-mix(in srgb, var(--accent) 68%, var(--ink)) 2px 2.75px,
      var(--canvas-deep) 3px
    );
    border-color: var(--accent);
    box-shadow:
      0 0 0 4px var(--canvas-deep),
      0 0 14px 4px color-mix(in srgb, var(--accent) 18%, transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  #product .command-rail__head::before,
  #product .command-rail__head::after {
    display: none;
  }
  #product .command-row::before,
  #product .command-index {
    transition: none;
  }
}

/* Platform remains a lifted chapter, but retains the universal grain rather
   than becoming a textureless plate. */
#platform {
  background-color: color-mix(in srgb, var(--ink) 6%, var(--canvas));
  background-image: var(--site-grain-tile);
  background-size: 180px 180px;
  background-repeat: repeat;
  border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}
/* Elevation semantics on the band: a surface stacked ON TOP of the band is
   raised toward the light, so it must be LIGHTER than the band — never a
   darker well. Cards lift off as opaque ink-tinted panels with NO border:
   the tonal step plus a 1px top catch-light alone define the raise, so
   nothing frames the content. (The border stays in the box as transparent
   — geometry is unchanged and nothing reflows.)

   Hover is one choreographed beat — "the card energizes": the background
   rises one step toward the light, a mint bloom fades in behind the
   content, the product glyph turns accent and floats up, and the CTA
   arrow glides forward. Enter 280ms, exit 180ms.

   NOTE: this transition shorthand intentionally overrides .reveal's
   (base.css declares both at equal specificity, .reveal later, which had
   silently killed card hover transitions site-wide). Opacity keeps the
   entrance fade timing; background/transform get snappier hover timing. */
#platform .rule-card {
  background: color-mix(in srgb, var(--ink) 12%, var(--canvas));
  border-color: transparent;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 14%, transparent);
  isolation: isolate;
  transition:
    background-color 0.18s var(--ease-out),
    transform 0.18s var(--ease-out),
    opacity 0.7s var(--ease-out);
}
/* Mint bloom behind the content: negative z-index inside the card's own
   stacking context paints above the card's fill, below the card's content. */
#platform .rule-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    120% 70% at 50% 0%,
    color-mix(in srgb, var(--accent) 12%, transparent) 0%,
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.18s var(--ease-out);
  pointer-events: none;
  z-index: -1;
}
#platform .rule-card:hover,
#platform .rule-card:focus-within {
  background: color-mix(in srgb, var(--ink) 17%, var(--canvas));
  transform: translateY(-3px);
  transition:
    background-color 0.28s var(--ease-out),
    transform 0.28s var(--ease-out),
    opacity 0.7s var(--ease-out);
}
#platform .rule-card:hover::after,
#platform .rule-card:focus-within::after {
  opacity: 1;
  transition-duration: 0.28s;
}
/* Platform card icons — drawn product glyphs (execution candles / copilot
   spark / DNA helix), inlined as currentColor vectors in the card markup.
   Cream at rest so the label row above stays the card's only muted voice;
   on hover the glyph itself turns accent and floats up,
   joining the bloom as the card's energized state. */
#platform .rule-card .card-icon {
  color: var(--fg);
  width: 28px;
  height: 28px;
  display: inline-flex;
  transition:
    color 0.18s var(--ease-out),
    transform 0.18s var(--ease-out);
}
#platform .rule-card:hover .card-icon,
#platform .rule-card:focus-within .card-icon {
  color: var(--accent);
  transform: translateY(-2px);
  transition-duration: 0.28s;
}
#platform .rule-card .card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* The CTA arrow keeps its forward (rightward) glide — the direction the
   link actually travels. */
#platform .rule-card .link-arrow:hover:after {
  transform: translate(4px);
}
/* Respect reduced motion: state changes still apply, but instantly and
   without displacement. */
@media (prefers-reduced-motion: reduce) {
  #platform .rule-card,
  #platform .rule-card::after,
  #platform .rule-card .card-icon,
  #platform .rule-card .link-arrow:after {
    transition: none;
  }
  #platform .rule-card:hover,
  #platform .rule-card:focus-within {
    transform: none;
  }
}

/* Footer bottom bar and logo band styling lives in base.css — the
   two-piece footer (clipped wordmark band above the full-bleed meta plate)
   is shared chrome across every page. */

/* ---- inline illustrations (kit: illo-motion.css) ---------------- */
.card-illo[data-astro-cid-lcdefpme] {
  width: 100%;
  height: 150px;
  margin: -4px 0 2px;
}
.card-illo[data-astro-cid-lcdefpme] > svg {
  width: 100%;
  height: 100%;
}
.step-illo[data-astro-cid-lcdefpme] {
  width: 100%;
  height: 170px;
  margin-bottom: 6px;
}
.step-illo[data-astro-cid-lcdefpme] > svg {
  width: 100%;
  height: 100%;
}
