:root {
      --base: #F2EFF0;
      --surface-hero: #F2EFF0;
      --surface-dark: #0F172A;
      --surface-white: #FFFFFF;
      --sec-pad: clamp(72px, 10vw, 128px);
      --surface: #FFFFFF;
      --sub: #F3F6FA;
      --line: #D3DBE5;
      --line2: #BFCAD9;
      --ink: #0F172A;
      --mute: #58687F;
      --faint: #8494A9;
      --cyan: #2FB7DA;
      --steel: #2C4F7C;
      --display: 'Montserrat', system-ui, sans-serif;
      --body: 'IBM Plex Sans', system-ui, sans-serif;
      --mono: 'IBM Plex Mono', ui-monospace, monospace;
      --pad: clamp(20px, 5vw, 72px);
      --r: 14px;
    }

    * {
      box-sizing: border-box
    }

    html {
      scroll-behavior: smooth
    }

    body {
      margin: 0;
      background: var(--surface-hero);
      color: var(--ink);
      font-family: var(--body);
      font-size: 17px;
      line-height: 1.62;
      -webkit-font-smoothing: antialiased
    }

    .wrap {
      max-width: 1440px;
      margin: 0 auto;
      padding: 0 var(--pad)
    }

    h1,
    h2,
    h3 {
      font-family: var(--display);
      font-weight: 600;
      letter-spacing: -.028em;
      line-height: 1.06;
      margin: 0
    }

    p {
      margin: 0
    }

    a {
      color: inherit
    }

    [id] {
      scroll-margin-top: 90px
    }

    .eyebrow {
      font-family: var(--mono);
      font-size: 11.5px;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--faint);
      margin: 0 0 20px
    }

    .lead {
      color: var(--mute);
      font-size: 19px;
      max-width: 48ch
    }

    header {
      position: sticky;
      top: 0;
      z-index: 60;
      background: rgba(242, 239, 240, .86);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--line);
      transition: background .3s
    }

    header.stuck {
      background: rgba(242, 239, 240, .97)
    }

    .bar {
      display: flex;
      align-items: center;
      gap: 34px;
      height: 82px
    }

    .mark {
      display: flex;
      align-items: center;
      gap: 11px;
      text-decoration: none;
      font-family: var(--display);
      font-weight: 600;
      letter-spacing: .11em;
      font-size: 15px
    }

    .nav {
      display: flex;
      gap: 26px;
      margin-left: auto;
      font-size: 15px
    }

    .nav a {
      text-decoration: none;
      color: var(--mute);
      position: relative
    }

    .nav a.active {
      color: var(--ink)
    }

    .nav a.active::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -9px;
      height: 2px;
      background: var(--cyan)
    }

    .nav a:hover {
      color: var(--ink)
    }

    .btn {
      display: inline-flex;
      align-items: center;
      font-family: var(--body);
      font-weight: 500;
      font-size: 15px;
      padding: 12px 24px;
      border-radius: 0;
      text-decoration: none;
      border: 1px solid transparent;
      cursor: pointer;
      transition: transform .18s, background .18s, border-color .18s, color .18s
    }

    .btn-primary {
      background: var(--ink);
      color: #fff
    }

    .btn-primary:hover {
      background: var(--steel)
    }

    .btn-ghost {
      border-color: var(--line2);
      color: var(--ink)
    }

    .btn-ghost:hover {
      border-color: var(--ink);
      transform: translateY(-1px)
    }

    .btn-onink {
      background: #fff;
      color: var(--ink)
    }

    .btn-onink:hover {}

    /* HERO — two columns mirroring the home hero (text left, screenshot right) */
    .p-hero {
      padding-top: clamp(48px, 7vw, 92px);
      padding-bottom: clamp(76px, 8vw, 116px)
    }

    .p-hero-in {
      display: grid;
      grid-template-columns: 1fr 1.18fr;
      gap: clamp(32px, 5vw, 72px);
      align-items: center
    }

    .p-hero-copy {
      max-width: 600px
    }

    .p-hero h1 {
      font-size: clamp(34px, 4.7vw, 58px);
      letter-spacing: -.04em
    }

    .p-hero .lead {
      margin: 20px 0 0;
      font-size: clamp(16px, 1.8vw, 19px);
      max-width: 60ch
    }

    .cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 30px
    }

    /* placeholder frames — same identity as the home page (white card + dashed hatch + chip);
     the hero shot is wider, using the full column width. */
    .p-hero-media {
      position: relative;
      margin-top: -20px
    }

    .p-shot {
      position: relative;
      aspect-ratio: 16/10.4;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 44px 84px -42px rgba(15, 23, 42, .52)
    }

    .ph {
      width: 100%;
      height: 100%;
      border: 1px dashed var(--line2);
      border-radius: 8px;
      background: repeating-linear-gradient(-45deg, var(--sub) 0 10px, transparent 10px 20px);
      display: flex;
      align-items: center;
      justify-content: center
    }

    .ph span,
    .shot span {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--faint);
      background: var(--surface);
      padding: 6px 12px;
      border: 1px solid var(--line)
    }

    /* real screenshots replacing the placeholders */
    .p-shot>img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block
    }

    /* M1 hero: zoom in inside the 16:10.4 frame. Negative translate with a left/top
       origin, like the index teasers: it pans further right/down across the image
       without ever uncovering the top-left corner. */
    .p-shot>img.p-hero-img--zoom {
      transform-origin: left top;
      transform: translate(-120%, 0%) scale(2.2)
    }

    /* three-things frames: same rounded card + drop shadow as the home "why" differentiators */
    .shot.has-img {
      border-style: solid;
      border-color: var(--line);
      border-radius: var(--r);
      padding: 0;
      overflow: hidden;
      background: var(--surface);
      box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 44px -32px rgba(15, 23, 42, .35)
    }

    .shot.has-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block
    }

    /* M3 (volcano detail): zoom + shift up so the frame holds just the chart + table,
     cropping the app bar / breadcrumb above and the whitespace below. Same crop as
     the index M3 differentiator row. */
    .shot.has-img img.shot-img--favor {
      object-position: center top;
      transform: translateX(30px) scale(1.4) translateY(-11%)
    }

    /* M6 (provenance graph): zoom in inside the 16:9 frame. */
    .shot.has-img img.shot-img--zoom {
      transform: translateY(20%) scale(2.1)
    }

    /* M1 (the context): zoom in inside the 16:9 frame. */
    .shot.has-img img.shot-img--zoom15 {
      transform: translate(-80%, 100%) scale(3.2)
    }

    /* Pan the 16:9 frame across the image like a viewport. object-position (not
     transform) so the image keeps filling the frame and never exposes what is
     behind it. Default is "center top" = 50% 0%.
     M14 and M13: anchor to the left edge so the start of the document is in frame. */
    .shot.has-img img.shot-img--start {
      object-position: left top;
      transform: translate(0%, 0%) scale(1)
    }

    /* M13 (quality attestation): left-anchored, zoomed and shifted up. */
    .shot.has-img img.shot-img--m13 {
      object-position: left top;
      transform: translate(32%, 18%) scale(1.6)
    }

    /* M18 (why that threshold): the master is 2.58:1 against this 16:9 frame and
       carries a wide white margin of its own, so `contain` left the panel small and
       floating. Keep `cover` (fills the frame) and zoom past that internal padding. */
    .shot.has-img img.shot-img--center {
      object-position: center center;
      transform: translate(40%, 10%) scale(2.25)
    }

    /* M11 (what each column actually is): same treatment as M18. */
    .shot.has-img img.shot-img--m11 {
      object-position: center center;
      transform: translate(80%, 92%) scale(3.2)
    }

    /* M15 (the statistical record): zoom and shift left/up. */
    .shot.has-img img.shot-img--m15 {
      transform: translate(0%, 40%) scale(2.5)
    }

    /* What it works with — three sub-blocks (small heading one step down from the H2) */
    .works {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 64px
    }

    .works>div {
      border-top: 1px solid var(--line2);
      padding-top: 24px
    }

    .works h3 {
      font-size: 21px;
      margin: 0
    }

    .works p {
      margin-top: 16px;
      color: var(--mute);
      font-size: 15.5px
    }

    /* Deployment strip — its own full-width band on white so it reads as a distinct
     component. The screenshots section keeps its full var(--sec-pad) bottom padding
     so the grey→white boundary falls in clear space, well below the captions; the
     strip's top padding is halved so its rules start just below the boundary (no
     void), and it keeps full var(--sec-pad) on the bottom before the dark band. */
    .deploy-strip {
      background: var(--surface-white);
      padding: var(--sec-pad) 0
    }

    .deploy {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: clamp(16px, 2vw, 32px)
    }

    .deploy>div {
      border-top: 1px solid var(--line2);
      padding-top: 20px
    }

    .deploy h4 {
      font-family: var(--mono);
      font-size: 10.5px;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--faint);
      margin: 0;
      font-weight: 400
    }

    .deploy p {
      margin-top: 12px;
      font-size: 15px;
      line-height: 1.5
    }

    /* Closing band — matches the home closing band exactly */
    .band {
      text-align: center;
      padding: var(--sec-pad) 0 clamp(48px, 6vw, 72px)
    }

    .band h2 {
      font-size: clamp(29px, 4.6vw, 56px);
      letter-spacing: -.035em;
      max-width: 22ch;
      margin: 0 auto
    }

    .band p {
      margin: 24px auto 0;
      color: rgba(255, 255, 255, .7);
      max-width: 54ch;
      font-size: 17.5px
    }

    .band .cta-row {
      justify-content: center;
      margin-top: 32px
    }

    /* Closing-band footnote — identical to the home page */
    .band .band-meta {
      font-family: var(--body);
      font-size: 13px;
      color: #94A3B8;
      margin-top: 40px;
      line-height: 1.6;
      white-space: nowrap;
      max-width: none
    }

    .band-meta span:not(:last-child)::after {
      content: "·";
      margin: 0 12px;
      color: #94A3B8
    }

    /* Major section rhythm: uniform 72/128 padding, section-scale left-aligned H2,
     48px gap from the heading block to the first row of content. */
    section {
      padding: var(--sec-pad) 0
    }

    /* No width cap on the heading block: section H2s set on one line (the leads
     keep their own .lead max-width for measure). */
    .sec-head {
      margin-bottom: 48px
    }

    .sec-head h2 {
      font-size: clamp(29px, 4vw, 50px)
    }

    .sec-head p {
      margin-top: 20px
    }

    .steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: clamp(16px, 2vw, 30px)
    }

    /* How it works — the S3 flow: a full-width illustration (placeholder until S3
     is made) above a six-node caption grid (two rows of three). */
    .flow-shot {
      aspect-ratio: 2.4/1;
      border-radius: var(--r);
      overflow: hidden;
      margin-bottom: clamp(32px, 4.5vw, 60px);
      box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 22px 50px -34px rgba(15, 23, 42, .35)
    }

    .flow-shot>img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block
    }

    .flow-nodes {
      gap: clamp(20px, 2.6vw, 40px) clamp(16px, 2.4vw, 40px)
    }

    /* S3 animated flow (replaces the illustration placeholder). Colour vars scoped
     here; svg/text scoped so the header logo <svg> is untouched. The diagram's bar
     rects use .s3bar (not .bar) to avoid the header nav's .bar rule. */
    .s3flow {
      --axiome: #0B1F3B;
      --graphite: #0F172A;
      --off: #F7F9FC;
      --gray: #D6DCE6;
      max-width: 100%;
      margin: 0 0 clamp(32px, 4.5vw, 60px)
    }

    .s3flow svg {
      display: block;
      width: 100%;
      height: auto;
      overflow: visible;
      padding-bottom: 8px
    }

    .s3flow text {
      font-family: var(--display)
    }

    .s3flow .cap {
      cursor: pointer
    }

    .s3flow .cap text {
      font-size: 32px;
      font-weight: 600;
      fill: var(--axiome)
    }

    .s3flow .cap .n {
      font-size: 20px;
      font-weight: 600;
      fill: var(--steel);
      letter-spacing: .18em
    }

    .s3flow .cap rect.s3bar {
      fill: var(--axiome)
    }

    .s3flow .cap:hover text:not(.n) {
      fill: var(--steel)
    }

    /* The flow section already closes on a text grid, so it does not need a full
     section-pad below it before "What's in it". */
    #flow {
      padding-bottom: clamp(24px, 3vw, 40px)
    }

    .caps-grid {
      grid-template-columns: repeat(2, 1fr)
    }

    .caps-grid .full {
      grid-column: 1/-1
    }

    .step {
      border-top: 1px solid var(--line2);
      padding-top: 22px
    }

    .step .n {
      font-family: var(--mono);
      font-size: 11.5px;
      letter-spacing: .16em;
      color: var(--cyan)
    }

    .step h3 {
      font-size: 21px;
      margin: 14px 0 12px
    }

    .step p {
      color: var(--mute);
      font-size: 15.5px
    }

    .shots {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: clamp(20px, 2.6vw, 34px)
    }

    .shot {
      aspect-ratio: 16/9;
      border: 1px dashed var(--line2);
      border-radius: 4px;
      background: repeating-linear-gradient(-45deg, var(--sub) 0 10px, transparent 10px 20px);
      display: flex;
      align-items: center;
      justify-content: center
    }

    .shot-cap {
      margin-top: 14px
    }

    .shot-cap .t {
      font-family: var(--mono);
      font-size: 11.5px;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--steel)
    }

    .shot-cap .d {
      margin-top: 6px;
      color: var(--mute);
      font-size: 14.5px
    }

    .why {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: clamp(20px, 2.6vw, 40px)
    }

    .why>div {
      border-top: 1px solid var(--line2);
      padding-top: 24px
    }

    .tagline {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--faint)
    }

    .prob {
      font-family: var(--display);
      font-weight: 500;
      font-size: clamp(18px, 2vw, 23px);
      line-height: 1.34;
      letter-spacing: -.018em;
      margin-top: 15px
    }

    .gain {
      margin-top: 15px;
      color: var(--mute);
      font-size: 15.5px
    }

    .ink {
      background: var(--surface-dark);
      color: #fff
    }

    .ink .lead,
    .ink .gain,
    .ink .sec-head p {
      color: rgba(255, 255, 255, .66)
    }

    .ink .eyebrow,
    .ink .tagline {
      color: var(--cyan)
    }

    .two {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: clamp(20px, 2.6vw, 44px)
    }

    .two>div {
      border-top: 1px solid var(--line2);
      padding-top: 24px
    }

    .ink .two>div {
      border-top-color: rgba(255, 255, 255, .18)
    }

    .ink .prob {
      color: #fff
    }

    .spec {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: clamp(16px, 2vw, 32px)
    }

    .spec>div {
      border-top: 1px solid var(--line2);
      padding-top: 20px
    }

    .spec h4 {
      font-family: var(--mono);
      font-size: 10.5px;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--faint);
      margin: 0;
      font-weight: 400
    }

    .spec p {
      margin-top: 12px;
      font-size: 15px;
      line-height: 1.5
    }

    .quote-block {
      border-top: 1px solid var(--line2);
      padding-top: 24px;
      margin-top: clamp(24px, 3vw, 40px)
    }

    .quote-block q {
      font-family: var(--display);
      font-weight: 500;
      font-size: clamp(19px, 2.2vw, 26px);
      line-height: 1.4;
      letter-spacing: -.018em
    }

    .reveal {
      opacity: 0;
      transform: translateY(16px)
    }

    .reveal.in {
      opacity: 1;
      transform: none;
      transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .3, 1)
    }

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

    footer {
      background: var(--surface-dark);
      color: rgba(255, 255, 255, .6);
      border-top: 1px solid rgba(255, 255, 255, .12);
      padding: clamp(46px, 5.5vw, 76px) 0 42px;
      font-size: 14.5px
    }

    .f-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr;
      gap: 36px
    }

    footer h5 {
      font-family: var(--mono);
      font-size: 10.5px;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, .34);
      margin: 0 0 16px;
      font-weight: 400
    }

    footer ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 10px
    }

    footer a {
      text-decoration: none
    }

    footer a:hover {
      color: #fff
    }

    .f-mark {
      display: flex;
      align-items: center;
      gap: 11px;
      font-family: var(--display);
      font-weight: 600;
      letter-spacing: .11em;
      font-size: 15px;
      color: #fff
    }

    .f-legal {
      margin-top: 50px;
      padding-top: 26px;
      border-top: 1px solid rgba(255, 255, 255, .12);
      font-family: var(--mono);
      font-size: 11.5px;
      color: rgba(255, 255, 255, .34);
      line-height: 2.1
    }

    @media (max-width:640px) {
      .band .band-meta {
        white-space: normal;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        line-height: 1.5
      }

      .band-meta span:not(:last-child)::after {
        content: none
      }
    }

    @media (max-width:900px) {

      .steps,
      .why,
      .two,
      .shots,
      .works,
      .deploy {
        grid-template-columns: 1fr
      }

      .works {
        gap: 40px
      }

      .p-hero-in {
        grid-template-columns: 1fr;
        gap: clamp(28px, 6vw, 40px)
      }

      .nav {
        display: none
      }

      .f-grid {
        grid-template-columns: 1fr 1fr
      }
    }

    @media (max-width:560px) {
      body {
        font-size: 16px
      }

      .f-grid {
        grid-template-columns: 1fr
      }
    }

    @media (prefers-reduced-motion:reduce) {
      * {
        animation: none !important;
        transition: none !important
      }

      .reveal {
        opacity: 1;
        transform: none
      }

      html {
        scroll-behavior: auto
      }
    }

    /* Generic image lightbox — any <img class="zoomable"> opens a full-view overlay
     (capped at the viewport AND the image's natural size). Backdrop / ✕ / Esc closes. */
    .zoomable {
      cursor: zoom-in
    }

    .lb {
      position: fixed;
      inset: 0;
      z-index: 200;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: rgba(15, 23, 42, .86);
      opacity: 0;
      transition: opacity .2s ease
    }

    .lb[hidden] {
      display: none
    }

    .lb.open {
      opacity: 1
    }

    .lb img {
      display: block;
      max-width: min(95vw, 100%);
      max-height: 92vh;
      width: auto;
      height: auto;
      border-radius: 8px;
      box-shadow: 0 30px 90px -20px rgba(0, 0, 0, .65);
      cursor: default
    }

    .lb-close {
      position: absolute;
      top: 18px;
      right: 18px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 0;
      background: rgba(255, 255, 255, .14);
      color: #fff;
      font-size: 22px;
      line-height: 1;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background .15s
    }

    .lb-close:hover {
      background: rgba(255, 255, 255, .26)
    }

    .lb-close:focus-visible {
      outline: 2px solid #fff;
      outline-offset: 3px
    }

    @media (prefers-reduced-motion:reduce) {
      .lb {
        transition: none
      }
    }
