/* REVGARAGE website: Brand Kit v1.2 (owner rebuild, decided 2026-10-16).
 *
 * ONE stylesheet for every redesigned public page: the generated marketing pages
 * (website/scripts/build-home.mjs), the Worker-rendered blog and route-share pages
 * (website/src/blog_page.js, route_page.js) and the hand-maintained /patchnotes.
 * Keep it that way: a second copy of these tokens is how two pages drift apart.
 *
 * The blog pages INLINE this file (src/site_css.js, generated from it): after any rule change run
 * `node website/scripts/build-site-css.mjs`; `make ci-website` fails until you do. Comments are
 * stripped from that copy, so editing only a comment needs no re-run.
 *
 * The world: off-white page, sand header banner carrying the original colour logo, petrol hero and
 * closing bands, sand and stone bands, ink footer. Flush-left 7/5 grid, 4px corners, hairlines
 * instead of shadows, real photos and real app screens. Rust is the ONLY button colour, and there
 * is one rust button per viewport: the header button is outlined until the hero scrolls away
 * (assets/brand/site.js toggles .past). Deliberately single-theme.
 *
 * Contrast (WCAG 2.2 AA, measured for the brand kit): white on petrol 8.44:1, white on rust 4.63:1,
 * ink on sand 7.57:1, ink on stone 8.06:1, petrol on off-white 7.56:1 (secondary text is petrol,
 * never grey). Rust never carries small text. Sand and stone never carry text on white.
 * No shadows, glows or gradients. Satoshi 400 / 500 / 700 only.
 */

