/* =========================================================
   TrueOpen · homepage section redesign
   Loaded last, after motion.css. Layout and hierarchy only —
   it never adds, removes or rewrites a single word of copy.

   1 · #mechanism    a real five-step sequence on one rail
   2 · #verification one primary card, one clearly secondary
   3 · #scaling      a numbered pipeline instead of a list
   4 · #roadmap      one arrow, not a dash and an arrow
   5 · shared        stronger section openings
   ========================================================= */

:root {
  --s-ease: cubic-bezier(.16, 1, .30, 1);
  --s-rail: linear-gradient(90deg, #22cad6, #6ea8ff 26%, #ffb738 52%, #8a75ff 76%, #4fce7c);
}

/* =========================================================
   1 · How an inference task completes — one sequence, five stops
   ========================================================= */

.template-home #mechanism .hsteps { counter-reset: hstep; }

/* ---------- desktop: a horizontal rail with numbered stops ---------- */
@media (min-width: 900px) {
  .template-home #mechanism .hsteps {
    position: relative;
    margin-top: 64px;
    padding-top: 0;
    gap: 20px;
  }

  /* the track, and the coloured length that fills along it */
  .template-home #mechanism .hsteps::before,
  .template-home #mechanism .hsteps::after {
    content: "";
    position: absolute;
    top: 27px;
    left: 0;
    height: 2px;
    border-radius: 2px;
  }
  .template-home #mechanism .hsteps::before {
    right: 0;
    background: rgba(255, 255, 255, .08);
  }
  .template-home #mechanism .hsteps::after {
    width: 0;
    background: var(--s-rail);
    box-shadow: 0 0 18px rgba(34, 202, 214, .45);
    transition: width 2.4s var(--s-ease) .1s;
  }
  .template-home #mechanism .hsteps.is-in::after,
  .template-home #mechanism.is-in .hsteps::after { width: 100%; }

  /* An arrowhead at the end of the axis: the line is the direction of the
     task, not a decorative dash. */
  .template-home #mechanism .hsteps > .m-axis-tip {
    position: absolute;
    right: -3px;
    top: 21px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #4fce7c;
    border-right: 2px solid #4fce7c;
    transform: rotate(45deg) scale(0);
    transform-origin: center;
    transition: transform .5s var(--s-ease) 2.3s;
  }
  .template-home #mechanism.is-in .hsteps > .m-axis-tip,
  .template-home #mechanism .hsteps.is-in > .m-axis-tip { transform: rotate(45deg) scale(1); }

  /* the step itself is no longer a boxed tile */
  .template-home #mechanism .hsteps > li,
  .template-home #mechanism .hsteps > li:last-child {
    counter-increment: hstep;
    position: relative;
    display: block;
    min-height: 0;
    margin: 0;
    padding: 78px 0 0;
    border: 0;
    border-radius: 0;
    background: none;
    background-image: none;
  }

  /* numbered stop, sitting on the rail */
  .template-home #mechanism .hsteps > li::before {
    counter-increment: none;
    content: "0" counter(hstep);
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: #080c14;
    color: var(--step-accent, #22cad6);
    font: 600 .95rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: .04em;
    opacity: 1;
    z-index: 2;
    transition: transform .5s var(--s-ease), box-shadow .5s ease,
                border-color .5s ease, background-color .5s ease;
  }

  /* the short stem that ties the stop to its card */
  .template-home #mechanism .hsteps > li::after {
    content: "";
    position: absolute;
    top: 54px;
    left: 26px;
    width: 1px;
    height: 24px;
    background: linear-gradient(180deg, var(--step-accent, #22cad6), transparent);
    opacity: .5;
  }

  /* the card is the content block, not the list item */
  .template-home #mechanism .hsteps > li > div {
    height: 100%;
    padding: 22px 20px;
    border: 1px solid var(--hairline, rgba(255,255,255,.08));
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(18, 24, 38, .82), rgba(10, 14, 22, .82));
    transition: transform .45s var(--s-ease), border-color .45s ease,
                box-shadow .45s ease, background-color .45s ease;
  }

  /* Each stop lights in turn as the axis reaches it. */
  .template-home #mechanism .hsteps.is-in > li::before,
  .template-home #mechanism.is-in .hsteps > li::before {
    animation: s-ignite 1.1s var(--s-ease) both;
    animation-delay: calc(.35s + var(--i, 0) * .42s);
  }
  @keyframes s-ignite {
    0%   { border-color: rgba(255,255,255,.12);
           box-shadow: 0 0 0 0 rgba(255,255,255,0); }
    45%  { border-color: color-mix(in srgb, var(--step-accent, #22cad6) 85%, transparent);
           box-shadow: 0 0 0 9px color-mix(in srgb, var(--step-accent, #22cad6) 14%, transparent),
                       0 0 34px color-mix(in srgb, var(--step-accent, #22cad6) 70%, transparent);
           transform: scale(1.12); }
    100% { border-color: color-mix(in srgb, var(--step-accent, #22cad6) 42%, transparent);
           box-shadow: 0 0 18px color-mix(in srgb, var(--step-accent, #22cad6) 26%, transparent);
           transform: scale(1); }
  }

  /* the step you are reading takes the light */
  .template-home #mechanism .hsteps > li.is-active::before {
    transform: translateY(-3px) scale(1.06);
    border-color: color-mix(in srgb, var(--step-accent, #22cad6) 55%, transparent);
    background: color-mix(in srgb, var(--step-accent, #22cad6) 12%, #080c14);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--step-accent, #22cad6) 10%, transparent),
                0 0 26px color-mix(in srgb, var(--step-accent, #22cad6) 42%, transparent);
  }
  .template-home #mechanism .hsteps > li.is-active > div {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--step-accent, #22cad6) 38%, transparent);
    box-shadow: 0 26px 56px -34px rgba(0, 0, 0, .96);
  }
}

/* ---------- mobile: the same sequence, running downwards ---------- */
@media (max-width: 899px) {
  .template-home #mechanism .hsteps {
    position: relative;
    margin-top: 34px;
    padding-left: 56px;
    gap: 18px;
  }
  .template-home #mechanism .hsteps::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg,
                rgba(34,202,214,.55), rgba(138,117,255,.45), rgba(79,206,124,.25));
  }
  .template-home #mechanism .hsteps > li,
  .template-home #mechanism .hsteps > li:last-child {
    counter-increment: hstep;
    position: relative;
    margin: 0;
    padding: 18px 18px;
    border: 1px solid var(--hairline, rgba(255,255,255,.08));
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(18, 24, 38, .8), rgba(10, 14, 22, .8));
  }
  .template-home #mechanism .hsteps > li::before {
    content: "0" counter(hstep);
    position: absolute;
    top: 18px;
    left: -56px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: #080c14;
    color: var(--step-accent, #22cad6);
    font: 600 .8rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
    opacity: 1;
    z-index: 2;
  }
  .template-home #mechanism .hsteps.is-in > li::before,
  .template-home #mechanism.is-in .hsteps > li::before {
    animation: s-ignite-m 1s var(--s-ease) both;
    animation-delay: calc(.25s + var(--i, 0) * .34s);
  }
  @keyframes s-ignite-m {
    0%   { border-color: rgba(255,255,255,.14); box-shadow: none; }
    45%  { border-color: color-mix(in srgb, var(--step-accent, #22cad6) 85%, transparent);
           box-shadow: 0 0 26px color-mix(in srgb, var(--step-accent, #22cad6) 65%, transparent);
           transform: scale(1.1); }
    100% { border-color: color-mix(in srgb, var(--step-accent, #22cad6) 45%, transparent);
           box-shadow: 0 0 14px color-mix(in srgb, var(--step-accent, #22cad6) 24%, transparent);
           transform: scale(1); }
  }
  .template-home #mechanism .hsteps > li.is-active::before {
    border-color: color-mix(in srgb, var(--step-accent, #22cad6) 55%, transparent);
    box-shadow: 0 0 18px color-mix(in srgb, var(--step-accent, #22cad6) 45%, transparent);
  }
}

/* per-step accent, both orientations */
.template-home #mechanism .hsteps > li:nth-child(1) { --step-accent: #22cad6; }
.template-home #mechanism .hsteps > li:nth-child(2) { --step-accent: #6ea8ff; }
.template-home #mechanism .hsteps > li:nth-child(3) { --step-accent: #ffb738; }
.template-home #mechanism .hsteps > li:nth-child(4) { --step-accent: #8a75ff; }
.template-home #mechanism .hsteps > li:nth-child(5) { --step-accent: #4fce7c; }

/* the on-chain trace under each step reads as a trace, not a caption */
.template-home #mechanism .hsteps .chain {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, .1);
  color: var(--text-faint, #7f8b9e);
  font-size: .78rem;
  line-height: 1.7;
}
.template-home #mechanism .hsteps > li.is-active .chain {
  color: color-mix(in srgb, var(--step-accent, #22cad6) 75%, #ffffff);
  border-top-color: color-mix(in srgb, var(--step-accent, #22cad6) 26%, transparent);
}

/* =========================================================
   2 · Inference verification — one thing to look at first
   ========================================================= */

.template-home #verification .vcards { gap: 20px; }

/* the shipping mechanism is the headline card */
.template-home #verification .vcard.t-green {
  position: relative;
  padding: 28px 26px;
  border: 1px solid rgba(79, 206, 124, .34);
  border-radius: 18px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(79, 206, 124, .12), transparent 58%),
    linear-gradient(160deg, rgba(16, 26, 22, .92), rgba(9, 13, 19, .94));
  box-shadow: 0 30px 70px -46px rgba(79, 206, 124, .55);
}
.template-home #verification .vcard.t-green h3 {
  font-size: 1.42rem;
  line-height: 1.4;
}
.template-home #verification .vcard.t-green > p:first-of-type {
  color: #e4edf6;
  font-size: 1rem;
}

/* a live marker, so "this is what runs today" is legible at a glance */
.template-home #verification .vcard.t-green::after {
  content: "";
  position: absolute;
  top: 30px;
  right: 26px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4fce7c;
  box-shadow: 0 0 0 0 rgba(79, 206, 124, .6);
  opacity: 1;
  z-index: 2;
  animation: s-pulse 2.6s var(--s-ease) infinite;
}
@keyframes s-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(79, 206, 124, .55); }
  70%  { box-shadow: 0 0 0 11px rgba(79, 206, 124, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 206, 124, 0); }
}

/* the next version is deliberately quieter */
.template-home #verification .vcard.t-violet {
  padding: 24px 26px;
  border: 1px dashed rgba(138, 117, 255, .3);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(14, 16, 30, .7), rgba(9, 11, 19, .7));
  box-shadow: none;
}
.template-home #verification .vcard.t-violet h3 {
  font-size: 1.08rem;
  color: #cfc6ff;
}
.template-home #verification .vcard.t-violet p { font-size: .9rem; }

/* both cards open with their pipeline, styled as a pipeline */
.template-home #verification .evidence-code {
  display: block;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  font-size: .78rem;
  letter-spacing: .01em;
  width: max-content;
  max-width: 100%;
}
.template-home #verification .vcard.t-green .evidence-code {
  border-color: rgba(79, 206, 124, .28);
  background: rgba(79, 206, 124, .07);
}

/* the caveat line is a caveat, not another paragraph */
.template-home #verification .verification-lead > p:last-of-type {
  display: inline-block;
  margin-top: 6px;
  padding: 8px 14px;
  border-left: 2px solid rgba(255, 183, 56, .6);
  background: rgba(255, 183, 56, .06);
  color: #f0d9ac;
  font-size: .9rem;
}

/* =========================================================
   3 · Data has a commitment, storage has an owner — a pipeline
   ========================================================= */

.template-home #scaling .da-publish-list {
  position: relative;
  counter-reset: dastep;
  gap: 0;
  padding-left: 0;
}

/* the rail the four stages hang from */
.template-home #scaling .da-publish-list::before {
  content: "";
  position: absolute;
  left: 41px;
  top: 26px;
  bottom: 26px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg,
              rgba(34, 202, 214, .6), rgba(110, 168, 255, .5),
              rgba(138, 117, 255, .45), rgba(79, 206, 124, .3));
}

.template-home #scaling .da-publish-list > li {
  counter-increment: dastep;
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  margin: 0;
  padding: 18px 18px 18px 0;
  border: 0;
  border-radius: 0;
  background: none;
  transition: transform .4s var(--s-ease);
}
.template-home #scaling .da-publish-list > li + li {
  border-top: 1px solid rgba(255, 255, 255, .06);
}

/* the stage tag becomes the node on the rail */
.template-home #scaling .da-publish-list .stag {
  position: relative;
  z-index: 1;
  font-size: .74rem;
  display: grid;
  place-items: center;
  width: 84px;
  min-width: 0;
  height: 52px;
  margin: 0;
  padding: 0 8px;
  border-radius: 14px;
  text-align: center;
  overflow-wrap: anywhere;
  line-height: 1.25;
  border: 1px solid rgba(255, 255, 255, .13);
  background: #080c14;
  color: var(--da-accent, #22cad6);
  font-size: .8rem;
  letter-spacing: .04em;
  transition: transform .45s var(--s-ease), border-color .45s ease, box-shadow .45s ease;
}
/* the running number, so the four stages read as an order */
.template-home #scaling .da-publish-list > li::before {
  content: none;
  position: absolute;
  left: 74px;
  top: 16px;
  z-index: 2;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--da-accent, #22cad6);
  color: #05070d;
  font: 600 .62rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.template-home #scaling .da-publish-list > li:nth-child(1) { --da-accent: #22cad6; }
.template-home #scaling .da-publish-list > li:nth-child(2) { --da-accent: #6ea8ff; }
.template-home #scaling .da-publish-list > li:nth-child(3) { --da-accent: #8a75ff; }
.template-home #scaling .da-publish-list > li:nth-child(4) { --da-accent: #4fce7c; }

@media (hover: hover) and (pointer: fine) {
  .template-home #scaling .da-publish-list > li:hover { transform: translateX(4px); }
  .template-home #scaling .da-publish-list > li:hover .stag {
    transform: scale(1.06);
    border-color: color-mix(in srgb, var(--da-accent, #22cad6) 55%, transparent);
    box-shadow: 0 0 24px color-mix(in srgb, var(--da-accent, #22cad6) 40%, transparent);
  }
}

.template-home #scaling .da-publish-list h3 { font-size: 1.08rem; margin-bottom: 6px; }

/* the two side notes stop competing with the pipeline.
   The colleague's two-column arrangement is kept; only the surface changes,
   matching his selector depth so these rules actually win. */
.template-home #scaling .scaling-copy .da-home-notes { gap: 14px; }
.template-home #scaling .scaling-copy .da-home-notes a {
  display: block;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  background: rgba(255, 255, 255, .015);
  text-wrap: pretty;
  transition: border-color .35s ease, background-color .35s ease, transform .35s var(--s-ease);
}
.template-home #scaling .scaling-copy .da-home-notes a:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 202, 214, .34);
  background: rgba(34, 202, 214, .05);
}

@media (max-width: 620px) {
  .template-home #scaling .da-publish-list > li { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .template-home #scaling .da-publish-list .stag { width: 68px; height: 46px; border-radius: 12px; font-size: .68rem; }
  .template-home #scaling .da-publish-list::before { left: 33px; }
  .template-home #scaling .da-publish-list > li::before { left: 58px; top: 14px; }
}

/* =========================================================
   4 · Roadmap — one arrow
   The markup carries a rule and a glyph; drawn separately they read
   as two marks ("—" then "→"). Join them into a single arrow.
   ========================================================= */

.roadmap-arrow {
  position: relative;
  grid-template-columns: 1fr;
  align-items: center;
}
.roadmap-arrow i {
  position: relative;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(79, 206, 124, .15), rgba(138, 117, 255, .85));
}
/* the head is part of the shaft, drawn at its tip */
.roadmap-arrow i::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid rgba(138, 117, 255, .95);
  border-right: 2px solid rgba(138, 117, 255, .95);
  transform: translateY(-50%) rotate(45deg);
  transform-origin: center;
}
/* a light travels the shaft, so the hand-off reads as a direction */
.roadmap-arrow i::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 26px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, #a9b6ff, transparent);
  animation: s-travel 3.4s var(--s-ease) infinite;
}
@keyframes s-travel {
  0%        { transform: translateX(-26px); opacity: 0; }
  22%, 72%  { opacity: 1; }
  100%      { transform: translateX(calc(100% + 26px)); opacity: 0; }
}
/* the standalone glyph is what made it look duplicated */
.roadmap-arrow b { display: none; }

@media (max-width: 899px) {
  .roadmap-arrow { grid-template-columns: 2px; }
  .roadmap-arrow i {
    width: 2px;
    height: 52px;
    background: linear-gradient(180deg, rgba(79, 206, 124, .15), rgba(138, 117, 255, .85));
  }
  .roadmap-arrow i::after {
    right: auto;
    top: auto;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }
  .roadmap-arrow i::before {
    top: 0;
    left: -1px;
    width: 4px;
    height: 26px;
    background: linear-gradient(180deg, transparent, #a9b6ff, transparent);
    animation-name: s-travel-y;
  }
  @keyframes s-travel-y {
    0%        { transform: translateY(-26px); opacity: 0; }
    22%, 72%  { opacity: 1; }
    100%      { transform: translateY(calc(52px + 26px)); opacity: 0; }
  }
}

/* =========================================================
   5 · Shared — section openings carry more weight
   ========================================================= */

.template-home .sec .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .74rem;
}
.template-home .sec .kicker-tick {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

@media (prefers-reduced-motion: reduce) {
  .template-home #mechanism .hsteps::after { transition: none; width: 100%; }
  .template-home #verification .vcard.t-green::before,
  .roadmap-arrow i::before { animation: none; }
  .template-home #scaling .da-publish-list > li:hover { transform: none; }
}

/* =========================================================
   6 · Capability grid — the accent classes in the markup were
   never given colour, so five identical grey tiles read as a list.
   ========================================================= */

.template-home #capabilities .bento-cell.cell-cyan   { --cell: 34, 202, 214; }
.template-home #capabilities .bento-cell.cell-violet { --cell: 138, 117, 255; }
.template-home #capabilities .bento-cell.cell-green  { --cell: 79, 206, 124; }
.template-home #capabilities .bento-cell.cell-amber  { --cell: 255, 183, 56; }

.template-home #capabilities .bento-cell {
  position: relative;
  overflow: hidden;
  border-top: 2px solid rgba(var(--cell, 34,202,214), .55);
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(var(--cell, 34,202,214), .1), transparent 55%),
    linear-gradient(160deg, rgba(17, 22, 34, .86), rgba(9, 12, 20, .9));
  transition: transform .45s var(--s-ease), border-color .45s ease, box-shadow .45s ease;
}

