/* Livery — a poster that repaints itself in the customer's colour.
   One variable, --brand, carries the whole site: tide by default, #1f4e9c when the switch
   is set to the sample customer (Northwind Health). Flat blocks, expanded Archivo caps,
   stripes instead of cards, a diagonal band, a keypad that types the six-digit code.
   Single theme, deliberately light; every colour is set explicitly. */

:root {
  --brand: #1d6b5c;
  --brand-deep: #14564a;
  --brand-ink: #ffffff;
  --ground: #f4f6f5;
  --paper: #ffffff;
  --sunken: #e9eeec;
  --ink: #16201d;
  --muted: #56645f;
  --rule: #d3dcd8;
  --record: #c2412d;
  --code-green: #6fcfb8;
  --display: "Archivo", "Helvetica Neue", sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --pad: clamp(16px, 5vw, 72px);
  --t: .45s;
  color-scheme: light;
}
:root[data-livery="northwind"] { --brand: #1f4e9c; --brand-deep: #173d7a; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ground); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.5 var(--body); overflow-x: hidden; }
a { color: var(--brand); text-underline-offset: 3px; transition: color var(--t); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.hero :focus-visible, .page-hero :focus-visible, .close :focus-visible, .wire :focus-visible, .panel.brand :focus-visible { outline-color: var(--brand-ink); }
.panel.dark :focus-visible, .keypad-stage :focus-visible, .livery-bar :focus-visible { outline-color: var(--paper); }
code { font-family: var(--mono); font-size: .9em; background: var(--sunken); padding: .05em .35em; border-radius: 3px; }
pre { font-family: var(--mono); }
p { margin: 0; }
img, svg { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fine { font-size: 13.5px; opacity: .85; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-variation-settings: "wdth" 125; font-weight: 900; letter-spacing: -.03em; line-height: .92; text-transform: uppercase; overflow-wrap: normal; }
h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); max-width: 14ch; }
h2 span, .h-sub { display: block; font-family: var(--body); font-weight: 500; text-transform: none; letter-spacing: 0; line-height: 1.3; font-variation-settings: normal; font-size: clamp(1rem, 1.5vw, 1.25rem); color: var(--muted); margin-top: 16px; max-width: 44ch; overflow-wrap: normal; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); text-transform: none; letter-spacing: -.02em; font-variation-settings: "wdth" 112; }
.kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: .85; margin-bottom: 20px; font-weight: 600; }
.muted { color: var(--muted); }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; max-width: 56ch; }
.prose { max-width: 60ch; }
.prose p + p { margin-top: 14px; }
.wrap { max-width: 1280px; margin: 0 auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 15px/1 var(--body); text-decoration: none; letter-spacing: .01em;
  transition: transform .15s, background-color var(--t), color var(--t), box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0,0,0,.4); }
.btn:active { transform: translateY(0); }
.btn.ink { background: var(--ink); color: var(--paper); }
.btn.white { background: var(--paper); color: var(--brand); }
.btn.brand { background: var(--brand); color: var(--brand-ink); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px currentColor, 0 10px 24px -10px rgba(0,0,0,.4); }
.link { font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }

