:root {
  --paper: #eef0f4;
  --surface: #ffffff;
  --sunken: #f5f6f9;
  --ink: #172033;
  --muted: #5a6478;
  --line: #d6dbe4;
  --seal: #2440c9;
  --seal-soft: #e7ebfb;
  --pass: #18784f;
  --pass-soft: #e3f3eb;
  --fail: #b42d26;
  --fail-soft: #fbe9e7;
  --hold: #8f6410;
  --hold-soft: #fbf1dc;
  --focus: #2440c9;
  --radius-s: 6px;
  --radius-m: 10px;
  --sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --band: #0d1630;
  --on-band: #eef2fb;
  --on-band-muted: #a6b1cc;
  --seal-on-band: #93a6ff;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #10141c;
    --surface: #171d28;
    --sunken: #131822;
    --ink: #e6eaf1;
    --muted: #98a2b5;
    --line: #2a3242;
    --seal: #8197ff;
    --seal-soft: #1e2850;
    --pass: #4cc38a;
    --pass-soft: #13301f;
    --fail: #f07167;
    --fail-soft: #3a1714;
    --hold: #e0b252;
    --hold-soft: #33280f;
    --focus: #8197ff;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--seal); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; }
.skip:focus { left: 8px; z-index: 10; }

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1160px; margin: 0 auto; padding: 18px 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--seal); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand span { color: var(--ink); }
.modes { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hold); }
.chip.live .dot { background: var(--pass); }

main { max-width: 1160px; margin: 0 auto; padding: 8px 24px 80px; outline: none; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; letter-spacing: -0.015em; line-height: 1.15; }
h1 { font-size: clamp(34px, 5.2vw, 56px); font-weight: 700; }
h2 { font-size: 24px; font-weight: 650; }
h3 { font-size: 17px; font-weight: 600; }
p { margin: 0; }
.lede { font-size: 19px; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.serif { font-family: var(--serif); }
.code { font-family: var(--mono); font-size: 12.5px; word-break: break-all; }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: var(--radius-s);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--seal); border-color: var(--seal); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { color: var(--fail); }
.btn.quiet { border-color: transparent; background: transparent; color: var(--seal); padding: 0 8px; }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

label.field { display: grid; gap: 6px; font-weight: 500; font-size: 14px; }
label.field .hint { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=url], input[type=number], textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius-s);
  background: var(--surface); font-size: 15px;
}
textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
input:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: -1px; border-color: transparent; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- home ---------- */
.flow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 2px solid var(--ink); margin: 28px 0 56px;
}
.flow li { list-style: none; padding: 18px 20px 0 0; }
.flow .n { font-weight: 700; color: var(--seal); font-size: 14px; }
.flow h3 { margin: 6px 0 6px; }
.flow p { color: var(--muted); font-size: 15px; }
.flow ol { padding: 0; margin: 0; display: contents; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.deal-list { display: grid; gap: 8px; }
.deal-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center;
  padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m);
  text-decoration: none; color: inherit;
}
.deal-row:hover { border-color: var(--muted); }
.empty { padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius-m); color: var(--muted); }

/* ---------- status ---------- */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--sunken); color: var(--muted); }
.status.hold { background: var(--hold-soft); color: var(--hold); }
.status.pass { background: var(--pass-soft); color: var(--pass); }
.status.fail { background: var(--fail-soft); color: var(--fail); }
.status.seal { background: var(--seal-soft); color: var(--seal); }

