/* HACCP Plan wizard. Mobile first.

   White and technical. The blue is the shield's own #1565C0, so the mark and the
   interface are one system. Sora for display, Inter for text: the weight range
   is what carries hierarchy, since there is no photography to carry it.

   The finished PDF keeps its serif in print.css. A document should read as a
   document and a product as a product. */

:root {
  --ink: #0B1220;
  --band: #0B1220;          /* full-bleed dark sections */
  --brand: #1565C0;         /* the shield blue */
  --brand-dark: #0F4C9A;
  --accent: #1565C0;
  --green: #0E9F6E;

  --rule: #E2E8F0;
  --rule-soft: #EDF1F6;
  --muted: #55637B;
  --tint: #F4F7FB;
  --paper: #FFFFFF;
  --ground: #FFFFFF;
  --focus: #1565C0;
  --danger: #B42318;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --display: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
h1, h2, h3 { font-family: var(--display); font-weight: 700;
  letter-spacing: -.02em; line-height: 1.2; }
h1 { font-weight: 800; }
/* A display rule on a class beats the hidden attribute, which silently leaves
   full-screen overlays intercepting clicks. Make hidden win everywhere. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--sans); font-size: 16.5px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Chrome ---------- */

.skip { position: absolute; left: -9999px; top: 0; background: var(--paper);
  color: var(--ink); font-family: var(--sans); font-weight: 700; padding: .8rem 1.1rem;
  z-index: 20; border-radius: 0 0 6px 0; }
.skip:focus { left: 0; }

/* Sticky, because the page runs to seven screens on a phone and the only way to
   start used to be at the top and the very bottom. No JavaScript: the bar is
   simply always there. */
.masthead {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: .7rem; flex-wrap: nowrap;
  padding: .7rem 1.1rem; background: var(--ink); color: #fff;
}
.brand { display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--display); font-weight: 700; font-size: 1.06rem;
  color: #fff; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: block; width: 28px; height: 28px; }
.brand-note { font-family: var(--sans); font-size: .72rem; color: #93A0B8;
  text-transform: uppercase; letter-spacing: .09em; }

.site-foot { padding: 2rem 1.1rem 3rem; color: var(--muted); font-size: .82rem; }
.site-foot p { max-width: 46rem; margin: 0 auto; }

.wrap { max-width: 46rem; margin: 0 auto; padding: 1.4rem 1.1rem 2rem; }

/* ---------- Progress ---------- */

.progress { background: var(--paper); border-bottom: 1px solid var(--rule); }
.progress-inner { max-width: 46rem; margin-inline: auto; padding: .7rem 1.1rem .55rem; }
.progress-now { margin: 0; display: flex; align-items: baseline; gap: .55rem;
  font-family: var(--sans); }
.progress-count { font-size: .78rem; font-weight: 700; color: var(--accent);
  white-space: nowrap; }
.progress-title { font-size: .82rem; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.steps { display: none; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; align-items: center; gap: .38rem; flex: 0 0 auto;
  font-family: var(--sans); font-size: .76rem; color: var(--muted); padding-right: .55rem; }
.steps .dot { width: 1.35rem; height: 1.35rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--tint);
  border: 1px solid var(--rule); font-size: .72rem; font-weight: 700; }
.steps li.now { color: var(--ink); font-weight: 700; }
.steps li.now .dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps li.done .dot { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (min-width: 46rem) {
  .progress-now { display: none; }
  .steps { display: flex; }
}
.bar { height: 3px; background: var(--tint); }
.bar i { display: block; height: 100%; background: var(--accent);
  transition: width .3s ease; }

/* ---------- Headings ---------- */

.screen-head { margin-bottom: 1.6rem; }
.tag { font-family: var(--sans); font-size: .7rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--accent); font-weight: 700; margin: 0 0 .45rem; }
h1 { font-family: var(--sans); font-size: 1.68rem; line-height: 1.15;
  letter-spacing: -.02em; margin: 0 0 .5rem; }
h2 { font-family: var(--sans); font-size: 1.1rem; margin: 0 0 .5rem; }
.blurb, .lead { color: var(--muted); margin: 0; }
.lead { font-size: 1.08rem; max-width: 34rem; }

/* ---------- Fields ---------- */

.field { margin: 0 0 1.5rem; border: 0; padding: 0; min-width: 0; }
.field > label, legend { display: block; font-family: var(--sans); font-weight: 700;
  font-size: .95rem; margin-bottom: .45rem; padding: 0; }
.opt { font-weight: 400; color: var(--muted); font-size: .82rem; }
.hint { font-size: .86rem; color: var(--muted); margin: .45rem 0 0; }
.hint.centred { text-align: center; }

input[type=text], input[type=email], input[type=number], input:not([type]), textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .7rem .75rem; border: 1px solid var(--rule); border-radius: 6px;
  background: var(--paper); -webkit-appearance: none; appearance: none;
}
textarea { resize: vertical; }
input:focus-visible, textarea:focus-visible, .choice:focus-within, .tick:focus-within,
.btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.field.bad input, .field.bad textarea { border-color: var(--accent); }

