/* ============================================================
   Altivara — dark instrument
   Flat ink ground, one blue, one green. No gradients, no glass,
   no glow. Every animation shows the system working.
   ============================================================ */

:root {
  --ground: #0b0d11;
  --raised: #12151b;
  --sunk:   #080a0d;

  --text:   #e9ecf1;
  --text-2: #a8b1bd;
  --text-3: #7b8593;

  --line:        rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);

  --blue:     #6d97ff;
  --blue-btn: #2f62f5;
  --blue-btn-hover: #4b78ff;
  --blue-wash: rgba(109, 151, 255, 0.12);
  --green:    #4fd39a;
  --flag:     #e0795a;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --s-1: 4px;  --s-2: 8px;  --s-3: 16px; --s-4: 24px;
  --s-5: 32px; --s-6: 48px; --s-7: 72px; --s-8: 112px;

  --wrap: 1220px;
  --radius: 10px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* one interaction-timing scale, used everywhere a hover/focus/press
     state changes — content-reveal timings (headline, prose, panels,
     steps) stay independently tuned and are not part of this scale */
  --dur-1: 0.14s;
  --dur-2: 0.24s;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #2b313b var(--ground);
  scrollbar-width: thin;
  background: var(--ground);
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  caret-color: var(--blue);
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(109, 151, 255, 0.28); color: #fff; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: #2b313b; border: 3px solid var(--ground); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #3a424f; }

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
button, input, textarea { font: inherit; color: inherit; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur-2) var(--ease); }
a:hover { color: #9ab6ff; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; transition: outline-offset var(--dur-1) var(--ease); }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.14; text-wrap: balance; }
p { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 60; transform: translateY(-200%);
  background: var(--blue-btn); color: #fff; text-decoration: none;
  padding: 10px 16px; border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { transform: none; color: #fff; }

.wrap { width: min(100% - 2 * var(--s-4), var(--wrap)); margin-inline: auto; }
@media (min-width: 900px) { .wrap { width: min(100% - 2 * var(--s-6), var(--wrap)); } }

section[id] { scroll-margin-top: 84px; }

/* ---------- Type ---------- */

.h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.4rem); letter-spacing: -0.03em; margin-bottom: var(--s-4); }

.prose p { color: var(--text-2); max-width: 68ch; }
.prose p + p { margin-top: var(--s-4); }
.js .prose p { color: #8d97a4; transition: color 0.55s var(--ease); }
.js .prose p.is-lit { color: var(--text-2); }
.js .prose p.prose__lead { color: var(--text-3) !important; }
.js .prose p.prose__lead.is-lit { color: var(--text) !important; }
.prose__lead {
  color: var(--text) !important;
  font-size: clamp(1.2rem, 1.02rem + 0.72vw, 1.6rem);
  font-weight: 500; line-height: 1.38; letter-spacing: -0.02em;
}

/* a rule that draws itself when its section arrives */
.rule-draw {
  height: 1px; background: var(--line-strong); border: 0; margin: 0;
  transform: scaleX(0); transform-origin: left center;
}
.rule-draw.is-in { transform: scaleX(1); transition: transform 1.1s var(--ease); }
html:not(.js) .rule-draw { transform: scaleX(1); }

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

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 46px; padding: 11px 20px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 0.97rem; font-weight: 600; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease),
              color var(--dur-2) var(--ease), transform var(--dur-2) var(--ease),
              box-shadow var(--dur-2) var(--ease);
}
.btn--lg { min-height: 52px; padding: 14px 24px; font-size: 1.02rem; }
.btn--sm { min-height: 40px; padding: 9px 16px; font-size: 0.9rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--blue-btn); color: #fff; }
.btn--primary:hover {
  background: var(--blue-btn-hover); color: #fff; transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(47, 98, 245, 0.55);
}
.btn--primary:active { transform: translateY(0); box-shadow: 0 4px 12px -6px rgba(47, 98, 245, 0.45); transition-duration: var(--dur-1); }

.btn--quiet { background: var(--raised); color: var(--text); border-color: var(--line-strong); }
.btn--quiet:hover {
  background: #171b23; color: var(--text); border-color: #4a525f; transform: translateY(-1px);
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.55);
}
.btn--quiet:active { transform: translateY(0); box-shadow: none; transition-duration: var(--dur-1); }

