/**
 * Chrome and prose for the pages that are not the landing page: the legal
 * documents and the 404.
 *
 * The landing page carries its own layout in a <style> block because it is one
 * long bespoke composition. These pages are the opposite — a header, a column
 * of text, a footer — and there are several of them, so the rules live in one
 * file rather than being copied into each <head>. Tokens all come from
 * system.css; nothing here invents a colour.
 */

.shell { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .shell { padding: 0 22px; } }

/* ------------------------------------------------------------------- nav */

.nav { position: sticky; top: 0; z-index: 30; background: var(--bg);
  border-bottom: 1px solid var(--border); }
/* padding-block, not `padding:16px 0` — the shorthand would zero out the
   horizontal padding .shell sets and pin the header to the viewport edge. */
.nav-inner { display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700;
  font-size: 19px; letter-spacing: -.02em; text-decoration: none; color: var(--ink); }
.brand-plate { width: 28px; height: 28px; border-radius: 7px; background: var(--accent);
  display: grid; place-items: center; color: var(--on-accent); font-weight: 700;
  font-size: 15px; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-signin { font-size: 15px; color: var(--muted); text-decoration: none; }
.nav-signin:hover { color: var(--ink); }

/* ------------------------------------------------------------------ prose */

.doc { max-width: 44rem; margin: 0 auto; padding: 72px 0 96px; }
@media (max-width: 820px) { .doc { padding: 48px 0 64px; } }

.doc-head { margin-bottom: 44px; padding-bottom: 28px;
  border-bottom: 1px solid var(--border); }
.doc-head h1 { font-size: clamp(32px, 4.4vw, 46px); letter-spacing: -.03em;
  margin: 0; }
.doc-meta { margin: 14px 0 0; font-size: 14.5px; color: var(--muted); }

.doc h2 { font-size: 22px; letter-spacing: -.02em; margin: 48px 0 14px; }
.doc h3 { font-size: 17px; margin: 28px 0 10px; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.7; color: var(--ink); }
.doc p { margin: 0 0 16px; }
.doc ul { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--accent); }
.doc strong { font-weight: 600; }

/* Marks a value the operator still has to supply. Deliberately loud: a
   shipped page with a bracket left in it should be impossible to miss. */
.todo { background: #fef3c7; border-bottom: 1px dashed #b45309; padding: 0 3px;
  font-family: var(--data); font-size: .92em; }

/* A short summary above each legal document. Not a substitute for the text
   below it, and says so. */
.doc-summary { background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 22px; margin-bottom: 8px; }
.doc-summary p:last-child { margin-bottom: 0; }
.doc-summary p { font-size: 15.5px; color: var(--muted); }

/* ------------------------------------------------------------------- 404 */

.miss { max-width: 34rem; margin: 0 auto; padding: 132px 0 148px; text-align: center; }
@media (max-width: 820px) { .miss { padding: 80px 0 96px; } }
.miss-code { font-family: var(--data); font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.miss h1 { font-size: clamp(30px, 4.2vw, 44px); letter-spacing: -.03em;
  margin: 14px 0 0; }
.miss p.lede { font-size: 17.5px; color: var(--muted); margin: 18px 0 32px; }
.miss-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.miss-where { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--border);
  text-align: left; }
.miss-where h2 { font-size: 15px; letter-spacing: -.01em; margin: 0 0 12px; }
.miss-where ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.miss-where a { font-size: 15.5px; color: var(--accent); text-decoration: none; }
.miss-where a:hover { text-decoration: underline; }
.miss-where span { color: var(--muted); font-size: 15.5px; }

/* ---------------------------------------------------------------- footer */

.foot { padding-block: 44px; border-top: 1px solid var(--border); display: flex;
  align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot a { font-size: 14.5px; color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot small { font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------------ button
   The landing page defines these inside its own <style>. Repeated here rather
   than lifted into system.css because system.css is shared with the dashboard,
   which has its own button vocabulary and should not inherit this one. */

.btn { display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border: 0; border-radius: 9px; background: var(--accent);
  color: var(--on-accent); font-family: var(--body); font-weight: 600;
  font-size: 15.5px; letter-spacing: -.005em; text-decoration: none;
  cursor: pointer; transition: background .15s ease; }
.btn:hover { background: var(--accent-hover); }
.btn.ghost { background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--border-strong); }
.btn.ghost:hover { background: var(--bg-alt); }
.nav-cta .btn { padding: 11px 16px; font-size: 14.5px; }

/* ------------------------------------------------------------------ contact
   Two columns on a wide screen — the pitch beside the form — collapsing to one
   below. The form is the important half, so it is the one that keeps its width
   at the breakpoint. */

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 68px; align-items: start; padding: 72px 0 96px; }
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; gap: 44px; padding: 48px 0 64px; }
}

.contact-intro h1 { font-size: clamp(32px, 4.4vw, 46px); letter-spacing: -.03em; margin: 0; }
.contact-intro .lede { font-size: 17.5px; line-height: 1.6; color: var(--muted);
  margin: 18px 0 0; }

.contact-facts { margin: 40px 0 0; display: grid; gap: 22px; }
.contact-facts dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.contact-facts dd { margin: 0; font-size: 15.5px; line-height: 1.55; }
.contact-facts a { color: var(--accent); }

.contact-form { background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px; }
@media (max-width: 560px) { .contact-form { padding: 24px 20px; } }

.contact-form label { display: block; font-size: 13px; font-weight: 600;
  margin: 20px 0 7px; letter-spacing: -.005em; }
.contact-form .grid2 > div:first-child > label,
.contact-form .grid2 > div:last-child > label { margin-top: 0; }
.contact-form .optional { font-weight: 400; color: var(--muted); font-size: 12.5px; }

.contact-form input,
.contact-form textarea { width: 100%; padding: 11px 13px; font: inherit; font-size: 15px;
  color: var(--ink); background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 9px; transition: border-color .15s ease, box-shadow .15s ease; }
.contact-form textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash); }

.contact-form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .contact-form .grid2 { grid-template-columns: 1fr; } }

.contact-form .counter { margin: 7px 0 0; font-size: 12.5px; color: var(--muted);
  text-align: right; font-family: var(--data); }
.contact-form .btn { margin-top: 22px; width: 100%; }
.contact-form button[disabled] { opacity: .55; cursor: default; }

/* Off-screen rather than display:none — see the note on the field itself. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 14px 0 0; font-size: 14.5px; color: var(--muted); min-height: 1.2em; }
.form-status.bad { color: var(--danger, #b91c1c); }

.fineprint { margin: 18px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.fineprint a { color: var(--accent); }

.sent { text-align: center; padding: 30px 0; }
.sent h2 { font-size: 25px; letter-spacing: -.02em; margin: 0 0 12px; }
.sent p { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0 0 24px; }
