/* axiom365.io — dark-first. Colour, type and the milestone letters come from Axiom's own tokens (app:
   frontend/src/axiom-tokens.css dark theme, milestones.css) so the site and the product read as one brand.
   Self-hosted fonts (SIL OFL 1.1, /fonts/LICENSE.txt). No third-party requests, no tracking. */
@font-face { font-family: 'Hanken Grotesk'; font-weight: 400; font-display: swap; src: url(/fonts/hanken-grotesk-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 500; font-display: swap; src: url(/fonts/hanken-grotesk-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 600; font-display: swap; src: url(/fonts/hanken-grotesk-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 700; font-display: swap; src: url(/fonts/hanken-grotesk-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url(/fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2'); }

/* controls act on a single tap on phones: no double-tap zoom when someone taps twice quickly */
button, a, input, select, textarea, label, summary { touch-action: manipulation; }
:root {
  color-scheme: dark;
  --font-sans: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  /* surfaces: near-black canvas, charcoal cards, one step lighter when raised */
  --canvas: #0A0B0D; --surface: #111317; --raised: #171A20; --sunken: #050607; --hairline: #1B1F26;
  --ink: #F1F0EB; --text-2: #A9AEB7; --text-3: #8B919B;
  --border: rgba(255,255,255,.09); --border-subtle: rgba(255,255,255,.06); --border-strong: rgba(255,255,255,.22);
  /* electric blue, used sparingly: actions, the active milestone, a line of light */
  --accent: #5B7CFF; --accent-hover: #7D97FF; --accent-fill: #4463EC; --accent-fill-hover: #3D5BE8; --accent-deep: #2F4BDB; --accent-bg: rgba(91,124,255,.12); --accent-glow: rgba(91,124,255,.45);
  --link: #9FB1FF; --focus: #9FB1FF;
  --strong-bg: #F1F0EB; --strong-text: #0A0B0D;
  --ok-fg: #5CCB97; --ok-bg: rgba(92,203,151,.12); --warn-fg: #F2B957; --warn-bg: rgba(242,185,87,.12); --info-fg: #9FB1FF; --info-bg: rgba(91,124,255,.12);
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 1px 2px rgba(0,0,0,.5), 0 24px 60px -20px rgba(0,0,0,.7);
  --shadow-lg: 0 1px 0 rgba(255,255,255,.05) inset, 0 2px 4px rgba(0,0,0,.5), 0 50px 100px -30px rgba(0,0,0,.8);
  /* milestones (the letters on every record: Lead, Opportunity, Prospect, Approved, Completed, Invoiced, Closed) */
  --ms-lead: #D9AC3C; --ms-lead-fg: #EBCB72; --ms-lead-bg: #2A2416;
  --ms-opp: #7A879C; --ms-opp-fg: #B4BECB; --ms-opp-bg: #1D222A;
  --ms-prospect: #DE8A50; --ms-prospect-fg: #F2AE7E; --ms-prospect-bg: #2C1F16;
  --ms-approved: #55A977; --ms-approved-fg: #85CFA2; --ms-approved-bg: #15271D;
  --ms-completed: #4699BF; --ms-completed-fg: #82C8E4; --ms-completed-bg: #13252D;
  --ms-invoiced: #D16A60; --ms-invoiced-fg: #F09A92; --ms-invoiced-bg: #2D1818;
  --ms-closed: #B4BAC3; --ms-closed-fg: #D2D6DB; --ms-closed-bg: #22252A;
  --ms-on: #0A0B0D; --ms-closed-on: #0A0B0D; --ms-pending: #262A31; --ms-line: #2C3139;
  --wrap: 1200px; --gutter: 16px; --radius: 14px;
  --ease: cubic-bezier(.2,.7,.2,1); --dur: .6s;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; scroll-behavior: smooth; background: var(--canvas); }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 17px/1.55 var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.08; letter-spacing: -.02em; font-weight: 600; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(42px, 7.2vw, 84px); letter-spacing: -.035em; line-height: .98; font-weight: 700; }
h2 { font-size: clamp(30px, 4.2vw, 48px); letter-spacing: -.03em; }
h3 { font-size: clamp(20px, 2.1vw, 24px); letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.overline { font: 500 12px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.overline::before { content: ''; width: 18px; height: 1px; background: var(--accent); flex: none; }
.lede { font-size: clamp(17px, 1.9vw, 20px); line-height: 1.5; color: var(--text-2); max-width: 50ch; }
.mono { font-family: var(--font-mono); }
.fine { font-size: 13px; color: var(--text-3); }
.muted { color: var(--text-2); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--strong-bg); color: var(--strong-text); padding: 10px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
.logo-light { display: none; }
.grad { color: var(--accent); }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid var(--border-strong); background: rgba(255,255,255,.03); color: var(--ink); font: 600 16px/1 var(--font-sans); text-decoration: none; cursor: pointer; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform .25s var(--ease), box-shadow var(--dur) var(--ease); }
.btn:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.35); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent-fill); border-color: transparent; color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 8px 24px -8px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-fill-hover); border-color: transparent; box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 12px 32px -8px var(--accent-glow); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--canvas) 70%, transparent); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); border-bottom: 1px solid transparent; transition: border-color .4s var(--ease), background .4s var(--ease); }
.site-header.scrolled { border-bottom-color: var(--border-subtle); background: color-mix(in srgb, var(--canvas) 84%, transparent); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: block; flex: none; padding: 8px 0; }
.brand .logo { width: 118px; height: auto; }
.nav { margin-left: auto; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: block; padding: 12px 12px; border-radius: 8px; color: var(--text-2); font-weight: 500; font-size: 15px; text-decoration: none; transition: color .3s var(--ease), background .3s var(--ease); }
.nav-list a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.nav-list a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,.06); }
.menu { display: none; position: relative; margin-left: auto; }
.menu summary { list-style: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); cursor: pointer; font-weight: 600; font-size: 15px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 1px; position: relative; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-bars::before, .menu-bars::after { content: ''; position: absolute; left: 0; }
.menu-bars::before { top: -5px; } .menu-bars::after { top: 5px; }
.menu[open] .menu-bars { background: transparent; }
.menu[open] .menu-bars::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu-bars::after { top: 0; transform: rotate(-45deg); }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); width: min(300px, calc(100vw - 32px)); background: var(--raised); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: 14px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.menu a:hover, .menu a[aria-current="page"] { background: rgba(255,255,255,.06); }
.menu li:last-child { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--border-subtle); }
.menu li:last-child a { background: var(--accent-fill); color: #fff; text-align: center; }
.menu li:last-child a:hover { background: var(--accent-fill-hover); }
@media (max-width: 960px) { .nav { display: none; } .menu { display: block; margin-left: 0; } .header-cta { margin-left: auto; } }
@media (max-width: 600px) { .header-cta { display: none; } .menu { margin-left: auto; } }

/* ---------- milestone letters (as on every Axiom record) ---------- */
.ms { --c: var(--ms-pending); --fg: var(--ink); display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--c); color: var(--ms-on); font: 600 12px/1 var(--font-mono); }
.ms-l { --c: var(--ms-lead); --fg: var(--ms-lead-fg); --bg: var(--ms-lead-bg); }
.ms-o { --c: var(--ms-opp); --fg: var(--ms-opp-fg); --bg: var(--ms-opp-bg); }
.ms-p { --c: var(--ms-prospect); --fg: var(--ms-prospect-fg); --bg: var(--ms-prospect-bg); }
.ms-a { --c: var(--ms-approved); --fg: var(--ms-approved-fg); --bg: var(--ms-approved-bg); }
.ms-c { --c: var(--ms-completed); --fg: var(--ms-completed-fg); --bg: var(--ms-completed-bg); }
.ms-i { --c: var(--ms-invoiced); --fg: var(--ms-invoiced-fg); --bg: var(--ms-invoiced-bg); }
.ms-x { --c: var(--ms-closed); --fg: var(--ms-closed-fg); --bg: var(--ms-closed-bg); color: var(--ms-closed-on); }
.ms-lg { width: 40px; height: 40px; font-size: 15px; }
.ms.pending { --c: var(--ms-pending); color: var(--text-3); }
.ms-now { box-shadow: 0 0 0 3px var(--canvas), 0 0 0 5px var(--c); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 112px) 0 clamp(48px, 7vw, 96px); overflow: clip; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none; z-index: -1;
  background: radial-gradient(60% 50% at 70% 10%, rgba(91,124,255,.16), transparent 70%), radial-gradient(40% 40% at 15% 60%, rgba(91,124,255,.06), transparent 70%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 20%, #000 20%, transparent 100%); mask-image: radial-gradient(70% 70% at 50% 20%, #000 20%, transparent 100%); }
.hero-grid { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 1040px) { .hero-grid { grid-template-columns: 1fr minmax(0, 560px); } }
.hero h1 .quiet { color: var(--text-3); }
.hero .lede { margin-top: 22px; }
.hero-switch { margin: 22px 0 0; font-size: 15px; color: var(--text-3); }
.hero-switch a { font-weight: 600; }
.hero-foot { grid-column: 1 / -1; }
.trades { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trades li { font: 500 12px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); padding: 8px 10px; border: 1px solid var(--border); border-radius: 999px; }

/* the live job: one record walking from Lead to Closed (HTML, in the product's own tokens; labelled as an illustration) */
.live { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.live::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent); }
.live-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border-subtle); background: rgba(255,255,255,.02); font: 500 12px var(--font-mono); color: var(--text-3); }
.live-bar .mark, .window .bar .mark { width: 14px; height: 14px; flex: none; opacity: .9; }
.live-bar .crumb { margin-left: auto; letter-spacing: .04em; }
.live-bar .crumb b { color: var(--text-2); font-weight: 500; }
.live-head { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: start; padding: 18px 20px 14px; }
.live-head h3 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.live-head .addr { margin: 2px 0 0; color: var(--text-2); font-size: 14px; }
.live-head .id { font: 500 12px/1 var(--font-mono); color: var(--text-3); padding: 7px 9px; border: 1px solid var(--border); border-radius: 6px; white-space: nowrap; transition: color .4s var(--ease), border-color .4s var(--ease); }
.live-head .id.job { color: var(--ms-approved-fg); border-color: color-mix(in srgb, var(--ms-approved) 50%, transparent); }
.strip { display: flex; align-items: center; gap: 6px; padding: 10px 20px 16px; overflow: hidden; }
.strip .ms { width: 30px; height: 30px; transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease); }
.strip .ms-now { transform: scale(1.08); }
.strip .line { flex: 1 1 10px; min-width: 6px; height: 2px; background: var(--ms-line); position: relative; overflow: hidden; }
.strip .line::after { content: ''; position: absolute; inset: 0; background: var(--ms-closed); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.strip .line.done::after { transform: scaleX(1); }
.strip .now-label { font-weight: 700; font-size: 14px; color: var(--fg, var(--ink)); margin-left: 4px; white-space: nowrap; }
@media (max-width: 520px) { .strip { gap: 3px; padding-inline: 14px; } .strip .line { min-width: 4px; } .strip .ms { width: 26px; height: 26px; font-size: 11px; } .strip .now-label { font-size: 13px; margin-left: 2px; } }
@media (max-width: 400px) { .strip .ms { width: 24px; height: 24px; font-size: 10px; } .strip .line { min-width: 2px; } .strip .now-label { font-size: 12px; } }
@media (max-width: 340px) { .strip { gap: 2px; } .strip .ms { width: 22px; height: 22px; } }
.live-stage { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0 20px 14px; font-size: 14px; color: var(--text-2); }
.live-stage b { color: var(--ink); font-weight: 600; }
.next { margin: 0 16px 14px; padding: 16px 18px 18px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-left: 3px solid var(--accent); border-radius: 12px; background: linear-gradient(180deg, rgba(91,124,255,.08), rgba(91,124,255,.02)); position: relative; }
.next-k { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 600 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--info-fg); margin-bottom: 10px; }
.next-k .owner { display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font: 500 13px var(--font-sans); color: var(--text-2); }
.avatar { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--strong-bg); color: var(--strong-text); font: 600 10px var(--font-mono); flex: none; }
.next h4 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.015em; }
.next p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.45; }
@media (max-width: 520px) { .next p { min-height: calc(3 * 1.45em); } .live-stage { min-height: calc(2 * 1.55em + 6px); } }
.next .act { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; margin-top: 12px; border-radius: 8px; background: var(--accent-fill); color: #fff; font: 600 14px/1 var(--font-sans); }
.next .act.ghost { background: transparent; border: 1px solid var(--border-strong); color: var(--ink); }
.next-swap { transition: opacity .2s var(--ease); }
.next-swap.out { opacity: .6; }
.feed { list-style: none; margin: 0; padding: 4px 20px 18px; display: grid; gap: 8px; align-content: start; font-size: 14px; min-height: 142px; }
.feed li { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; color: var(--text-2); animation: feedin .5s var(--ease) both; }
.feed li .tick { width: 18px; height: 18px; font-size: 11px; }
.feed li b { color: var(--ink); font-weight: 500; }
.feed li time { font: 11px var(--font-mono); color: var(--text-3); }
@keyframes feedin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tick { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-fg); color: var(--canvas); font-size: 12px; flex: none; }
.tick.open { background: transparent; border: 2px dashed var(--border-strong); }
.live-ctl { display: flex; align-items: center; gap: 10px; padding: 6px 16px; border-top: 1px solid var(--border-subtle); background: rgba(255,255,255,.02); }
.live-ctl .steps-dots { display: flex; gap: 6px; flex: 1; }
.live-ctl .steps-dots button { flex: 1; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.live-ctl .steps-dots button::before { content: ''; position: absolute; left: 0; right: 0; top: 21px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.14); }
.live-ctl .steps-dots button::after { content: ''; position: absolute; left: 0; top: 21px; height: 2px; width: 0; border-radius: 2px; background: var(--accent); }
.live-ctl .steps-dots button.done::after { width: 100%; }
.live-ctl .steps-dots button.on::after { width: 100%; transform-origin: left; animation: fill var(--step, 4s) linear both; }
.live.paused .steps-dots button.on::after { animation-play-state: paused; }
@keyframes fill { from { width: 0; } to { width: 100%; } }
.live-ctl .pp { width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.live-ctl .pp:hover { background: rgba(255,255,255,.06); }
.live-ctl .pp svg { width: 14px; height: 14px; fill: currentColor; }
.live-ctl .live-cap { font: 11px var(--font-mono); color: var(--text-3); letter-spacing: .04em; white-space: nowrap; }
.live-ctl .pp svg[hidden] { display: none; }
@media (max-width: 520px) { .live-ctl .live-cap { display: none; } .live-bar .crumb { display: none; } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(48px, 6.5vw, 96px) 0; }
.section + .section { border-top: 1px solid var(--hairline); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .lede { max-width: 60ch; }
.band { background: var(--surface); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.band-glow { position: relative; overflow: clip; }
.band-glow::before { content: none; }

/* the three rules → drawn, not listed */
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: rule; background: var(--raised); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .rules { grid-template-columns: repeat(3, 1fr); } }
.rules li { position: relative; padding: 28px 26px 26px; }
.rules li + li { border-top: 1px solid var(--border); }
@media (min-width: 900px) { .rules li + li { border-top: 0; border-left: 1px solid var(--border); } }
.rules .num { font: 500 12px var(--font-mono); letter-spacing: .12em; color: var(--text-3); }
.rules h3 { margin: 12px 0 10px; font-size: clamp(21px, 2.2vw, 26px); }
.rules p { margin: 0; color: var(--text-2); font-size: 16px; }
.rules .mini { margin: 18px 0 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); font-size: 13.5px; color: var(--text-2); display: grid; gap: 8px; }
.rules .mini .row { display: flex; align-items: center; gap: 10px; }
.rules .mini .row b { color: var(--ink); font-weight: 600; }
.rules .mini .ms { width: 22px; height: 22px; font-size: 10px; }
.rules .mini .bar { height: 4px; border-radius: 2px; background: var(--ms-line); overflow: hidden; }
.rules .mini .bar i { display: block; height: 100%; width: 60%; background: var(--ok-fg); }

/* ---------- follow a job: sticky product panel + narrative ---------- */
.follow { display: grid; gap: 40px; }
.follow > *, .split > *, .studio > *, .cap > *, .diff > *, .pillars > *, .migrate > * { min-width: 0; }
.follow-mobile img { width: 100%; height: auto; }
@media (min-width: 1000px) { .follow { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: start; } }
.follow-steps { list-style: none; margin: 0; padding: 0; }
.follow-steps > li { position: relative; padding: 0 0 clamp(40px, 6vw, 64px) 56px; }
@media (min-width: 1000px) { .follow-steps > li { min-height: 56vh; padding-bottom: 0; display: flex; align-items: center; } .follow-steps > li:last-child { min-height: 0; padding-bottom: 24px; } }
.follow-steps .ms-lg { position: absolute; left: 0; top: 0; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
@media (min-width: 1000px) { .follow-steps .ms-lg { top: 50%; transform: translateY(-50%); } .follow-steps li.on .ms-lg { transform: translateY(-50%) scale(1.1); } }
.follow-steps li.on .ms-lg { box-shadow: 0 0 0 3px var(--canvas), 0 0 0 5px var(--c), 0 0 32px var(--c); }
.follow-steps > li:not(:last-child)::before { content: ''; position: absolute; left: 19px; top: 48px; bottom: -8px; width: 2px; background: var(--ms-line); }
@media (min-width: 1000px) { .follow-steps > li:not(:last-child)::before { top: calc(50% + 28px); bottom: calc(-50% + 28px); } }
.follow-steps .stage { font: 500 12px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg, var(--text-3)); margin: 8px 0 6px; }
.follow-steps h3 { margin-bottom: 10px; font-size: clamp(22px, 2.4vw, 28px); }
.follow-steps p { color: var(--text-2); }
@media (min-width: 1000px) { .follow-steps li { opacity: .45; transition: opacity .5s var(--ease); } .follow-steps li.on { opacity: 1; } }
.facts { margin: 16px 0 0; display: grid; gap: 10px; }
.facts div { display: grid; grid-template-columns: 104px 1fr; gap: 12px; font-size: 14.5px; }
.facts dt { font: 500 11px/1.9 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.facts dd { margin: 0; color: var(--ink); }
.facts dd small { display: block; color: var(--text-3); font-size: 13px; }
.follow-mobile { margin-top: 18px; }
@media (max-width: 719px) {
  .follow-steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 12px; scrollbar-width: none; }
  .follow-steps > li { flex: 0 0 86%; scroll-snap-align: center; padding: 20px 18px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
  .follow-steps > li::before { display: none; }
  .follow-steps .ms-lg { position: static; margin-bottom: 10px; }
  .follow-steps h3 { font-size: 22px; }
  .follow-hint { display: block; margin: 0 0 14px; font: 12px var(--font-mono); color: var(--text-3); }
}
.follow-hint { display: none; }
@media (min-width: 1000px) { .follow-mobile { display: none; } }
.follow-panel { display: none; }
@media (min-width: 1000px) {
  .follow-panel { display: block; position: sticky; top: max(88px, calc(50vh - 170px)); }
  .follow-panel .stack { display: grid; }
  .follow-panel .stack > .shot { grid-area: 1 / 1; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .25s var(--ease), transform .6s var(--ease); pointer-events: none; }
  .follow-panel .stack > .shot.on { opacity: 1; transform: none; pointer-events: auto; transition: opacity .6s var(--ease) .15s, transform .6s var(--ease); }
  .follow-panel .meter { display: flex; gap: 6px; margin: 14px 0 0; }
  .follow-panel .meter i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255,255,255,.12); transition: background .4s var(--ease); }
  .follow-panel .meter i.on { background: var(--accent); }
}

