:root {
  --black: #080808;
  --near-black: #151515;
  --dark-gray: #333333;
  --mid-gray: #8d8d8d;
  --particle-gray: #b7b7b7;
  --light-gray: #ededed;
  --off-white: #f7f7f7;
  --white: #ffffff;

  /* The single permitted accent: a link to AIAgentree. Nothing else is colored. */
  --agentree: #2f6fb3;
  --agentree-soft: rgb(59 130 246 / 32%);

  --mono: ui-monospace, "SF Mono", "Cascadia Code", "Segoe UI Mono", Menlo,
    Consolas, monospace;

  --page-gutter: clamp(1.25rem, 4.7vw, 5.8rem);
  --header-height: 4.5rem;

  --particle-blur: 0px;
  --particle-opacity: 1;
  --hero-lift: 0px;
  --hero-opacity: 1;
  --scroll-cue-opacity: 1;
  --next-bg-opacity: 0;
  --next-copy-opacity: 0;
  --next-copy-y: 140px;
  --next-copy-blur: 7px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family:
    Nunito, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-sequence-active {
  cursor: ns-resize;
}

a {
  color: inherit;
}

/* --- Header ------------------------------------------------------------- */

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid rgb(8 8 8 / 8%);
  background: rgb(255 255 255 / 78%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-dot {
  color: var(--mid-gray);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 2rem);
  font-size: 0.86rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.nav-cta {
  padding: 0.62rem 1rem;
  border: 1px solid var(--black);
  border-radius: 999px;
}

.nav-cta:hover {
  color: var(--white);
  background: var(--black);
}

/* --- Hero sequence ------------------------------------------------------ */

.hero-sequence {
  position: relative;
  height: 680svh;
  background: var(--white);
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 38rem;
  overflow: hidden;
  background: var(--white);
  isolation: isolate;
}

.particle-visual {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: var(--particle-opacity);
  filter: blur(var(--particle-blur));
  transform: translateZ(0);
  transform-origin: 50% 50%;
  will-change: filter, opacity;
}

#particle-field {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: absolute;
  z-index: 3;
  left: var(--page-gutter);
  top: 50%;
  width: min(68rem, calc(100% - (2 * var(--page-gutter))));
  opacity: var(--hero-opacity);
  transform: translate3d(0, calc(-42% + var(--hero-lift)), 0);
  will-change: transform, opacity;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--dark-gray);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(3rem, 5.2vw, 6.2rem);
  font-weight: 900;
  letter-spacing: -0.028em;
  line-height: 0.98;
}

.hero-content h1 span {
  display: block;
  white-space: nowrap;
}

.hero-support {
  width: min(49rem, 100%);
  margin-top: clamp(2rem, 4vw, 3.4rem);
  padding-left: clamp(1.1rem, 2vw, 2rem);
  border-left: 1px solid var(--black);
}