.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.link-quiet {
  color: var(--text-2); text-decoration: none; font-size: 0.94rem; font-weight: 500; padding: 8px 4px;
  transition: color var(--dur-2) var(--ease);
}
.link-quiet:hover { color: var(--text); text-decoration: underline; }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 17, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: var(--s-4); min-height: 68px; }

.brand {
  display: inline-flex; align-items: center; gap: var(--s-2); margin-right: auto;
  text-decoration: none; color: var(--text); transition: opacity var(--dur-2) var(--ease);
}
.brand:hover { opacity: 0.8; }
.brand__mark { width: 28px; }
.brand__word { font-weight: 600; font-size: 1.06rem; letter-spacing: 0.01em; }

.nav__links { display: none; gap: var(--s-4); }
.nav__links a {
  position: relative;
  color: var(--text-2); text-decoration: none; font-size: 0.94rem; font-weight: 500;
  padding: 6px 0; transition: color var(--dur-2) var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line-strong); transform: scaleX(0); transform-origin: left center;
  transition: transform var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after { transform: scaleX(1); background: var(--blue); }

.nav__actions { display: none; align-items: center; gap: var(--s-3); }

.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-right: -8px; background: none; border: 0; cursor: pointer;
}
.nav__bars { display: grid; gap: 5px; }
.nav__bars i { display: block; width: 20px; height: 1.5px; background: var(--text); transition: transform var(--dur-2) var(--ease); }
.nav__toggle[aria-expanded="true"] .nav__bars i:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (min-width: 900px) { .nav__links, .nav__actions { display: flex; } .nav__toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 68px 0 0; z-index: 45; background: var(--ground);
  padding: var(--s-4) var(--s-4) var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-4); overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  padding: 16px 0; font-size: 1.2rem; font-weight: 500; color: var(--text);
  text-decoration: none; border-bottom: 1px solid var(--line);
  transition: color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), padding-left var(--dur-2) var(--ease);
}
.mobile-menu nav a:hover, .mobile-menu nav a:focus-visible { color: var(--blue); border-color: var(--line-strong); padding-left: 6px; }

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

.hero { padding: var(--s-6) 0 var(--s-7); }
@media (min-width: 900px) { .hero { padding: var(--s-7) 0 var(--s-8); } }
.hero__grid { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 0.92fr 1.08fr; gap: var(--s-7); } }

.hero__lead {
  display: block; font-size: clamp(1rem, 0.94rem + 0.3vw, 1.2rem);
  font-weight: 500; color: var(--text-3); letter-spacing: -0.01em;
  line-height: 1.4; margin-bottom: var(--s-3);
}
.hero__shout { display: block; font-size: clamp(2.9rem, 1.7rem + 4.4vw, 5rem); font-weight: 700; line-height: 0.97; letter-spacing: -0.038em; }
.hero__shout .word { display: inline-block; }
.js .hero__shout .word { opacity: 0; transform: translateY(0.44em); }
.js .hero__shout .word.is-in { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.85s var(--ease); }

.hero__sub { margin-top: var(--s-4); max-width: 52ch; color: var(--text-2); font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.14rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }


/* ---------- The console (the authored moment) ---------- */

.console {
  margin: 0;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.5;
}
.console__bar {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 10px var(--s-4);
  border-bottom: 1px solid var(--line);
  background: var(--sunk);
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3);
}
.console__live { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); }
.console__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; }
.js .console__dot { animation: blink 2.4s steps(1, end) infinite; }
@keyframes blink { 0%, 62% { opacity: 1; } 63%, 100% { opacity: 0.25; } }
.console__tag { margin-left: auto; }

.console__pane { padding: var(--s-4); border-bottom: 1px solid var(--line); }
.console__label { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--s-3); }

/* tabs: several campaigns open at once */
.tabs { display: flex; gap: 2px; padding: 0 var(--s-3); background: var(--sunk); border-bottom: 1px solid var(--line); }
.tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border: 0; background: transparent; cursor: default;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--text-3); border-bottom: 1px solid transparent;
  transition: color var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.tab.is-active { color: var(--text); background: var(--raised); border-bottom-color: var(--blue); }
