@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/*
  Palette: the four brand colours only (brand/final-knot/BRAND.md).
  --surface is the one derived token: Mist (#8A93A8) at about 9% on White,
  used for quiet panels. Contrast on White / Surface:
  Night 19.8 / 18.1, Slate 5.9 / 5.4, Mist 3.1 (large text and strokes only).
  On Night: White 19.8, Mist 6.4.
*/
:root {
  color-scheme: light;
  --night: #070A14;
  --slate: #5B6478;
  --mist: #8A93A8;
  --white: #FFFFFF;
  --surface: #F4F5F8;
  --line: rgb(7 10 20 / .09);
  --line-strong: rgb(7 10 20 / .16);
  --line-dark: rgb(255 255 255 / .12);
  --wrap: 1120px;
  --gutter: 24px;
  --section-y: 128px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 640px) { :root { --gutter: 16px; --section-y: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--white); color: var(--night);
  font: 400 1.0625rem/1.65 "Geist", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--night); color: var(--white); }
.band ::selection { background: var(--white); color: var(--night); }
:focus-visible { outline: 2px solid var(--night); outline-offset: 3px; border-radius: 6px; }
.band :focus-visible { outline-color: var(--white); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 4.6vw + .6rem, 4.5rem); line-height: 1.02; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.85rem, 2vw + 1rem, 2.75rem); line-height: 1.08; letter-spacing: -0.035em; }
h3 { font-size: 1.125rem; line-height: 1.35; letter-spacing: -0.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
code { font: 500 .92em/1 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface); padding: .12em .38em; border-radius: 5px; }
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.muted { color: var(--slate); }
.skip { position: absolute; left: 1rem; top: -3rem; background: var(--night); color: var(--white); padding: .5rem .9rem; border-radius: 6px; z-index: 10; }
.skip:focus { top: 1rem; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.2rem; border-radius: 9px;
  background: var(--night); color: var(--white); border: 1px solid var(--night);
  font: 550 .97rem/1 "Geist", sans-serif; letter-spacing: -0.005em; text-decoration: none;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; transition-duration: .08s; }