.hero-support > p {
  max-width: 46rem;
  margin: 0;
  font-size: clamp(1.04rem, 1.5vw, 1.4rem);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.005em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* --- Buttons ------------------------------------------------------------ */

.button {
  min-height: 3.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

.button-primary {
  color: var(--white);
  background: var(--black);
}

.button-primary:hover {
  color: var(--black);
  background: var(--off-white);
  border-color: var(--black);
}

.button-secondary {
  color: var(--black);
  border-color: rgb(8 8 8 / 18%);
  background: rgb(255 255 255 / 78%);
}

.button-secondary:hover {
  border-color: var(--black);
}

.button-outline {
  margin-top: 2.2rem;
  color: var(--black);
  border-color: var(--black);
  background: transparent;
}

.button-outline:hover {
  color: var(--white);
  background: var(--black);
}

.button-dark {
  color: var(--white);
  background: var(--black);
}

.button-dark:hover {
  color: var(--black);
  border-color: var(--black);
  background: transparent;
}

/* The one accent on the page: the AIAgentree link. */
.button-agentree {
  margin-top: 1.6rem;
  align-self: flex-start;
  color: var(--agentree);
  border-color: var(--agentree-soft);
  background: transparent;
}

.button-agentree:hover {
  color: var(--white);
  border-color: var(--agentree);
  background: var(--agentree);
}

.button-agentree:focus-visible {
  outline-color: var(--agentree);
}

/* The product "Visit" buttons in the proof grid — the only other place colour
   is allowed, each in its product's brand hue (light tint → solid on hover). */
.proof-item .button {
  margin-top: 1.6rem;
  align-self: flex-start;
}

/* Argumentree — green */
.button-argtree {
  color: #15803d;
  border-color: rgb(22 163 74 / 45%);
  background: transparent;
}

.button-argtree:hover {
  color: var(--white);
  border-color: #16a34a;
  background: #16a34a;
}

.button-argtree:focus-visible {
  outline-color: #16a34a;
}

/* ArgumenTroupe — amber */
.button-troupe {
  color: #b45309;
  border-color: rgb(217 119 6 / 45%);
  background: transparent;
}

.button-troupe:hover {
  color: var(--white);
  border-color: #d97706;
  background: #d97706;
}

.button-troupe:focus-visible {
  outline-color: #d97706;
}

/* Argumentree.AI — rose */
.button-argtree-ai {
  color: #be123c;
  border-color: rgb(244 63 94 / 45%);
  background: transparent;
}

.button-argtree-ai:hover {
  color: var(--white);
  border-color: #f43f5e;
  background: #f43f5e;
}

.button-argtree-ai:focus-visible {
  outline-color: #f43f5e;
}

.button-icon {
  width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

/* --- Scroll cue --------------------------------------------------------- */

.scroll-cue {
  position: absolute;
  z-index: 4;
  right: var(--page-gutter);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  opacity: var(--scroll-cue-opacity);
  color: var(--dark-gray);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity 120ms linear;
}

.scroll-cue-line {
  width: 2.75rem;
  height: 1px;
  overflow: hidden;
  background: var(--black);
  transform-origin: left;
  animation: cue-pulse 1.8s ease-in-out infinite;
}

@keyframes cue-pulse {
  0%, 100% { transform: scaleX(0.25); opacity: 0.35; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* --- Scroll handoff preview -------------------------------------------- */

.next-preview {
  position: absolute;
  z-index: 8;
  inset: 0;
  padding: 58svh var(--page-gutter) 8svh;
  background: rgb(255 255 255 / var(--next-bg-opacity));
  pointer-events: none;
}

.next-preview-copy {
  width: min(69rem, 100%);
  opacity: var(--next-copy-opacity);
  filter: blur(var(--next-copy-blur));
  transform: translate3d(0, var(--next-copy-y), 0);
  will-change: opacity, filter, transform;
}

.next-preview-copy h2,
.method-copy h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(2.5rem, 2.8vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1;
}

.next-preview-copy > p:not(.eyebrow),
.method-copy > p:not(.eyebrow) {
  max-width: 52rem;
  margin: 1.3rem 0 0;
  padding-left: 1.4rem;
  border-left: 1px solid var(--black);
  font-size: clamp(1.05rem, 1.55vw, 1.4rem);
  font-weight: 600;
  line-height: 1.44;
}

/* --- 01 Method ---------------------------------------------------------- */

.method-section {
  padding: clamp(6rem, 12vw, 10rem) var(--page-gutter) clamp(7rem, 12vw, 11rem);
}

.content-section-light {
  color: var(--black);
  background: var(--white);
}

.method-copy {
  width: min(69rem, 100%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(5rem, 10vw, 9rem);
  border: 1px solid var(--black);
  background: var(--black);
}

.feature-card {
  min-height: 25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.5rem, 3vw, 2.7rem);
  background: var(--white);
}

.feature-card-gray {
  background: var(--light-gray);
}

.feature-card-dark {
  color: var(--white);
  background: var(--black);
}

.feature-card img {
  width: 3.4rem;
  height: 3.4rem;
  margin-top: auto;
  opacity: 0.9;
}

.feature-card-dark img {
  filter: invert(1) grayscale(1);
}

.feature-number {
  color: var(--mid-gray);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.feature-card h3 {
  margin: 1.4rem 0 0.65rem;
  font-size: clamp(1.6rem, 2.3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature-card p {
  max-width: 26rem;
  margin: 0;
  color: var(--dark-gray);
  font-weight: 600;
  line-height: 1.5;
}

.feature-card-dark p {
  color: #bdbdbd;
}

/* --- Shared statement sections ----------------------------------------- */

.content-section {
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(4rem, 0.32fr) minmax(0, 1fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
  padding:
    clamp(6rem, 13vw, 11rem)
    var(--page-gutter)
    clamp(5rem, 10vw, 9rem);
}

.content-section-dark {
  color: var(--white);
  background: var(--black);
}

.content-section-gray {
  color: var(--black);
  background: var(--light-gray);
}

.section-number {
  align-self: start;
  color: var(--mid-gray);
  font-family: var(--mono);
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.section-copy {
  max-width: 70rem;
}

.section-copy h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.6rem, 6.2vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.section-copy > p:not(.eyebrow):not(.founder-meta) {
  max-width: 46rem;
  margin: 2rem 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 600;
  line-height: 1.52;
}

.content-section-dark .eyebrow {
  color: var(--mid-gray);
}

.founder-meta {
  margin: 1.6rem 0 0;
  color: var(--mid-gray);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

/* Founder credit — small, understated, at the very end of the page */
.founder-credit {
  padding: clamp(3rem, 6vw, 4.5rem) var(--page-gutter) clamp(3.5rem, 7vw, 5.5rem);
  border-top: 1px solid rgb(8 8 8 / 10%);
  background: var(--white);
  color: var(--black);
}

.founder-credit .eyebrow {
  color: var(--mid-gray);
}

.founder-credit h2 {
  max-width: 42rem;
  margin: 0;
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.founder-credit > p:not(.eyebrow):not(.founder-meta) {
  max-width: 44rem;
  margin: 1rem 0 0;
  color: var(--dark-gray);
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  font-weight: 600;
  line-height: 1.5;
}

/* --- 03 Proof of work --------------------------------------------------- */

.proof-section {
  padding:
    clamp(6rem, 13vw, 11rem)
    var(--page-gutter)
    clamp(6rem, 12vw, 10rem);
}

.proof-head {
  width: min(64rem, 100%);
}

.proof-head h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.proof-head > p {
  max-width: 48rem;
  margin: 1.4rem 0 0;
  color: var(--dark-gray);
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  font-weight: 600;
  line-height: 1.5;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(3.5rem, 7vw, 6rem) 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--black);
  background: var(--black);
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 16rem;
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  background: var(--white);
}

.proof-tag {
  color: var(--mid-gray);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proof-item h3 {
  margin: 0.9rem 0 0.55rem;
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.proof-item p {
  max-width: 30rem;
  margin: 0;
  color: var(--dark-gray);
  font-weight: 600;
  line-height: 1.5;
}

/* --- 04 AI Act ---------------------------------------------------------- */

.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.4rem;
  margin: 2.4rem 0 0;
  padding: 1.6rem 0 0;
  list-style: none;
  border-top: 1px solid rgb(255 255 255 / 16%);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: #cfcfcf;
}

.timeline li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.t-date {
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* --- 05 Services ladder ------------------------------------------------- */

.services-section {
  padding:
    clamp(6rem, 13vw, 11rem)
    var(--page-gutter)
    clamp(6rem, 12vw, 10rem);
}

.services-head {
  width: min(64rem, 100%);
}

.services-head h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.services-note {
  max-width: 46rem;
  margin: 1.4rem 0 0;
  color: var(--dark-gray);
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  font-weight: 600;
  line-height: 1.5;
}

.ladder {
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--black);
}

.ladder-row {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.4rem, 2.6vw, 2rem) 0;
  border-bottom: 1px solid rgb(8 8 8 / 12%);
  transition: padding-left 180ms ease;
}

.ladder-row:hover {
  padding-left: 0.6rem;
}

.ladder-step {
  color: var(--mid-gray);
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ladder-body h3 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ladder-body p {
  max-width: 40rem;
  margin: 0;
  color: var(--dark-gray);
  font-weight: 600;
  line-height: 1.45;
}

.ladder-price {
  justify-self: end;
  text-align: right;
  white-space: nowrap;
  color: var(--black);
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 700;
}

/* --- Four-tier deployment spectrum (inside the data & GDPR section) ----- */

.deploy-head {
  width: min(64rem, 100%);
  margin-top: clamp(4.5rem, 9vw, 7rem);
}

.deploy-title {
  margin: 0.9rem 0 0;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.deploy-head > p {
  max-width: 46rem;
  margin: 1.2rem 0 0;
  color: var(--dark-gray);
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  font-weight: 600;
  line-height: 1.5;
}

.deploy-ladder {
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* --- §203 professional-secrecy callout (data & GDPR section) ----------- */

.data-callout {
  width: min(60rem, 100%);
  margin: clamp(2.6rem, 5vw, 3.6rem) 0 0;
  padding: clamp(1.3rem, 3vw, 1.9rem) clamp(1.5rem, 3.5vw, 2.3rem);
  border-left: 3px solid var(--black);
  background: rgb(8 8 8 / 3%);
}

.data-callout-label {
  margin: 0 0 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.data-callout p:last-child {
  max-width: 52rem;
  margin: 0;
  font-size: clamp(1.08rem, 1.6vw, 1.4rem);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.01em;
}

.data-code {
  font-family: var(--mono);
  font-weight: 700;
  white-space: nowrap;
}

/* --- Section-specific ties --------------------------------------------- */

.check-section h2,
.contact-section h2 {
  max-width: 17ch;
}

.contact-section {
  min-height: 78svh;
  grid-template-columns: 1fr;
}

.check-section {
  grid-template-columns: 1fr;
}

.check-section .button-dark,
.contact-section .hero-actions {
  margin-top: 2.2rem;
}

.index-section .section-copy h2 {
  max-width: 14ch;
}

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 900px) {
  .feature-grid,
  .proof-list {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 20rem;
  }

  .proof-item {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 4.1rem;
  }

  .site-nav > a:not(.nav-cta) {
    display: none;
  }

  .hero-sequence {
    height: 590svh;
  }

  .hero-sticky {
    min-height: 32rem;
  }

  .hero-content {
    top: auto;
    bottom: 9svh;
    transform: translate3d(0, var(--hero-lift), 0);
  }

  .hero-content h1 {
    font-size: clamp(2.7rem, 12.5vw, 4.6rem);
  }

  .hero-content h1 span {
    white-space: normal;
  }

  .hero-support {
    margin-top: 1.7rem;
    padding-left: 1rem;
  }

  .scroll-cue {
    display: none;
  }

  .method-section {
    padding-top: clamp(4rem, 12vw, 7rem);
  }

  .next-preview-copy h2,
  .method-copy h2 {
    font-size: clamp(2.4rem, 10.5vw, 4rem);
  }

  .content-section {
    min-height: 78svh;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-number {
    font-size: 2.4rem;
  }

  .ladder-row {
    grid-template-columns: 2.6rem minmax(0, 1fr);
  }

  .ladder-price {
    grid-column: 2;
    justify-self: start;
    margin-top: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-sequence {
    height: 100svh;
  }

  .next-preview {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }

  .scroll-cue-line {
    animation: none;
  }

  .button,
  .ladder-row {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}

/* =========================================================================
   Page effects (progressive enhancement — enabled by the `.fx` class that
   page-effects.js adds to <html>). The page is fully usable without JS, and
   stays calm under reduced motion (overrides at the very bottom).
   ========================================================================= */

/* 1. Trace rail --------------------------------------------------------- */
.trace-rail {
  position: fixed;
  left: clamp(0.5rem, 1.5vw, 1.35rem);
  top: 50%;
  z-index: 20;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  /* Invert against whatever section scrolls beneath — legible on light + dark. */
  mix-blend-mode: difference;
}

.trace-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #7a7a7a;
  text-decoration: none;
  transition: color 0.25s ease;
}

.trace-item:hover {
  color: #fff;
}

.trace-node {
  flex: none;
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.trace-num {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.trace-item.is-active {
  color: #fff;
}

.trace-item.is-active .trace-node {
  background: currentColor;
  transform: scale(1.15);
  animation: trace-blink 1.5s ease-in-out infinite;
}

@keyframes trace-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (min-width: 1180px) {
  .trace-rail { display: flex; }
}

/* 2. Headline scan reveal ---------------------------------------------- */
.fx .reveal {
  clip-path: inset(0 100% 0 0);
}

.fx .reveal.is-revealed {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s cubic-bezier(0.22, 0.68, 0.2, 1);
}

/* 4. AI-Act timeline --------------------------------------------------- */
.fx .aiact-section .timeline {
  position: relative;
  border-top-color: transparent; /* the drawn line replaces the static border */
}

.fx .aiact-section .timeline::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 0;
  background: rgb(255 255 255 / 55%);
  transition: width 1.4s ease;
}

.fx .aiact-section .timeline.is-drawn::before {
  width: 100%;
}

.fx .t-deadline .t-date {
  animation: deadline-pulse 2.6s ease-in-out infinite;
}

@keyframes deadline-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* 3. Hover micro-interactions (user-initiated; never autoplay) --------- */

/* Proof cards: an inset hairline frame draws on hover; tag + bg sharpen.
   No lift — these sit in a 1px-gap grid, so a frame reads cleaner than a shift. */
.proof-item {
  position: relative;
  transition: background-color 0.25s ease;
}

.proof-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.proof-item:hover {
  background: #fbfbfb;
}

.proof-item:hover::after {
  border-color: rgb(8 8 8 / 42%);
}

.proof-tag,
.feature-number,
.ladder-step {
  transition: color 0.22s ease;
}

.proof-item:hover .proof-tag {
  color: var(--black);
}

/* Method cards: the agent icon "activates" — a small nod + lift — on hover. */
.feature-card img {
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.feature-card:hover img {
  transform: translateY(-3px) scale(1.06) rotate(-3deg);
}

.feature-card:hover .feature-number {
  color: var(--black);
}

.feature-card-dark:hover .feature-number {
  color: var(--white);
}

/* Ladder rows: the S-step code sharpens as the row slides. */
.ladder-row:hover .ladder-step {
  color: var(--black);
}

/* Calm everything under reduced motion --------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .trace-item.is-active .trace-node {
    transform: none;
    animation: none;
  }

  .fx .reveal,
  .fx .reveal.is-revealed {
    clip-path: none;
    transition: none;
  }

  .fx .aiact-section .timeline {
    border-top-color: rgb(255 255 255 / 16%);
  }

  .fx .aiact-section .timeline::before {
    width: 0;
    transition: none;
  }

  .fx .t-deadline .t-date {
    animation: none;
  }

  .feature-card:hover img {
    transform: none;
  }
}
