/*
 * Witty Claims (from the PR #92 design). Concept: a till receipt on an electric-blue counter. Claims are dockets,
 * amounts are petty notes, the accent is a highlighter. Mobile first; one look in light and dark
 * on purpose (the brand is the blue), so every colour is set explicitly.
 */
:root {
  --blue: #3b2bff;
  --blue-deep: #2216b8;
  --paper: #ffffff;
  --paper-2: #f3f2fb;
  --ink: #121014;
  --muted: #5d5a6b;
  --hi: #f2ff4d;
  --red: #e2402a;
  --n10: #2f74d0;
  --n20: #e0553a;
  --n50: #d9a514;
  --n100: #23955f;
  --display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--blue);
  color: var(--paper);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.5;
  color-scheme: light;
}
:focus-visible {
  outline: 3px solid var(--hi);
  outline-offset: 3px;
}
main > section,
.bar,
.footer {
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
}

/* Bar */
.bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-block: 12px;
  background: var(--blue);
  border-bottom: 2px solid var(--blue-deep);
}
.word {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.01em;
  word-spacing: 0.08em;
  color: var(--paper);
  text-decoration: none;
}
.word span {
  color: var(--hi);
}
.nav {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
}
.nav a {
  color: var(--paper);
  text-decoration: none;
}
.nav a:not(.navCta) {
  display: none;
}
@media (min-width: 720px) {
  .nav a:not(.navCta) {
    display: inline;
  }
}
.navCta {
  background: var(--hi);
  color: var(--ink) !important;
  padding: 8px 14px;
  border-radius: 999px;
}

