/* POTS Replacement Device: Scale Model, slate mat. Shared by every subpage; the homepage carries the same values inline.

   The world: a light slate cutting mat with a two-level grid, and white card stock pinned to it with brass pins.
   - The hero sits straight on the mat, in ink lettering.
   - Each <section class="section"> lays one sheet of card on the mat: its .wrap is the sheet. Rules, tables and
     lists inside a sheet use --ink, --ink-2 and --rule. A page that needs a section straight on the mat resets
     `.section > .wrap` in its own <style> (background, box-shadow and padding to none, and hide ::before/::after).
   - .plate is a card too. On the mat it has pins and a shadow; inside a sheet it is a flat tinted panel.
   - Yellow (--action) marks only what the visitor should do: buttons and the closing band.
   - Line colours (--l-*) mark that kind of line and nothing else. Status colours (--ok, --warn, --fault) sit
     beside a word that says the state.

   The class names are concept D's, so the same markup carries both designs. The tokens at the end of :root are
   D's names pointed at this palette, kept so a page style that still says var(--red) or var(--mono) resolves. */
:root {
  color-scheme: light;
  --mat: #B9C5CE; --mat-line: rgba(255, 255, 255, .42); --mat-line-2: rgba(255, 255, 255, .2);
  --on-mat: #0E1B2C; --on-mat-2: #24364B; --mat-rule: rgba(14, 27, 44, .32); --cu-text: #6E310C;
  --card: #F7F8FA; --card-2: #E6EAEF; --rule: #BFC8D2; --ink: #0E1B2C; --ink-2: #3B4B5E;
  --band: #14263C; --band-ink: #FFFFFF; --band-ink-2: #C9D6E4; --band-rule: rgba(255, 255, 255, .3);
  --foot: #0E1B2C; --foot-ink: #D5DEE6;
  --action: #FFD23F; --action-hi: #FFE072; --action-ink: #1A1500;
  --l-fire: #F07A1F; --l-elevator: #2A6FDB; --l-burglar: #7C4DE8; --l-callbox: #E0409A; --l-fax: #0FA89A; --l-unsure: #5F6B7A;
  --ok: #0E7C4A; --warn: #A65F00; --fault: #B42318;
  --brass: #D8A53E;
  --pin: radial-gradient(circle at 35% 30%, #FFF1C2, #D8A53E 45%, #8A6217 100%);
  --pin-shadow: 1px 3px 3px rgba(8, 18, 32, .45);
  --card-shadow: 0 1px 0 #fff inset, 0 2px 3px rgba(8, 18, 32, .35), 0 22px 40px -18px rgba(8, 18, 32, .75);
  --font: Archivo, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1344px;
  --pad: clamp(18px, 3.3vw, 48px);
  --sheet-pad: clamp(24px, 3.4vw, 46px);

  /* concept D's token names, pointed at this palette */
  --ink-3: var(--ink-2);
  --red: var(--ink); --red-deep: var(--ink); --red-hi: var(--on-mat-2); --on-red: var(--on-mat); --on-red-2: var(--on-mat-2);
  --ground: var(--mat); --steel: var(--card-2); --steel-2: var(--rule); --steel-edge: #8996A5; --steel-hi: var(--card);
  --lamp-on: var(--ok); --lamp-amber: var(--warn); --lamp-red: var(--fault); --lamp-off: #6E7F92; --ok-ink: var(--ok);
  --head: var(--font); --sans: var(--font); --mono: var(--font);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: #6E7F92 var(--foot); }
body {
  margin: 0; color: var(--on-mat); background-color: var(--mat);
  font: 400 19px/1.55 var(--font); font-stretch: 100%; font-variant-numeric: tabular-nums;
  /* the cutting mat: a fine grid, heavier every fifth line */
  background-image:
    linear-gradient(var(--mat-line) 1px, transparent 1px), linear-gradient(90deg, var(--mat-line) 1px, transparent 1px),
    linear-gradient(var(--mat-line-2) 1px, transparent 1px), linear-gradient(90deg, var(--mat-line-2) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  caret-color: var(--ink);
}
::selection { background: var(--action); color: var(--action-ink); }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
footer :focus-visible { outline-color: var(--action); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-weight: 800; font-stretch: 114%; letter-spacing: -.022em; }
h1 { font-stretch: 106%; }
h3 { font-weight: 700; font-stretch: 106%; font-size: 22px; line-height: 1.2; letter-spacing: -.005em; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* a state: a small flat dot beside the word that names it */
.lamp { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; background: transparent; box-shadow: inset 0 0 0 2px var(--lamp-off); transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.lamp.on { background: var(--ok); box-shadow: none; }
.lamp.amber { background: var(--warn); box-shadow: none; }
.lamp.red { background: var(--fault); box-shadow: none; }

/* card stock. The two top "screws" in the markup are the brass pins; the bottom two are not drawn. */
.plate { position: relative; background: var(--card); color: var(--ink); border-radius: 3px; box-shadow: var(--card-shadow); }
.plate > .screw { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--pin); box-shadow: var(--pin-shadow); }
.screw.tl { top: 9px; left: 9px; } .screw.tr { top: 9px; right: 9px; }
.screw.bl, .screw.br { display: none; }
.section .plate { background: var(--card-2); box-shadow: inset 0 0 0 1px var(--rule); }
.section .plate > .screw { display: none; }
.engrave { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--ink-2); }

/* buttons: one action colour, whatever D called the variant */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px;
  border: 0; border-radius: 3px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font-weight: 800; font-size: 19px; line-height: 1; font-stretch: 104%;
  background: var(--action); color: var(--action-ink);
  box-shadow: inset 0 0 0 2px var(--ink), 0 2px 0 rgba(0, 0, 0, .38), 0 12px 20px -10px rgba(0, 0, 0, .55);
  transition: transform .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { background: var(--action-hi); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: inset 0 0 0 2px var(--ink), 0 1px 0 rgba(0, 0, 0, .38); }
.section .btn, .plate .btn, .legal .btn { box-shadow: inset 0 0 0 1.5px var(--ink), 0 2px 0 var(--ink); }
.section .btn:active, .plate .btn:active, .legal .btn:active { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--card-2); color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--rule); cursor: default; transform: none; }
.btn[aria-busy="true"] { cursor: wait; }

/* ---------- header and hero, on the mat ---------- */
.hero { position: relative; color: var(--on-mat); }
.bar .wrap { display: flex; align-items: center; gap: 12px 28px; padding-block: 18px; }
.mark { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; }
.mark img { display: block; width: 222px; height: auto; }
.brand { display: grid; gap: 6px; margin-right: auto; }
.tagline { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--on-mat-2); max-width: 21em; }
.tagline br { display: none; }
.bar nav { display: flex; align-items: center; gap: 4px 26px; }
.bar nav a:not(.btn) { font-size: 17px; font-weight: 600; text-decoration: none; padding-block: 12px; border-bottom: 2px solid transparent; white-space: nowrap; }
.bar nav a:not(.btn):hover, .bar nav a[aria-current="page"] { border-bottom-color: var(--on-mat); }
.bar .btn { min-height: 46px; padding: 0 18px; font-size: 17px; }
.hero h1 { font-size: clamp(36px, 4.3vw, 66px); line-height: 1; }
.hero h1 span { display: block; }
.hero h1 em { font-style: normal; }
.hero h1 .warm { color: var(--cu-text); }
.hero__lead { margin: clamp(16px, 1.6vw, 24px) 0 22px; max-width: 34em; font-size: clamp(19px, 1.45vw, 22px); color: var(--on-mat); }
.hero__lead strong { font-weight: 700; }
.hero__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 48px; align-items: center; padding-block: 26px 48px; }
.assure { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 17px; font-weight: 500; }
.assure li { display: flex; align-items: center; gap: 10px; }
.close__call { display: inline-block; margin-top: 16px; padding: 10px 0; font-weight: 700; font-size: 19px; color: var(--action-ink); white-space: nowrap; }
.foot-tel { display: inline-block; margin-top: 6px; padding: 10px 0; font-weight: 700; font-size: 19px; color: #fff; white-space: nowrap; }

/* supporting pages: words on the left, one drawing on the right, numbered keys under it */
.notice__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 56px; align-items: center; padding-block: clamp(14px, 2vw, 30px) clamp(28px, 3.4vw, 48px); }
.notice__grid .hero__lead { margin-bottom: 16px; }
.byline { margin: 0; font-size: 17px; color: var(--on-mat-2); }
.pin-n { grid-column: 1; grid-row: 1; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; line-height: 1; }
.keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.keys li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 17px; line-height: 1.45; color: var(--on-mat-2); }
.keys strong { color: var(--on-mat); font-weight: 700; }
.section .keys li { color: var(--ink-2); }
.section .keys strong { color: var(--ink); }

