/* Yarigai. Cool white paper, near-black ink, jade for the work we build, mint glass in the hero, red pen for the busywork we strike out. */

:root {
  --bg: #F6F7F5;
  --bg-2: #EDF0EC;
  --bg-3: #E2E7E2;
  --white: #FFFFFF;
  --ink: #0D1110;
  --ink-2: #39403E;
  --mute: #6A7370;
  --line: #DCE1DD;
  --line-2: #C6CDC8;
  --jade: #0E8F6A;
  --jade-ink: #0A7454;
  --mint: #5FE0B2;
  --mint-soft: #D3F2E6;
  --pen: #E5482C;

  --night: #0A1D18;
  --night-2: #10281F;
  --night-line: #1F3B33;
  --night-text: #E6EFEB;
  --night-mute: #8DA69E;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --pixel: "Geist Pixel", "Geist Mono", ui-monospace, Menlo, monospace;

  --wrap: 1360px;
  --gut: clamp(16px, 4vw, 48px);
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --dots: radial-gradient(rgba(13, 17, 16, .09) 1px, transparent 1.3px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; }
p { margin: 0; }
em, i, cite, address { font-style: normal; }
ol, ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--mint); }
:focus-visible { outline: 2px solid var(--jade); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font: 500 15px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), translate .25s var(--ease);
}
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--jade); }
.btn-line { border: 1px solid var(--line-2); color: var(--ink); background: rgba(255, 255, 255, .6); }
.btn-line:hover { border-color: var(--ink); background: var(--white); }
.arr { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: translate .3s var(--ease); }
.btn:hover .arr, .case-link:hover .arr { translate: 3px 0; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease); }
.nav.scrolled { background: rgba(246, 247, 245, .82); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-bottom-color: var(--line); }
.nav.on-dark { background: rgba(10, 29, 24, .84); border-bottom-color: var(--night-line); color: var(--night-text); }
.nav.on-dark .brand-name { color: var(--night-text); }
.nav.on-dark .brand-mark { filter: invert(1) hue-rotate(180deg) brightness(1.1); }
.nav.on-dark .nav-links a { color: var(--night-mute); }
.nav.on-dark .nav-links a:hover { color: var(--night-text); }
.nav.on-dark .nav-cta { background: var(--mint); color: var(--night); }
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font: 600 22px/1 var(--sans); letter-spacing: -.045em; color: var(--ink); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 15px; color: var(--ink-2); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; }
.menu { display: none; }