/* ---------- screenshots: desktop shots sit in an app window, phones in a device ---------- */
.shot { margin: 0; }
.shot-frame { display: block; cursor: zoom-in; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); text-decoration: none; }
.shot-frame:hover { text-decoration: none; }
.shot figcaption { margin-top: 10px; font: 12px/1.5 var(--font-mono); color: var(--text-3); }
.window .shot-frame { background: var(--raised); padding: 0; border-color: rgba(255,255,255,.14); }
.window .bar { display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 34px; background: linear-gradient(180deg, #23272E, #1B1F25); border-bottom: 1px solid rgba(0,0,0,.6); font: 500 11px var(--font-mono); color: var(--text-3); }
.window .bar .org { flex: none; color: var(--text-2); }
.window .bar .title { flex: 1; min-width: 0; text-align: right; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window img { border-radius: 0; }
.shot-phone { max-width: 300px; }
.shot-phone .shot-frame, .phones .shot-phone .shot-frame { border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; container-type: inline-size; }
.device { display: block; position: relative; padding: 3.4%; border-radius: 15.5% / 7.3%;
  background: linear-gradient(150deg, #5b5f65 0%, #2a2c30 18%, #1b1c1f 60%, #34363b 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 0 0 3px #0c0d0e, 0 2px 4px rgba(0,0,0,.5), 0 40px 80px -20px rgba(0,0,0,.8); }
.device::before, .device::after { content: ''; position: absolute; width: 3px; background: #2a2c30; border-radius: 2px; }
.device::before { left: -2px; top: 17%; height: 6%; box-shadow: 0 9cqw 0 #2a2c30, 0 15.5cqw 0 #2a2c30; }
.device::after { right: -2px; top: 24%; height: 10%; }
.device-screen { display: block; position: relative; overflow: hidden; border-radius: 12.4% / 5.8%; background: #fff; }
.device-screen img { display: block; width: 100%; }
.sb { display: flex; align-items: center; justify-content: space-between; height: 11.6cqw; padding: 0 6.5cqw 0 8cqw; background: #fff; color: #000;
  font: 600 4cqw/1 -apple-system, BlinkMacSystemFont, 'SF Pro Text', var(--font-sans); letter-spacing: -.01em; }
.sb-island { width: 30cqw; height: 7.6cqw; border-radius: 4cqw; background: #000; margin-top: .6cqw; }
.sb-time { width: 18cqw; }
.sb-icons { display: flex; gap: 1.3cqw; align-items: center; justify-content: flex-end; width: 18cqw; }
.sb-icons svg { fill: currentColor; height: 3.1cqw; width: auto; }
.home-bar { position: absolute; left: 50%; bottom: 2cqw; width: 34%; height: 1.3cqw; border-radius: 1cqw; background: rgba(0,0,0,.78); transform: translateX(-50%); }
.phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; align-items: start; }
.phones .shot-phone { max-width: none; }
@media (max-width: 719px) {
  .phones { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 12px; margin: 0 calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .phones .shot-phone { flex: 0 0 72%; scroll-snap-align: center; }
  .shot-phone { margin-inline: auto; }
}
.shot-narrow { max-width: 440px; justify-self: center; }
.shot-tall { max-width: 420px; }
.glowbox { position: relative; }
.glowbox::before { content: ''; position: absolute; inset: 10% 5% -5%; background: radial-gradient(50% 50% at 50% 60%, var(--accent-glow), transparent 70%); filter: blur(30px); opacity: .35; z-index: -1; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1800px); max-height: 96vh; width: auto; }
.lightbox::backdrop { background: rgba(4,5,6,.86); backdrop-filter: blur(6px); }
.lightbox img { max-width: 96vw; max-height: 88vh; width: auto; height: auto; border-radius: 10px; box-shadow: var(--shadow-lg); background: #fff; }
.lightbox form { position: sticky; top: 0; display: flex; justify-content: flex-end; }
.lightbox .close { margin: 0 0 10px; min-height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink); font: 600 14px var(--font-sans); cursor: pointer; }
.lightbox figcaption { margin-top: 10px; text-align: center; font: 12px/1.5 var(--font-mono); color: var(--text-2); }

/* split blocks */
.split { display: grid; gap: 32px 56px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split.wide-media { grid-template-columns: .8fr 1.2fr; } .split.narrow-media { grid-template-columns: 1.3fr .7fr; } }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--text-2); }
.checks li strong { color: var(--ink); }
.checks li::before { content: ''; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 4px; background: var(--accent); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 26%, 86% 12%, 38% 72%); }

/* differentiators */
.diff { display: grid; gap: 16px; }
@media (min-width: 760px) { .diff { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .diff { grid-template-columns: repeat(3, 1fr); } }
.diff article { position: relative; padding: 26px 24px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; transition: border-color .4s var(--ease), transform .4s var(--ease); }
.diff article:hover { border-color: rgba(255,255,255,.18); transform: translateY(-2px); }
.diff h3 { margin: 0; font-size: 20px; }
.diff p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.diff .viz { margin-top: auto; padding-top: 16px; }
.viz-chain { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.viz-chain span { font: 500 11px/1 var(--font-mono); padding: 6px 8px; border: 1px solid var(--border); border-radius: 6px; color: var(--text-2); }
.viz-chain i { width: 10px; height: 1px; background: var(--border-strong); }
.viz-owner { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; font-size: 13px; color: var(--text-2); }
.viz-owner b { color: var(--ink); font-weight: 600; display: block; font-size: 14px; }
.viz-trades { display: flex; flex-wrap: wrap; gap: 6px; }
.viz-trades span { font: 500 11px/1 var(--font-mono); letter-spacing: .04em; padding: 6px 8px; border-radius: 999px; background: rgba(255,255,255,.05); color: var(--text-2); }
.viz-doc { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; font-size: 13px; color: var(--text-2); }
.viz-doc .pg { height: 56px; border-radius: 3px; background: #fff; box-shadow: 0 6px 16px -6px rgba(0,0,0,.8); position: relative; }
.viz-doc .pg::before { content: ''; position: absolute; left: 6px; right: 6px; top: 8px; height: 3px; background: #1A2A8A; border-radius: 1px; box-shadow: 0 8px 0 #cfd3dc, 0 14px 0 #cfd3dc, 0 20px 0 #cfd3dc, 0 26px 0 #cfd3dc; }
.viz-doc b { color: var(--ink); font-weight: 600; display: block; }
.viz-link { display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--font-mono); color: var(--text-2); padding: 8px 10px; border: 1px dashed var(--border-strong); border-radius: 8px; }
.viz-link::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok-fg); box-shadow: 0 0 10px var(--ok-fg); }
.viz-api { font: 12px/1.6 var(--font-mono); color: var(--text-2); padding: 10px 12px; border-radius: 8px; background: var(--sunken); border: 1px solid var(--border); white-space: pre; overflow: hidden; }
.viz-api b { color: var(--info-fg); font-weight: 500; }

/* who it's for */
.roles { display: grid; gap: 16px; }
@media (min-width: 700px) { .roles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .roles { grid-template-columns: repeat(4, 1fr); } }
.roles article { padding: 24px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.roles h3 { font-size: 20px; }
.roles p { color: var(--text-2); font-size: 15.5px; margin: 0; }
.roles .sees { margin-top: 14px; font: 12px/1.5 var(--font-mono); color: var(--text-3); }

/* status pills */
.pill { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 8px; border-radius: 5px; background: var(--ok-bg); color: var(--ok-fg); white-space: nowrap; vertical-align: middle; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.addon { background: var(--info-bg); color: var(--info-fg); }
.pill.coming { background: var(--warn-bg); color: var(--warn-fg); }
.pill.beta { background: rgba(255,255,255,.08); color: var(--text-2); }

/* pillars (capabilities) */
.pillars { display: grid; gap: 16px; }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { display: flex; flex-direction: column; padding: 24px 22px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: inherit; text-decoration: none; transition: border-color .4s var(--ease), transform .4s var(--ease), background .4s var(--ease); }
.pillar:hover { border-color: rgba(255,255,255,.2); transform: translateY(-2px); background: var(--raised); text-decoration: none; }
.pillar .n { font: 500 12px var(--font-mono); letter-spacing: .12em; color: var(--text-3); }
.pillar h3 { margin: 10px 0 6px; font-size: 20px; }
.pillar p { margin: 0 0 14px; color: var(--text-2); font-size: 15px; }
.pillar ul { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 6px; font-size: 14px; color: var(--text-2); }
.pillar li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 6px 0; border-top: 1px solid var(--border-subtle); }
.pillar li .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok-fg); flex: none; }
.pillar li .dot.addon { background: var(--info-fg); } .pillar li .dot.coming { background: var(--warn-fg); }
.pillar .more { margin-top: 14px; font-weight: 600; color: var(--link); font-size: 14px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 20px 0 0; font-size: 13px; color: var(--text-2); list-style: none; padding: 0; }
.legend li { display: inline-flex; gap: 8px; align-items: center; }
.legend .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok-fg); }
.legend .dot.addon { background: var(--info-fg); } .legend .dot.coming { background: var(--warn-fg); }

/* spec sheet (home overview) */
.spec { border-top: 1px solid var(--border-strong); }
.spec-row { display: grid; gap: 6px 32px; padding: 18px 0; border-bottom: 1px solid var(--border); }
@media (min-width: 860px) { .spec-row { grid-template-columns: 280px 1fr 120px; align-items: baseline; } }
.spec-row h3 { font-size: 18px; margin: 0; }
.spec-row h3 a { color: inherit; text-decoration: none; }
.spec-row h3 a:hover { text-decoration: underline; }
.spec-row p { margin: 0; color: var(--text-2); font-size: 15.5px; }

/* step list (how it works, crews, insurance) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 1px solid var(--border-strong); }
.steps > li { counter-increment: step; display: grid; gap: 8px 32px; padding: 28px 0; border-bottom: 1px solid var(--border); }
@media (min-width: 900px) { .steps > li { grid-template-columns: 64px 1fr 280px; } }
.steps > li::before { content: counter(step, decimal-leading-zero); font: 500 14px var(--font-mono); color: var(--text-3); padding-top: 6px; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0 0 .6em; color: var(--text-2); }
.whose { align-self: start; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--fg, var(--accent)); border-radius: 10px; padding: 12px 14px; font-size: 15px; color: var(--ink); }
.whose b { display: block; font: 500 11px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.whose .moves { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); color: var(--text-2); font-size: 14px; }

/* capability sections */
.cap { display: grid; gap: 24px 56px; padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--hairline); scroll-margin-top: 80px; }
@media (min-width: 960px) { .cap { grid-template-columns: 360px 1fr; } }
.cap h2 { font-size: clamp(28px, 3.2vw, 36px); }
.cap .cap-body > p:first-child { font-size: 19px; color: var(--ink); }
.cap ul { margin: 0 0 1em; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.cap ul li { position: relative; padding-left: 22px; color: var(--text-2); }
.cap ul li::before { content: ''; position: absolute; left: 0; top: .66em; width: 10px; height: 2px; background: var(--accent); }
.cap ul li strong { color: var(--ink); }
.cap .shot { margin: 8px 0 18px; }
.cap-side { display: grid; gap: 16px; align-content: start; }
.note { border-left: 3px solid var(--warn-fg); background: var(--warn-bg); padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: 15px; color: var(--ink); margin: 16px 0; }
.note.info { border-color: var(--info-fg); background: var(--info-bg); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 14px; color: var(--ink); text-decoration: none; background: var(--surface); transition: border-color .3s var(--ease), background .3s var(--ease); }
.jump a:hover { border-color: var(--border-strong); background: var(--raised); }
.jump .ms { width: 22px; height: 22px; font-size: 10px; }

/* page intro */
.intro { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 56px); overflow: clip; }
.intro::before { content: none; }
.intro h1 { font-size: clamp(40px, 6vw, 72px); max-width: 16ch; }
.intro .split h1 { font-size: clamp(38px, 5vw, 60px); }

/* ---------- contract studio composition ---------- */
.studio { display: grid; gap: 28px; align-items: start; }
@media (min-width: 760px) and (max-width: 1199px) {
  .studio { grid-template-columns: 1fr 1fr; }
  .studio .step:nth-child(3) { grid-column: 1 / -1; }
  .studio .step:nth-child(3) .shot { max-width: none; display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: center; }
  .studio .step:nth-child(3) .shot figcaption { margin: 0; font: 400 17px/1.5 var(--font-sans); color: var(--text-2); max-width: 36ch; }
}
@media (min-width: 1200px) { .studio { grid-template-columns: 1fr 1.1fr 230px; gap: 28px; } .studio .shot-phone { max-width: 230px; } }
.studio .step { position: relative; }
.studio .step .k { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 500 12px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.studio .step .k b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-fill); color: #fff; font-weight: 600; font-size: 11px; }
.desk { position: relative; background: linear-gradient(180deg, #15181D, #0E1013); border: 1px solid var(--border); border-radius: 16px; padding: clamp(20px, 4vw, 40px); overflow: hidden; }
.desk::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 0%, rgba(91,124,255,.14), transparent 70%); pointer-events: none; }
.paper-stack { display: grid; position: relative; }
.paper-stack > .shot { grid-area: 1 / 1; transition: transform .6s var(--ease); }
.paper-stack > .shot .shot-frame { border: 0; border-radius: 3px; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.4), 0 2px 4px rgba(0,0,0,.3), 0 30px 60px -10px rgba(0,0,0,.8); }
.paper-stack > .shot:first-child { margin: 0 16% 7% 0; z-index: 2; }
.paper-stack > .shot:nth-child(2) { margin: 7% 0 0 16%; z-index: 1; }
.paper-stack:hover > .shot:first-child { transform: translate(-2%, -1.5%) rotate(-.6deg); }
.paper-stack:hover > .shot:nth-child(2) { transform: translate(2%, 1.5%) rotate(.6deg); }
.paper-stack figcaption { display: none; }
.desk-cap { margin: 14px 0 0; font: 12px/1.5 var(--font-mono); color: var(--text-3); }
.tlist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
.tlist li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); font-weight: 600; }
.tlist li span { font: 400 13px var(--font-mono); color: var(--text-3); text-align: right; }
@media (max-width: 480px) { .tlist li { flex-direction: column; gap: 2px; } .tlist li span { text-align: left; } }