.tab__pip { width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); flex: none; transition: background-color 0.3s var(--ease); }
.tab.is-active .tab__pip { background: var(--green); }
.tab.is-busy .tab__pip { background: var(--blue); }

/* the pane contents swap when a tab takes over */
.console__pane--compose, .console__pane--log, .console__pane--cal { transition: opacity var(--dur-2) var(--ease); }
.console.is-switching .console__pane--compose,
.console.is-switching .console__pane--log,
.console.is-switching .console__pane--cal { opacity: 0.25; }

/* compose pane */
.compose__row { display: grid; grid-template-columns: 62px 1fr; gap: var(--s-2); }
.compose__row + .compose__row { margin-top: 4px; }
.compose__key { color: var(--text-3); }
.compose__val { color: var(--text-2); word-break: break-word; }
.compose__body { margin-top: var(--s-3); color: var(--text); min-height: 3.2em; }
.token { color: var(--blue); background: var(--blue-wash); padding: 0 4px; border-radius: 3px; }
.token.is-resolved { color: var(--green); background: rgba(79, 211, 154, 0.13); }
.caret { display: inline-block; width: 7px; height: 1em; background: var(--blue); vertical-align: -0.14em; margin-left: 1px; }
.js .caret { animation: caret 1.05s steps(1, end) infinite; }
@keyframes caret { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

/* send log */
.log { list-style: none; margin: 0; padding: 0; min-height: 148px; }
.log li {
  display: grid; grid-template-columns: 1fr auto; gap: var(--s-3);
  padding: 4px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  color: var(--text-2);
}
.js .log li { animation: logIn 0.4s var(--ease) both; }
@keyframes logIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.log__status { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.3s var(--ease); }
.log__status[data-s="sent"] { color: var(--text-3); }
.log__status[data-s="delivered"] { color: var(--text-2); }
.log__status[data-s="no reply"] { color: var(--flag); }
.log__status[data-s="replied"] { color: var(--green); }

/* calendar pane */
.slots { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: var(--s-3); }
.slot { aspect-ratio: 1; border: 1px solid var(--line-strong); border-radius: 4px; background: transparent; }
.slot.is-booked { background: var(--green); border-color: var(--green); }
.js .slot { transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease); }
.slots__note { display: flex; justify-content: space-between; gap: var(--s-3); color: var(--text-3); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.slots__note b { color: var(--green); font-weight: 500; }

.console__foot { font-size: 0.7rem; color: var(--text-3); padding: 10px var(--s-4); background: var(--sunk); border-top: 1px solid var(--line); }

/* ---------- Video plate ---------- */

.plate { padding-bottom: var(--s-7); }
.plate__grid { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .plate__grid { grid-template-columns: 1fr 500px; gap: var(--s-7); align-items: center; } }
.plate__copy .jobs { margin-top: var(--s-4); }
.plate__cta { margin-top: var(--s-5); }
.plate__cta-note { margin-top: var(--s-3); font-size: 0.86rem; color: var(--text-3); max-width: 40ch; }
.plate__media { max-width: 480px; }
@media (min-width: 900px) { .plate__media { max-width: none; } }
.plate__frame {
  position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: var(--raised); aspect-ratio: 16 / 9;
}
.plate__frame img, .plate__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.plate__thumb { filter: saturate(0.88) brightness(0.94); }
.plate__caption a { color: var(--text-2); font-weight: 500; }
.plate__caption a:hover { color: var(--blue); }
.plate__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 48px; padding: 12px 22px 12px 18px;
  background: rgba(11, 13, 17, 0.78); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 99px;
  font-weight: 600; font-size: 0.97rem; cursor: pointer; backdrop-filter: blur(4px);
  transition: transform var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.plate__play svg { width: 18px; height: 18px; color: var(--blue); }
.plate__play:hover {
  transform: translate(-50%, -50%) scale(1.04); background: rgba(11, 13, 17, 0.92);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6);
}
.plate__play:active { transform: translate(-50%, -50%) scale(1.0); transition-duration: var(--dur-1); }
.plate__caption { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); justify-content: space-between; margin-top: var(--s-3); font-size: 0.86rem; color: var(--text-3); }

/* ---------- Sections ---------- */