.btn:hover { background: #1A1F2E; border-color: #1A1F2E; box-shadow: 0 6px 18px -8px rgb(7 10 20 / .45); }
.btn-ghost { background: var(--white); color: var(--night); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); border-color: rgb(7 10 20 / .28); box-shadow: none; }
.band .btn { background: var(--white); color: var(--night); border-color: var(--white); }
.band .btn:hover { background: #E4E7EE; border-color: #E4E7EE; box-shadow: none; }
.band .btn-ghost { background: transparent; color: var(--white); border-color: rgb(255 255 255 / .28); }
.band .btn-ghost:hover { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .5); }
.arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr, .link:hover .arr { transform: translateX(3px); }
.link { display: inline-flex; gap: .4rem; align-items: baseline; font-weight: 550; text-decoration: underline; text-decoration-color: var(--line-strong); }
.link:hover { text-decoration-color: currentColor; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgb(255 255 255 / .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; padding: 6px 0; flex-shrink: 0; }
.logo img { height: 26px; width: auto; }
.site-nav { display: flex; align-items: center; gap: .15rem; font-size: .94rem; }
.site-nav a { text-decoration: none; color: var(--slate); padding: .45rem .7rem; border-radius: 7px; transition: color .2s, background-color .2s; }
.site-nav a:hover { color: var(--night); background: var(--surface); }
.site-nav a[aria-current="page"] { color: var(--night); font-weight: 550; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .5em; }
.site-nav .gh { display: inline-flex; align-items: center; gap: .4rem; color: var(--night); border: 1px solid var(--line-strong); margin-left: .35rem; }
.site-nav .gh svg { width: 16px; height: 16px; }
.site-nav .nav-cta { min-height: 38px; padding: .5rem .95rem; margin-left: .5rem; font-size: .9rem; color: var(--white); border-radius: 8px; }
.site-nav .nav-cta:hover { color: var(--white); background: #1A1F2E; }
.menu-btn { display: none; }
@media (max-width: 60rem) {
  .js .menu-btn {
    display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 .9rem; margin-right: -.4rem;
    background: none; border: 1px solid var(--line-strong); border-radius: 9px; color: var(--night);
    font: 550 .94rem/1 "Geist", sans-serif; cursor: pointer;
  }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 16px; height: 1.5px; background: currentColor; border-radius: 1px; transition: transform .25s var(--ease), opacity .2s; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -5px; }
  .menu-icon::after { top: 5px; }
  .menu-open .menu-icon { background: transparent; }
  .menu-open .menu-icon::before { transform: translateY(5px) rotate(45deg); }
  .menu-open .menu-icon::after { transform: translateY(-5px) rotate(-45deg); }
  .header-row { position: relative; }
  .js .site-nav {
    display: none; position: absolute; top: 100%; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1);
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.25rem;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px rgb(7 10 20 / .35); font-size: 1rem;
  }
  .js.menu-open .site-nav { display: flex; }
  .js .site-nav a { padding: .8rem 0; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--night); }
  .js .site-nav a:hover { background: none; color: var(--slate); }
  .js .site-nav a[aria-current="page"] { text-decoration: none; box-shadow: inset 2px 0 0 var(--night); padding-left: .8rem; }
  .js .site-nav .gh { margin: 0; border: 0; border-bottom: 1px solid var(--line); }
  .js .site-nav .nav-cta { margin: 1rem 0 0; min-height: 46px; justify-content: center; border-bottom: 0; color: var(--white); border-radius: 9px; font-size: .97rem; }
  .js .site-nav .nav-cta:hover { color: var(--white); background: #1A1F2E; }
  html:not(.js) .site-nav { flex-wrap: wrap; justify-content: flex-end; }
}
@media (max-width: 440px) { .logo img { height: 22px; width: auto; } }

/* Sections */
.sec { padding: var(--section-y) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head h2 + p { margin-top: 1.1rem; font-size: 1.15rem; color: var(--slate); max-width: 40rem; }
.band { background: var(--night); color: var(--white); }
.band .muted { color: var(--mist); }
.band + .sec, .sec + .band { border-top: 0; }

/* Home hero: night, with the rain-into-knot image on the right */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(5rem, 10vw, 9rem) 0 clamp(5rem, 9vw, 8.5rem); }
.hero-media { position: absolute; top: 0; bottom: 0; right: 0; aspect-ratio: 2688 / 1152; z-index: 0; transform: translate3d(0, var(--py, 0px), 0); -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); mask-image: linear-gradient(90deg, transparent, #000 22%); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 78% 52%; animation: drift 28s ease-in-out infinite alternate; }
.hero-glow { position: absolute; left: 78%; top: 52%; width: 34%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgb(200 210 235 / .3), rgb(138 147 168 / .1) 55%, transparent); mix-blend-mode: screen; animation: glow 7s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--night) 0%, rgb(7 10 20 / .9) 30%, rgb(7 10 20 / .35) 56%, transparent 74%); }
.hero::after { z-index: 1; }
.hero > .wrap { position: relative; z-index: 2; }
.hero-copy { max-width: 40rem; }
.hero h1 span { color: var(--mist); }
.hero .lede { color: rgb(255 255 255 / .72); }
.hero .facts { color: var(--mist); }
@keyframes drift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.045) translate3d(-1.2%, -.8%, 0); } }
@keyframes glow { from { opacity: .45; scale: .94; } to { opacity: 1; scale: 1.06; } }
@media (max-width: 760px) {
  .hero { padding-top: 250px; }
  .hero-media { bottom: auto; height: 360px; right: -12%; -webkit-mask-image: none; mask-image: none; }
  .hero::before { background: linear-gradient(180deg, rgb(7 10 20 / .1) 0, rgb(7 10 20 / .35) 150px, rgb(7 10 20 / .92) 280px, var(--night) 360px); }
}
.hero + .explore { padding-top: clamp(3rem, 6vw, 4.5rem); }
.lede { font-size: clamp(1.1rem, .45vw + 1rem, 1.28rem); line-height: 1.55; color: var(--slate); margin: 1.6rem 0 2.2rem; max-width: 38rem; }
.facts { margin: 1.75rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .9rem; color: var(--slate); }
.facts li { display: inline-flex; align-items: center; gap: .5rem; }
.facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mist); }