/* ---------- switching: records flowing into Axiom ---------- */
.migrate { display: grid; grid-template-columns: 1fr minmax(150px, 200px) 1fr; gap: 12px; align-items: stretch; }
@media (max-width: 820px) { .migrate { grid-template-columns: 1fr; } .migrate .gate { order: 2; } .migrate .to { order: 3; } }
.migrate .col { padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.migrate .col h3 { font-size: 16px; margin: 0 0 4px; }
.migrate .col .sub { margin: 0 0 14px; font: 12px var(--font-mono); color: var(--text-3); }
.migrate .from ul, .migrate .to ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.migrate .from li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; background: var(--raised); }
.migrate .from li span { font: 12px var(--font-mono); color: var(--text-3); }
.migrate .to li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; background: var(--raised); opacity: 0; transform: translateX(-10px); animation: arrive 1s var(--ease) forwards; animation-delay: calc(var(--i) * .35s + .8s); }
.js .migrate.reveal:not(.in) .to li { animation-play-state: paused; }
.migrate .to li .ms { width: 24px; height: 24px; font-size: 10px; }
.migrate .to li em { font-style: normal; margin-left: auto; font: 12px var(--font-mono); color: var(--text-3); }
@keyframes arrive { to { opacity: 1; transform: none; } }
.migrate .gate { display: grid; place-items: center; gap: 10px; padding: 18px 14px; min-width: 0; text-align: center; }
.migrate .gate .ring { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; color: var(--accent); font-size: 22px; box-shadow: 0 0 30px -4px var(--accent-glow); }
.migrate .gate b { font-size: 14px; }
.migrate .gate small { color: var(--text-3); font-size: 12.5px; line-height: 1.4; }
.migrate .gate .pipe { width: 2px; height: 24px; background: linear-gradient(var(--ms-line), var(--accent), var(--ms-line)); }
@media (min-width: 821px) { .migrate .gate .pipe { width: 100%; height: 2px; background: linear-gradient(90deg, var(--ms-line), var(--accent), var(--ms-line)); } }
.maptable { border-top: 1px solid var(--border-strong); }
.maprow { display: grid; grid-template-columns: 1fr 32px 1.2fr; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
.maprow.head { font: 500 11px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); padding: 10px 0; }
.maprow .arrow { color: var(--text-3); text-align: center; }
.maprow span[role="cell"]:last-child { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.maprow .ms { width: 26px; height: 26px; font-size: 11px; }
@media (max-width: 560px) { .maprow { grid-template-columns: 1fr 20px 1fr; font-size: 15px; } }
.promise { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.promise-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border-subtle); }
.promise-head strong { font-size: 17px; }
.promise-head span { font: 12px var(--font-mono); color: var(--text-3); white-space: nowrap; }
.proofs { list-style: none; margin: 0; padding: 16px 20px 18px; display: grid; gap: 10px; }
.proofs li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.proofs .wait { color: var(--text-2); }