@font-face {
  font-family: "Satoshi";
  src: url("/assets/fonts/satoshi/Satoshi-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --sand: #DCAA89; --terracotta: #D6794D; --petrol: #30525C; --teal: #4C848D; --rust: #C05425;
  --rust-d: #A9481F; --stone: #BFB9B5; --ink: #14262B; --off: #F4F2F0; --white: #FFFFFF;
  --hair: rgba(20, 38, 43, .14); --hair-d: rgba(244, 242, 240, .22); --hair-s: rgba(20, 38, 43, .18);
  --font: "Satoshi", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-dxl: 64px; --fs-dlg: 48px; --fs-hxl: 40px; --fs-hmd: 24px; --fs-lead: 20px; --fs-body: 18px;
  --fs-sm: 15px; --fs-cap: 13px;
  --gap: 112px; --r: 4px; --control: 52px;
}
@media (max-width: 1023px) {
  :root { --fs-dxl: 42px; --fs-dlg: 34px; --fs-hxl: 30px; --fs-hmd: 21px; --fs-lead: 18px; --fs-body: 17px; --gap: 72px; }
}

/* ── Base ─────────────────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--off); color: var(--ink);
  font: 400 var(--fs-body)/1.5 var(--font); font-synthesis: none;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; caret-color: var(--rust);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, figure, ul, ol, dl { margin: 0; }
h1, h2, h3, h4 { font-weight: 700; text-wrap: balance; }
p, li, dd, td { text-wrap: pretty; }
a { color: var(--petrol); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--sand); color: var(--ink); }
.pet ::selection, .ink ::selection { background: var(--off); color: var(--ink); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; border-radius: 2px; }
.pet :focus-visible, .ink :focus-visible { outline-color: var(--sand); }
html { scrollbar-color: var(--petrol) var(--off); }
.num, time, table { font-variant-numeric: tabular-nums; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 60; background: var(--ink); color: var(--off); padding: 10px 14px; border-radius: var(--r); text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  max-width: 1200px; margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 1023px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}
section { padding-block: var(--gap); }
section.flush-top { padding-top: 0; }

/* Bands */
.pet { background: var(--petrol); color: var(--white); }
.pet a { color: var(--white); }
.sandbg { background: var(--sand); color: var(--ink); }
.sandbg a { color: var(--ink); }
.stonebg { background: var(--stone); color: var(--ink); }
.stonebg a { color: var(--ink); }
.ink { background: var(--ink); color: var(--off); }
.whitebg { background: var(--white); }

/* ── Type ─────────────────────────────────────────────────────────────────────────────────── */
.dxl { font-size: var(--fs-dxl); line-height: 1.04; letter-spacing: -.022em; max-width: 14ch; }
.dlg { font-size: var(--fs-dlg); line-height: 1.08; letter-spacing: -.018em; max-width: 18ch; }
.hxl { font-size: var(--fs-hxl); line-height: 1.12; letter-spacing: -.015em; max-width: 22ch; }
.hmd { font-size: var(--fs-hmd); line-height: 1.22; letter-spacing: -.008em; }
.lead { font-size: var(--fs-lead); line-height: 1.45; max-width: 52ch; }
.body { max-width: 62ch; }
.sm { font-size: var(--fs-sm); line-height: 1.5; }
.label { font-size: var(--fs-sm); font-weight: 700; color: var(--petrol); }
.pet .label { color: var(--off); }
.muted { color: var(--petrol); }
.pet .muted, .pet .lead { color: var(--off); }
.ink .muted { color: var(--stone); }
.stack { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.stack.tight { gap: 12px; }
.stack > * { max-width: 100%; }
.stack > .ctable-wrap, .stack > .ticks { align-self: stretch; }

/* ── Controls ─────────────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--control); padding: 0 26px; border-radius: var(--r);
  font: 500 16px/1.2 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .18s cubic-bezier(.16, 1, .3, 1), border-color .18s cubic-bezier(.16, 1, .3, 1), color .18s;
}
.btn:hover { text-decoration: none; }
.btn-rust { background: var(--rust); color: var(--white) !important; }
.btn-rust:hover { background: var(--rust-d); }
.btn-line { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.btn-line:hover { background: rgba(20, 38, 43, .06); }
.pet .btn-line, .ink .btn-line { color: var(--white) !important; border-color: rgba(244, 242, 240, .7); }
.pet .btn-line:hover, .ink .btn-line:hover { background: rgba(244, 242, 240, .08); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.under { font-size: var(--fs-sm); }
.pet .under { color: var(--off); }

/* Apple's official badge, never below 40px, unaltered (docs/kb/website-app-store-badge-violated-apple-artwork-rules.md) */
.store-badge { display: inline-block; line-height: 0; border-radius: 8px; }
.store-badge img { height: 48px; width: auto; }

/* ── Header: the original colour logo on white (its blues fought the sand banner, owner 2026-10-19) ── */
.mast { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--hair); }
.mast .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.mast .logo { display: inline-flex; align-items: center; min-height: 44px; }
.mast .logo img { height: 24px; width: auto; }
.mast nav.main { display: flex; gap: 2px; margin-left: 12px; }
.mast nav.main a {
  font: 500 15px/1.25 var(--font); color: var(--ink); text-decoration: none;
  padding: 0 11px; min-height: 44px; display: inline-flex; align-items: center;
}
.mast nav.main a:hover, .mast nav.main a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.mast .end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.mast .end .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.mast.past .end .btn { background: var(--rust); color: var(--white) !important; border-color: transparent; }
.mast.past .end .btn:hover { background: var(--rust-d); }
.mast :focus-visible { outline-color: var(--ink); }
.burger {
  display: none; margin-left: auto; min-height: 44px; padding: 0 14px; border-radius: var(--r);
  background: transparent; color: var(--ink); border: 1px solid var(--ink); font: 500 15px var(--font); cursor: pointer;
}
.sheet { display: none; border-top: 1px solid var(--hair-s); }
.sheet.open { display: block; }
.sheet .wrap { display: grid; gap: 0; padding-block: 8px 16px; min-height: 0; }
.sheet a { text-decoration: none; min-height: 48px; display: flex; align-items: center; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--hair-s); }
.sheet .btn { margin-top: 14px; border-bottom: 0; justify-content: center; }
.sheet .lang { margin-top: 12px; }
@media (max-width: 1100px) { .mast nav.main a { padding: 0 8px; font-size: 14px; } }
@media (max-width: 1023px) { .mast nav.main, .mast .end { display: none; } .burger { display: inline-flex; align-items: center; } }
@media (min-width: 1024px) { .sheet, .sheet.open { display: none; } }
/* Top-bar labels never break onto two lines. The bar holds six links since Route planner joined it
   (owner 2026-11-15); where a language's labels cannot fit, that language gets the Menu button
   instead of the links: French at every width, German below 1080px, Italian below 1240px (each
   measured to overflow below those widths). :lang() also matches the Worker pages' de-CH / fr-CH. */
