/* ytadvisors.com v4 — recalibrated against ramp.com and notion.com (Yomi 2026-11-19).
   White page, black type, one accent (Fleet HQ blue), soft grey cards without borders or header bars, real interface shown large. */
:root {
  --bg: #ffffff; --ink: #0f0f10; --text: #2b2b2e; --mute: #6e6e73; --soft: #8a8a90;
  --card: #f5f5f4; --card-2: #efefed; --line: #e7e7e5; --ui-line: #e4e4e2;
  --accent: #1b6fc2; --accent-hover: #155b9f; --accent-soft: #eaf2fb;
  --ok: #2fa36b; --warn: #e0a22b; --bad: #d64545;
  --r: 10px; --r-lg: 18px;
  --font: "Inter", "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #9cc3ee; outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
.w { max-width: 1200px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 12px; z-index: 30; background: #fff; padding: 8px 12px; }
.muted { color: var(--mute); } .small { font-size: 13px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav-row { display: flex; align-items: center; gap: 36px; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none !important; }
.logo b { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.logo span { font-size: 13px; color: var(--mute); margin-left: 2px; }
.links { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.links a { color: var(--text); text-decoration: none; }
.links a:hover, .links a[aria-current="page"] { color: var(--ink); }
.links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.link-quiet { color: var(--text); font-size: 15px; font-weight: 500; }
@media (max-width: 820px) { .nav-row { flex-wrap: wrap; height: auto; padding-block: 12px; gap: 10px 20px; } .links { order: 3; width: 100%; overflow-x: auto; } .link-quiet { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: 8px; font: 600 15px/1 var(--font); border: 0; cursor: pointer; text-decoration: none !important; white-space: nowrap; }
.btn.lg { height: 50px; padding: 0 24px; font-size: 16px; }
.btn.primary { background: var(--accent); color: #fff; } .btn.primary:hover { background: var(--accent-hover); }
.btn.soft { background: var(--card); color: var(--ink); } .btn.soft:hover { background: var(--card-2); }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); } .btn.ghost:hover { background: var(--card); }
.btn[disabled] { opacity: .6; }

/* hero */
.hero { text-align: center; padding-block: clamp(64px, 9vw, 120px) clamp(36px, 4vw, 56px); display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero.sub { padding-bottom: clamp(28px, 3vw, 40px); }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--mute); }
.hero h1 { font-size: clamp(42px, 6.4vw, 80px); line-height: 1.02; font-weight: 700; letter-spacing: -.045em; max-width: 1080px; }
.hero.sub h1 { font-size: clamp(38px, 5.2vw, 64px); }
.hero h1 span, h2 span, h3 span { color: var(--soft); }
.lede { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; color: var(--mute); max-width: 640px; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }

/* the stage: one quiet panel for the product */
.stage-wrap { padding-bottom: clamp(24px, 3vw, 40px); }
.stage { position: relative; background: var(--card); border-radius: 24px; padding: clamp(20px, 4vw, 56px); overflow: hidden;
  background-image: radial-gradient(circle, rgba(15,15,16,.07) 1px, transparent 1.2px); background-size: 22px 22px; background-color: var(--card); }
.stage.plain { background-image: none; padding: clamp(12px, 2vw, 20px); }
.amy-v.big { width: 100%; border-radius: 14px; }

/* interface cards (product UI, crisp) */
.card { background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px var(--ui-line), 0 6px 24px rgba(15,15,16,.06); }
.card-h { display: flex; align-items: baseline; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--ui-line); font-size: 15px; color: var(--ink); }
.card-h span { font-size: 13px; color: var(--mute); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: none; }
.dot.warn { background: var(--warn); } .dot.muted { background: #b9b9bf; } .dot.bad { background: var(--bad); }

/* scene layout */
.scene { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 20px; align-items: start; }
.scene .map { grid-column: 1; grid-row: 1 / span 2; }
.scene .alert { grid-column: 2; grid-row: 1; }
.scene .task { grid-column: 2; grid-row: 2; }
@media (max-width: 900px) { .scene { grid-template-columns: minmax(0, 1fr); } .scene .map, .scene .alert, .scene .task { grid-column: 1; grid-row: auto; } }
.map-body { position: relative; height: 330px; }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.wires path { fill: none; stroke: #c9c9cd; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1400; stroke-dashoffset: 0; }
.node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: 0 0 0 1px var(--ui-line), 0 2px 8px rgba(15,15,16,.05); white-space: nowrap; }
.node b { display: block; font-size: 15px; color: var(--ink); line-height: 1.25; } .node small { display: block; font-size: 13px; color: var(--mute); }
.node.hub { padding: 12px 18px; }
.mk { width: 34px; height: 34px; border-radius: 9px; background: #fdf1ee url("fleet-mark.svg") center / 20px no-repeat; box-shadow: inset 0 0 0 1px #f3d2ca; flex: none; }
@media (max-width: 640px) { .node small { display: none; } .node { padding: 7px 10px; gap: 6px; } .node b { font-size: 13px; } .map-body { height: 260px; } }
.alert { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.alert b { display: block; color: var(--ink); font-size: 16px; } .alert small { color: var(--mute); font-size: 14px; }
.ai { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fdf3e1; color: #9a6206; font-weight: 700; }
.abtn { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--card); border-radius: 8px; padding: 8px 12px; }
.task { padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.ask { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 10px; padding: 12px 14px; font-size: 16px; font-weight: 500; color: var(--ink); }
.caret { color: var(--accent); font-weight: 700; }
.typed { overflow: hidden; white-space: nowrap; }
.jobs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.jobs li { display: grid; grid-template-columns: 120px minmax(0, 1fr) 132px; align-items: center; gap: 12px; font-size: 14px; }
.jn { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.bar { height: 6px; border-radius: 3px; background: var(--card-2); overflow: hidden; } .bar i { display: block; height: 100%; width: 100%; background: var(--ok); }
.js { position: relative; color: var(--mute); font-size: 13px; } .js em { font-style: normal; } .js em:first-child { display: none; }
.answer { font-size: 14.5px; color: var(--text); background: #f1f8f4; border-radius: 10px; padding: 12px 14px; } .answer b { color: #1d6b45; }
@media (max-width: 520px) { .jobs li { grid-template-columns: 100px minmax(0, 1fr); } .js { grid-column: 1 / -1; } }

/* scene motion: calm, once per view, then loops gently */
.scene.play .map, .scene.play .alert, .scene.play .task { animation: rise .8s cubic-bezier(.16,1,.3,1) both; }
.scene.play .task { animation-delay: .25s; }
.scene.play .alert { animation: pop .7s cubic-bezier(.16,1,.3,1) 3.6s both; }
.scene.play .wires path { animation: draw 1.1s cubic-bezier(.4,0,.2,1) .35s both; }
.scene.play .node:not(.hub) { animation: nodein .6s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--d) + .3s); }
.scene.play .typed { animation: type 1.1s steps(32) .5s both; }
.scene.play .jobs li { animation: rise .5s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(1.5s + var(--i) * .12s); }
.scene.play .bar i { animation: fill 1.4s cubic-bezier(.4,0,.2,1) both, okc .3s both; animation-delay: calc(1.8s + var(--i) * .3s), calc(3s + var(--i) * .3s); }
.scene.play .js em:first-child { display: inline; animation: hideit .1s both; animation-delay: calc(3s + var(--i) * .3s); }
.scene.play .js em + em { position: absolute; left: 0; top: 0; animation: showit .3s both; animation-delay: calc(3s + var(--i) * .3s); }
.scene.play .answer { animation: rise .6s cubic-bezier(.16,1,.3,1) 4.3s both; }
.scene.still * { animation: none !important; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes nodein { from { opacity: 0; transform: translate(-50%, -40%); } }
@keyframes draw { from { stroke-dashoffset: 1400; } }
@keyframes type { from { width: 0; } to { width: 32ch; } }
@keyframes fill { from { width: 0; background: var(--accent); } to { width: 100%; background: var(--accent); } }
@keyframes okc { to { background: var(--ok); } }
@keyframes hideit { to { opacity: 0; visibility: hidden; } }
@keyframes showit { from { opacity: 0; } to { opacity: 1; } }

/* proof strip */
.proof { padding-block: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.proof-l { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--mute); }
.proof-g { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-g div { padding: 22px 18px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.proof-g div + div { border-left: 1px solid var(--line); }
.proof-g b { font-size: clamp(28px, 3.4vw, 40px); color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.proof-g span { font-size: 14px; color: var(--mute); }
@media (max-width: 760px) { .proof-g { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof-g div:nth-child(3) { border-left: 0; } .proof-g div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* sections and feature cards */
.sec { padding-block: clamp(40px, 6vw, 80px); }
h2.big { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.04em; font-weight: 700; margin-bottom: clamp(24px, 3vw, 40px); }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .fgrid { grid-template-columns: minmax(0, 1fr); } }
.fcard { background: var(--card); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) 0; overflow: hidden; display: flex; flex-direction: column; gap: 10px; min-height: 420px; }
.fcard.wide { grid-column: 1 / -1; min-height: 380px; }
.flabel { font-size: 14px; font-weight: 600; color: var(--mute); }
.fcard h3 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.2; letter-spacing: -.025em; font-weight: 650; max-width: 520px; }
.fui { margin-top: auto; padding-top: 24px; transform: translateY(1px); }
.fshot { margin-top: auto; padding-top: 24px; }
.fshot img { width: 100%; border-radius: 12px 12px 0 0; box-shadow: 0 0 0 1px var(--ui-line); }
.ui { background: #fff; border-radius: 14px 14px 0 0; box-shadow: 0 0 0 1px var(--ui-line); padding: 8px 0; margin-right: -40px; }
.ui .row { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--ui-line); }
.ui .row:last-child { border-bottom: 0; }
.ui .row b { display: block; color: var(--ink); font-size: 16px; } .ui .row small { color: var(--mute); font-size: 14px; }
.ui .row code { margin-left: auto; font-family: var(--mono); font-size: 13px; color: var(--mute); }
.ui.board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 18px; margin-right: 0; }
.ui.board .col { background: var(--card); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.ui.board .col p { font-size: 13px; font-weight: 600; color: var(--mute); padding: 2px 4px; }
.ui.board .tk { background: #fff; border-radius: 10px; padding: 12px 14px; box-shadow: 0 0 0 1px var(--ui-line); }
.ui.board .tk b { display: block; font-size: 15.5px; color: var(--ink); } .ui.board .tk small { display: flex; align-items: center; gap: 7px; color: var(--mute); font-size: 13.5px; margin-top: 4px; }

/* steps: one accent, three quiet columns */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { background: var(--card); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.steps li > b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 15px; margin-bottom: 8px; }
.steps h3 { font-size: 20px; letter-spacing: -.02em; } .steps p { color: var(--mute); }

/* Amy */
.amy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--card); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); }
.amy-t { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.amy-t h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.035em; line-height: 1.1; } .amy-t p:not(.flabel) { color: var(--mute); }
.amy-v { width: 100%; border-radius: 14px; }
@media (max-width: 860px) { .amy { grid-template-columns: minmax(0, 1fr); } }

/* three-up text and soft blocks */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.trio.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .trio, .trio.two { grid-template-columns: minmax(0, 1fr); } }
.trio > div { display: flex; flex-direction: column; gap: 8px; } .trio h3 { font-size: 20px; letter-spacing: -.02em; } .trio p { color: var(--mute); }
.soft { background: var(--card); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.soft h3 { font-size: 20px; letter-spacing: -.02em; } .soft p, .soft li { color: var(--text); }
.soft ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.soft ul b { color: var(--ink); }

/* FAQ and closing */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--mute); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 10px; color: var(--mute); max-width: 760px; }
.close { text-align: center; padding-block: clamp(56px, 8vw, 110px); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.close h2 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.045em; line-height: 1.05; } .close p { color: var(--mute); font-size: 18px; margin-bottom: 8px; }

/* forms */
.formgrid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .formgrid { grid-template-columns: minmax(0, 1fr); } .formgrid .formcard { order: -1; } }
.side { display: flex; flex-direction: column; gap: 20px; }
.mini { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mini li { display: flex; gap: 12px; align-items: flex-start; } .mini b { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 13px; }
.formcard { background: #fff; border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line); padding: clamp(22px, 3vw, 36px); }
.form { display: flex; flex-direction: column; gap: 18px; }
.f2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 600px) { .f2 { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 2px; }
input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--card); color: var(--ink); font: 400 15.5px/1.4 var(--font); box-shadow: inset 0 0 0 1px transparent; }
textarea { height: auto; padding: 10px 12px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--accent); }
[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--bad) !important; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 8px; background: var(--card); cursor: pointer; font-size: 15px; }
.opt:has(input:checked) { background: var(--accent-soft); color: var(--ink); box-shadow: inset 0 0 0 2px var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; } .check input { margin-top: 4px; width: 16px; height: 16px; }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); }
.err { color: #b42318; font-size: 13px; } .err:empty { display: none; }
.form-err:not(:empty) { background: #fdecea; border-radius: 8px; padding: 10px 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.done-i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #e6f4ec; color: var(--ok); font-size: 22px; font-weight: 700; }
.done h3 { font-size: 22px; margin-bottom: 6px; } .done p { color: var(--mute); }
[hidden] { display: none !important; }

/* legal */
.legal { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.legal h2 { font-size: 22px; margin-top: 20px; letter-spacing: -.02em; } .legal h3 { font-size: 18px; margin-top: 8px; }
.legal ul { margin: 0; padding-left: 22px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 36px 28px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; margin-left: auto; } .foot-links a { color: var(--mute); }
.fine { font-size: 13px; color: var(--soft); margin-top: 16px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* v4.1 — ElevenLabs refinements: warm off-white, lighter headlines, split page heads, black pill buttons, hairline framing.
   Fleet HQ blue now lives only inside the product interface. */
:root { --bg: #fbfbfa; --card: #f3f2ef; --card-2: #ebe9e5; --line: #e6e4df; }
body { background: var(--bg); }
.nav { background: rgba(251, 251, 250, .88); }
.btn { border-radius: 999px; }
.btn.primary { background: var(--ink); color: #fff; } .btn.primary:hover { background: #2c2c2e; }
.btn.ghost { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.hero.split-h { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px 56px; align-items: end; text-align: left; padding-block: clamp(56px, 8vw, 104px) clamp(32px, 4vw, 48px); }
.hero.split-h .hl { display: flex; flex-direction: column; gap: 16px; }
.hero.split-h .hr { display: flex; flex-direction: column; gap: 22px; padding-bottom: 8px; }
.hero.split-h h1 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; }
.hero.split-h .lede { font-size: 17.5px; color: var(--text); max-width: 520px; }
.hero.split-h .cta-row { justify-content: flex-start; margin: 0; }
@media (max-width: 860px) { .hero.split-h { grid-template-columns: minmax(0, 1fr); align-items: start; } }
h2.big, .close h2 { font-weight: 500; letter-spacing: -.03em; }
.fcard h3, .amy-t h2 { font-weight: 500; }
.eyebrow, .flabel { font-weight: 500; }
/* hairline frame around the content column, like ElevenLabs */
main { position: relative; }
main::before, main::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); pointer-events: none; }
main::before { left: max(12px, calc(50% - 612px)); } main::after { right: max(12px, calc(50% - 612px)); }
.proof-g, .faq { border-color: var(--line); }
.stage { background-color: #f3f2ef; }
.answer { background: #eef7f1; }

/* what Fleet HQ watches: hairline grid, no numbers */
.watch { padding-block: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.watch-l { font-size: 14px; font-weight: 500; color: var(--mute); }
.watch-g { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.watch-g div { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 8px; text-align: center; font-size: 13.5px; color: var(--text); }
.watch-g div + div { border-left: 1px solid var(--line); }
.watch-g svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .watch-g { grid-template-columns: repeat(4, minmax(0, 1fr)); } .watch-g div:nth-child(5) { border-left: 0; } .watch-g div:nth-child(n+5) { border-top: 1px solid var(--line); } }

/* keep screenshots in proportion: the width/height attributes reserve space, CSS scales both */
img { height: auto; }
.fshot img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }

/* stacked frames on a table: the front screen moves to the back every few seconds */
.stack-card { background: var(--card); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: clamp(24px, 3vw, 36px); overflow: hidden; }
.stack-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; min-height: 84px; }
.sh { display: flex; flex-direction: column; gap: 10px; }
.sh h3 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.2; letter-spacing: -.025em; font-weight: 500; }
.stack-tabs { display: flex; gap: 6px; background: #fff; border-radius: 999px; padding: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.st { border: 0; background: transparent; font: 500 14px/1 var(--font); color: var(--mute); padding: 9px 14px; border-radius: 999px; cursor: pointer; }
.st[aria-pressed="true"] { background: var(--ink); color: #fff; }
.stack { position: relative; aspect-ratio: 1800 / 1008; margin: 40px 48px 8px 0; }
.sf { position: absolute; inset: 0; margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--ui-line); cursor: pointer;
  transition: transform .7s cubic-bezier(.16,1,.3,1), opacity .7s cubic-bezier(.16,1,.3,1), filter .7s; transform-origin: 0 100%; }
.sf img { width: 100%; height: 100%; object-fit: cover; }
.sf[data-pos="0"] { z-index: 3; transform: none; }
.sf[data-pos="1"] { z-index: 2; transform: translate(24px, -20px) scale(.985); filter: brightness(.97); }
.sf[data-pos="2"] { z-index: 1; transform: translate(48px, -40px) scale(.97); filter: brightness(.94); }
@media (max-width: 640px) { .stack { margin: 24px 24px 4px 0; } .sf[data-pos="1"] { transform: translate(12px, -12px) scale(.985); } .sf[data-pos="2"] { transform: translate(24px, -24px) scale(.97); } }
@media (prefers-reduced-motion: reduce) { .sf { transition: none; } }

/* v2: folders fanned diagonally — back folders peek up and to the right, each with its own tab on its top edge */
.stack { margin: 112px 12% 8px 0; }
.sf { overflow: visible; box-shadow: none; background: transparent; cursor: default; transform-origin: 0 100%; }
.fbody { position: absolute; inset: 0; border-radius: 0 14px 14px 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--ui-line), 0 1px 2px rgba(15,15,16,.04); cursor: pointer; }
.ftab { position: absolute; bottom: calc(100% - 1px); left: 0; height: 38px; padding: 0 22px; border: 0; border-radius: 12px 12px 0 0;
  background: #fff; color: var(--mute); font: 500 14.5px/38px var(--font); white-space: nowrap; cursor: pointer;
  box-shadow: 0 0 0 1px var(--ui-line); clip-path: inset(-2px -2px 1px -2px); transition: color .3s; }
.ftab:hover { color: var(--ink); }
.sf[data-pos="0"] { transform: none; filter: none; }
.sf[data-pos="0"] .ftab { color: var(--ink); font-weight: 600; }
.sf[data-pos="1"] { transform: translate(6%, -52px); filter: brightness(.965); }
.sf[data-pos="2"] { transform: translate(12%, -104px); filter: brightness(.93); }
@media (max-width: 640px) { .stack { margin: 80px 12% 4px 0; } .ftab { height: 30px; line-height: 30px; padding: 0 12px; font-size: 12.5px; }
  .sf[data-pos="1"] { transform: translate(6%, -36px); } .sf[data-pos="2"] { transform: translate(12%, -72px); } }

/* smooth motion across the site (Yomi 2026-11-19) */
html { scroll-behavior: smooth; }
a, .links a, .foot-links a, .link-quiet { transition: color .2s ease, opacity .2s ease; }
.btn { transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .2s cubic-bezier(.16,1,.3,1); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.nav { transition: background-color .3s ease, border-color .3s ease; }
input, select, textarea, .opt { transition: background-color .2s ease, box-shadow .2s ease; }
.fcard, .soft, .steps li, .stack-card { transition: background-color .3s ease, transform .5s cubic-bezier(.16,1,.3,1); }
.fcard:hover .fui, .fcard:hover .fshot img { transform: translateY(-4px); }
.fui, .fshot img { transition: transform .6s cubic-bezier(.16,1,.3,1); }
.watch-g svg { transition: transform .4s cubic-bezier(.16,1,.3,1); } .watch-g div:hover svg { transform: translateY(-3px); }
/* reveal: children of grids arrive one after another */
.fgrid > .reveal:nth-child(2), .trio > .reveal:nth-child(2) { transition-delay: .08s; }
.fgrid > .reveal:nth-child(3), .trio > .reveal:nth-child(3) { transition-delay: .16s; }
.fgrid > .reveal:nth-child(4) { transition-delay: .24s; }
/* FAQ: + turns into × as the answer slides open */
.faq summary { transition: color .2s ease; } .faq summary:hover { color: var(--accent); }
.faq summary::after { content: "+" !important; display: inline-block; transition: transform .38s cubic-bezier(.16,1,.3,1); }
.faq details[open]:not(.closing) summary::after { transform: rotate(45deg); }
.faq-a { overflow: hidden; } .faq-a p { margin-top: 10px; }
.faq details.closing .faq-a p, .faq details.opening .faq-a p { transition: none; }
/* the stacked folders glide */
.sf { transition: transform .8s cubic-bezier(.16,1,.3,1), filter .8s ease; }
.sh:not([hidden]) { animation: rise .5s cubic-bezier(.16,1,.3,1) both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* Devices: the fleet map drawn in the page (sharp at any size) */
.ui.netmap { margin-right: 0; padding: 0; }
.nm-h { display: flex; align-items: baseline; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--ui-line); }
.nm-h b { color: var(--ink); font-size: 15px; } .nm-h span { color: var(--mute); font-size: 13.5px; }
.nm-body { position: relative; height: 300px; }
.nm-wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.nm-wires path { fill: none; stroke: #c9c9cd; stroke-width: 2; vector-effect: non-scaling-stroke; }
.nm-wires path.dash { stroke-dasharray: 4 5; }
.mnode { position: absolute; left: var(--x); top: 72%; transform: translate(-50%, -50%); width: 17.5%; display: flex; align-items: flex-start; gap: 10px;
  background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: 0 0 0 1px var(--ui-line), 0 2px 8px rgba(15,15,16,.05); }
.mnode .dot { margin-top: 6px; }
.mnode b { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.mnode small { display: block; color: var(--mute); font-size: 13px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mnode small.mm { font-family: var(--mono); font-size: 12px; }
.mnode > span:last-child { min-width: 0; }
.mnode.hub { top: 22%; width: auto; align-items: center; padding: 12px 18px; }
@media (max-width: 860px) { .nm-body { height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 16px; }
  .nm-wires { display: none; } .mnode, .mnode.hub { position: static; transform: none; width: auto; } .mnode.hub { grid-column: 1 / -1; } }
/* wires share the cards' pixel scale (300px tall map) and run under the cards, so every edge meets its card */
.nm-wires { z-index: 0; } .mnode { z-index: 1; }
.mnode.hub { top: 66px; } .mnode:not(.hub) { top: 216px; }

/* radio and checkbox choices: plain, no grey boxes */
.opts { gap: 8px 22px; }
.opt { height: auto; padding: 4px 0; background: none; border-radius: 0; }
.opt:has(input:checked) { background: none; box-shadow: none; color: var(--ink); }
.opt input { width: 16px; height: 16px; margin: 0; }

/* ---------- phones (Yomi 2026-11-19: "test and fix" mobile) ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .w { padding-left: 18px; padding-right: 18px; }
  main::before, main::after { display: none; }
  /* compact sticky nav: logo + button, then one scrolling row of links */
  .nav-row { gap: 6px 16px; padding-block: 10px 6px; }
  .nav .btn.primary { height: 36px; padding: 0 14px; font-size: 14px; }
  .links { gap: 20px; font-size: 14.5px; padding-bottom: 4px; scrollbar-width: none; } .links::-webkit-scrollbar { display: none; }
  /* rhythm */
  .hero, .hero.split-h { padding-block: 36px 24px; gap: 18px; }
  .hero.split-h h1 { font-size: 38px; }
  .hero.split-h .lede { font-size: 16.5px; }
  .cta-row .btn.lg { width: 100%; }
  .sec { padding-block: 32px; }
  h2.big { font-size: 30px; margin-bottom: 20px; }
  .close { padding-block: 48px 56px; } .close h2 { font-size: 32px; }
  .stage { border-radius: 18px; padding: 14px; }
  /* hero scene: computers in a tidy grid, request text wraps, one line per job */
  .card-h { flex-wrap: wrap; gap: 2px 10px; padding: 12px 14px; }
  .map-body { height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px; }
  .wires { display: none; }
  .node, .node.hub { position: static; transform: none !important; white-space: normal; padding: 10px 12px; }
  .node.hub { grid-column: 1 / -1; }
  .node small { display: block; }
  .ask { font-size: 15px; } .typed { white-space: normal; width: auto !important; animation: none !important; }
  .jobs li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
  .jobs .bar { grid-column: 1 / -1; grid-row: 2; height: 4px; }
  .js { grid-column: 2; grid-row: 1; text-align: right; }
  .task, .alert { padding: 14px; }
  /* feature cards: no forced height, interface pieces sit inside the card */
  .fcard, .fcard.wide { min-height: 0; padding: 22px 18px 0; border-radius: 16px; }
  .fcard h3 { font-size: 22px; }
  .ui { margin-right: 0; }
  .ui .row { padding: 12px 14px; }
  .ui.board { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px; }
  /* steps: shorter cards */
  .steps { gap: 12px; } .steps li { padding: 20px; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; }
  .steps li > b { margin-bottom: 0; } .steps li p { flex-basis: 100%; }
  /* network map: one clear column, nothing cut off */
  .nm-h { flex-wrap: wrap; gap: 2px 10px; padding: 12px 14px; }
  .nm-body { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 8px; }
  .mnode small { white-space: normal; }
  /* stacked folders: bigger front folder, tighter fan */
  .stack-card { padding: 22px 14px 18px; border-radius: 16px; }
  .stack { margin: 70px 7% 4px 0; }
  .ftab { height: 28px; line-height: 28px; padding: 0 10px; font-size: 12px; }
  .sf[data-pos="1"] { transform: translate(3.5%, -30px); } .sf[data-pos="2"] { transform: translate(7%, -60px); }
  /* forms and soft blocks */
  .formgrid { gap: 16px; } .formcard, .soft { padding: 20px; border-radius: 16px; }
  .amy { padding: 20px; border-radius: 16px; }
  .watch-g div { padding: 16px 4px; font-size: 12.5px; }
  .faq summary { font-size: 16.5px; }
}
@media (max-width: 640px) {
  .js { white-space: nowrap; min-width: 8.5em; }
  .scene.play .js em + em { left: auto; right: 0; }
}
/* hero map: wires on the cards' pixel scale (330px), drawn under the cards so every line meets its card */
.wires { z-index: 0; } .node { z-index: 1; }
.scene.play .wires path { stroke-dasharray: 1400; }