/* a colour tick in front of each capability title */
.template-home #capabilities .bento-cell h3 {
  display: flex;
  align-items: baseline;
  gap: 11px;
}
.template-home #capabilities .bento-cell h3::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: rgb(var(--cell, 34,202,214));
  box-shadow: 0 0 12px rgba(var(--cell, 34,202,214), .8);
  transform: translateY(-2px) rotate(45deg);
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .template-home #capabilities .bento-cell:hover {
    transform: translateY(-5px);
    border-top-color: rgb(var(--cell, 34,202,214));
    box-shadow: 0 30px 64px -38px rgba(var(--cell, 34,202,214), .5),
                0 0 0 1px rgba(var(--cell, 34,202,214), .2);
  }
}

/* =========================================================
   7 · Economics — a whole screen for one paragraph read as an
   empty slide. Tighten it, and give the band a quiet flow motif.
   ========================================================= */

.template-home #economics { padding-block: clamp(64px, 8vh, 96px); }

.template-home #economics .economics-copy {
  position: relative;
  padding-bottom: 46px;
}
/* Ornamental only — three stops on a line, carrying no label or claim. */
.template-home #economics .economics-copy::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background:
    radial-gradient(circle at 6% 50%,   #22cad6 0 4px, transparent 5px),
    radial-gradient(circle at 50% 50%,  #4fce7c 0 4px, transparent 5px),
    radial-gradient(circle at 94% 50%,  #8a75ff 0 4px, transparent 5px),
    linear-gradient(90deg, rgba(34,202,214,.4), rgba(79,206,124,.4), rgba(138,117,255,.4));
  opacity: .85;
}
.template-home #economics .economics-copy::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 34px;
  height: 8px;
  border-radius: 8px;
  background: radial-gradient(circle, rgba(255,255,255,.85), transparent 70%);
  animation: s-flow 6s var(--s-ease) infinite;
  pointer-events: none;
}
@keyframes s-flow {
  0%       { transform: translateX(0);              opacity: 0; }
  12%, 88% { opacity: .9; }
  100%     { transform: translateX(calc(100vw - 0px)); opacity: 0; }
}
@media (min-width: 900px) {
  @keyframes s-flow {
    0%       { transform: translateX(0);    opacity: 0; }
    12%, 88% { opacity: .9; }
    100%     { transform: translateX(1100px); opacity: 0; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .template-home #economics .economics-copy::before { animation: none; opacity: 0; }
  .template-home #capabilities .bento-cell:hover { transform: none; }
}

/* A light runs the length of the axis, so the line reads as the direction of
   travel between the five stops rather than an unexplained dash. */
@media (min-width: 900px) {
  .template-home #mechanism .hsteps { --axis-top: 27px; }
  .template-home #mechanism .m-axis-pulse {
    position: absolute;
    top: var(--axis-top, 27px);
    left: 0;
    width: 78px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
  }
  .template-home #mechanism .hsteps.is-in .m-axis-pulse,
  .template-home #mechanism.is-in .m-axis-pulse {
    animation: s-axis 4.6s var(--s-ease) 2.4s infinite;
  }
  @keyframes s-axis {
    0%       { transform: translateX(-78px); opacity: 0; }
    12%, 78% { opacity: .85; }
    100%     { transform: translateX(calc(100% + 78px)); opacity: 0; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .template-home #mechanism .hsteps > li::before { animation: none !important; }
  .template-home #mechanism .m-axis-pulse { display: none; }
  .template-home #mechanism .hsteps > .m-axis-tip { transform: rotate(45deg) scale(1); transition: none; }
}

/* Keep the path markers but remove the 01–05 labels. */
.template-home #mechanism .hsteps > li::before {
  content: "" !important;
  width: 12px;
  height: 12px;
  top: 21px;
  left: 21px;
  border: 0;
  border-radius: 50%;
  background: var(--step-accent, #22cad6);
}
@media (min-width: 900px) {
  .template-home #mechanism .hsteps > li,
  .template-home #mechanism .hsteps > li:last-child { padding-top: 60px; }
  .template-home #mechanism .hsteps > li::after { top: 33px; height: 27px; }
}
@media (max-width: 899px) {
  .template-home #mechanism .hsteps { padding-left: 38px; }
  .template-home #mechanism .hsteps > li::before { top: 30px; left: -25px; }
}

/* =========================================================
   8 · Section scale — matching the 20260907 build's composure

   Measured against that build at 1440px, the differences were:
     · h2            60.5px everywhere  →  41.6 / 50.4 / 37.4px here
     · section pad   136px top & bottom, uniform  →  28…112px, erratic
     · dividers      none  →  a hairline above every section
     · min-height    none  →  100svh on two sections, with 54px padding,
                              so the type floated in a tall empty frame
   Body copy and kickers were already the same size, and motion was not
   the cause. What follows restores the three that were.
   ========================================================= */

/* --- one generous, uniform rhythm for every band ------------------------ */
.template-home .sec,
.template-home .careers-overview {
  padding-block: clamp(84px, 9.4vw, 136px);
  border-top: 0;
}

/* Two sections were pinned to the viewport and then padded tightly, which is
   what made them feel empty rather than grand. Let them size to content. */
@media (min-width: 900px) {
  .template-home #capabilities,
  .template-home #mechanism {
    min-height: 0;
    display: block;
    padding-block: clamp(84px, 9.4vw, 136px);
  }
  .template-home #verification,
  .template-home #scaling,
  .template-home #papers,
  .template-home #roadmap,
  .template-home #economics {
    padding-block: clamp(84px, 9.4vw, 136px);
  }
}

/* --- headline scale ----------------------------------------------------- */
.template-home .sec h2,
.template-home .home-heading h2,
.template-home .capabilities-intro h2,
.template-home .section-heading h2,
.template-home .verification-lead h2,
.template-home .scaling-copy h2,
.template-home .careers-overview h2 {
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  line-height: 1.07;
  letter-spacing: -.028em;
}

/* the section opener gets room to breathe under the heading */
.template-home .sec .kicker { margin-bottom: 18px; }
.template-home .home-heading > p:not(.kicker),
.template-home .verification-lead > p:not(.kicker),
.template-home .scaling-copy > p:not(.kicker) {
  margin-top: 26px;
  font-size: 1.02rem;
  line-height: 1.85;
}

/* the accent rule under a heading scales with the bigger type */
.template-home .sec > .wrap h2::after,
.template-home .careers-overview h2::after { margin-top: 1.1rem; }

/* the grids sit further from their heading, as they did in that build */
.template-home #capabilities .bento { margin-top: 56px; }
.template-home #papers .paper-preview { margin-top: 48px; }

@media (max-width: 899px) {
  .template-home .sec,
  .template-home .careers-overview { padding-block: clamp(64px, 11vw, 92px); }
  .template-home .sec h2,
  .template-home .careers-overview h2 { font-size: clamp(1.95rem, 7.4vw, 2.7rem); }
}

/* Three sections carry their own id-level heading rule inside a media query
   (template-bridge.css 332 / 356 / 375, all clamp(1.8rem,3vw,2.6rem)); match
   that depth so the whole page speaks at one size. */
@media (min-width: 900px) {
  .template-home #capabilities h2,
  .template-home #mechanism h2,
  .template-home #scaling h2,
  .template-home #verification h2,
  .template-home #papers h2,
  .template-home #roadmap h2,
  .template-home #economics h2 {
    font-size: clamp(2.3rem, 4.4vw, 3.8rem);
    line-height: 1.07;
    letter-spacing: -.028em;
  }
  /* the Chinese headings must still break between clauses, not mid-word */
  .template-home #mechanism h2 { word-break: keep-all; overflow-wrap: normal; }
}