/* ---------- request access: an address you can select and copy, no form ---------- */
.request { position: relative; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.request .addr { display: none; align-items: center; gap: 10px; }
.request.open .addr { display: inline-flex; }
.request.open > .btn.req { display: none; }
.request .addr code { font: 600 16px/1 var(--mono); padding: 14px 16px; border-radius: 999px; background: var(--paper); color: var(--ink); user-select: all; -webkit-user-select: all; }
.request .copy { min-height: 48px; padding: 0 18px; font-size: 14px; }
.request .copy[data-done="1"] { background: var(--ink); color: var(--paper); }
.request .addr-note { flex-basis: 100%; font-size: 13px; opacity: .8; }

/* ---------- livery bar ---------- */
.livery-bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px;
  padding: 10px var(--pad); background: var(--ink); color: var(--paper); font-size: 13px;
}
.livery-label { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; opacity: .7; }
.livery-switch { display: inline-flex; background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px; }
.livery-switch button {
  appearance: none; border: 0; background: transparent; color: var(--paper); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font: 600 13px/1 var(--body); transition: background-color .2s;
}
.livery-switch button i { width: 12px; height: 12px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
.livery-switch button small { font-weight: 400; opacity: .7; }
.livery-switch button.on { background: var(--paper); color: var(--ink); }
.livery-switch button:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
.livery-note { opacity: .7; margin-left: auto; }

/* ---------- top ---------- */
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 18px var(--pad); background: var(--brand); color: var(--brand-ink); transition: background-color var(--t); }
.wordmark { font: 900 26px/1 var(--display); font-variation-settings: "wdth" 125; letter-spacing: -.03em; text-transform: uppercase; color: inherit; text-decoration: none; }
.top nav { display: flex; gap: 22px; margin-left: 12px; }
.top nav a { color: inherit; text-decoration: none; font-weight: 600; font-size: 15px; opacity: .9; white-space: nowrap; }
.top nav a:hover, .top nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-thickness: 2px; }
.top .btn { margin-left: auto; min-height: 44px; padding: 0 18px; font-size: 14px; }
@media (max-width: 820px) {
  .top { gap: 12px 16px; padding-bottom: 12px; }
  .top nav { order: 3; flex-basis: 100%; margin-left: 0; gap: 18px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .top nav::-webkit-scrollbar { display: none; }
}

/* ---------- home hero ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px;
  padding: 48px var(--pad) 0; background: var(--brand); color: var(--brand-ink);
  transition: background-color var(--t); overflow: visible;
}
/* the block ends in a hard step so the phone can stand across it */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: var(--ground); z-index: 0; }
.hero-copy { position: relative; z-index: 1; padding-bottom: 180px; }
.hero h1 { font-size: clamp(4.2rem, 12vw, 12rem); line-height: .84; margin-left: -.04em; }
.hero .lede { margin-top: 28px; max-width: 46ch; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.45; opacity: .95; }
.hero code, .page-hero code, .close code { background: rgba(255,255,255,.18); color: inherit; }

.phone { position: relative; z-index: 1; margin: 0; justify-self: end; align-self: end; width: min(100%, 400px); transform: rotate(-3deg); transform-origin: bottom right; }
.screen {
  background: var(--paper); color: var(--ink); border-radius: 36px; padding: 36px 30px 30px;
  box-shadow: 0 50px 80px -30px rgba(0,0,0,.5), 0 0 0 10px var(--ink);
  display: grid; gap: 14px; min-height: 560px; align-content: start;
}
.emp-row { display: flex; align-items: center; gap: 10px; }
.emp-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--brand); transition: background-color var(--t); flex: none; }
.emp-mark::after { content: ""; display: block; width: 10px; height: 10px; margin: 8px; border-radius: 50%; background: var(--paper); }
.emp-row .emp { font: 800 18px/1 var(--display); font-variation-settings: "wdth" 110; letter-spacing: -.01em; }
.screen-role { font: 900 28px/1 var(--display); font-variation-settings: "wdth" 110; letter-spacing: -.02em; margin-top: 18px; }
.screen-meta { color: var(--muted); font-size: 14px; }
.screen-notice { display: grid; grid-template-columns: 10px 1fr; gap: 12px; align-items: start; padding: 16px; background: var(--sunken); border-radius: 14px; font-size: 14.5px; line-height: 1.45; margin-top: 10px; }
.screen-notice .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--record); margin-top: 5px; animation: pulse 1.6s steps(1) infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.screen-btn { appearance: none; border: 0; margin-top: auto; padding: 18px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font: 700 16px/1 var(--body); transition: background-color var(--t); }
.screen-fine { text-align: center; font-size: 12.5px; color: var(--muted); }
.phone figcaption { margin: 22px 0 0; font-size: 13.5px; color: var(--muted); max-width: 34ch; }

