/* The prototype's look, copied as it is from ~/prototype/index.html (the workshop's update of 2026-11-30, second pass: brighter blue buttons). Don't design it again: change it there first. */
:root {
  --bg: #f5f7f9; /* look: Page */
  --card: #ffffff; /* look: Cards */
  --ink: #1d252d; /* look: Words */
  --soft: #68717a; /* look: Quiet words */
  --line: #dadee3; /* look: Lines */
  --ac: #3a75bf; /* look: Main colour */
  --on-ac: #ffffff; /* look: Words on the main colour */
  --amber: #b84e44; /* look: Highlight */
  --flag: #b84e44; /* look: Should have come to you */
  --good: #3c7c4c; /* look: Sent */
  --warn: #936822; /* look: Take care */
  --bad: #af544f; /* look: Wrong */
  --sheet: #ffffff; /* look: Paper in the block */
  --sheet-ink: #1d252d; /* look: Words on paper */
  --sheet-soft: #5f6872; /* look: Quiet words on paper */
  --sheet-line: #e3e6ea; /* look: Lines on paper */
  --head: 'Inter', system-ui, sans-serif; /* look: Title face */
  --font: 'Inter', system-ui, sans-serif; /* look: Text face */
  --num: 'Geist Mono', ui-monospace, monospace; /* look: Number face */
  --rad: 12px; /* look: Corners, 0 to 24 */
  --dim: 0.3; /* look: Mist over the valley, 0 to 1 */
  --scale: 1; /* look: Text size, 0.85 to 1.2 */
  --space: 1; /* look: Room, 0.75 to 1.3 */
}
:root[data-mood="dark"] {
  --bg: #0e1114;
  --card: #171b20;
  --ink: #f4f6f8;
  --soft: #a3abb8;
  --line: #2a3037;
  --ac: #86bafd;
  --on-ac: #0e1114;
  --amber: #e18881;
  --flag: #e18881;
  --good: #7fb489;
  --warn: #c79c61;
  --bad: #e18881;
  --sheet: #fbfaf8;
  --sheet-ink: #1d252d;
  --sheet-soft: #5f6872;
  --sheet-line: #e3e6ea;
}
html { font-size: calc(16px * var(--scale)); }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
main { width: 100%; min-height: 100vh; }
/* The address for questions (docs/adr/0021): one quiet line at the foot of every page a plan sees, below the page's
   own words, never over them (a fixed pill covered a question on screen 11). */
