/* Makeship marketing site. "Boarding pass on cream": warm cream paper, deep navy ink,
   signal orange for the main action, a heavy serif for headlines and mono labels like a
   ticket. Same palette as the splash page (apps/edge/src/splash.ts) and the dashboard. */
@font-face { font-family: "Fraunces"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/fraunces-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --cream: #f5efe3;
  --cream-deep: #ede3d1;
  --paper: #fffdf8;
  --ink: #14284b;
  --ink-hover: #1e3866;
  --text: #4a5568;
  --muted: #6b7385;
  --line: #e4dac6;
  --dash: #cdb892;
  --brass: #8a5d32;
  --signal: #c8441e;
  --signal-hover: #ad3816;
  --ok: #1f7a5c;
  --ok-bg: #dcf0e8;
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--text); background: var(--cream); }
h1, h2, h3 { font-family: var(--serif); font-weight: 800; color: var(--ink); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -.02em; }
h2 { font-size: clamp(34px, 4.6vw, 52px); }
p { margin: 0; }
a { color: inherit; }
code, .mono { font-family: var(--mono); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

.wrap { --gutter: 24px; max-width: 1120px; margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left)); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 5; padding-top: env(safe-area-inset-top); background: rgba(245, 239, 227, .94); backdrop-filter: blur(6px); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 24px/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.logo svg { width: 34px; height: 24px; }
.nav nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.nav nav a { text-decoration: none; color: var(--ink); }
.nav nav a:hover { color: var(--signal); }
.nav nav a.launch { color: #fff; background: var(--signal); border-radius: 999px; padding: 10px 18px; font-weight: 600; }
.nav nav a.launch:hover { background: var(--signal-hover); color: #fff; }

/* Buttons */
.btn { display: inline-block; font: 600 16px/1.2 var(--sans); padding: 15px 24px; border-radius: 999px; text-decoration: none; text-align: center; }
.btn-primary { background: var(--signal); color: #fff; }
.btn-primary:hover { background: var(--signal-hover); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-hover); }
.btn-ghost { border: 2px solid var(--ink); color: var(--ink); background: var(--paper); padding: 13px 22px; }
.btn-ghost:hover { background: var(--cream); }
.btn-link { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 1px; }
.btn-link:hover { color: var(--signal); border-color: var(--signal); }

/* Shared bits */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; padding: 7px 14px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.k, .label-k { display: block; font: 700 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.lede { font-size: 19px; margin-top: 18px; max-width: 30em; color: var(--text); }
.section-lede { font-size: 19px; color: var(--text); margin-top: 14px; max-width: 48em; text-wrap: pretty; }
.connector-url { display: flex; align-items: center; gap: 12px; background: var(--paper); color: var(--ink) !important; border: 1px solid var(--line); border-radius: 10px; padding: 6px 6px 6px 14px; font-size: 15px; font-weight: 500; }
.connector-addr { flex: 1; min-width: 0; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; padding: 6px 0; }
.copy-btn { flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; color: var(--paper); background: var(--ink); border: 0; border-radius: 8px; cursor: pointer; }
.copy-btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.copy-btn:hover { background: var(--ink-hover); }
.copy-btn:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.copy-btn .copied-icon, .copy-btn.is-copied .copy-icon { display: none; }
.copy-btn.is-copied .copied-icon { display: block; }
.copy-btn.is-copied { background: var(--ok); }
.copy-btn[hidden] { display: none; }
.copy-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.setup-note { margin-top: 12px; font-size: 15px; color: var(--text); }
.setup-note strong { color: var(--ink); font-weight: 600; }
.setup-note a, .upload-copy a { color: var(--ink); font-weight: 600; text-underline-offset: 2px; }
.chat { display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 92%; padding: 11px 16px; border-radius: 14px; font-size: 15px; line-height: 1.45; }
.bubble-you { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; }
.bubble-claude { align-self: flex-start; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.link-chip { font-size: 13px; color: var(--ok); overflow-wrap: anywhere; }
.alt-path { font-size: 15px; color: var(--text); }
.alt-path a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.badge { display: inline-flex; align-items: center; gap: 4px; font: 600 12px/1 var(--sans); color: var(--ok); background: var(--ok-bg); border-radius: 999px; padding: 4px 9px 4px 6px; white-space: nowrap; }
.badge svg { width: 12px; height: 12px; }
.wave { display: block; width: 100%; height: 24px; color: var(--dash); }
.boat { display: block; }

/* Hero A: headline and connector on the left, the chat and boarding pass on the right. */
.hero { overflow-x: clip; }
.hero-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(56px, 8vw, 100px); line-height: .92; letter-spacing: -.035em; }
.hero-copy { min-width: 0; }
/* The headline's line box is tight (.92), so its descenders hang into the space below: the
   paragraph needs more room than its margin suggests. */
.hero .lede { margin-top: clamp(24px, 2.9vw, 36px); font-size: 21px; line-height: 1.5; text-wrap: pretty; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 32px; }
.hero-connector { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.hero-connector .connector-url { flex: 0 1 auto; min-width: 0; }
.hero-connector .connector-addr { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-art { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.hero-art .chat { margin-bottom: 4px; }

/* The boarding pass (mirrors the real splash page) */
.pass { position: relative; display: grid; grid-template-columns: 1fr 156px; background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; box-shadow: 8px 8px 0 var(--ink); transform: rotate(-1.5deg); margin: 0 10px 10px 0; }
.pass-main { padding: 20px 22px; min-width: 0; display: grid; gap: 14px; }
.pass-head { display: flex; justify-content: space-between; gap: 12px; }
.pass-field .k { color: var(--muted); margin-bottom: 4px; }
.pass-head .k { color: var(--brass); }
.captain { display: flex; align-items: center; gap: 8px; font: 700 20px/1.2 var(--sans); color: var(--ink); }
.cargo { font: 800 26px/1.1 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.cargo-desc { font-size: 14px; color: var(--text); }
.port { font: 500 14px/1.3 var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.pass-stub { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 14px; background: var(--cream-deep); border-left: 2px dashed var(--dash); border-radius: 0 14px 14px 0; }
.stamp { width: 84px; height: 84px; border: 2px solid var(--brass); border-radius: 50%; color: var(--brass); display: flex; align-items: center; justify-content: center; text-align: center; font: 700 9px/1.25 var(--mono); letter-spacing: .1em; text-transform: uppercase; transform: rotate(-14deg); }
.pass-btn { background: var(--ink); color: var(--paper); border-radius: 999px; padding: 10px 14px; font-size: 14px; font-weight: 600; white-space: nowrap; }

/* Two steps */
.steps-band { padding: 72px 0 88px; }
.two-steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.step-card { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; }
.step-card .label-k { margin-bottom: 18px; font-size: 13px; }
.setup-title { font-size: 26px; margin: 0 0 14px; letter-spacing: -.01em; }
.says { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 16px; }
.says .say { margin-top: 0; }
.say { display: inline-block; margin-top: 16px; background: var(--ink); color: var(--paper); border-radius: 8px 8px 8px 2px; padding: 8px 12px; font: 500 14px/1.3 var(--sans); }
.steps-foot { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; font-size: 15px; }
.steps-foot > p:first-child { flex: 1 1 28em; }

/* Hero B: centred headline with the steps right under it. */
.hero-center { text-align: center; padding: 72px 0 56px; }
.hero-center .lede { margin-left: auto; margin-right: auto; }
.hero-center .hero-cta { justify-content: center; }
.hero-center .two-steps { text-align: left; margin-top: 48px; }

/* Sections */
.band { padding: 96px 0; }
.band-alt { background: var(--cream-deep); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.card h3 { font-size: 24px; margin-bottom: 10px; }

/* The voyage */
.voyage { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.voyage li { min-width: 0; }
.voyage-no { position: relative; display: flex; align-items: center; margin-bottom: 22px; }
.voyage-no span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 800 18px/1 var(--serif); }
.voyage li:last-child .voyage-no span { background: var(--signal); }
.voyage-no::after { content: ""; flex: 1; margin-left: 10px; border-top: 2px dashed var(--dash); }
.voyage li:last-child .voyage-no::after { content: none; }
.voyage h3 { font-size: 22px; margin-bottom: 10px; }
.voyage p { font-size: 16px; }

/* What Makeship takes care of: plain words on the left, a small example app on the right. */
.handled { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 72px; }
.handled > * { min-width: 0; }
.handled h3 { font-size: 28px; margin-bottom: 12px; }
.handled-copy p + p { margin-top: 12px; }
.handled-aside { font-size: 15px; }
.handled-aside a { color: var(--ink); font-weight: 600; text-underline-offset: 2px; }
.mini-app { justify-self: center; width: 100%; max-width: 440px; margin: 0 8px 8px 0; background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; box-shadow: 8px 8px 0 var(--ink); overflow: hidden; }
.mini-bar { padding: 11px 20px; background: var(--cream); border-bottom: 2px dashed var(--dash); font-size: 13px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.mini-body { padding: 20px 20px 10px; }
.mini-title { font: 800 26px/1.1 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.mini-list { list-style: none; margin: 14px 0 0; padding: 0; }
.mini-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); }
.mini-check { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 6px; font-size: 13px; font-weight: 800; line-height: 1; }
.mini-item { flex: 1; min-width: 0; font-weight: 500; }
.mini-who { flex: none; font-size: 13px; color: var(--muted); }
.mini-list .done .mini-check { background: var(--ok); border-color: var(--ok); color: #fff; }
.mini-list .done .mini-item { text-decoration: line-through; color: var(--muted); }
.code { margin: 0; background: var(--ink); color: #e9edf5; border-radius: 14px; padding: 24px 26px; font: 14.5px/1.7 var(--mono); overflow-x: auto; }
.code .c { color: #8b9ab5; }
.code .s { color: #f2a07f; }

/* Safety */
.safety-band { padding: 104px 0; }
.safety-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.safety-head { position: sticky; top: 104px; }
.safety-head .lighthouse { width: 40px; height: 56px; margin-bottom: 18px; color: var(--ink); }
.safety-head .section-lede { font-size: 17px; }
.claims { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.claim { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.claim-no { grid-row: span 2; font: 500 13px/1.9 var(--mono); color: var(--brass); }
.claim h3 { font: 700 18px/1.4 var(--sans); letter-spacing: 0; }
.claim p { font-size: 15px; }
.safety-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.notice { display: flex; gap: 14px; align-items: flex-start; align-self: start; background: var(--paper); border: 1.5px dashed var(--dash); border-radius: 14px; padding: 22px 24px; color: var(--ink); }
.notice svg { width: 26px; height: 26px; flex: none; margin-top: 2px; }
.behind { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.behind h3 { font: 700 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.behind ul { margin: 0; padding-left: 20px; font-size: 15px; }
.behind li + li { margin-top: 4px; }

/* What fits */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.ticks, .crosses { list-style: none; padding: 0; margin: 4px 0 0; }
.ticks li, .crosses li { position: relative; padding-left: 30px; margin-top: 10px; }
.ticks li::before, .crosses li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.ticks li::before { content: "\2713"; color: var(--ok); }
.crosses li::before { content: "\2715"; color: var(--signal); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 26px 22px 22px; }
.plan h3 { font: 700 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin: 0; }
.price { font: 800 52px/1 var(--serif); letter-spacing: -.02em; margin: 14px 0 16px; color: var(--ink); }
.price span { font-size: 17px; font-weight: 600; letter-spacing: 0; }
.plan ul { list-style: disc; padding: 0 0 0 18px; margin: 0 0 24px; flex: 1; font-size: 15px; }
.plan li + li { margin-top: 6px; }
.plan li strong { font-weight: 500; color: inherit; }
.plan .btn { width: 100%; padding: 12px 20px; }
.plan-featured { background: var(--ink); border-color: var(--ink); color: #c9d1e0; }
.plan-featured h3 { color: #e9b98a; }
.plan-featured .price { color: var(--paper); }
.pricing-note { margin-top: 18px; font-size: 15px; color: var(--muted); }

/* Upload: the other way in, quieter than the connector. */
.band-slim { padding: 56px 0; }
.upload-in { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.dropzone { width: 80px; height: 80px; border: 2px dashed var(--dash); border-radius: 16px; color: var(--brass); display: flex; align-items: center; justify-content: center; }
.dropzone svg { width: 40px; height: 40px; }
.h2-small { font-size: 28px; letter-spacing: -.01em; }
.upload-copy p { margin-top: 8px; max-width: 46em; }

/* Closer + footer: one navy block */
.closer { background: var(--ink); color: #c9d1e0; padding: 88px 0 0; text-align: center; }
.closer-in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.closer .boat { width: 60px; height: 36px; }
.closer h2 { color: var(--cream); max-width: 16em; font-size: clamp(36px, 5.6vw, 60px); }
.closer p { font-size: 19px; }
.closer .connector-url { margin: 4px 0; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: var(--cream) !important; }
.closer .copy-btn { background: var(--signal); color: #fff; }
.closer .alt-path { color: #c9d1e0; font-size: 15px; }
.closer .alt-path a { color: var(--cream); font-weight: 500; }
.closer .wave { color: #2c4470; margin-top: 64px; }
.foot { background: var(--ink); font-size: 14px; color: #c9d1e0; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { color: var(--cream); text-underline-offset: 2px; }

/* 404 */
.lost { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 48px 16px; }
.lost-in { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lost .boat { width: 72px; height: 44px; transform: rotate(-12deg); }
.lost h1 { font-size: clamp(40px, 7vw, 64px); }

/* Responsive */
@media (max-width: 960px) {
  .hero-top { grid-template-columns: 1fr; gap: 40px; padding-top: 32px; }
  .hero-art { max-width: 520px; }
  .two-steps, .plans, .voyage { grid-template-columns: 1fr; }
  .voyage-no::after { content: none; }
  .safety-grid { grid-template-columns: 1fr; gap: 32px; }
  .safety-head { position: static; }
  .handled, .fit, .safety-foot { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { --gutter: 16px; }
  .nav-in { height: 64px; }
  .logo { font-size: 21px; }
  .logo svg { width: 30px; height: 21px; }
  .nav nav a:not(.launch) { display: none; }
  .nav nav a.launch { padding: 9px 14px; font-size: 14px; }
  .band, .safety-band { padding: 64px 0; }
  .steps-band { padding: 48px 0 64px; }
  .lede { font-size: 17px; }
  .hero .lede { font-size: 18px; }
  .hero-connector { flex-direction: column; align-items: stretch; gap: 8px; }
  .hero-connector .connector-url { flex: none; }
  .pass { grid-template-columns: 1fr; transform: rotate(-1deg); }
  .pass-stub { flex-direction: row; border-left: 0; border-top: 2px dashed var(--dash); border-radius: 0 0 14px 14px; }
  .stamp { width: 68px; height: 68px; font-size: 8px; }
  .step-card { padding: 24px 20px; }
  .setup-title { font-size: 23px; }
  .connector-url { font-size: 13px; }
  .upload-in { grid-template-columns: 1fr; gap: 18px; }
  .dropzone { width: 64px; height: 64px; }
  .closer { padding-top: 64px; }
}

/* Docs page */
.nav nav a[aria-current="page"] { color: var(--signal); }
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 96px; }
.docs-toc { position: sticky; top: 96px; align-self: start; font-size: 15px; }
.docs-toc ol { list-style: none; padding: 0; margin: 12px 0 0; border-left: 2px solid var(--line); }
.docs-toc li a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--text); }
.docs-toc li a:hover { color: var(--ink); border-left-color: var(--signal); }
.docs-body { max-width: 760px; }
.docs-body h1 { font-size: clamp(40px, 5.4vw, 60px); letter-spacing: -.03em; }
.docs-body .lede { font-size: 19px; }
.docs-body section { padding-top: 56px; scroll-margin-top: 84px; }
.docs-body h2 { font-size: clamp(28px, 3.4vw, 36px); padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.docs-body h3 { font-size: 22px; margin-top: 32px; }
.docs-body p, .docs-body ul, .docs-body ol, .docs-body table, .docs-body .code { margin-top: 14px; }
.docs-body ul, .docs-body ol { padding-left: 24px; }
.docs-body li + li { margin-top: 6px; }
.docs-body strong { color: var(--ink); }
.docs-body a { color: var(--signal); text-underline-offset: 2px; }
.docs-body :not(pre) > code { font-size: .86em; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
.docs-body .code { font-size: 13.5px; line-height: 1.6; padding: 20px 22px; }
.docs-body .connector-url { margin-top: 10px; }
.docs-body .note { font-size: 15px; background: var(--paper); border: 1.5px dashed var(--dash); border-radius: 12px; padding: 12px 16px; }
.docs-body .asks { list-style: none; padding: 0; }
.docs-body .asks li { background: var(--ink); color: var(--paper); border-radius: 12px 12px 12px 3px; padding: 10px 14px; font-weight: 500; width: fit-content; max-width: 100%; }
.docs-body .hosts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.docs-body .hosts li { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; font-size: 14px; }
.docs-body table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 15px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.docs-body th, .docs-body td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.docs-body tr:last-child td { border-bottom: 0; }
.docs-body th { font: 700 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brass); background: var(--cream-deep); }
.docs-body td:first-child code { white-space: nowrap; }
@media (max-width: 960px) {
  .docs { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 32px; }
  /* "On this page" is a sidebar. Stacked above the text it fills the first screen, so on
     narrow screens it's hidden and the page starts with its heading. */
  .docs-toc { display: none; }
}
@media (max-width: 640px) {
  .docs-body section { padding-top: 40px; }
  .docs-body table { font-size: 14px; }
  .docs-body th, .docs-body td { padding: 8px 10px; }
}
/* Keep the connector address on one line next to its copy button on narrow phones. */
@media (max-width: 380px) {
  .connector-url, .docs-body .connector-url { font-size: 12px; padding-left: 10px; gap: 6px; }
}

/* Business page: the same paper, ink and signal, set a little more formally. Navy hero and
   security band, squarer corners, no tilted cards. */
.logo-tag { font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); border: 1.5px solid currentColor; border-radius: 4px; padding: 4px 6px; margin-left: 2px; }
.biz .btn, .biz .nav nav a.launch { border-radius: 10px; }
.biz .card, .biz .step-card { border-radius: 12px; }
.biz-hero { background: var(--ink); color: #c9d1e0; overflow-x: clip; }
.biz-hero-in { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.biz-hero-in > * { min-width: 0; }
.biz-hero h1 { color: var(--cream); font-size: clamp(40px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -.03em; }
.biz-hero .lede { color: #c9d1e0; max-width: 34em; }
.biz-hero .lede .mono { color: var(--cream); font-size: .9em; }
.eyebrow-dark { color: var(--cream); border-color: rgba(245, 239, 227, .5); }
.btn-link-light { color: var(--cream); border-color: var(--cream); }
.btn-link-light:hover { color: #f2a07f; border-color: #f2a07f; }
.biz-hero-art { display: flex; flex-direction: column; gap: 18px; }
.biz-hero .bubble-you { background: #2c4470; }
.biz-hero .bubble-claude { border-color: transparent; }
.gate { margin: 0; background: var(--paper); color: var(--text); border-radius: 14px; padding: 22px 24px; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 18px 40px rgba(0, 0, 0, .28); display: grid; gap: 10px; }
.gate-head { display: flex; justify-content: space-between; align-items: center; }
.gate-lock svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.gate-app { font: 800 24px/1.15 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.gate-host { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; margin-top: -4px; }
.gate-field { display: grid; gap: 6px; margin-top: 6px; }
.gate-field .k { color: var(--muted); }
.gate-input { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 15px; color: var(--ink); background: #fff; }
.gate-btn { display: block; text-align: center; background: var(--ink); color: var(--paper); border-radius: 8px; padding: 11px 14px; font-weight: 600; font-size: 15px; }
.gate-note { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }

.shift { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.shift-card .label-k { margin-bottom: 6px; }
.shift-card-good { border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }

.cases { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case { min-width: 0; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: 12px; padding: 24px 22px 20px; }
.case .label-k { margin-bottom: 14px; }
.case h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -.01em; }
.case > p { font-size: 15px; flex: 1; }
.case-tags { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.case-tags li { font: 500 12px/1 var(--mono); color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; }

.voyage-4 { grid-template-columns: repeat(4, 1fr); gap: 28px; }
.voyage-4 .mono { font-size: .88em; color: var(--ink); }

.biz-security { background: var(--ink); color: #c9d1e0; padding: 104px 0; }
.biz-security h2 { color: var(--cream); }
.biz-security .section-lede { color: #c9d1e0; }
.biz-security .lighthouse { color: var(--cream); }
.biz-security .claims, .biz-security .claim { border-color: rgba(255, 255, 255, .14); }
.biz-security .claim h3 { color: var(--cream); }
.biz-security .claim-no { color: #e9b98a; }
.behind-dark { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); }
.behind-dark h3 { color: #e9b98a; }

.biz-pricing { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: center; }
.biz-pricing > * { min-width: 0; }
.biz-pricing .pricing-note { margin-top: 22px; }
.plan-biz .plan-sub { font-size: 15px; margin: -6px 0 18px; }
.plan-biz .plan-sub strong { color: var(--paper); }
.plan-fine { font-size: 13px; margin-top: 14px; color: #9fabc2; }

.faq-wrap { max-width: 820px; }
.faq { margin-top: 32px; border-top: 1px solid var(--dash); }
.faq details { border-bottom: 1px solid var(--dash); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font: 700 18px/1.4 var(--sans); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 500 22px/1 var(--mono); color: var(--brass); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 22px; max-width: 40em; }

@media (max-width: 960px) {
  .biz-hero-in { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 64px; }
  .biz-hero-art { max-width: 520px; }
  .shift, .biz-pricing { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr 1fr; }
  .voyage-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .logo-tag { display: none; }
  .cases, .voyage-4 { grid-template-columns: 1fr; }
  .biz-security { padding: 64px 0; }
  .biz-pricing { gap: 28px; }
  .faq summary { font-size: 16px; }
}
