/* Signal: a warm-white page that turns deep charcoal for the operating-model chapters, then back.
   The TP mark (four corner brackets + cyan square) travels down the page and locks onto each idea.
   Colour lives at the edges: cyan, deep teal, a little coral. */
:root {
  --paper: #FAF9F6;
  --ink: #1B2229;
  --ink-2: #4F5B67;
  --ink-3: #85909B;
  --night: #121820;
  --night-2: #1B232D;
  --snow: #F1F4F6;
  --snow-2: #A9B4BF;
  --cyan: #00ADF0;  /* sampled from the logo */
  --teal: #0B6E79;
  --coral: #FF6A47;
  --sky: #C4ECFF;

  --bg: var(--paper);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-3: var(--ink-3);
  --rule: rgba(27, 34, 41, .12);
  --card: #FFFFFF;
  --mate: #D9DEE3;

  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
html[data-canvas="night"] {
  --bg: var(--night);
  --fg: var(--snow);
  --fg-2: var(--snow-2);
  --fg-3: #77838F;
  --rule: rgba(241, 244, 246, .13);
  --card: var(--night-2);
  --mate: #2C3743;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; transition: background-color .7s var(--ease), color .7s var(--ease); overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 4px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.dot { color: var(--cyan); }
.num { font-variant-numeric: tabular-nums; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--fg-3); text-transform: lowercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.big { font-weight: 800; font-variation-settings: "wdth" 68; text-transform: lowercase; letter-spacing: -.015em; line-height: .88; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 30; padding-top: env(safe-area-inset-top, 0px); transition: background-color .5s var(--ease), border-color .5s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--rule); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.logo { position: relative; display: block; width: 116px; }
.logo img { display: block; width: 100%; height: auto; transition: opacity .6s var(--ease); }
.logo .on-night { position: absolute; inset: 0; opacity: 0; }
html[data-canvas="night"] .logo .on-day { opacity: 0; }
html[data-canvas="night"] .logo .on-night { opacity: 1; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--fg-2); transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
.pill { display: inline-flex; align-items: center; gap: 8px; font: 500 14px var(--body); color: var(--fg); background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(8px); border: 1px solid var(--rule); border-radius: 999px; padding: 8px 9px 8px 15px; cursor: pointer; }
.pill .soon { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; background: var(--cyan); color: var(--ink); border-radius: 999px; padding: 3px 8px; }
@media (max-width: 760px) { .nav-links .hide-sm { display: none; } }

/* ---------- chapter ruler ---------- */
.ruler { position: fixed; left: clamp(10px, 1.6vw, 26px); top: 50%; transform: translateY(-50%); z-index: 25; display: grid; gap: 14px; }
.ruler a { display: grid; grid-template-columns: 18px auto; align-items: center; gap: 10px; text-decoration: none; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; color: var(--fg-3); transition: color .3s; }
.ruler a i { height: 2px; width: 10px; background: currentColor; transition: width .35s var(--ease), background-color .3s; }
.ruler a span { opacity: 0; transform: translateX(-4px); transition: opacity .3s, transform .3s var(--ease); white-space: nowrap; }
.ruler:hover a span { opacity: 1; transform: none; }
.ruler:hover { background: color-mix(in srgb, var(--bg) 88%, transparent); border-radius: 10px; padding: 10px 12px 10px 0; margin-left: -2px; }
.ruler a.on { color: var(--fg); }
.ruler a.on i { width: 18px; background: var(--cyan); }
@media (max-width: 1100px) { .ruler { display: none; } }

/* ---------- the travelling mark ---------- */
.scope { position: fixed; left: 0; top: 0; width: 60px; height: 60px; z-index: 20; pointer-events: none; opacity: 0; transition: opacity .4s; }
.scope.live { opacity: 1; }
.scope b { position: absolute; width: 18px; height: 18px; border: 0 solid var(--cyan); }
.scope .c1 { left: 0; top: 0; border-left-width: 4px; border-top-width: 4px; border-top-left-radius: 5px; }
.scope .c2 { right: 0; top: 0; border-right-width: 4px; border-top-width: 4px; }
.scope .c3 { left: 0; bottom: 0; border-left-width: 4px; border-bottom-width: 4px; }
.scope .c4 { right: 0; bottom: 0; width: 9px; height: 9px; background: var(--coral); border: 0; }

/* ---------- pointer ---------- */
.pointer { position: fixed; left: 0; top: 0; width: 10px; height: 10px; z-index: 60; pointer-events: none; opacity: 0; transition: opacity .2s; }
.pointer.live { opacity: 1; }
.pointer .core { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--cyan); transition: transform .25s var(--ease); }
.pointer b { position: absolute; width: 9px; height: 9px; border: 0 solid var(--fg); opacity: 0; transition: opacity .2s; }
.pointer.locked b { opacity: 1; }
.pointer.locked .core { transform: scale(.6); }
.pointer .p1 { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.pointer .p2 { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.pointer .p3 { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.pointer .p4 { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.pulse { position: fixed; z-index: 59; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; border: 2px solid var(--cyan); animation: pulse .5s var(--ease) forwards; }
@keyframes pulse { to { transform: scale(5); opacity: 0; } }
@media (hover: hover) and (pointer: fine) { html.has-pointer, html.has-pointer a, html.has-pointer button { cursor: none; } html.has-pointer input[type="range"] { cursor: grab; } }

/* ---------- sections ---------- */
section { position: relative; }
.chapter { padding-block: clamp(80px, 12vw, 160px); }
.head { display: grid; gap: 20px; margin-bottom: clamp(32px, 5vw, 64px); max-width: 980px; }
.head h2 { font-size: clamp(2.8rem, 7.5vw, 6.4rem); }
.head p { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--fg-2); max-width: 52ch; }

/* hero */
.hero { min-height: min(100svh, 980px); display: flex; align-items: flex-end; padding-block: 140px clamp(56px, 8vw, 96px); overflow: hidden; }
.field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; -webkit-mask-image: radial-gradient(ellipse 70% 75% at 82% 88%, #000 22%, transparent 72%); mask-image: radial-gradient(ellipse 70% 75% at 82% 88%, #000 22%, transparent 72%); }
.hero .wrap { position: relative; width: 100%; }
.hero h1 { font-size: clamp(3.4rem, 10.6vw, 10.4rem); max-width: 13ch; }
.hero h1 .nb { white-space: nowrap; }
.hero h1 .target { position: relative; white-space: nowrap; }
.hero-foot { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 40ch) auto; justify-content: space-between; align-items: end; gap: 24px; }
.hero-foot p { font-size: clamp(1.05rem, 1.45vw, 1.22rem); color: var(--fg-2); }
.cue { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--mono); font-size: 12px; color: var(--fg-2); }
.cue i { width: 30px; height: 30px; border: 1.5px solid var(--fg); border-radius: 50%; display: grid; place-items: center; font-style: normal; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }
@media (max-width: 700px) { .hero-foot { grid-template-columns: 1fr; } }

/* scrubbed statement */
.scrub-text { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 82; font-size: clamp(1.9rem, 4.4vw, 3.6rem); line-height: 1.06; letter-spacing: -.01em; max-width: 22ch; text-wrap: balance; }
.scrub-text .w { color: color-mix(in srgb, var(--fg) 18%, transparent); transition: color .35s; }
.scrub-text .w.lit { color: var(--fg); }

/* three options */
.options { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.option { padding: 28px 28px 36px 0; display: grid; gap: 14px; align-content: start; }
.option + .option { padding-left: 28px; border-left: 1px solid var(--rule); }
.option h3 { font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.option p { font-family: var(--display); font-weight: 650; font-variation-settings: "wdth" 88; font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.12; }
.option.us h3 { color: var(--teal); }
.option.us p { color: var(--fg); }
.option:not(.us) p { color: var(--fg-2); }
@media (max-width: 800px) { .options { grid-template-columns: 1fr; } .option, .option + .option { padding: 24px 0; border-left: 0; border-top: 1px solid var(--rule); } }

/* built-in: sticky scene + steps */
.built { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); }
.steps { display: grid; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding-block: 24px; opacity: .3; transition: opacity .5s; }
.step.on { opacity: 1; }
.step .label { color: var(--cyan); }
.step h3 { font-size: clamp(2.2rem, 4.8vw, 4rem); }
.step p { font-size: 1.12rem; color: var(--fg-2); max-width: 40ch; }
.scene { position: sticky; top: 12vh; height: 76vh; display: grid; place-items: center; }
.scene svg { width: 100%; height: 100%; max-height: 560px; overflow: visible; }
.mate { transition: transform 1s var(--ease); }
.mate rect { fill: var(--mate); stroke: transparent; stroke-width: 3; transition: fill .6s, stroke .6s; }
.mate .eye { fill: var(--bg); transition: fill .7s; }
.mate .happy { fill: none; stroke: var(--night); stroke-width: 3; stroke-linecap: round; opacity: 0; transition: opacity .5s; }
.tp { transition: transform 1.1s var(--ease); }
.tp rect { fill: var(--cyan); }
.tp path { fill: none; stroke: var(--snow); stroke-width: 3; }
.link { stroke: var(--cyan); stroke-width: 2; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease), opacity .6s; }
.mesh { stroke: var(--teal); stroke-width: 2; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease) .2s; }
.tool { opacity: 0; transition: opacity .5s, transform .8s var(--ease); }
.tool rect { fill: var(--night-2); stroke: var(--rule); }
.tool text { font: 500 13px var(--mono); fill: var(--snow); }
.tool .tick { fill: var(--cyan); }
.callout { font: 500 14px var(--mono); fill: var(--cyan); opacity: 0; transition: opacity .6s .5s; }
.scene[data-step="1"] .link { stroke-dashoffset: 0; }
.scene[data-step="1"] .tool, .scene[data-step="2"] .tool { opacity: 1; }
.scene[data-step="2"] .link { stroke-dashoffset: 0; opacity: .18; }
.scene[data-step="2"] .mesh { stroke-dashoffset: 0; }
.scene[data-step="2"] .mate rect { fill: var(--sky); stroke: var(--cyan); }
.scene[data-step="2"] .mate .eye { fill: transparent; }
.scene[data-step="2"] .mate .happy { opacity: 1; }
.scene[data-step="2"] .callout { opacity: 1; }
@media (max-width: 900px) {
  .built { grid-template-columns: 1fr; }
  .scene { top: 64px; height: 46vh; order: -1; z-index: 2; background: var(--bg); }
  .step { min-height: 60vh; }
}

/* pipe */
.pipe { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 90px); align-items: center; padding-block: 24px; }
.pipe canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.col { position: relative; display: grid; gap: 10px; }
.col .label { margin-bottom: 6px; }
.chip { justify-self: start; font: 500 15px var(--body); padding: 10px 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--rule); }
.col.out { justify-items: end; }
.col.out .label { justify-self: end; }
.col.out .chip { justify-self: end; border-color: color-mix(in srgb, var(--cyan) 45%, transparent); }
.engine { position: relative; padding: 38px 30px; display: grid; gap: 4px; text-align: center; }
.engine b { position: absolute; width: 28px; height: 28px; border: 0 solid var(--cyan); }
.engine .e1 { left: 0; top: 0; border-left-width: 4px; border-top-width: 4px; }
.engine .e2 { right: 0; top: 0; border-right-width: 4px; border-top-width: 4px; }
.engine .e3 { left: 0; bottom: 0; border-left-width: 4px; border-bottom-width: 4px; }
.engine .e4 { right: 0; bottom: 0; width: 14px; height: 14px; background: var(--coral); border: 0; }
.engine .label { margin-bottom: 10px; }
.engine span { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 70; font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1; text-transform: lowercase; }
.loop { margin-top: 36px; display: flex; align-items: center; gap: 16px; color: var(--fg-2); font-size: 1.05rem; }
.loop svg { width: 46px; height: 46px; flex: none; animation: spin 7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .pipe { grid-template-columns: 1fr; }
  .pipe canvas { display: none; }
  .col.out { justify-items: start; } .col.out .label, .col.out .chip { justify-self: start; }
  .engine::before, .engine::after { content: "↓"; position: absolute; left: 50%; color: var(--cyan); font-size: 22px; }
  .engine::before { top: -26px; } .engine::after { bottom: -30px; }
}