/* Hero figure: each client wires straight into the account box */
.converge { margin: 0; --wire: 48px; }
.converge-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: var(--wire); align-items: center; }
.clients { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.clients li { position: relative; display: flex; align-items: center; min-height: 40px; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 9px; background: var(--white); font-size: .9rem; font-weight: 500; white-space: nowrap; box-shadow: 0 1px 2px rgb(7 10 20 / .04); }
.clients li::after { content: ""; position: absolute; top: 50%; left: calc(100% + 1px); width: calc(var(--wire) - 2px); height: 1.25px; margin-top: -.6px; background: var(--mist); transform-origin: left center; }
.clients li::before { content: ""; position: absolute; top: 50%; left: calc(100% + var(--wire) - 7px); margin-top: -4px; border-left: 6px solid var(--mist); border-block: 4px solid transparent; }
.wire-down { display: none; }
.account { border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); padding: 1rem; }
.account-label { display: flex; justify-content: space-between; gap: .5rem; font-size: .78rem; color: var(--slate); font-weight: 500; margin-bottom: .8rem; }
.core { display: flex; align-items: center; gap: .7rem; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: .75rem .85rem; box-shadow: 0 8px 24px -14px rgb(7 10 20 / .35); }
.core img { width: 34px; height: 34px; flex-shrink: 0; }
.core strong { display: block; font-size: .98rem; font-weight: 600; letter-spacing: -0.01em; }
.core span { display: block; font-size: .8rem; color: var(--slate); }
.core code { font-size: .78rem; }
.parts { list-style: none; margin: .7rem 0 0; padding: 0; display: grid; gap: 1px; background: var(--line); border-radius: 9px; overflow: hidden; border: 1px solid var(--line); }
.parts li { background: var(--white); padding: .5rem .8rem; font-size: .84rem; }
.converge figcaption { margin-top: 1rem; font-size: .86rem; color: var(--slate); }
@media (max-width: 600px) {
  .converge-grid { grid-template-columns: minmax(0, 1fr); }
  .clients { display: flex; flex-wrap: wrap; gap: 8px; }
  .clients li { min-height: 36px; padding: .35rem .7rem; font-size: .86rem; }
  .clients li::before, .clients li::after { display: none; }
  .wire-down { display: block; position: relative; width: 1.25px; height: 36px; margin: 12px auto 10px; background: var(--mist); }
  .wire-down::after { content: ""; position: absolute; left: 50%; bottom: -1px; margin-left: -4px; border-top: 6px solid var(--mist); border-inline: 4px solid transparent; }
}

/* Explore: the other pages, one click from the hero */
.explore { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.explore-h { font-size: .84rem; font-weight: 500; letter-spacing: 0; color: var(--slate); margin-bottom: 1rem; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 66rem) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cards li { display: flex; }
.card {
  position: relative; display: flex; flex-direction: column; gap: .35rem; width: 100%; min-height: 100%;
  padding: 1.15rem 2.6rem 1.2rem 1.2rem; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--white);
  text-decoration: none; transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card strong { font-weight: 600; font-size: 1.02rem; letter-spacing: -0.015em; }
.card span:not(.arr) { color: var(--slate); font-size: .92rem; line-height: 1.5; }
.card .arr { position: absolute; right: 1.15rem; top: 1.15rem; color: var(--slate); }
.card:hover { background: var(--surface); border-color: rgb(7 10 20 / .28); transform: translateY(-2px); box-shadow: 0 14px 28px -20px rgb(7 10 20 / .4); }
.card:hover .arr { transform: translateX(3px); color: var(--night); }
.explore + .sec { border-top: 1px solid var(--line); }

/* Editorial rows: a title column and a text column, hairlines between */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.rows > li { display: grid; gap: .6rem 3rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 52rem) { .rows > li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: 2.4rem 0; } }
.rows h3 { font-size: clamp(1.2rem, .5vw + 1.05rem, 1.45rem); letter-spacing: -0.025em; }
.rows p { color: var(--slate); margin: 0; max-width: 62ch; }
.rows p + p, .rows p + .link { margin-top: .9rem; }