/* ---------- inner-page hero: a brand block with a plate hanging across its edge ---------- */
.page-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px var(--pad); padding: 56px var(--pad) 0; background: var(--brand); color: var(--brand-ink); transition: background-color var(--t); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: var(--ground); }
.page-hero > * { position: relative; z-index: 1; }
.page-hero .copy { padding-bottom: 150px; }
.page-hero h1 { font-size: clamp(3.2rem, 7.6vw, 7.4rem); line-height: .86; margin-left: -.04em; max-width: 10ch; }
.page-hero .lede { margin-top: 24px; max-width: 48ch; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.45; opacity: .95; }
.plate { align-self: end; justify-self: end; width: min(100%, 440px); background: var(--paper); color: var(--ink); border-radius: 28px; padding: 28px; box-shadow: 0 40px 70px -30px rgba(0,0,0,.5); }
.plate.dark { background: var(--ink); color: var(--paper); }
.plate .label { font: 700 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.plate.dark .label { color: rgba(255,255,255,.65); }
.plate .big { font: 900 clamp(4rem, 8vw, 7rem)/.85 var(--display); font-variation-settings: "wdth" 125; letter-spacing: -.06em; color: var(--brand); margin: 12px 0 10px -.04em; transition: color var(--t); }
.plate.dark .big { color: var(--paper); }
.plate pre { margin: 12px 0 0; font-size: 13px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.plate .hint { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.plate.dark .hint { color: rgba(255,255,255,.7); }

/* ---------- section scaffolding ---------- */
.section { padding: 96px var(--pad); }
.section.paper { background: var(--paper); }
.section.tight { padding-top: 64px; padding-bottom: 64px; }
.section .head { margin-bottom: 40px; }
.num { font: 900 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--brand); transition: color var(--t); margin-bottom: 14px; display: block; }
.two { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px var(--pad); align-items: start; }
.two.even { grid-template-columns: 1fr 1fr; }
.two.ways { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.sticky { position: sticky; top: 60px; }

/* ---------- stripes ---------- */
.stripes { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.stripes li { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 8px 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--ink); }
.stripes .n { font: 900 22px/1 var(--display); color: var(--brand); transition: color var(--t); }
.stripes h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.stripes p { margin-top: 8px; max-width: 56ch; color: var(--muted); font-size: 15.5px; }
.stripes .tag { align-self: center; }
.tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--brand-ink); background: var(--brand); padding: 5px 9px; border-radius: 999px; transition: background-color var(--t); white-space: nowrap; display: inline-block; }
.tag.soft { background: var(--sunken); color: var(--ink); }
.tag.rec { background: var(--record); color: #fff; }
.tag.todo { background: #ffe9a8; color: #4a3b00; }
.price { font: 900 15px/1 var(--display); letter-spacing: .02em; white-space: nowrap; }
.keypad-row { background: var(--paper); margin: 0 -16px; padding-left: 16px !important; padding-right: 16px !important; box-shadow: inset 4px 0 0 var(--brand); transition: box-shadow var(--t); }
.stripes.plain li { grid-template-columns: 1fr; }
.stripes.two-col li { grid-template-columns: minmax(0, .4fr) minmax(0, .6fr); align-items: start; }
.stripes.two-col li h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); }
.stripes.two-col li p { margin-top: 0; }
.stripes.two-col li p + p { margin-top: 10px; }

/* ---------- keypad ---------- */
.keypad-stage { background: var(--ink); color: var(--paper); border-radius: 28px; padding: 28px 28px 24px; display: grid; gap: 22px; justify-items: center; }
.code { display: grid; gap: 8px; justify-items: center; }
.code-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.digits { display: flex; gap: 8px; }
.digits b { width: 40px; height: 54px; border: 2px solid rgba(255,255,255,.25); border-radius: 10px; display: grid; place-items: center; font: 900 30px/1 var(--display); color: var(--brand); transition: border-color .2s, color var(--t); }
.digits b:not(:empty) { border-color: var(--paper); }
.keypad { display: grid; grid-template-columns: repeat(3, 72px); gap: 12px; }
.keypad span { height: 72px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; align-content: center; font: 500 28px/1 var(--body); transition: background-color .12s, transform .12s; }
.keypad span small { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-top: 2px; }
.keypad span.press { background: var(--brand); transform: scale(.92); }
.keypad-caption { font-size: 13px; opacity: .75; text-align: center; max-width: 30ch; }

/* ---------- verdicts (home) ---------- */
.verdicts { background: var(--paper); padding: 0 var(--pad) 96px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0 var(--pad); }
.three-words { display: grid; align-content: start; padding-top: 80px; position: sticky; top: 60px; align-self: start; }
.three-words span { font: 900 clamp(3rem, 7vw, 7rem)/.82 var(--display); font-variation-settings: "wdth" 125; letter-spacing: -.05em; text-transform: uppercase; color: var(--brand); transition: color var(--t); }
.three-words span:nth-child(2) { color: var(--ink); margin-left: .5em; }
.three-words span:nth-child(3) { color: var(--rule); margin-left: 1em; }
.writeup { padding-top: 96px; }
.writeup h2 { max-width: 16ch; }
.writeup .intro { margin-top: 20px; max-width: 56ch; color: var(--muted); }
.findings { margin: 36px 0 0; display: grid; gap: 0; border-top: 3px solid var(--ink); }
.findings > div { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.findings dt { font: 700 17px/1.3 var(--body); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.v { font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; }
.v.met { background: var(--brand); color: var(--brand-ink); transition: background-color var(--t); }
.v.partly { background: var(--sunken); color: var(--ink); }
.findings dd { margin: 12px 0 0; display: grid; gap: 6px; }
.findings q { quotes: "“" "”"; font: 500 clamp(1.15rem, 1.6vw, 1.4rem)/1.35 var(--body); font-style: italic; color: var(--ink); max-width: 40ch; }
.cite { font: 700 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); transition: color var(--t); }
.note { font-size: 14px; color: var(--muted); }
.rules { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; max-width: 60ch; font-size: 15px; color: var(--muted); }
.rules li { padding-left: 18px; position: relative; }
.rules li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); transition: background-color var(--t); }

