/* Fleet site: shared PS1 brand styles (home, /vs pages). */
:root {
  --abyss: #0b1626; --deep: #060b13; --panel: #0f1f35; --rigging: #22385a; --tile-hi: #2c4670;
  --dialog-top: #2a4f94; --dialog-bottom: #132a62; --dialog-edge: #dfe4ee;
  --hull: #a9adb8; --hull-hi: #eef0f5; --hull-lo: #4a5062;
  --parchment: #f1e6cc; --fog: #93a0b4;
  --brass: #d4a24c; --sonar: #4ff0b0; --flare: #f0c46a; --distress: #f2836f;
  --f-display: "Archivo", system-ui, sans-serif;
  --f-hud: "DotGothic16", ui-monospace, monospace;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1120px; --gutter: 16px;
  color-scheme: dark;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--abyss); color: var(--parchment); font: 16px/1.5 var(--f-display); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@media (min-width: 720px) { body { font-size: 17px; } }
a { color: var(--brass); text-underline-offset: 3px; }
a:hover { color: var(--flare); }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; }
code, pre { font-family: var(--f-mono); }
code { font-size: .9em; color: var(--flare); overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--flare); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- brand primitives (from the guide) ---------- */
.hud { font-family: var(--f-hud); font-size: 13px; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; }
.data { font-family: var(--f-mono); }
.chrome {
  font-family: var(--f-display); font-weight: 900; font-style: italic; font-stretch: 125%;
  background: linear-gradient(180deg,#fff 0%,#dfe3ec 42%,#5d6374 50%,#aab0bd 60%,#f4f6fa 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #4a5062) drop-shadow(0 3px 0 var(--deep)); padding-right: .1em;
}
.brassy {
  font-family: var(--f-display); font-weight: 900; font-style: italic; font-stretch: 125%;
  background: linear-gradient(180deg,#fff1c4 0%,#f0c46a 40%,#8a6420 52%,#d4a24c 64%,#ffe6a8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #3a2a0a); padding-right: .1em;
}
.flat { font-family: var(--f-display); font-weight: 900; font-style: italic; font-stretch: 125%; letter-spacing: -.02em; }
.window {
  background: linear-gradient(180deg,var(--dialog-top),var(--dialog-bottom));
  border: 2px solid var(--dialog-edge); border-radius: 6px; padding: 14px;
  box-shadow: 0 0 0 2px var(--deep), inset 0 0 0 2px var(--abyss);
}
.tile { background: var(--panel); border: 2px solid; border-color: var(--tile-hi) var(--deep) var(--deep) var(--tile-hi); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 14px/1 var(--f-hud); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  min-height: 44px; padding: 0 16px; color: var(--abyss); cursor: pointer;
  background: linear-gradient(180deg,#c9cdd6,#8c919e);
  border: 2px solid; border-color: var(--hull-hi) var(--hull-lo) var(--hull-lo) var(--hull-hi); border-radius: 0;
}
.btn:hover { color: var(--abyss); filter: brightness(1.06); }
.btn:active { border-color: var(--hull-lo) var(--hull-hi) var(--hull-hi) var(--hull-lo); }
.btn--primary { background: linear-gradient(180deg,#f3cf7e,#b9852f); border-color: #fff1c4 #6e4e18 #6e4e18 #fff1c4; }
.btn--primary:active { border-color: #6e4e18 #fff1c4 #fff1c4 #6e4e18; }
.btn.done { background: linear-gradient(180deg,#8ff5cd,#2fb886); border-color: #d6fff0 #17654a #17654a #d6fff0; }
.stage { display: inline-block; font: 13px/1.2 var(--f-hud); letter-spacing: .06em; padding: 5px 9px; border: 2px solid var(--rigging); color: var(--fog); white-space: nowrap; }
.stage.ok { background: var(--sonar); border-color: var(--sonar); color: var(--abyss); }
.stage.warn { background: var(--flare); border-color: var(--flare); color: var(--abyss); }
.stage.bad { border-color: var(--distress); color: var(--distress); }
.stage.live { border-color: var(--sonar); color: var(--sonar); }
.eyebrow { color: var(--flare); }
.muted { color: var(--fog); }
.scope { position: relative; flex: none; border-radius: 50%; overflow: hidden; background: #0b1f2c; border: 2px solid #c9cdd6; }
.scope::before { content: ""; position: absolute; inset: 0; background: conic-gradient(from 20deg,rgba(79,240,176,.7),rgba(79,240,176,0) 25%); }
.scope::after { content: ""; position: absolute; left: 50%; top: 50%; width: 32%; height: 32%; background: var(--brass); transform: translate(-50%,-50%) rotate(45deg); }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--abyss); border-bottom: 2px solid var(--rigging); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--parchment); text-decoration: none; }
.brand:hover { color: var(--parchment); }
.brand .scope { width: 28px; height: 28px; }
.brand .flat { font-size: 24px; line-height: 1; padding-right: .08em; }
.nav { display: none; gap: 20px; }
.nav a { color: var(--fog); text-decoration: none; }
.nav a:hover { color: var(--flare); }
.top .actions { margin-left: auto; display: flex; gap: 8px; }
.top .btn { min-height: 44px; padding: 0 12px; font-size: 13px; }
@media (min-width: 1000px) { .nav { display: flex; } }
@media (max-width: 359px) { .top .actions .btn--primary { display: none; } }

/* ---------- title screen (board 1a) ---------- */
.title { position: relative; overflow: hidden; background: #16335f; height: calc(100svh - 62px); min-height: 560px; max-height: 860px; }
.title .still { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; display: block; }
.title .shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,rgba(11,22,38,.35) 0%,rgba(11,22,38,0) 28%,rgba(11,22,38,0) 45%,rgba(11,22,38,.9) 100%); }
.title .scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg,rgba(0,0,0,.22) 0 1px,transparent 1px 3px); }
.title .presents { position: absolute; left: 0; right: 0; top: 36px; text-align: center; font-size: 13px; letter-spacing: .3em; }
.title .stack { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 48px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.title h1 { font-size: clamp(64px, 20vw, 200px); line-height: .9; letter-spacing: -.03em; padding: 0 .08em 8px 0; filter: drop-shadow(0 3px 0 #4a5062) drop-shadow(0 3px 0 #2a3144) drop-shadow(0 6px 0 var(--deep)); }
.title .tag { font-size: clamp(14px, 3.8vw, 22px); letter-spacing: .12em; max-width: 30ch; }
.title .start { font-size: clamp(15px, 4.3vw, 30px); white-space: nowrap; letter-spacing: .06em; text-decoration: none; animation: blink 1.3s steps(1) infinite; }
.title .start:focus-visible { outline-offset: 8px; }
@keyframes blink { 50% { opacity: .15; } }
@media (min-width: 720px) { .title .presents { top: 44px; font-size: 16px; } .title .stack { bottom: 64px; gap: 22px; } }
/* On a phone the camera's vertical field fills a tall frame with hull, so the sea takes the top of the screen and the title sits below it. */
@media (max-width: 719px) {
  .title { background: var(--abyss); }
  .title #hero-scene, .title .still { bottom: auto !important; height: 62% !important; }
  .title .shade { background: linear-gradient(180deg,rgba(11,22,38,.4) 0%,rgba(11,22,38,0) 22%,rgba(11,22,38,0) 40%,var(--abyss) 62%); }
}

/* ---------- intro + main menu ---------- */
.intro { padding: 56px 0 0; }
.intro .grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .intro .grid { grid-template-columns: 1.25fr 1fr; gap: 56px; } }
.intro h2 { font-size: clamp(34px, 8.6vw, 60px); line-height: 1; padding-bottom: 6px; margin-top: 14px; }
.intro .lede { font-size: 18px; margin-top: 18px; max-width: 36em; }
@media (min-width: 720px) { .intro .lede { font-size: 20px; } }
.intro .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.menu { padding: 10px; }
.menu > .hud { padding: 6px 8px 10px; color: var(--fog); }
.menu a { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 4px; padding: 9px 8px; min-height: 44px; border-radius: 3px; color: var(--parchment); text-decoration: none; font: 17px/1.1 var(--f-hud); letter-spacing: .06em; text-transform: uppercase; }
.menu a small { font: 11px/1 var(--f-mono); letter-spacing: 0; text-transform: none; color: var(--dialog-edge); opacity: .75; }
.menu a .cur { visibility: hidden; }
.menu a:hover, .menu a:focus-visible { background: linear-gradient(90deg,#d4a24c,#8a6420); color: var(--abyss); outline: none; }
.menu a:hover .cur, .menu a:focus-visible .cur { visibility: visible; }
.menu a:hover small, .menu a:focus-visible small { color: var(--abyss); }
.notci { margin-top: 22px; padding: 12px 14px; border: 2px dashed var(--rigging); font-size: 15px; line-height: 1.45; max-width: 36em; }
.notci .hud { color: var(--sonar); display: block; margin-bottom: 4px; }

/* ---------- sections ---------- */
.sec { padding: 88px 0 0; scroll-margin-top: 60px; }
.sec-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.sec-head .num { display: flex; align-items: baseline; gap: 12px; }
.sec-head .num span:first-child { font: 14px/1 var(--f-mono); color: var(--brass); }
.sec-head h2 { font-size: clamp(32px, 7.6vw, 48px); line-height: 1.02; }
.sec-head p { font-size: 17px; }
@media (min-width: 720px) { .sec-head p { font-size: 19px; } }
.cols { display: grid; gap: 28px; margin-top: 36px; align-items: start; }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1fr; gap: 40px; } .cols.wide-l { grid-template-columns: 1.1fr .9fr; } }
.stack-col { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.points { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.points li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.points li::before { content: ""; width: 9px; height: 9px; margin-top: 8px; margin-left: 2px; background: var(--brass); transform: rotate(45deg); }
.sub { font-size: 26px; line-height: 1.1; }

/* voice lines */
.voice { position: relative; padding-top: 14px; }
.voice .k { position: absolute; left: 14px; top: 0; z-index: 1; font: 12px/1.2 var(--f-hud); letter-spacing: .08em; padding: 3px 9px; color: var(--abyss); border: 2px solid var(--deep); }
.voice .window { padding: 24px 18px 18px; font-size: 18px; line-height: 1.4; }

/* berths */
.harbor-head { padding: 16px; display: flex; flex-direction: column; gap: 10px; border-bottom: 2px solid var(--rigging); }
.harbor-head .nm { font-size: 32px; line-height: 1; align-self: flex-start; }
.mem { display: flex; height: 12px; border: 2px solid var(--rigging); }
.mem i:nth-child(1) { width: 24%; background: #5d6374; }
.mem i:nth-child(2) { width: 44%; background: var(--flare); }
.mem i:nth-child(3) { flex: 1; background: var(--abyss); }
.mem-l { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font: 11px/1.3 var(--f-mono); color: var(--fog); }
.berths { padding: 16px 14px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.berth { aspect-ratio: 1/.82; padding: 8px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.berth .t { display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.berth .t .data { font-size: 10px; color: var(--fog); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.berth .t i { width: 8px; height: 8px; background: currentColor; flex: none; }
.berth .d { font-size: 13px; font-weight: 600; line-height: 1.15; }
.berth .hud { font-size: 11px; letter-spacing: .06em; }
.ashore { color: var(--sonar); } .atsea { color: var(--flare); } .adrift { color: var(--distress); }
.kinds { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 36px; }
@media (min-width: 720px) { .kinds { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; } }
.kind { padding: 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kind .hud { color: var(--flare); font-size: 15px; }
.kind p { font-size: 14px; line-height: 1.4; }
.kind .data { font-size: 11px; color: var(--fog); overflow-wrap: anywhere; }

/* agent call transcript */
.calls { overflow: hidden; }
.calls-head { padding: 14px 16px 12px; border-bottom: 2px solid var(--rigging); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.calls-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.call { display: grid; grid-template-columns: 12px minmax(0,1fr); gap: 10px; align-items: start; }
.call .mk { width: 10px; height: 10px; margin-top: 4px; background: var(--brass); transform: rotate(45deg); }
.call .mk.ok { background: var(--sonar); transform: none; border-radius: 50%; }
.call .in { font: 13px/1.45 var(--f-mono); overflow-wrap: anywhere; }
.call .out { font-size: 14px; line-height: 1.4; color: var(--fog); margin-top: 3px; overflow-wrap: anywhere; }

/* rows: builds, replicas, flow steps */
.rows { overflow: hidden; }
.rows-head { padding: 14px 16px 12px; border-bottom: 2px solid var(--rigging); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.rows-head .nm { font-size: 26px; line-height: 1; }
.grp { padding: 12px 16px 4px; color: var(--fog); font-size: 12px; }
.r { padding: 10px 16px 12px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 12px; align-items: center; border-bottom: 1px solid var(--rigging); }
.r:last-child { border-bottom: 0; }
.r .t { font-weight: 600; font-size: 15px; line-height: 1.3; }
.r .m { font: 12px/1.45 var(--f-mono); color: var(--fog); overflow-wrap: anywhere; }
.r .stage { font-size: 12px; padding: 4px 7px; }
.r .note { grid-column: 1 / -1; font-size: 13px; line-height: 1.4; color: var(--flare); }
.cmd-line { margin: 0; padding: 12px; background: var(--deep); border: 1px solid #1d3a72; font: 12.5px/1.55 var(--f-mono); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--parchment); }
.cmd-line .c { color: var(--fog); }

/* install */
.steps { display: grid; gap: 22px; margin-top: 36px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.step { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px; }
.step .bar { display: flex; align-items: center; gap: 10px; }
.step .n { width: 28px; height: 28px; display: grid; place-items: center; background: var(--brass); color: var(--abyss); font: 15px/1 var(--f-hud); flex: none; }
.step p { font-size: 15px; line-height: 1.45; }
.step p code { color: var(--flare); }
.cmd { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cmd pre { margin: 0; padding: 12px; background: var(--deep); border: 1px solid #1d3a72; font-size: 12.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--parchment); }
.cmd pre .ph { color: var(--flare); }
.cmd .btn { align-self: flex-start; min-height: 44px; font-size: 13px; }
@media (min-width: 720px) { .cmd { flex-direction: row; align-items: stretch; } .cmd pre { flex: 1; min-width: 0; } .cmd .btn { align-self: stretch; } }
.step .btn--primary { align-self: flex-start; }

/* fleet world */
.sea {
  position: relative; height: 360px; overflow: hidden; border: 2px solid var(--rigging); margin-top: 36px;
  background:
    linear-gradient(rgba(34,56,90,.55) 1px, transparent 1px) 0 0/100% 48px,
    linear-gradient(90deg, rgba(34,56,90,.55) 1px, transparent 1px) 0 0/48px 100%,
    radial-gradient(circle at 50% 50%, #133a5c, #0b1626 75%);
}
@media (min-width: 720px) { .sea { height: 420px; } }
.sea .ring { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(79,240,176,.25); border-radius: 50%; transform: translate(-50%,-50%); }
.sea .live { position: absolute; left: 12px; top: 10px; color: var(--sonar); font-size: 12px; }
.boat { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 4px; transform: translate(-50%,-50%); }
.boat .pic { width: 76px; height: 76px; position: relative; border: 2px solid var(--rigging); background: var(--abyss); }
.boat .who { font-size: 12px; letter-spacing: .06em; padding: 2px 6px; background: var(--abyss); border: 1px solid var(--rigging); white-space: nowrap; }
.boat .what { font: 10px/1.2 var(--f-mono); color: var(--fog); white-space: nowrap; background: rgba(11,22,38,.85); padding: 1px 4px; }
.boat.me .who { border-color: var(--brass); color: var(--brass); }
.boat.me .pic { border-color: var(--brass); }
@media (min-width: 720px) { .boat .pic { width: 120px; height: 120px; } .boat .what { font-size: 11px; } }
.join { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin-top: 14px; }
.join .data { font-size: 13px; padding: 12px; background: var(--deep); border: 2px solid var(--rigging); overflow-wrap: anywhere; flex: 1 1 220px; display: flex; align-items: center; }

/* faq */
.faq { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.faq summary { list-style: none; cursor: pointer; padding: 14px 16px; min-height: 52px; display: grid; grid-template-columns: 1fr 18px; gap: 12px; align-items: center; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "▶"; font: 13px/1 var(--f-hud); color: var(--brass); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(90deg); }
.faq .a { padding: 0 16px 16px; font-size: 16px; line-height: 1.55; }

/* closing + footer */
.closing { padding: 96px 0 0; }
.closing .inner { max-width: 640px; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.closing .voice { width: 100%; text-align: left; }
.closing .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.foot { margin-top: 96px; border-top: 2px solid var(--rigging); padding: 28px 0 40px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.foot .links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot .links a { color: var(--fog); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.foot .links a:hover { color: var(--flare); }
.foot .fine { width: 100%; font: 12px/1.6 var(--f-mono); color: var(--fog); }

/* home */
.btn--big { min-height: 52px; padding: 0 22px; font-size: 16px; }
.blink { font-size: .8em; animation: blink 1.3s steps(1) infinite; }

/* hero: the title screen with the pitch in plain words */
.title.hero { height: auto; max-height: none; min-height: clamp(600px, calc(100svh - 62px), 940px); display: flex; flex-direction: column; justify-content: flex-end; }
.title.hero .shade { background: linear-gradient(180deg,rgba(11,22,38,.35) 0%,rgba(11,22,38,0) 20%,rgba(11,22,38,.1) 38%,rgba(11,22,38,.88) 72%,var(--abyss) 100%); }
.hero-copy { position: relative; z-index: 2; width: 100%; padding-top: 24px; padding-bottom: 48px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.title.hero .tag { font-size: clamp(12px, 3.2vw, 15px); letter-spacing: .14em; max-width: none; color: var(--fog); }
.title.hero h1 { display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: inherit; line-height: normal; letter-spacing: normal; padding: 0; filter: none; }
.hero .word { font-size: clamp(64px, 13vw, 150px); line-height: .9; letter-spacing: -.03em; padding: 0 .08em 6px 0; filter: drop-shadow(0 3px 0 #4a5062) drop-shadow(0 3px 0 #2a3144) drop-shadow(0 6px 0 var(--deep)); }
.hero .pitch { font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 2.9vw, 36px); line-height: 1.15; letter-spacing: -.01em; max-width: 27ch; color: var(--parchment); text-wrap: balance; text-shadow: 0 2px 0 var(--deep), 0 0 18px rgba(6,11,19,.8); }
.hero .sub { max-width: 46ch; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5; color: #ddd5c1; text-shadow: 0 1px 0 var(--deep); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips li { font: 12px/1.2 var(--f-hud); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border: 2px solid var(--rigging); background: rgba(6,11,19,.75); color: var(--sonar); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
@media (min-width: 720px) { .hero-copy { padding-bottom: 64px; gap: 18px; } }
@media (max-width: 719px) {
  .title.hero { min-height: 0; justify-content: flex-start; }
  .title.hero #hero-scene, .title.hero .still { height: 300px !important; }
  .title.hero .shade { background: linear-gradient(180deg,rgba(11,22,38,.4) 0,rgba(11,22,38,0) 70px,rgba(11,22,38,0) 170px,var(--abyss) 300px); }
  .hero-copy { padding-top: 214px; padding-bottom: 40px; gap: 14px; }
}

/* proof strip */
.proof { padding: 28px 0 0; }
.proof-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
@media (min-width: 720px) { .proof-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (min-width: 1100px) { .proof-grid { grid-template-columns: repeat(6,minmax(0,1fr)); } }
.proof-grid li { padding: 14px; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.proof .big { font-size: clamp(36px, 9vw, 46px); line-height: 1; align-self: flex-start; }
.proof .big small { font-size: .45em; margin-left: 3px; }
.proof .hud { color: var(--flare); font-size: 12px; }
.proof .what { font-size: 13.5px; line-height: 1.35; color: var(--fog); }

/* demo: an agent's transcript and the berth it drives */
.demo-grid { display: grid; gap: 22px; margin-top: 32px; align-items: center; }
@media (min-width: 900px) { .demo-grid { grid-template-columns: minmax(0,1fr) 300px; gap: 40px; } }
.term { min-width: 0; display: flex; flex-direction: column; background: var(--deep); border: 2px solid var(--rigging); box-shadow: 0 0 0 2px var(--deep), 0 18px 40px rgba(0,0,0,.35); }
.term-bar { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 2px 2px 2px 12px; border-bottom: 2px solid var(--rigging); background: var(--panel); }
.term-bar .data { flex: 1; min-width: 0; font-size: 12px; color: var(--fog); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.term-bar .dots { display: flex; gap: 5px; }
.term-bar .dots i { width: 10px; height: 10px; background: var(--rigging); }
.term-bar .dots i:first-child { background: var(--brass); }
.term .term-replay { min-height: 44px; padding: 0 12px; font-size: 12px; }
.term .term-replay[hidden] { display: none; }
.term-body { list-style: none; margin: 0; padding: 16px; height: 470px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; font: 13px/1.55 var(--f-mono); color: var(--parchment); scroll-behavior: smooth; }
@media (max-width: 899px) { .term-body { height: 360px; padding: 14px 12px; font-size: 12.5px; } }
.term.static .term-body { height: auto; overflow: visible; }
.ln { overflow-wrap: anywhere; }
.ln.pending { display: none; }
.ln.shown { animation: ln-in .25s ease-out; }
@keyframes ln-in { from { opacity: 0; transform: translateY(4px); } }
.ln.u { padding: 8px 10px; background: rgba(34,56,90,.45); border-left: 3px solid var(--brass); }
.ln .p { color: var(--brass); font-weight: 700; }
.ln .b { color: var(--sonar); }
.ln.a .b { color: var(--parchment); font-family: var(--f-mono); font-size: 13px; }
.ln.e .b { color: var(--flare); }
.ln .k { font-weight: 700; }
.ln .c { color: var(--flare); }
.ln .r, .ln .d { display: block; padding-left: 18px; color: var(--fog); }
.ln .d { margin-top: 2px; white-space: pre-wrap; }
.ln .d.m { color: var(--distress); background: rgba(242,131,111,.08); }
.ln .d.p { color: var(--sonar); background: rgba(79,240,176,.08); }
.ln.a { font-family: var(--f-display); font-size: 15px; line-height: 1.45; }
.ln.a b { color: var(--distress); }
.ln.a.ok { color: var(--sonar); }
.ln.typing .r, .ln.typing .d { visibility: hidden; }
.ln.typing .c::after { content: "▋"; animation: blink .8s steps(1) infinite; }

.phone-col { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
@media (max-width: 899px) { .phone-col { order: -1; } }
.phone-col figcaption { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--fog); }
.phone { position: relative; width: 260px; aspect-ratio: 9 / 19.5; padding: 9px; border-radius: 42px; background: linear-gradient(160deg,#eef0f5,#8c919e 45%,#4a5062); box-shadow: 0 0 0 2px var(--deep), 0 24px 50px rgba(0,0,0,.45); }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #000; }
@media (max-width: 899px) { .phone { width: 172px; padding: 7px; border-radius: 30px; } .phone .screen { border-radius: 24px; } }
.phone .island { position: absolute; z-index: 8; top: 8px; left: 50%; width: 30%; height: 17px; border-radius: 10px; background: #000; transform: translateX(-50%); }
.phone .homebar { position: absolute; z-index: 8; bottom: 6px; left: 50%; width: 36%; height: 5px; border-radius: 3px; background: rgba(255,255,255,.8); transform: translateX(-50%); }
.phone[data-s="fixed"] .homebar, .phone[data-s="snap-ok"] .homebar, .phone[data-s="off"] .homebar { background: #2b2b30; }
.ph-layer { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.ph-off, .ph-erased { background: #05080d; color: var(--fog); }
.ph-off .hud, .ph-erased .hud { font-size: 11px; }
.ph-erased { color: var(--sonar); }
.ph-boot { background: #000; color: #fff; }
.ph-boot .hud { font-size: 11px; opacity: .7; }
.ph-boot .spin { width: 22px; height: 22px; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; animation: ph-spin .8s linear infinite; }
@keyframes ph-spin { to { transform: rotate(360deg); } }
.ph-home { justify-content: flex-start; padding: 48px 16px 0; background: linear-gradient(170deg,#2a4f94,#132a62 55%,#0b1626); }
.ph-home .icons { width: 100%; display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.ph-home .icons i { aspect-ratio: 1; border-radius: 24%; background: rgba(255,255,255,.16); }
.ph-home .icons i:nth-child(3n+1) { background: rgba(79,240,176,.35); }
.ph-home .icons i:nth-child(4n+2) { background: rgba(242,131,111,.4); }
.ph-home .icons .app { display: grid; place-items: center; background: var(--brass); opacity: 0; transform: scale(.4); transition: opacity .4s, transform .4s; }
.ph-home .icons .app b { font: 900 italic 15px/1 var(--f-display); color: var(--abyss); }
.ph-app { align-items: stretch; justify-content: flex-start; gap: 0; padding-top: 34px; background: #f6f3ec; color: #1b1b1f; font-family: system-ui, -apple-system, sans-serif; }
.ph-app .app-top { display: flex; justify-content: space-between; align-items: center; padding: 6px 12px 10px; }
.ph-app .app-top b { font-size: 19px; font-weight: 800; }
.ph-app .fbtn { font-size: 10px; font-weight: 600; padding: 5px 9px; border-radius: 99px; background: #1b1b1f; color: #fff; }
.ph-app .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px; }
.ph-app .cards i { aspect-ratio: .8; border-radius: 10px; background: linear-gradient(#e2dccd 62%,#fff 62%); }
.ph-app .sheet { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; display: flex; flex-direction: column; gap: 7px; padding: 8px 14px 0; background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -8px 30px rgba(0,0,0,.25); transform: translateY(105%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.ph-app .grab { width: 36px; height: 4px; border-radius: 2px; background: #ccc; align-self: center; }
.ph-app .sheet > b { font-size: 14px; font-weight: 800; }
.ph-app .pills { display: flex; flex-wrap: wrap; gap: 5px; }
.ph-app .pills span { font-size: 9.5px; padding: 3px 7px; border-radius: 99px; border: 1px solid #ddd; }
.ph-app .pills .on { background: #1b1b1f; border-color: #1b1b1f; color: #fff; }
.ph-app .row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid #eee; font-size: 10.5px; }
.ph-app .sw { position: relative; width: 24px; height: 14px; border-radius: 99px; background: #34c759; }
.ph-app .sw::after { content: ""; position: absolute; right: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.ph-app .sw.off { background: #ddd; }
.ph-app .sw.off::after { right: auto; left: 2px; }
.ph-app .apply { position: absolute; left: 14px; right: 14px; bottom: -12px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #1b1b1f; color: #fff; font-size: 12px; font-weight: 700; transition: bottom .45s; }
.ph-app .mark { position: absolute; z-index: 6; left: 8px; right: 8px; bottom: -6px; height: 34px; border: 2px dashed var(--distress); border-radius: 12px; opacity: 0; transition: opacity .3s, bottom .45s, border-color .3s; }
.ph-app .mark span::after { content: "Under the home bar"; position: absolute; right: -2px; bottom: calc(100% + 4px); padding: 3px 6px; background: var(--distress); color: var(--abyss); font: 10px/1 var(--f-hud); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.phone .flash { position: absolute; z-index: 9; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.phone[data-s="off"] .ph-off, .phone[data-s="boot"] .ph-boot, .phone[data-s="home"] .ph-home, .phone[data-s="installed"] .ph-home,
.phone[data-s="sheet"] .ph-app, .phone[data-s="snap"] .ph-app, .phone[data-s="bug"] .ph-app, .phone[data-s="fixed"] .ph-app, .phone[data-s="snap-ok"] .ph-app,
.phone[data-s="erased"] .ph-erased { opacity: 1; }
.phone[data-s="installed"] .icons .app { opacity: 1; transform: none; }
.phone[data-s="sheet"] .sheet, .phone[data-s="snap"] .sheet, .phone[data-s="bug"] .sheet, .phone[data-s="fixed"] .sheet, .phone[data-s="snap-ok"] .sheet { transform: none; }
.phone[data-s="fixed"] .apply, .phone[data-s="snap-ok"] .apply { bottom: 24px; }
.phone[data-s="bug"] .mark { opacity: 1; }
.phone[data-s="snap-ok"] .mark { opacity: 1; bottom: 20px; border-color: var(--sonar); }
.phone[data-s="snap-ok"] .mark span::after { content: "Clear"; background: var(--sonar); }
.phone[data-s="snap"] .flash, .phone[data-s="snap-ok"] .flash { animation: ph-flash .5s ease-out; }
@keyframes ph-flash { from { opacity: .9; } to { opacity: 0; } }

/* use cases */
.uses { display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 720px) { .uses { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width: 1000px) { .uses { grid-template-columns: repeat(3,minmax(0,1fr)); } }
.use { display: flex; flex-direction: column; gap: 8px; padding: 18px; min-width: 0; }
.use h3 { font-family: var(--f-display); font-weight: 800; font-size: 19px; line-height: 1.2; }
.use p { font-size: 15px; line-height: 1.45; color: #d9d2bf; }
.use > code { align-self: flex-start; max-width: 100%; margin-top: auto; padding: 6px 8px; font-size: 12px; background: var(--deep); border: 1px solid #1d3a72; }

/* compare: player 1 vs the rivals */
#compare .arena { display: grid; gap: 14px; align-items: center; margin-top: 32px; }
@media (min-width: 960px) { #compare .arena { grid-template-columns: minmax(0,.9fr) auto minmax(0,1.25fr); gap: 24px; } }
#compare .p1 { background: var(--panel); border: 2px solid var(--brass); box-shadow: 0 0 0 2px var(--deep); min-width: 0; }
#compare .p1-pic { height: 240px; background: radial-gradient(circle at 50% 62%,#1b3d66,#0b1626 72%); }
@media (min-width: 960px) { #compare .p1-pic { height: 320px; } }
#compare .p1-copy { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; border-top: 2px solid var(--brass); }
#compare .p1 .nm { font-size: 40px; line-height: 1; align-self: flex-start; }
#compare .p1 .line { font-size: 16px; }
#compare .vs-mark { justify-self: center; font-size: clamp(56px, 12vw, 96px); line-height: 1; letter-spacing: -.02em; padding: 0 .12em 4px 0; }
.rivals { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
@media (min-width: 600px) and (max-width: 959px) { .rivals { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.rival { display: grid; grid-template-columns: 84px minmax(0,1fr) 16px; gap: 12px; align-items: center; min-height: 100px; padding: 8px 12px 8px 8px; color: var(--parchment); text-decoration: none; }
.rival:hover, .rival:focus-visible { color: var(--parchment); border-color: var(--brass); }
.rival .r-pic { display: block; width: 84px; height: 84px; background: var(--abyss); border: 2px solid var(--rigging); }
.rival .r-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rival .r-copy .hud { font-size: 11px; }
.rival .r-copy b { font: 900 italic 19px/1.1 var(--f-display); font-stretch: 110%; }
.rival .r-copy span:last-child { font-size: 14px; line-height: 1.35; color: var(--fog); }
.rival .go { color: var(--brass); font: 14px/1 var(--f-hud); transition: transform .15s; }
.rival:hover .go, .rival:focus-visible .go { color: var(--flare); transform: translateX(3px); }
.compare-all { display: flex; justify-content: center; margin-top: 22px; }

/* berth kinds: five tiles */
@media (min-width: 720px) and (max-width: 1099px) { .kinds.k5 { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (min-width: 1100px) { .kinds.k5 { grid-template-columns: repeat(5,minmax(0,1fr)); } }
.sec-head .num .stage { align-self: center; font-size: 11px; padding: 3px 7px; }

/* install: other MCP clients */
.other-mcp { max-width: 60em; margin-top: 22px; padding: 12px 14px; border: 2px dashed var(--rigging); font-size: 15px; line-height: 1.5; }
.other-mcp .hud { display: block; margin-bottom: 4px; color: var(--sonar); }

/* home: quick start (one prompt) */
.quick-grid { display: grid; gap: 22px; margin-top: 32px; align-items: start; }
@media (min-width: 960px) { .quick-grid { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 28px; } }
.quick-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.quick-steps li { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 14px; padding: 16px; align-items: start; }
.quick-steps .n { width: 36px; height: 36px; display: grid; place-items: center; background: var(--brass); color: var(--abyss); font: 18px/1 var(--f-hud); }
.quick-steps li > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.quick-steps b { font: 900 italic 20px/1.1 var(--f-display); font-stretch: 110%; }
.quick-steps span { font-size: 15px; color: var(--fog); }
.quick-steps .btn { align-self: flex-start; margin-top: 8px; }
.quick-prompt { padding: 0; min-width: 0; }
.qp-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-bottom: 2px solid var(--dialog-edge); }
.qp-head .btn { min-height: 44px; font-size: 13px; }
.quick-prompt pre { margin: 0; padding: 14px; max-height: 420px; overflow: auto; background: var(--deep); font: 12.5px/1.6 var(--f-mono); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--parchment); }
.quick-alt { margin-top: 16px; font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .title .start { animation: none; }
  .faq summary::after { transition: none; }
  .blink, .ln.typing .c::after, .ph-boot .spin { animation: none; }
  .ln.shown, .phone .flash { animation: none !important; }
  .ph-layer, .ph-app .sheet, .ph-app .apply, .ph-app .mark, .ph-home .icons .app, .rival .go { transition: none; }
}