/* Grid of short items (companies: what a team gets) */
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 3rem; border-top: 1px solid var(--line-strong); }
@media (min-width: 52rem) { .items { grid-template-columns: 1fr 1fr; } }
.items li { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.items h3 { margin-bottom: .35rem; }
.items p { color: var(--slate); margin: 0; font-size: 1rem; max-width: 34rem; text-wrap: wrap; }

/* Screenshot in the night band */
.shot-grid { display: grid; gap: 3rem; }
.shot-text { display: grid; gap: 1.2rem 5rem; }
@media (min-width: 56rem) { .shot-text { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; } }
.shot-text h2 { max-width: 16ch; }
.shot-text p { color: var(--mist); max-width: 36rem; margin: 0; }
.shot { margin: 0; }
.shot img { width: 100%; border-radius: 12px; border: 1px solid var(--line-dark); }
.shot figcaption { margin-top: .9rem; font-size: .86rem; color: var(--mist); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem; counter-reset: step; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.steps li { counter-increment: step; border-top: 1px solid var(--night); padding-top: 1.3rem; }
.steps li::before { content: "Step " counter(step); display: block; font-size: .82rem; color: var(--slate); margin-bottom: .9rem; font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: .5rem; font-size: 1.25rem; }
.steps p { color: var(--slate); margin: 0; }

/* Spec list */
.spec { margin: clamp(3rem, 6vw, 4.5rem) 0 0; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 40rem) { .spec { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
@media (min-width: 66rem) { .spec { grid-template-columns: repeat(3, 1fr); } }
.spec div { display: flex; flex-direction: column; gap: .15rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: .84rem; color: var(--slate); }
.spec dd { margin: 0; font-weight: 550; }

/* Solo section with terminal */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: start; }
@media (min-width: 60rem) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; } }
.split h2 { margin-bottom: 1.2rem; }
.split .muted { font-size: 1.08rem; max-width: 36rem; }
.terminal {
  margin: 0; max-width: 100%; background: var(--night); color: #E6E8EE; border-radius: 12px; padding: 1.4rem 1.5rem;
  overflow-x: auto; font: 500 .9rem/1.8 ui-monospace, SFMono-Regular, Menlo, monospace;
  scrollbar-color: var(--slate) transparent; box-shadow: 0 24px 60px -32px rgb(7 10 20 / .6);
}
.terminal code { background: none; padding: 0; font: inherit; }
.terminal .c { color: var(--mist); }
.terminal::selection, .terminal *::selection { background: var(--white); color: var(--night); }
@media (max-width: 440px) { .terminal { font-size: .8rem; padding: 1.1rem 1.1rem; } }
.works { margin: 2rem 0 0; display: grid; gap: 1.5rem; }
@media (min-width: 30rem) { .works { grid-template-columns: 1fr 1fr; } }
.works h3 { font-size: .84rem; font-weight: 500; color: var(--slate); letter-spacing: 0; margin-bottom: .5rem; }
.works ul { list-style: none; margin: 0; padding: 0; }
.works li { padding: .45rem 0; border-top: 1px solid var(--line); font-weight: 500; font-size: .97rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.3rem 2.5rem 1.3rem 0; font-weight: 550; font-size: 1.1rem; letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .35rem; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid var(--slate); border-bottom: 1.5px solid var(--slate); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq summary:hover { color: var(--slate); }
.faq details p { color: var(--slate); padding-bottom: 1.4rem; margin: 0; max-width: 64ch; }
.two { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) {
  .two { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 5rem; }
  .two:has(> .rows) > h2 { padding-top: calc(2.4rem + 1px); }
  .two:has(> .faq) > h2 { padding-top: calc(1.3rem + 1px); }
}

/* Closing band */
.closing { padding: clamp(5rem, 10vw, 8rem) 0; }
.closing-row { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 56rem) { .closing-row { grid-template-columns: minmax(0, 1fr) auto; } }
.closing h2 { font-size: clamp(2rem, 2.6vw + 1rem, 3.25rem); max-width: 18ch; }
.closing p { margin: 1.2rem 0 0; color: var(--mist); font-size: 1.12rem; max-width: 36rem; }
.mail { margin-top: 1rem; font-size: .9rem; color: var(--mist); }
.mail a { color: var(--white); }

/* Inner page hero (companies, security) */
.page-hero { padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.3rem, 3.8vw + .7rem, 3.9rem); max-width: 20ch; }
.page-hero h1 span { color: var(--slate); }
.page-hero .lede { max-width: 42rem; }
.page-hero + .sec { border-top: 0; }

/* Limits list */
.limits { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 3rem; border-top: 1px solid var(--line-strong); }
@media (min-width: 52rem) { .limits { grid-template-columns: 1fr 1fr; } }
.limits li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .8rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.limits li::before { content: ""; width: 12px; height: 1.5px; background: var(--night); margin-top: .8em; }
.limits strong { display: block; font-weight: 600; margin-bottom: .2rem; }
.limits span { color: var(--slate); }

/* Pilot panel */
.pilot { display: grid; gap: 3rem; }
@media (min-width: 60rem) { .pilot { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 5rem; align-items: start; } }
.pilot h2 { margin-bottom: 1.2rem; }
.pilot .big { font-size: clamp(1.15rem, .5vw + 1rem, 1.35rem); line-height: 1.5; max-width: 34rem; }
.pilot .muted { max-width: 34rem; }
.pilot .actions { margin-top: 2rem; }
.pilot-steps { list-style: none; margin: 0; padding: 0; counter-reset: p; border-top: 1px solid var(--line-dark); }
.pilot-steps li { counter-increment: p; display: grid; grid-template-columns: 2rem minmax(0, 1fr); padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); }
.pilot-steps li::before { content: counter(p); color: var(--mist); font-variant-numeric: tabular-nums; font-size: .9rem; padding-top: .1rem; }
.pilot-steps span { display: block; color: var(--mist); font-size: .94rem; margin-top: .15rem; }

