/* PlainView Access. One stylesheet, no frameworks. */

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader.ff4c3d7a.woff2") format("woff2");
  font-weight: 400 650;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/assets/fonts/atkinson.1bf54b66.woff2") format("woff2");
  font-weight: 400 750;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --mist: #edf2ef;
  --spruce: #0f3d36;
  --deep: #0a2a25;
  --ink: #14201d;
  --slate: #46554f;
  --marigold: #f4b92f;
  --line: #c5d1cb;
  --field: #5c6b66;
  --soft: #c2d2cc;
  --error: #9b1c1c;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 74rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(3.75rem, 8vw, 7rem);
  --radius: 5px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3, p, ul, ol, dl, dd, figure, table { margin: 0; }
ul, ol { padding: 0; }

h1, h2, .display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.45rem + 4.1vw, 4.4rem); line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 1.35rem + 2.1vw, 2.9rem); line-height: 1.1; }
h3 { font-size: 1.3rem; line-height: 1.3; font-weight: 700; }

p, li, dd { text-wrap: pretty; }

a { color: var(--spruce); text-decoration-thickness: 0.07em; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 0.16em; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px var(--marigold);
  border-radius: 2px;
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 42rem; }
.lede { font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem); line-height: 1.5; }
.muted { color: var(--slate); }
.small { font-size: 1rem; }
.stack > * + * { margin-top: 1.1rem; }
.stack-lg > * + * { margin-top: 2rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: 0.75rem 1.1rem;
  background: var(--marigold);
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--radius);
}
.skip:focus { top: 1rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  padding-block: 1.1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.brand svg { width: 2.25rem; height: 2.25rem; flex: none; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.35rem; list-style: none; }
.site-nav a {
  display: inline-block;
  padding-block: 0.6rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--marigold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border: 2px solid var(--spruce);
  border-radius: var(--radius);
  background: var(--spruce);
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--deep); border-color: var(--deep); }
.btn--quiet { background: transparent; color: var(--spruce); }
.btn--quiet:hover { background: var(--mist); border-color: var(--spruce); }
.btn--gold { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.btn--gold:hover { background: #ffd062; border-color: #ffd062; }
.btn--small { min-height: 2.75rem; padding: 0.5rem 1.1rem; font-size: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Bands */
.band { padding-block: var(--section); }
.band--mist { background: var(--mist); }
.band--dark { background: var(--spruce); color: #fff; }
.band--dark a { color: #fff; }
.band--dark .muted { color: var(--soft); }
.band__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.band__head > * + * { margin-top: 1.1rem; }

/* Hero */
.hero { padding-block: clamp(2.75rem, 6vw, 5.5rem) var(--section); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.hero__text > * + * { margin-top: 1.6rem; }

.dates { border-top: 2px solid var(--ink); }
.dates > div {
  display: grid;
  grid-template-columns: minmax(0, 11.5rem) minmax(0, 1fr);
  gap: 0.25rem 1.5rem;
  align-items: baseline;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.dates dt { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; line-height: 1.15; white-space: nowrap; }
.dates dd { color: var(--ink); }

/* What a screen reader announces */
.heard {
  background: var(--spruce);
  color: #fff;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: var(--radius);
}
.heard h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.05rem); }
.heard__intro { margin-top: 0.8rem; color: var(--soft); font-size: 1rem; }
.heard h3 {
  margin-top: 1.8rem;
  font-size: 1rem;
  font-weight: 700;
}
.heard ul {
  list-style: none;
  margin-top: 0.7rem;
  padding-left: 1.1rem;
  border-left: 3px dashed #6e8b83;
  font-size: 1.2rem;
  line-height: 1.45;
}
.heard li + li { margin-top: 0.3rem; }
.heard .is-bare { color: var(--soft); }
.heard .is-named { border-left: 3px solid var(--marigold); }
.heard__note {
  margin-top: 1.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid #3f665e;
  color: var(--soft);
  font-size: 1rem;
}

/* Findings */
.findings { list-style: none; border-top: 2px solid var(--ink); }
.findings li {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 0.5rem clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.findings .fig { font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; color: var(--ink); }
.findings .fig b { font-size: 2.9rem; font-weight: 500; letter-spacing: -0.02em; }
.findings .bar { display: block; width: 100%; height: 0.45rem; margin-top: 0.7rem; color: var(--spruce); background: var(--line); border-radius: 1px; }
.findings .say { font-size: 1.2rem; line-height: 1.45; max-width: 36rem; }
.method { margin-top: 1.6rem; max-width: 46rem; font-size: 1rem; color: var(--slate); }

/* Steps */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem clamp(1.5rem, 3vw, 2.75rem); }
.steps li { counter-increment: step; padding-top: 1.1rem; border-top: 4px solid var(--marigold); }
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
  color: var(--spruce);
}
.steps h3 { margin-top: 0.7rem; }
.steps p { margin-top: 0.5rem; }

/* Columns of questions or principles */
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.75rem, 3.5vw, 3.25rem); }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(1.75rem, 4vw, 4rem); }
.topped { padding-top: 1.2rem; border-top: 2px solid var(--ink); }
.topped > * + * { margin-top: 0.8rem; }
.band--dark .topped { border-top-color: var(--marigold); }

/* Split: heading left, content right */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: start; }
.split__head > * + * { margin-top: 1.1rem; }
.split--form { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.after { margin-top: 1.75rem; }

.ticks { list-style: none; }
.ticks li { position: relative; padding: 0.95rem 0 0.95rem 2rem; border-bottom: 1px solid #3f665e; }
.ticks li:first-child { border-top: 1px solid #3f665e; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.5rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--marigold);
}
.ticks--light li { border-color: var(--line); }
.ticks--light li:first-child { border-top-color: var(--line); }
.ticks--light li::before { background: var(--spruce); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.plan { padding: 1.6rem clamp(1.1rem, 2.4vw, 2rem) 1.8rem; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan:first-child { padding-left: 0; }
.plan:last-child { padding-right: 0; }
.plan h3 { font-size: 1.15rem; }
.plan .price { margin-top: 0.35rem; font-family: var(--serif); font-size: clamp(2.3rem, 1.8rem + 1.6vw, 3.1rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }
.plan .price small { font-family: var(--sans); font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--slate); }
.plan .fits { margin-top: 0.8rem; }
.plan dl { margin-top: 1.1rem; font-size: 1rem; }
.plan dl > div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.5rem; border-top: 1px solid var(--line); }
.plan dt { color: var(--slate); }
.plan dd { font-weight: 700; text-align: right; }

/* Tables */
.table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.table caption { text-align: left; padding-bottom: 0.8rem; font-weight: 700; }
.table th, .table td { padding: 0.85rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { font-weight: 400; padding-right: 1.5rem; }
.table thead th { font-weight: 700; font-size: 1rem; }
.table td { font-weight: 700; white-space: nowrap; text-align: right; }
.table thead th:last-child { text-align: right; }

/* Page head for inner pages */
.page-head { padding-block: clamp(2.75rem, 6vw, 5rem) clamp(2rem, 4vw, 3.25rem); }
.page-head > .wrap > * + * { margin-top: 1.4rem; }
.page-head h1 { max-width: 18ch; }
.prose { padding-bottom: var(--section); }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.1rem); margin-top: 2.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.75rem; }
.prose p, .prose ul, .prose ol, .prose dl, .prose pre { margin-top: 1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: 0.4rem; }
.prose .measure > :first-child { margin-top: 0; }

.facts > div { padding-block: 0.9rem; border-bottom: 1px solid var(--line); }
.facts > div:first-child { border-top: 2px solid var(--ink); }
.facts dt { font-weight: 700; }
.facts dd { margin-top: 0.15rem; }

code, pre {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.95rem;
}
code { background: var(--mist); padding: 0.1rem 0.35rem; border-radius: 3px; overflow-wrap: anywhere; }
pre { background: var(--mist); padding: 1rem 1.1rem; border-radius: var(--radius); white-space: pre-wrap; overflow-wrap: anywhere; }
pre code { background: none; padding: 0; overflow-wrap: normal; }

.sample { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.sample img { display: block; width: 100%; }
.sample figcaption { padding: 0.9rem 1.1rem; border-top: 1px solid var(--line); font-size: 1rem; }

/* Call to action */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.75rem 3rem; align-items: center; }
.cta > div > * + * { margin-top: 0.9rem; }

/* Forms */
.form { max-width: 36rem; }
.form > * + * { margin-top: 1.6rem; }
.field label, .field legend { display: block; font-weight: 700; padding: 0; }
.field .hint { margin-top: 0.2rem; color: var(--slate); font-size: 1rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  display: block;
  width: 100%;
  min-height: 3rem;
  margin-top: 0.45rem;
  padding: 0.6rem 0.75rem;
  border: 2px solid var(--field);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field fieldset, fieldset.field { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
.choice { display: flex; align-items: flex-start; gap: 0.7rem; margin-top: 0.6rem; }
.choice input { flex: none; width: 1.5rem; height: 1.5rem; margin: 0.15rem 0 0; accent-color: var(--spruce); }
.choice label { font-weight: 400; }
.field .error { margin-top: 0.35rem; color: var(--error); font-weight: 700; }
.field.has-error input, .field.has-error textarea { border-color: var(--error); border-width: 3px; }
.error-summary { padding: 1.1rem 1.3rem; border: 3px solid var(--error); border-radius: var(--radius); }
.error-summary h2 { font-family: var(--sans); font-size: 1.2rem; font-weight: 700; letter-spacing: 0; }
.error-summary ul { margin-top: 0.6rem; padding-left: 1.2rem; }
.error-summary a { color: var(--error); font-weight: 700; }
.notice { padding: 1rem 1.2rem; background: var(--mist); border-left: 4px solid var(--spruce); border-radius: 0 var(--radius) var(--radius) 0; }

address { font-style: normal; }
address a, .site-footer li a { display: inline-block; padding-block: 0.15rem; }

/* Footer */
.site-footer { background: var(--deep); color: #fff; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 2.5rem clamp(2rem, 5vw, 4rem); }
.site-footer .brand { color: #fff; margin-right: 0; }
.site-footer h2 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; }
.site-footer ul { list-style: none; }
.site-footer li, .site-footer address > * { margin-top: 0.55rem; }
.site-footer address > span { display: block; }
.site-footer__tag { margin-top: 1rem; max-width: 24rem; color: var(--soft); }
.site-footer__base { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid #2c4f48; color: var(--soft); }

/* Timeline: a real sequence with a time for each step */
.timeline { list-style: none; border-top: 2px solid var(--ink); }
.timeline li {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: 0.35rem clamp(1.5rem, 4vw, 4rem);
  padding-block: 1.3rem;
  border-bottom: 1px solid var(--line);
}
.timeline .when { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.2; }
.timeline h3 { font-size: 1.15rem; }
.timeline p { margin-top: 0.3rem; max-width: 40rem; }
.band--dark .timeline { border-top-color: var(--marigold); }
.band--dark .timeline li { border-bottom-color: #3f665e; }

/* Comparison tables: first column names the row, the rest are values */
.compare { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 1rem; }
.compare caption { text-align: left; padding-bottom: 0.8rem; font-weight: 700; font-size: 1.0625rem; }
.compare th, .compare td { padding: 0.8rem 1rem 0.8rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare th:last-child, .compare td:last-child { padding-right: 0; }
.compare thead th { font-weight: 700; }
.compare tbody th { font-weight: 400; color: var(--slate); width: 30%; }
.compare td { font-weight: 700; }
.compare--text td { font-weight: 400; }
.compare--text tbody th { font-weight: 700; color: var(--ink); width: 26%; }
.split .compare--text tbody th { width: 42%; }

.detail-list { list-style: none; margin-top: 0.9rem; font-size: 1rem; }
.detail-list li { padding: 0.45rem 0 0.45rem 1.3rem; position: relative; border-top: 1px solid var(--line); }
.detail-list li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 0.5rem; height: 0.5rem; background: var(--spruce); }

.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem clamp(1.5rem, 3vw, 2.75rem); }
.prose-block { max-width: 44rem; }
.prose-block > * + * { margin-top: 1.1rem; }
.portrait { display: block; width: 100%; max-width: 24rem; margin-top: 1.6rem; border-radius: var(--radius); }
.bio h3 { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; letter-spacing: -0.012em; line-height: 1.15; }
.bio .role { color: var(--slate); margin-top: 0.2rem; }
.sources { font-size: 1rem; padding-left: 1.2rem; }
.plain-steps { padding-left: 1.3rem; }
.plain-steps li + li { margin-top: 0.5rem; }
.sources li + li { margin-top: 0.4rem; }
.site-nav a { font-size: 1.0625rem; }

/* Narrow screens */
@media (max-width: 72rem) {
  .site-header .btn { display: none; }
}
@media (max-width: 62rem) {
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid, .split, .split--form { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-3 { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 46rem) {
  body { font-size: 1.0625rem; }
  .site-header .btn { display: none; }
  .brand { font-size: 1.3rem; }
  .site-nav { width: 100%; }
  .site-nav ul { gap: 0 1.35rem; }
  .cols-2, .cols-4, .steps { grid-template-columns: minmax(0, 1fr); }
  .timeline li { grid-template-columns: minmax(0, 1fr); }
  .compare th, .compare td { padding-right: 0.6rem; overflow-wrap: anywhere; }
  .compare tbody th { width: 34%; }
  .findings li { grid-template-columns: minmax(0, 1fr); padding-block: 1.25rem; }
  .findings .bar { max-width: 15rem; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan, .plan:first-child, .plan:last-child { padding-inline: 0; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .dates > div { grid-template-columns: minmax(0, 1fr); }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .table td { padding-left: 1rem; }
}

@media (forced-colors: active) {
  .btn, .heard, .notice, .error-summary { border: 2px solid CanvasText; }
  .ticks li::before { background: CanvasText; }
  .findings .bar { border: 1px solid CanvasText; color: CanvasText; }
  .site-nav a { border-bottom-color: Canvas; }
  .site-nav a[aria-current="page"] { border-bottom-color: Highlight; }
  .steps li { border-top-color: CanvasText; }
  .detail-list li::before { background: CanvasText; }
}

@media print {
  .site-header .btn, .skip, .actions { display: none; }
  .band--dark, .heard, .site-footer { background: #fff; color: #000; }
  .band--dark a, .site-footer a, .site-footer .brand { color: #000; }
  .band--dark .muted, .heard__intro, .heard__note, .heard .is-bare, .site-footer__tag, .site-footer__base { color: #000; }
}