/* Anshira landing page (design system v0.2, "The record"). Same discipline as ProcessYard: the product screen is the
   visual, hairlines not shadows, colour only for meaning (ai = held, shu = failed). Tokens: tokens.css (--an-*). */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--an-ground); color: var(--an-ink-2); font: 16px/1.55 var(--an-sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; color: var(--an-ink); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4rem); line-height: 1; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); line-height: 1.05; letter-spacing: -0.03em; }
h3 { font-size: 1.5rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.turn { color: var(--an-faint); }
p { margin: 0; }
a { color: var(--an-ai); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--an-ai); outline-offset: 3px; border-radius: 2px; }
.mono { font-family: var(--an-mono); font-size: 0.75rem; }
.small { font-size: 0.6875rem; color: var(--an-muted); }
.k { font-size: 0.8125rem; color: var(--an-muted); }
.note { font-size: 0.8125rem; color: var(--an-muted); }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--an-paper); padding: 8px 12px; z-index: 10; }

/* buttons: one ink button per view; everything else is a hairline button or a text link */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 0.9375rem/1 var(--an-sans); padding: 13px 18px; border-radius: var(--an-r-s); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background var(--an-fast) var(--an-ease), border-color var(--an-fast) var(--an-ease); }
.btn-ink { background: var(--an-ink); color: var(--an-on-ink); }
.btn-ink:hover { background: var(--an-ai); }
.btn-line { background: transparent; color: var(--an-ink); border-color: var(--an-line-2); }
.btn-line:hover { border-color: var(--an-ink); }
.btn-sm { padding: 9px 12px; font-size: 0.8125rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: default; }
.mock { pointer-events: none; }
.text-link { color: var(--an-ink); font-weight: 500; font-size: 0.9375rem; text-decoration: none; }
.text-link:hover { color: var(--an-ai); }
button.text-link { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 10px; }
.tri { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
/* the film: in the hero it plays muted on loop with its captions; with sound it opens in a player */
.hero-film { margin-top: 32px; }
.film { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--an-line-2); border-radius: var(--an-r-m); overflow: hidden; background: var(--an-paper) url("film-poster.9fac98c2.jpg") center / cover no-repeat; }
.film-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 700ms var(--an-ease); }
/* after one full play the film rests on the finished record (the poster behind it) */
.film.rested .film-loop { opacity: 0; }
.film-replay { background: none; border: 0; padding: 0; font: 500 0.875rem var(--an-sans); color: var(--an-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.film-replay:hover { color: var(--an-ai); }
.film-hit { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; }
.film-hit:focus-visible { outline: 2px solid var(--an-ai); outline-offset: -4px; }
.film-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; }
.film-bar .caption { margin-top: 0; }
.film-play { display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 14px; border: 1px solid var(--an-line-2); border-radius: var(--an-r-s); background: var(--an-paper); color: var(--an-ink); font: 600 0.875rem var(--an-sans); cursor: pointer; transition: border-color var(--an-fast) var(--an-ease); }
.film-play svg { width: 10px; height: 10px; }
.film-play .n { font: 400 0.6875rem var(--an-mono); color: var(--an-muted); }
.film-play:hover, .film:hover ~ .film-bar .film-play { border-color: var(--an-ink); }
.lb { padding: 0; border: 0; background: transparent; width: min(1200px, 94vw); max-width: none; overflow: visible; }
.lb::backdrop { background: rgba(14, 26, 51, 0.84); }
.lb-frame video { display: block; width: 100%; border-radius: var(--an-r-m); background: var(--an-ground); }
.lb-x { position: absolute; right: 0; top: -54px; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 0; border-radius: var(--an-r-s); background: var(--an-paper); color: var(--an-ink); font: 600 0.9375rem var(--an-sans); cursor: pointer; }
.lb-x svg { width: 14px; height: 14px; }
.lb-x:hover { background: var(--an-ai-soft); }
.lb-x:focus-visible { outline: 2px solid var(--an-paper); outline-offset: 3px; }
@media (max-width: 640px) { .lb { width: 100vw; } .lb-frame video { border-radius: 0; } .lb-x { right: 12px; } }
/* the live pilot record, under what you get */
.live-record { margin-top: 48px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 5; background: var(--an-ground); border-bottom: 1px solid var(--an-line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--an-ink); text-decoration: none; font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.03em; }
.brand.small { font-size: 0.9375rem; }
/* the wordmark: "anshira" in Instrument Sans 600, the i's dot drawn as a tick (one counted outcome) */
.wordmark { display: inline-block; font-weight: 600; letter-spacing: -0.035em; line-height: 1; color: var(--an-ink); }
.wordmark .i { position: relative; display: inline-block; }
.wordmark .i::before { content: ""; position: absolute; left: 50%; top: 0.02em; width: 0.085em; height: 0.2em; margin-left: -0.0425em; background: currentColor; }
.nav nav { display: flex; gap: 24px; margin-left: auto; }
.nav nav a { color: var(--an-muted); text-decoration: none; font-size: 0.875rem; }
.nav nav a:hover { color: var(--an-ink); }
@media (max-width: 760px) { .nav nav { display: none; } .nav .btn { margin-left: auto; } }

/* hero */
.hero { padding-block: 56px 0; }
.for { font-size: 0.875rem; color: var(--an-muted); margin-bottom: 14px; }
.hero h1 { max-width: 24ch; font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
.hero h1 .turn { display: block; }
.lede { font-size: 1.0625rem; max-width: 66ch; margin-top: 16px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 24px; }
@media (max-width: 640px) { .hero { padding-block: 32px 0; } .hero-film { margin-top: 24px; } }
/* desktop: the intro sits beside the buttons, so most of the film is in the first screen on a laptop */
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 16px; }
.hero-row .lede { margin-top: 0; max-width: 64ch; }
.hero-row .cta-row { margin-top: 0; flex: none; }
@media (min-width: 1000px) { .hero { padding-top: 40px; } }
@media (max-width: 900px) { .hero-row { display: block; } .hero-row .cta-row { margin-top: 22px; } }

/* screens: product UI drawn at true size, hairline border, no shadow */
.screen { margin: 0; background: var(--an-paper); border: 1px solid var(--an-line-2); border-radius: var(--an-r-m); overflow: hidden; min-width: 0; }
.pad { padding: 18px 20px; }
.caption { font-size: 0.8125rem; color: var(--an-muted); margin-top: 14px; }

/* the record (hero) */
.record { display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.rec-main { padding: 20px 28px 10px; min-width: 0; }
.rec-rail { border-left: 1px solid var(--an-line); background: var(--an-panel); padding: 20px 24px; display: flex; flex-direction: column; gap: 22px; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; color: var(--an-muted); }
.crumbs img { width: 16px; height: 16px; }
.crumbs .sep { color: var(--an-line-2); }
.here { color: var(--an-ink); font-weight: 600; }
.tag { margin-left: auto; font: 400 0.6875rem var(--an-mono); color: var(--an-muted); }
.figure-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: end; margin-top: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--an-line); }
.figure { font-weight: 600; font-size: 3.5rem; line-height: 0.9; letter-spacing: -0.03em; color: var(--an-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.figure .pct { font-size: 0.5em; margin-left: 2px; letter-spacing: 0; }
.figure-def { display: grid; gap: 4px; max-width: 50ch; }
.figure-def p { font-size: 0.9375rem; color: var(--an-ink); }

/* outcome strip: one tick per scenario run; ai passed, solid shu failed and open, pale shu failed then fixed */
.strip-head, .log-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-top: 20px; font-size: 0.8125rem; color: var(--an-muted); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 400 0.6875rem var(--an-mono); }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.legend .t { display: inline-block; width: 4px; height: 12px; }
.strip { display: flex; gap: 20px; margin-top: 12px; }
.ver { flex: 1; min-width: 0; transition: opacity var(--an-fast) var(--an-ease); }
.ver-l { display: flex; justify-content: space-between; gap: 8px; font: 400 0.6875rem var(--an-mono); color: var(--an-muted); padding-bottom: 6px; margin-bottom: 8px; border-bottom: 1px solid var(--an-line); }
.ver-l b { font-weight: 500; color: var(--an-ink); }
.ticks { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 2px; height: 36px; }
.t { display: block; background: var(--an-ai); border-radius: 1px; }
.t.fail { background: var(--an-shu); }
.t.fixed { background: var(--an-shu-soft); box-shadow: inset 0 0 0 1px var(--an-shu); }
.mini .ver { opacity: 0.3; }
.mini .ver.on { opacity: 1; }
.t.miss { background: var(--an-line-2); }
.t.viol { background: var(--an-shu); }
/* the pilot record: every claim the agent handles, met / not met / violation, against the pilot targets */
.work { display: grid; grid-template-columns: repeat(96, minmax(0, 1fr)); gap: 2px; height: 40px; margin-top: 12px; }
.feed { list-style: none; margin: 8px 0 0; padding: 0; }
.feed li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--an-line); font-size: 0.9375rem; color: var(--an-ink); }
.feed li:first-child { border-top: 0; }
.feed .d, .feed .id { font: 400 0.6875rem var(--an-mono); color: var(--an-muted); }
.feed .id { margin-right: 8px; }
.feed .s { display: inline-flex; align-items: center; gap: 7px; font: 400 0.6875rem var(--an-mono); white-space: nowrap; }
.feed .s::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; }
.feed .s.met { color: var(--an-ai); } .feed .s.met::before { background: var(--an-ai); }
.feed .s.miss { color: var(--an-muted); } .feed .s.miss::before { background: var(--an-line-2); }
.feed .s.viol { color: var(--an-shu); } .feed .s.viol::before { background: var(--an-shu); }
.targets { margin: 0; border-top: 1px solid var(--an-line); }
.targets div { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--an-line); }
.targets dt { font-size: 0.8125rem; color: var(--an-muted); }
.targets dd { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.targets .now { font-size: 1.125rem; font-weight: 600; color: var(--an-ink); font-variant-numeric: tabular-nums; }
.targets .tgt { font: 400 0.6875rem var(--an-mono); color: var(--an-muted); }
.targets .ok { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 400 0.6875rem var(--an-mono); color: var(--an-ai); }
.targets .ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--an-ai); }
.viols { display: grid; gap: 10px; }
.viols p { font-size: 0.875rem; line-height: 1.45; color: var(--an-ink); }
.viols .open, .viols .fixed { display: block; margin-top: 2px; }
.viols .open { color: var(--an-shu); } .viols .fixed { color: var(--an-muted); }
/* the pilot plays once, then rests: the newest claims arrive one by one with their ticks; the violation lands in vermilion */
.record.play .feed li:not(.seen) { opacity: 0; transform: translateY(-8px); }
.record.play .work .t.fresh:not(.seen), .record.play .viols [data-new]:not(.seen) { opacity: 0; }
.record .feed li, .record .work .t, .record .viols p { transition: opacity var(--an-mid) var(--an-ease), transform var(--an-mid) var(--an-ease); }
@media (max-width: 640px) {
  .work { grid-template-columns: repeat(48, minmax(0, 1fr)); height: auto; grid-auto-rows: 28px; row-gap: 6px; }
  .feed li { grid-template-columns: 44px minmax(0, 1fr); gap: 2px 12px; }
  .feed .s { grid-column: 2; white-space: normal; }
}