/* ---------- sections: one sheet of card each ---------- */
.section { padding-block: clamp(32px, 4vw, 56px) 0; scroll-margin-top: 12px; }
.section > .wrap { position: relative; padding: var(--sheet-pad); background: var(--card); color: var(--ink); border-radius: 3px; box-shadow: var(--card-shadow); }
.section > .wrap::before, .section > .wrap::after { content: ""; position: absolute; top: 9px; width: 13px; height: 13px; border-radius: 50%; background: var(--pin); box-shadow: var(--pin-shadow); }
.section > .wrap::before { left: 9px; }
.section > .wrap::after { right: 9px; }
.section__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px 56px; align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.section__head h2 { font-size: clamp(30px, 3vw, 46px); line-height: 1.04; }
.section__head p { margin: 0; color: var(--ink-2); font-size: clamp(19px, 1.45vw, 22px); max-width: 34em; }
.section a { color: var(--ink); }
.after-note { margin: 18px 0 0; max-width: 38em; color: var(--ink-2); }
.verdict { margin: 26px 0 0; max-width: 38em; padding: 16px 18px 17px; border-radius: 3px; background: var(--card-2); font-weight: 600; }
.fine { margin: 16px 0 0; font-size: 17px; color: var(--ink-2); }

/* tables. The last column is ours unless the table is .compare--plain. */
.table-scroll { overflow-x: auto; }
table.compare { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 19px; line-height: 1.45; }
.compare th, .compare td { padding: 14px 18px 15px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.compare thead th { font-size: 17px; font-weight: 700; font-stretch: 104%; line-height: 1.25; padding-block: 10px; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.compare thead th:last-child { padding-left: 18px; background: var(--band); color: var(--band-ink); border-bottom-color: var(--band); }
.compare tbody th { font-weight: 700; width: 27%; }
.compare td:nth-child(2) { color: var(--ink-2); }
.compare td:last-child { padding-left: 18px; font-weight: 600; color: var(--ink); background: var(--card-2); }
.compare--plain thead th:last-child { padding-left: 0; background: none; color: var(--ink); border-bottom-color: var(--ink); }
.compare--plain td:last-child { padding-left: 0; font-weight: 400; background: none; }
.reqs tbody th { width: 22%; }
.reqs td:nth-child(2) { width: 27%; font-size: 17px; }

/* sources under a table */
.reflist { list-style: none; margin: 30px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.reflist li { display: grid; grid-template-columns: minmax(0, 1fr) 17em; gap: 4px 32px; align-items: baseline; padding: 12px 0 13px; border-bottom: 1px solid var(--rule); }
.reflist a { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.reflist span { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink-2); }
.reflist__head { margin: 40px 0 0; font-size: 22px; }
.reflist__head + .reflist { margin-top: 12px; }

/* numbered steps and numbered questions */
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; border-top: 2px solid var(--ink); }
.how li { counter-increment: step; padding: 24px 30px 6px 0; display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto 1fr; align-content: start; gap: 0 16px; }
.how li + li { padding-left: 30px; border-left: 1px solid var(--rule); }
.how li::before { content: counter(step); grid-row: 1 / 3; align-self: start; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; line-height: 1; }
.how h3 { font-size: 26px; line-height: 1.12; margin: 7px 0 8px; }
.how p { margin: 0; color: var(--ink-2); }
.asks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 2px solid var(--ink); counter-reset: ask; }
.asks li { counter-increment: ask; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.asks li::before { content: counter(ask); grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 17px; line-height: 1; }
.asks h3 { font-size: 22px; line-height: 1.15; padding-top: 4px; }
.asks p { margin: 4px 0 0; color: var(--ink-2); }

/* questions */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 56px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 16px; align-items: center; padding: 17px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 22px; line-height: 1.25; font-stretch: 104%; }
.faq summary:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.faq summary svg { width: 22px; height: 22px; transition: transform .2s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: -2px 0 20px; max-width: 40em; color: var(--ink-2); font-size: 19px; }
.faq details a { color: var(--ink); font-weight: 600; }

/* forms */
.field { display: grid; gap: 4px; }
.field label { font-weight: 700; font-size: 17px; }
.field small { font-weight: 400; color: var(--ink-2); font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 0 12px; background: #fff; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 3px; font-size: 19px; font-weight: 500; }
.field textarea { padding: 10px 12px; line-height: 1.4; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #566578; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-width: 2.5px; border-color: var(--fault); background: #FFF6EE; }
.status { margin: 0; font-weight: 600; }
.status[data-tone="ok"] { color: var(--ok); }
.status[data-tone="error"] { color: var(--fault); }
.consent { margin: 12px 0 0; font-size: 15px; color: var(--ink-2); }
.consent a { color: inherit; }

/* ---------- the close: the action colour owns the band ---------- */
.close { margin-top: clamp(48px, 6vw, 88px); background: var(--action); color: var(--action-ink); }
.close .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding-block: clamp(56px, 7vw, 104px); }
.close h2 { font-size: clamp(36px, 4.6vw, 72px); line-height: 1; }
.close p { margin: 18px 0 0; max-width: 34em; font-size: clamp(19px, 1.45vw, 22px); color: var(--action-ink); }
.close .btn { background: var(--ink); color: #fff; box-shadow: 0 2px 0 rgba(0, 0, 0, .4), 0 12px 20px -10px rgba(0, 0, 0, .5); }
.close .btn:hover { background: #000; }

footer { background: var(--foot); color: var(--foot-ink); font-size: 17px; }
footer .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 60px; align-items: start; padding-block: 44px 56px; }
footer .mark { margin-right: 0; }
footer .tagline { color: var(--foot-ink); }
footer p { margin: 0 0 10px; max-width: 34em; }
footer nav { display: flex; flex-wrap: wrap; gap: 0 22px; margin-bottom: 12px; }
footer nav a { color: #fff; font-weight: 600; padding-block: 10px; text-decoration: none; }
footer nav a:hover { text-decoration: underline; }

/* ---------- a form card in the closing band: the short line check and the Contact form ---------- */
.close--form .wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.form-card { display: grid; gap: 16px; padding: 32px 28px 26px; color: var(--ink); }
.form-card__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-card fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-card legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 17px; }
.form-card legend small { font-weight: 400; color: var(--ink-2); font-size: 15px; }
.ticks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ticks label { display: flex; gap: 10px; align-items: center; min-height: 50px; padding: 6px 12px; border-radius: 3px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--rule); font-size: 17px; font-weight: 600; line-height: 1.2; cursor: pointer; }
.ticks label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); background: var(--card-2); }
.ticks input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--ink); }
.form-card__send { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.form-card .btn, .close .form-card .btn { background: var(--action); color: var(--action-ink); box-shadow: inset 0 0 0 1.5px var(--ink), 0 2px 0 var(--ink); }
.form-card .btn:hover, .close .form-card .btn:hover { background: var(--action-hi); }
.form-card .btn[disabled] { background: var(--card-2); color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--rule); cursor: wait; transform: none; }
.form-status { display: flex; gap: 10px; align-items: baseline; margin: 0; font-size: 17px; color: var(--ink-2); }
.form-status .lamp { position: relative; top: 1px; }
.form-status[data-tone="ok"] { color: var(--ok); font-weight: 700; }
.form-status[data-tone="error"] { color: var(--fault); font-weight: 700; }
.form-card .note { margin: 0; font-size: 17px; color: var(--ink-2); }
.form-card .note a { color: var(--ink); font-weight: 600; }
.form-card .consent { margin: 0; }
.close__phone { margin-top: 18px; font-size: 22px; }
.close__phone a { color: inherit; font-weight: 700; white-space: nowrap; }