.mast nav.main a, .mast .end .btn { white-space: nowrap; }
html:lang(fr) .mast nav.main, html:lang(fr) .mast .end { display: none; }
html:lang(fr) .burger { display: inline-flex; align-items: center; }
html:lang(fr) .sheet.open { display: block; }
@media (max-width: 1079px) {
  html:lang(de) .mast nav.main, html:lang(de) .mast .end { display: none; }
  html:lang(de) .burger { display: inline-flex; align-items: center; }
  html:lang(de) .sheet.open { display: block; }
}
@media (max-width: 1239px) {
  html:lang(it) .mast nav.main, html:lang(it) .mast .end { display: none; }
  html:lang(it) .burger { display: inline-flex; align-items: center; }
  html:lang(it) .sheet.open { display: block; }
}

/* Language switcher */
.lang { display: inline-flex; gap: 2px; font: 500 14px/1 var(--font); }
.lang a, .lang .lang-cur { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; padding: 0 6px; border-radius: var(--r); text-decoration: none; }
.lang a { color: inherit; }
.lang a:hover { text-decoration: underline; }
.lang .lang-cur { font-weight: 700; box-shadow: inset 0 -2px 0 currentColor; border-radius: 0; }

/* Breadcrumb */
.crumbs { font-size: var(--fs-sm); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; color: var(--off); }
.crumbs a { color: var(--off); }
.crumbs span[aria-hidden] { opacity: .6; }

/* ── Home hero ────────────────────────────────────────────────────────────────────────────── */
/* Copy sits at the top of the band, not the bottom: on a first visit at 1280x800 the cookie sheet
 * covers the lower half of the viewport, and bottom-aligned copy put the H1 and the button under it
 * (docs/kb/website-hero-h1-under-first-visit-cookie-sheet.md). */
.hero { padding-block: 32px 0; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: start; }
.hero .copy { padding-top: 8px; padding-bottom: 104px; }
.hero h1 { color: var(--white); }
.hero .visual { position: relative; height: 600px; }
/* Two real app screens in their phone frames (Webapp design V2, demo data). The front phone sits on
 * the band's bottom edge and is cut by it, so the app reads as continuing below the fold. */
.hero .phone { position: absolute; width: 300px; height: auto; }
.hero .phone-front { right: 4%; bottom: -96px; z-index: 2; }
.hero .phone-back { right: calc(4% + 196px); bottom: -24px; width: 250px; opacity: .92; }
@media (max-width: 1023px) {
  .hero { padding-top: 48px; }
  .hero .grid { grid-template-columns: 1fr; gap: 8px; }
  .hero .copy { padding-bottom: 32px; }
  .hero .visual { height: 360px; }
  .hero .phone-front { width: 230px; right: auto; left: calc(50% - 40px); bottom: -150px; }
  .hero .phone-back { width: 190px; right: auto; left: calc(50% - 175px); bottom: -96px; }
}

/* ── Recently shipped ─────────────────────────────────────────────────────────────────────── */
.ship { padding-block: 56px; }
.ship .head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.ship ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.ship li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.ship time { color: var(--petrol); font-size: var(--fs-sm); padding-top: 2px; }
@media (max-width: 600px) { .ship li { grid-template-columns: 1fr; gap: 2px; } }