/* Cost note */
.note { display: grid; gap: 1.5rem; padding: 2rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 52rem) { .note { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem; padding: 2.4rem; } }
@media (max-width: 440px) { .note { padding: 1.4rem; } }
.note h2 { font-size: clamp(1.5rem, 1vw + 1rem, 1.9rem); }
.note p { margin: 0; color: var(--slate); }
.note p strong { color: var(--night); font-weight: 600; }
.note p + p { margin-top: .8rem; }

/* Security page: reading layout with a section index */
.doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding: clamp(3.5rem, 7vw, 5.5rem) 0 var(--section-y); }
@media (min-width: 64rem) { .doc { grid-template-columns: 200px minmax(0, 1fr); gap: 5rem; } }
.toc { display: none; }
@media (min-width: 64rem) {
  .toc { display: block; position: sticky; top: 96px; align-self: start; font-size: .9rem; }
  .toc p { color: var(--slate); font-size: .82rem; margin-bottom: .7rem; }
  .toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-strong); }
  .toc a { display: block; padding: .32rem 0 .32rem 1rem; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; color: var(--slate); }
  .toc a:hover { color: var(--night); border-left-color: var(--night); }
}
.doc-body > section { padding: 0 0 3.5rem; margin-bottom: 3.5rem; border-bottom: 1px solid var(--line); }
.doc-body > section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.doc-body h2 { font-size: clamp(1.6rem, 1.2vw + 1rem, 2.1rem); margin-bottom: 1.1rem; }
.doc-body h3 { margin: 2rem 0 .6rem; }
.doc-body p { color: var(--slate); max-width: 66ch; }
.doc-body p strong { color: var(--night); font-weight: 600; }
.doc-body ul { margin: 0 0 1em; padding-left: 1.1rem; color: var(--slate); max-width: 66ch; }
.doc-body li { margin-bottom: .55rem; padding-left: .2rem; }
.doc-body li::marker { color: var(--mist); }
.doc-body li strong { color: var(--night); font-weight: 600; }
.doc-body a:not(.btn) { color: var(--night); }