/* resilient */
.res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.res article { border: 1px solid var(--rule); border-radius: 18px; padding: 26px; display: grid; gap: 12px; align-content: start; background: color-mix(in srgb, var(--card) 70%, transparent); }
.res h3 { font-size: 1.55rem; font-weight: 750; font-variation-settings: "wdth" 84; line-height: 1.1; }
.res p { color: var(--fg-2); }
.res .ico { width: 36px; height: 36px; }
@media (max-width: 860px) { .res { grid-template-columns: 1fr; } }

/* what we build: windows on painterly colour */
.builds { display: grid; gap: clamp(56px, 8vw, 110px); }
.build { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.build:nth-child(2) .copy { order: 2; }
.build .copy { display: grid; gap: 16px; }
.build .copy .label { color: var(--teal); }
.build h3 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
.build p { color: var(--fg-2); font-size: 1.1rem; max-width: 42ch; }
.canvas-art { position: relative; border-radius: 26px; padding: clamp(20px, 4vw, 48px); overflow: hidden; isolation: isolate; }
.canvas-art::before { content: ""; position: absolute; inset: -30%; z-index: -1; background:
  radial-gradient(40% 45% at 22% 30%, var(--sky) 0%, transparent 70%),
  radial-gradient(38% 40% at 80% 24%, var(--cyan) 0%, transparent 70%),
  radial-gradient(45% 50% at 70% 85%, var(--teal) 0%, transparent 70%),
  radial-gradient(30% 35% at 18% 88%, var(--coral) 0%, transparent 70%),
  #DDF3FC; filter: saturate(1.05); animation: drift 18s ease-in-out infinite alternate; }
.canvas-art.warm::before { background:
  radial-gradient(40% 45% at 75% 25%, #FFD2C4 0%, transparent 70%),
  radial-gradient(38% 45% at 20% 30%, var(--cyan) 0%, transparent 70%),
  radial-gradient(45% 50% at 30% 90%, var(--teal) 0%, transparent 72%),
  radial-gradient(30% 35% at 88% 80%, var(--coral) 0%, transparent 70%),
  #E9F6FB; }
@keyframes drift { to { transform: translate(6%, -4%) rotate(8deg) scale(1.08); } }
.win { background: #FFFFFF; color: var(--ink); border-radius: 14px; box-shadow: 0 30px 60px -24px rgba(18, 24, 32, .45), 0 0 0 1px rgba(18, 24, 32, .06); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid #E8ECEF; font-family: var(--mono); font-size: 11.5px; color: #85909B; }
.win-bar i { width: 8px; height: 8px; background: #D5DBE0; }
.win-bar i:first-child { background: var(--cyan); }
.win-bar span { margin-left: auto; }
.win-body { padding: 18px; display: grid; gap: 14px; }
.dash-bars { display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: 10px; height: 150px; padding-top: 6px; border-bottom: 1px solid #E8ECEF; }
.dash-bars div { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; height: 100%; }
.dash-bars s { display: block; border-radius: 3px 3px 0 0; transform-origin: bottom; transform: scaleY(.05); transition: transform 1s var(--ease); }
.dash-on .dash-bars s { transform: scaleY(1); }
.dash-x { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; font-family: var(--mono); font-size: 10.5px; color: #85909B; text-align: center; }
.insight { font-size: 14.5px; line-height: 1.5; min-height: 4.6em; }
.insight b { font-weight: 600; }
.caret::after { content: ""; display: inline-block; width: 7px; height: 1em; background: var(--cyan); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.kv { display: grid; gap: 0; font-size: 14px; }
.kv div { display: grid; grid-template-columns: 9em minmax(0, 1fr) 18px; gap: 10px; align-items: center; padding-block: 9px; border-top: 1px solid #EEF1F3; }
.kv dt { color: #85909B; font-size: 13px; }
.kv dd { margin: 0; font-weight: 500; min-height: 1.3em; }
.kv .ok { width: 16px; height: 16px; border-radius: 50%; background: #13805B; color: #fff; display: grid; place-items: center; font-size: 10px; opacity: 0; transform: scale(.4); transition: all .35s var(--ease); }
.kv .ok.on { opacity: 1; transform: none; }
.status { justify-self: start; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; padding: 5px 10px; border-radius: 999px; border: 1px solid #D5DBE0; color: #85909B; transition: all .4s; }
.status.ready { border-color: #13805B; color: #13805B; background: #E7F5EF; }
.example { font-family: var(--mono); font-size: 11px; color: var(--fg-3); margin-top: 12px; }
.canvas-art .example { color: rgba(18, 24, 32, .62); }
.both { margin-top: clamp(48px, 7vw, 90px); font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 82; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; max-width: 26ch; }
@media (max-width: 860px) { .build { grid-template-columns: 1fr; } .build:nth-child(2) .copy { order: 0; } }

/* journey map */
.jm { border: 1px solid var(--rule); border-radius: 22px; background: var(--card); padding: clamp(18px, 3vw, 34px); }
.jm-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; align-items: baseline; margin-bottom: 8px; }
.jm-top h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 750; font-variation-settings: "wdth" 84; }
.jm svg { width: 100%; height: auto; display: block; }
.jm .curve { fill: none; stroke: var(--ink); stroke-width: 3; }
.jm .curve-fill { fill: url(#jmGrad); }
.jm .stage-line { stroke: var(--rule); stroke-dasharray: 3 6; }
.jm .stage-name { font: 600 14px var(--body); fill: var(--fg-3); text-transform: lowercase; }
.jm .stage-name.on { fill: var(--fg); }
.jm .runner { fill: var(--cyan); stroke: #fff; stroke-width: 4; }
.jm .ring { fill: none; stroke: var(--cyan); stroke-width: 2; opacity: .5; }
.scrub-row { margin: 4px 0 22px; display: flex; gap: 14px; align-items: center; }
.scrub-row label { font-family: var(--mono); font-size: 12px; color: var(--fg-3); white-space: nowrap; }
input[type="range"] { flex: 1; min-width: 0; accent-color: var(--cyan); }
.detail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.detail > div { background: var(--paper); border-radius: 14px; padding: 16px 18px; min-width: 0; }
.detail h4 { margin-bottom: 8px; font: 500 11.5px var(--mono); letter-spacing: .05em; color: var(--fg-3); text-transform: lowercase; }
.detail .quote { font-family: var(--display); font-weight: 650; font-variation-settings: "wdth" 84; font-size: 1.4rem; line-height: 1.15; }
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 7.5em minmax(0, 1fr) 2.4em; gap: 8px; align-items: center; font-size: 13.5px; }
.bar .track { height: 8px; background: rgba(27, 34, 41, .08); border-radius: 99px; overflow: hidden; }
.bar .track i { display: block; height: 100%; background: var(--teal); border-radius: 99px; transition: width .45s var(--ease); }
.bar .v { font-family: var(--mono); font-size: 11.5px; color: var(--fg-3); text-align: right; }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; } }

/* proof / practices */
.practices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.practice { position: relative; padding: 30px 28px 34px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: grid; gap: 12px; align-content: start; min-width: 0; }
.practice::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 7px; height: 7px; background: var(--fg); }
.practice .label { color: var(--teal); }
.practice h3 { font-size: 1.5rem; font-weight: 750; font-variation-settings: "wdth" 84; line-height: 1.12; }
.practice p { color: var(--fg-2); font-size: 15.5px; }
.practice:hover::after { background: var(--cyan); }
@media (max-width: 900px) { .practices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .practices { grid-template-columns: 1fr; } }
.shout { margin-top: clamp(64px, 9vw, 120px); font-size: clamp(3rem, 9vw, 8.4rem); }
.shout .scrub-text { font: inherit; max-width: none; letter-spacing: inherit; line-height: inherit; }

/* footer */
footer { position: relative; overflow: hidden; padding-block: clamp(90px, 12vw, 160px) 36px; }
footer .field { -webkit-mask-image: radial-gradient(ellipse 80% 70% at 85% 100%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse 80% 70% at 85% 100%, #000 20%, transparent 70%); }
footer .wrap { position: relative; }
.foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.foot h2 { font-size: clamp(3.4rem, 10vw, 9rem); }
.foot p { margin-top: 18px; color: var(--fg-2); font-size: 1.12rem; max-width: 44ch; }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 16px var(--body); text-decoration: none; color: var(--paper); background: var(--ink); border-radius: 999px; padding: 15px 22px; }
.btn svg { width: 17px; height: 17px; fill: currentColor; }
.foot-actions { display: grid; gap: 12px; justify-items: end; }
.sign { margin-top: clamp(64px, 9vw, 120px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 22px; border-top: 1px solid var(--rule); }
.sign .big-logo { width: clamp(220px, 34vw, 440px); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 15px; color: var(--fg-2); }
.facts span b { font-weight: 600; color: var(--fg); }
.legal { margin-top: 18px; font-size: 13px; color: var(--fg-3); }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr; } .foot-actions { justify-items: start; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--paper); padding: 13px 18px; border-radius: 12px; font-size: 14.5px; transition: opacity .25s, transform .25s; z-index: 70; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .step { opacity: 1; }
}

/* faq */
.qas { display: grid; border-top: 1px solid var(--rule); max-width: 980px; }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 86; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.2; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { font-style: normal; font-family: var(--mono); font-size: 22px; color: var(--cyan); transition: transform .3s var(--ease); flex: none; }
.qa[open] summary i { transform: rotate(45deg); }
.qa p { padding: 0 0 24px; max-width: 64ch; color: var(--fg-2); font-size: 1.08rem; }
.legal a { color: inherit; }
