/* DockBay — night harbor. Dark water, a lit email berth (pilot), amber dashed berths (vision). */
:root {
  --ink: #070b14;
  --deep: #0b1222;
  --panel: #101a2e;
  --panel-2: #15213a;
  --line: rgba(150, 180, 255, .14);
  --line-strong: rgba(150, 180, 255, .28);
  --text: #e9eef8;
  --muted: #9aa7bf;
  --soft: #c6d0e2;
  --signal: #5cf2c8;
  --signal-ink: #04281f;
  --amber: #ffb547;
  --violet: #8f80ff;
  --danger: #ff8a7a;
  --radius: 14px;
  --display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.65 var(--body);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(143, 128, 255, .12), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(92, 242, 200, .08), transparent 60%);
  background-repeat: no-repeat;
}
img, svg { max-width: 100%; }
a { color: var(--signal); text-underline-offset: 3px; }
a:hover { color: #9ff8de; }
code { font: 500 .88em var(--mono); background: rgba(150, 180, 255, .1); padding: .1em .35em; border-radius: 6px; color: var(--soft); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 700; letter-spacing: -.025em; }
h1 strong { color: var(--signal); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; max-width: 22ch; }
h3 { font-size: 1.14rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--signal); color: var(--signal-ink); padding: 8px 12px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(7, 11, 20, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; color: var(--text); text-decoration: none; }
.logo { height: 26px; width: auto; }
.l-pier { fill: var(--soft); }
.l-berth { fill: none; stroke: var(--amber); stroke-width: 1.4; stroke-dasharray: 2 2; }
.l-berth.live { fill: var(--signal); stroke: none; }
.l-word { font: 700 19px var(--display); fill: var(--text); letter-spacing: -.02em; }
.l-bay { fill: var(--signal); }
.primary-nav ul, .menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.primary-nav { margin-left: auto; }
.primary-nav a, .menu a { color: var(--soft); text-decoration: none; font-size: .92rem; padding: 8px 10px; border-radius: 8px; }
.primary-nav a:hover, .primary-nav a.active { color: var(--text); background: rgba(150, 180, 255, .08); }
.langs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.langs a { color: var(--muted); text-decoration: none; font-size: .82rem; padding: 4px 10px; border-radius: 999px; }
.langs a[aria-current="true"] { background: rgba(150, 180, 255, .14); color: var(--text); }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; color: var(--soft); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: .9rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu ul { position: absolute; right: 0; top: 44px; flex-direction: column; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 12px; padding: 8px; min-width: 210px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.menu a { display: block; }

/* buttons, badges */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem var(--body); text-decoration: none; padding: 13px 22px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn.primary { background: var(--signal); color: var(--signal-ink); box-shadow: 0 0 0 0 rgba(92, 242, 200, .5), 0 10px 30px -10px rgba(92, 242, 200, .55); }
.btn.primary:hover { transform: translateY(-1px); color: var(--signal-ink); box-shadow: 0 0 0 4px rgba(92, 242, 200, .18), 0 14px 34px -10px rgba(92, 242, 200, .65); }
.btn.ghost { color: var(--text); border-color: var(--line-strong); background: rgba(150, 180, 255, .04); }
.btn.ghost:hover { background: rgba(150, 180, 255, .1); color: var(--text); }
.btn.small { padding: 9px 14px; font-size: .88rem; border-radius: 10px; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 8px; font: 500 .78rem var(--mono); letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; vertical-align: middle; }
.badge.pilot { color: var(--signal); background: rgba(92, 242, 200, .1); border: 1px solid rgba(92, 242, 200, .35); }
.badge.vision { color: var(--amber); border: 1px dashed rgba(255, 181, 71, .6); }
.badge.concept { color: var(--violet); border: 1px solid rgba(143, 128, 255, .5); background: rgba(143, 128, 255, .08); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(92, 242, 200, .7); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(92, 242, 200, .6); } 70% { box-shadow: 0 0 0 9px rgba(92, 242, 200, 0); } 100% { box-shadow: 0 0 0 0 rgba(92, 242, 200, 0); } }

/* hero */
.hero { padding: 64px 0 40px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.kicker, .label { font: 500 .8rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.kicker::before { content: ""; display: inline-block; width: 26px; height: 1px; background: var(--signal); vertical-align: middle; margin-right: 10px; }
.lead { font-size: 1.12rem; color: var(--soft); max-width: 58ch; }
.usage { font: 500 1.18rem/1.5 var(--display); color: var(--text); border-left: 3px solid var(--signal); padding: 4px 0 4px 16px; margin: 26px 0 30px; max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; color: var(--muted); font-size: .92rem; }
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 8% 4%; border-radius: 30px; background: linear-gradient(160deg, rgba(92, 242, 200, .08), rgba(143, 128, 255, .06)); filter: blur(30px); }
.dock { position: relative; width: 100%; height: auto; display: block; }
.dock .wave { fill: none; stroke: rgba(150, 180, 255, .07); stroke-width: 1; }
.dock .pier rect { fill: #24324f; }
.dock .pier circle { fill: #2d3d5e; stroke: var(--line-strong); }
.dock .slot { fill: rgba(16, 26, 46, .85); stroke-width: 1.4; }
.dock .live .slot { stroke: var(--signal); fill: rgba(92, 242, 200, .09); filter: drop-shadow(0 0 10px rgba(92, 242, 200, .35)); }
.dock .vision .slot { stroke: rgba(255, 181, 71, .55); stroke-dasharray: 5 5; }
.dock .glyph { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dock .live .glyph { stroke: var(--signal); }
.dock .vision .glyph { stroke: rgba(255, 181, 71, .75); }
.dock .b-label { font: 600 15px var(--display); fill: var(--text); }
.dock .vision .b-label { fill: var(--soft); }
.dock .pill rect { fill: rgba(92, 242, 200, .14); stroke: rgba(92, 242, 200, .5); }
.dock .vision .pill rect { fill: none; stroke: rgba(255, 181, 71, .55); stroke-dasharray: 3 3; }
.dock .pill text { font: 500 10.5px var(--mono); text-anchor: middle; fill: var(--signal); text-transform: uppercase; letter-spacing: .06em; }
.dock .vision .pill text { fill: var(--amber); }
.dock .lane { fill: none; stroke: rgba(255, 181, 71, .16); stroke-dasharray: 2 7; }
.dock .live-lane { stroke: rgba(92, 242, 200, .35); }
.dock .agent { fill: var(--signal); filter: drop-shadow(0 0 6px var(--signal)); }
.dock .ghost { fill: var(--amber); }
.dock .dock-caption { font: 500 10px var(--mono); fill: var(--muted); letter-spacing: .12em; text-transform: uppercase; }

/* sections */
section { padding: 88px 0; }
.band { background: linear-gradient(180deg, rgba(16, 26, 46, .55), rgba(16, 26, 46, .2)); border-block: 1px solid var(--line); }
.label { color: var(--signal); }
.label + .badge { margin: -6px 0 16px; }
.section-lead { font-size: 1.1rem; color: var(--soft); max-width: 70ch; margin-bottom: 36px; }
.fine { font-size: .9rem; color: var(--muted); max-width: 80ch; }
.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
/* grid items may shrink below their content (tables and code scroll inside instead of widening the page) */
.hero-grid > *, .two-col > *, .outcomes > *, .now-next > *, .stories > *, .foot > *, .flow > *, .principles > *, .cards > * { min-width: 0; }
.sub { margin-top: 10px; }

/* origin */
.then-now { position: sticky; top: 100px; }
.tn { border-radius: var(--radius); padding: 22px 24px; border: 1px solid var(--line); background: var(--panel); }
.tn h3 { font: 500 .8rem var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.tn p { margin: 0; color: var(--soft); }
.then h3 { color: var(--muted); }
.then { opacity: .82; }
.now { border-color: rgba(92, 242, 200, .4); box-shadow: 0 0 0 1px rgba(92, 242, 200, .1), 0 20px 50px -25px rgba(92, 242, 200, .45); }
.now h3 { color: var(--signal); }
.tn-arrow { text-align: center; color: var(--signal); font-size: 1.4rem; padding: 6px 0; }
.channels { margin-top: 22px; color: var(--soft); font-size: .98rem; border-top: 1px dashed var(--line-strong); padding-top: 18px; }

/* audiences */
.aud-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.aud { display: grid; grid-template-columns: 220px 300px 1fr; gap: 24px; align-items: baseline; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.aud h3 { margin: 0; }
.aud p { margin: 0; color: var(--soft); }
.aud-tag { font: 500 .76rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.aud-agent { border-color: rgba(92, 242, 200, .45); background: linear-gradient(90deg, rgba(92, 242, 200, .1), var(--panel) 60%); }
.aud-agent .aud-tag { color: var(--signal); }

/* experience */
.flow { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; position: relative; }
.flow li { position: relative; padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 26px; color: var(--violet); font-size: 1.1rem; z-index: 1; }
.flow .n { font: 600 .82rem var(--mono); color: var(--violet); display: block; margin-bottom: 8px; }
.flow h3 { font-size: 1.02rem; }
.flow p { color: var(--soft); font-size: .95rem; margin: 0; }
.outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.outcome { border-radius: var(--radius); padding: 22px 24px; border: 1px solid var(--line); }
.outcome h3 { display: flex; align-items: center; gap: 10px; }
.outcome p { margin: 0; color: var(--soft); }
.outcome.ok { border-color: rgba(92, 242, 200, .4); background: rgba(92, 242, 200, .06); }
.outcome.ok h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); }
.outcome.hold { border-color: rgba(255, 181, 71, .45); background: rgba(255, 181, 71, .05); }
.outcome.hold h3::before { content: ""; width: 10px; height: 10px; border-radius: 2px; border: 2px solid var(--amber); }
.story { margin: 28px 0 0; padding: 22px 26px; border-left: 3px solid var(--violet); background: rgba(143, 128, 255, .06); border-radius: 0 var(--radius) var(--radius) 0; }
.story figcaption { font: 500 .76rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--violet); margin-bottom: 8px; }
.story p { margin: 0; color: var(--soft); }

/* email */
.email-grid { grid-template-columns: 1fr; gap: 36px; margin-bottom: 32px; }
.email-grid .checks { columns: 2; column-gap: 40px; }
.email-grid .checks li { break-inside: avoid; }
.checks, .dashes { list-style: none; padding: 0; margin: 0; }
.checks li, .dashes li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px solid var(--line); color: var(--soft); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); }
.dashes li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 14px; border-top: 2px dashed var(--amber); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.ifaces { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ifaces th, .ifaces td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ifaces thead th { font: 500 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ifaces tbody tr:last-child th, .ifaces tbody tr:last-child td { border-bottom: 0; }
.ifaces tbody th { font-weight: 600; white-space: nowrap; }
.ifaces td code { white-space: nowrap; }
.ifaces td { color: var(--soft); }
.ifaces td + td { color: var(--muted); }
.example { margin: 0 0 28px; padding: 24px 26px; border-radius: var(--radius); border: 1px solid rgba(92, 242, 200, .35); background: linear-gradient(180deg, rgba(92, 242, 200, .06), rgba(16, 26, 46, .6)); }
.example figcaption { font: 500 .76rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--signal); margin-bottom: 10px; }
.code { position: relative; margin: 0 0 18px; }
.code pre { margin: 0; overflow-x: auto; padding: 46px 20px 18px; background: #050810; border: 1px solid var(--line); border-radius: 12px; }
.code pre code { background: none; padding: 0; color: #d6f9ee; font-size: .88rem; line-height: 1.6; }
.copy { position: absolute; top: 10px; right: 10px; font: 500 .74rem var(--mono); color: var(--soft); background: var(--panel-2); border: 1px solid var(--line-strong); border-radius: 8px; padding: 5px 10px; cursor: pointer; }
.copy:hover { color: var(--text); }
.prompts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.prompts li { font: 500 .95rem var(--display); color: var(--text); padding: 10px 14px; border-radius: 10px; background: rgba(150, 180, 255, .06); border: 1px solid var(--line); }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 32px; padding: 24px 28px; border-radius: var(--radius); background: var(--panel-2); border: 1px solid var(--line-strong); }
.cta-band p { margin: 0; color: var(--soft); max-width: 60ch; }

/* control */
.principles { list-style: none; padding: 0; margin: 20px 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.principles li { padding: 20px 22px; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.principles h3 { font-size: 1rem; color: var(--text); }
.principles p { margin: 0; color: var(--soft); font-size: .94rem; }
.now-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.col-now, .col-next { padding: 24px 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.col-now { border-color: rgba(92, 242, 200, .35); }
.col-next { border: 1px dashed rgba(255, 181, 71, .45); background: transparent; }
.col-now h3, .col-next h3 { margin-bottom: 12px; }

/* expansion */
.cards { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.card { padding: 22px 18px; border: 1px dashed rgba(255, 181, 71, .45); border-radius: var(--radius); background: rgba(255, 181, 71, .025); }
.card .icon { width: 28px; height: 28px; color: var(--amber); margin-bottom: 14px; }
.card h3 { font-size: 1rem; }
.card p { margin: 0; color: var(--soft); font-size: .92rem; }
.scenario { margin-top: 34px; padding: 30px 32px; border-radius: 20px; border: 1px dashed rgba(255, 181, 71, .45); background: linear-gradient(160deg, rgba(255, 181, 71, .05), rgba(16, 26, 46, .5)); }
.scenario-tag { margin-bottom: 12px; }
.scenario ol { padding-left: 1.3em; color: var(--soft); }
.scenario ol li { margin-bottom: 8px; padding-left: 4px; }
.scenario .key { font: 600 1.06rem/1.5 var(--display); color: var(--text); border-left: 3px solid var(--amber); padding-left: 14px; margin: 22px 0 14px; }
.stories { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.stories blockquote { margin: 0; padding: 18px 20px; border-radius: 12px; background: rgba(7, 11, 20, .6); border: 1px solid var(--line); color: var(--soft); font-size: .95rem; }
.stories blockquote span { display: block; font: 500 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }

/* for agents */
.agent-brief { margin: 0 0 20px; display: grid; grid-template-columns: 240px 1fr; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: #050810; font-family: var(--mono); font-size: .9rem; }
.agent-brief dt, .agent-brief dd { margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.agent-brief dt { color: var(--signal); background: rgba(92, 242, 200, .04); }
.agent-brief dd { color: var(--soft); word-break: break-word; }
.agent-brief dt:last-of-type, .agent-brief dd:last-of-type { border-bottom: 0; }
.machine-links { font-family: var(--mono); font-size: .9rem; }

/* faq */
details { border-bottom: 1px solid var(--line); }
details summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 1.06rem/1.4 var(--display); }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 1.5rem var(--body); color: var(--signal); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--soft); padding-bottom: 18px; max-width: 70ch; }

/* request */
.request { background: radial-gradient(800px 400px at 50% 0, rgba(92, 242, 200, .1), transparent 70%); border-top: 1px solid var(--line); }
form { margin-top: 26px; padding: 30px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line-strong); }
.field { margin-bottom: 16px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input, textarea { width: 100%; font: 400 1rem var(--body); color: var(--text); background: #070c18; border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; }
input:focus, textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(92, 242, 200, .18); }
textarea { resize: vertical; min-height: 120px; }
.hint { color: var(--muted); font-size: .88rem; margin: 6px 0 0; }
.err { color: var(--danger); font-size: .88rem; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
form .btn { margin-top: 6px; }
form .fine { margin: 14px 0 0; }
.result { margin-top: 22px; padding: 24px 26px; border-radius: 16px; border: 1px solid rgba(92, 242, 200, .45); background: rgba(92, 242, 200, .07); }
.result.failed { border-color: rgba(255, 138, 122, .5); background: rgba(255, 138, 122, .07); }
.result h3 { margin-bottom: 8px; }
.result pre { white-space: pre-wrap; word-break: break-word; background: #050810; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font: 400 .86rem var(--mono); color: var(--soft); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: #05080f; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.foot p { color: var(--muted); }
.foot-h { font: 500 .76rem var(--mono); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px; }
footer .langs { display: inline-flex; margin-bottom: 22px; }
footer .wrap.legal { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
footer .wrap.legal p { margin: 0; color: var(--muted); }

/* legal pages (privacy policy, terms) */
.bar-gap { margin-left: auto; }
.legal-doc { padding: 56px 0 80px; }
.legal-head { border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 36px; }
.legal-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 10px; }
.legal-head .updated { color: var(--muted); font: 500 .85rem var(--mono); margin: 0; }
.legal-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 96px; font-size: .9rem; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal-toc a { display: block; color: var(--muted); text-decoration: none; padding: 5px 10px; border-left: 2px solid var(--line); }
.legal-toc a:hover { color: var(--text); border-left-color: var(--signal); }
.legal-body { max-width: 74ch; color: var(--soft); }
.legal-body section { padding: 0; margin: 0 0 34px; }
.legal-body h2 { font-size: 1.4rem; max-width: none; color: var(--text); margin-bottom: .7em; }
.legal-body h3 { font-size: 1.04rem; color: var(--text); margin-top: 1.4em; }
.legal-body ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal-body li { margin-bottom: .45em; }
.legal-body li::marker { color: var(--signal); }
.legal-body strong { color: var(--text); }

.notfound { padding: 120px 0; text-align: center; }
.notfound h1 { margin-top: 30px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1080px) {
  .primary-nav { display: none; }
  .menu { display: block; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .aud { grid-template-columns: 1fr 1.6fr; }
  .aud .aud-tag { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .email-grid .checks { columns: 1; }
  section { padding: 64px 0; }
  .hero { padding: 36px 0 24px; }
  .hero-grid, .two-col, .email-grid, .outcomes, .now-next, .stories, .foot { grid-template-columns: 1fr; }
  .hero-grid { gap: 28px; }
  .then-now { position: static; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:nth-child(2)::after { display: none; }
  .principles { grid-template-columns: 1fr 1fr; }
  .aud { grid-template-columns: 1fr; gap: 6px; }
  .agent-brief { grid-template-columns: 1fr; }
  .agent-brief dt { border-bottom: 0; padding-bottom: 2px; }
  .legal-grid { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; }
  .legal-toc ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .table-wrap { overflow: visible; }
  .ifaces thead { display: none; }
  .ifaces tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .ifaces tbody tr:last-child { border-bottom: 0; }
  .ifaces th, .ifaces td { display: block; border: 0; padding: 2px 16px; }
  .ifaces td code { white-space: normal; word-break: break-all; }
  .bar { gap: 10px; height: 60px; }
  .bar .btn.small { display: none; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .logo { height: 22px; }
  .langs a { padding: 4px 8px; }
  .flow, .principles, .cards { grid-template-columns: 1fr; }
  .flow li::after { display: none; }
  form { padding: 20px; }
  .cta-row .btn { width: 100%; }
  .scenario { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
  .dock .agent, .dock .ghost { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}