/* Hero */
.hero {
  display: grid;
  gap: 36px;
  padding-block: 40px 64px;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  align-items: center;
}
@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.2fr 1fr;
    padding-block: 72px 96px;
  }
}
.heroText {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.kicker {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--hi);
  margin: 0;
}
.h1,
.h2,
.h3 {
  color: inherit;
}
.h1 {
  margin: 0;
  font-size: clamp(64px, 17vw, 148px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.03em;
  font-stretch: 100%;
}
@media (min-width: 900px) {
  .h1 {
    font-size: min(8.2vw, 124px);
  }
}
.lede {
  margin: 0;
  font-size: clamp(19px, 2.6vw, 24px);
  max-width: 30ch;
  line-height: 1.35;
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btnHi,
.btnLo {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 17px;
}
.btnHi {
  background: var(--hi);
  color: var(--ink);
}
.btnLo {
  border: 2px solid var(--paper);
  color: var(--paper);
}

/* Receipts */
.receipt {
  position: relative;
  margin: 0 auto 12px;
  width: 100%;
  max-width: 360px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  padding: 22px 20px 26px;
  transform: rotate(-2deg);
  box-shadow: 0 18px 0 -6px rgba(0, 0, 0, 0.18);
}
.receipt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 10px;
  background: conic-gradient(from -45deg at bottom, var(--paper) 90deg, transparent 0) 0 0 / 14px 100%;
}
.rHead {
  display: grid;
  gap: 2px;
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 2px dashed var(--ink);
  color: var(--muted);
}
.rTitle {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.rLines {
  margin: 0;
  display: grid;
}
.rLine {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dotted #b9b6c6;
}
.rLine dt {
  min-width: 0;
}
.rLine dd {
  margin: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.was {
  color: var(--muted);
}
.zero {
  color: var(--muted);
}
.rTotal,
.rAccept {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  padding-top: 10px;
  font-variant-numeric: tabular-nums;
}
.rTotal {
  border-top: 2px dashed var(--ink);
  margin-top: 6px;
  font-size: 16px;
}
.rAccept mark {
  background: var(--hi);
  color: var(--ink);
  padding: 0 6px;
  font-size: 20px;
  font-weight: 700;
}
.stamp {
  position: absolute;
  right: -14px;
  top: -16px;
  transform: rotate(12deg);
  background: var(--paper);
  border: 3px solid var(--red);
  color: var(--red);
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  padding: 3px 8px;
  border-radius: 6px;
  opacity: 0.9;
}

/* Bands */
.band,
.how,
.rules,
.start,
.routes {
  padding-block: 56px;
}
.band > *,
.how > *,
.rules > *,
.start > *,
.routes > * {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.band {
  background: var(--paper);
  color: var(--ink);
  display: grid;
  gap: 24px;
}
.h2 {
  margin-block: 0;
  font-size: clamp(34px, 7.5vw, 56px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.025em;
  font-stretch: 100%;
}
.h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tiers {
  display: grid;
  gap: 14px;
}
@media (min-width: 900px) {
  .tiers {
    grid-template-columns: repeat(3, 1fr);
  }
}
.tier {
  border-radius: 22px;
  padding: 22px;
  display: grid;
  gap: 12px;
  align-content: start;
  border: 2px solid var(--ink);
}
.tier p {
  margin: 0;
}
.tier_petty {
  background: var(--hi);
}
.tier_witty {
  background: var(--paper-2);
}
.tier_clever {
  background: var(--ink);
  color: var(--paper);
}
.tierRange {
  font-family: var(--mono);
  font-size: 14px;
}
.tierLink {
  color: var(--hi);
  font-weight: 700;
}
/* Notes */
.noteRow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.note {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 2px 8px;
  width: 140px;
  aspect-ratio: 2 / 1;
  max-width: 100%;
  border-radius: 8px;
  padding: 8px 10px;
  color: #fff;
  overflow: hidden;
  background-image: repeating-radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 7px);
}
.note10 {
  background-color: var(--n10);
}
.note20 {
  background-color: var(--n20);
}
.note50 {
  background-color: var(--n50);
  color: #2b2100;
}
.noteValue {
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1;
}
/* How + rules (on blue) */
.how,
.rules {
  display: grid;
  gap: 24px;
}
.steps {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 14px;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.steps li {
  counter-increment: step;
  border-top: 2px solid var(--paper);
  padding-top: 14px;
  font-size: 16px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--mono);
  color: var(--hi);
  font-size: 14px;
  margin-bottom: 6px;
}
.steps b {
  display: block;
  font-size: 20px;
}
.rules {
  background: var(--blue-deep);
}
.rulesLede {
  margin: 0 auto;
  font-family: var(--mono);
  color: var(--hi);
}
.ruleList {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
@media (min-width: 900px) {
  .ruleList {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ruleList li {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 18px;
}
.ruleList b {
  display: block;
  font-size: 20px;
}

.results {
  display: grid;
  gap: 40px;
  padding-block: 8px 12px;
}
@media (min-width: 900px) {
  .results {
    grid-template-columns: repeat(3, 1fr);
  }
}
.results .receipt {
  transform: rotate(1.5deg);
  box-shadow: 0 0 0 2px var(--ink), 0 14px 0 -4px rgba(0, 0, 0, 0.12);
}

/* Start */
.start {
  background: var(--hi);
  color: var(--ink);
  display: grid;
  gap: 16px;
}
.startLede {
  margin: 0 auto;
  font-size: 19px;
}
.form {
  display: grid;
  gap: 22px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 24px;
  padding: 22px 18px;
  max-width: 760px !important;
}
.field {
  display: grid;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.label {
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}
.num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--hi);
  font-family: var(--mono);
  font-size: 14px;
  flex: none;
}
.opt {
  font-weight: 400;
  color: var(--muted);
}
.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.choice {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 14px;
  border: 2px solid #d9d6e6;
  border-radius: 16px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  min-height: 64px;
}
.choice small {
  font-weight: 400;
  font-size: 13.5px;
  color: var(--muted);
}
.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice:has(input:checked),
.choice:has(input:focus-visible) {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink), 4px 4px 0 var(--blue);
}
.amountRow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 800;
}
.amountRow .input {
  max-width: 200px;
  font-size: 24px;
  font-weight: 800;
}
.tierBadge {
  margin: 0;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
}
.tierBadge b {
  display: block;
  font-size: 18px;
}
.tierBadge_petty {
  background: var(--hi);
}
.tierBadge_witty {
  background: var(--paper-2);
  border: 2px solid var(--ink);
}
.tierBadge_clever {
  background: var(--ink);
  color: var(--paper);
}
.input {
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: #fff;
  border: 2px solid #d9d6e6;
  border-radius: 14px;
  padding: 12px 14px;
  min-height: 52px;
}
textarea.input {
  resize: vertical;
  font-family: var(--mono);
  font-size: 15px;
}
.input:focus {
  outline: none;
  border-color: var(--ink);
}
.twoCol {
  display: grid;
  gap: 22px;
}
@media (min-width: 640px) {
  .twoCol {
    grid-template-columns: 1fr 1fr;
  }
}
/* Routes */
.routes {
  background: var(--paper);
  color: var(--ink);
  display: grid;
  gap: 18px;
}
.routesLede {
  margin: 0 auto;
  font-size: 18px;
}
.routeList {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  counter-reset: route;
}
@media (min-width: 900px) {
  .routeList {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 28px;
  }
}
.route {
  counter-increment: route;
  border-top: 2px solid var(--ink);
  padding: 14px 0 18px;
  display: grid;
  gap: 4px;
}
.route a {
  color: var(--blue);
  font-weight: 800;
  font-size: 21px;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.route a::after {
  content: " ↗";
}
.route p {
  margin: 0;
  font-size: 15.5px;
}
.routeWhen {
  font-family: var(--mono);
  font-size: 13.5px !important;
  color: var(--muted);
}

.btnInk,
.btnOutline {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.btnInk {
  background: var(--ink);
  color: var(--hi);
}
.btnOutline {
  border: 2px solid var(--ink);
  color: var(--ink);
}

/* Footer */
.footer {
  padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px));
  font-family: var(--mono);
  font-size: 12.5px;
  color: #d9d6ff;
  display: grid;
  gap: 8px;
  max-width: 1160px;
  margin: 0 auto;
}
.footer p {
  margin: 0;
}

/* Witty Claims additions: the page shell, the bill, the drafts and the Clever Legal hand-off. */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  overflow-x: clip;
}
.skip,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  clip: auto;
  z-index: 10;
  background: var(--hi);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
}
.word {
  letter-spacing: 0.01em;
}
.h1 {
  font-size: clamp(52px, 13vw, 108px);
  max-width: 9ch;
}
@media (min-width: 900px) {
  .h1 {
    font-size: min(6.8vw, 100px);
  }
}
.private {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  color: #d9d6ff;
}
.note {
  width: 76px;
  aspect-ratio: 2 / 1;
  padding: 5px 8px;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}
.noteValue {
  font-size: 18px;
}
.sub {
  font-weight: 600;
  font-size: 15.5px;
  margin-top: 4px;
}
.hint {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}
.amountRow {
  font-size: 20px;
}
.amountRow .input {
  font-size: 20px;
}
select.input {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23121014' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
  padding-right: 40px;
}

/* The bill */
.items {
  display: grid;
  gap: 12px;
}
.item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border: 2px solid #d9d6e6;
  border-radius: 16px;
  background: var(--paper-2);
}
.itemLabel {
  grid-column: 1 / 2;
}
.remove {
  grid-column: 2;
  grid-row: 1;
  width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.itemAmount {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 18px;
}
.itemAmount .input {
  max-width: 150px;
  font-variant-numeric: tabular-nums;
}
.waive {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
}
.waive input {
  width: 22px;
  height: 22px;
  accent-color: var(--blue);
}
.itemWhy {
  grid-column: 1 / -1;
  display: none;
}
.isWaived .itemWhy {
  display: block;
}
.isWaived .itemAmount .input {
  text-decoration: line-through;
  color: var(--muted);
}
@media (min-width: 640px) {
  .item {
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
  }
  .remove {
    grid-column: 4;
  }
}
.addLine {
  justify-self: start;
  min-height: 44px;
  padding: 0 16px;
  border: 2px dashed var(--ink);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.tierBadge:not([class*="tierBadge_"]) {
  border: 2px dashed #b9b6c6;
  color: var(--muted);
}
.more summary,
.later summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.moreBody {
  display: grid;
  gap: 8px;
  padding-top: 8px;
}

/* The drafts */
.out {
  display: grid;
  gap: 18px;
  max-width: 760px !important;
}
.out[hidden],
.clever[hidden] {
  display: none;
}
.draft {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 24px;
  padding: 20px 18px;
  display: grid;
  gap: 14px;
  box-shadow: 6px 6px 0 var(--blue);
}
.draftHead {
  display: grid;
  gap: 12px;
}
.draftActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.draftActions button {
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.draftText {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.55;
  background: var(--paper-2);
  border-radius: 14px;
  padding: 16px;
}
.later {
  box-shadow: none;
}
.later summary .h3 {
  font-size: 22px;
}
.clever {
  background: var(--ink);
  color: var(--paper);
  border-radius: 24px;
  padding: 22px 18px;
  display: grid;
  gap: 12px;
}
.clever p {
  margin: 0;
}
.fine {
  font-family: var(--mono);
  font-size: 13px;
  color: #c9c6d6;
}
.results .receipt {
  max-width: 340px;
}
@media (min-width: 900px) {
  .results {
    grid-template-columns: repeat(2, minmax(0, 360px));
    justify-content: center;
    gap: 64px;
  }
}
.footer b {
  color: var(--paper);
}
.quote {
  font-family: var(--mono);
  font-size: 15px;
}

/* The witty lines (step 6): a line each, the engine's pick until the person types. */
.lineRow {
  display: grid;
  gap: 6px;
}
.lineField {
  display: grid;
  gap: 8px;
}
@media (min-width: 640px) {
  .lineField {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}
textarea.line {
  font-family: var(--mono);
  font-size: 15px;
  min-height: 52px;
  resize: none;
  overflow: hidden;
  field-sizing: content;
}
.another {
  min-height: 52px;
  padding: 0 16px;
  border: 2px dashed var(--ink);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  justify-self: start;
}
.another:hover {
  background: var(--hi);
}

/* The drafts are textareas: every word editable, the share buttons carry the edit. */
textarea.draftText {
  display: block;
  width: 100%;
  border: 2px solid transparent;
  resize: vertical;
  overflow: hidden;
  color: var(--ink);
  min-height: 200px;
  field-sizing: content;
}
textarea.draftText:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.draftHint {
  font-family: var(--mono);
  font-size: 13px;
}
.rewrite {
  justify-self: start;
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-2);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.rewrite[hidden] {
  display: none;
}

/* The Clever Legal mark: the firm's own colours (purple tick, black fulcrum) on a white card,
   so it reads as their logo wherever it sits, including on ink and blue. */
.clBadge {
  font-family: var(--display);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px 8px 10px;
  border-radius: 12px;
  background: #fff;
  color: #1e1a2e;
  text-decoration: none;
  justify-self: start;
  border: 1px solid #d9d6e6;
}
.clMark {
  width: 30px;
  height: 30px;
  flex: none;
}
.clBadge b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #1e1a2e;
}
.clBadge small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6d28d9;
  font-weight: 700;
  margin-top: 2px;
}
.clBadge:hover {
  border-color: #6d28d9;
}
.clBadge_sm {
  padding: 5px 10px 5px 7px;
}
.clBadge_sm .clMark {
  width: 22px;
  height: 22px;
}
.clBadge_sm b {
  font-size: 13px;
}
.clBadge_sm small {
  font-size: 7.5px;
}

/* Questions */
.faq {
  background: var(--paper-2);
  color: var(--ink);
  display: grid;
  gap: 18px;
  padding-block: 56px;
}
.faq > * {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.faqList {
  display: grid;
  gap: 0;
}
.q {
  border-top: 2px solid var(--ink);
  padding: 4px 0;
  max-width: 820px;
}
.q summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  min-height: 52px;
  display: flex;
  align-items: center;
  list-style: none;
}
.q summary::-webkit-details-marker {
  display: none;
}
.q summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--mono);
  color: var(--blue);
  font-size: 24px;
}
.q[open] summary::after {
  content: "\2013";
}
.q p {
  margin: 0 0 16px;
  font-size: 16.5px;
  max-width: 68ch;
}
.faqMore {
  margin: 0;
  font-weight: 700;
}
.faqMore a {
  color: var(--blue);
}

/* Footer links and the "built by" row */
.footLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.footer a {
  color: var(--paper);
}
.footBrands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 8px;
}
.footBy {
  color: #d9d6ff;
}
.footBrands > a:not(.clBadge) {
  font-weight: 700;
}

