/* Warmlist portal · "Field Command" skin (matches warmlist site-v2).
   Self-contained: fonts served from /static/fonts, no CDNs, no external requests. */
@font-face { font-family: Mont; src: url("fonts/montserrat-latin.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: GeistMono; src: url("fonts/geist-mono.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }

:root {
  --ink: #111513;          /* charcoal */
  --panel: #111513;
  --panel-2: #1b211e;
  --panel-ink: #f6f8f5;
  --panel-muted: #aab8ae;
  --ground: #f5f7f5;       /* pale cool gray */
  --card: #ffffff;
  --soft: #eceFEC;
  --line: #dce2dc;
  --line-2: #c6d1bc;
  --ink-2: #3d4640;
  --ink-3: #59635d;        /* 6.2:1 on white */
  --lime: #deff6d;         /* fill only, always behind charcoal text */
  --lime-hover: #d4f85c;
  --ok: #24613a;
  --ok-soft: #e4f2e7;
  --warn: #7a5200;
  --warn-soft: #fbf1d4;
  --bad: #b3261e;
  --bad-soft: #fde8e6;
  --radius: 8px;
  --font: Mont, "Helvetica Neue", Arial, sans-serif;
  --mono: GeistMono, ui-monospace, SFMono-Regular, Menlo, monospace;
  --focus: #4c6a00;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { font-family: var(--font); line-height: 1.08; margin: 0 0 .45em; }
h1 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 780; letter-spacing: -.045em; }
h2 { font-size: 24px; font-weight: 750; letter-spacing: -.035em; }
h3 { font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0 0 .8em; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
small, .muted { color: var(--ink-3); }
.mono { font-family: var(--mono); font-size: 13px; word-break: break-all; }
code { font-family: var(--mono); font-size: 12.5px; background: var(--soft); padding: 1px 6px; border-radius: 4px; word-break: break-word; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 3px; }

/* ---------- mock banner ---------- */
.mockbar { background: var(--lime); color: var(--ink); text-align: center; font: 500 12px/1.5 var(--mono); letter-spacing: .02em; padding: 7px 16px; border-bottom: 1px solid #b9d64a; }
.mockbar b { letter-spacing: .09em; font-weight: 700; }

/* ---------- top bar (site header) ---------- */
.topbar { background: var(--ground); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.topbar-in { max-width: 1380px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; gap: 36px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 26px; line-height: 1; font-weight: 850; letter-spacing: -.07em; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; line-height: 1; background: var(--ink); color: var(--lime); font-size: 25px; font-weight: 850; letter-spacing: -.09em; padding-bottom: 3px; }
.brand-ai { font: 12px var(--mono); letter-spacing: 0; align-self: flex-start; margin: 1px 0 0 1px; }
.nav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 6px; font-size: 14px; font-weight: 600; }
.nav a:hover { background: #e7ece7; color: var(--ink); }
.nav a.on { background: var(--ink); color: #fff; }
.userbox { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-3); }
.userbox .email { font-family: var(--mono); font-size: 12px; }
.userbox form { margin: 0; }
.btn.navtoggle { display: none; }

main { max-width: 1380px; margin: 0 auto; padding: 48px 40px 96px; }
main.bare { max-width: none; padding: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: 700 14px/1.2 var(--font);
  min-height: 46px; padding: 12px 20px; border-radius: 7px; border: 1px solid #9fa99f; background: transparent; color: var(--ink);
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .16s, background .16s; }
.btn:hover { background: #e9eee9; text-decoration: none; transform: translateY(-1px); }
.btn.primary { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn.primary:hover { background: var(--lime-hover); border-color: var(--lime-hover); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.dark:hover { background: #2a322d; }
.btn.danger { color: var(--bad); border-color: #e0a7a1; background: #fff; }
.btn.danger:hover { background: var(--bad-soft); }
.btn.small { min-height: 38px; padding: 8px 14px; font-size: 13px; border-radius: 6px; }
.btn.block { display: flex; width: 100%; }
.btn.big { min-height: 56px; padding: 16px 25px; font-size: 15px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btnrow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
form.inline { display: inline; margin: 0; }

/* ---------- cards / layout ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card.soft { background: #eaeeea; border-color: #eaeeea; }
.card + .card { margin-top: 20px; }
.grid > .card + .card, .grid > * + .card { margin-top: 0; }
.card h2, .card h3 { margin-bottom: 14px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; }
.card-head > a { font-size: 14px; font-weight: 600; }
.pagehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.pagehead h1 { margin: 0; }
.pagehead .sub { color: var(--ink-3); margin-top: 10px; font-size: 14px; }
.grid { display: grid; gap: 20px; }
.kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 24px; }
.kpis.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.two { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; }
.halves { grid-template-columns: 1fr 1fr; align-items: start; }
.stack > * + * { margin-top: 20px; }
.card + .grid, .grid + .card, .grid + .grid, .banner + .grid { margin-top: 20px; }

.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.kpi .label { font: 500 11.5px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .09em; color: var(--ink-3); }
.kpi .value { font-size: 36px; font-weight: 780; letter-spacing: -.05em; margin-top: 8px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.kpi .value small { font-size: 15px; color: var(--ink-3); font-weight: 600; letter-spacing: -.01em; }
.kpi .note { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.kpi.alert { border-color: #e0a7a1; }
.kpi.alert .value { color: var(--bad); }

.bar { display: block; width: 100%; height: 8px; margin-top: 12px; }
.bar .bg { fill: #e3e8e3; }
.bar .fg { fill: var(--ink); }
.bar.full .fg { fill: var(--ok); }

/* ---------- chips / tags ---------- */
.chip { display: inline-block; font: 500 11.5px/1.3 var(--mono); letter-spacing: .02em; padding: 4px 8px; border-radius: 4px; background: #e8ece8; color: var(--ink-2); white-space: nowrap; border: 1px solid transparent; }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.bad { background: var(--bad-soft); color: var(--bad); }
.chip.accent { background: var(--lime); color: var(--ink); }
.tag { display: inline-block; font: 600 11px/1 var(--mono); letter-spacing: .08em; padding: 6px 8px; border-radius: 4px; }
.tag.lead { background: var(--ink); color: var(--lime); }
.tag.warm { background: var(--lime); color: var(--ink); }
.tag.question, .tag.referral { background: #e8ece8; color: var(--ink-2); }

/* ---------- banners ---------- */
.banner { border-radius: var(--radius); padding: 18px 22px; margin-bottom: 24px; border: 1px solid var(--line); background: var(--card); border-left-width: 5px; }
.banner.bad { background: var(--bad-soft); border-color: #eab0aa; border-left-color: var(--bad); color: #5f130e; }
.banner.warn { background: var(--warn-soft); border-color: #ead9a6; border-left-color: #c79a1c; color: #4d3500; }
.banner.ok { background: var(--ok-soft); border-color: #bcd8c5; border-left-color: var(--ok); color: #173d25; }
.banner h3 { margin: 0 0 6px; font-size: 17px; }
.banner ul { margin: 8px 0 0; padding-left: 18px; }
.banner li { margin: 4px 0; }
.banner a { color: inherit; font-weight: 700; }
.flash { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 12px 16px; margin-bottom: 20px; font-weight: 600; border-left: 5px solid var(--lime); }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; }
.tabs a { padding: 12px 14px; text-decoration: none; color: var(--ink-3); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; font-size: 14px; font-weight: 600; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); border-color: var(--ink); }

/* ---------- lists ---------- */
.rows { list-style: none; margin: 0; padding: 0; }
.rows > li { padding: 18px 0; border-top: 1px solid var(--line); }
.rows > li:first-child { border-top: 0; padding-top: 4px; }
.reply { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 14px; align-items: start; }
.reply .who { font-weight: 700; color: var(--ink); font-size: 15px; }
.reply .org { color: var(--ink-3); font-weight: 500; }
.reply .snip { grid-column: 2 / 4; color: var(--ink-2); font-size: 14.5px; }
.reply .when { color: var(--ink-3); font: 12px var(--mono); white-space: nowrap; padding-top: 2px; }
.reply .actions { grid-column: 2 / 4; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; font-size: 14px; margin: 0; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; font-weight: 700; text-align: right; }
.empty { color: var(--ink-3); padding: 24px 0; text-align: center; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 0 -28px; padding: 0 28px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); padding: 10px 10px; border-bottom: 1px solid var(--ink); white-space: nowrap; }
td { padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:hover td { background: #f8faf8; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td .sub { display: block; color: var(--ink-3); font-size: 12.5px; }
td:first-child { min-width: 150px; }
td a.rowlink { color: var(--ink); font-weight: 700; text-decoration: none; }
td a.rowlink:hover { text-decoration: underline; }
.red { color: var(--bad); font-weight: 700; }
.green { color: var(--ok); font-weight: 700; }

/* ---------- forms ---------- */
label { display: block; font-weight: 600; font-size: 14px; margin: 16px 0 7px; }
label .hint { font-weight: 400; color: var(--ink-3); }
input[type=text], input[type=email], input[type=number], input[type=date], input[type=tel], input[type=url], select, textarea {
  width: 100%; font: 16px var(--font); color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 6px; padding: 11px 12px; min-height: 46px; }
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.formgrid .wide { grid-column: 1 / -1; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.radio { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; padding: 14px; border: 1px solid var(--line-2); border-radius: 7px; margin: 8px 0; cursor: pointer; background: #fff; }
.radio:hover { border-color: var(--ink); }
.radio:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.radio input { margin-top: 4px; accent-color: var(--ink); }

/* ---------- sign-in split (login / start / invite) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: calc(100vh - 32px); }
.split .dark { background: var(--panel); color: var(--panel-ink); padding: 48px 64px 44px; display: flex; flex-direction: column; }
.split .dark .brand { color: #fff; }
.split .dark .brand-mark { background: var(--lime); color: var(--ink); }
.split .dark .eyebrow { margin-top: auto; }
.eyebrow { display: flex; align-items: center; gap: 12px; font: 500 12px/1.7 var(--mono); letter-spacing: .09em; text-transform: uppercase; margin: 0 0 22px; }
.split .dark .eyebrow { color: var(--panel-muted); }
.signal-line { display: inline-block; width: 22px; height: 3px; background: var(--lime); flex: none; }
.split .dark h1 { font-size: clamp(44px, 4.3vw, 76px); line-height: 1.02; letter-spacing: -.06em; font-weight: 800; margin: 0 0 26px; max-width: 680px; color: #fff; }
.split .dark h1 span { color: #a8b9a4; }
.split .dark p.lede { font-size: 18px; line-height: 1.7; color: #c3cec6; max-width: 540px; }
.split .dark ul { list-style: none; padding: 0; margin: 30px 0 0; max-width: 560px; }
.split .dark li { padding: 14px 0 14px 34px; border-top: 1px solid rgba(246, 248, 245, .14); position: relative; color: #e2e9e3; font-size: 15px; }
.split .dark li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 16px; height: 3px; background: var(--lime); }
.split .dark .foot { margin-top: auto; padding-top: 36px; font: 12px var(--mono); letter-spacing: .04em; color: #8d9a91; }
.split .dark .eyebrow + h1 { margin-top: 0; }
.split .side { padding: 64px 64px 48px; display: flex; flex-direction: column; justify-content: center; background: var(--ground); }
.signin { width: 100%; max-width: 460px; margin: 0 auto; }
.signin h2 { font-size: 34px; letter-spacing: -.045em; margin-bottom: 10px; }
.signin > p.muted { font-size: 15px; }
.signin .btn.provider { width: 100%; min-height: 58px; padding: 15px 18px; font-size: 15px; margin-top: 12px; justify-content: flex-start; gap: 14px; background: #fff; border-color: var(--line-2); }
.signin .btn.provider:hover { border-color: var(--ink); background: #fff; }
.signin .btn.provider.suggested { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.signin .btn.provider .sugg { margin-left: auto; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--lime); color: var(--ink); padding: 4px 7px; border-radius: 4px; }
.logo { width: 20px; height: 20px; flex: none; }
.allow { margin-top: 26px; background: var(--ink); color: var(--panel-ink); border-radius: var(--radius); padding: 20px 22px; }
.allow h3 { font: 500 12px/1.5 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--panel-muted); margin-bottom: 10px; }
.allow ul { list-style: none; margin: 0; padding: 0; }
.allow li { padding: 7px 0 7px 28px; position: relative; font-size: 14.5px; color: #eef3ee; border-top: 1px solid rgba(246, 248, 245, .1); }
.allow li:first-child { border-top: 0; }
.allow li::before { content: "✓"; position: absolute; left: 2px; top: 6px; width: 18px; height: 18px; border-radius: 4px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 800; line-height: 18px; text-align: center; }
.allow li.no::before { content: "✕"; background: #3a2422; color: #ffb4ab; }
.signin > p.muted:last-of-type { margin-top: 18px; }
.invitebox { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 16px 18px; margin: 16px 0 6px; font-size: 14px; }
.invitebox .row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px solid var(--line); }
.invitebox .row:first-child { border-top: 0; }
.invitebox .row span:first-child { color: var(--ink-3); font: 12px/1.9 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.invitebox .row span:last-child { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.trial { background: var(--ok-soft); color: #173d25; border-radius: 7px; padding: 12px 14px; font-size: 14px; margin-top: 12px; border-left: 4px solid var(--ok); }
.demo { margin-top: 30px; border: 1px dashed #9fa99f; background: #fff; border-radius: var(--radius); padding: 18px 20px; font-size: 13.5px; }
.demo h3 { font: 600 12px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .09em; color: var(--ink); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.demo h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--lime); box-shadow: 0 0 0 1px var(--ink); }
.demo ul { margin: 4px 0 10px; padding-left: 18px; }
.demo li { margin: 4px 0; overflow-wrap: anywhere; }

/* ---------- plan card / steps ---------- */
.plan { background: var(--ink); color: var(--panel-ink); border-radius: var(--radius); padding: 28px; }
.plan h2, .plan h3 { color: #fff; }
.plan .price { font-size: 44px; font-weight: 800; letter-spacing: -.055em; color: #fff; margin: 4px 0 8px; line-height: 1.05; }
.plan .trial { background: rgba(222, 255, 109, .1); color: #eef3ee; border-left-color: var(--lime); }
.plan .fine { font-size: 13px; color: var(--panel-muted); margin-top: 14px; }
.plan a { color: #fff; }
.plan .muted { color: var(--panel-muted); font: 500 12px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li { counter-increment: s; padding: 12px 0 12px 44px; position: relative; border-top: 1px solid var(--line); font-size: 14.5px; min-height: 48px; }
.steps li:first-child { border-top: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 11px; width: 30px; height: 26px; border-radius: 5px; background: #e3e8e3; text-align: center; line-height: 26px; font: 600 12px/26px var(--mono); color: var(--ink-2); }
.steps li.done { color: var(--ink-3); }
.steps li.done::before { content: "✓"; background: var(--ok-soft); color: var(--ok); font-family: var(--font); font-weight: 800; }
.steps li.now { font-weight: 700; }
.steps li.now::before { background: var(--lime); color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

/* ---------- mock provider pages ---------- */
.mockpage { max-width: 560px; margin: 56px auto; }
.mockpage .card { padding: 34px; }
.mockpage .provider-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.mockpage .provider-head h2 { margin: 0; }
.scopes { font-size: 13px; background: #eef1ee; border-radius: 7px; padding: 12px 14px; margin: 14px 0; }
.scopes ul { margin: 6px 0 0; padding-left: 18px; }
.scopes li { margin: 3px 0; }
.checkout { display: grid; grid-template-columns: 1fr 1fr; max-width: 980px; margin: 56px auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.checkout .l { background: var(--ink); color: var(--panel-ink); padding: 40px; }
.checkout .l h2 { color: #fff; font-size: 32px; letter-spacing: -.045em; }
.checkout .l .muted { color: var(--panel-muted); }
.checkout .l .kpi { background: var(--panel-2); border-color: #2c352f; color: #fff; margin: 18px 0; }
.checkout .l .kpi .label, .checkout .l .kpi .note { color: var(--panel-muted); }
.checkout .l .trial { background: rgba(222, 255, 109, .1); color: #eef3ee; border-left-color: var(--lime); }
.checkout .l a { color: #fff; }
.checkout .r { padding: 40px; }

/* ---------- misc ---------- */
.copybox { display: flex; gap: 8px; align-items: stretch; margin: 8px 0; }
.copybox input, .copybox textarea { font-family: var(--mono); font-size: 13px; min-width: 0; }
.copybox textarea { min-height: 260px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.check:first-child { border-top: 0; }
.dot { width: 12px; height: 12px; border-radius: 3px; margin-top: 5px; background: var(--ink-3); }
.dot.ok { background: var(--ok); } .dot.warn { background: #c99419; } .dot.bad { background: var(--bad); } .dot.info { background: #a9b3ae; }
.check .n { font-family: var(--mono); font-size: 13px; font-weight: 600; }
.check .d { font-size: 14px; color: var(--ink-2); }
.check .w { font-size: 12.5px; color: var(--ink-3); }
.bigcheck { width: 72px; height: 72px; border-radius: 10px; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 800; margin: 0 auto 18px; }
.center { text-align: center; }
.narrow { max-width: 680px; margin: 0 auto; }
.hr { height: 1px; background: var(--line); margin: 22px 0; }
.right { text-align: right; }
.hide { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .topbar-in { padding: 0 28px; gap: 22px; }
  main { padding: 36px 28px 80px; }
  .kpis.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split .dark, .split .side { padding: 44px 40px; }
}
@media (max-width: 960px) {
  .kpis, .kpis.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two, .halves { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split .dark { padding: 28px 20px 34px; }
  .split .dark .eyebrow { margin-top: 44px; }
  .split .dark h1 { font-size: clamp(38px, 10.5vw, 56px); margin-bottom: 18px; }
  .split .dark p.lede { font-size: 16px; }
  .split .dark ul, .split .dark .foot { display: none; }
  .split .side { padding: 32px 16px 56px; }
  .checkout { grid-template-columns: 1fr; margin: 16px; }
  .checkout .l, .checkout .r { padding: 28px 22px; }
}

/* ---------- phone ---------- */
@media (max-width: 700px) {
  body { font-size: 15px; }
  main { padding: 26px 16px 64px; }
  h1 { font-size: 32px; }
  h2 { font-size: 22px; }
  .topbar-in { padding: 10px 16px; flex-wrap: wrap; gap: 8px 10px; min-height: 64px; }
  .brand { font-size: 22px; }
  .brand-mark { width: 30px; height: 30px; font-size: 22px; }
  .topbar .brand-ai { display: none; }
  .btn.navtoggle { display: inline-flex; margin-left: auto; }
  .nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; padding: 6px 0 10px; }
  .nav a { padding: 12px; font-size: 15px; }
  .nav:has(> a:only-child) { display: none; }
  .nav.open { display: flex; }
  .userbox .email { display: none; }
  .userbox { order: 2; margin-left: auto; gap: 8px; }
  .btn.navtoggle + .nav + .userbox { margin-left: 0; }
  .pagehead { align-items: stretch; margin-bottom: 24px; }
  .pagehead > div { min-width: 0; }
  .pagehead .sub { overflow-wrap: anywhere; }
  .pagehead .btnrow { width: 100%; }
  .pagehead .btnrow .btn, .pagehead .btnrow form { flex: 1; }
  .pagehead .btnrow form .btn { width: 100%; }
  .grid { gap: 12px; }
  .kpis { margin-bottom: 18px; }
  .kpi { padding: 14px 15px; }
  .kpi .value { font-size: 28px; }
  .kpi .label { font-size: 10.5px; letter-spacing: .06em; }
  .reply { grid-template-columns: auto 1fr; }
  .reply .when { grid-column: 2; grid-row: 2; }
  .reply .snip, .reply .actions { grid-column: 1 / -1; }
  .reply .actions .btn, .reply .actions form { flex: 1; }
  .reply .actions form .btn { width: 100%; }
  .formgrid { grid-template-columns: 1fr; }
  .card { padding: 18px 16px; }
  .banner { padding: 14px 16px; }
  .table-wrap { margin: 0 -16px; padding: 0 16px; }
  table.cards thead { display: none; }
  table.cards, table.cards tbody, table.cards tr, table.cards td { display: block; width: 100%; }
  table.cards tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  table.cards tr:last-child { border-bottom: 0; }
  table.cards td { border: 0; padding: 3px 0; text-align: left; min-width: 0; overflow-wrap: anywhere; }
  table.cards tbody tr:hover td { background: transparent; }
  table.cards td.num { text-align: left; }
  table.cards td[data-l]::before { content: attr(data-l) ": "; color: var(--ink-3); font: 11px var(--mono); text-transform: uppercase; letter-spacing: .05em; }
  .signin h2 { font-size: 28px; }
  .mockpage { margin: 16px; }
  .mockpage .card { padding: 22px 18px; }
  .copybox { flex-wrap: wrap; }
  .kv { grid-template-columns: max-content minmax(0, 1fr); }
  .kv dd { overflow-wrap: anywhere; }
  .tabs a { padding: 12px 10px; }
}