/* ---------- illustrations: AI chat, weather-aware booking (HTML, labelled as illustrations) ---------- */
.chat { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 18px; display: grid; gap: 12px; max-width: 520px; }
.chat-top { display: flex; justify-content: space-between; align-items: center; font: 500 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding-bottom: 10px; border-bottom: 1px solid var(--border-subtle); }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; }
.msg.you { justify-self: end; background: var(--accent-fill); color: #fff; border-bottom-right-radius: 4px; }
.msg.ai { justify-self: start; background: var(--raised); color: var(--ink); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg.ai .done { display: block; margin-top: 6px; font: 500 12px var(--font-mono); color: var(--ok-fg); }
.asks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.asks li { padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); font-weight: 500; }
.asks li::before { content: '“'; color: var(--text-3); } .asks li::after { content: '”'; color: var(--text-3); }
.slots { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; max-width: 520px; }
.slots-head { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border-subtle); font-weight: 600; }
.slots-head span { font: 12px var(--font-mono); color: var(--text-3); font-weight: 400; }
.slot { display: grid; grid-template-columns: 74px 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--border-subtle); font-size: 15px; }
.slot:last-child { border-bottom: 0; }
.slot time { font: 500 14px var(--font-mono); }
.slot .why { color: var(--text-2); font-size: 14px; }
.slot .tag { font: 500 11px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 4px; white-space: nowrap; }
.slot.no { color: var(--text-3); } .slot.no time { text-decoration: line-through; }
.slot.no .tag { background: var(--warn-bg); color: var(--warn-fg); }
.slot.yes { background: var(--ok-bg); }
.slot.yes .tag { background: var(--ok-fg); color: var(--canvas); }
.illus-note { margin: 10px 0 0; font: 12px/1.5 var(--font-mono); color: var(--text-3); }