.ask-us {
  display: block; max-width: 70rem; margin: 0 auto; padding: 1.5rem 1.5rem 2rem;
  font-size: 0.8125rem; line-height: 1.4; color: var(--soft); text-align: center; background: var(--bg);
}
.ask-us a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
@media print { .ask-us { display: none; } }
section[data-screen] {
  position: relative; width: 100%; min-height: 100vh; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) 30rem;
  gap: calc(4.5rem * var(--space));
  padding: calc(2.5rem * var(--space)) calc(5rem * var(--space)) calc(3rem * var(--space));
  background: var(--bg);
}
section.plain { display: block; }
.valley, .wash { display: block; }
.valley { position: absolute; inset: 0; z-index: -2; background: var(--bg) url(f/247) center 58% / cover no-repeat; }
.wash {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--bg) 94%, transparent) 0%,
      color-mix(in srgb, var(--bg) 82%, transparent) 38%,
      color-mix(in srgb, var(--bg) calc(var(--dim) * 100%), transparent) 62%),
    linear-gradient(to bottom,
      color-mix(in srgb, var(--bg) 55%, transparent) 0%,
      transparent 28%, transparent 72%,
      color-mix(in srgb, var(--bg) 75%, transparent) 100%);
}
.arrive { animation: arrive 400ms cubic-bezier(.2,.8,.2,1) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .arrive { animation: fade 200ms ease-out both; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}
.thumb .arrive { animation: none; }

.say { display: flex; flex-direction: column; min-height: 100%; }
.mark { font-family: var(--head); font-weight: 400; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--ink); }
.words { margin-block: auto; padding-top: calc(2rem * var(--space)); max-width: 37.5rem; }
h1 { font-family: var(--head); font-weight: 600; font-size: 2.5rem; line-height: 1.18; letter-spacing: -0.025em; color: var(--ink); text-wrap: pretty; }
h1 .amb { color: var(--amber); font-weight: 400; }
h1 .kept { font-style: normal; font-weight: 600; }
.amb { color: var(--amber); }
.hl { background: var(--amber); color: var(--sheet-ink); padding: 0 0.25em; border-radius: 3px; font-weight: 600; }
.lines { margin-top: calc(1.75rem * var(--space)); display: grid; gap: calc(0.875rem * var(--space)); }
.lines p { font-size: 1.0625rem; line-height: 1.55; color: var(--soft); max-width: 36rem; text-wrap: pretty; }
.act { margin-top: calc(2.25rem * var(--space)); display: flex; align-items: center; gap: calc(1.5rem * var(--space)); }
.go {
  appearance: none; border: 1px solid color-mix(in srgb, var(--on-ac) 22%, transparent); cursor: pointer; height: 3rem; padding: 0 1.5rem; border-radius: calc(var(--rad) * 0.67);
  background: var(--ac); color: var(--on-ac); font-family: var(--font); font-weight: 600; font-size: 1rem; white-space: nowrap;
  transition: transform 90ms ease-out, background-color 120ms ease-out;
}
.go:hover { background: color-mix(in srgb, var(--ac) 88%, var(--bg)); }
.go:active, .ghost:active { transform: scale(0.97); }
.ghost {
  appearance: none; cursor: pointer; background: transparent; color: var(--ink); height: 3rem; padding: 0 1.375rem;
  border-radius: calc(var(--rad) * 0.67); border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent);
  font-family: var(--font); font-weight: 500; font-size: 1rem; white-space: nowrap;
  transition: transform 90ms ease-out, border-color 120ms ease-out, background-color 120ms ease-out;
}
.ghost:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.go:focus-visible, .ghost:focus-visible, .with:focus-visible, .field input:focus-visible, .opt:focus-visible, .optd:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.with {
  color: var(--soft); font-size: 1rem; text-decoration: none; white-space: nowrap; cursor: pointer;
  border-bottom: 1px solid color-mix(in srgb, var(--soft) 45%, transparent); padding-bottom: 2px;
  transition: color 120ms ease-out, border-color 120ms ease-out;
}
.with:hover { color: var(--ink); border-color: var(--ink); }
.aside { margin-top: calc(1rem * var(--space)); font-size: 0.9375rem; color: var(--soft); }
.field { margin-top: calc(2rem * var(--space)); display: grid; gap: 0.5rem; max-width: 34rem; }
.field label { font-size: 0.9375rem; color: var(--soft); }
.field .inline { display: flex; gap: 0.75rem; }
.field input {
  flex: 1; height: 3rem; padding: 0 1rem; min-width: 0; border-radius: calc(var(--rad) * 0.67); border: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 88%, transparent); color: var(--ink); font-family: var(--font); font-size: 1rem;
}
.field input::placeholder { color: var(--soft); }