/* ---------- wire: the diagonal band ---------- */
.wire { background: var(--brand); color: var(--brand-ink); padding: 120px var(--pad); clip-path: polygon(0 6vw, 100% 0, 100% calc(100% - 6vw), 0 100%); margin: -1px 0; transition: background-color var(--t); }
.wire-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px var(--pad); align-items: start; }
.wire h2 { max-width: none; }
.wire .wire-inner > p { max-width: 44ch; font-size: 17px; opacity: .95; align-self: end; }
.code-pair { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.code-pair figure, .codeblock { margin: 0; background: var(--ink); color: var(--paper); border-radius: 18px; overflow: hidden; min-width: 0; }
.code-pair figcaption, .codeblock figcaption { padding: 12px 18px; font: 900 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; background: rgba(255,255,255,.08); display: flex; align-items: center; gap: 12px; }
.codeblock figcaption .copy { margin-left: auto; appearance: none; border: 0; cursor: pointer; background: rgba(255,255,255,.12); color: inherit; font: 700 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; }
.codeblock figcaption .copy[data-done="1"] { background: var(--paper); color: var(--ink); }
.code-pair pre, .codeblock pre { margin: 0; padding: 18px; font: 400 13.5px/1.55 var(--mono); overflow-x: auto; }
.code-pair pre b, .codeblock pre b { color: var(--code-green); font-weight: 600; }
.codeblock pre i { font-style: normal; color: rgba(255,255,255,.55); }
.codeblock pre .k { color: #ffd37a; }
.codeblock pre .brandval { color: var(--brand); background: var(--paper); padding: 0 .3em; border-radius: 3px; font-weight: 700; transition: color var(--t); }
:root[data-livery="northwind"] .codeblock pre .brandval { color: #1f4e9c; }
.brand-line { grid-column: 1 / -1; font: 700 clamp(1.1rem, 1.8vw, 1.5rem)/1.35 var(--body); max-width: 52ch; }

/* ---------- languages ---------- */
.langs { padding: 96px var(--pad) 72px; }
.langs-lead { max-width: 60ch; font-size: 17px; color: var(--muted); margin-bottom: 36px; }
.langs-lead b { color: var(--ink); font-weight: 700; }
.lang-wall { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 36px; border-top: 3px solid var(--ink); padding-top: 24px; }
.lang-wall li { font: 900 clamp(2.4rem, 6.4vw, 5.6rem)/1.05 var(--display); font-variation-settings: "wdth" 115; letter-spacing: -.035em; display: inline-flex; align-items: baseline; gap: 10px; color: var(--ink); }
.lang-wall li:nth-child(odd) { color: var(--brand); transition: color var(--t); }
.lang-wall small { font: 700 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lang-wall.small li { font-size: clamp(1.6rem, 3.6vw, 3rem); }

/* ---------- price teaser (home) ---------- */
.price-block { background: var(--paper); padding: 96px var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px var(--pad); align-items: center; }
.big-price { display: grid; justify-items: start; line-height: 1; }
.big-price .from, .big-price .per { font: 700 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.big-price .amount { font: 900 clamp(5rem, 11.5vw, 10.5rem)/.85 var(--display); font-variation-settings: "wdth" 125; letter-spacing: -.06em; color: var(--brand); margin: 10px 0 14px -.04em; transition: color var(--t); }
.price-copy p { margin-top: 18px; color: var(--muted); max-width: 52ch; }
.price-copy table, .ptable { width: 100%; border-collapse: collapse; margin-top: 28px; }
.price-copy th, .price-copy td, .ptable th, .ptable td { text-align: left; padding: 12px 8px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.price-copy thead th, .ptable thead th { font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.price-copy tbody th, .ptable tbody th { font-weight: 600; font-size: 15px; }
.price-copy tbody th small, .ptable tbody th small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); font-weight: 700; }
.price-copy td { font: 900 20px/1 var(--display); }
.ptable td { font-size: 15px; color: var(--muted); }
.ptable td b { font: 900 18px/1 var(--display); color: var(--ink); }
.price-copy .more { display: inline-block; margin-top: 18px; font-weight: 600; }

/* ---------- RATE CARD (pricing): the poster ---------- */
.rate { display: grid; grid-template-columns: minmax(150px, .8fr) repeat(3, minmax(0, 1fr)); border-top: 3px solid var(--ink); }
.rate > div { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--ink); min-width: 0; }
.rate .corner { font: 700 11px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); align-self: end; }
.rate .col { font: 900 clamp(1rem, 1.6vw, 1.35rem)/1.1 var(--display); font-variation-settings: "wdth" 115; letter-spacing: -.01em; align-self: end; }
.rate .col small { display: block; font: 600 12px/1.4 var(--body); color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.rate .row { align-self: center; }
.rate .row b { display: block; font: 900 clamp(1.2rem, 2vw, 1.7rem)/1 var(--display); font-variation-settings: "wdth" 112; letter-spacing: -.02em; }
.rate .row span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 6px; max-width: 22ch; }
.rate .row .tag { margin-top: 8px; }
.rate .amt { font: 900 clamp(2.6rem, 6.4vw, 6rem)/.9 var(--display); font-variation-settings: "wdth" 125; letter-spacing: -.055em; color: var(--ink); display: flex; align-items: baseline; gap: .12em; }
.rate .amt small { font: 700 clamp(.9rem, 1.4vw, 1.2rem)/1 var(--body); letter-spacing: .04em; color: var(--muted); }
.rate .amt.lead { color: var(--brand); transition: color var(--t); }
.rate-note { margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 70ch; }

/* ---------- billing terms as three plates ---------- */
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.terms > div { padding: 28px 24px 26px; border-radius: 22px; background: var(--paper); display: grid; align-content: start; gap: 10px; }
.terms > div.brand { background: var(--brand); color: var(--brand-ink); transition: background-color var(--t); }
.terms > div.dark { background: var(--ink); color: var(--paper); }
.terms .word { font: 900 clamp(2.2rem, 4.4vw, 3.8rem)/.9 var(--display); font-variation-settings: "wdth" 125; letter-spacing: -.045em; text-transform: uppercase; }
.terms p { font-size: 15px; line-height: 1.45; opacity: .95; }
.terms ul { margin: 0; padding-left: 18px; font-size: 15px; display: grid; gap: 4px; }
.terms code { background: rgba(255,255,255,.18); color: inherit; }
.terms .dark code { background: rgba(255,255,255,.14); }
.terms > div:not(.brand):not(.dark) code { background: var(--sunken); }

/* ---------- work it out: segmented stamps + one big number ---------- */
.picker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px var(--pad); align-items: center; }
.seg-label { display: block; font: 700 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.seg button { appearance: none; cursor: pointer; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 12px 18px; font: 700 14px/1 var(--body); display: inline-flex; align-items: center; gap: 8px; transition: background-color .15s, color .15s; }
.seg button small { font-weight: 500; opacity: .7; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg button[aria-pressed="true"] small { opacity: .8; }
.result { background: var(--ink); color: var(--paper); border-radius: 28px; padding: 32px 32px 28px; display: grid; gap: 8px; }
.result .label { font: 700 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.result .amount { font: 900 clamp(5rem, 11vw, 10rem)/.85 var(--display); font-variation-settings: "wdth" 125; letter-spacing: -.06em; color: var(--brand); margin-left: -.04em; transition: color var(--t); }
.result .per { font-size: 15px; opacity: .85; }
.result .meta { font-size: 14px; opacity: .7; margin-top: 8px; }
.result .meta b { color: var(--paper); opacity: 1; font-weight: 600; }

/* ---------- developers: the request as a headline; the event wall ---------- */
.verb { font: 900 clamp(2.2rem, 7vw, 6.5rem)/.9 var(--display); font-variation-settings: "wdth" 125; letter-spacing: -.05em; text-transform: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: .15em .3em; }
.verb .m { color: var(--brand); transition: color var(--t); }
.verb .p { color: var(--ink); font-variation-settings: "wdth" 100; letter-spacing: -.03em; font-weight: 800; }
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 24px; border-top: 3px solid var(--ink); }
.facts li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.facts code { display: block; margin-bottom: 6px; font-size: 14px; background: transparent; padding: 0; color: var(--ink); font-weight: 600; }
.facts span { font-size: 14px; color: var(--muted); }
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 3px solid var(--ink); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 72px 1fr; gap: 0 20px; padding: 24px 0; border-bottom: 1px solid var(--ink); align-items: start; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 900 clamp(2rem, 3.5vw, 3rem)/.9 var(--display); color: var(--brand); transition: color var(--t); letter-spacing: -.04em; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 15.5px; max-width: 52ch; }
.code-stack { display: grid; gap: 16px; }
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 3px solid var(--ink); }
.events li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--ink); }
.events > li > code { font: 900 clamp(1.15rem, 2vw, 1.75rem)/1 var(--display); font-variation-settings: "wdth" 115; letter-spacing: -.03em; background: transparent; padding: 0; color: var(--ink); }
.events > li > code b { color: var(--brand); transition: color var(--t); font-weight: inherit; }
.events > li > code.free b { color: var(--muted); }
.events span { font-size: 14.5px; color: var(--muted); grid-column: 1; max-width: 56ch; }
.events .tag { grid-column: 2; grid-row: 1; }
.ways-table { width: 100%; border-collapse: collapse; border-top: 3px solid var(--ink); }
.ways-table th, .ways-table td { text-align: left; vertical-align: top; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--ink); font-size: 15px; }
.ways-table thead th { font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 14px; padding-bottom: 14px; }
.ways-table tbody th { font: 900 clamp(1.1rem, 1.8vw, 1.5rem)/1.1 var(--display); font-variation-settings: "wdth" 112; letter-spacing: -.02em; }
.ways-table tbody th small { display: block; font: 600 12px/1.4 var(--body); color: var(--muted); margin-top: 6px; letter-spacing: 0; }
.ways-table td { color: var(--muted); }
.ways-table td code { white-space: nowrap; }
.ways-table td .tag { margin-bottom: 8px; }
.swatch { display: inline-block; width: .85em; height: .85em; border-radius: 3px; background: var(--brand); vertical-align: -.1em; margin-right: .3em; transition: background-color var(--t); box-shadow: 0 0 0 1px rgba(255,255,255,.4); }
.ref { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px var(--pad); }
.ref h3 { font-size: 1.1rem; padding-bottom: 10px; border-bottom: 3px solid var(--ink); margin-bottom: 8px; }
.ref ul { list-style: none; margin: 0; padding: 0; }
.ref li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; color: var(--muted); }
.ref li code { background: transparent; padding: 0; color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px; }