.flow { margin: 0 0 2.5rem; }
.flow { container-type: inline-size; }
.flow-frame { border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.flow svg { width: 100%; height: auto; font-family: "Geist", ui-sans-serif, system-ui, sans-serif; }
.flow-tall { display: none; max-width: 420px; margin-inline: auto; }
@container (max-width: 739px) {
  .flow-wide { display: none; }
  .flow-tall { display: block; }
}
.flow figcaption { margin-top: .8rem; font-size: .86rem; color: var(--slate); }

.ledger { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.5rem 0 0; }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: .85rem 1rem .85rem 0; border-bottom: 1px solid var(--line); color: var(--slate); }
.ledger thead th { font-size: .82rem; font-weight: 500; border-bottom-color: var(--line-strong); }
.ledger td:first-child { font-weight: 550; width: 30%; color: var(--night); }
.ledger td.out { color: var(--night); font-weight: 550; }
@media (max-width: 640px) {
  .ledger thead { display: none; }
  .ledger tr { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .ledger td { display: block; border: 0; padding: .1rem 0; }
  .ledger td:first-child { width: auto; }
  .ledger td[data-k]::before { content: attr(data-k) ": "; color: var(--slate); font-weight: 400; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 2.75rem; font-size: .92rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; color: var(--slate); }
.footer-brand img { height: 22px; width: auto; }
.footer-brand p { margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 2.4rem; }
.footer-nav div { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
@media (max-width: 640px) {
  .footer-row { flex-direction: column; align-items: flex-start; }
  .footer-nav { display: grid; gap: .9rem; width: 100%; }
  .footer-nav div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem 1rem; }
  .footer-nav div + div { padding-top: .9rem; border-top: 1px solid var(--line); }
}
.footer-nav a { color: var(--slate); text-decoration: none; }
.footer-nav a:hover { color: var(--night); text-decoration: underline; }

/* Legal pages and 404 */
.legal { padding: 3.5rem 0 6rem; }
.narrow { max-width: 46rem; }
.legal h1 { font-size: clamp(2rem, 3vw + 1rem, 2.8rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.3rem; letter-spacing: -0.02em; margin: 2.2rem 0 .6rem; }
.legal p { color: var(--slate); }
.legal a:not(.btn) { color: var(--night); }

@media (max-width: 440px) {
  .account-label span + span { display: none; }
  .actions .btn { flex: 1 1 100%; }
}
@media (min-width: 52rem) { .two .rows > li { grid-template-columns: minmax(0, 1fr); gap: .5rem; } }
.note .link { color: var(--night); }

/* Logo: the knot draws itself once per visit */
.logo svg { height: 26px; width: auto; }
@media (max-width: 440px) { .logo svg { height: 22px; } }
.draw .logo .k { stroke-dasharray: 1 1; animation: knot-draw .85s var(--ease) both; }
.draw .logo .k2 { animation-delay: .15s; }
.draw .logo .word { animation: fade-in .5s .4s ease-out both; }
@keyframes knot-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } }

/* Product imagery on light surfaces: a quiet panel, the white render multiplied into it */
.art { margin: 0; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.art img { width: 100%; height: auto; mix-blend-mode: multiply; transition: transform .9s var(--ease); }
.art:hover img, .shot:hover img { transform: scale(1.02); }
.shot picture { display: block; overflow: hidden; border-radius: 12px; }
.shot img { transition: transform .9s var(--ease); }
.why-head, .how-head, .page-hero-grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.why-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.how-head { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.how-head .sec-head { margin-bottom: 0; }
@media (min-width: 56rem) {
  .why-head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .how-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 62rem) { .page-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
@media (max-width: 61.99rem) { .page-hero-grid .art { max-width: 32rem; } }
.faq-side .art { max-width: 300px; margin-top: 2.5rem; }
@media (min-width: 56rem) { .two:has(> .faq) > .faq-side { padding-top: calc(1.3rem + 1px); } }
@media (max-width: 55.99rem) { .faq-side .art { max-width: 200px; margin-top: 1.5rem; } }

/* Night bands: a background photograph, faded so text keeps its contrast */
.band { position: relative; isolation: isolate; }
.band > .wrap { position: relative; z-index: 1; }
.band:has(> .band-bg) { --strip: clamp(170px, 21vw, 300px); }
.band-bg { position: absolute; left: 0; right: 0; bottom: 0; height: var(--strip); z-index: 0; overflow: hidden; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 57%; opacity: .9; }
.band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, rgb(7 10 20 / .35) 45%, rgb(7 10 20 / 0) 100%); }
#pilot:has(> .band-bg) { padding-bottom: calc(var(--section-y) + var(--strip) - 3rem); }
.closing:has(> .band-bg) { padding-bottom: calc(clamp(5rem, 10vw, 8rem) + var(--strip) - 3rem); }

/* Cursor light on night bands (fine pointers only, set by motion.js) */
.band::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 50%), rgb(138 147 168 / .13), transparent 62%); }
@media (pointer: fine) { .band.lit:hover::after { opacity: 1; } }