/* About */
.hero_about .h1 {
  max-width: 7ch;
}
.about .prose {
  display: grid;
  gap: 16px;
  font-size: 18px;
  line-height: 1.55;
}
.about .prose p {
  margin: 0;
  max-width: 760px;
}
.about .prose a {
  color: inherit;
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.band.about .prose a {
  color: var(--blue);
}
.about .answer {
  font-size: 20px;
  border-left: 6px solid var(--hi);
  padding-left: 16px;
}
.band.about .answer {
  border-left-color: var(--blue);
}
.about .legalLine {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--muted);
}
.whoGrid {
  display: grid;
  gap: 14px;
}
@media (min-width: 900px) {
  .whoGrid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.who {
  border-radius: 22px;
  padding: 22px;
  display: grid;
  gap: 10px;
  align-content: start;
  border: 2px solid var(--paper);
  background: rgba(255, 255, 255, 0.06);
}
.who p {
  margin: 0;
}
.who .kicker {
  color: var(--hi);
}
.who_clever {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink);
}
.who_clever .kicker {
  color: #6d28d9;
}
.who_witty {
  background: var(--hi);
  color: var(--ink);
  border-color: var(--ink);
}
.who_witty .kicker {
  color: var(--ink);
}
.whoLink {
  color: inherit;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.rules.about .ruleList a {
  color: var(--hi);
}

/* The formal complaint: route buttons on the free routes, and the third draft. */
button.routeAdjust,
a.routeAdjust {
  justify-self: start;
  margin-top: 6px;
  min-height: 40px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--hi);
  color: var(--ink);
  font: inherit;
  font-size: 14.5px !important;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
a.routeAdjust::after {
  content: none;
}
.routeName {
  color: var(--blue);
  font-weight: 800;
  font-size: 21px;
}
.formalSetup {
  display: grid;
  gap: 8px;
}
.btnOutline[hidden] {
  display: none;
}
.formal .hint {
  font-size: 14px;
}
.route:target {
  background: var(--paper-2);
}

/* Mobile bar: About and Receipts fit beside the CTA at phone width. */
.nav a.navSmall {
  display: inline;
  font-size: 13.5px;
}
@media (max-width: 380px) {
  .nav a.navSmall {
    display: none;
  }
}
/* The bar stops sticking inside the builder, so it never covers the draft. */
.bar.isStatic {
  position: static;
}

/* The Clever Legal letter, in the hand-off panel and on the About page. */
.letter {
  margin: 4px 0 0;
  display: grid;
  gap: 8px;
  justify-items: start;
}
.letter img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transform: rotate(-1.5deg);
  background: #fff;
}
.letter figcaption {
  font-family: var(--mono);
  font-size: 13px;
  color: #c9c6d6;
}
.who_clever .letter img {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.who_clever .letter figcaption {
  color: var(--muted);
}

/* Keep-my-draft: opt in, on this device only. */
.keep {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 2px dashed #b9b6c6;
  border-radius: 14px;
  font-size: 15px;
}
.keep .waive {
  font-size: 15.5px;
}
.keep .hint {
  font-size: 13.5px;
}
.forget {
  justify-self: start;
  min-height: 40px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.forget[hidden] {
  display: none;
}

/* Print: only the chosen draft, as a plain sheet. */
#printSheet {
  display: none;
}
@media print {
  body > *:not(#printSheet) {
    display: none !important;
  }
  :root {
    background: #fff;
    color: #000;
  }
  #printSheet {
    display: block;
    margin: 0;
  }
  #printSheet pre {
    white-space: pre-wrap;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12pt;
    line-height: 1.5;
    margin: 0;
    break-after: page;
  }
  #printSheet pre:last-child {
    break-after: auto;
  }
}

/* Cam's profile */
.profile {
  display: grid;
  gap: 16px;
  grid-template-columns: 96px 1fr;
  align-items: start;
  max-width: 760px;
}
.profile img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--hi);
}
.profile p {
  margin: 0 0 8px;
  max-width: 640px;
}
.profile .pName {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.profile .pRole {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--hi);
}
.profile .pLinks a {
  color: inherit;
  font-weight: 700;
  margin-right: 14px;
}
.toCome {
  background: var(--hi);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 13px;
}

/* Receipts page */
.receiptsPage {
  display: grid;
  gap: 48px;
}
.story {
  display: grid;
  gap: 28px;
  align-items: start;
}
@media (min-width: 900px) {
  .story {
    grid-template-columns: 380px 1fr;
  }
}
.story .receipt {
  margin: 12px auto 0;
}
.storyText {
  display: grid;
  gap: 12px;
  font-size: 18px;
  line-height: 1.55;
}
.storyText p {
  margin: 0;
  max-width: 62ch;
}
.storyText h3 {
  margin: 0;
}
.storyFacts {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}