/* ── Pain list ────────────────────────────────────────────────────────────────────────────── */
.pains { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; max-width: 960px; }
.pains li { font-size: var(--fs-lead); line-height: 1.45; padding: 18px 0; border-top: 1px solid rgba(20, 38, 43, .25); }
@media (max-width: 767px) { .pains { grid-template-columns: 1fr; } }

/* ── Feature rows ─────────────────────────────────────────────────────────────────────────── */
.rows { display: grid; gap: var(--gap); }
.row { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.row.flip { grid-template-columns: 5fr 7fr; }
.row.flip .media { order: -1; }
.row > * { min-width: 0; }
.row .more { font-weight: 500; }
@media (max-width: 767px) { .row, .row.flip { grid-template-columns: 1fr; gap: 28px; } .row.flip .media { order: 0; } }
.media { display: flex; justify-content: center; gap: 12px; align-items: flex-end; }
/* A phone mockup is a transparent PNG: its frame IS the edge, so no border, no radius, no shadow. */
.phone-shot { width: min(100%, 300px); height: auto; }
.media .phone-shot.small { width: min(48%, 240px); }
.media .phone-shot.small + .phone-shot.small { margin-bottom: 48px; }
.photo { border-radius: var(--r); overflow: hidden; border: 1px solid var(--hair); }
.cap { font-size: var(--fs-cap); color: var(--petrol); margin-top: 8px; }

/* ── Steps ────────────────────────────────────────────────────────────────────────────────── */
/* Setup: the promise on the left, three numbered hairline rows on the right */
.setup { display: grid; grid-template-columns: 5fr 7fr; gap: 48px 96px; align-items: start; }
.setup .steps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--hair); }
.setup .steps li { counter-increment: s; display: grid; grid-template-columns: 96px 1fr; gap: 6px 24px; padding: 28px 0; border-bottom: 1px solid var(--hair); }
.setup .steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font: 700 48px/1 var(--font); letter-spacing: -.02em; color: var(--petrol); font-variant-numeric: tabular-nums; }
.setup .st { font-size: var(--fs-hmd); font-weight: 700; line-height: 1.22; letter-spacing: -.008em; }
.setup .sd { color: var(--petrol); }
@media (max-width: 900px) { .setup { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 767px) { .setup .steps li { grid-template-columns: 52px 1fr; gap: 4px 16px; padding: 22px 0; } .setup .steps li::before { font-size: 32px; } }

/* ── Drives band ──────────────────────────────────────────────────────────────────────────── */
.drives { padding-block: 0; }
.drives .pic { aspect-ratio: 1600 / 700; width: 100%; object-fit: cover; max-height: 620px; }
.drives .panel { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; padding-block: 56px 72px; align-items: start; }
@media (max-width: 767px) { .drives .panel { grid-template-columns: 1fr; } .drives .pic { aspect-ratio: 4 / 3; } }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair-d); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--hair-d); display: flex; justify-content: space-between; gap: 16px; }
.facts li span:last-child { font-weight: 700; text-align: right; }

/* ── Free / facts card ────────────────────────────────────────────────────────────────────── */
.free > .stack { max-width: 760px; }

/* ── FAQ ──────────────────────────────────────────────────────────────────────────────────── */
.faq { max-width: 820px; margin-top: 32px; border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-size: var(--fs-hmd); line-height: 1.25; font-weight: 700; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--rust), var(--rust)) center / 14px 2px no-repeat, linear-gradient(var(--rust), var(--rust)) center / 2px 14px no-repeat; }
.faq details[open] summary::after { background: linear-gradient(var(--rust), var(--rust)) center / 14px 2px no-repeat; }
.faq summary:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.faq .faq-a, .faq details > p { padding-bottom: 22px; max-width: 64ch; }

/* ── Closing band ─────────────────────────────────────────────────────────────────────────── */
.closing .stack { gap: 24px; }