/* ---------- panels ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; }
.layout > div > .panel + .panel { margin-top: 16px; }
.panel h2 + p, .panel h3 + p { margin-top: 6px; }
.stack { display: grid; gap: 14px; }

/* ---------- new deal ---------- */
.compose { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 22px; }
.page-head { padding: 28px 0 4px; display: grid; gap: 8px; }
.criteria-edit { display: grid; gap: 10px; }
.crit-edit { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--sunken); }
.crit-edit textarea { font-family: var(--serif); font-size: 16px; padding: 7px 9px; min-height: 0; resize: vertical; }
.crit-meta { display: flex; gap: 10px; align-items: center; margin-top: 6px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.crit-id { font-weight: 700; color: var(--seal); padding-top: 8px; min-width: 28px; }
.kind { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 4px; background: var(--seal-soft); color: var(--seal); }
.kind.ai { background: var(--hold-soft); color: var(--hold); }

/* ---------- deal page ---------- */
.deal-head { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: end; padding: 28px 0 22px; border-bottom: 2px solid var(--ink); margin-bottom: 22px; }
.deal-head .parties { color: var(--muted); margin-top: 8px; }
.amount { text-align: right; }
.amount .figure { font-size: clamp(32px, 4vw, 44px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.amount .where { font-size: 14px; color: var(--muted); margin-top: 6px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.side { display: grid; gap: 16px; position: sticky; top: 16px; }

.rolebar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; font-size: 14px; color: var(--muted); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; background: var(--surface); }
.seg button { border: 0; background: transparent; padding: 7px 14px; cursor: pointer; font-weight: 600; color: var(--muted); }
.seg button[aria-pressed=true] { background: var(--ink); color: var(--paper); }

/* progress rail: a real sequence */
.rail { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rail li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; position: relative; padding-bottom: 16px; }
.rail li:last-child { padding-bottom: 0; }
.rail li::before { content: ''; position: absolute; left: 12px; top: 26px; bottom: 2px; width: 2px; background: var(--line); }
.rail li:last-child::before { display: none; }
.rail .mark { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted); z-index: 1; }
.rail li.done .mark { background: var(--seal); border-color: var(--seal); color: #fff; }
.rail li.done::before { background: var(--seal); }
.rail li.now .mark { border-color: var(--seal); color: var(--seal); }
.rail .t { font-weight: 600; font-size: 15px; line-height: 26px; }
.rail .d { font-size: 13px; color: var(--muted); }

.money { display: grid; gap: 10px; }
.money .row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.money .row span:first-child { color: var(--muted); }

/* contract */
.clauses { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 0; }
.clause { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); align-items: baseline; }
.clause:first-child { border-top: 0; }
.clause .cid { font-weight: 700; color: var(--seal); font-size: 14px; }
.clause .ctext { font-family: var(--serif); font-size: 17px; line-height: 1.4; }
.clause .optional { font-size: 12px; color: var(--muted); }

/* verdict ruling */
.ruling { position: relative; overflow: hidden; }
.ruling-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding-right: 150px; min-height: 120px; }
.ruling .summary { font-family: var(--serif); font-size: 19px; line-height: 1.45; margin-top: 10px; max-width: 60ch; }
.ruling .reason { margin-top: 8px; font-size: 14px; color: var(--muted); }
.stamp { position: absolute; top: 14px; right: 14px; width: 134px; height: 134px; transform: rotate(-11deg); mix-blend-mode: multiply; pointer-events: none; }
@media (prefers-color-scheme: dark) { .stamp { mix-blend-mode: screen; } }
.stamp.release { color: var(--pass); }
.stamp.changes_requested { color: var(--fail); }
.stamp.escalate { color: var(--hold); }
.stamp.running { color: var(--seal); opacity: .35; }
.stamp.fresh { animation: stamp-in 420ms cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes stamp-in { from { transform: rotate(-24deg) scale(1.7); opacity: 0; } 60% { opacity: 1; } to { transform: rotate(-11deg) scale(1); opacity: 1; } }

.checks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.check .ico { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; margin-top: 1px; }
.check.passed .ico { background: var(--pass-soft); color: var(--pass); }
.check.failed .ico { background: var(--fail-soft); color: var(--fail); }
.check.pending .ico, .check.running .ico { background: var(--sunken); color: var(--muted); }
.check.running .ico::after { content: ''; width: 12px; height: 12px; border: 2px solid var(--seal); border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.check .title { font-weight: 600; }
.check .meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 4px; font-size: 13px; color: var(--muted); }
.check .why { margin-top: 4px; font-size: 15px; }
.check details { margin-top: 6px; font-size: 13px; }
.check details pre { white-space: pre-wrap; background: var(--sunken); padding: 8px 10px; border-radius: var(--radius-s); margin: 6px 0 0; font-family: var(--mono); font-size: 12px; max-height: 180px; overflow: auto; }

.callout { border-left: 4px solid var(--hold); background: var(--hold-soft); padding: 12px 14px; border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.callout.fail { border-color: var(--fail); background: var(--fail-soft); }
.callout.pass { border-color: var(--pass); background: var(--pass-soft); }
.callout.seal { border-color: var(--seal); background: var(--seal-soft); }
.callout h3 { margin-bottom: 4px; }
.callout ul { margin: 6px 0 0; padding-left: 20px; }
.callout li + li { margin-top: 4px; }

.fixes { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.fixes li { display: grid; grid-template-columns: 34px 1fr; gap: 8px; }
.fixes b { color: var(--fail); }

.samples { display: flex; flex-wrap: wrap; gap: 8px; }
.samples button { font-size: 13px; min-height: 34px; padding: 0 12px; }

.invite { display: flex; gap: 8px; }
.invite input { font-family: var(--mono); font-size: 13px; }

/* ledger */
.ledger { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 12px; max-height: 520px; overflow: auto; }
.ledger li { font-size: 14px; display: grid; gap: 2px; }
.ledger .who { font-size: 12px; font-weight: 700; color: var(--muted); }
.ledger .who.paypal { color: var(--seal); }
.ledger .who.verdict { color: var(--pass); }
.ledger .ref { font-family: var(--mono); font-size: 11.5px; color: var(--muted); word-break: break-all; }

#paypal-buttons { max-width: 420px; margin-top: 14px; min-height: 48px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--paper); padding: 11px 16px; border-radius: var(--radius-s); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); z-index: 20; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: var(--fail); color: #fff; }

.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }

@media (max-width: 900px) {
  .layout, .compose { grid-template-columns: 1fr; }
  .side { position: static; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 18px; }
}
@media (max-width: 560px) {
  .topbar, main { padding-left: 16px; padding-right: 16px; }
  .grid2 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .deal-head { grid-template-columns: 1fr; }
  .amount { text-align: left; }
  .ruling-head { padding-right: 0; padding-top: 110px; }
  .stamp { width: 110px; height: 110px; }
  .deal-row { grid-template-columns: 1fr; gap: 6px; }
  .clause { grid-template-columns: 30px 1fr; }
  .clause .optional { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}


/* ================================================================ home */
html, body { overflow-x: clip; }
body[data-page=home] header.site { background: var(--band); }
body[data-page=home] .brand { color: var(--seal-on-band); }
body[data-page=home] .brand span { color: var(--on-band); }
body[data-page=home] .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--on-band-muted); }
body[data-page=home] main { max-width: none; padding: 0 0 0; }

.band {
  position: relative;
  background: var(--band);
  color: var(--on-band);
  padding: 36px 24px 96px;
  /* faint ledger rules */
  background-image: repeating-linear-gradient(to bottom, transparent 0 35px, rgba(255,255,255,.035) 35px 36px);
}
.hero2 { max-width: 1112px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.hero-copy h1 { font-size: clamp(40px, 5.4vw, 70px); line-height: 1.02; letter-spacing: -0.032em; font-weight: 700; max-width: 13ch; }
.hero-lede { margin-top: 26px; font-size: 19px; line-height: 1.55; color: var(--on-band-muted); max-width: 50ch; }
.hero-copy .btn-row { margin-top: 34px; gap: 12px; }
.hero-proof { margin-top: 24px; font-size: 14px; color: var(--on-band-muted); }
.btn.big { min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 8px; }
.band .btn.primary { background: #4b67ff; border-color: #4b67ff; color: #fff; }
.band .btn.primary:hover { filter: brightness(1.1); }
.btn.ghost { background: transparent; color: var(--on-band); border-color: rgba(255,255,255,.3); }
.btn.ghost:hover { border-color: var(--on-band); }

/* the contract: a paper document, the same in light and dark mode */
.contract {
  position: relative; margin: 0;
  background: #fcfcfd; color: #172033;
  border-radius: 14px; padding: 26px 26px 20px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 14px 28px -14px rgba(0,0,0,.45);
}
.hc-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding-bottom: 16px; border-bottom: 2px solid #172033; }
.hc-title { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; line-height: 1.25; }
.hc-sub { font-size: 14px; color: #5a6478; margin-top: 3px; }
.hc-amount { text-align: right; flex: none; }
.hc-fig { font-weight: 700; font-size: 28px; letter-spacing: -0.02em; line-height: 1; }
.hc-where { font-size: 13px; color: #5a6478; margin-top: 7px; transition: color .3s; }
.hc-where[data-tone=hold] { color: #8f6410; font-weight: 600; }
.hc-where[data-tone=pass] { color: #18784f; font-weight: 600; }
.hc-attempt { font-size: 13px; font-weight: 600; color: #2440c9; margin: 14px 0 2px; }
.hc-clauses { list-style: none; margin: 0; padding: 0; }
.hc-clauses li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid #e6e9f0; }
.hc-clauses li:first-child { border-top: 0; }
.hc-text { font-family: var(--serif); font-size: 17px; line-height: 1.35; transition: color .2s; }
.hc-kind { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 4px; background: #e7ebfb; color: #2440c9; white-space: nowrap; }
.hc-kind.ai { background: #fbf1dc; color: #8f6410; }
.hc-ico { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #d3d9e3; display: grid; place-items: center; font-size: 12px; font-weight: 700; transition: background .2s, border-color .2s; }
.hc-clauses li.running .hc-ico { border-color: #2440c9; border-right-color: transparent; animation: spin .7s linear infinite; }
.hc-clauses li.passed .hc-ico { background: #e3f3eb; border-color: #e3f3eb; color: #18784f; }
.hc-clauses li.passed .hc-ico::after { content: '✓'; }
.hc-clauses li.failed .hc-ico { background: #fbe9e7; border-color: #fbe9e7; color: #b42d26; }
.hc-clauses li.failed .hc-ico::after { content: '✕'; }
.hc-clauses li.failed .hc-text { color: #b42d26; }
.hc-rail { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 14px; padding-top: 16px; border-top: 1px dashed #d3d9e3; font-size: 13px; font-weight: 600; color: #5a6478; }
.hc-track { position: relative; height: 40px; }
.hc-track::before { content: ''; position: absolute; left: 0; right: 0; top: 26px; border-top: 2px dotted #c3cad7; }
.hc-mid { position: absolute; left: 50%; top: 0; transform: translateX(-50%); font-size: 11px; font-weight: 500; color: #8a93a6; white-space: nowrap; }
.hc-coin {
  position: absolute; top: 27px; left: 6%; transform: translate(-50%, -50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #fff; background: #2440c9;
  box-shadow: 0 4px 12px rgba(23, 32, 51, .25);
  transition: left .9s cubic-bezier(.65, 0, .25, 1), background .35s;
}
.hc-coin[data-pos=mid] { left: 50%; background: #c48a12; }
.hc-coin[data-pos=end] { left: 94%; background: #18784f; }
.hc-status { margin: 12px 0 0; font-size: 14.5px; line-height: 1.45; color: #3a4459; min-height: 2.9em; }
.contract .stamp { top: 76px; right: 20px; width: 124px; height: 124px; mix-blend-mode: multiply; }
.contract .stamp.release { color: #18784f; }
.contract .stamp.changes_requested { color: #b42d26; }

/* sections below the hero */
.home-deals, .home-why, .how, .guards, .under, .site-foot { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.home-deals { padding-top: 48px; }
.home-why { padding-top: 96px; }
.why-h { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.022em; max-width: 21ch; }
.why-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 34px; }
.why-cols p { font-size: 17px; line-height: 1.5; color: var(--muted); border-top: 2px solid var(--line); padding-top: 16px; }
.why-cols p:last-child { border-top-color: var(--seal); }
.why-cols b { color: var(--ink); }
.how { padding-top: 88px; }
.how h2, .guards h2, .under h2 { font-size: 28px; }
.how .flow { margin: 22px 0 0; padding: 0; }
.flow .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--seal-soft); color: var(--seal); font-size: 14px; }
.guards { padding-top: 80px; }
.ledger-list { margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.ledger-list > div { padding: 18px 0; border-top: 1px solid var(--line); }
.ledger-list dt { font-weight: 650; font-size: 17px; }
.ledger-list dd { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.under { padding-top: 80px; }
.api-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 16px; }
.api-table th, .api-table td { text-align: left; padding: 15px 0; border-top: 1px solid var(--line); vertical-align: top; }
.api-table th { font-weight: 600; color: var(--seal); width: 42%; padding-right: 24px; }
.site-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 88px; padding-top: 24px; padding-bottom: 56px; color: var(--muted); font-size: 14px; background: linear-gradient(var(--line), var(--line)) no-repeat 24px 0 / calc(100% - 48px) 1px; }

@media (max-width: 980px) {
  .hero2 { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy h1 { max-width: 15ch; }
}
@media (max-width: 720px) {
  .why-cols, .ledger-list { grid-template-columns: 1fr; }
  .why-cols { gap: 18px; }
  .api-table, .api-table tbody, .api-table tr, .api-table th, .api-table td { display: block; width: auto; }
  .api-table tr { border-top: 1px solid var(--line); padding: 12px 0; }
  .api-table th, .api-table td { border-top: 0; padding: 0; }
  .api-table td { margin-top: 3px; color: var(--muted); }
}
@media (max-width: 560px) {
  .band { padding: 20px 16px 56px; }
  .home-deals, .home-why, .how, .guards, .under, .site-foot { padding-left: 16px; padding-right: 16px; }
  .site-foot { background-position: 16px 0; background-size: calc(100% - 32px) 1px; }
  body[data-page=home] .modes { display: none; }
  .hero-lede { font-size: 17px; }
  .btn.big { flex: 1 1 auto; }
  .contract { padding: 20px 16px 16px; }
  .hc-fig { font-size: 22px; }
  .hc-text { font-size: 15.5px; }
  .hc-kind { display: none; }
  .hc-clauses li { grid-template-columns: 22px minmax(0, 1fr); }
  .contract .stamp { width: 96px; height: 96px; top: 70px; right: 8px; }
}
