:root {
  --ink: #1a1d2b; --ink-2: #434a5e; --muted: #6a7184; --line: #e2e4ec; --bg: #f6f7fb; --card: #fff;
  --midnight: #1d2447; --midnight-2: #2b3a7a; --cobalt: #2a56c6; --cobalt-soft: #e8edfb; --amber: #f0a93c; --amber-ink: #2b1d05;
  --sand: #fbf4e6; --leaf: #3b9a5d; --leaf-soft: #e5f5ea; --plum: #7a3f8f; --plum-soft: #f2e8f6;
  --accent: var(--cobalt); --accent-ink: #fff; --danger: #b23a3a; --ok: var(--leaf); --radius: 14px; --serif: Newsreader, Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; overflow-x: hidden; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; }
a { color: var(--accent); }
h1 { font-size: 1.75rem; margin: 0 0 .75rem; letter-spacing: -.01em; }
h2 { font-size: 1.2rem; margin: 1.5rem 0 .5rem; }
h3 { font-size: 1rem; margin: 0 0 .5rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
p { margin: 0 0 .75rem; }
.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 46rem; }
ul.plain { list-style: none; padding: 0; margin: 0 0 .75rem; }
ul.plain li { padding: .15rem 0; }

.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.brand__mark { width: 28px; height: 28px; display: block; }
.brand__word { font-weight: 700; letter-spacing: -.01em; color: var(--midnight); }
.brand__word--accent { color: var(--cobalt); }
.site-nav { display: flex; align-items: center; gap: 1rem; }
.site-nav a { color: var(--ink-2); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.site-nav a.button, .site-nav a.button:hover { color: var(--accent-ink); }
.site-footer { padding: 2rem 20px; color: var(--muted); font-size: .85rem; }
main.container { padding-top: 1.75rem; padding-bottom: 2rem; }

.button, input[type=submit].button { display: inline-block; padding: .55rem 1rem; border-radius: var(--radius); border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; }
.button:hover { filter: brightness(1.08); }
.button--ghost { background: transparent; color: var(--accent); }
.button--danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.button--small { padding: .35rem .7rem; font-size: .9rem; }
.link-button { background: none; border: 0; padding: 0; color: var(--ink-2); font: inherit; cursor: pointer; }
.link-button:hover { color: var(--ink); }
form.button_to { display: inline; }
.actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.form-actions { display: flex; gap: .75rem; align-items: center; margin-top: 1.25rem; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin-bottom: 1rem; }
.card h2 { margin-top: 0; }
.card.empty { text-align: center; padding: 2.5rem; }
.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }

.hero { padding: 2.5rem 0 1.5rem; }
.hero h1 { font-size: 2.4rem; max-width: 40rem; line-height: 1.15; }
.hero__actions { display: flex; gap: .75rem; margin-top: 1.25rem; }
.stats { display: flex; gap: 2.5rem; padding: 1rem 0 1.5rem; flex-wrap: wrap; }
.stat__num { display: block; font-size: 1.9rem; font-weight: 700; }
.stat__label { color: var(--muted); font-size: .9rem; }

.flash { padding: .7rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; border: 1px solid; }
.flash--notice { background: #e5f5ea; border-color: #bfe3cb; color: #246b3f; }
.flash--alert { background: #fbeaea; border-color: #efc2c2; color: var(--danger); }
.flash ul { margin: 0; padding-left: 1.2rem; }

.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .3rem; }
.field--inline { display: flex; align-items: center; gap: .5rem; }
.field--inline label { margin: 0; font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=search], select { width: 100%; max-width: 32rem; padding: .55rem .7rem; border: 1px solid #cfcbc3; border-radius: var(--radius); font: inherit; background: #fff; }
input.search { margin-bottom: .75rem; }
.auth-card { max-width: 26rem; margin: 2rem auto; }

fieldset.card { border: 1px solid var(--line); }
legend { font-weight: 700; padding: 0 .4rem; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .25rem .75rem; }
.checks--dense { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.check { display: flex; gap: .4rem; align-items: baseline; font-size: .95rem; }
.check.is-hidden { display: none; }
details { margin: .4rem 0; }
summary { cursor: pointer; font-weight: 600; padding: .25rem 0; }
details .checks { padding: .5rem 0 .75rem 1rem; }
.jur-list { max-height: 24rem; overflow: auto; }

.table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); font-size: .95rem; }
.table th, .table td { padding: .55rem .75rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: #f1efea; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.table tr:last-child td { border-bottom: 0; }
.table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.table--kv th { width: 40%; color: var(--muted); font-weight: 500; }
.card .table { border: 0; }

.badge { display: inline-block; padding: .1rem .5rem; border-radius: 999px; background: #e6eef6; color: var(--accent); font-size: .75rem; font-weight: 600; vertical-align: middle; }
.badge--muted { background: #eeece7; color: var(--muted); }

.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.filters select { width: auto; }

.letter-frame { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.letter-page { background: #e9e7e2; }
.letter-preview-bar { background: var(--ink); color: #fff; padding: .6rem 1rem; font-size: .9rem; }
.letter-preview-bar a { color: #9fd0ff; margin-left: .75rem; }

/* ---------- marketing page ---------- */
.eyebrow { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .75rem; }
.small { font-size: .9rem; }
.hero--marketing { padding: 3.5rem 0 2rem; max-width: 46rem; }
.hero--marketing h1 { font-size: 2.6rem; line-height: 1.12; letter-spacing: -.015em; margin-bottom: 1rem; }
.hero--marketing .lead { font-size: 1.2rem; }
.button--large { padding: .8rem 1.3rem; font-size: 1.05rem; }
.stats--band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.5rem 0; gap: 2rem; margin: 1rem 0 2.5rem; }
.stats--band .stat { flex: 1 1 180px; }
.section { padding: 2.25rem 0; border-bottom: 1px solid var(--line); }
.section:last-of-type { border-bottom: 0; }
.section h2 { font-size: 1.7rem; margin-top: 0; letter-spacing: -.01em; }
.section--accent { background: #fff; margin: 0 -20px; padding-left: 20px; padding-right: 20px; border-top: 1px solid var(--line); }
.grid--align { align-items: start; }
.card--quiet { background: #f1efea; border-color: transparent; }
ul.plain.checklist li { padding: .25rem 0 .25rem 1.6rem; position: relative; }
ul.plain.checklist li::before { content: "✓"; position: absolute; left: 0; top: .2rem; color: var(--ok); font-weight: 700; }
.steps .card { position: relative; padding-top: 1.4rem; }
.step__num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: .6rem; }
.steps h3 { text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 1.1rem; }
#who h3 { text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 1.05rem; }

.sample-letter { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.75rem; max-width: 46rem; box-shadow: 0 10px 30px rgba(0,0,0,.05); }
.sample-letter__head { border-bottom: 3px solid var(--ink); padding-bottom: .6rem; margin-bottom: 1rem; }
.sample-letter__title { font-size: 1.2rem; font-weight: 700; }
.sample-letter h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 1.4rem 0 .5rem; }
.sample-item { border-bottom: 1px solid var(--line); padding: .6rem 0 .8rem; }
.sample-item:last-child { border-bottom: 0; }
.sample-item__name { font-weight: 600; font-size: 1.02rem; }
.sample-item__meta { font-size: .85rem; color: var(--muted); margin-bottom: .4rem; }
.sample-item p { font-size: .95rem; margin-bottom: .4rem; }
.sample-item__action { background: #f7f6f3; border-left: 3px solid var(--accent); padding: .45rem .7rem; border-radius: 4px; }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem 1rem; margin-bottom: .5rem; }
.faq summary { font-weight: 600; }
.faq p { margin: .5rem 0 .25rem; color: var(--ink-2); }
textarea { width: 100%; max-width: 32rem; padding: .55rem .7rem; border: 1px solid #cfcbc3; border-radius: var(--radius); font: inherit; }
@media (max-width: 640px) { .hero--marketing h1 { font-size: 2.1rem; } }

/* ---------- color pass (must stay last: overrides the section defaults above) ---------- */
.hero-band { background: var(--midnight); color: #fff; margin: -1.75rem -20px 0; padding: 0 20px; }
.hero-band .hero--marketing { color: #fff; }
.hero-band .eyebrow { color: var(--amber); }
.hero-band .lead, .hero-band .muted { color: rgba(255,255,255,.82); }
.hero-band .button--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero-band .button--ghost:hover { background: rgba(255,255,255,.08); }
.button--primary, .hero-band .button:not(.button--ghost) { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.stats--band { background: var(--cobalt-soft); border: 0; margin: 0 -20px 2.5rem; padding: 1.6rem 20px; }
.stats--band .stat__num { color: var(--midnight); }
.section--sand { background: var(--sand); margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
.section--accent { background: var(--midnight); color: #fff; margin: 0 -20px; padding: 2.75rem 20px; border: 0; }
.section--accent h2 { color: #fff; }
.section--accent p, .section--accent .muted { color: rgba(255,255,255,.85); }
.section--accent a { color: var(--amber); }
.section--accent .card { color: var(--ink); }
.section--accent .card .button { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.card--quiet { background: var(--leaf-soft); border-color: transparent; }
.checklist li::before { color: var(--leaf); }
.step__num { background: var(--amber); color: var(--amber-ink); }
.steps .card { border-top: 4px solid var(--cobalt); }
.steps .card:nth-child(2) { border-top-color: var(--amber); }
.steps .card:nth-child(3) { border-top-color: var(--plum); }
#who .card:nth-child(1) { background: var(--cobalt-soft); border-color: transparent; }
#who .card:nth-child(2) { background: var(--sand); border-color: transparent; }
#who .card:nth-child(3) { background: var(--plum-soft); border-color: transparent; }
.sample-letter__head { border-bottom-color: var(--cobalt); }
.sample-letter__head .eyebrow { color: var(--cobalt); }
.sample-letter h4 { color: var(--plum); }
.sample-item__action { background: var(--sand); border-left-color: var(--amber); }
.sample-item__meta { color: var(--cobalt); }
.faq details { border-left: 4px solid var(--cobalt); }
.faq details[open] { border-left-color: var(--amber); }
.coverage-table thead th { background: var(--midnight); color: #fff; }
.site-header { border-bottom: 3px solid var(--cobalt); }
.table thead th { background: var(--cobalt-soft); color: var(--midnight); }
.badge { background: var(--cobalt-soft); color: var(--cobalt); }

/* Full-bleed bands: pull to the viewport edges, then pad back so content stays on the column grid.
   (50% here is the centered column's width, so calc(50% - 50vw) is exactly the distance to the viewport edge.) */
.hero-band, .stats--band, .section--sand, .section--accent {
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%);
}
.hero-band { margin-top: -1.75rem; }
.stats--band { margin-bottom: 2.5rem; }

/* sample letter CTA + "how we found one" timeline */
.sample-cta { margin-top: 1rem; display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.timeline { --tl-date: 7.5rem; --tl-mark: 2.25rem; list-style: none; padding: 0; margin: 1.25rem 0 1rem; position: relative; max-width: 50rem; }
.timeline::before { content: ""; position: absolute; left: calc(var(--tl-date) + .75rem + var(--tl-mark) / 2 - 1px); top: .6rem; bottom: .6rem; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: var(--tl-date) var(--tl-mark) 1fr; column-gap: .75rem; padding: .7rem 0 1rem; position: relative; }
.timeline li::before { content: ""; grid-column: 2; justify-self: center; margin-top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--amber); }
.timeline li:last-child::before { background: var(--cobalt); box-shadow: 0 0 0 2px var(--cobalt); }
.timeline__date { grid-column: 1; font-weight: 700; color: var(--midnight); font-variant-numeric: tabular-nums; white-space: nowrap; padding-top: .15rem; text-align: right; }
.timeline__body { grid-column: 3; color: var(--ink-2); padding-left: .25rem; }
.timeline__why { display: block; margin-top: .4rem; color: var(--ink); font-size: .95rem; border-left: 3px solid var(--amber); padding-left: .6rem; }
@media (max-width: 640px) { .timeline::before, .timeline li::before { display: none; } .timeline li { grid-template-columns: 1fr; row-gap: .25rem; } .timeline__date, .timeline__body { grid-column: 1; text-align: left; padding-left: 0; } }

/* ---------- editorial pass: type, shape, hero card ---------- */
h1, h2, .hero--marketing h1, .section h2, .sample-letter__title, .mini-letter__brand { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
.hero--marketing h1 { font-size: 3rem; line-height: 1.08; }
.section h2 { font-size: 1.9rem; }
.button, input[type=submit].button { border-radius: 999px; padding: .6rem 1.15rem; }
.button--large { padding: .85rem 1.5rem; }
.button--small { padding: .4rem .85rem; }
.card { border-radius: var(--radius); box-shadow: 0 1px 2px rgba(20,25,60,.04), 0 8px 24px -16px rgba(20,25,60,.25); }
.steps .card, #who .card { border-top-width: 0; }
.steps .card { border-top: 4px solid var(--cobalt); }
.steps .card:nth-child(2) { border-top-color: var(--amber); }
.steps .card:nth-child(3) { border-top-color: var(--leaf); }
.section { padding: 3rem 0; }
.hero-band { padding-top: .5rem; padding-bottom: .5rem; }
.hero--split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: center; max-width: none; padding: 3.5rem 0 3rem; }
.hero__card { position: relative; }
.mini-letter { background: #fff; color: var(--ink); border-radius: 18px; padding: 1.1rem 1.25rem 1rem; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); transform: rotate(-1.2deg); font-size: .92rem; }
.mini-letter__head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--midnight); padding-bottom: .5rem; margin-bottom: .75rem; }
.mini-letter__brand { font-size: 1.05rem; color: var(--midnight); }
.mini-letter__brand span { color: var(--cobalt); }
.mini-letter__date { color: var(--muted); font-size: .8rem; }
.mini-letter__row { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; padding: .55rem 0; border-bottom: 1px solid var(--line); line-height: 1.4; }
.mini-letter__row:last-of-type { border-bottom: 0; }
.mini-letter__foot { color: var(--muted); font-size: .78rem; margin-top: .6rem; }
.chip { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; margin-top: .15rem; }
.chip--new { background: var(--leaf-soft); color: #22703f; }
.chip--award { background: var(--cobalt-soft); color: var(--cobalt); }
.chip--watch { background: var(--sand); color: #8a5a06; }
.sample-letter { border-radius: 18px; }
.faq details { border-radius: 12px; }
.table { border-radius: 12px; overflow: hidden; }
@media (max-width: 840px) { .hero--split { grid-template-columns: 1fr; gap: 2rem; } .mini-letter { transform: none; } .hero--marketing h1 { font-size: 2.3rem; } }

/* ---------- home page: publication layout (overrides the marketing styles above) ---------- */
.paper { max-width: 44rem; margin: 0 auto; padding: 1rem 0 3rem; font-size: 1.05rem; line-height: 1.6; }
.paper h1 { font-family: var(--serif); font-weight: 600; font-size: 3rem; line-height: 1.08; letter-spacing: -.015em; margin: 2.5rem 0 1.25rem; color: var(--ink); }
.paper h2 { font-family: var(--serif); font-weight: 600; font-size: 1.75rem; margin: 0 0 .9rem; letter-spacing: -.01em; }
.paper h3 { font-family: Inter, sans-serif; font-size: 1.05rem; text-transform: none; letter-spacing: 0; color: var(--ink); margin: 1.4rem 0 .3rem; font-weight: 600; }
.paper p { margin: 0 0 1rem; }
.paper a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.masthead__lead { font-size: 1.2rem; color: var(--ink-2); max-width: 38rem; }
.masthead__actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.btn { display: inline-block; padding: .65rem 1.1rem; border: 1px solid var(--ink); background: var(--ink); color: #fff !important; text-decoration: none !important; font-weight: 600; border-radius: 4px; font-family: Inter, sans-serif; font-size: 1rem; cursor: pointer; }
.btn--plain { background: transparent; color: var(--ink) !important; }
.btn:hover { background: var(--midnight); border-color: var(--midnight); color: #fff !important; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 2.75rem 0; }
.note { color: var(--muted); font-size: .95rem; }
.sources { font-size: .98rem; color: var(--ink-2); }
.sheet { border: 1px solid var(--line); border-left: 4px solid var(--amber); background: #fff; padding: 1.5rem 1.75rem 1rem; margin: 1.25rem 0 .75rem; font-size: .97rem; }
.sheet__head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: .5rem; margin-bottom: 1rem; color: var(--muted); font-size: .9rem; }
.sheet__brand { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.sheet__brand span { color: var(--cobalt); }
.sheet h4 { font-family: Inter, sans-serif; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 1.4rem 0 .4rem; font-weight: 600; }
.entry { padding: .5rem 0 .75rem; border-bottom: 1px solid var(--line); }
.entry:last-of-type { border-bottom: 0; }
.entry h5 { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; margin: 0 0 .1rem; }
.entry__meta { color: var(--muted); font-size: .88rem; margin-bottom: .45rem; }
.entry p { margin-bottom: .5rem; }
.entry__note { color: var(--ink); font-style: italic; }
.trail { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .98rem; }
.trail th { text-align: left; vertical-align: top; white-space: nowrap; padding: .7rem 1.25rem .7rem 0; font-family: var(--serif); font-weight: 600; width: 7.5rem; color: var(--ink); border-top: 1px solid var(--line); }
.trail td { vertical-align: top; padding: .7rem 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.trail td em { font-style: normal; font-weight: 600; color: var(--ink); }
.trail td span { display: block; margin-top: .25rem; color: var(--ink); }
.howlist { padding-left: 1.25rem; margin: 0; }
.howlist li { margin-bottom: .75rem; }
.regions { border-collapse: collapse; margin: .5rem 0 1rem; font-size: .98rem; }
.regions th { text-align: left; font-weight: 600; padding: .35rem 1.5rem .35rem 0; border-top: 1px solid var(--line); }
.regions td { padding: .35rem 0; border-top: 1px solid var(--line); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.plainform { margin-top: 1rem; max-width: 40rem; }
.plainform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.plainform label { display: block; margin-bottom: .9rem; font-weight: 600; font-size: .92rem; }
.plainform label label { margin: 0 0 .25rem; }
.plainform input, .plainform textarea { width: 100%; max-width: none; border-radius: 4px; font-family: Inter, sans-serif; }
.plainform input[type=submit] { width: auto; }
@media (max-width: 640px) { .paper h1 { font-size: 2.2rem; } .plainform__row { grid-template-columns: 1fr; gap: 0; } .trail th { width: 5.5rem; padding-right: .75rem; } }

/* masthead colour */
.masthead { position: relative; padding: 2.5rem 2rem 2.25rem; margin: .5rem 0 0; background: linear-gradient(180deg, var(--cobalt-soft) 0%, #fff 100%); border-top: 4px solid var(--cobalt); border-radius: 6px; }
.masthead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--amber) 0 45%, var(--leaf) 45% 70%, var(--cobalt) 70% 100%); border-radius: 0 0 6px 6px; }
.masthead__mark { display: block; width: 64px; height: 64px; margin-bottom: 1rem; }
.paper .masthead h1 { margin-top: 0; }
.paper h1 mark { background: linear-gradient(transparent 58%, rgba(240,169,60,.55) 58%); color: inherit; padding: 0 .1em; }
.masthead__lead { color: var(--ink-2); }
.masthead__actions { margin-bottom: .25rem; }
.masthead .btn { background: var(--cobalt); border-color: var(--cobalt); }
.masthead .btn:hover { background: var(--midnight); border-color: var(--midnight); }
.masthead .btn--plain { background: transparent; color: var(--cobalt) !important; }
.masthead .btn--plain:hover { background: var(--cobalt-soft); color: var(--midnight) !important; }
@media (max-width: 640px) { .masthead { padding: 1.75rem 1.1rem 1.75rem; } }

/* more colour, publication layout */
.paper h1 { font-size: 3.3rem; font-weight: 600; }
.paper h2 { font-size: 1.95rem; position: relative; padding-top: .9rem; }
.paper h2::before { content: ""; position: absolute; top: 0; left: 0; width: 3rem; height: 5px; border-radius: 3px; background: var(--cobalt); }
#sample h2::before { background: var(--amber); }
#story h2::before { background: var(--leaf); }
#builders h2::before { background: var(--plum); }
#how h2::before { background: var(--cobalt); }
#coverage h2::before { background: var(--amber); }
#early-access h2::before { background: var(--leaf); }
#faq h2::before { background: var(--plum); }
.masthead { background: linear-gradient(160deg, var(--cobalt-soft) 0%, #fff 55%, var(--sand) 100%); border-top-width: 6px; }
.rule { border-top: 1px solid var(--line); }
.sheet { background: #fffdf8; border-left-color: var(--amber); box-shadow: 0 10px 30px -24px rgba(29,36,71,.5); }
.sheet__head { border-bottom-color: var(--cobalt); }
.sheet h4 { color: var(--cobalt); }
.entry h5 { color: var(--midnight); }
.entry__note { color: #7a4d06; background: var(--sand); border-left: 3px solid var(--amber); padding: .35rem .6rem; border-radius: 0 4px 4px 0; font-style: normal; }
.trail th { color: var(--cobalt); }
.trail td span { color: #22703f; }
.howlist li::marker { color: var(--cobalt); font-weight: 700; }
.howlist li strong { color: var(--midnight); }
.regions th { color: var(--midnight); }
.regions td { color: var(--cobalt); }
#early-access { background: var(--leaf-soft); padding: 1.75rem 2rem 1.25rem; border-radius: 8px; border-left: 5px solid var(--leaf); }
#early-access h2::before { display: none; }
#early-access h2 { padding-top: 0; }
#early-access .btn { background: var(--leaf); border-color: var(--leaf); }
#early-access .btn:hover { background: #2a7b49; border-color: #2a7b49; }
#builders strong { color: var(--plum); }
#faq h3 { color: var(--cobalt); }
.sources strong { color: var(--midnight); }

/* masthead as a full-bleed dark banner */
.masthead { background: linear-gradient(135deg, var(--midnight) 0%, var(--midnight-2) 70%, #2a4a8f 100%); color: #fff; border: 0; border-radius: 0;
  margin: -1.75rem calc(50% - 50vw) 0; padding: 3.25rem calc(50vw - 50%) 3rem; }
.masthead::after { border-radius: 0; height: 5px; }
.paper .masthead h1 { color: #fff; }
.paper .masthead h1 mark { background: linear-gradient(transparent 58%, rgba(240,169,60,.75) 58%); color: #fff; }
.masthead .masthead__lead { color: rgba(255,255,255,.86); }
.masthead .btn { background: var(--amber); border-color: var(--amber); color: var(--amber-ink) !important; }
.masthead .btn:hover { background: #f5b85c; border-color: #f5b85c; color: var(--amber-ink) !important; }
.masthead .btn--plain { background: transparent; border-color: rgba(255,255,255,.65); color: #fff !important; }
.masthead .btn--plain:hover { background: rgba(255,255,255,.1); color: #fff !important; }
.paper > .rule:first-of-type { margin-top: 2rem; }
@media (max-width: 640px) { .masthead { padding-top: 2rem; padding-bottom: 2rem; } }