/* ── Blog cards (rendered at runtime by assets/blog-cards.js) ─────────────────────────────── */
.bhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.bcards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bcards:empty { display: none; }
.bcards li { min-width: 0; display: flex; }
.bcard { flex: 1; display: grid; align-content: start; gap: 10px; padding: 22px 22px 26px; overflow: hidden; background: var(--white); border: 1px solid var(--hair); border-top: 3px solid var(--sand); border-radius: var(--r); color: var(--ink); text-decoration: none; }
.bcards li:nth-child(2) .bcard { border-top-color: var(--stone); }
.bcards li:nth-child(3) .bcard { border-top-color: var(--petrol); }
.bcard:hover { border-color: var(--ink); text-decoration: none; }
/* The post's own picture, full bleed at the top of the card; posts without one get the logo on petrol */
.bcard-a { display: block; margin: -22px -22px 8px; aspect-ratio: 16 / 10; background: var(--petrol); overflow: hidden; }
.bcard-a img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bcard-a.ph { display: grid; place-items: center; }
.bcard-a.ph img { width: 46%; height: auto; object-fit: contain; }
.bcard-d { font-size: 14px; color: var(--petrol); }
.bcard-t { font-size: var(--fs-hmd); line-height: 1.22; font-weight: 700; letter-spacing: -.008em; }
.bcard-x { color: var(--petrol); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bnote { margin-top: 24px; color: var(--petrol); }
@media (max-width: 900px) {
  .bcards { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; padding-bottom: 8px; }
  .bcards li { flex: 0 0 80%; max-width: 340px; scroll-snap-align: start; }
}

/* ── Inner pages: hero, sections, tables ──────────────────────────────────────────────────── */
.vhero { padding-block: 72px 88px; overflow: hidden; }
.vhero .grid { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: center; }
.vhero .grid > * { min-width: 0; }
.vhero .stack { gap: 22px; }
.vhero h1 { color: var(--white); max-width: 18ch; }
.vhero .vphone { justify-self: center; width: min(100%, 280px); margin-bottom: -200px; }
.vhero.has-phone { padding-bottom: 0; }
.vhero.has-phone .stack { padding-bottom: 88px; }
@media (max-width: 1023px) {
  .vhero { padding-block: 48px 64px; }
  .vhero .grid { grid-template-columns: 1fr; }
  .vhero .vphone { width: 220px; margin-bottom: -150px; }
  .vhero.has-phone .stack { padding-bottom: 8px; }
  .vhero.has-phone .grid { gap: 32px; }
}
.vhero.has-phone + section { padding-top: calc(var(--gap) + 40px); }
@media (max-width: 1023px) { .vhero.has-phone + section { padding-top: calc(var(--gap) + 110px); } }

.sec { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.sec > * { min-width: 0; }
.sec .sec-body { display: grid; gap: 24px; }
@media (max-width: 1023px) { .sec { grid-template-columns: 1fr; gap: 20px; } }
.sections > section + section { border-top: 1px solid var(--hair); }
.sections > section { padding-block: 72px; }
@media (max-width: 767px) { .sections > section { padding-block: 56px; } }

.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); max-width: 720px; }
.ticks li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--hair); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 14px; height: 8px; border-left: 2px solid var(--rust); border-bottom: 2px solid var(--rust); transform: rotate(-45deg); }
.pet .ticks, .pet .ticks li { border-color: var(--hair-d); }
.pet .ticks li::before { border-color: var(--sand); }