/* ---------- call to action ---------- */
.cta { position: relative; overflow: clip; background: var(--surface); border-top: 1px solid var(--hairline); }
.cta::before { content: none; }
.cta-inner { position: relative; display: grid; gap: 24px; padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); align-items: end; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; } }
.cta h2 { max-width: 18ch; font-size: clamp(32px, 4.6vw, 56px); }
.cta .lede { max-width: 56ch; margin: 0; }
.cta-actions { margin: 0; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; max-width: 640px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
@media (min-width: 640px) { .form { padding: 32px; } }
.form .row2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .form .row2 { grid-template-columns: 1fr 1fr; } }
.field label, .field .label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field .hint { display: block; font-size: 13.5px; color: var(--text-3); margin-top: 4px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--canvas); color: var(--ink); font: 400 16px/1.4 var(--font-sans); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }
.field [aria-invalid="true"] { border-color: var(--ms-invoiced); }
.field textarea { min-height: 120px; resize: vertical; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.consent label { font-size: 15px; line-height: 1.5; color: var(--ink); }
.form-status { padding: 14px 16px; border-radius: 10px; background: var(--info-bg); color: var(--ink); font-size: 15px; }
.form-status[hidden] { display: none; }
.btn.busy { pointer-events: none; opacity: .7; }

/* ---------- legal pages ---------- */
.legal { padding: clamp(40px, 6vw, 80px) 0; }
.legal-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .legal-grid { grid-template-columns: 240px minmax(0, 720px); } }
.legal h1 { font-size: clamp(36px, 5vw, 56px); }
.legal .toc { position: sticky; top: 92px; align-self: start; font-size: 14px; }
.legal .toc ol { padding-left: 1.2em; margin: 8px 0 0; display: grid; gap: 6px; color: var(--text-3); }
.legal .toc a { color: var(--text-2); text-decoration: none; }
.legal .toc a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 999px) { .legal .toc { position: static; border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; background: var(--surface); } .legal .toc ol { display: flex; flex-wrap: wrap; gap: 4px 6px; list-style: none; padding: 0; } .legal .toc li { margin: 0; } .legal .toc a { display: inline-block; padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--canvas); } }
.legal section { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--border); }
.legal h2 { font-size: 26px; letter-spacing: -.015em; }
.legal h3 { font-size: 18px; margin-top: 1.2em; }
.legal .short { font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--border); padding: 10px 14px; border-radius: 8px; font-size: 16px; }
.legal .short::before { content: 'In short: '; font: 500 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.legal li { margin-bottom: 6px; }
.legal .keys { display: grid; gap: 10px; margin: 24px 0; padding: 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.legal .keys p { margin: 0; }
.legal p, .legal li { color: var(--text-2); }
.legal p strong, .legal li strong { color: var(--ink); }
.box { border: 1px solid var(--border-strong); border-radius: 10px; padding: 14px 16px; font-weight: 500; color: var(--ink) !important; background: var(--raised); }
.placeholder { background: var(--warn-bg); color: var(--warn-fg); font-family: var(--font-mono); font-size: .9em; padding: 0 4px; border-radius: 3px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); padding: 56px 0 32px; background: var(--canvas); }
.footer-inner { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-inner { grid-template-columns: 1.2fr 1fr; } }
.footer-brand .logo { width: 108px; margin-bottom: 12px; }
.footer-brand p { color: var(--text-2); font-size: 15px; margin: 0 0 6px; }
.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; align-content: start; }
.footer-links a { display: inline-block; padding: 11px 0; color: var(--text-2); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border-subtle); }
.footer-legal p { margin: 0 0 6px; }