.section { padding: var(--s-7) 0; }
@media (min-width: 900px) { .section { padding: var(--s-7) 0; } }
.section--rule { border-top: 1px solid var(--line); }

.prose-grid { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .prose-grid { grid-template-columns: 280px 1fr; gap: var(--s-7); } .prose-grid .h2 { margin-bottom: 0; } }

/* ---------- How it works: one diagram, scrubbed by scroll ---------- */

.how { display: grid; gap: var(--s-4); }

.how__stage {
  position: sticky; top: 68px; z-index: 2;
  background: var(--ground);
  padding: var(--s-3) 0 var(--s-4);
}
.how__panels { display: grid; }

@media (min-width: 900px) {
  .how { grid-template-columns: 1fr 400px; column-gap: var(--s-7); align-items: start; }
  .how__stage { order: 2; top: 15vh; padding-top: 0; }
  .how__panels { order: 1; }
  .panel { min-height: clamp(170px, 30vh, 260px); display: flex; flex-direction: column; justify-content: center; }
}

.stage {
  position: relative; border: 1px solid var(--line); border-radius: 12px;
  background: var(--raised); overflow: hidden; aspect-ratio: 16 / 9;
}
@media (min-width: 900px) { .stage { aspect-ratio: 4 / 3.2; } }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.stage__labels { position: absolute; left: var(--s-3); top: var(--s-3); display: grid; }
.stage__label {
  grid-area: 1 / 1;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3); padding: 5px 10px; border: 1px solid var(--line);
  border-radius: 99px; background: rgba(8, 10, 13, 0.72);
  opacity: 0; transform: translateY(5px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.stage__label.is-on { opacity: 1; transform: none; }
.stage__label[data-act="2"].is-on { color: var(--green); border-color: rgba(79, 211, 154, 0.45); }

.stage__meter {
  position: absolute; left: var(--s-3); right: var(--s-3); bottom: var(--s-3);
  height: 2px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; overflow: hidden;
}
.stage__meter i { display: block; height: 100%; width: 0%; background: var(--blue); }
.stage__note { margin-top: var(--s-2); font-size: 0.78rem; color: var(--text-3); }

.panel { padding: var(--s-4) 0; }
.panel .h2 {
  margin-bottom: var(--s-3);
  font-size: clamp(1.9rem, 1.25rem + 2.5vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.panel--resolve .h2 { color: var(--text); }
.panel .body { color: var(--text-2); max-width: 60ch; }
.panel--resolve .argument__label { color: var(--blue); }
@media (min-width: 900px) {
  .js .panel { opacity: 0.62; transition: opacity 0.5s var(--ease); }
  .js .panel.is-active { opacity: 1; }
}

/* ---------- Panel detail ----------
   Structure pulled out of the copy's own sentences: the sources it
   calls unreliable, the jobs it enumerates, the split of labour that
   "done-for-you" means. No claim here that the prose does not make. */

.facts { list-style: none; margin: var(--s-4) 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 46ch; }
.facts li {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4);
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.facts__k { font-weight: 500; color: var(--text); }
.facts__v { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--flag); text-align: right; }

.jobs { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.jobs li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px;
  font-size: 0.88rem; color: var(--text-2);
}
.jobs li::before {
  content: ""; width: 11px; height: 11px; border-radius: 3px;
  border: 1px solid var(--line-strong); flex: none;
}

.split { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
@media (min-width: 620px) { .split { grid-template-columns: 1.4fr 1fr; gap: var(--s-5); } }
.split__col { border-top: 1px solid var(--line); padding-top: var(--s-3); }
.split__col--you { border-top-color: var(--green); }
.split__h {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: var(--s-2);
}
.split__col--you .split__h { color: var(--green); }
.split__col ul { list-style: none; margin: 0; padding: 0; }
.split__col li { padding: 5px 0; color: var(--text-2); font-size: 0.94rem; }
.split__col--you li { color: var(--text); font-weight: 500; }

/* the label that leads each panel heading */
.argument__label { color: var(--text-3); font-weight: 500; }

/* ---------- Process: the machine assembles ---------- */

.process__title { margin-bottom: var(--s-6); }

.steps {
  --spine-x: 13px;
  list-style: none; margin: 0; padding: 0; position: relative;
}
@media (min-width: 760px) { .steps { --spine-x: 35px; } }

.steps__spine {
  position: absolute; left: var(--spine-x); top: 8px; bottom: 8px; width: 1px;
  background: var(--line);
}
.steps__spine b {
  position: absolute; left: 0; top: 0; width: 100%; height: 0%;
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(109, 151, 255, 0.18);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: var(--s-3);
  row-gap: var(--s-3);
  padding: var(--s-5) 0;
}
@media (min-width: 760px) {
  .step { grid-template-columns: 72px minmax(0, 1fr); column-gap: var(--s-5); padding: var(--s-6) 0; }
}
@media (min-width: 1040px) {
  .step { grid-template-columns: 72px minmax(0, 1fr) 300px; column-gap: var(--s-6); align-items: start; }
}

.step__node {
  position: absolute;
  left: calc(var(--spine-x) - 4px);
  top: calc(var(--s-5) + 6px);
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ground);
  border: 1px solid var(--line-strong);
  transition: background-color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.45s var(--ease);
}
@media (min-width: 760px) { .step__node { top: calc(var(--s-6) + 8px); } }
.step.is-in .step__node { background: var(--blue); border-color: var(--blue); transform: scale(1.35); }

.step__n {
  grid-column: 1;
  font-family: var(--mono); font-size: 0.8rem; font-weight: 500;
  color: var(--text-3); font-variant-numeric: tabular-nums;
  padding-left: 20px; padding-top: 2px;
  transition: color 0.45s var(--ease);
}
@media (min-width: 760px) { .step__n { padding-left: 0; text-align: right; font-size: 0.85rem; } }
.step.is-in .step__n { color: var(--blue); }

.step__text { grid-column: 2; }
.step__h { font-size: 1.18rem; margin-bottom: var(--s-2); letter-spacing: -0.018em; }
.step__text p { color: var(--text-2); max-width: 60ch; }

.step__fig { grid-column: 2; margin: 0; }
@media (min-width: 1040px) { .step__fig { grid-column: 3; grid-row: 1 / span 2; } }
.step__fig canvas {
  display: block; width: 100%; aspect-ratio: 5 / 3;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--raised);
}
@media (min-width: 1040px) { .step__fig canvas { aspect-ratio: 4 / 3; } }

/* ---------- Hero note ---------- */

.hero__note { margin-top: var(--s-4); font-size: 0.9rem; color: var(--text-3); max-width: 46ch; }

/* ---------- Video ---------- */

.plate__sub { color: var(--text-2); max-width: 52ch; }

/* ---------- About ---------- */

.prose__cta { margin-top: var(--s-5); }
.prose__cta a {
  font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgba(109, 151, 255, 0.4); padding-bottom: 2px;
  transition: border-color 0.2s var(--ease);
}
.prose__cta a:hover { border-bottom-color: var(--blue); }

.byline {
  display: inline-flex; align-items: center; gap: 12px; margin-top: var(--s-4);
  text-decoration: none; padding: 8px; margin-left: -8px; border-radius: var(--radius);
  transition: background-color var(--dur-2) var(--ease);
}
.byline:hover { background: var(--raised); }
.byline__photo { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; }
.byline__text { display: grid; }
.byline__name { color: var(--text); font-weight: 600; font-size: 0.92rem; }
.byline__role { color: var(--text-3); font-size: 0.82rem; }
.byline:hover .byline__role { color: var(--blue); }

/* ---------- Process closer ---------- */

.process__closer {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5);
  margin-top: var(--s-6); padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.process__closer p {
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
  font-weight: 500; letter-spacing: -0.015em; max-width: 34ch; margin: 0;
}

/* ---------- FAQ ---------- */

.faq { display: grid; gap: var(--s-5); }
@media (min-width: 960px) { .faq { grid-template-columns: 340px 1fr; gap: var(--s-7); align-items: start; } }
.faq__head { position: sticky; top: 96px; }
@media (max-width: 959px) { .faq__head { position: static; } }
.faq__head .h2 { margin-bottom: var(--s-3); }
.faq__head .body { color: var(--text-2); max-width: 42ch; }

.faq__list { border-top: 1px solid var(--line); }

.qa { border-bottom: 1px solid var(--line); transition: border-color var(--dur-2) var(--ease); }
.qa:hover { border-bottom-color: var(--line-strong); }
.qa summary {
  display: flex; align-items: flex-start; gap: var(--s-3);
  padding: var(--s-4) 0; cursor: pointer; list-style: none;
  font-size: 1.02rem; font-weight: 500; color: var(--text);
  transition: color var(--dur-2) var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary span { flex: 1; }
.qa summary::after {
  content: ""; flex: none; margin-top: 8px;
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3);
  transform: rotate(45deg);
  transition: transform var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.qa summary:hover { color: var(--blue); }
.qa summary:hover::after { border-color: var(--blue); }
.qa[open] summary { color: var(--blue); }
.qa[open] summary::after { transform: rotate(-135deg); border-color: var(--blue); }
.qa summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.qa > p {
  padding: 0 var(--s-6) var(--s-5) 0;
  color: var(--text-2); max-width: 68ch; margin: 0;
}
.js .qa[open] > p { animation: qaOpen 0.32s var(--ease) both; }
@keyframes qaOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Book ---------- */

.book { border-top: 1px solid var(--line); }
.book__inner { max-width: 46ch; margin-inline: auto; text-align: center; }
.book__inner .h2 { font-size: clamp(1.8rem, 1.25rem + 2.2vw, 2.9rem); }
.book__sub { color: var(--text-2); margin: 0 0 var(--s-5); }
.book__embed { max-width: 680px; margin: 0 auto; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--raised); }
.book__embed .calendly-inline-widget { display: block; }
.book__note { margin-top: var(--s-5); font-size: 0.88rem; color: var(--text-3); text-align: center; }

/* ---------- Founder page ---------- */

.founder { padding: var(--s-6) 0 var(--s-7); }
@media (min-width: 900px) { .founder { padding: var(--s-7) 0 var(--s-8); } }
.founder__grid { display: grid; gap: var(--s-5); }
@media (min-width: 860px) { .founder__grid { grid-template-columns: 260px 1fr; gap: var(--s-7); align-items: start; } }

.founder__frame {
  border: 1px solid var(--line-strong); border-radius: 50%; overflow: hidden;
  background: var(--raised); aspect-ratio: 1; width: 100%; max-width: 260px;
}
.founder__frame img { width: 100%; height: 100%; object-fit: cover; }

.founder__role {
  display: inline-block; font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue);
  margin-bottom: var(--s-3);
}
.founder__name { font-size: clamp(2.1rem, 1.6rem + 2vw, 3.1rem); margin-bottom: var(--s-3); }
.founder__lead { color: var(--text-2); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); max-width: 56ch; margin-bottom: var(--s-5); }
.founder__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-6); }
@media (min-width: 860px) { .founder__actions { margin-bottom: 0; } }