/* ---------- section scaffolding ---------- */
.sec { padding: clamp(96px, 12vw, 160px) 0; position: relative; }
.label { display: flex; align-items: baseline; gap: 12px; font: 500 14px/1.2 var(--sans); color: var(--mute); margin-bottom: 24px; }
.label b { font: 500 13px/1 var(--mono); color: var(--jade-ink); }
.h2 { font: 600 clamp(36px, 4.6vw, 66px)/1.02 var(--sans); letter-spacing: -.045em; color: var(--ink); text-wrap: balance; max-width: 15ch; }
.h2 em { color: var(--mute); }
.sec-head { margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.sec-head-split .h2 { max-width: 14ch; }
.sec-lede { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 44ch; }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; will-change: transform; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(22px, 4vh, 44px)); padding-bottom: 32px; overflow: hidden; background: linear-gradient(180deg, var(--white) 0%, var(--bg) 46%, var(--bg) 100%); }
.field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero-head { position: relative; z-index: 3; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-pill { display: inline-flex; flex-wrap: wrap; justify-content: center; padding: 7px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .75); font: 400 14px/1.35 var(--sans); color: var(--ink-2); }
.hero-pill b { font-weight: 600; color: var(--ink); }
.hero-note { margin-top: 14px; font: 400 12.5px var(--mono); color: var(--mute); }
.hero-h1 { margin-top: 18px; font: 600 clamp(44px, 5.6vw, 84px)/1 var(--sans); letter-spacing: -.055em; color: var(--ink); }
.hero-h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-h1 .ln > span { display: block; }
.hero-type { margin-top: 10px; min-height: 1.2em; font: 400 clamp(24px, 2.9vw, 42px)/1.2 var(--pixel); color: var(--mute); letter-spacing: -.01em; white-space: nowrap; }
.ht-word { color: var(--ink); }
.ht-caret { display: inline-block; width: .08em; min-width: 3px; height: .9em; margin-left: .08em; vertical-align: -.08em; background: var(--jade); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero-sub { margin-top: 16px; max-width: 54ch; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.hero-ctas { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.stage { position: relative; z-index: 2; height: 470px; max-width: var(--wrap); margin: -6px auto 0; }
.stage::before { content: ""; position: absolute; left: 50%; top: 46%; width: 760px; height: 520px; translate: -50% -50%; background: radial-gradient(closest-side, rgba(95, 224, 178, .26), rgba(95, 224, 178, .08) 55%, transparent); pointer-events: none; }
.orb { position: absolute; left: 50%; top: 0; width: 460px; height: 460px; translate: -50% 0; }
#rings { position: relative; z-index: 1; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s var(--ease); }
.orb-fallback { position: absolute; inset: 24%; width: 52%; height: 52%; color: var(--ink); transition: opacity .6s; }
.orb.ready #rings { opacity: 1; }
.orb.ready .orb-fallback { opacity: 0; }
.orb-shadow { position: absolute; left: 50%; bottom: 46px; width: 50%; height: 30px; translate: -50% 0; background: radial-gradient(closest-side, rgba(13, 17, 16, .16), transparent); pointer-events: none; }

.beams { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.beams path { fill: none; stroke: var(--line-2); stroke-width: 1; transition: stroke .5s var(--ease); }
.beams path.on { stroke: rgba(14, 143, 106, .55); }
.beams .pulse { fill: var(--jade); }

.agent { position: absolute; left: var(--gut); top: 56px; width: 320px; z-index: 3; padding: 16px 18px 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 24px 50px -36px rgba(13, 17, 16, .45); text-align: left; }
.ag-top { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ag-icon { flex: none; width: 38px; height: 38px; border-radius: 10px; background-color: var(--ink); background-image: linear-gradient(90deg, rgba(255,255,255,.14) 50%, transparent 50%), linear-gradient(rgba(255,255,255,.14) 50%, transparent 50%); background-size: 8px 8px; position: relative; transition: background-color .5s var(--ease); }
.ag-icon::after { content: ""; position: absolute; inset: 13px; border-radius: 2px; background: var(--mint); }
.ag-name { font: 600 16px/1.2 var(--sans); color: var(--ink); letter-spacing: -.02em; }
.ag-role { margin-top: 2px; font: 400 12px/1.2 var(--mono); color: var(--mute); }
.ag-steps { padding-top: 6px; min-height: 148px; }
.ag-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); font: 400 11px var(--mono); color: var(--mute); }
.ag-foot span:first-child { color: var(--jade-ink); }
.ag-steps li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font: 400 13px/1.35 var(--mono); color: var(--mute); transition: color .3s, opacity .3s; }
.ag-steps li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--line-2); transition: background-color .3s; }
.ag-steps li span { flex: 1; }
.ag-steps li::after { content: ""; flex: none; width: 12px; height: 8px; border-left: 2px solid transparent; border-bottom: 2px solid transparent; rotate: -45deg; translate: 0 -2px; transition: border-color .3s; }
.ag-steps li.active { color: var(--ink); }
.ag-steps li.active::before { background: var(--jade); animation: caret .8s steps(1) infinite; }
.ag-steps li.done { color: var(--ink-2); }
.ag-steps li.done::before { background: var(--ink); }
.ag-steps li.done::after { border-color: var(--jade); }

.tools { position: absolute; right: var(--gut); top: 30px; bottom: 80px; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; font: 400 13px/1 var(--mono); color: var(--mute); }
.tools li { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid transparent; border-radius: 8px; transition: color .4s, border-color .4s, background-color .4s; }
.tools li::before { content: ""; width: 5px; height: 5px; background: var(--line-2); transition: background-color .4s; }
.tools li.on { color: var(--ink); border-color: var(--line); background: rgba(255, 255, 255, .85); }
.tools li.on::before { background: var(--jade); }

.result { position: absolute; left: 50%; bottom: 8px; translate: -50% 0; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font: 400 13px/1 var(--mono); color: var(--ink); white-space: nowrap; box-shadow: 0 14px 30px -24px rgba(13, 17, 16, .5); transition: opacity .35s, translate .35s var(--ease); }
.result.hide { opacity: 0; translate: -50% 6px; }
.r-tick { width: 12px; height: 7px; border-left: 2px solid var(--jade); border-bottom: 2px solid var(--jade); rotate: -45deg; translate: 0 -2px; }

