/* Viametry website, 2026 redesign. Self-hosted Barlow (OFL, assets/fonts/OFL.txt). */
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/barlow-400-latin-ext.woff2?v=122b24bc2a) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/barlow-400-latin.woff2?v=b0a8ad37ac) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/barlow-500-latin-ext.woff2?v=3facdf66b6) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/barlow-500-latin.woff2?v=cd759df8ef) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/barlow-600-latin-ext.woff2?v=b7f099c421) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/barlow-600-latin.woff2?v=4b52ddd483) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/barlow-semi-condensed-600-latin-ext.woff2?v=5a58c6c988) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/barlow-semi-condensed-600-latin.woff2?v=f158417e92) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/barlow-semi-condensed-700-latin-ext.woff2?v=109b73c772) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/barlow-semi-condensed-700-latin.woff2?v=fb958c8c20) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}


:root {
  --red: #CC1428; --red-dark: #A8101F; --red-soft: rgba(204, 20, 40, .08);
  --ink: #17202A; --slate: #424C59; --muted: #57534E; --faint: #8C867F;
  --canvas: #F6F4F0; --surface: #FFFFFF; --tint: #EEF0F3; --line: #DDD9D4;
  --dark: #10171E; --dark-2: #19222C; --dark-line: rgba(255, 255, 255, .12); --dark-text: #B4BCC5;
  --good: #2F6B4F; --amber: #806022;
  --display: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --section: clamp(44px, 5vw, 72px);
  --radius: 10px;
  --shadow: 0 1px 2px rgba(23, 32, 42, .05), 0 10px 30px rgba(23, 32, 42, .08);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (max-width: 960px) { html { scroll-padding-top: 64px; } }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
h1, .display-title, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -.005em; text-wrap: balance; }
h1, .display-title { font-size: clamp(40px, 5vw, 64px); }
.display-title { color: var(--ink); }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; }
h3 { font-size: 22px; font-weight: 600; line-height: 1.2; }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 18px; background: var(--surface); }
.skip:focus { top: 12px; }
.review-note { margin: 0; padding: 8px 20px; background: var(--ink); color: var(--surface); font-size: 0.875rem; text-align: center; }
.num { font-variant-numeric: tabular-nums; }
.eyebrow { display: flex; align-items: center; gap: 12px; font: 600 12px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--red); flex-shrink: 0; }
.lead { font-size: 19px; line-height: 1.55; max-width: 58ch; }
.text-link { display: inline-flex; gap: 8px; font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--red); padding-bottom: 2px; }
/* Tap targets (owner 8 Nov 2026): at least 44 px to a finger. Room above the text that the negative margin takes back,
   so the link, its underline and the layout stay where they were. */