/* the amber block: only the Welcome sample and the read */
.hold { align-self: center; }
.block { position: relative; align-self: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--rad); padding: calc(1.5rem * var(--space)); box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 6%, transparent), 0 12px 32px -12px color-mix(in srgb, var(--ink) 16%, transparent); }
.block .sheet { background: transparent; padding: 0; }
.block::before { content: "Paid by your plan, by kind"; display: block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--soft); padding-bottom: 0.75rem; border-bottom: 1px solid var(--ink); }
.block.has-marks { padding-top: calc(4.5rem * var(--space)); }
.caption { margin-top: 1rem; font-size: 0.9375rem; color: var(--soft); text-align: right; }
.marks { position: absolute; top: 1.25rem; right: 1.25rem; display: flex; gap: 0.5rem; }
.marks span { width: 1.125rem; height: 1.125rem; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid color-mix(in srgb, var(--sheet) 80%, transparent); }
.lifted {
  position: relative; z-index: 2; margin: 0 calc(-0.5rem * var(--space)) calc(1rem * var(--space)) calc(-3.75rem * var(--space));
  background: var(--sheet); color: var(--sheet-ink); border-radius: calc(var(--rad) - 2px); padding: 1rem 1.25rem 1.125rem;
  box-shadow: 0 2px 4px color-mix(in srgb, var(--sheet-ink) 14%, transparent), 0 18px 40px -8px color-mix(in srgb, var(--sheet-ink) 38%, transparent);
}
.tag { display: inline-block; font-size: 0.8125rem; font-weight: 500; color: var(--flag); background: color-mix(in srgb, var(--flag) 10%, var(--sheet)); padding: 0.1875rem 0.625rem; border-radius: 999px; white-space: nowrap; }
.lifted .row { padding: 0.625rem 0 0; border: 0; }
.lifted .row .amt { font-size: 1.625rem; letter-spacing: -0.01em; }
.row.flagged { margin: 0 -0.75rem; padding-left: 0.75rem; padding-right: 0.75rem; border-radius: 6px; background: color-mix(in srgb, var(--flag) 8%, var(--card)); box-shadow: inset 3px 0 0 var(--flag); align-items: center; }
.block .row { padding-top: 1rem; padding-bottom: 1rem; border-top-color: var(--line); }
.block .row.flagged { padding-left: 0.75rem; padding-right: 0.75rem; }
.block .row.flagged .kind small { margin-top: 0.25rem; }
.block .kind { color: var(--ink); }
.block .kind small, .block .amt { color: var(--ink); }
.block .total { border-top: 2px solid var(--ink); }
.row.flagged .kind { font-weight: 600; }
.row.flagged .tag { padding: 0; background: none; font-size: 0.8125rem; }
.row.flagged + .row { border-top-color: transparent; }
.row.flagged .kind small { margin-top: 0.4rem; }
.row.flagged .amt { color: var(--flag); font-weight: 600; font-size: 1.0625rem; }
.total .kind { font-weight: 600; }
.sheet { background: var(--sheet); color: var(--sheet-ink); border-radius: calc(var(--rad) - 2px); padding: 0.25rem 1.25rem; }
.row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.9375rem 0; border-top: 1px solid var(--sheet-line); }
.row:first-child { border-top: 0; }
.kind { font-size: 0.9375rem; color: var(--sheet-ink); }
.kind small { display: block; margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.45; color: var(--sheet-soft); }
.amt { font-family: var(--num); font-variant-numeric: tabular-nums; font-size: 0.9375rem; color: var(--sheet-ink); white-space: nowrap; }
.row.quiet .kind, .row.quiet .amt { color: var(--sheet-soft); }
.row.quiet .kind small { display: inline; margin: 0 0 0 0.375rem; font-size: 0.8125rem; }
.total { border-top: 1px solid var(--sheet-ink); padding: 1rem 0 1.0625rem; }
.total .amt { font-weight: 600; font-size: 1.0625rem; }