.narrow { max-width: 15rem; }
.suffixed { display: flex; align-items: stretch; }
.suffixed input { border-radius: 6px 0 0 6px; }
.suffixed span { display: grid; place-items: center; padding: 0 .7rem;
  border: 1px solid var(--rule); border-left: 0; border-radius: 0 6px 6px 0;
  background: var(--tint); font-family: var(--sans); font-size: .85rem; color: var(--muted); }

.row { display: grid; gap: 0 1rem; }
@media (min-width: 40rem) {
  .row { grid-template-columns: 1fr 1fr; }
  .row.three { grid-template-columns: repeat(3, 1fr); }
}

/* Radios and checkboxes are big enough to hit with a thumb. */
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices.stack { flex-direction: column; }
.choice, .tick {
  display: flex; align-items: center; gap: .55rem; cursor: pointer;
  padding: .68rem .8rem; border: 1px solid var(--rule); border-radius: 7px;
  background: var(--paper); font-family: var(--sans); font-size: .92rem;
  min-height: 2.9rem; transition: border-color .12s, background .12s;
}
.choice input, .tick input { width: 1.15rem; height: 1.15rem; accent-color: var(--accent);
  margin: 0; flex: 0 0 auto; }
.choice:has(input:checked) { border-color: var(--accent); background: #FBF5F4; }
.tick:has(input:checked) { border-color: var(--ink); background: var(--tint); }
.tick input { accent-color: var(--ink); }
.tickgrid { display: grid; gap: .5rem; }
@media (min-width: 34rem) { .tickgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 56rem) { .tickgrid { grid-template-columns: 1fr 1fr 1fr; } }

.more { border: 1px solid var(--rule); border-radius: 8px; background: var(--paper);
  margin: 0 0 1.5rem; }
.more > summary { cursor: pointer; padding: .9rem 1rem; font-family: var(--sans);
  font-weight: 700; font-size: .93rem; list-style: none; position: relative;
  padding-right: 2.2rem; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: "+"; position: absolute; right: .9rem; top: .72rem;
  color: var(--accent); font-size: 1.3rem; line-height: 1; }
.more[open] > summary::after { content: "\2212"; }
.more > summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.more-body { padding: 0 1rem .3rem; border-top: 1px solid var(--rule); padding-top: 1rem; }
.more-body .field:last-child { margin-bottom: 1rem; }

.effort { max-width: 34rem; font-size: .98rem; color: var(--muted);
  background: var(--tint); border-radius: 8px; padding: .9rem 1rem; margin: 1rem 0 0; }
.effort strong { color: var(--ink); }

.reveal { margin-top: .9rem; padding-top: .9rem; border-top: 1px dashed var(--rule); }

.alert { border-left: 3px solid var(--accent); background: #FBF5F4;
  padding: .8rem 1rem; margin-bottom: 1.4rem; font-family: var(--sans); font-size: .92rem; }
.alert ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.alert a { color: #6F0F0B; }
.err { font-family: var(--sans); font-size: .85rem; color: #6F0F0B;
  margin: .4rem 0 0; font-weight: 700; }
.err span { display: inline-grid; place-items: center; width: 1.05rem; height: 1.05rem;
  border-radius: 50%; background: #6F0F0B; color: #fff; font-size: .72rem;
  margin-right: .3rem; }
.field.bad > label, .field.bad > legend { color: #6F0F0B; }
#q8-group:focus-visible, #q15-group:focus-visible, #error-summary:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 3px; }

/* ---------- Screen 3 split with the live diagram ---------- */

.split { display: grid; gap: 1.6rem; }
.steplist { display: grid; gap: .4rem; }
@media (min-width: 34rem) { .steplist { grid-template-columns: 1fr 1fr; } }

.diagram-card { background: var(--paper); border: 1px solid var(--rule);
  border-radius: 9px; padding: 1rem; }
.diagram-head { display: flex; align-items: baseline; justify-content: space-between;
  gap: .6rem; margin-bottom: .6rem; cursor: pointer; list-style: none; }
.diagram-head::-webkit-details-marker { display: none; }
.diagram-head h2 { margin: 0; font-size: .95rem; }
.diagram-meta { margin: 0; font-family: var(--sans); font-size: .78rem; color: var(--muted); }
.diagram { overflow: auto; }
.diagram-card .diagram { max-height: 46vh; }
.diagram svg { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.diagram[aria-busy="true"] { opacity: .55; transition: opacity .15s; }
.diagram-empty { color: var(--muted); font-size: .9rem; text-align: center; padding: 2rem 0; }
.diagram-key { font-family: var(--sans); font-size: .76rem; color: var(--muted);
  margin: .7rem 0 0; }
/* Fade the cut edge so a scrollable diagram reads as continuing, not broken. */
.diagram-card { position: relative; }
.diagram-card[open]::after {
  content: ""; position: absolute; left: 1px; right: 1px; height: 2.4rem;
  bottom: 2.6rem; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--paper));
}

/* On a phone the diagram sits above the step list as a sticky sheet, so it is
   in view while the user is ticking rather than a long scroll below. Collapsed,
   it still shows the live step and CCP count. */
@media (max-width: 61.99rem) {
  .split { display: flex; flex-direction: column; }
  .split-aside { order: -1; position: sticky; top: 0; z-index: 5;
    margin: -.4rem -1.1rem .9rem; }
  .diagram-card { border-radius: 0; border-left: 0; border-right: 0;
    border-top: 0; padding: .7rem 1.1rem;
    box-shadow: 0 6px 14px rgba(31, 42, 68, .07); }
  .diagram-card:not([open]) { padding-block: .55rem; }
  .diagram-card:not([open]) .diagram-head { margin-bottom: 0; }
  .diagram-head h2 { font-size: .88rem; }
  .diagram-head::after { content: "Show"; font-family: var(--sans);
    font-size: .74rem; color: var(--accent); font-weight: 700; }
  .diagram-card[open] .diagram-head::after { content: "Hide"; }
  .diagram-card .diagram { max-height: 52vh; }
}

@media (min-width: 62rem) {
  .wrap { max-width: 72rem; }
  /* The 72rem wrap exists for the wizard's two-column split. The landing page
     is one column of prose, so it keeps a reading measure instead of leaving
     the hero stranded against a half-empty page. */
  .wrap.reading { max-width: 52rem; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 23rem); align-items: start; }
  .split-aside { position: sticky; top: 1rem; }
  .diagram-head { cursor: default; }
  .diagram-head::after { content: none; }
  .diagram-card .diagram { max-height: calc(100vh - 13rem); }
}

/* ---------- Buttons ---------- */

.actions { display: flex; align-items: center; justify-content: space-between;
  gap: .8rem; margin-top: 2rem; }
.actions.end { justify-content: center; flex-wrap: wrap; }
.actions.top { justify-content: center; flex-wrap: wrap; margin-top: 0; }
.handoff { margin-top: .7rem; margin-bottom: 1.6rem; }
.btn { display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: .8rem 1.4rem; border-radius: 7px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; min-height: 3rem; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: #74110D; }
.btn.ghost { background: var(--paper); color: var(--ink); border-color: var(--rule); }
.btn.big { font-size: 1.08rem; padding: 1rem 1.8rem; margin: 1.4rem 0; }
.saved { font-family: var(--sans); font-size: .78rem; color: var(--muted);
  text-align: right; margin: .5rem 0 0; min-height: 1.1rem; }

/* Stacked buttons of different widths read as untidy on a phone, and a
   full-width target is easier to hit. */
@media (max-width: 33.99rem) {
  .actions.top, .actions.end, .resume-actions { flex-direction: column; }
  .actions.top .btn, .actions.end .btn, .resume-actions .btn { width: 100%; }
}

/* ---------- Generating ---------- */

.building { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center;
  background: rgba(247, 248, 250, .94); padding: 1.4rem; }
.building-card { background: var(--paper); border: 1px solid var(--rule);
  border-radius: 10px; padding: 1.8rem; max-width: 24rem; text-align: center; }
.building-card h2 { margin: .9rem 0 .4rem; }
.building-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.spinner { width: 2.1rem; height: 2.1rem; margin: 0 auto; border-radius: 50%;
  border: 3px solid var(--tint); border-top-color: var(--accent);
  animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn[aria-busy="true"] { opacity: .75; }

.resume { background: var(--paper); border: 1px solid var(--rule); border-radius: 9px;
  padding: 1.1rem 1.2rem; margin: 1.6rem 0; }
.resume h2 { margin: 0 0 .3rem; font-size: 1rem; }
.resume p { margin: 0 0 .9rem; color: var(--muted); font-size: .92rem; }
.resume-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------- Paywall, page shots and delivery ---------- */

.paywall { background: var(--paper); border: 1px solid var(--rule);
  border-left: 4px solid var(--accent); border-radius: 9px;
  padding: 1.3rem; margin: 1.6rem 0; display: grid; gap: 1rem; }
.paywall h2 { margin: 0 0 .35rem; font-size: 1.15rem; }
.paywall p { margin: 0; color: var(--muted); font-size: .95rem; }
.paywall form { margin: 0; }
.paywall .btn { width: 100%; }
.paywall-note { margin-top: .6rem !important; font-family: var(--sans);
  font-size: .78rem; text-align: center; }
@media (min-width: 42rem) {
  .paywall { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
    align-items: start; gap: 1.6rem; }
  .paywall .btn { width: auto; }
}

.pageshots { display: grid; gap: 1rem; margin-top: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); }
.pageshots figure { margin: 0; }
.pageshots img { width: 100%; height: auto; display: block; border-radius: 3px;
  border: 1px solid var(--rule); background: #fff; }
.pageshots figcaption { font-family: var(--sans); font-size: .72rem;
  color: var(--muted); text-align: center; margin-top: .35rem; }
.pageshots .blurred img { border-style: dashed; }

.next-steps { margin: .8rem 0 0; padding-left: 1.2rem; }
.next-steps li { margin-bottom: .7rem; font-size: .95rem; }

/* ---------- Landing and preview ---------- */

/* Full-bleed bands. The page was nine sections of one texture; these give it a
   rhythm of dark, tint and white so the eye has somewhere to land. */

.hero-band { background: var(--band); color: #fff; padding: 3.4rem 1.1rem 0;
  overflow: hidden; }
.hero-grid { max-width: 72rem; margin: 0 auto; display: grid; gap: 2.2rem; }
.hero-copy .tag { color: #7FB2E8; }
.hero-band h1 { font-weight: 300; font-size: clamp(2.1rem, 5.4vw, 3.4rem);
  letter-spacing: -.03em; margin: .5rem 0 1rem; color: #fff; }
.hero-band .lead { color: #C3CDDD; font-weight: 300; max-width: 34rem;
  font-size: 1.08rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 0; }
.hero-meta { font-size: .86rem; color: #93A3BC; margin: 1.1rem 0 0; }

/* The document sits on the fold, half in the dark band and half out of it. */
.hero-doc { margin: 1.4rem 0 0; }
.hero-doc img { display: block; width: 100%; height: auto; border-radius: 8px 8px 0 0;
  box-shadow: 0 -2px 0 rgba(255,255,255,.18), 0 24px 60px rgba(0,0,0,.45);
  background: #fff; }
.hero-doc figcaption { display: none; }

.hero-band .resume { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: 9px; padding: 1rem 1.1rem; margin: 1.4rem 0 0; }
.hero-band .resume h2 { color: #fff; font-size: 1.02rem; margin: 0 0 .3rem; }
.hero-band .resume p { color: #C3CDDD; font-size: .92rem; margin: 0; }

.proof-band { background: var(--paper); border-bottom: 1px solid var(--rule);
  padding: 2.8rem 1.1rem 2.4rem; }
.proof-row { max-width: 72rem; margin: 0 auto; list-style: none; padding: 0;
  display: grid; gap: 2rem; }
.proof-row svg { width: 54px; height: 54px; display: block; margin-bottom: .9rem;
  fill: none; stroke: var(--brand); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round; }
.proof-row h3 { font-size: 1.05rem; margin: 0 0 .35rem; }
.proof-row p { margin: 0; color: var(--muted); font-size: .95rem; }

.band-tint { background: var(--tint); border-block: 1px solid var(--rule);
  padding: 3rem 0; margin: 3rem 0; }
.band-dark { background: var(--band); color: #fff; padding: 3.4rem 0 0; margin: 3.4rem 0 0; }
.narrow-band { max-width: 52rem; padding-block: 0; }
.band-head { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin: 0 0 .8rem; }
.band-lead { margin: 0; font-size: 1.04rem; line-height: 1.65; }
.band-tint .band-lead { color: #2C3648; }
.band-dark .band-head { color: #fff; }
.band-dark .band-lead { color: #C3CDDD; font-weight: 300; }
.centred-cta { margin-top: 1.6rem; }

/* Two pages, overlapped, so it reads as a document and not a screenshot. */
.doc-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin: 2.4rem 0 0; }
.doc-strip img { display: block; width: 100%; height: auto; border-radius: 6px 6px 0 0;
  background: #fff; box-shadow: 0 -2px 0 rgba(255,255,255,.18), 0 20px 44px rgba(0,0,0,.4); }

@media (min-width: 56rem) {
  .hero-band { padding-top: 4.6rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 27rem);
    align-items: end; gap: 3rem; }
  .hero-doc { margin: 0; }
  .proof-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.6rem; }
  .band-tint, .band-dark { padding-inline: 0; }
}


h1 + .lead { margin-bottom: .4rem; }
.anchor { max-width: 34rem; font-size: 1.02rem; color: var(--ink);
  border-left: 3px solid var(--accent); padding-left: .9rem; margin: 1rem 0 0; }
.sec { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 3rem 0 1.1rem;
  padding-bottom: .6rem; border-bottom: 1px solid var(--rule); }

.definition { margin: 2.4rem 0 0; }
.definition h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 0 0 .7rem; }
.definition p { max-width: 40rem; }
.byline { margin-top: .8rem; }

.sample-block { background: var(--paper); border: 1px solid var(--rule);
  border-left: 4px solid var(--accent); border-radius: 9px;
  padding: 1.2rem; margin: 2.2rem 0 0; }
.sample-block h2 { margin: 0 0 .4rem; font-size: 1.1rem; }
.sample-block p { margin: 0 0 1rem; color: var(--muted); font-size: .95rem; }

.how { margin: 0; padding-left: 1.25rem; }
.how li { margin-bottom: 1rem; color: var(--muted); }
.how strong { color: var(--ink); }

.reasons-long p { color: var(--muted); }
.reasons-long strong { color: var(--ink); }

.credential { background: var(--tint); border-radius: 9px; padding: 1.1rem 1.2rem;
  margin: 2.4rem 0 0; }
.credential h2 { margin: 0 0 .4rem; font-size: 1.05rem; }
.credential p { margin: 0; color: var(--muted); font-size: .95rem; }

.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: .95rem 0; font-family: var(--sans);
  font-weight: 700; font-size: .98rem; list-style: none; position: relative;
  padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .8rem;
  color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.faq details > div { padding: 0 0 1rem; }
.faq p { margin: 0; color: var(--muted); font-size: .95rem; }

.terms h2 { font-size: 1.08rem; margin: 1.8rem 0 .5rem; }
.terms p { color: var(--muted); }
.reasons { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.reasons li { border-left: 3px solid var(--accent); padding-left: .9rem;
  font-size: .96rem; color: var(--muted); }
.reasons strong { color: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin: 1.5rem 0; }
@media (min-width: 40rem) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); border: 1px solid var(--rule); border-radius: 8px;
  padding: .9rem; text-align: center; }
.stat b { display: block; font-family: var(--sans); font-size: 1.7rem; color: var(--accent); }
.stat span { font-family: var(--sans); font-size: .76rem; color: var(--muted); }

.panel { background: var(--paper); border: 1px solid var(--rule); border-radius: 9px;
  padding: 1.2rem; margin-bottom: 1.2rem; }
.cp-list, .gap-list { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .8rem; }
/* A fixed number column costs too much width on a phone, so the label sits
   above the control point there and beside it from tablet width up. */
.cp-list li { display: block; }
.cp-num { display: block; font-family: var(--sans); font-weight: 700;
  color: var(--accent); font-size: .78rem; margin-bottom: .15rem; }
@media (min-width: 34rem) {
  .cp-list li { display: flex; gap: .8rem; align-items: baseline; }
  .cp-num { display: block; flex: 0 0 3.4rem; margin-bottom: 0; }
}
.cp-list p { margin: .2rem 0 0; font-size: .9rem; color: var(--muted); }
.gap-list li { font-size: .93rem; border-bottom: 1px solid var(--rule); padding-bottom: .5rem; }
.cp-voice { border-left: 2px solid var(--accent); background: var(--tint);
  padding: .6rem .8rem; margin: .6rem 0 0 !important; font-family: var(--sans);
  font-size: .86rem; line-height: 1.45; color: var(--ink) !important; }
.cp-voice span { display: block; font-size: .66rem; text-transform: uppercase;
  letter-spacing: .09em; color: var(--accent); font-weight: 700; margin-bottom: .3rem; }
.contents-list { list-style: none; padding: 0; margin: .8rem 0 1rem;
  display: grid; gap: .1rem; }
.contents-list li { display: flex; gap: .8rem; font-size: .9rem;
  padding: .35rem 0; border-bottom: 1px solid var(--rule); }
.cno { flex: 0 0 1.8rem; font-family: var(--sans); font-weight: 700;
  color: var(--accent); font-size: .8rem; }
.clause { font-family: var(--sans); font-size: .75rem; color: var(--muted); }
.note-box { border-left: 3px solid var(--accent); background: var(--tint);
  padding: .8rem 1rem; margin-top: 1rem; font-size: .9rem; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .spinner { animation-duration: 2.4s; }
}

/* ---------- Reference and comparison articles ---------- */

.article h1 { max-width: 34rem; }
.article .lead { margin-bottom: .6rem; }
.table-scroll { overflow-x: auto; margin: 1rem 0 2rem; }
.table-scroll:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.hazard-table, .compare { width: 100%; border-collapse: collapse; font-size: .9rem;
  min-width: 34rem; }
.hazard-table th, .compare th { font-family: var(--sans); font-size: .74rem;
  text-transform: uppercase; letter-spacing: .06em; text-align: left;
  border-bottom: 1.5px solid var(--ink); padding: .5rem .6rem; }
.hazard-table td, .compare td { padding: .6rem; border-bottom: 1px solid var(--rule);
  vertical-align: top; }
.hazard-table td:nth-child(2), .hazard-table td:nth-child(3) { white-space: nowrap;
  font-family: var(--sans); font-size: .8rem; color: var(--muted); }
.compare tr.ours td { background: var(--tint); }
.hazard-step h2 { font-size: 1.15rem; margin: 2.2rem 0 .3rem;
  padding-bottom: .4rem; border-bottom: 1px solid var(--rule); }
.step-desc { color: var(--muted); font-size: .93rem; margin: 0 0 .6rem; }
.option { margin: 2.4rem 0; }
.option h2 { font-size: 1.15rem; margin: 0 0 .2rem; }
.option-meta { font-family: var(--sans); font-size: .85rem; color: var(--accent);
  margin: 0 0 .8rem; }
.option p { color: var(--muted); }
.option strong, .compare strong { color: var(--ink); }

/* ---------- The safety statement, and terms acceptance ---------- */

.safety-box { border: 2px solid var(--accent); border-radius: 9px;
  padding: 1rem 1.15rem; margin: 1.6rem 0; background: var(--paper); }
.safety-box h2, .safety-box h3 { margin: 0 0 .45rem; font-size: 1.02rem;
  color: var(--accent); }
.safety-box p { margin: 0; color: var(--ink); }

.safety-note { border-left: 3px solid var(--accent); background: var(--tint);
  padding: .85rem 1rem; margin: 1.5rem 0 0; font-size: .95rem; }
.safety-note strong { display: block; margin-bottom: .2rem; }

.accept { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer;
  font-family: var(--sans); font-size: .87rem; line-height: 1.45;
  margin: 0 0 1rem; text-align: left; }
.accept input { width: 1.3rem; height: 1.3rem; margin: .1rem 0 0;
  flex: 0 0 auto; accent-color: var(--accent); }
.accept.bad { color: #6F0F0B; }
.accept:focus-within { outline: 2px solid var(--focus); outline-offset: 3px;
  border-radius: 4px; }

.foot-legal { margin-top: .7rem; font-size: .78rem; }
.foot-legal a { color: var(--muted); }

/* ---------- Buttons on dark ---------- */
.btn { font-family: var(--sans); font-weight: 600; }
.btn.ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5);
  letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; }
.btn.ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- Persistent and mid-page calls to action ---------- */

.mast-cta { margin-left: auto; flex: none; }
.mast-cta .btn { padding: .5rem 1rem; font-size: .88rem; white-space: nowrap; }
/* The endorsement line is the first thing to go when the bar gets tight; the
   button is not. */
@media (max-width: 32rem) {
  .brand-note { display: none; }
  .mast-cta .btn { padding: .45rem .8rem; font-size: .82rem; }
}

.cta-block { margin: 2.8rem 0; padding: 1.6rem 1.4rem; background: var(--tint);
  border: 1px solid var(--rule); border-radius: 10px; text-align: center; }
.cta-block h2 { font-size: 1.2rem; margin: 0 0 .4rem; }
.cta-block p { margin: 0 0 1.1rem; color: var(--muted); font-size: .95rem; }
.cta-block .btn { margin: 0 auto; }
.risk { margin: .8rem 0 0 !important; font-size: .86rem; color: var(--muted); }
.hero-band .risk { color: #93A3BC; }