.proof-title { margin-top: 40px; text-align: center; font: 400 12.5px var(--mono); color: var(--mute); }
.clients { margin-top: 16px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); position: relative; z-index: 2; }
.clients li { padding: 18px 16px 4px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); }
.clients li:first-child { padding-left: 0; }
.clients li:last-child { border-right: 0; }
.cl-name { font: 600 18px/1.15 var(--sans); color: var(--ink); letter-spacing: -.03em; }
.cl-what { font-size: 13px; line-height: 1.4; color: var(--mute); }

/* ---------- last week ---------- */
.week-list { border-top: 1px solid var(--line); counter-reset: wk; }
.wk { display: grid; grid-template-columns: 52px minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); counter-increment: wk; }
.wk::before { content: counter(wk, decimal-leading-zero); font: 400 13px var(--mono); color: var(--mute); }
.wk-task { position: relative; justify-self: start; font: 500 clamp(22px, 2.4vw, 34px)/1.18 var(--sans); color: var(--ink); letter-spacing: -.03em; transition: color .4s; }
.wk-task svg { position: absolute; left: -6px; top: 0; width: calc(100% + 12px); height: 100%; overflow: visible; pointer-events: none; }
.wk-task svg path { fill: none; stroke: var(--pen); stroke-width: 2.6; stroke-linecap: round; }
.wk-fix { font: 500 16px/1.4 var(--sans); color: var(--jade-ink); padding-left: 26px; position: relative; }
.wk-fix::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; background: var(--jade); }
.week-foot { margin-top: 32px; font: 500 20px/1.4 var(--sans); color: var(--ink); letter-spacing: -.02em; max-width: 42ch; }