/* plain screens, on the dark page */
.plain .col { max-width: 44rem; margin: 0 auto; padding-top: calc(1.5rem * var(--space)); padding-bottom: 2rem; }
.plain .lines { margin-top: 1.25rem; }
.plain .list, .plain .field { margin-top: 1.5rem; }
.plain .act { margin-top: 1.75rem; }
.qd { padding: 1rem 0 !important; }
.price { font-size: 3.5rem !important; margin-top: 1.25rem !important; }
.plain .col.wide { max-width: 68rem; }
.plain .col.mid { text-align: center; }
.plain .col.mid .lines p { margin: 0 auto; }
.plain .col.mid .act { justify-content: center; }
.plain h1 { font-size: 2.5rem; }
.plain .li { padding: 0.75rem 0; }
.list { margin-top: calc(2rem * var(--space)); border-bottom: 1px solid var(--line); }
.li { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.li .k { font-size: 1.0625rem; color: var(--ink); display: flex; gap: 0.75rem; align-items: baseline; text-align: left; }
.li .k small { display: block; margin-top: 0.25rem; font-size: 0.9375rem; line-height: 1.45; color: var(--soft); }
.li .k .material-symbols-rounded { font-size: 1.25rem; color: var(--soft); align-self: center; }
.li.done .k .material-symbols-rounded { color: var(--good); font-variation-settings: "FILL" 1; }
.li.later .k { color: var(--soft); }
.li .v { font-size: 1rem; color: var(--soft); white-space: nowrap; }
.li .v.n { font-family: var(--num); font-variant-numeric: tabular-nums; color: var(--ink); }
.li.alert .v { color: var(--flag); font-weight: 600; }
.flagtag { font-size: 0.8125rem; font-weight: 500; color: var(--ink); border: 1px solid var(--flag); padding: 0.1875rem 0.625rem; border-radius: 999px; }
.qd { padding: 1.375rem 0; border-top: 1px solid var(--line); }
.qd:last-of-type { border-bottom: 1px solid var(--line); }
.qd .ql { font-family: var(--head); font-size: 1.5rem; font-weight: 300; color: var(--ink); }
.opts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.875rem; }
.optd {
  appearance: none; cursor: pointer; font-family: var(--font); font-size: 0.9375rem; height: 2.5rem; padding: 0 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink); display: inline-flex; align-items: center; gap: 0.375rem;
  transition: background-color 120ms ease-out, border-color 120ms ease-out, transform 90ms ease-out;
}
.optd:hover { border-color: var(--soft); }
.optd:active { transform: scale(0.97); }
.optd.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.optd .material-symbols-rounded { font-size: 1.125rem; }
.dropwide {
  margin-top: calc(2.25rem * var(--space)); min-height: 15rem; border-radius: var(--rad);
  border: 1.5px dashed color-mix(in srgb, var(--soft) 70%, transparent); background: color-mix(in srgb, var(--card) 60%, transparent);
  display: grid; place-content: center; justify-items: center; gap: 0.75rem; text-align: center; padding: 2rem;
}
.dropwide .material-symbols-rounded { font-size: 3rem; color: var(--soft); }
.dropwide .big { font-size: 1.25rem; color: var(--ink); }
.dropwide .sub { font-size: 0.9375rem; color: var(--soft); }
.filechip { margin-top: 1rem; display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem 1.125rem; border: 1px solid var(--line); border-radius: calc(var(--rad) * 0.67); color: var(--ink); }
.filechip .material-symbols-rounded { color: var(--good); font-variation-settings: "FILL" 1; }
.filechip .n { margin-left: auto; font-family: var(--num); color: var(--soft); font-size: 0.9375rem; }
.letter { padding: 1.5rem 1.625rem 1.625rem; }
.letter .to { font-size: 0.8125rem; color: var(--sheet-soft); line-height: 1.5; }
.letter .re { margin-top: 0.75rem; font-size: 1rem; font-weight: 600; color: var(--sheet-ink); }
.letter p { margin-top: 0.625rem; font-size: 0.9375rem; line-height: 1.55; color: var(--sheet-ink); }
.letter .sign { margin-top: 1rem; font-size: 0.875rem; color: var(--sheet-soft); }
.letter .attach { margin-top: 1.125rem; padding-top: 0.875rem; border-top: 1px solid var(--sheet-line); display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--sheet-soft); }
.letter .attach .material-symbols-rounded { font-size: 1.125rem; }
.pair { margin-top: calc(2.25rem * var(--space)); display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.pair .cap { font-size: 0.9375rem; color: var(--soft); margin-bottom: 0.625rem; }
.price { font-family: var(--num); font-variant-numeric: tabular-nums; font-size: 4.5rem; font-weight: 300; letter-spacing: -0.03em; color: var(--ink); margin-top: calc(2rem * var(--space)); }
.price small { display: block; font-family: var(--font); font-size: 1rem; letter-spacing: 0; color: var(--soft); margin-top: 0.25rem; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: calc(2rem * var(--space)); }
.cols2 .list { margin-top: 0; }
.cols2 h2 { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--soft); margin-bottom: 0.75rem; }
.material-symbols-rounded { font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; display: inline-block; }