/* ---------- motion: reveal on scroll (opt-in with .reveal; JS adds .in; without JS everything is visible) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .migrate .to li { opacity: 1; transform: none; }
  .follow-steps li { opacity: 1; }
}
/* phone: the activity feed wraps to two lines per row; reserve four wrapped rows so the hero card keeps one height */
@media (max-width: 520px) { .feed { min-height: 178px; } }

/* ---------- phones: readable labels and 44 px targets (mobile audit 2026-11-18) ---------- */
main p > a:only-child:not(.btn) { display: inline-block; padding: 11px 0; margin: -11px 0; }
@media (max-width: 719px) {
  .shot figcaption, .desk-cap, .illus-note, .roles .sees, .live-bar, .slots-head span, .chat-top, .promise-head span, .tlist li span, .legend, .fine { font-size: 13px; }
  .overline, .follow-steps .stage, .studio .step .k { font-size: 13px; }
  .facts dt, .next-k, .whose b, .pill, .window .bar, .feed time, .viz-chain span, .viz-trades span, .live-head .id, .rules .num, .pillar .n, .maprow.head, .slot .tag, .trades li, .viz-link, .viz-api { font-size: 12px; }
  .facts div { grid-template-columns: 110px 1fr; }
}

/* ---------- pricing (owner brief 2026-11-18): one plan, calculator, storage, transparency ---------- */
.price-hero h1 { max-width: 20ch; }
.price-hero .big { display: block; font-size: clamp(72px, 12vw, 148px); line-height: .9; letter-spacing: -.05em; color: var(--accent); font-variant-numeric: tabular-nums; }
.facts3 { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .facts3 { grid-template-columns: repeat(3, 1fr); } }
.facts3 li { padding: 20px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.facts3 b { display: block; font-size: 36px; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.facts3 em { display: block; font: 500 12px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); font-style: normal; margin: 8px 0 10px; }
.facts3 span { color: var(--text-2); font-size: 15px; display: block; }
.facts3 span span { display: inline; color: inherit; }
.incl { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; background: var(--raised); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.incl li { display: grid; gap: 2px; padding: 14px 18px; border-top: 1px solid var(--border-subtle); }
.incl li:first-child { border-top: 0; }
.incl strong { font-size: 16px; }
.incl span { color: var(--text-2); font-size: 14px; }
.calc { display: grid; gap: 24px; }
@media (min-width: 1000px) { .calc { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } .calc-sum { position: sticky; top: 88px; } }
.calc-steps { display: grid; gap: 16px; }
.cstep { margin: 0; padding: 22px 22px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.cstep legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
.cstep legend .n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-fill); color: #fff; font: 600 12px var(--font-mono); }
.cstep > * { clear: both; }
.cstep > p { color: var(--text-2); margin: 0 0 14px; }
.cstep .sbar { margin-top: 14px; }
.calc[data-switching="no"] [data-when="switching"] { display: none; }
.calc[data-method="jobs"] [data-method-known], .calc[data-method="known"] [data-method-jobs] { display: none; }
.ctl { display: grid; grid-template-columns: 1fr; gap: 10px; align-items: center; margin: 6px 0 12px; }
@media (min-width: 560px) { .ctl { grid-template-columns: 110px 1fr 110px auto; } }
.ctl label { font-weight: 600; font-size: 15px; }
.ctl input[type="range"] { width: 100%; accent-color: var(--accent); height: 44px; margin: 0; cursor: pointer; background: transparent; }
.ctl input[type="number"], .ctl select, .assume-grid input { min-height: 44px; padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--canvas); color: var(--ink); font: 500 17px var(--font-sans); width: 100%; font-variant-numeric: tabular-nums; }
.ctl input:focus, .ctl select:focus, .assume-grid input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }
.calc-line { margin: 0; color: var(--text-2); font-size: 15px; }
.calc-line b { color: var(--ink); font-variant-numeric: tabular-nums; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; clear: both; }
.choice label { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--border-strong); border-radius: 10px; cursor: pointer; font-weight: 500; }
.choice label:has(:checked) { border-color: var(--accent); background: var(--accent-bg); }
.choice input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.assume { margin-top: 10px; border: 1px solid var(--border); border-radius: 10px; padding: 0 14px; }
.assume summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; font-size: 15px; }
.assume-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 14px; padding: 4px 0 10px; }
@media (min-width: 640px) { .assume-grid { grid-template-columns: repeat(3, 1fr); } }
.assume-grid label { display: grid; gap: 4px; font-size: 13px; color: var(--text-2); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--link); font: inherit; text-decoration: underline; cursor: pointer; }
.sbar { position: relative; height: 18px; border-radius: 9px; background: var(--sunken); border: 1px solid var(--border); overflow: visible; margin: 8px 0 10px; }
.sbar .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 9px 0 0 9px; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); transition: width .5s var(--ease); }
.sbar .over { position: absolute; top: 0; bottom: 0; width: 0; background: repeating-linear-gradient(135deg, var(--warn-fg) 0 6px, color-mix(in srgb, var(--warn-fg) 55%, transparent) 6px 12px); background-size: 17px 17px; transition: width .5s var(--ease), left .5s var(--ease); }
.sbar .over.pulse { animation: hatch 1.5s linear 1; }
@keyframes hatch { from { background-position: 0 0; } to { background-position: 51px 0; } }
.cstep .sbar { margin-top: 16px; }
.sbar .mark { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--ink); transition: left .5s var(--ease); }
.sbar-legend { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; font: 12px var(--font-mono); color: var(--text-3); }
.sbar-legend li::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; vertical-align: -1px; background: var(--accent); }
.sbar-legend .l-incl::before { background: var(--ink); width: 2px; border-radius: 0; } .sbar-legend .l-over::before { background: var(--warn-fg); }
.srows { margin: 0; display: grid; gap: 0; }
.srows div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--border-subtle); font-size: 15px; }
.srows dt { color: var(--text-2); } .srows dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.srows dd small { display: block; color: var(--text-3); font-size: 12px; }
.calc-sum { padding: 22px; background: var(--raised); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: var(--radius); box-shadow: var(--shadow); }
.calc-sum dl { margin: 0 0 18px; display: grid; }
.calc-sum dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border-subtle); font-size: 15px; }
.calc-sum dt { color: var(--text-2); } .calc-sum dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.calc-sum .total { border-top: 1px solid var(--border-strong); } .calc-sum .total dt { color: var(--ink); font-weight: 600; } .calc-sum .total dd b { font-size: 30px; letter-spacing: -.03em; }
.calc-sum .once dd { color: var(--text-2); font-size: 14px; max-width: 16ch; }
.calc-sum .btn { width: 100%; }
.calc-sum .fine { margin: 14px 0 0; }
.xp { border: 1px solid var(--border); border-radius: var(--radius); padding: 0 22px; background: var(--surface); margin-bottom: 12px; }
.xp summary { cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; font-size: 19px; font-weight: 600; list-style: none; }
.xp summary::-webkit-details-marker { display: none; }
.xp summary::after { content: '+'; font: 400 24px var(--font-mono); color: var(--text-3); }
.xp[open] summary::after { content: '–'; }
.xp > *:not(summary) { margin-bottom: 20px; }
.checks.cols { gap: 10px 32px; }
@media (min-width: 760px) { .checks.cols { grid-template-columns: 1fr 1fr; } }
.metered { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.metered li { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--border-subtle); }
.metered strong { font-size: 16px; } .metered span { color: var(--text-2); font-size: 14.5px; }
.mini-steps { margin: 0; padding-left: 0; list-style: none; counter-reset: ms; display: grid; gap: 10px; }
.mini-steps li { counter-increment: ms; position: relative; padding-left: 36px; color: var(--text-2); }
.mini-steps li::before { content: counter(ms); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--raised); border: 1px solid var(--border-strong); color: var(--ink); font: 600 12px var(--font-mono); }
.mini-steps b { color: var(--ink); }
/* savings comparison */
.cmp { display: grid; gap: 20px; }
@media (min-width: 900px) { .cmp { grid-template-columns: 1fr 1fr; align-items: start; } }
.cmp-out { padding: 22px; background: var(--raised); border: 1px solid var(--border); border-radius: var(--radius); }
.cmp-out .row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border-subtle); font-size: 15px; }
.cmp-out .row b { font-variant-numeric: tabular-nums; }
.cmp-out .hero-n { padding: 6px 0 14px; }
.cmp-out .hero-n b { display: block; font-size: clamp(40px, 6vw, 64px); letter-spacing: -.04em; line-height: 1; color: var(--ok-fg); font-variant-numeric: tabular-nums; }
.cmp[data-sign="more"] .cmp-out .hero-n b { color: var(--ink); }
.cmp[data-sign="none"] .cmp-out .hero-n b, .cmp[data-sign="same"] .cmp-out .hero-n b { color: var(--text-3); }
.cmp-out .hero-n .unit { display: block; font: 500 13px var(--font-mono); letter-spacing: .04em; color: var(--text-2); margin: 8px 0 6px; }
.cmp-out .hero-n span:not(.unit) { display: block; }
.cmp-out .hero-n span { color: var(--text-2); font-size: 14px; }
.estimate-note { padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); background: var(--accent-bg); border-radius: 10px; font-size: 14.5px; }
.estimate-note b { display: block; margin-bottom: 4px; }
.price-band { display: grid; gap: 24px; align-items: center; }
.price-band > div:first-child { align-self: center; }
@media (min-width: 900px) { .price-band { grid-template-columns: auto 1fr; gap: 48px; } }
.price-band .big { font-size: clamp(72px, 10vw, 128px); line-height: .9; letter-spacing: -.05em; color: var(--accent); font-variant-numeric: tabular-nums; }
.price-band .per { font: 500 13px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.seatless { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.seatless li { display: flex; align-items: center; gap: 12px; color: var(--text-2); }
.seatless .avatar { width: 30px; height: 30px; font-size: 11px; }
.calc-sum .total dt small { font: 500 11px var(--font-mono); color: var(--text-3); margin-left: 6px; }
.calc-sum dd span { font: 12px var(--font-mono); color: var(--text-3); }
/* phones: a compact sticky bar keeps the total next to the sliders (Fable pricing review #4) */
.calc-bar { display: none; }
@media (max-width: 999px) {
  .calc-bar { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); margin: 0 calc(-1 * var(--gutter)); background: color-mix(in srgb, var(--raised) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--border-strong); color: var(--ink); text-decoration: none; font-size: 15px; }
  .calc-bar b { font-size: 18px; font-variant-numeric: tabular-nums; }
  .calc-bar .go { color: var(--link); font-weight: 600; }
}

/* ---------- Founding Contractor Program (owner brief 2026-11-18) ---------- */
.nav-pill { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 4px; background: var(--accent-bg); color: var(--info-fg); font: 600 10px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
.menu .nav-pill { margin-left: 8px; }
.fpill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; line-height: 1.3; padding: 7px 12px 7px 10px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 999px; background: var(--accent-bg); color: var(--ink); font-size: 13px; font-weight: 500; text-decoration: none; }
.fpill b { font-weight: 700; color: var(--info-fg); }
.fpill .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.enroll { padding: 22px; background: var(--raised); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: var(--radius); box-shadow: var(--shadow); }
.enroll-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.enroll-state { display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--font-mono); color: var(--text-3); }
.enroll .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.enroll[data-live="yes"] .live-dot { background: var(--ok-fg); box-shadow: 0 0 10px var(--ok-fg); }
.enroll .when-live { display: none; } .enroll[data-live="yes"] .when-live { display: initial; } .enroll[data-live="yes"] .when-static { display: none; }
.enroll-nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; margin-bottom: 16px; }
@media (min-width: 640px) { .enroll-nums { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); } }
.enroll[data-live="yes"] .enroll-nums > div.when-live { display: block; }
.enroll-nums b { display: block; font-size: 30px; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.enroll-nums b.dim { color: var(--text-3); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--text-3) 60%, transparent); text-decoration-thickness: 2px; }
.enroll-nums span { display: block; margin-top: 6px; font: 500 12px var(--font-mono); letter-spacing: .04em; color: var(--text-3); }
.enroll-bar { position: relative; height: 10px; border-radius: 5px; background: var(--sunken); border: 1px solid var(--border); overflow: hidden; margin: 4px 0 12px; }
.enroll-bar .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); transition: width .8s var(--ease); }
.enroll[data-live="no"] .enroll-bar { background: repeating-linear-gradient(90deg, var(--sunken) 0 6px, var(--hairline) 6px 8px); }
.enroll .fine { margin: 0; }
.rules-list { margin: 0; padding-left: 0; list-style: none; counter-reset: r; display: grid; gap: 12px; }
.rules-list li { counter-increment: r; position: relative; padding-left: 34px; color: var(--text-2); font-size: 15.5px; }
.rules-list li::before { content: counter(r); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border-strong); color: var(--ink); font: 600 11px var(--font-mono); }
.two-rates { display: grid; gap: 14px; }
@media (min-width: 640px) { .two-rates { grid-template-columns: 1fr 1fr; } }
.two-rates article { padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.two-rates article.now { border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: linear-gradient(180deg, rgba(91,124,255,.08), rgba(91,124,255,.02)); }
.two-rates .k { font: 500 12px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin: 0 0 10px; }
.two-rates .v { font-size: 40px; letter-spacing: -.04em; line-height: 1; margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.two-rates .v small { font-size: 15px; letter-spacing: 0; color: var(--text-2); margin-left: 6px; }
.two-rates p { margin: 8px 0 0; color: var(--text-2); font-size: 14.5px; }
.eco { display: grid; gap: 14px; }
@media (min-width: 760px) { .eco { grid-template-columns: repeat(3, 1fr); } }
.eco article { padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.eco h3 { font-size: 20px; margin-bottom: 6px; } .eco p { margin: 0; color: var(--text-2); font-size: 15px; }
.std-line { margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--sunken); border: 1px solid var(--border); font-size: 13.5px; color: var(--text-2); }
.std-line b { color: var(--ink); font-variant-numeric: tabular-nums; }
html[data-offer-state="standard"] .founding-only { display: none !important; }
.standard-only { display: none !important; }
html[data-offer-state="standard"] .standard-only { display: revert !important; }
.two-rates.compact { gap: 10px; margin: 6px 0 14px; }
.two-rates.compact article { padding: 14px 16px; } .two-rates.compact .v { font-size: 30px; } .two-rates.compact p { font-size: 13.5px; }
.fpill > span > span, .fpill > span > b { display: inline; }
@media (max-width: 719px) { .fpill .long { display: none; } .fpill + .overline { display: none; } .fpill { margin-bottom: 14px; } }
.two-rates .v .tba { font-size: 20px; letter-spacing: -.01em; color: var(--text-2); line-height: 1.3; display: inline-block; padding: 6px 0; }

/* ---------- two offerings: Axiom Complete and Axiom Powered by Rytela (owner brief 2026-11-18) ---------- */
.offers { display: grid; gap: 16px; }
@media (min-width: 900px) { .offers { grid-template-columns: 1fr 1fr; } }
.offer { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.offer.rytela { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: linear-gradient(180deg, rgba(91,124,255,.08), var(--surface) 40%); }
.offer .k { margin: 0; font: 500 12px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); display: flex; gap: 8px; align-items: center; }
.offer h3 { margin: 0; font-size: 26px; }
.offer .price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; }
.offer .price b { font-size: 40px; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.offer .price > span { color: var(--text-2); font-size: 14px; }
.offer .price b span { font: inherit; color: inherit; }
.offer .sum { margin: 0; color: var(--text-2); font-size: 15.5px; }
.offer .checks { margin: 6px 0 0; gap: 8px; } .offer .checks li { font-size: 14.5px; }
.offer .btn { margin-top: auto; align-self: start; }
.cmp-table { border-top: 1px solid var(--border-strong); }
.cmp-row { display: grid; grid-template-columns: 1fr; gap: 6px 20px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
@media (min-width: 760px) { .cmp-row { grid-template-columns: 1.1fr 1fr 1.2fr; } }
.cmp-row.head { font: 500 11px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); padding: 10px 0; }
.cmp-row [role="rowheader"] { font-weight: 600; }
.cmp-row [role="cell"] { color: var(--text-2); }
.cmp-row .tag { display: inline-block; font: 500 10px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 6px; border-radius: 4px; margin-right: 8px; vertical-align: 1px; font-style: normal; }
.cmp-row .tag.manual { background: rgba(255,255,255,.07); color: var(--text-2); } .cmp-row .tag.ai { background: var(--accent-bg); color: var(--info-fg); }
@media (max-width: 759px) {
  .cmp-row.head span:not(:first-child) { display: none; }
  .cmp-row [role="cell"]::before { content: attr(data-l); display: block; font: 500 11px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin: 4px 0 2px; }
  .cmp-row .tag { font-size: 11px; }
}
.rytela-logo { height: 26px; width: auto; display: inline-block; vertical-align: middle; }
.agents { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.agents li { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 15px; }
.agents li b { display: block; color: var(--ink); }
.agents .avatar { width: 34px; height: 34px; font-size: 13px; background: var(--accent-fill); color: #fff; }
.agents .avatar.dim { background: var(--raised); color: var(--text-2); border: 1px solid var(--border-strong); }
.pkgs { display: grid; gap: 12px; }
.pkg { padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.pkg .k { margin: 0 0 6px; font: 500 12px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.pkg .v { margin: 0 0 6px; font-size: 30px; letter-spacing: -.03em; line-height: 1; } .pkg .v small { font-size: 14px; letter-spacing: 0; color: var(--text-2); margin-left: 6px; }
.pkg .v .tba { font-size: 18px; color: var(--text-2); letter-spacing: 0; }
.pkg p:last-child { margin: 0; color: var(--text-2); font-size: 14px; }
.calc[data-rytela="no"] [data-when-rytela] { display: none; }
.pkgs-choice label { flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 14px; }
.pkgs-choice .pk-meta { font: 12px var(--font-mono); color: var(--text-3); margin-left: 28px; }
.calc[data-pkgs="tba"] .pkgs-choice { display: none; }
.agents + .also { margin: 18px 0 0; font: 500 12px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.pkg-tba p:last-child { color: var(--text-2); font-size: 15px; }
@media (max-width: 719px) { .offer .price b { font-size: 30px; } .offer .k .pill { margin-left: 4px; } }
.calc-sum .ahead dt, .calc-sum .ahead dd { color: var(--text-3); font-size: 14px; }
.calc-steps { counter-reset: cs; }
.cstep { counter-increment: cs; }
.cstep legend .n::before { content: counter(cs); }
.ahead-line { margin: 6px 0 10px; font-size: 16px; color: var(--text-2); }
.ahead-line b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
.calc-sum .ahead-k { padding: 10px 0 0; border-top: 1px solid var(--border-strong); } .calc-sum .ahead-k dt { font: 500 11px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.calc-sum .ahead { border-top: 0; padding-top: 4px; }
.calc-sum .once-line { display: flex; justify-content: space-between; gap: 12px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--border-subtle); font-size: 13.5px; color: var(--text-2); }
@media (max-width: 520px) { .calc-sum dd span[data-out="extraNote"] { display: block; } }
.ctl .money { position: relative; display: block; }
.ctl .money::before { content: '$'; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3); font: 500 16px var(--font-sans); pointer-events: none; }
.ctl .money input { padding-left: 24px; }
.cmp { align-items: start; }
@media (min-width: 960px) { .sticky-aside { position: sticky; top: 96px; } }
@media (min-width: 960px) { .cap > div:first-child { position: sticky; top: 96px; align-self: start; } }
/* phones: long lists collapse behind "Show all" (site.js adds the button) */
.more-btn { display: none; margin: 10px 0 0; min-height: 44px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: 10px; background: transparent; color: var(--ink); font: 600 14px var(--font-sans); cursor: pointer; }
@media (max-width: 719px) {
  .js [data-collapse]:not(.open) > :nth-child(n + 5) { display: none; }
  .js [data-collapse="3"]:not(.open) > :nth-child(n + 4) { display: none; }
  .js [data-collapse] + .more-btn { display: inline-flex; align-items: center; }
  .js .legal .toc:not(.open) ol { display: none; }
  .js .legal .toc .more-btn { display: inline-flex; align-items: center; margin: 8px 0 0; }
}
@media (max-width: 719px) { .pillar ul { display: none; } .pillar p { margin-bottom: 8px; } }
/* the standard price, struck through beside the founding rate (owner 2026-11-18: "wow, $79") */
.was { display: inline-flex; align-items: baseline; gap: 6px; font: 500 13px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.was s { font: 600 1.35em/1 var(--font-sans); letter-spacing: -.02em; text-transform: none; color: var(--text-2); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.price-hero .bigrow { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.price-hero .bigrow .was { font-size: 14px; } .price-hero .bigrow .was s { font-size: clamp(28px, 4vw, 44px); }
.price-band .was { margin: 4px 0 14px; } .price-band .was s { font-size: 22px; }
.offer .price .was { margin-left: 4px; } .offer .price .was s { font-size: 20px; }
.facts3 em .was { margin-left: 8px; } .facts3 em .was s { font-size: 15px; }
.facts3 span .was s { font-size: 1em; }
.two-rates .v .was { margin-left: 8px; vertical-align: 6px; } .two-rates .v .was s { font-size: 20px; }
.two-rates.compact .v .was { display: block; margin: 6px 0 0; vertical-align: 0; }
/* the contact page's booking card (build.mjs BOOK_CARD, only while demo booking is live) */
.book-card { margin: 0 0 22px; padding: 22px 24px; border: 1px solid rgba(91,124,255,.35); border-radius: var(--radius); background: linear-gradient(180deg, rgba(91,124,255,.12), rgba(91,124,255,.04)); }
.book-card .k { margin: 0 0 8px; font: 500 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.book-card h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; }
.book-card p { margin: 0 0 12px; color: var(--text-2); }
.book-card .btn-row { margin: 14px 0 10px; }
.book-card .fine { margin: 0; }

/* Run a job (/demo/): the desktop header row is full, so it lives in the phone menu, the footer, the home hero and the page CTAs */
.nav-list li:has(> a[href="/demo/"]) { display: none; }