/* ---------- candidates: the three poster panels ---------- */
.panels { display: grid; gap: 0; }
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px var(--pad); padding: 80px var(--pad); align-items: center; position: relative; }
.panel.brand { background: var(--brand); color: var(--brand-ink); transition: background-color var(--t); }
.panel.dark { background: var(--ink); color: var(--paper); }
.panel.paper { background: var(--paper); color: var(--ink); }
.panel .pn { position: absolute; top: 28px; left: var(--pad); font: 900 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.panel.paper .pn { color: var(--brand); opacity: 1; transition: color var(--t); }
.panel h2 { max-width: 13ch; font-size: clamp(2.3rem, 4.4vw, 4.2rem); }
.panel h2 span { color: inherit; opacity: .9; }
.panel .lede { margin-top: 20px; max-width: 46ch; font-size: 17px; opacity: .95; }
.panel .lede + .lede { margin-top: 12px; }
.panel.paper .lede { color: var(--muted); }
.panel .phone { justify-self: center; transform: rotate(2deg); width: min(100%, 380px); }
.panel .screen { min-height: 0; padding: 30px 26px 26px; }
.panel .keypad-stage { background: rgba(255,255,255,.06); justify-self: center; width: min(100%, 420px); }
.panel .keypad-stage .keypad span { background: rgba(255,255,255,.1); }
.turns { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; justify-self: center; width: min(100%, 460px); }
.turns li { display: grid; gap: 6px; padding: 16px 18px; border-radius: 18px; background: var(--sunken); font-size: 15.5px; line-height: 1.45; max-width: 88%; }
.turns li.me { background: var(--ink); color: var(--paper); justify-self: end; }
.turns li.ai { background: var(--brand); color: var(--brand-ink); transition: background-color var(--t); }
.turns li small { font: 700 10.5px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.turns li.ai small { opacity: .85; }
.turns .cite { color: inherit; opacity: .75; margin-top: 2px; }
.spoken { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 3px solid var(--ink); }
.spoken li { display: grid; grid-template-columns: minmax(0, .36fr) minmax(0, .64fr); gap: 10px var(--pad); padding: 28px 0; border-bottom: 1px solid var(--ink); align-items: start; }
.spoken h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.spoken h3 .tag { display: inline-block; margin-top: 10px; }
.spoken blockquote { margin: 0; font: 500 clamp(1.1rem, 1.7vw, 1.45rem)/1.4 var(--body); font-style: italic; max-width: 46ch; }
.spoken blockquote .emp { font-style: normal; font-weight: 700; color: var(--brand); transition: color var(--t); }
.spoken .then { font-size: 14.5px; color: var(--muted); margin-top: 12px; max-width: 56ch; }
.stops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--pad); border-top: 3px solid var(--ink); }
.stops > div { padding: 24px 0 28px; border-bottom: 1px solid var(--ink); }
.stops h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
.stops p { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 36ch; }
.kept { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.kept > div { background: var(--paper); border-radius: 22px; padding: 28px 24px; }
.kept .n { font: 900 clamp(3rem, 7vw, 6.5rem)/.85 var(--display); font-variation-settings: "wdth" 125; letter-spacing: -.06em; color: var(--brand); transition: color var(--t); margin-left: -.04em; }
.kept .n small { font: 700 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-left: 8px; }
.kept p { margin-top: 10px; font-size: 15px; color: var(--muted); max-width: 32ch; }
.kept p b { color: var(--ink); }
.pending { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* ---------- privacy: calm stripes with a quiet margin ---------- */
.calm { display: grid; gap: 0; border-top: 3px solid var(--ink); }
.calm > section { display: grid; grid-template-columns: minmax(0, .36fr) minmax(0, .64fr); gap: 12px var(--pad); padding: 36px 0; border-bottom: 1px solid var(--ink); }
.calm h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); max-width: 12ch; }
.calm .body { max-width: 62ch; color: var(--ink); font-size: 16.5px; }
.calm .body p + p, .calm .body ul + p, .calm .body p + ul { margin-top: 12px; }
.calm .body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.calm .body code { font-size: .88em; }
.calm .body .endpoint { display: inline-block; margin-top: 12px; font-size: 13.5px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 8px; overflow-wrap: anywhere; }
.retention { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 6px 0 14px; }
.retention div { display: grid; }
.retention b { font: 900 clamp(3rem, 6vw, 5.4rem)/.85 var(--display); font-variation-settings: "wdth" 125; letter-spacing: -.06em; color: var(--brand); transition: color var(--t); }
.retention span { font: 700 11px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ---------- close ---------- */
.close { background: var(--brand); color: var(--brand-ink); padding: 120px var(--pad); text-align: center; transition: background-color var(--t); }
.close h2 { margin: 0 auto; max-width: 16ch; font-size: clamp(2.6rem, 7vw, 6.4rem); }
.close h2 .emp { display: inline; font: inherit; font-variation-settings: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; margin: 0; }
.close p { margin: 22px auto 0; max-width: 48ch; font-size: 18px; opacity: .95; }
.close .actions { justify-content: center; }
.close .link { color: inherit; }
.close .request .addr code { color: var(--brand); }

/* ---------- footer ---------- */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 28px var(--pad); font-size: 13.5px; color: var(--muted); }
.foot .wordmark { color: var(--ink); font-size: 20px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.foot nav a:hover { text-decoration: underline; }
.foot .right { margin-left: auto; }

/* ---------- phone widths ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; }
  .hero::after { height: 80px; }
  .hero-copy { padding-bottom: 24px; }
  .hero h1 { font-size: clamp(3.6rem, 17vw, 9rem); }
  .phone { justify-self: center; transform: none; width: min(100%, 380px); }
  .screen { min-height: 0; }
  .page-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .page-hero::after { height: 64px; }
  .page-hero .copy { padding-bottom: 16px; }
  .page-hero h1 { font-size: clamp(2.6rem, 11.5vw, 6rem); max-width: none; }
  .plate { justify-self: stretch; width: 100%; }
  .two, .two.even, .two.ways, .picker { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .section { padding: 72px var(--pad); }
  .verdicts { grid-template-columns: 1fr; }
  .three-words { position: static; padding-top: 72px; }
  .three-words span { font-size: clamp(3rem, 16vw, 7rem); }
  .writeup { padding-top: 40px; }
  .wire-inner { grid-template-columns: 1fr; }
  .code-pair { grid-template-columns: 1fr; }
  .price-block { grid-template-columns: 1fr; }
  .livery-note { display: none; }
  .terms { grid-template-columns: 1fr; }
  .ref { grid-template-columns: 1fr; }
  .panel { grid-template-columns: 1fr; padding: 72px var(--pad) 56px; }
  .panel h2 { font-size: clamp(2.1rem, 9vw, 4rem); max-width: none; }
  .panel .phone { transform: none; }
  .spoken li { grid-template-columns: 1fr; }
  .stops { grid-template-columns: 1fr; }
  .calm > section { grid-template-columns: 1fr; }
  .calm h2 { max-width: none; }
  .ways-table thead { display: none; }
  .ways-table tr { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--ink); }
  .ways-table th, .ways-table td { border: 0; padding: 0; }
  .ways-table td::before { content: attr(data-h); display: block; font: 700 10.5px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 8px 0 4px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  h1, h2, h3 { overflow-wrap: anywhere; }
  .events > li > code { overflow-wrap: anywhere; min-width: 0; }
  .livery-bar { gap: 8px 12px; }
  .livery-switch button { padding: 7px 10px; }
  .livery-switch button small { display: none; }
  .stripes li { grid-template-columns: 40px 1fr; gap: 6px 14px; }
  .stripes .tag { grid-column: 2; justify-self: start; }
  .stripes .price { grid-column: 2; }
  .stripes.plain li, .stripes.two-col li { grid-template-columns: 1fr; }
  .keypad-row { margin: 0 -8px; padding-left: 8px !important; padding-right: 8px !important; }
  .keypad { grid-template-columns: repeat(3, 64px); gap: 10px; }
  .keypad span { height: 64px; font-size: 24px; }
  .digits b { width: 34px; height: 46px; font-size: 24px; }
  .keypad-stage { padding: 22px 16px 20px; }
  .wire { padding: 80px var(--pad); clip-path: polygon(0 24px, 100% 0, 100% calc(100% - 24px), 0 100%); }
  .price-copy th, .price-copy td { padding: 10px 6px 10px 0; font-size: 14px; }
  .price-copy thead th { font-size: 10px; letter-spacing: .08em; }
  .price-copy td { font-size: 16px; white-space: nowrap; }
  .foot .right { margin-left: 0; }
  .rate { grid-template-columns: 1fr; border-top: 0; }
  .rate .corner { display: none; }
  .rate > div { padding: 14px 0; }
  .rate .row { border-top: 3px solid var(--ink); padding-top: 22px; border-bottom: 0; }
  .rate .col { display: none; }
  .rate .amt { justify-content: space-between; border-bottom: 1px solid var(--rule); }
  .rate .amt::before { content: attr(data-len); font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); align-self: center; }
  .rate .amt small { margin-left: auto; }
  .kept { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 48px 1fr; }
  .events li { grid-template-columns: 1fr; }
  .events .tag { grid-column: 1; grid-row: auto; justify-self: start; }
  .verb { font-size: clamp(2rem, 11vw, 3.2rem); }
  .plate { padding: 22px 20px; border-radius: 22px; }
  .request .addr code { font-size: 14px; padding: 12px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { --t: 0s; }
  .screen-notice .dot { animation: none; }
  .btn, .keypad span, .digits b, .seg button { transition: none; }
  .btn:hover { transform: none; }
}