.credentials { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4) var(--s-5); }
@media (min-width: 560px) { .credentials { grid-template-columns: 1fr 1fr; } }
.credentials li { border-top: 1px solid var(--line); padding-top: 10px; }
.credentials__k {
  display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 6px;
}
.credentials__v { color: var(--text); font-weight: 500; font-size: 0.97rem; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); padding: var(--s-6) 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--s-5); justify-content: space-between; }
.footer__brand { display: grid; gap: var(--s-2); }
.footer__brand p { font-size: 0.88rem; color: var(--text-3); max-width: 34ch; }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--s-5); }
.footer__links a {
  color: var(--text-2); text-decoration: none; font-size: 0.92rem; font-weight: 500; padding: 8px 0;
  transition: color var(--dur-2) var(--ease);
}
.footer__links a:hover { color: var(--text); text-decoration: underline; }
.footer__copy { font-size: 0.86rem; color: var(--text-3); }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.001ms !important;
  }
  .js .hero__shout .word { opacity: 1 !important; transform: none !important; }
  .js [data-in] { opacity: 1 !important; transform: none !important; }
  .js .panel { opacity: 1 !important; }
  .js .prose p { color: var(--text-2) !important; }
  .js .prose p.prose__lead { color: var(--text) !important; }
  .rule-draw { transform: scaleX(1) !important; }
  .step__n { color: var(--blue); }
  .step__node { background: var(--blue); border-color: var(--blue); }
}