.ctable-wrap { overflow-x: auto; border: 1px solid var(--hair); border-radius: var(--r); background: var(--white); }
.ctable, table.cmp { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 16px; line-height: 1.45; }
.ctable caption, table.cmp caption { text-align: left; padding: 14px 18px; font-size: var(--fs-sm); font-weight: 700; color: var(--petrol); border-bottom: 1px solid var(--hair); }
.ctable th, .ctable td, table.cmp th, table.cmp td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--hair); }
.ctable thead th, table.cmp thead th { font-size: 15px; font-weight: 700; background: var(--off); }
.ctable tbody th, table.cmp tbody th { font-weight: 500; width: 28%; }
.ctable tr:last-child th, .ctable tr:last-child td, table.cmp tr:last-child th, table.cmp tr:last-child td { border-bottom: 0; }
table.cmp thead th:nth-child(2) { color: var(--petrol); }
table.cmp tbody td:nth-child(2) { font-weight: 500; }
.ctable-verified, .src { margin-top: 14px; font-size: 14px; color: var(--petrol); max-width: 70ch; }
@media (max-width: 767px) {
  table.cmp { min-width: 0; }
  table.cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.cmp tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--hair); }
  table.cmp tr:last-child { border-bottom: 0; }
  table.cmp tbody th { grid-column: 1 / -1; width: auto; font-weight: 700; padding-bottom: 4px; border: 0; }
  table.cmp td { border: 0; padding-top: 4px; font-size: 15px; }
  table.cmp td::before { content: attr(data-l); display: block; font-size: 13px; font-weight: 500; color: var(--petrol); margin-bottom: 2px; }
}

/* REV example exchange */
.qa { display: grid; gap: 14px; max-width: 760px; }
.msg { padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--hair); background: var(--white); }
.msg .who { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--petrol); margin-bottom: 6px; }
.msg-rev { background: var(--petrol); border-color: var(--petrol); color: var(--white); margin-left: 48px; }
.msg-rev .who { color: var(--sand); }
@media (max-width: 600px) { .msg-rev { margin-left: 20px; } }

.limit { border-top: 2px solid var(--ink); padding-top: 18px; display: grid; gap: 10px; max-width: 760px; }
.limit h3, .limit h2 { font-size: var(--fs-hmd); line-height: 1.22; }

/* Screens row (feature pages) */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; margin-top: 40px; align-items: end; }
.screens figure { display: grid; gap: 12px; justify-items: center; }
.screens .phone-shot { width: min(100%, 260px); }
.screens figcaption { font-size: var(--fs-sm); color: var(--petrol); max-width: 30ch; text-align: center; }
@media (max-width: 767px) {
  .screens { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding-inline: 16px; gap: 16px; }
  .screens figure { flex: 0 0 64%; scroll-snap-align: start; }
}

/* Related links */
.related { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--hair); }
.related li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.related .rel-a { font-size: var(--fs-hmd); font-weight: 700; line-height: 1.25; color: var(--ink); text-decoration-color: var(--rust); }
.related .rel-b { color: var(--petrol); }
@media (max-width: 767px) { .related { grid-template-columns: 1fr; } }