/* ---------- explorer ---------- */
.build { background-color: var(--bg-2); background-image: var(--dots); background-size: 16px 16px; }
.explorer { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ex-tabs { display: flex; flex-direction: column; position: sticky; top: calc(var(--nav-h) + 32px); border-top: 1px solid var(--line-2); }
.ex-tabs button { display: flex; align-items: baseline; gap: 16px; text-align: left; padding: 15px 0; border-bottom: 1px solid var(--line-2); font: 600 clamp(22px, 2.2vw, 30px)/1.1 var(--sans); letter-spacing: -.035em; color: var(--mute); transition: color .25s; }
.ex-tabs button i { font: 400 12px var(--mono); color: var(--mute); min-width: 22px; letter-spacing: 0; transition: color .25s; }
.ex-tabs button:hover { color: var(--ink-2); }
.ex-tabs button[aria-selected="true"] { color: var(--ink); }
.ex-tabs button[aria-selected="true"] i { color: var(--jade-ink); }
.ex-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ex-panel[hidden] { display: none; }
.bx { padding: 26px 26px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: border-color .3s, translate .3s var(--ease); }
.bx:hover { border-color: var(--line-2); translate: 0 -2px; }
.bx h3 { font: 600 21px/1.2 var(--sans); letter-spacing: -.03em; margin-bottom: 10px; color: var(--ink); }
.bx p { font-size: 15.5px; line-height: 1.55; }
.bx .bx-tools { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font: 400 12px/1.5 var(--mono); color: var(--mute); }

/* ---------- work ---------- */
.work { padding-bottom: clamp(80px, 10vw, 140px); }
.cases { position: relative; }
.case { position: sticky; top: var(--nav-h); background: var(--bg); border-top: 1px solid var(--line); min-height: calc(100svh - var(--nav-h)); display: flex; align-items: center; transform-origin: 50% 0; }
.case-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: 44px; padding-bottom: 56px; }
.case-meta { display: flex; align-items: center; gap: 10px; font: 500 14px var(--sans); color: var(--mute); margin-bottom: 20px; }
.case-n { font: 500 13px var(--mono); color: var(--jade-ink); }
.dot { width: 4px; height: 4px; background: var(--line-2); }
.case-title { font: 600 clamp(28px, 3vw, 44px)/1.06 var(--sans); letter-spacing: -.045em; text-wrap: balance; }
.case-text { margin-top: 18px; font-size: 17px; max-width: 46ch; }
.figs { margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fig { padding: 16px 16px 0 0; }
.fig + .fig { padding-left: 16px; border-left: 1px solid var(--line); }
.fig-n { font: 400 clamp(28px, 2.7vw, 40px)/1 var(--pixel); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fig dd { margin: 8px 0 0; font-size: 13px; line-height: 1.35; color: var(--mute); }
.case-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font: 500 15px var(--sans); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; }
.case-link:hover { border-color: var(--ink); }
.case-media { position: relative; padding: 32px 15% 32px 32px; border-radius: 22px; background-color: var(--tint, var(--bg-2)); background-image: radial-gradient(var(--tint-dot, rgba(13,17,16,.08)) 1px, transparent 1.3px); background-size: 14px 14px; }
.tint-380 { --tint: #17122A; --tint-dot: rgba(255, 255, 255, .07); }
.tint-mock { --tint: #E4EAF6; }
.tint-out { --tint: #EAF3D2; }
.tint-fight { --tint: #1E0E12; --tint-dot: rgba(255, 255, 255, .07); }
.tint-bball { --tint: #24160A; --tint-dot: rgba(255, 200, 140, .08); }
.tint-fire { --tint: #F3E1D2; }
.browser { border: 1px solid rgba(13, 17, 16, .14); border-radius: 12px; overflow: hidden; background: var(--white); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .5); }
.browser-bar { height: 32px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); font: 400 11.5px var(--mono); color: var(--mute); background: #F3F5F3; }
.browser-bar span { padding: 3px 12px; border-radius: 6px; background: var(--white); border: 1px solid var(--line); }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.browser-app { border-color: rgba(255, 255, 255, .12); background: #000; }
.phone { position: absolute; right: 4%; bottom: -24px; width: 23%; border-radius: 24px; border: 5px solid #0B0D0C; background: #0B0D0C; overflow: hidden; box-shadow: 0 30px 50px -26px rgba(0, 0, 0, .6); }
.phone img { width: 100%; aspect-ratio: 390 / 780; object-fit: cover; object-position: top; border-radius: 19px; }

/* ---------- calculator ---------- */
.calc { background-color: var(--bg-2); background-image: var(--dots); background-size: 16px 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calc-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.calc .h2 { max-width: 12ch; }
.calc .sec-lede { margin-top: 22px; }
.sliders { margin-top: 40px; display: grid; gap: 28px; }
.sl { display: block; }
.sl-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; color: var(--ink-2); margin-bottom: 12px; }
.sl-top output { font: 400 24px/1 var(--pixel); color: var(--ink); font-variant-numeric: tabular-nums; }
.sl input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; margin: 0; --fill: 10%; }
.sl input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(to right, var(--ink) var(--fill), var(--line-2) var(--fill)); }
.sl input[type="range"]::-moz-range-track { height: 3px; background: var(--line-2); }
.sl input[type="range"]::-moz-range-progress { height: 3px; background: var(--ink); }
.sl input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 5px; background: var(--white); border: 2px solid var(--ink); margin-top: -8.5px; transition: background-color .2s; }
.sl input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 5px; background: var(--white); border: 2px solid var(--ink); }
.sl input[type="range"]:active::-webkit-slider-thumb { background: var(--mint); }
.calc-right { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.calc-n { font: 400 clamp(56px, 7.4vw, 112px)/.95 var(--pixel); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-t { margin-top: 14px; font: 500 20px/1.3 var(--sans); color: var(--jade-ink); letter-spacing: -.02em; }
.calc-sub { margin-top: 12px; font-size: 16px; color: var(--ink-2); }
.calc-right .btn { margin-top: 30px; white-space: normal; text-align: left; height: auto; min-height: 54px; padding-top: 12px; padding-bottom: 12px; }

/* ---------- dark sections ---------- */
.dark { background-color: var(--night); color: var(--night-mute); }
.dark .h2, .dark h3 { color: var(--night-text); }
.dark .h2 em { color: var(--night-mute); }
.dark .label { color: var(--night-mute); }
.dark .label b { color: var(--mint); }
.dark .sec-lede { color: var(--night-mute); }
.how { background-image: radial-gradient(rgba(95, 224, 178, .07) 1px, transparent 1.3px); background-size: 16px 16px; }

.log { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-bottom: clamp(72px, 9vw, 120px); }
.log-h { font: 600 clamp(26px, 2.6vw, 36px)/1.1 var(--sans); letter-spacing: -.04em; margin-bottom: 16px; }
.log-copy p { font-size: 17px; line-height: 1.6; color: var(--night-mute); max-width: 42ch; }
.log-copy .log-note { margin-top: 16px; font: 400 13px var(--mono); color: #6F8A82; }
.receipt { background: var(--white); color: var(--ink-2); border-radius: 6px; padding: 26px clamp(18px, 3vw, 32px) 22px; position: relative; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .8); }
.receipt::before, .receipt::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; background: radial-gradient(circle at 6px -2px, var(--night) 5px, transparent 5.5px) 0 0 / 12px 8px repeat-x; }
.receipt::before { top: 0; }
.receipt::after { bottom: 0; transform: scaleY(-1); }
.r-head { display: flex; justify-content: space-between; padding: 6px 0 14px; border-bottom: 1px dashed var(--line-2); font: 500 14px var(--sans); color: var(--ink); }
.r-head span:last-child { color: var(--mute); font-weight: 400; }
.r-lines li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.r-lines time { font: 400 12.5px/1.75 var(--mono); color: var(--mute); }
.r-lines li > span { color: var(--ink); }
.r-btns { display: inline-flex; gap: 6px; margin-left: 10px; vertical-align: 1px; }
.r-btns b { font: 500 12px/1 var(--sans); padding: 5px 9px; border-radius: 5px; border: 1px solid var(--line-2); color: var(--ink-2); transition: background-color .25s, color .25s, border-color .25s; }
.r-btns .r-ok { background: var(--ink); border-color: var(--ink); color: var(--white); }
.r-btns .r-ok.pressed { background: var(--jade); border-color: var(--jade); }
.r-done > span { color: var(--jade-ink) !important; }
.r-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; font: 500 15px var(--sans); color: var(--ink); }
.r-foot span:last-child { color: var(--mute); font-weight: 400; }

.rules { border-top: 1px solid var(--night-line); }
.rule { display: grid; grid-template-columns: 72px minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--night-line); }
.rule-n { font: 400 24px var(--pixel); color: var(--mint); }
.rule h3 { font: 600 clamp(24px, 2.4vw, 34px)/1.12 var(--sans); letter-spacing: -.04em; }
.rule p { font-size: 17px; line-height: 1.6; color: var(--night-mute); max-width: 52ch; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); position: relative; }
.step { padding: 30px 28px 0 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-n { display: block; font: 400 clamp(44px, 4.6vw, 64px)/1 var(--pixel); color: var(--ink); margin-bottom: 24px; }
.step h3 { font: 600 24px/1.15 var(--sans); letter-spacing: -.035em; }
.step-time { margin-top: 8px; font: 400 13px/1.4 var(--mono); color: var(--jade-ink); }
.step p:last-child { margin-top: 14px; font-size: 16px; line-height: 1.55; }
.steps-progress { position: absolute; left: 0; top: -2px; height: 3px; background: var(--jade); width: 0; }

/* ---------- how we charge ---------- */
.pricing { padding-top: clamp(24px, 4vw, 56px); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.plan { padding: 32px 30px 34px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.plan:nth-child(2) { background: var(--ink); border-color: var(--ink); color: var(--night-mute); }
.plan:nth-child(2) h3, .plan:nth-child(2) .plan-price { color: var(--white); }
.plan:nth-child(2) .plan-cad { color: var(--mint); }
.plan:nth-child(2) ul, .plan:nth-child(2) li { border-color: rgba(255, 255, 255, .12); color: var(--night-text); }
.plan h3 { font: 600 24px/1.1 var(--sans); letter-spacing: -.035em; }
.plan-price { margin-top: 22px; font: 400 clamp(40px, 4vw, 56px)/1 var(--pixel); color: var(--ink); }
.plan-cad { margin-top: 10px; font: 400 13px var(--mono); color: var(--jade-ink); }
.plan-desc { margin-top: 20px; font-size: 16px; line-height: 1.55; min-height: 4.65em; }
.plan ul { margin-top: 22px; border-top: 1px solid var(--line); }
.plan li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); font-size: 15px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: calc(11px + .55em); width: 7px; height: 7px; background: var(--jade); }
.plan:nth-child(2) li::before { background: var(--mint); }

/* ---------- founder ---------- */
.founder { background: var(--bg-2); border-top: 1px solid var(--line); }
.founder-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.founder-media { position: relative; }
.ph { margin: 0; overflow: hidden; border-radius: 18px; }
.ph img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.founder-copy > p:not(.label) { margin-top: 20px; font-size: 18px; line-height: 1.6; max-width: 54ch; }
.founder-copy .h2 { max-width: 15ch; margin-bottom: 8px; }
.pull { margin: 36px 0 0; padding: 22px 26px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.pull p { font: 500 clamp(20px, 1.9vw, 26px)/1.35 var(--sans); color: var(--ink); letter-spacing: -.025em; }
.pull cite { display: block; margin-top: 12px; font: 400 13px var(--mono); color: var(--mute); }
.figs-3 { margin-top: 40px; }

/* ---------- faq ---------- */
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq-head .sec-lede { margin-top: 22px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font: 500 clamp(18px, 1.7vw, 22px)/1.3 var(--sans); color: var(--ink); letter-spacing: -.025em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; transition: rotate .3s var(--ease); color: var(--mute); }
.faq-list details[open] summary::after { rotate: 45deg; color: var(--jade); }
.faq-list summary:hover { color: var(--jade-ink); }
.ans p { padding: 0 0 24px; font-size: 17px; line-height: 1.6; max-width: 62ch; }

/* ---------- book ---------- */
.book { background-image: radial-gradient(rgba(95, 224, 178, .07) 1px, transparent 1.3px); background-size: 16px 16px; }
.book-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.book .h2 { max-width: 12ch; }
.book-lede { margin-top: 24px; font-size: 19px; line-height: 1.55; color: var(--night-text); max-width: 42ch; }
.book-list { margin-top: 32px; border-top: 1px solid var(--night-line); }
.book-list li { display: flex; gap: 18px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--night-line); font-size: 17px; color: var(--night-text); }
.book-list span { font: 400 18px var(--pixel); color: var(--mint); }
.book-alt { margin-top: 28px; font-size: 15px; }
.book-alt a { color: var(--night-text); text-underline-offset: 4px; text-decoration-color: var(--night-line); }
.book-alt a:hover { text-decoration-color: var(--mint); }
.cal-frame { position: relative; background: var(--bg); border-radius: 18px; overflow: hidden; min-height: 720px; }
.calendly-inline-widget { min-width: 300px; height: 720px; position: relative; z-index: 1; }
.calendly-inline-widget iframe { display: block; }
.cal-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center; color: var(--mute); font-size: 15px; z-index: 0; }
.cal-done { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--night-line); border-radius: 12px; color: var(--night-text); font-size: 16px; }

/* ---------- footer ---------- */
.foot { padding: clamp(72px, 8vw, 112px) 0 32px; border-top: 1px solid var(--night-line); overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-brand { display: flex; gap: 18px; align-items: flex-start; max-width: 460px; }
.foot-line { font: 600 26px/1.15 var(--sans); color: var(--night-text); letter-spacing: -.04em; }
.foot-line span { color: var(--mint); }
.foot-why { margin-top: 14px; font-size: 15px; color: var(--night-mute); }
.foot-nav { display: flex; gap: clamp(32px, 6vw, 96px); }
.foot-nav div { display: flex; flex-direction: column; gap: 10px; }
.foot-nav h4 { font: 400 12.5px var(--mono); color: var(--night-mute); margin-bottom: 6px; }
.foot-nav a { color: var(--night-text); text-decoration: none; font-size: 15px; }
.foot-nav a:hover { color: var(--mint); }
.foot-word { margin: clamp(48px, 7vw, 88px) 0 0; font: 400 clamp(90px, 22vw, 330px)/.8 var(--pixel); letter-spacing: -.03em; color: var(--night-2); white-space: nowrap; user-select: none; }
.foot-bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; }

.mcta { display: none; }

/* ---------- motion defaults (JS adds .js) ---------- */
.js .hero-h1 .ln > span { transform: translateY(105%); }
.js .hero-pill, .js .hero-type, .js .hero-sub, .js .hero-ctas, .js .hero-note, .js .agent, .js .tools, .js .result, .js .proof-title, .js .clients { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .js .hero-h1 .ln > span { transform: none; }
  .js .hero-pill, .js .hero-type, .js .hero-sub, .js .hero-ctas, .js .hero-note, .js .agent, .js .tools, .js .result, .js .proof-title, .js .clients { opacity: 1; }
  .ht-caret { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-links { gap: 20px; }
  .agent { width: 270px; top: 40px; }
  .orb { width: 420px; height: 420px; }
  .stage { height: 430px; }
  .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .clients li:nth-child(3) { border-right: 0; }
  .clients li:nth-child(4) { padding-left: 0; }
  .clients li:nth-child(n+4) { border-top: 1px solid var(--line); margin-top: 12px; }
  .case-in { grid-template-columns: 1fr; }
  .case { position: relative; min-height: 0; }
}

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 500; }
  .nav.on-dark .nav-toggle { border-color: var(--night-line); }
  .menu { display: flex; flex-direction: column; padding: 8px var(--gut) 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .menu[hidden] { display: none; }
  .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 24px var(--sans); letter-spacing: -.035em; color: var(--ink); }
  .menu .btn { margin-top: 20px; height: 52px; }
  .nav.menu-open { background: var(--bg); color: var(--ink); }
  .nav.menu-open .brand-name { color: var(--ink); }
  .nav.menu-open .brand-mark { filter: none; }

  .stage { height: auto; display: flex; flex-direction: column; align-items: center; padding: 0 var(--gut); }
  .stage::before { top: 160px; width: 520px; height: 420px; }
  .orb { position: relative; left: auto; translate: none; width: min(360px, 88vw); height: min(360px, 88vw); }
  .orb-shadow { bottom: 30px; }
  .beams, .tools { display: none; }
  .result { position: relative; left: auto; bottom: auto; translate: none; margin-top: -18px; }
  .result.hide { translate: 0 6px; }
  .agent { position: relative; left: auto; top: auto; width: 100%; max-width: 420px; margin-top: 18px; }
  .orb { order: 1; }
  .result { order: 2; }
  .agent { order: 3; }

  .sec-head-split { grid-template-columns: 1fr; gap: 22px; }
  .explorer { grid-template-columns: 1fr; }
  .ex-tabs { position: relative; top: 0; flex-direction: row; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--line-2); gap: 22px; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .ex-tabs::-webkit-scrollbar { display: none; }
  .ex-tabs button { flex: none; border-bottom: 2px solid transparent; font-size: 20px; padding: 12px 0; white-space: nowrap; }
  .ex-tabs button i { display: none; }
  .ex-tabs button[aria-selected="true"] { border-bottom-color: var(--jade); }
  .ex-panel { grid-template-columns: 1fr; padding-top: 16px; }

  .wk { grid-template-columns: 36px minmax(0, 1fr); gap: 10px 14px; }
  .wk-fix { grid-column: 2; }

  .calc-in { grid-template-columns: 1fr; }

  .rule { grid-template-columns: 40px minmax(0, 1fr); gap: 10px 14px; }
  .rule p { grid-column: 2; }

  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 32px; }

  .plans { grid-template-columns: 1fr; }
  .plan-desc { min-height: 0; }

  .founder-in, .faq-in, .book-in, .log { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .founder-media { max-width: 520px; }
  .r-lines li { grid-template-columns: 1fr; gap: 2px; }
  .r-btns { display: flex; margin: 8px 0 0; }

  .mcta { display: inline-flex; position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; height: 52px; box-shadow: 0 12px 30px -12px rgba(13, 17, 16, .5); transition: transform .4s var(--ease), opacity .3s; transform: translateY(calc(100% + 24px)); opacity: 0; }
  .mcta.show { transform: none; opacity: 1; }
  .mcta.on-dark { background: var(--mint); color: var(--night); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .8); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: calc(var(--nav-h) + 22px); }
  .hero-pill { font-size: 11.5px; padding: 6px 12px; }
  .hero-h1 { font-size: clamp(38px, 11.4vw, 54px); line-height: 1.02; }
  .hero-h1 .ln > span { white-space: normal; }
  .hero-type { font-size: clamp(20px, 6.2vw, 26px); white-space: normal; min-height: 2.5em; max-width: 16ch; }
  .hero-sub { font-size: 16.5px; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .clients { grid-template-columns: 1fr 1fr; }
  .clients li, .clients li:nth-child(4) { padding-left: 14px; border-right: 1px solid var(--line); }
  .clients li:nth-child(odd) { padding-left: 0; }
  .clients li:nth-child(2n) { border-right: 0; }
  .clients li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 12px; }
  .clients li:nth-child(3) { border-right: 1px solid var(--line); }
  .cl-name { font-size: 17px; }

  .figs { grid-template-columns: 1fr 1fr 1fr; }
  .fig { padding-right: 8px; }
  .fig + .fig { padding-left: 10px; }
  .fig-n { font-size: 24px; }
  .fig dd { font-size: 12px; }
  .case-in { padding-top: 36px; padding-bottom: 56px; gap: 30px; }
  .case-media { padding: 18px 20% 18px 18px; border-radius: 16px; }
  .phone { width: 30%; border-width: 4px; border-radius: 16px; right: 3%; }
  .phone img { border-radius: 12px; }
  .browser-bar { height: 26px; font-size: 10px; }

  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); margin-top: 28px; }
  .step:nth-child(n+3) { margin-top: 28px; }

  .calendly-inline-widget { height: 1040px; }
  .cal-frame { min-height: 1040px; border-radius: 12px; margin: 0 calc(var(--gut) * -1 + 8px); }
  .foot-top { flex-direction: column; }
  .foot-nav { flex-wrap: wrap; gap: 32px 48px; }
  .sec { padding: 88px 0; }
}