/* Reveal on scroll: only below-the-fold elements get .rv, and only from motion.js */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.rv.in { opacity: 1; transform: none; }

/* Diagrams draw their connectors when they first come into view */
.clients li:nth-child(2) { --w: 1; } .clients li:nth-child(3) { --w: 2; } .clients li:nth-child(4) { --w: 3; } .clients li:nth-child(5) { --w: 4; }
.converge.rv .clients li::after { transform: scaleX(0); transition: transform .6s var(--ease) calc(.3s + var(--w, 0) * 90ms); }
.converge.rv .clients li::before { opacity: 0; transition: opacity .35s ease-out calc(.8s + var(--w, 0) * 90ms); }
.converge.rv .wire-down { transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease) .3s; }
.converge.rv .wire-down::after { opacity: 0; transition: opacity .35s ease-out .85s; }
.converge.in .clients li::after, .converge.in .wire-down { transform: none; }
.converge.in .clients li::before, .converge.in .wire-down::after { opacity: 1; }
.flow.rv .dr { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease) .25s; }
.flow.in .dr { stroke-dashoffset: 0; }
.flow.rv marker path { opacity: 0; transition: opacity .4s ease-out 1.05s; }
.flow.in marker path { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero-media img, .hero-glow, .draw .logo .k, .draw .logo .word { animation: none; }
  .btn:hover, .card:hover, .art:hover img, .shot:hover img { transform: none; }
  .band::after { display: none; }
}
.hero-media picture { display: block; width: 100%; height: 100%; }
@media print { .rv { opacity: 1; transform: none; } }
@media (max-width: 61.99rem) {
  .page-hero-grid .art { aspect-ratio: 16 / 10; }
  .page-hero-grid .art picture, .page-hero-grid .art img { height: 100%; }
  .page-hero-grid .art img { object-fit: cover; }
}