/* Two-up choice (compare pages) and platform cards */
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.pick > div { border-top: 2px solid var(--ink); padding-top: 18px; display: grid; gap: 12px; align-content: start; }
@media (max-width: 767px) { .pick { grid-template-columns: 1fr; gap: 32px; } }
.ccards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 767px) { .ccards { grid-template-columns: 1fr; } }
.ccard { display: grid; gap: 10px; align-content: start; padding: 24px; border: 1px solid var(--hair); border-radius: var(--r); background: var(--white); text-decoration: none; color: var(--ink); }
.ccard:hover { border-color: var(--ink); text-decoration: none; }
.ccard .go { color: var(--petrol); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.ccard p { color: var(--petrol); }

/* ── Footer ───────────────────────────────────────────────────────────────────────────────── */
footer.site { padding-block: 64px 40px; font-size: var(--fs-sm); background: var(--ink); color: var(--off); }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { footer.site .cols { grid-template-columns: 1fr 1fr; } footer.site .fbrand { grid-column: 1 / -1; } }
footer.site .fbrand { display: grid; gap: 16px; align-content: start; max-width: 36ch; }
footer.site .fbrand .flogo { height: 24px; width: auto; }
footer.site .fh, footer.site h2, footer.site h3 { margin: 0 0 10px; font-size: var(--fs-sm); font-weight: 700; color: var(--white); }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site a { color: var(--off); text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; }
footer.site a:hover { text-decoration: underline; }
footer.site .muted { color: var(--stone); }
footer.site .legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hair-d); display: grid; gap: 14px; color: var(--stone); font-size: 14px; }
footer.site .legal .row2 { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
footer.site .legal a { color: var(--off); min-height: 0; display: inline; text-decoration: underline; text-underline-offset: 3px; }
footer.site .lang a { display: inline-flex; min-height: 36px; text-decoration: none; }
footer.site [data-rg-cookie-settings] button, footer.site .rg-cookie-settings { font: inherit; color: var(--off); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 36px; }

/* ── Sticky mobile install bar ────────────────────────────────────────────────────────────── */
.sticky { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--off); border-top: 1px solid var(--hair);
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.sticky .btn { width: 100%; }
@media (max-width: 767px) { body.past:not(.atend) .sticky { display: block; } }

/* ── Cookie-consent banner (assets/rg-analytics.js), re-skinned for this world only ──────────
 * rg-analytics.js injects its own dark stylesheet AFTER this one, so every rule here is prefixed
 * with "html body" to outrank it on specificity rather than on source order. Behaviour, copy and
 * the equal weight of "Deny all" and "Allow all" (CNIL / EDPB 03/2022) are untouched. */
html body #rg-consent { font: 14px/1.45 var(--font); color: var(--ink); background: var(--off); border-top: 1px solid var(--ink); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html body #rg-consent h2 { color: var(--ink); font-size: 17px; }
html body #rg-consent a { color: var(--petrol); }
html body #rg-consent .rg-c-langs button { color: var(--petrol); border-radius: var(--r); letter-spacing: .04em; }
html body #rg-consent .rg-c-langs button[aria-pressed=true] { background: var(--ink); color: var(--off); }
html body #rg-consent .rg-c-langs button:hover { color: var(--ink); }
html body #rg-consent .rg-c-opts { border-top-color: var(--hair); }
html body #rg-consent .rg-c-opt { border-bottom-color: var(--hair); }
html body #rg-consent .rg-c-opt b { color: var(--ink); font-weight: 700; }
html body #rg-consent .rg-c-opt small, html body #rg-consent .rg-c-note { color: var(--petrol); }
html body #rg-consent .rg-c-state { color: var(--petrol); letter-spacing: .02em; text-transform: none; font-size: 13px; }
html body #rg-consent .rg-c-state.rg-c-on { color: var(--ink); }
html body #rg-consent .rg-c-switch input { background: var(--stone); }
html body #rg-consent .rg-c-switch input:checked { background: var(--petrol); }
html body #rg-consent .rg-c-switch input:focus-visible, html body #rg-consent button:focus-visible { outline: 3px solid var(--rust); }
html body #rg-consent .rg-c-switch .rg-c-knob { box-shadow: none; }
html body #rg-consent .rg-c-row button { border-radius: var(--r); border: 1px solid var(--ink); background: transparent; color: var(--ink); font-weight: 500; min-height: 48px; }
html body #rg-consent .rg-c-row button:hover { background: rgba(20, 38, 43, .06); border-color: var(--ink); }
html body #rg-consent .rg-c-row button.rg-c-primary { background: var(--rust); border-color: var(--rust); color: var(--white); }
html body #rg-consent .rg-c-row button.rg-c-primary:hover { background: var(--rust-d); border-color: var(--rust-d); }
html body #rg-consent.rg-c-select .rg-c-allow { background: transparent; border-color: var(--ink); color: var(--ink); }
html body .rg-cookie-fallback button { background: var(--off); color: var(--ink); border: 1px solid var(--ink); border-radius: var(--r); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ── Motion: one authored moment. Hero phones rise into the band on first paint. ─────────── */
@media (prefers-reduced-motion: no-preference) {
  .hero .phone-front { animation: rise .9s cubic-bezier(.16, 1, .3, 1) .05s both; }
  .hero .phone-back { animation: rise .9s cubic-bezier(.16, 1, .3, 1) .18s both; }
  @keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