/* ---------- work with us form ---------- */
.btn-mint { background: var(--mint); color: var(--night); }
.btn-mint:hover { background: var(--white); }
.hero-pill { flex-wrap: wrap; gap: 0 6px; }
.contact-rows { margin-top: 36px; display: grid; gap: 18px; }
.contact-rows li { display: flex; gap: 14px; align-items: flex-start; }
.ci { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--night-line); border-radius: 10px; background: var(--night-2); }
.ci svg { width: 18px; height: 18px; fill: none; stroke: var(--mint); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-rows b { display: block; font: 500 15px/1.3 var(--sans); color: var(--night-text); }
.contact-rows span, .contact-rows a { font-size: 14px; color: var(--night-mute); text-decoration: none; }
.contact-rows a:hover { color: var(--mint); }

.book-form { position: relative; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--night-line); border-radius: 22px; background: rgba(16, 40, 31, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.f { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.f-wide { grid-column: 1 / -1; }
.f > span, .f legend { font: 500 14px/1.2 var(--sans); color: var(--night-text); padding: 0; }
.f legend { margin-bottom: 8px; }
.f input, .f select, .f textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--night-line); border-radius: 10px; background: #071510; color: var(--night-text); font: 400 15px/1.4 var(--sans); outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.f textarea { resize: vertical; min-height: 116px; }
.f input::placeholder, .f textarea::placeholder { color: #5E786F; }
.f select { background-image: linear-gradient(45deg, transparent 50%, var(--night-mute) 50%), linear-gradient(-45deg, transparent 50%, var(--night-mute) 50%); background-position: right 18px center, right 13px center; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; cursor: pointer; }
.f select:invalid { color: #5E786F; }
.f select option { color: var(--ink); background: var(--white); }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(95, 224, 178, .16); }
.f [aria-invalid="true"] { border-color: #F08A72; }
.budget { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.budget label { position: relative; cursor: pointer; }
.budget input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.budget span { display: block; padding: 13px 10px; text-align: center; border: 1px solid var(--night-line); border-radius: 10px; background: #071510; font: 500 14px/1.2 var(--mono); color: var(--night-text); transition: border-color .2s, background-color .2s, color .2s; }
.budget label:hover span { border-color: #2E5247; }
.budget input:checked + span { border-color: var(--mint); background: rgba(95, 224, 178, .12); color: var(--mint); }
.budget input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 2px; }
.budget.invalid span { border-color: rgba(240, 138, 114, .6); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wf-submit { width: 100%; margin-top: 24px; }
.wf-submit[disabled] { opacity: .6; cursor: progress; }
.wf-error { margin-top: 14px; padding: 12px 14px; border: 1px solid rgba(240, 138, 114, .4); border-radius: 10px; color: #F6B4A4; font-size: 14px; }
.wf-small { margin-top: 14px; font-size: 13px; color: var(--night-mute); text-align: center; }
.wf-small a { color: var(--night-text); }

.wf-done { outline: none; }
.wf-tick { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(95, 224, 178, .14); }
.wf-tick::after { content: ""; width: 16px; height: 9px; border-left: 2.5px solid var(--mint); border-bottom: 2.5px solid var(--mint); rotate: -45deg; translate: 0 -2px; }
.wf-done h3 { margin-top: 18px; font: 600 clamp(24px, 2.4vw, 32px)/1.15 var(--sans); letter-spacing: -.04em; color: var(--night-text); }
.wf-done > p { margin-top: 10px; font-size: 16px; color: var(--night-mute); }
.wf-done > p b { color: var(--night-text); font-weight: 500; }
.wf-skip { margin-top: 26px; padding: 20px 22px; border: 1px solid var(--night-line); border-radius: 16px; background: rgba(95, 224, 178, .06); }
.wf-skip .skip-t { font: 400 20px/1.1 var(--pixel); color: var(--mint); }
.wf-skip p:not(.skip-t) { margin-top: 8px; font-size: 15px; color: var(--night-text); }
.wf-skip .btn { margin-top: 16px; }
.wf-done .cal-frame { margin-top: 20px; min-height: 700px; }
#cal-embed { position: relative; z-index: 1; height: 700px; min-width: 280px; }

@media (max-width: 640px) {
  .hero-pill { border-radius: 14px; font-size: 13px; max-width: 34ch; }
  .wf-grid { grid-template-columns: 1fr; }
  .budget { grid-template-columns: 1fr 1fr; }
  .book-form { margin: 0 calc(var(--gut) * -1 + 8px); border-radius: 16px; }
  #cal-embed { height: 1000px; }
  .wf-done .cal-frame { min-height: 1000px; margin: 20px -12px 0; }
}
