/* Wave-EDI marketing site.
 *
 * ➤ COLOURS COME FROM THE LOGO, MEASURED FROM ITS PIXELS -- #1428D2 and #96A5A5 -- not chosen
 * to look like someone else's site. The LAYOUT takes its cues from Tebra: stacked product
 * modules with checklists, a dark trust band, a closing CTA band, a wide multi-column footer.
 *
 * ⚠ FONTS ARE VENDORED, same as the converter's. No CDN, no outbound request, and the OFL
 * NOTICE ships beside them. "A customer needs a browser. That is the entire list" applies to
 * the marketing site too, or the claim is only true on one page.
 */

:root {
  --blue: #1428d2;          /* the logo's blue, sampled */
  --blue-700: #0f1fa8;
  --blue-900: #0a1570;
  --blue-50: #eef1fe;
  --grey: #96a5a5;          /* the logo's grey, sampled */
  --navy: #081331;
  --navy-2: #0f1f47;
  --ink: #0b1220;
  --ink-2: #4a5568;
  --ink-3: #6b7694;
  --line: #e3e8ef;
  /* The CMS-1500's own ink: OCR-dropout red for the rules and the box numbers, near-black for
     what a typewriter or a printer put in the boxes. Muted from the real form's red, which at
     full strength beside the site's blue reads as an error state. */
  --cms-red: #c0504a;
  --cms-rule: #e8bdb8;
  --cms-tint: #fdf5f4;
  --cms-ink: #39415a;
  --tint: #f6f8fb;
  --white: #fff;
  --ok: #0f7a4a;
  --warn: #9a5b00;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(11, 18, 32, .06), 0 8px 24px rgba(11, 18, 32, .06);
  --shadow-lg: 0 2px 4px rgba(11, 18, 32, .06), 0 18px 48px rgba(11, 18, 32, .12);
  --wrap: 1140px;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.021em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.5rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.4rem); letter-spacing: -.025em; }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