/* =========================================================
   9 · A taller, fuller first screen

   Measured against 20260907 at 1600x900: its wordmark is 176px and the
   copy block fills ~450px of an 882px hero. Ours was 144px filling ~320px
   of 900px — the same height, but the content floated in it, which is what
   read as cramped rather than grand.
   ========================================================= */
@media (min-width: 901px) {
  .template-home .hero {
    min-height: max(100svh, 860px);
    padding-block: 140px 110px;
  }
  .template-home .hero h1.wordmark,
  .template-home .hero h1 {
    font-size: clamp(6.2rem, 11.2vw, 11rem);
    line-height: .86;
  }
  .template-home .hero-statement {
    max-width: 900px;
    font-size: clamp(1.32rem, 1.78vw, 1.78rem);
    gap: 12px 26px;
    margin-top: 34px;
  }
  .template-home .hero-actions { margin-top: 40px; gap: 14px; }
  .template-home .hero-actions .button { padding: 13px 20px; font-size: .95rem; }
}
@media (min-width: 901px) and (max-height: 780px) {
  /* on a short laptop screen, keep the whole block on one screen */
  .template-home .hero { padding-block: 116px 84px; }
  .template-home .hero h1.wordmark,
  .template-home .hero h1 { font-size: clamp(5rem, 9vw, 8.4rem); }
}