/* corrections log: failures stay on file; fixed ones go hollow */
.log { list-style: none; margin: 8px 0 0; padding: 0; }
.log li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--an-line); font-size: 0.9375rem; color: var(--an-ink); }
.log li:first-child { border-top: 0; }
.log .d { font: 400 0.6875rem var(--an-mono); color: var(--an-muted); }
.log b { font-weight: 600; margin-right: 4px; }
.log .s { display: inline-flex; align-items: center; gap: 7px; font: 400 0.6875rem var(--an-mono); white-space: nowrap; }
.log .s::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; }
.log .s.open { color: var(--an-shu); }
.log .s.open::before { background: var(--an-shu); }
.log .s.fixed { color: var(--an-muted); }
.log .s.fixed::before { box-shadow: inset 0 0 0 1.5px var(--an-shu); }

/* the buyer's rail */
.rail-block { display: grid; gap: 2px; }
.big { font-size: 1.625rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; color: var(--an-ink); font-variant-numeric: tabular-nums; }
.facts { margin: 0; border-top: 1px solid var(--an-line); }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--an-line); font-size: 0.875rem; }
.facts dt { color: var(--an-muted); }
.facts dd { margin: 0; color: var(--an-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.rq { display: grid; gap: 4px; padding: 14px 16px; background: var(--an-paper); border: 1px solid var(--an-line-2); border-radius: var(--an-r-s); }
.rq p { font-size: 0.9375rem; line-height: 1.4; color: var(--an-ink); }
.rq b { font-weight: 600; }
.rail-foot { margin-top: auto; display: grid; gap: 10px; }
.signed { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--an-ai); border-radius: var(--an-r-s); background: var(--an-ai-soft); }
.signed b { font-weight: 600; color: var(--an-ink); }
@media (max-width: 900px) { .record { grid-template-columns: minmax(0, 1fr); } .rec-rail { border-left: 0; border-top: 1px solid var(--an-line); } .rail-foot { margin-top: 0; } }
@media (max-width: 640px) {
  .rec-main { padding: 16px 16px 6px; } .rec-rail { padding: 18px 16px; }
  .tag { margin-left: 0; width: 100%; }
  .figure-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .strip { flex-direction: column; gap: 14px; }
  .log li { grid-template-columns: 48px minmax(0, 1fr); gap: 4px 12px; }
  .log .s { grid-column: 2; white-space: normal; }
}

/* sections */
.section { padding-block: 112px; }
.band { background: var(--an-paper); border-block: 1px solid var(--an-line); }
.split-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.split-head p { max-width: 48ch; }
@media (max-width: 860px) { .section { padding-block: 72px; } .split-head { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* deal quotes */
.quotes { list-style: none; margin-top: 56px; margin-bottom: 0; }
.quotes li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; padding: 28px 0; border-top: 1px solid var(--an-line); }
.quotes li:last-child { border-bottom: 1px solid var(--an-line); }
.say { font-size: clamp(1.5rem, 2.6vw, 1.875rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; color: var(--an-ink); }
.say .turn { display: block; }
.quotes li > div p:first-child { font-size: 0.9375rem; max-width: 48ch; }
.src { font: 400 0.6875rem/1.6 var(--an-mono); color: var(--an-muted); margin-top: 10px; }
@media (max-width: 760px) { .quotes li { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

/* steps: copy left, the real screen right */
.steps { margin-top: 56px; }
.step { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; padding-block: 44px; border-top: 1px solid var(--an-line); align-items: start; }
.step-copy p { margin-top: 10px; font-size: 0.9375rem; max-width: 42ch; }
.lines { list-style: none; padding: 0; margin: 20px 0 0; font-size: 0.875rem; color: var(--an-ink); }
.lines li { padding: 9px 0; border-top: 1px solid var(--an-line); }
@media (max-width: 860px) { .step { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 36px; } }
/* the keyword line under each step: quiet, never louder than the copy */
.step-copy p.g-k { font-size: 0.6875rem; line-height: 1.6; color: var(--an-muted); }
/* a stage label above each step, and the "during" step runs full width so the pilot record reads at full size */
.stage { display: block; margin-bottom: 8px; color: var(--an-ai); }
.step .g-k { text-align: left; margin-top: 16px; }
.step.wide { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.step.wide .step-copy { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 56px; align-items: start; }
.step.wide .step-copy .stage, .step.wide .step-copy h3 { grid-column: 1; }
.step.wide .step-copy p { grid-column: 2; margin-top: 0; }
.step.wide .step-copy p + p { margin-top: 10px; }
.step.wide .step-copy h3 + p { grid-row: 1 / span 2; }
@media (max-width: 860px) { .step.wide .step-copy { display: block; } .step.wide .step-copy p { margin-top: 10px; } }
.scr-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding-bottom: 12px; border-bottom: 1px solid var(--an-line); font-size: 0.875rem; font-weight: 600; color: var(--an-ink); }
.scr-head .mono { font-weight: 400; }
.scr-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--an-line); }
.scen { list-style: none; margin: 0; padding: 0; }
.scen li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--an-line); font-size: 0.875rem; color: var(--an-ink); }
.scen li:last-child { border-bottom: 0; }
.mk { width: 8px; height: 8px; border-radius: 50%; background: var(--an-ai); align-self: center; }
.mk.fail { background: var(--an-shu); }
.scen .r { font: 400 0.6875rem var(--an-mono); color: var(--an-ai); text-align: right; }
.scen .r.fail { color: var(--an-shu); }
@media (max-width: 520px) { .scen li { grid-template-columns: 8px minmax(0, 1fr); } .scen .r { grid-column: 2; text-align: left; } }
.def { list-style: none; counter-reset: d; margin: 4px 0 0; padding: 0; }
.def li { counter-increment: d; display: grid; grid-template-columns: 24px minmax(0, 1fr); padding: 10px 0; border-bottom: 1px solid var(--an-line); font-size: 0.875rem; color: var(--an-ink); }
.def li::before { content: counter(d); font: 400 0.6875rem var(--an-mono); color: var(--an-muted); padding-top: 3px; }
.weeks { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); margin-top: 16px; border: 1px solid var(--an-line); border-radius: var(--an-r-s); overflow: hidden; }
.weeks div { display: grid; gap: 2px; padding: 8px 4px; text-align: center; border-left: 1px solid var(--an-line); }
.weeks div:first-child { border-left: 0; }
.weeks .v { border-left: 1px solid var(--an-ink); }
.weeks span { font: 400 0.625rem var(--an-mono); color: var(--an-muted); }
.weeks b { font: 500 0.6875rem var(--an-mono); color: var(--an-ink); }
@media (max-width: 520px) { .weeks { grid-template-columns: repeat(4, minmax(0, 1fr)); } .weeks div:nth-child(5) { border-left: 0; } .weeks div:nth-child(n+5) { border-top: 1px solid var(--an-line); } }
.access { list-style: none; margin: 0; padding: 0; }
.access li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--an-line); font-size: 0.875rem; color: var(--an-ink); }
.access b { font-weight: 600; }
.shares { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: 14px; }
.shares p { margin-top: 4px; font-size: 0.875rem; color: var(--an-ink); }
@media (max-width: 520px) { .shares { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* same record, any agent */
.any { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; margin-top: 56px; align-items: start; }
.agent-list { display: grid; border-top: 1px solid var(--an-line); }
.agent-list button { position: relative; display: grid; gap: 2px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--an-line); padding: 14px 0 14px 20px; cursor: pointer; font: 600 1.0625rem var(--an-sans); color: var(--an-muted); }
.agent-list button:hover { color: var(--an-ink); }
.agent-list button[aria-pressed="true"] { color: var(--an-ink); }
.agent-list button[aria-pressed="true"]::before { content: ""; position: absolute; left: 0; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--an-ai); }
.agent-list .note { margin-top: 14px; }
.mini-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--an-line); }
.mini-head > div:first-child { display: grid; gap: 2px; }
.mini .figure-row { margin-top: 18px; }
.mini .facts { margin-top: 18px; }
.seg { display: inline-flex; border: 1px solid var(--an-line-2); border-radius: var(--an-r-s); overflow: hidden; }
.seg button { font: 400 0.75rem var(--an-mono); background: var(--an-paper); color: var(--an-muted); border: 0; padding: 8px 12px; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--an-line-2); }
.seg button:hover { color: var(--an-ink); }
.seg button[aria-pressed="true"] { background: var(--an-ink); color: var(--an-on-ink); }
@media (max-width: 860px) { .any { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* what you get: the offer as a ledger, not tiles */
.gets { list-style: none; margin-top: 56px; margin-bottom: 0; }
.gets li { display: grid; grid-template-columns: 56px minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 32px; align-items: baseline; padding: 28px 0; border-top: 1px solid var(--an-line); }
.gets li:last-child { border-bottom: 1px solid var(--an-line); }
.g-n { color: var(--an-muted); }
.gets li > div p { margin-top: 8px; max-width: 60ch; font-size: 0.9375rem; }
.g-k { text-align: right; line-height: 1.7; }
@media (max-width: 760px) { .gets li { grid-template-columns: 36px minmax(0, 1fr); gap: 8px 16px; } .g-k { grid-column: 2; text-align: left; } }

/* why it holds */
.rules { margin-top: 56px; margin-bottom: 0; }
.rules div { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; padding: 18px 0; border-top: 1px solid var(--an-line); }
.rules div:last-child { border-bottom: 1px solid var(--an-line); }
.rules dt { font-weight: 600; font-size: 1.0625rem; color: var(--an-ink); }
.rules dd { margin: 0; }
@media (max-width: 760px) { .rules div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* sound like your quarter */
.familiar { list-style: none; padding: 0; margin: 40px 0 0; }
.familiar li { padding: 16px 0; border-top: 1px solid var(--an-line); font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600; letter-spacing: -0.015em; color: var(--an-ink); }
.familiar li:last-child { border-bottom: 1px solid var(--an-line); }
.fam-foot { margin-top: 24px; max-width: 60ch; }

/* partner form */
.partner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.partner-copy p:not(.mono) { margin-top: 18px; max-width: 44ch; }
.partner-copy .mono { margin-top: 14px; }
#partner-form { display: grid; gap: 16px; padding: 24px; border: 1px solid var(--an-line-2); border-radius: var(--an-r-m); background: var(--an-paper); }
#partner-form label { display: grid; gap: 6px; font-size: 0.875rem; font-weight: 500; color: var(--an-ink); }
#partner-form input:not([type="radio"]), #partner-form textarea { width: 100%; font: 400 1rem var(--an-sans); color: var(--an-ink); background: var(--an-paper); border: 1px solid var(--an-faint); border-radius: var(--an-r-s); padding: 11px 12px; }
#partner-form input:not([type="radio"]):focus-visible, #partner-form textarea:focus-visible { outline: 2px solid var(--an-ai); outline-offset: 1px; border-color: var(--an-ai); }
.role { border: 0; padding: 0; margin: 0; min-width: 0; }
.role legend { padding: 0; margin-bottom: 8px; font-size: 0.875rem; font-weight: 500; color: var(--an-ink); }
.role-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--an-faint); border-radius: var(--an-r-s); overflow: hidden; }
#partner-form .role-opts label { display: flex; align-items: center; gap: 8px; padding: 11px 12px; cursor: pointer; }
#partner-form .role-opts label + label { border-left: 1px solid var(--an-faint); }
.role-opts input { accent-color: var(--an-ink); margin: 0; }
.role-opts label:has(input:checked) { background: var(--an-ai-soft); }
.form-status { min-height: 1.4em; font-size: 0.875rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status.ok { color: var(--an-ai); }
.form-status.err { color: var(--an-shu); }
@media (max-width: 860px) { .partner { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* footer */
.foot { border-top: 1px solid var(--an-line); padding-block: 28px; font-size: 0.8125rem; color: var(--an-muted); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.foot-in > :last-child { margin-left: auto; }
@media (max-width: 760px) { .foot-in > :last-child { margin-left: 0; } }