code, .mono { font-family: var(--mono); font-size: .92em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.lede { font-size: 1.16rem; color: var(--ink-2); max-width: 62ch; }
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 .7em;
}
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font: inherit; font-weight: 600; font-size: .98rem;
  padding: .72rem 1.3rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-700); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-on-dark { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-on-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-lg { padding: .9rem 1.7rem; font-size: 1.02rem; }

/* ---- header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 2rem; height: 68px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: 168px; height: auto; }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink-2); font-size: .97rem; font-weight: 500; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.nav-cta { display: flex; gap: .6rem; align-items: center; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1.5px solid var(--line);
  border-radius: 8px; padding: .4rem .6rem; cursor: pointer; font-size: 1.1rem; line-height: 1;
}

/* ---- sections ----------------------------------------------------------- */
section { padding: 84px 0; }
.sec-tint { background: var(--tint); border-block: 1px solid var(--line); }
.sec-dark { background: var(--navy); color: #e8ecf5; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-dark .lede, .sec-dark p { color: #b9c4dc; }
.sec-dark .eyebrow { color: #7f9cff; }
.sec-head { max-width: 70ch; margin-bottom: 44px; }

/* ---- hero --------------------------------------------------------------- */
.hero { padding: 76px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero-cta { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-note { margin-top: 1.1rem; font-size: .93rem; color: var(--ink-3); }

/* The hero visual: a claim becoming an 837. Product-true, and nothing stock about it. */
.convert {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch;
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.card-head {
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--tint);
}
.card-body { padding: 14px; }
.form-line { height: 7px; border-radius: 3px; background: #e9eef6; margin-bottom: 9px; }
.form-line.w70 { width: 70%; } .form-line.w50 { width: 50%; } .form-line.w85 { width: 85%; }
.form-line.ink { background: var(--grey); opacity: .55; }
.form-row { display: flex; gap: 7px; margin-bottom: 9px; }
.form-row .form-line { flex: 1; margin: 0; }
/* ⚠ `word-break: break-all` snapped segments mid-token — "SUBMITTE / R~" — which makes the
   one thing this card exists to show look broken. `anywhere` only breaks where it must. */
.seg { font-family: var(--mono); font-size: .69rem; line-height: 1.9; color: var(--blue-900); overflow-wrap: anywhere; }
.seg b { color: var(--blue); font-weight: 600; }
.convert-arrow { display: flex; align-items: center; color: var(--grey); font-size: 1.5rem; }

/* ---- the hero's CMS-1500 miniature -------------------------------------- */
/* ⚠ EVERY DIMENSION HERE IS IN THIS FILE RATHER THAN ON THE ELEMENTS. `style-src 'self'`
   drops a style="" attribute SILENTLY, so a miniature laid out with inline widths renders
   correctly on a local file:// open and arrives as a pile of unstyled divs on the live site.
   The preflight refuses a marketing page carrying style="" for exactly this reason.

   ➤ IT IS RED BECAUSE THE FORM IS RED. OCR-dropout red is the one feature that makes a
   CMS-1500 recognisable across a room, and it also tells the hero's story without a caption:
   red paper on the left, blue data on the right. The bars are empty on purpose -- this is a
   picture of the form, not a claim, and inventing plausible patient values in a decorative
   graphic is how a screenshot ends up quoted as real. */
.cms { padding: 9px 10px 10px; }
.cms-top {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .4rem; font-weight: 700; letter-spacing: .04em; color: var(--cms-red);
  margin-bottom: 3px;
}
.cms-pica { border: 1px solid var(--cms-rule); padding: 0 3px; letter-spacing: .1em; }
.cms-row { display: flex; border: 1px solid var(--cms-rule); border-bottom: 0; }
.cms-row.last { border-bottom: 1px solid var(--cms-rule); }
.cms-cell {
  flex: 1; min-width: 0; padding: 2px 3px 3px; border-right: 1px solid var(--cms-rule);
}
.cms-cell:last-child { border-right: 0; }
.cms-cell i {
  display: block; font-style: normal; font-size: .36rem; font-weight: 700;
  letter-spacing: .02em; color: var(--cms-red); white-space: nowrap;
  overflow: hidden; text-overflow: clip; margin-bottom: 2px;
}
.cms-cell b { display: block; height: 4px; border-radius: 1px; background: var(--cms-ink); }
.cms .c2 { flex: 2; } .cms .c3 { flex: 3; } .cms .c4 { flex: 4; }
.cms .w40 { width: 40%; } .cms .w50 { width: 50%; } .cms .w60 { width: 60%; }
.cms .w70 { width: 70%; } .cms .w80 { width: 80%; } .cms .w90 { width: 90%; }
.cms-dx { display: flex; gap: 4px; }
.cms-dx span {
  flex: 1; display: flex; align-items: center; gap: 2px;
  font-size: .36rem; font-weight: 700; color: var(--cms-red);
}
.cms-dx b { flex: 1; }
/* The service table is the part of a CMS-1500 nobody mistakes for another form: six ruled
   rows, charges to the right, and most of them empty on a real claim. */
.cms-svhead {
  display: flex; background: var(--cms-tint); border: 1px solid var(--cms-rule);
  font-size: .36rem; font-weight: 700; color: var(--cms-red);
}
.cms-svhead span {
  flex: 1; min-width: 0; padding: 2px 3px; border-right: 1px solid var(--cms-rule);
  white-space: nowrap; overflow: hidden;
}
.cms-svhead span:last-child { border-right: 0; }
.cms-sv { display: flex; border: 1px solid var(--cms-rule); border-top: 0; }
.cms-sv > span {
  flex: 1; min-width: 0; height: 11px; border-right: 1px solid var(--cms-rule);
  display: flex; align-items: center; padding: 0 3px;
}
.cms-sv > span:last-child { border-right: 0; }
.cms-sv b { display: block; width: 100%; height: 4px; border-radius: 1px; background: var(--cms-ink); }
.cms-sv + .cms-row { border-top: 0; }

/* ---- the trading-partner profile card ----------------------------------- */
/* ⚠ SAME REASON AS THE CMS MINIATURE: every dimension is here, not on the elements, because
   `style-src 'self'` drops a style="" attribute silently and the page would arrive unstyled.

   ➤ THE VALUES IN THE MARKUP ARE THE APP'S OWN DEMO PROFILE, so this picture cannot drift
   from what someone sees when they open the converter. The NPI is one of the project's
   deliberately Luhn-invalid synthetics and cannot collide with a real provider. */
.tpp { padding: 12px 14px 13px; }
.tpp-sec {
  font-size: .62rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 6px;
}
.tpp dl {
  display: grid; grid-template-columns: auto 1fr; gap: 3px 12px;
  margin: 0 0 12px; align-items: baseline;
}
.tpp dt { font-size: .72rem; color: var(--ink-3); white-space: nowrap; }
.tpp dd {
  margin: 0; font-size: .74rem; font-weight: 600; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* Identifiers are monospace because that is how they are typed, read back and compared --
   a transposed digit in a proportional font is the thing nobody spots. */
.tpp dd.m { font-family: var(--mono); font-weight: 500; letter-spacing: -.01em; }
.tpp-foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  border-top: 1px solid var(--line); padding-top: 9px; margin-bottom: 0;
  font-family: var(--mono); font-size: .68rem; color: var(--ink-2);
}
.tpp-test { color: var(--ink-3); }

/* ---- facts strip -------------------------------------------------------- */
/* ⚠ The BAND is full width; the GRID inside it is not. The first version let the grid run to
   the window edge while every other section was contained, so the first and last facts sat
   hard against the glass and the strip read as a layout bug rather than a band. */
.facts-band { border-block: 1px solid var(--line); background: var(--tint); }
/* ⚠ FOUR, AND IT HAS TO MATCH THE MARKUP. This briefly ran at repeat(3, 1fr) on 2026-11-14,
   when a card was removed before being replaced instead. A column count that disagrees with
   the markup breaks nothing visibly enough to notice — too many columns just leaves part of
   the band empty on the right, and too few silently wraps a card onto a second row. */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 22px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact:last-child { padding-right: 0; }
.fact b { display: block; font-size: 1.12rem; letter-spacing: -.02em; color: var(--blue); margin-bottom: .2rem; }
.fact span { font-size: .93rem; color: var(--ink-2); }

/* ---- feature modules ---------------------------------------------------- */
.module { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 76px; }
.module:last-child { margin-bottom: 0; }
.module.flip > :first-child { order: 2; }
.ticks { list-style: none; padding: 0; margin: 1.1rem 0 0; }
.ticks li { position: relative; padding-left: 1.85rem; margin-bottom: .62rem; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1.15rem; height: 1.15rem;
  border-radius: 999px; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231428d2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.4l3 3 6-6.6'/%3E%3C/svg%3E") center/.78rem no-repeat;
}

/* ---- steps -------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 600; font-size: .98rem; margin-bottom: 1rem;
}

/* ---- two ways to use it ------------------------------------------------- */
/* Deliberately NOT .steps: these are two alternatives, and .step::before numbers
   its cards, which would read as "do 1, then 2". */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.way { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.way .tag {
  display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; padding: .32rem .62rem; border-radius: 999px; margin-bottom: 1rem;
}
/* ⚠ BOTH TAGS CARRY A BORDER, and the transparent one is load-bearing: without it the
   bordered tag is 2px taller and the two cards headings sit on different baselines. */
.way .tag-self { background: var(--blue-50); color: var(--blue); border: 1px solid transparent; }
.way .tag-managed { background: var(--tint); color: var(--ink-2); border: 1px solid var(--line); }
.way h3 { margin-bottom: .55rem; }
.way p { font-size: .96rem; }
.way p.note { font-size: .9rem; color: var(--ink-3); margin-bottom: 0; }

/* ---- dark band cards ---------------------------------------------------- */
.dark-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* ⚠ TWO CARDS IN A THREE-COLUMN GRID IS A HOLE, NOT A LAYOUT -- it reads as something that
   failed to load. The count of cards and the count of columns have to agree, so a section with
   two says so rather than relying on whoever edits the markup next to remember. */
.dark-cards.two { grid-template-columns: repeat(2, 1fr); }
.dark-card { background: var(--navy-2); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 26px; }
.dark-card h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.dark-card p { font-size: .96rem; margin: 0; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 20px 2.4rem 20px 0; font-weight: 600; font-size: 1.04rem;
  list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%);
  font-weight: 400; font-size: 1.5rem; color: var(--blue); line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-body { padding: 0 2.4rem 20px 0; color: var(--ink-2); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---- closing CTA -------------------------------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-900) 100%); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.86); }
.cta-band .btn-primary { background: #fff; color: var(--blue); }
.cta-band .btn-primary:hover { background: #eef1fe; }

/* ---- footer ------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #94a2c0; padding: 56px 0 36px; font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; margin-bottom: .9rem; }
.site-footer a { color: #b9c4dc; display: block; margin-bottom: .5rem; }
.site-footer a:hover { color: #fff; }
.foot-logo { width: 172px; margin-bottom: 1rem; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .88rem; }
/* The phone number reads as a NUMBER, not as another nav link in the column above it --
   white and slightly larger is the whole difference. `.site-footer a` already makes it
   a block, so no layout rule is needed here. */
.foot-tel { color: #fff; font-weight: 600; font-size: 1rem; letter-spacing: .01em; }

/* ---- "would rather talk" line on the contact page ----------------------- */
.call-line { margin-top: .85rem; color: var(--ink-2); }
/* ⚠ THE PADDING IS THE TAP TARGET, AND THE NEGATIVE MARGIN KEEPS THE LINE WHERE IT WAS.
   Measured at 20px tall on a 414px phone before this -- under the 24px minimum, on the one
   control a person holding a phone is most likely to tap. Do not remove the padding to tidy
   the rule up; it is load-bearing. */
.call-line a {
  display: inline-block; padding: .55rem .25rem; margin: -.55rem -.25rem;
  font-weight: 700; font-size: 1.06rem; color: var(--blue); white-space: nowrap;
}
.call-line a:hover { text-decoration: underline; }

/* ---- forms -------------------------------------------------------------- */
.form-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: .35rem; }
.field .hint { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .68rem .85rem; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-50);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #c0392b; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }

/* ⚠ THE NO-PHI NOTICE IS PART OF THE FORM, NOT FINE PRINT UNDER IT. It sits directly above the
   message box, because that is the field someone would paste a claim into. */
.phi-note {
  display: flex; gap: .7rem; align-items: flex-start;
  background: #fff8ec; border: 1.5px solid #f0d9ae; border-radius: var(--radius);
  padding: .8rem .95rem; margin-bottom: .6rem; font-size: .92rem; color: #6b4a07;
}
.phi-note strong { color: #5a3d05; }
.phi-note svg { flex: 0 0 auto; margin-top: .12rem; }

.form-status { margin-top: 1rem; padding: .85rem 1rem; border-radius: var(--radius); font-size: .95rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e9f7ef; border: 1.5px solid #a9dcc0; color: #15603c; }
.form-status.bad { background: #fdecea; border: 1.5px solid #f3b7b0; color: #8d2a20; }
.form-status.busy { background: var(--blue-50); border: 1.5px solid #c3cdfb; color: var(--blue-900); }

.side-card { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.side-card h3 { font-size: 1.05rem; }
.side-card dl { margin: 0; }
.side-card dt { font-weight: 600; font-size: .9rem; margin-top: 1.1rem; }
.side-card dt:first-child { margin-top: 0; }
.side-card dd { margin: .2rem 0 0; color: var(--ink-2); font-size: .95rem; }

/* ⚠ HIDDEN UPWARDS, NOT SIDEWAYS. `left: -9999px` parks it off the left edge, which widens
   the document and can produce a horizontal scrollbar on a narrow screen — found by measuring
   at 390px, not by reading the CSS. Moving it off the TOP has no effect on page width. */
.skip {
  position: absolute; left: 0; top: -120px; background: var(--blue); color: #fff;
  padding: .6rem 1rem; border-radius: 0 0 var(--radius) 0; z-index: 100;
}
.skip:focus { top: 0; }

/* The honeypot, for the same reason. */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ---- responsive --------------------------------------------------------- */
@media (max-width: 920px) {
  .hero-grid, .module, .form-wrap { grid-template-columns: 1fr; gap: 36px; }
  .module.flip > :first-child { order: 0; }
  .steps, .dark-cards, .ways { grid-template-columns: 1fr; }
  /* ⚠ TWO COLUMNS IS RIGHT ONLY FOR AN EVEN NUMBER OF FACTS. With four it is 2 + 2; with
     three it would be 2 + 1, one card alone against an empty half. If a card is ever added
     or removed, this block is part of the change, not a detail below it. */
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(2) { padding-right: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 24px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
  section { padding: 60px 0; }
  /* ⚠ The header is the one row that cannot wrap, so it is the one that overflows. Measured
     at 390px: logo 168 + toggle + CTA 121 + two 2rem gaps came to 406px against a 390px
     viewport — 16px of horizontal scroll on every phone. Shrink all three. */
  .nav { gap: .75rem; }
  .brand img { width: 142px; }
  .nav-cta .btn { padding: .55rem 1rem; font-size: .93rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand img { width: 126px; }
  .facts, .two-up { grid-template-columns: 1fr; }
  .convert { grid-template-columns: 1fr; }
  .convert-arrow { transform: rotate(90deg); justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---- utilities that used to be style="" attributes --------------------------------------
   ⚠⚠ THEY WERE BEING SILENTLY BLOCKED IN PRODUCTION. The strict marketing CSP is
   `style-src 'self'`, which forbids a style attribute just as firmly as a <style> block --
   so the colour and the two margins below were dropped by the browser, on the live site,
   with the only evidence a console message nobody was reading. Found 2026-11-13 while
   chasing a different CSP fault.
   ➤ FIXED BY MOVING THE STYLE, NOT BY WEAKENING THE POLICY. Adding 'unsafe-inline' here
   would have fixed three cosmetic defects by disabling the protection on the one page that
   takes user input. */
.seg-bad { color: #8d2a20; }
.mt-lg { margin-top: 1.5rem; }