/* ---------- the phone action bar (phones only), hidden while a form is on screen ---------- */
.cta-bar { display: none; }

/* ---------- the Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px 56px; align-items: start; }
.contact-list { margin: 0; border-top: 2px solid var(--ink); }
.contact-list > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 4px 20px; padding: 16px 0 17px; border-bottom: 1px solid var(--rule); }
.contact-list dt { font-weight: 700; }
.contact-list dd { margin: 0; }
.contact-list dd a { color: var(--ink); font-weight: 700; }
.contact-list small { display: block; color: var(--ink-2); font-size: 17px; }
.contact-founder { margin: 22px 0 0; max-width: 32em; padding: 16px 18px 17px; border-radius: 3px; background: var(--card-2); font-weight: 600; }

/* ---------- privacy and terms: one long sheet ---------- */
.legal-title { padding-block: clamp(10px, 1.6vw, 22px) clamp(26px, 3vw, 40px); }
.legal-title h1 { font-size: clamp(38px, 4.3vw, 66px); line-height: 1; }
.legal-title .hero__lead { margin-bottom: 0; }
.legal { position: relative; max-width: 54em; padding: var(--sheet-pad); margin-left: max(var(--pad), (100% - var(--wrap)) / 2); margin-bottom: clamp(56px, 7vw, 96px); background: var(--card); color: var(--ink); border-radius: 3px; box-shadow: var(--card-shadow); }
.legal::before, .legal::after { content: ""; position: absolute; top: 9px; width: 13px; height: 13px; border-radius: 50%; background: var(--pin); box-shadow: var(--pin-shadow); }
.legal::before { left: 9px; }
.legal::after { right: 9px; }
.legal__date { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: var(--ink-2); }
.legal h2 { margin: 38px 0 8px; font-size: clamp(24px, 2.3vw, 31px); line-height: 1.1; font-stretch: 108%; letter-spacing: -.012em; }
.legal__date + h2 { margin-top: 18px; }
.legal p { margin: 0 0 14px; }
.legal p, .legal li { max-width: 40em; }
.legal ul { margin: 0 0 16px; padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }

@media (max-width: 1180px) {
  .close--form .wrap, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .bar nav a:not(.btn) { display: none; }
  .bar nav a.tel:not(.btn) { display: inline-flex; }
  .hero__grid, .notice__grid { grid-template-columns: 1fr; gap: 32px; }
  .section__head { grid-template-columns: 1fr; }
  .reflist li { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 18px; }
  :root { --sheet-pad: 32px 18px 26px; }
  .bar .wrap { padding-block: 12px; }
  .mark img { width: 188px; }
  .tagline { display: none; }
  .bar nav a.tel:not(.btn) { display: none; }
  .notice__grid { padding-block: 6px 28px; gap: 26px; }
  .hero h1 { font-size: clamp(33px, 9.6vw, 44px); }
  .hero h1 span { display: inline; }
  .section > .wrap, .legal { width: auto; margin-inline: 8px; }
  .faq, .asks, .how { grid-template-columns: 1fr; }
  .faq summary h3 { font-size: 19px; }
  .faq details p { font-size: 18px; }
  .how li, .how li + li { padding: 20px 0 18px; border-left: 0; border-bottom: 1px solid var(--rule); }
  .how li:last-child { border-bottom: 0; padding-bottom: 0; }
  /* tables turn into one block per row; our column comes first and keeps its tint */
  table.compare { min-width: 0; border-top: 2px solid var(--ink); }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { display: flex; flex-direction: column; padding: 16px 0; border-bottom: 2px solid var(--ink); }
  .compare tr:last-child { border-bottom: 0; padding-bottom: 0; }
  .compare th, .compare td { padding: 0; border: 0; background: none; }
  .compare tbody th { font-size: 19px; font-stretch: 106%; line-height: 1.2; margin-bottom: 8px; width: auto; }
  .compare td::before { content: attr(data-label); display: block; font-size: 15px; font-weight: 700; color: var(--ink-2); margin-bottom: 1px; }
  .compare td:last-child { order: 1; margin-bottom: 10px; padding: 9px 12px 10px; border-radius: 3px; background: var(--card-2); }
  .compare td:nth-child(2) { order: 2; }
  .compare--plain td:nth-child(2) { order: 2; }
  .compare--plain td:last-child { order: 3; margin: 10px 0 0; padding: 0; background: none; }
  .reqs tbody th, .reqs td:nth-child(2) { width: auto; }
  .close .wrap, .close--form .wrap { grid-template-columns: minmax(0, 1fr); }
  .close .btn { width: 100%; }
  .form-card, .form-card .field { min-width: 0; }
  .form-card { padding: 28px 18px 22px; }
  .form-card__grid { grid-template-columns: 1fr; }
  .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-list > div { grid-template-columns: 1fr; }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .cta-bar { display: flex; gap: 10px; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--foot); box-shadow: 0 -8px 24px -10px rgba(8, 18, 32, .6);
    transition: transform .25s var(--ease); }
  .cta-bar.is-away { transform: translateY(110%); }
  .cta-bar .btn { flex: 1; min-height: 52px; font-size: 18px; box-shadow: none; }
  .cta-bar__tel { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 18px; border-radius: 3px; color: #fff; font-weight: 800; font-size: 18px; text-decoration: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
  footer .wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