.text-link { padding-top: 14px; margin-top: -14px; }
.text-link:hover { color: var(--red); }
.fine { font-size: 13px; line-height: 1.55; color: var(--muted); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 22px; border-radius: 6px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 600 16px/1.2 var(--body); white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.button:hover { background: var(--slate); border-color: var(--slate); }
.button.secondary { background: transparent; color: var(--ink); border-color: #9C968F; }
.button.secondary:hover { background: var(--surface); border-color: var(--ink); }
.button.red { background: var(--red); border-color: var(--red); }
.button.red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.button.light { background: #fff; color: var(--ink); border-color: #fff; }
.button.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.button.ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid #E9E6E1; }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand img { width: 150px; }
.desktop-nav { display: flex; gap: 26px; margin-left: auto; font: 500 16px/1 var(--body); }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.sign-in { font: 600 16px/1 var(--body); }
.brand, .sign-in { display: inline-flex; align-items: center; min-height: 44px; }
.sign-in:hover { color: var(--red); }
.header-actions .button { min-height: 42px; padding: 10px 16px; font-size: 15px; }
.language-picker { position: relative; }
.language-picker summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font: 600 14px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 10px 6px; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary::after { content: ""; width: 7px; height: 7px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.language-picker nav { position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 6px; }
.language-picker nav a { padding: 10px 12px; border-radius: 5px; font-size: 15px; }
.language-picker nav a:hover { background: var(--tint); }
.language-picker nav a[aria-current] { font-weight: 600; color: var(--red); }
.mobile-menu { display: none; }
@media (max-width: 960px) {
  .desktop-nav, .header-actions .language-picker, .header-actions .button { display: none; }
  .header-inner { height: 64px; gap: 16px; }
  .brand img { width: 132px; }
  .header-actions { margin-left: auto; }
  .mobile-menu { display: block; }
  .mobile-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; margin-right: -10px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 22px; height: 14px; background: linear-gradient(var(--ink) 0 0) top / 100% 2px no-repeat, linear-gradient(var(--ink) 0 0) center / 100% 2px no-repeat, linear-gradient(var(--ink) 0 0) bottom / 100% 2px no-repeat; }
  .mobile-menu > nav { position: absolute; left: 0; right: 0; top: 64px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(23, 32, 42, .1); padding: 10px 20px 20px; display: grid; }
  .mobile-menu > nav > a:not(.button) { padding: 14px 0; border-bottom: 1px solid var(--tint); font: 600 18px/1.2 var(--body); }
  .mobile-menu .button { margin-top: 16px; }
  .mobile-menu .langs { display: flex; gap: 8px; margin-top: 16px; }
  .mobile-menu .langs a { flex: 1; text-align: center; padding: 10px; border: 1px solid var(--line); border-radius: 6px; font-weight: 600; }
  .mobile-menu .langs a[aria-current] { border-color: var(--ink); }
}

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 40px; align-items: center; padding-block: 48px 56px; }
.hero .display-title em { font-style: normal; color: var(--red); }
.hero .lead { margin-top: 20px; max-width: 30em; }
.hero .actions { margin-top: 28px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 20px; font: 500 15px/1.3 var(--body); color: var(--muted); }
.trust-line span + span::before { content: "·"; margin-right: 14px; color: var(--red); font-weight: 700; }
.hero-copy .display-title { margin-top: 18px; }
.hero-map { min-width: 0; }
@media (max-width: 1099px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 40px; }
  .hero-map { width: 100%; max-width: 760px; justify-self: center; }
}

/* Route map (heromap.py). One --u is one design pixel of the map's own box. */
.route-map { position: relative; width: 100%; container-type: inline-size; }
.route-map.m { display: none; }
.map-area { position: relative; }
@media (max-width: 699px) { .route-map.d { display: none; } .route-map.m { display: block; } }
.route-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.route-map .road { fill: none; stroke: #DCD7D1; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.route-map .town { fill: #C2BCB5; }
.route-map text { font: 500 11.5px var(--body); fill: #8C867F; }
.route-map text.city { font: 600 15px var(--body); fill: var(--ink); }
.route-map .route-glow { fill: none; stroke: rgba(204, 20, 40, .13); stroke-width: 15; stroke-linecap: round; stroke-linejoin: round; }
.route-map .route { fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1000; stroke-dashoffset: 0; animation: route-draw 2.4s .3s cubic-bezier(.45, .05, .25, 1) backwards; }
.route-map .stop { fill: #fff; stroke: var(--red); stroke-width: 4; }
.route-map .stop.fill { fill: var(--red); }
.route-map .stop.info { fill: #fff; stroke: #C99A2E; stroke-width: 4; }
.route-map .dot, .route-map .bolt { fill: #fff; }
.route-map .leader { stroke: #9C968F; stroke-width: 1.3; stroke-dasharray: 3 4; }
.route-map .pulse { fill: none; stroke: var(--red); stroke-width: 1.6; opacity: 0; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.map-callout, .map-trip { position: absolute; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(23, 32, 42, .05), 0 calc(var(--u) * 10) calc(var(--u) * 26) rgba(23, 32, 42, .10); animation: pop .5s cubic-bezier(.2, .8, .2, 1) backwards; }
.map-callout { display: grid; gap: calc(var(--u) * 3); padding: calc(var(--u) * 11) calc(var(--u) * 14); border-radius: calc(var(--u) * 8); }
.map-callout small { font: 600 calc(var(--u) * 10)/1.1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.map-callout strong { font: 700 calc(var(--u) * 20)/1.1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.map-callout span { font: 500 calc(var(--u) * 13)/1.25 var(--body); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.map-callout.warm small { color: var(--amber); }
.map-trip { display: grid; gap: calc(var(--u) * 9); padding: calc(var(--u) * 15) calc(var(--u) * 17) calc(var(--u) * 14); border-radius: calc(var(--u) * 9); border-top: calc(var(--u) * 4) solid var(--ink); }
.map-trip .tag { justify-self: start; font: 700 calc(var(--u) * 9.5)/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); background: var(--red-soft); padding: calc(var(--u) * 5) calc(var(--u) * 8); border-radius: calc(var(--u) * 4); }
.map-trip strong { font: 700 calc(var(--u) * 22)/1.05 var(--display); color: var(--ink); white-space: nowrap; }
.map-trip .cmp { display: grid; gap: calc(var(--u) * 8); }
.map-trip .cmp div { display: grid; grid-template-columns: 1fr auto; gap: calc(var(--u) * 5) calc(var(--u) * 10); font: 500 calc(var(--u) * 12.5)/1.1 var(--body); color: var(--muted); font-variant-numeric: tabular-nums; }
.map-trip .cmp b { color: var(--ink); font-weight: 600; font-size: calc(var(--u) * 13.5); }
.map-trip .cmp i { grid-column: 1 / -1; height: calc(var(--u) * 7); border-radius: calc(var(--u) * 4); background: var(--slate); }
.map-trip .cmp .petrol i { width: 100%; background: repeating-linear-gradient(135deg, #B9BFC7 0 calc(var(--u) * 4), #DADEE3 calc(var(--u) * 4) calc(var(--u) * 8)); }
.map-trip.below { position: relative; margin-top: calc(var(--u) * 6); }
.map-trip p { font: 600 calc(var(--u) * 12.5)/1.25 var(--body); color: var(--good); border-top: 1px solid var(--line); padding-top: calc(var(--u) * 9); }
@keyframes route-draw { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { opacity: .7; transform: scale(.7); } 100% { opacity: 0; transform: scale(2.6); } }

/* Sections */
.section { padding-block: var(--section); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 36px; }
.section-head.split { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 16px 56px; }
.section-head.split p { max-width: 46ch; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }
.band-white { background: var(--surface); border-block: 1px solid #E9E6E1; }
.band-dark { background: var(--dark); color: #fff; }
.band-dark p { color: var(--dark-text); }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: #FF9AA4; }

/* Petrol calculator */
.calc-band { background: radial-gradient(900px 420px at 88% 100%, rgba(204, 20, 40, .22), transparent 70%), linear-gradient(160deg, #141D26, #0C1218); color: #fff; }
.calc-band .eyebrow { color: #FF9AA4; }
.calc-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.calc-grid .lead { margin-top: 16px; color: var(--dark-text); }
.calc-grid .actions { margin-top: 26px; }
.calc { background: rgba(255, 255, 255, .04); border: 1px solid var(--dark-line); border-radius: 12px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.calc label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font: 500 17px/1.3 var(--body); color: #D5DBE1; }
.calc output { font: 700 26px/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.calc input[type="range"] { width: 100%; accent-color: var(--red); margin: -8px 0; height: 44px; }
.calc .saving { font: 700 clamp(52px, 7vw, 84px)/.95 var(--display); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.calc .saving-note { margin-top: 6px; color: var(--dark-text); font-size: 16px; }
.calc .rows { display: grid; gap: 12px; }
.calc .row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font: 500 15px/1.2 var(--body); color: #D5DBE1; font-variant-numeric: tabular-nums; }
.calc .row b { color: #fff; font-weight: 600; }
.calc .track { display: block; grid-column: 1 / -1; height: 14px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.calc .track i { display: block; height: 100%; border-radius: 4px; transition: width .25s ease; }
.calc .ev i { background: var(--red); }
.calc .ice i { background: repeating-linear-gradient(135deg, #6B7682 0 6px, #4A545F 6px 12px); }
.calc .fine { color: #8E98A3; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Product bento */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tile { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tile-text { padding: 24px 26px 18px; display: grid; gap: 6px; }
.tile-text h3 { font-size: 24px; }
.tile-shot { align-self: end; height: 290px; overflow: hidden; padding: 0 26px; }
.tile-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; box-shadow: 0 -6px 24px rgba(23, 32, 42, .06); }
.bento-foot { margin-top: 28px; }
@media (max-width: 760px) { .bento { grid-template-columns: 1fr; } .tile-text { padding: 20px 20px 16px; } .tile-shot { padding: 0 16px; height: auto; } .tile-shot img { height: auto; } }

/* Business band */
.biz-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.biz-grid .lead { margin-top: 16px; }
.points { list-style: none; padding: 0; display: grid; gap: 18px; margin-top: 28px; }
.points.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
@media (max-width: 600px) { .points.two { grid-template-columns: 1fr; } }
.points li { display: grid; gap: 3px; padding-left: 20px; border-left: 2px solid var(--red); }
.points b { font: 600 18px/1.3 var(--body); color: inherit; }
.points span { color: var(--muted); font-size: 16px; }
.band-dark .points span { color: var(--dark-text); }
.flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.flags span { font: 700 13px/1 var(--body); letter-spacing: .08em; padding: 8px 10px; border-radius: 5px; background: #fff; color: var(--ink); }
.band-dark .flags span { background: rgba(255, 255, 255, .1); color: #fff; }
.biz-grid .actions { margin-top: 30px; }
.shot { width: fit-content; max-width: 100%; justify-self: center; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.shot img { display: block; }
.band-dark .shot { border-color: rgba(255, 255, 255, .14); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
@media (max-width: 960px) { .biz-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.trust div { display: grid; gap: 8px; align-content: start; }
.trust svg { width: 28px; height: 28px; stroke: var(--red); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust h3 { font-size: 20px; }
.trust p { font-size: 16px; }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .trust { gap: 22px 16px; } .trust h3 { font-size: 18px; } .trust p { font-size: 15px; } }

.trust-band { padding-block: 36px; }

/* Pricing */
.billing-toggle { display: inline-flex; padding: 4px; border-radius: 8px; background: var(--tint); margin-bottom: 22px; }
.billing-toggle button { border: 0; background: none; padding: 9px 18px; border-radius: 6px; font-weight: 600; color: var(--slate); }
.billing-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(23, 32, 42, .12); }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.price-card { position: relative; display: grid; gap: 14px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: 12px; padding: 28px; }
.price-card.personal { border-top-color: var(--red); }
.price-card h2, .price-card h3 { font-size: 26px; font-weight: 600; line-height: 1.2; }
.price-card .for { font-size: 16px; }
.price { display: flex; align-items: baseline; gap: 8px; font: 700 56px/1 var(--display); font-variant-numeric: tabular-nums; }
.price small { font: 500 17px/1 var(--body); color: var(--muted); }
.price-card .tax { font-size: 14px; color: var(--muted); }
.price-card .tax .vat { color: var(--ink); font-weight: 600; }
.vat-tip { display: inline-block; position: relative; vertical-align: bottom; }
.vat-tip summary { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; list-style: none; min-height: 44px; margin-block: -11px; }
.vat-tip summary::-webkit-details-marker { display: none; }
.vat-tip summary .vat { text-decoration: underline dotted var(--faint); text-underline-offset: 3px; }
.vat-i { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--slate); color: var(--slate); font: 600 11px/1 var(--body); font-style: italic; }
.vat-tip[open] .vat-i { background: var(--ink); border-color: var(--ink); color: #fff; }
.vat-tip .tip { position: absolute; left: 0; top: calc(100% + 8px); z-index: 5; white-space: nowrap; padding: 8px 12px; border-radius: 8px; background: var(--ink); color: #fff; font: 600 14px/1.3 var(--body); box-shadow: var(--shadow); }
.vat-tip .tip::before { content: ""; position: absolute; left: 18px; top: -5px; width: 10px; height: 10px; background: var(--ink); transform: rotate(45deg); }
.founding { justify-self: start; font: 600 14px/1.3 var(--body); color: var(--red-dark); background: var(--red-soft); padding: 7px 11px; border-radius: 6px; }
.price-card ul { list-style: none; padding: 0; display: grid; gap: 8px; margin-block: 4px 6px; }
.price-card li { padding-left: 26px; position: relative; font-size: 16px; }
.price-card li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 6px; border: solid var(--good); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.price-card .button { justify-self: start; margin-top: 6px; }
.price-foot { margin-top: 18px; display: grid; gap: 6px; }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } .price-card { padding: 22px; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 48px; align-items: start; }
.faq-grid > .section-head { align-content: start; }
.questions { display: grid; border-top: 1px solid var(--line); }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font: 600 18px/1.35 var(--body); }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; font: 400 26px/.9 var(--body); color: var(--red); transition: transform .2s; }
.questions details[open] summary::after { transform: rotate(45deg); }
.questions details p { padding: 0 40px 20px 0; font-size: 17px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Closing */
.closing { text-align: center; display: grid; justify-items: center; gap: 16px; }
.closing .actions { justify-content: center; margin-top: 10px; }

/* Inner pages */
/* Full container width so the heading lines up with the content and logo
   (a max-width here let .wrap's auto margins centre it -- 6 Oct). */
.page-intro { padding-block: clamp(40px, 6vw, 72px) 8px; display: grid; gap: 16px; }
.page-intro > * { max-width: 820px; }
.page-intro .lead { margin-top: 4px; }
.draft { justify-self: start; font: 600 14px/1.3 var(--body); color: var(--amber); background: #FBF3DE; padding: 7px 11px; border-radius: 6px; }
.content { padding-block: 32px var(--section); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; display: grid; gap: 8px; align-content: start; }
.card p { font-size: 16px; }
.card .text-link { justify-self: start; }
.tour { display: grid; gap: clamp(48px, 7vw, 88px); }
.tour-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.tour-row:nth-child(even) .tour-text { order: 2; }
.tour-text { display: grid; gap: 12px; }
.tour-text h2 { font-size: clamp(28px, 3vw, 38px); }
.tour-text ul { padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
@media (max-width: 860px) { .tour-row { grid-template-columns: 1fr; gap: 24px; } .tour-row:nth-child(even) .tour-text { order: 0; } }
.country-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.country-grid article { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; display: grid; gap: 6px; align-content: start; }
.country-code { font: 700 13px/1 var(--body); letter-spacing: .1em; color: var(--red); }
.country-grid h3 { font-size: 21px; }
.country-grid p { font-size: 15px; }
@media (max-width: 860px) { .country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .country-grid { grid-template-columns: 1fr; } }
.notice { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--slate); border-radius: 8px; padding: 16px 20px; font-size: 15px; color: var(--muted); margin-top: 22px; display: grid; gap: 8px; }
.sub-block { margin-top: clamp(48px, 6vw, 72px); }
.sub-block > h2 { margin-bottom: 20px; }
.explain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 36px 56px; }
.explain-grid article { display: grid; gap: 10px; align-content: start; }
.explain-grid h3 { font-size: 22px; }
.explain-grid ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
.compare-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 16px; }
.compare-table th, .compare-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--tint); }
.compare-table thead th { font: 600 13px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--tint); }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { text-align: center; width: 22%; }
.compare-table .yes { color: var(--good); font-weight: 700; }
.compare-table .no { color: #B3ADA6; }
.table-wrap { overflow-x: auto; }
/* Comparison page: what Tessie has today, and whether Viametry plans it. */
.gap-list { list-style: none; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.gap-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 18px; border-bottom: 1px solid var(--tint); }
.gap-list li:last-child { border-bottom: 0; }
.gap-list span { font-weight: 500; }
.gap-list .status { align-self: start; font: 600 12px/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; padding: 5px 9px; border-radius: 999px; background: var(--tint); color: var(--muted); }
.gap-list .status.planned { color: var(--good); }
.gap-list small { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
@media (max-width: 600px) { .gap-list li { grid-template-columns: 1fr; } .gap-list .status { justify-self: start; } }
/* Comparison page (task 46): a table on wide screens, one block per topic on phones. */
.tools-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 15px; line-height: 1.45; }
.tools-table th, .tools-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--tint); }
.tools-table thead th { font: 600 13px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--tint); }
.tools-table tbody th { font-weight: 600; width: 15%; }
.tools-table td { color: var(--muted); width: 21.25%; }
.tools-table td:first-of-type { color: var(--ink); box-shadow: inset 2px 0 0 var(--red); }
@media (max-width: 760px) {
  .tools-table, .tools-table tbody, .tools-table tr, .tools-table th, .tools-table td { display: block; width: auto; }
  .tools-table thead { display: none; }
  .tools-table tbody tr { border-bottom: 1px solid var(--line); padding: 8px 0 10px; }
  .tools-table tbody tr:last-child { border-bottom: 0; }
  .tools-table tbody th { border: 0; padding: 8px 16px 4px; font-size: 17px; width: auto; }
  .tools-table tbody td { width: auto; }
  .tools-table td { border: 0; padding: 5px 16px; display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px; }
  .tools-table td::before { content: attr(data-label); font-weight: 600; color: var(--ink); }
  .tools-table td:first-of-type { box-shadow: none; }
}
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact-grid article { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; display: grid; gap: 6px; }
.contact-grid a { font: 600 18px/1.3 var(--body); color: var(--ink); overflow-wrap: anywhere; display: flex; align-items: center; min-height: 44px; margin-block: -10px; }
.contact-grid a:hover { color: var(--red); }
.social-links { display: flex; flex-wrap: wrap; gap: 2px; margin: 10px -8px 0; font-weight: 600; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding-inline: 8px; margin-block: -9px; }
/* Legal pages use the page's full width like the others (owner 23 Oct 2026): the heading on the
   left, the text on the right, so lines stay readable; one column on phones. */
.legal-copy { display: grid; border-bottom: 1px solid var(--line); }
.legal-copy > section { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 48px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
.legal-copy h2 { font-size: 24px; }
.legal-copy p { font-size: 17px; }
.legal-text { display: grid; gap: 12px; }
@media (max-width: 860px) { .legal-copy > section { grid-template-columns: 1fr; gap: 10px; } }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid #E9E6E1; padding-block: 48px 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; }
.footer-brand { display: grid; gap: 12px; align-content: start; }
.footer-brand img { width: 140px; }
.footer-grid h2 { font: 700 13px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-grid div > a { display: block; padding-block: 5px; }
.footer-grid a:hover { color: var(--red); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--tint); font-size: 14px; color: var(--muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-langs { display: flex; gap: 12px; }
.footer-langs a[aria-current] { font-weight: 700; color: var(--ink); text-decoration: none; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 860px) {
  .footer-grid div > a { display: flex; align-items: center; min-height: 44px; padding-block: 0; }
  .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Hero options page (review only) */
.options-bar { background: var(--ink); color: #fff; padding-block: 18px; }
.options-bar p { color: #C9CFD6; }
.option { border-bottom: 8px solid var(--ink); }
.option .site-header { position: relative; }
.option-label { background: var(--tint); padding-block: 12px; font: 600 16px/1.3 var(--body); }
.option-label b { color: var(--red); margin-right: 10px; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .button { width: 100%; white-space: normal; text-align: center; padding-inline: 10px; }
  .actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print { .site-header, .mobile-menu, .language-picker { display: none; } }

/* AI assistant (owner 16 Oct 2026): home band and /ai-assistant/. Built from the site's pieces:
   the business band's spacing and chips, the card surface, eyebrow labels, hairline lists. */
.ai-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.ai-grid .lead { margin-top: 16px; }
.ai-grid > div > h2 + .asks { margin-top: 20px; }
.chat { margin: 0; padding: 6px 28px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.msg { padding: 18px 0; border-bottom: 1px solid var(--line); }
.msg .who { display: flex; align-items: center; gap: 10px; font: 600 12px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.msg.ai .who::before { content: ""; width: 18px; height: 2px; background: var(--red); flex-shrink: 0; }
.msg p { margin: 8px 0 0; color: var(--ink); font-size: 17px; line-height: 1.55; }
.msg.you p { font: 600 22px/1.25 var(--display); }
.chat figcaption { margin-top: 14px; }
.asks { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.asks li { padding: 16px 0; border-bottom: 1px solid var(--line); font: 600 18px/1.35 var(--body); color: var(--ink); }
.connector { display: grid; gap: 10px; margin: 0 0 28px; }
.connector code { width: fit-content; max-width: 100%; overflow-wrap: anywhere; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; font: 600 16px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sub-block > h2 + .points { margin-top: 0; }
.points.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 32px; }
.points.three li { align-content: start; }
@media (max-width: 960px) { .ai-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 860px) { .cards.three, .points.three { grid-template-columns: 1fr; } .msg.you p { font-size: 20px; } }

/* Product panels (panels.py): closed cards drawn in HTML instead of cropped screenshots (owner 16 Oct 2026) */
.tile-panel { margin: 0; padding: 0 26px 26px; align-self: end; }
.panel-figure { margin: 0; width: 100%; max-width: 620px; justify-self: center; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; box-shadow: var(--shadow); color: var(--ink); font-size: 15px; line-height: 1.4; min-height: 262px; display: flex; flex-direction: column; }
.band-dark .panel small, .band-dark .panel .panel-note { color: var(--muted); }
.band-dark .panel .panel-eyebrow { color: var(--slate); }
.band-dark .panel { border-color: rgba(255, 255, 255, .14); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.panel b { font-weight: 600; }
.panel small { display: block; color: var(--muted); font-size: 13px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.panel-head b, .panel-title { font: 600 19px/1.25 var(--body); }
.panel-title { display: block; }
.panel-eyebrow { font: 600 11px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--slate); margin-bottom: 4px; }
.panel-sub { margin-top: 2px; }
.panel-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.reminders { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.reminders li { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 9px 12px; border-left: 3px solid var(--amber); background: var(--canvas); border-radius: 0 8px 8px 0; }
.reminders li.red { border-left-color: var(--red); }
.reminders li.slate { border-left-color: var(--slate); }
.reminders .tag { grid-column: 1 / -1; font: 600 11px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.reminders .red .tag { color: var(--red-dark); }
.reminders .slate .tag { color: var(--slate); }
.reminders small { align-self: center; }
.mix-bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin: 14px 0 6px; gap: 2px; }
.mix-bar i, .dot { background: var(--slate); }
.mix-bar .public, .dot.public { background: #8C95A1; }
.mix-bar .supercharger, .dot.supercharger { background: #C3C9D0; }
.mix { list-style: none; padding: 0; margin: 0; }
.mix li { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: start; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mix li:last-child { border-bottom: 0; padding-bottom: 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; }
.num { text-align: right; white-space: nowrap; }
.heat { display: grid; grid-template-columns: 24px repeat(24, minmax(0, 1fr)); gap: 3px; margin-top: 14px; align-items: center; }
.heat .hour, .heat .day { font-size: 11px; line-height: 1; color: var(--muted); }
.heat .hour { overflow: visible; white-space: nowrap; height: 12px; }
.heat .h0, .heat .h1, .heat .h2, .heat .h3, .heat .h4, .heat-legend span span { aspect-ratio: 1; border-radius: 2px; background: var(--tint); }
.heat .h1, .heat-legend .h1 { background: #DCE0E5; }
.heat .h2, .heat-legend .h2 { background: #B9C0C8; }
.heat .h3, .heat-legend .h3 { background: #7D8793; }
.heat .h4, .heat-legend .h4 { background: var(--slate); }
.heat-legend { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; font-size: 12px; color: var(--muted); }
.heat-legend > span { display: inline-flex; align-items: center; gap: 4px; }
.heat-legend span span { width: 10px; }
.saving-big { margin: 14px 0 12px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.saving-big b { font: 700 40px/1 var(--display); }
.saving-big span { color: var(--muted); font-size: 14px; }
.cmp p { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin: 10px 0 5px; }
.cmp-bar { display: block; height: 14px; background: var(--tint); border-radius: 4px; overflow: hidden; }
.cmp-bar i { display: block; height: 100%; background: var(--slate); border-radius: 4px; }
.cmp-bar.hatched i { background: repeating-linear-gradient(135deg, #C3C9D0 0 6px, #E3E6EA 6px 12px); }
.km-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.km-tiles div { border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; }
.km-tiles small { font: 600 11px/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.km-tiles b { display: block; font: 700 21px/1.2 var(--display); margin-top: 3px; }
.rules, .trip-rows { list-style: none; padding: 0; margin: 10px 0 0; }
.rules li { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 10px 0; border-top: 1px solid var(--line); align-items: start; }
.rules em { font: 600 12px/1.3 var(--body); font-style: normal; color: var(--muted); text-align: right; max-width: 210px; }
.rules em.good { color: var(--good); }
.trip-rows li { display: grid; grid-template-columns: 140px 1fr auto; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: start; }
.trip-rows .route b { display: block; }
.chip { display: inline-block; margin-top: 4px; font: 600 11px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--good); background: rgba(47, 107, 79, .1); padding: 4px 6px; border-radius: 4px; }
.trip-rows .route small { display: inline; }
@media (max-width: 760px) { .tile-panel { padding: 0 16px 16px; } .panel { padding: 16px; min-height: 0; } .heat { gap: 2px; } }
@media (max-width: 520px) { .trip-rows li { grid-template-columns: 1fr auto; } .trip-rows .when { grid-column: 1 / -1; display: flex; gap: 8px; align-items: baseline; } .rules li { grid-template-columns: 1fr; } .rules em { text-align: left; max-width: none; } .km-tiles b { font-size: 18px; } }
.scatter { display: block; width: 100%; height: auto; margin-top: 12px; font: 13px var(--body); }
.scatter text { fill: var(--muted); }
.scatter .axis { font-size: 13px; }
.scatter .g { stroke: var(--line); stroke-dasharray: 3 4; }
.scatter .dots circle { fill: var(--slate); fill-opacity: .32; }
.scatter polyline { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.tour .panel-figure { max-width: 640px; }
.tour-row:nth-child(even) { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
@media (max-width: 860px) { .tour-row:nth-child(even) { grid-template-columns: 1fr; } }

/* Help centre (P22 C2, 20 Oct 2026): the app's help articles as pages. */
.help-search { display: grid; gap: 8px; max-width: 560px; margin-top: 8px; }
.help-search label { font-weight: 600; color: var(--ink); }
.help-search input { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }
.help-search input:focus-visible { outline: 3px solid var(--red); outline-offset: 1px; }
.help-group > h2 { scroll-margin-top: 24px; }
.content > .help-group:first-child { margin-top: 0; }
.help-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.help-card { display: grid; gap: 6px; align-content: start; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.help-card:hover { border-color: var(--slate); }
.help-card-title { font: 600 19px/1.25 var(--body); color: var(--ink); }
.help-card:hover .help-card-title { color: var(--red); }
.help-card-text { font-size: 15px; line-height: 1.5; color: var(--muted); }
.help-badge { justify-self: start; display: inline-block; font: 600 12px/1.2 var(--body); letter-spacing: .04em; color: var(--slate); background: var(--tint); border-radius: 999px; padding: 4px 10px; }
.page-intro > .help-badge { margin-top: 4px; }
.help-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.help-crumbs a { font-weight: 600; color: var(--slate); display: inline-flex; align-items: center; min-height: 44px; margin: -11px -9px; padding-inline: 9px; }
.help-crumbs a:hover { color: var(--red); }
.help-ask { max-width: 760px; margin-top: 40px; }
.help-ask strong { color: var(--ink); }
.help-layout { display: grid; gap: 40px; }
.help-layout.has-toc { grid-template-columns: minmax(0, 760px) 240px; justify-content: space-between; align-items: start; }
.help-toc { position: sticky; top: 96px; display: grid; gap: 12px; font-size: 15px; }
.help-toc nav { display: grid; gap: 8px; border-left: 2px solid var(--line); padding-left: 14px; }
.help-toc a { color: var(--slate); }
.help-toc a:hover { color: var(--red); }
@media (max-width: 960px) { .help-layout.has-toc { grid-template-columns: minmax(0, 1fr); } .help-toc { display: none; } }
.help-article { max-width: 760px; display: grid; gap: 18px; color: var(--ink); }
.help-article > * { min-width: 0; }
.help-article h2 { font-size: 30px; margin-top: 18px; scroll-margin-top: 24px; }
.help-article h3 { font-size: 21px; margin-top: 8px; scroll-margin-top: 24px; }
.help-article p, .help-article li, .help-article td, .help-article th { color: var(--slate); font-size: 17px; line-height: 1.65; }
.help-article strong { color: var(--ink); font-weight: 600; }
.help-article a:not(.text-link):not(.button) { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.help-article a:not(.text-link):not(.button):hover { color: var(--red); }
/* Reading measure (owner 8 Nov 2026): prose, tips and boxes about 75 characters a line; tables and screenshots keep the
   column. No lone last words where the browser can help (Chrome, Safari). */
.help-article > p, .help-article > ul, .help-article > ol, .help-article > h2, .help-article > h3, .help-article > .help-tip,
.help-article > .notice, .help-article > .guide-sources { max-width: 38rem; }
.help-article p, .help-article li { text-wrap: pretty; }
.article-intro .lead { max-width: 34em; text-wrap: pretty; }
/* Guides (8 Nov 2026): the date under the lead, the demo box, and the sources with tap-sized links. */
.guide-meta { margin-top: 14px; }
.guide-cta .button { justify-self: start; margin-top: 4px; }
.guide-sources { margin-top: 34px; display: grid; gap: 6px; }
.help-article .guide-sources ul { gap: 0; list-style: none; padding-left: 0; }
.guide-sources li { padding-block: 6px; }
.guide-sources li a { display: block; padding-block: 4px; min-height: 44px; box-sizing: border-box; }
.guide-sources .fine { margin-top: 10px; }
.help-article ul, .help-article ol { padding-left: 24px; display: grid; gap: 6px; }
.help-article ol > li::marker { font-weight: 700; color: var(--ink); }
.help-article li > ul, .help-article li > ol { margin-top: 6px; }
.help-article code { font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--tint); border-radius: 4px; padding: 1px 5px; }
.help-article pre { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.help-article pre code { background: none; padding: 0; }
.help-article hr { border: 0; border-top: 1px solid var(--line); width: 100%; }
.help-tip { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 8px; padding: 14px 18px; display: grid; gap: 8px; }
.help-tip p { font-size: 16px; }
.help-shot { display: grid; gap: 8px; }
.help-shot img { width: 100%; max-width: var(--w, 100%); background: var(--surface); }
.help-shot figcaption { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .help-shot img { max-width: 100%; } }
.help-table { overflow-x: auto; }
.help-table table { border-collapse: collapse; width: 100%; }
.help-table th, .help-table td { text-align: left; vertical-align: top; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.help-table th { color: var(--ink); font-weight: 600; }

/* On your phone (owner 24 Oct 2026): two phone screens beside the text, then the steps per browser. */
.mobile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.mobile-phones { display: flex; justify-content: center; align-items: flex-start; gap: 20px; }
.phone { width: min(250px, 46%); padding: 9px; border-radius: 34px; background: var(--dark); box-shadow: var(--shadow); }
.phone:nth-child(2) { margin-top: 56px; }
.phone img { width: 100%; border-radius: 26px; }
.mobile-badge { display: inline-block; margin-top: 20px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--slate); font: 600 14px/1.3 var(--body); }
.mobile-text .points { margin-top: 24px; }
.mobile .sub-block > h3 { margin-bottom: 18px; }
.install-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.install { padding: 18px 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.install h4 { font: 600 16px/1.3 var(--body); color: var(--ink); }
.install ol { margin-top: 10px; padding-left: 20px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.install li + li { margin-top: 4px; }
.install.is-yours { order: -1; border-color: var(--ink); box-shadow: var(--shadow); }
.install-yours { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--red-soft); color: var(--red-dark); font-size: 12px; font-weight: 600; vertical-align: 2px; }
.install-note { margin-top: 16px; max-width: 80ch; }
@media (max-width: 1099px) { .install-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .mobile-grid { grid-template-columns: 1fr; gap: 32px; } .mobile-phones { order: 2; } }
@media (max-width: 600px) { .install-grid { grid-template-columns: 1fr; } .phone { padding: 6px; border-radius: 26px; } .phone img { border-radius: 21px; } .phone:nth-child(2) { margin-top: 36px; } }
.mobile-text h2 { margin: 12px 0 16px; }
