/* ==================================================================
   Bulletproof WiFi : WEBSITE POC stylesheet
   Brand: violet, ember and peach, Bricolage Grotesque + Work Sans.
   Since poc-0.27.0 (12 November) a calmer look (Chris): white and light grey
   bands, violet for the logo and the headings, orange for buttons only and one
   solid dark band at the end (the closer, then the footer). No gradients
   outside the logo, no small capital labels or pill badges and the signal
   rings only on the home page's first screen. The UniFi page keeps its dark
   bands (unifi.css) and its light bands follow these.
   The purple look the site had until then stays ready: purple.css, loaded
   after this file when "look" in site.json is "purple", puts it back.
   One deliberate light look: every colour is set explicitly.
   ================================================================== */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/bricolage-grotesque-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/work-sans-latin.woff2') format('woff2');
}

:root {
  color-scheme: light;
  /* colour */
  --white: #FFFFFF;
  --paper: #FFFFFF;
  --mist: #F4F3F6;          /* light grey: illustration cards, alt bands (lilac until poc-0.27.0) */
  --ink: #241533;
  --ink-soft: #5B4B6E;
  --ink-faint: #766789;     /* fine print: 5.2:1 on white and 4.7:1 on mist (#8A7B9C until poc-0.38.2) */
  --violet: #7B2FE0;
  --violet-mid: #5B21B6;
  --violet-deep: #3E1770;
  --night: #2A1052;
  --lilac: #C9A6F5;
  --lilac-soft: #E8E4EF;    /* hairlines and borders, and soft text on dark (lilac #E9DBFB until poc-0.27.0) */
  --line-strong: #D6D0DF;   /* the outline of a light button */
  --lilac-strong: #9B6AE6;
  --peach: #FFB38A;         /* emphasis on dark bands */
  --ember: #D0451B;         /* calls to action; white text passes AA */
  --ember-dark: #B83D17;
  --star: #F4B400;          /* the stars of a customer's Google review and nothing else (Chris, 21 November). Never text */
  --ok: #1C7847;            /* 4.8:1 on ok-soft (#1E7F4B until poc-0.38.2) */
  --ok-soft: #E3F4EA;
  --warn: #8A4B00;
  --warn-soft: #FFF1DE;
  --error: #B3261E;
  --error-soft: #FDECEA;
  --band: linear-gradient(140deg, #7B2FE0 0%, #5B21B6 42%, #3E1770 100%);

  /* type */
  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Work Sans', 'Segoe UI', system-ui, sans-serif;
  --fs-xs: 0.8rem;
  --fs-sm: 0.9rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.15rem;
  --fs-lg: 1.35rem;
  --fs-xl: 1.75rem;
  --fs-2xl: clamp(1.9rem, 3.6vw, 2.6rem);
  --fs-hero: clamp(2.35rem, 5.4vw, 4.1rem);

  /* space and shape */
  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.25rem; --s5: 3rem; --s6: 4.5rem;
  --r-sm: 12px; --r-md: 16px; --r-lg: 22px;
  --shadow-card: 0 18px 36px -22px rgba(30, 20, 45, 0.28);
  --shadow-soft: 0 8px 22px -16px rgba(30, 20, 45, 0.22);
  --max: 1160px;
  --header-h: 4.25rem;
  --safe-bottom: env(safe-area-inset-bottom, 0px); /* the strip the phone keeps at the bottom, such as the iPhone's home bar */
}
/* Firefox for Android reports the phone's own navigation bar as that strip, although it never draws the page under it
   (Mozilla bug 2057232), so anything padded by it got an empty band underneath, like the shop's pay bar (Chris, 29 October).
   Gecko is the only engine that knows -moz-appearance. */
@supports (-moz-appearance: none) { :root { --safe-bottom: 0px; } }

/* ---------- reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset, legend, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
body::before { /* paints the phone's status-bar band behind the sticky header */
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white);
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--violet-deep); line-height: 1.12; text-wrap: balance; }
h2 { font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: var(--fs-lg); font-weight: 700; line-height: 1.25; }
/* A word a heading stresses as a speaker would, such as "your" in "That can be your home." (Chris, 15 November,
   poc-0.31.3). An underline would read as a link. Bricolage Grotesque has no italic, so each browser would slant the
   word its own way: Chrome tips it 14 degrees about its baseline, which crowds the next word. The word leans 10 degrees
   about its middle instead, the same in every browser, with even space on both sides. As an inline-block it stays on
   one line, so keep it to a word or two. */
:is(h1, h2, h3, h4) em { font-style: normal; display: inline-block; transform: skewX(-10deg); }
p { color: var(--ink-soft); text-wrap: pretty; }
strong { color: var(--ink); font-weight: 650; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.phone-only { display: none; } /* shown only on phones (the max-width: 560px block), where .phone-hide steps aside */

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, label:focus-within.option {
  outline: 3px solid var(--ember); outline-offset: 3px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) { .container { padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); } }

/* 56px between two sections on computers and 48 on phones and tablets, the same wherever the sections meet, even two
   grey ones (Chris, 12 November: 96 and 72 until poc-0.27.1 left wide empty bands between them). On computers it was 72
   until poc-0.28.2, which left too much space above each section's heading (Chris, 14 November). */
.section { padding-block: 1.75rem; }
.section--mist { background: var(--mist); }
/* two grey sections in a row read as one grey band, so the second starts straight away: on the home page 48 px on a phone
   and 72 on a computer between the fix's product card and How it works looked like empty space inside one band (Chris,
   12 November). Until poc-0.27.5 they were as far apart as any two sections. */
.section--mist + .section--mist { padding-top: 0; }
.section__head { max-width: 680px; margin: 0 auto var(--s4); text-align: center; display: grid; gap: var(--s2); }
.section__head p { font-size: var(--fs-md); }
.eyebrow {
  font-family: var(--font-display); font-weight: 650; font-size: var(--fs-sm);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet);
}
/* since poc-0.27.0 only the UniFi page has a small capital label over its headings: on the other pages the heading says it.
   The purple look keeps the other pages' labels ({{if:purple}} in the pages) and styles them in purple.css. */
/* the hero's three areas, after a pin, stay on one line (Chris, 31 October): with the pin the line is about 20 times
   as wide as its letters are tall, so on a phone narrower than about 330 pixels the letters shrink to fit. A phone set
   to larger text can still wrap them, so site.js keeps them on one line (eyebrow--fit) and shrinks the letters only as
   far as it must (Chris, 12 November). Without the script the line wraps, but never pushes the page sideways. */
.hero .eyebrow--areas {
  display: flex; align-items: center; gap: 0.4em; margin-bottom: var(--s2);
  font-family: var(--font-body); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--lilac-soft);
  font-size: min(var(--fs-sm), calc((100vw - 32px) / 20.5));
}
.hero .eyebrow--areas svg { width: 1.1em; height: 1.1em; color: var(--peach); flex-shrink: 0; }
.hero .eyebrow--fit > span { white-space: nowrap; }
.hero .container, .page-head .container, .promise .container, .closer .container, .shop-head .container { position: relative; }
.label { font-weight: 650; font-size: 0.95rem; color: var(--ink); margin-bottom: 0.55rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3.1rem; padding: 0.8rem 1.5rem; border-radius: var(--r-sm);
  font-weight: 700; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }
/* the orange glow under it came with the purple look and stays in the light look by Chris's choice (12 November) */
.btn--primary { background: var(--ember); color: var(--white); box-shadow: 0 12px 26px -10px rgba(208, 69, 27, 0.55); }
.btn--primary:hover { background: var(--ember-dark); transform: translateY(-2px); }
.btn--ghost { background: var(--white); color: var(--violet-deep); border: 2px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--violet); transform: translateY(-2px); }
.btn--light { background: var(--white); color: var(--violet-deep); }
.btn--light:hover { background: var(--lilac-soft); transform: translateY(-2px); }
.btn--outline-light { color: var(--white); border: 2px solid rgba(255, 255, 255, 0.55); }
.btn--outline-light:hover { border-color: var(--white); transform: translateY(-2px); }
/* the other pages' heads and the shop's are light since poc-0.27.0, so their WhatsApp button is outlined in grey. The home page's
   first screen is dark again since poc-0.27.7, so its button keeps the white outline. */
.page-head .btn--outline-light, .shop-head .btn--outline-light { background: var(--white); color: var(--violet-deep); border-color: var(--line-strong); }
.page-head .btn--outline-light:hover, .shop-head .btn--outline-light:hover { border-color: var(--violet); }
.btn--block { width: 100%; }
.btn--lg { min-height: 3.5rem; font-size: 1.08rem; padding-inline: 1.9rem; }
.btn--down svg { transform: rotate(90deg); } /* the arrow points down the page, where the button goes */
/* since poc-0.43.0 this is the only orange button with an arrow (Chris, 20 November): the others say where they go */
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.link { color: var(--violet); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--violet-deep); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lilac-soft);
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; color: var(--violet-deep); white-space: nowrap; }
.logo__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--band); color: var(--white); display: grid; place-items: center; flex-shrink: 0; }
.logo__mark svg { width: 22px; height: 22px; }
.nav { display: flex; align-items: center; gap: 1.5rem; } /* var(--s4), 36px, until Airbnb hosts joined the menu (poc-0.34.0) */
.nav a { font-weight: 600; font-size: var(--fs-sm); color: var(--ink); }
.nav a:hover, .nav a[aria-current] { color: var(--violet); }
.nav a.btn, .nav a.btn:hover, .nav a.btn[aria-current="page"] { color: var(--white); min-height: 2.75rem; padding: 0.6rem 1.15rem; font-size: var(--fs-sm); }
.header-actions { display: none; }
.header-shop { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); }
/* The menu button's three lines are drawn in the text colour, so a browser that darkens the page itself (Samsung Internet in
   dark mode) turns them light with the words. Until poc-0.30.2 they were dark backgrounds, which such a browser leaves dark on
   the header it turns black, so the button almost vanished. When the menu is open they turn into a cross, as before. */
.nav-toggle svg { display: block; width: 22px; height: 16px; overflow: visible; }
.nav-toggle rect { fill: currentColor; transform-box: fill-box; transform-origin: center; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] rect:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] rect:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] rect:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
/* The home page's first screen is dark violet, the colour of the last band, lit from where the signal rings start, with white
   words and peach emphasis. The rest of the site stays light (Chris, 12 November: on white it "looks a little dull"). The orange
   button stands out from it by 3.5 to 1, where the purple look's bright band gave it less than 2 to 1. */
.hero {
  position: relative; overflow: hidden; color: var(--white); padding-block: var(--s4) var(--s5);
  background: radial-gradient(75% 85% at 95% 0%, rgba(123, 47, 224, 0.6) 0%, rgba(123, 47, 224, 0) 72%), var(--night);
}
/* the signal rings behind the home page's first screen (Chris, 12 November), in lilac on the dark violet */
.hero__rings { position: absolute; width: 900px; height: 900px; right: -330px; top: -330px; pointer-events: none; }
.hero__rings circle { fill: none; stroke: var(--lilac); stroke-width: 2; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s5); align-items: center; }
.hero__copy { min-width: 0; }
.hero h1 { color: var(--white); font-size: var(--fs-hero); font-weight: 700; letter-spacing: -0.015em; line-height: 1.05; }
.hero h1 .peach { color: var(--peach); display: block; margin-top: 0.12em; } /* violet on white from poc-0.27.0 to poc-0.27.6 */
/* "Your WiFi sucks?" and "We're here to fix it." each start a line of their own on every screen (Chris, 12 November: "Those two
   sentences should never be on the same line"). On a phone each keeps to one line: below the size is set for the phone's
   width, and site.js (hero__fit) shrinks the letters only as far as a phone set to larger text needs. */
.hero h1 .hero__line { display: block; }
.hero h1.hero__fit .hero__line { white-space: nowrap; }
/* the three sentences under the headline sell the feeling, so they read as part of the message (Chris, 15 November: "we need
   to ensure it gets read"). They are white and medium, where lilac grey and regular read as small print beside the bold
   headline. Each sentence keeps its lines close and stands apart from the next, so a phone shows three short thoughts where it
   showed six evenly spaced lines. White on the band is at least 12.5 to 1 behind the words, where the lilac grey was 10 to 1. */
.hero__lede { color: var(--white); font-size: var(--fs-md); font-weight: 500; line-height: 1.45; margin-top: var(--s3); max-width: 46ch; }
.hero__lede--beats span { display: block; text-wrap: balance; } /* the home page's three sentences, each on its own line (Chris, 14 November) */
.hero__lede--beats span + span { margin-top: 0.75em; } /* 0.4em until poc-0.30.1 */
/* on the home page they're half a point bigger than a lede, 1.15rem + 0.5pt (18.4 px to 19.1 px at the standard text size), so
   they hold their own on the purple. In rem, so a phone set to larger text grows them too. A whole point would break the first
   sentence onto a second line on computers and give a 360 px phone a three-line first sentence (Chris, 21 November,
   poc-0.45.5). The Airbnb hosts page's three sentences keep --fs-md. */
.hero .hero__lede--beats { font-size: calc(var(--fs-md) + 0.0417rem); }
/* where there's room, on tablets from 660 px and computers from 1160 px wide, each sentence keeps to one line, so the three
   run about as wide as the headline above them. Balanced lines left a wide gap beside them there (Chris, 14 November). At
   the widths in between the first two wrap the same way. The third is shorter since poc-0.34.1, so from 501 to 659 px
   and from 996 to 1159 px wide it keeps to one line under their two (from 484 and 965 px until poc-0.45.5). */
@media (min-width: 660px) and (max-width: 860px), (min-width: 1160px) { .hero__lede--beats { max-width: 36em; } }
/* on computers the home page's words take a little more of the width for that, and the drawing a little less */
@media (min-width: 1160px) { .hero__grid--home { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
/* what we stand behind, as a plain line of small print with an icon each (pill badges until poc-0.27.0) */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: var(--s3); }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-soft); }
.chip svg { width: 17px; height: 17px; color: var(--violet); flex-shrink: 0; }
.hero .chip { color: var(--lilac-soft); }
.hero .chip svg { color: var(--peach); }
.hero__art { background: var(--mist); border-radius: var(--r-lg); padding: var(--s3); }
.hero .hero__art { background: var(--white); box-shadow: 0 30px 60px -30px rgba(10, 0, 30, 0.6); } /* the drawing on white on the dark first screen */
.hero__art svg { width: 100%; height: auto; }
/* an inner page's picture sits straight on its grey band, where nothing shows its frame, so the frame's padding and the empty
   bands above and below the drawing looked like extra space under the buttons and above the next band (Chris, 12 November).
   Each drawing's empty bands, less 12 of its 560 units of room, are below as shares of its width, measured from the drawings
   on 12 November: measure again if one changes. They live here and not on the svg, because the live site's Content Security
   Policy (style-src 'self') ignores style attributes, as it did in poc-0.27.2. */
.page-head .hero__art svg { margin-block: calc(-1 * var(--trim-top, 0%)) calc(-1 * var(--trim-bottom, 0%)); pointer-events: none; }
.ill--business { --trim-top: 12.1%; --trim-bottom: 5%; }
.ill--check3 { --trim-top: 11.8%; --trim-bottom: 12.1%; }
.ill--check1 { --trim-top: 9%; --trim-bottom: 15.5%; }
.ill--upstairs { --trim-top: 3%; --trim-bottom: 1.1%; }
.ill--extender { --trim-top: 14.5%; --trim-bottom: 11.4%; }
.ill--calls2 { --trim-top: 8.5%; --trim-bottom: 7%; }
.ill--neighbours { --trim-top: 15.5%; --trim-bottom: 0.3%; } /* its rings fade out before the frame's edges since poc-0.27.4 */
.ill--braai { --trim-top: 1.5%; }

/* ---------- icons and illustration cards ---------- */
.i { width: 1.25em; height: 1.25em; flex-shrink: 0; } /* every icon gets a sensible size unless a component sets one */
svg.ill { width: 100%; height: auto; display: block; }
.art { background: var(--mist); border-radius: var(--r-md); overflow: hidden; }
.art svg { width: 100%; height: auto; }

/* ---------- the story and the offer (the home page) ---------- */
/* Under the first screen the home page tells a story before it sells: the moments bad WiFi spoils, the same moments in a
   home where it works, a customer's own words and only then the equipment, the price and the shop (Chris, 14 November:
   "we don't want to offer the solution too soon"). The first screen shows a TV stuck on its buffering wheel and the second
   list shows the same TV playing. */
.moments { display: grid; gap: var(--s3); }
/* each moment: the drawings' red cross or green tick beside its heading, with the words under the heading */
.moment { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 0.25rem 0.85rem; align-items: center; align-content: start; }
.moment__mark { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--white); }
.moment__mark svg { width: 16px; height: 16px; stroke-width: 3; }
.moments--before .moment__mark { background: #E5302A; }
.moments--after .moment__mark { background: #1E9E58; }
.moment h3 { font-size: 1.15rem; }
.moment p { grid-column: 1 / -1; font-size: 1rem; }
.moments--row { grid-template-columns: repeat(4, 1fr); } /* the four spoiled moments side by side on a computer */
/* the same moments in a home where the WiFi works: the words beside the TV, which now plays */
.story { display: grid; grid-template-columns: 1.1fr 0.9fr; grid-template-areas: "head art" "body art"; grid-template-rows: auto 1fr; gap: var(--s3) var(--s5); }
.story__head { grid-area: head; align-self: end; }
.story__body { grid-area: body; display: grid; gap: var(--s3); align-content: start; min-width: 0; }
.story__art { grid-area: art; align-self: center; padding-top: var(--s2); } /* room above the TV's tick, with the sofa on the bottom edge */
/* each TV fills its card: the drawing's frame is wider and taller than the TV, so the card shows the frame's middle */
.story__art, .hero .hero__art { display: grid; place-items: center; overflow: hidden; }
.hero .hero__art--tv { padding: var(--s2) 0 0; } /* the sofa sits on the bottom edge of the drawing's box */
svg.ill--buffering, svg.ill--playing { width: 112%; max-width: none; margin-inline: -6%; } /* trims the ends of the sofa so the TV is bigger */
/* the YouTube article's first band shows the whole drawing, because no card's edge hides the trimmed ends of the sofa there */
.page-head svg.ill--buffering { width: 100%; max-width: 100%; margin-inline: 0; }
.section--mist .story__art { background: var(--white); } /* on a grey band the drawing's card is white */
/* With "drawings": "still" in site.json the wheel on the stuck TV turns four times, under five seconds, each time the
   drawing comes on screen (site.js adds ill--turning), so nothing on the page moves for long beside words someone is
   reading. A device set to less motion keeps it still (the last rule in this file). "animated" moves both drawings
   (the rugby drawings in motion, below). */
.ill__wheel { transform-box: fill-box; transform-origin: center; }
.ill--turning .ill__wheel { animation: spin 1.2s linear 4; }
.story__close { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); line-height: 1.25; color: var(--violet-deep); }
/* the offer: the first place the equipment, the price and the shop appear, in the middle of the page */
.offer { max-width: 900px; display: grid; justify-items: center; gap: var(--s3); text-align: center; }
.offer__lede { font-size: var(--fs-md); max-width: 46ch; text-wrap: balance; }
.offer__card { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--s4); padding: var(--s3) var(--s4); text-align: left; background: var(--white); border: 1.5px solid var(--lilac-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.offer__card > img { height: 200px; width: auto; filter: drop-shadow(0 14px 16px rgba(62, 23, 112, 0.16)); } /* the 2-Pack's photo, not Happy Pay's logo in the price */
.offer__buy { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); min-width: 0; }
.offer__price { display: grid; gap: 0.15rem; }
.offer__price b { font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1.15; color: var(--violet-deep); }
.offer__price span { color: var(--ink-soft); font-size: var(--fs-sm); }
.offer__actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
/* with very large text a label wraps inside its button, so nothing pushes out of the card or past the screen's edge
   (Chris, 14 November) */
.hero__actions .btn, .offer__actions .btn { white-space: normal; text-wrap: balance; }
.offer .chips { justify-content: center; margin-top: 0; }

/* ---------- the rugby drawings in motion ---------- */
/* With "drawings": "animated" in site.json, site.js gives each rugby drawing ill--anim, then ill--run while it's on
   screen and ill--held after a tap or click. Everything moves here in CSS, so the drawings play wherever the page shows,
   in the Facebook app's browser and on an iPhone in Low Power Mode too, where a video wouldn't start by itself. Without
   ill--anim (the "still" setting, or no JavaScript) both drawings stay exactly as drawn. A drawing that's paused keeps
   where it is: --ill-play holds every part of it at once, so the parts never drift apart. The turns round a point are
   written out as translate, rotate, translate, which every browser draws the same in an SVG. */
.ill--anim { --ill-play: paused; }
.ill--anim.ill--run { --ill-play: running; }
.ill--anim.ill--held { --ill-play: paused; }
.ill--anim .ill__fan, .ill--anim .ill__arm, .ill--anim .ill__badge, .ill--anim .ill__score, .ill--anim [class*="ill__ball"], .ill--anim .ill__crowd { transform-box: view-box; transform-origin: 0 0; }
/* the button that pauses a drawing shows only to the keyboard, in the drawing's top left corner. A tap on the drawing
   does the same. */
.ill-box { position: relative; }
.ill-hold { position: absolute; top: 10px; left: 10px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(62, 23, 112, 0.88); color: var(--white); cursor: pointer; opacity: 0; pointer-events: none; }
.ill-hold .i { width: 20px; height: 20px; }
.ill-hold:focus-visible { opacity: 1; pointer-events: auto; }

/* The stuck TV (6 s): the wheel turns, the dots after Buffering come one at a time, the fan in red shakes their head,
   the red cross wobbles and the fan in green sinks into the sofa. The picture itself stays frozen. */
.ill--anim .ill__wheel { animation: spin 1.2s linear infinite both var(--ill-play); }
.ill--anim .ill__dot--1 { animation: ill-dot-1 1.6s step-end infinite both var(--ill-play); }
.ill--anim .ill__dot--2 { animation: ill-dot-2 1.6s step-end infinite both var(--ill-play); }
.ill--anim .ill__dot--3 { animation: ill-dot-3 1.6s step-end infinite both var(--ill-play); }
.ill--anim.ill--buffering .ill__fan--1 { animation: ill-shake 6s ease-in-out infinite both var(--ill-play); }
.ill--anim.ill--buffering .ill__badge { animation: ill-wobble 6s ease-in-out infinite both var(--ill-play); }
.ill--anim.ill--buffering .ill__fan--2 { animation: ill-slump 6s ease-in-out infinite both var(--ill-play); }
/* three dots, then none, one and two */
@keyframes ill-dot-1 {
  0%, 50%, 100% { fill-opacity: 1; }
  25% { fill-opacity: 0; }
}
@keyframes ill-dot-2 {
  0%, 75%, 100% { fill-opacity: 1; }
  25% { fill-opacity: 0; }
}
@keyframes ill-dot-3 {
  0% { fill-opacity: 1; }
  25%, 100% { fill-opacity: 0; }
}
/* the fan in red rocks from side to side three times, from low behind the sofa */
@keyframes ill-shake {
  0%, 8.33%, 38.33%, 100% { transform: translate(400px, 540px) rotate(0deg) translate(-400px, -540px); }
  13.33%, 23.33%, 33.33% { transform: translate(400px, 540px) rotate(-6deg) translate(-400px, -540px); }
  18.33%, 28.33% { transform: translate(400px, 540px) rotate(6deg) translate(-400px, -540px); }
}
/* the red cross shakes its head too */
@keyframes ill-wobble {
  0%, 38.33%, 53.33%, 100% { transform: translate(806px, 32px) rotate(0deg) translate(-806px, -32px); }
  40.83% { transform: translate(806px, 32px) rotate(-16deg) translate(-806px, -32px); }
  43.67% { transform: translate(806px, 32px) rotate(13deg) translate(-806px, -32px); }
  46.67% { transform: translate(806px, 32px) rotate(-8deg) translate(-806px, -32px); }
  49.67% { transform: translate(806px, 32px) rotate(4deg) translate(-806px, -32px); }
}
/* the fan in green sinks, waits and sits up again */
@keyframes ill-slump {
  0%, 55%, 90%, 100% { transform: translate(620px, 540px) translateY(0) rotate(0deg) translate(-620px, -540px); }
  63.33%, 78.33% { transform: translate(620px, 540px) translateY(16px) rotate(4deg) translate(-620px, -540px); }
}

/* The TV that plays (6.4 s): South Africa kicks for the posts with seconds to go. The ball flies over and the dotted
   line follows it, then the score goes from 24 to 27, the fans throw their arms up and the crowd jumps. The clock runs
   from 79:56 to 80:00. The drawing as it stands still is the moment just after the kick goes over. */
.ill--anim.ill--playing .ill__ball { animation: ill-ball-x 6.4s infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__ball-y { animation: ill-ball-y 6.4s infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__ball-spin { animation: ill-ball-spin 6.4s infinite both var(--ill-play); }
/* the dotted line: the dashes the drawing has, then a gap longer than the line, so moving the pattern along shows the
   dashes one at a time in their places */
.ill--anim.ill--playing .ill__trail { stroke-dasharray: 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 14 2 2000; animation: ill-trail 6.4s infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__was { animation: ill-was 6.4s infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__now { animation: ill-now 6.4s infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__score { animation: ill-score 6.4s infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__badge { animation: ill-tick 6.4s infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__clock--1 { animation: ill-clock-1 6.4s step-end infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__clock--2 { animation: ill-clock-2 6.4s step-end infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__clock--3 { animation: ill-clock-3 6.4s step-end infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__clock--4 { animation: ill-clock-4 6.4s step-end infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__clock--5 { animation: ill-clock-5 6.4s step-end infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__fan--1 { animation: ill-jump 6.4s infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__fan--2 { animation: ill-jump 6.4s 0.12s infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__arm--1 { animation: ill-arm-1 6.4s infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__arm--2 { animation: ill-arm-2 6.4s infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__arm--3 { animation: ill-arm-3 6.4s infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__arm--4 { animation: ill-arm-4 6.4s infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__fan--2 .ill__arm { animation-delay: 0.12s; }
.ill--anim.ill--playing .ill__cheer { transform-box: fill-box; transform-origin: 50% 100%; animation: ill-cheer 6.4s infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__fan--2 .ill__cheer { animation-delay: 0.12s; }
.ill--anim.ill--playing .ill__crowd--1 { animation: ill-crowd 6.4s 0s infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__crowd--2 { animation: ill-crowd 6.4s 0.12s infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__crowd--3 { animation: ill-crowd 6.4s 0.24s infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__crowd--4 { animation: ill-crowd 6.4s 0.06s infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__crowd--5 { animation: ill-crowd 6.4s 0.3s infinite both var(--ill-play); }
.ill--anim.ill--playing .ill__crowd--6 { animation: ill-crowd 6.4s 0.18s infinite both var(--ill-play); }
/* the ball comes on at the kicking spot, flies along the dotted line to the posts and goes once the line has gone */
@keyframes ill-ball-x {
  0% { transform: translateX(478px); opacity: 0; }
  4.69% { transform: translateX(478px); opacity: 1; }
  14.06% { transform: translateX(478px); opacity: 1; animation-timing-function: cubic-bezier(0.3333, 0.2092, 0.6667, 0.5425); }
  35.94%, 84.38% { transform: translateX(0); opacity: 1; }
  90.62%, 100% { transform: translateX(0); opacity: 0; }
}
@keyframes ill-ball-y {
  0%, 14.06% { transform: translateY(148px); animation-timing-function: cubic-bezier(0.3333, 1.3964, 0.6667, 1.7297); }
  35.94%, 100% { transform: translateY(0); }
}
@keyframes ill-ball-spin {
  0%, 14.06% { transform: translate(293px, 188px) rotate(-540deg) scale(1.3) translate(-293px, -188px); animation-timing-function: linear; }
  35.94%, 100% { transform: translate(293px, 188px) rotate(0deg) scale(1) translate(-293px, -188px); }
}
/* the dotted line grows behind the ball in five steps that keep up with it, then goes from the kicking spot first */
@keyframes ill-trail {
  0%, 14.06% { stroke-dashoffset: 576px; animation-timing-function: steps(8, start); }
  18.44% { stroke-dashoffset: 448px; animation-timing-function: steps(7, start); }
  22.81% { stroke-dashoffset: 336px; animation-timing-function: steps(6, start); }
  27.19% { stroke-dashoffset: 240px; animation-timing-function: steps(7, start); }
  31.56% { stroke-dashoffset: 128px; animation-timing-function: steps(8, start); }
  35.94%, 75% { stroke-dashoffset: 0; animation-timing-function: steps(36, start); }
  84.38%, 100% { stroke-dashoffset: -576px; }
}
/* the score: 24 until the kick goes over, 27 until the ball has gone */
@keyframes ill-was {
  0%, 35.94% { opacity: 1; }
  36.72%, 92.19% { opacity: 0; }
  95.31%, 100% { opacity: 1; }
}
@keyframes ill-now {
  0%, 35.94% { opacity: 0; }
  36.72%, 92.19% { opacity: 1; }
  95.31%, 100% { opacity: 0; }
}
@keyframes ill-score {
  0%, 35.94%, 41.41%, 100% { transform: translate(202px, 70px) scale(1) translate(-202px, -70px); }
  38.28% { transform: translate(202px, 70px) scale(1.25) translate(-202px, -70px); }
}
@keyframes ill-tick {
  0%, 35.94%, 42.19%, 100% { transform: translate(806px, 32px) scale(1) translate(-806px, -32px); }
  38.75% { transform: translate(806px, 32px) scale(1.3) translate(-806px, -32px); }
}
/* the clock: 79:56 at the start, 79:57 as the ball is kicked and 80:00 from 3.9 s */
@keyframes ill-clock-1 {
  0% { opacity: 1; }
  14.06%, 100% { opacity: 0; }
}
@keyframes ill-clock-2 {
  0% { opacity: 0; }
  14.06% { opacity: 1; }
  29.69%, 100% { opacity: 0; }
}
@keyframes ill-clock-3 {
  0% { opacity: 0; }
  29.69% { opacity: 1; }
  45.31%, 100% { opacity: 0; }
}
@keyframes ill-clock-4 {
  0% { opacity: 0; }
  45.31% { opacity: 1; }
  60.94%, 100% { opacity: 0; }
}
@keyframes ill-clock-5 {
  0% { opacity: 0; }
  60.94%, 100% { opacity: 1; }
}
/* the fans lean in while the ball is in the air, then jump twice */
@keyframes ill-jump {
  0%, 4.69% { transform: translateY(0); }
  14.06%, 35.94% { transform: translateY(5px); animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1); }
  39.06% { transform: translateY(-13px); animation-timing-function: cubic-bezier(0.5, 0, 0.8, 0.4); }
  42.5% { transform: translateY(0); animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1); }
  45.62% { transform: translateY(-9px); animation-timing-function: cubic-bezier(0.5, 0, 0.8, 0.4); }
  48.75%, 100% { transform: translateY(0); }
}
@keyframes ill-arm-1 {
  0%, 35.94% { transform: translate(350px, 468px) rotate(-150deg) translate(-350px, -468px); animation-timing-function: cubic-bezier(0.2, 0.8, 0.3, 1); }
  39.38% { transform: translate(350px, 468px) rotate(7deg) translate(-350px, -468px); }
  42.19%, 51.56% { transform: translate(350px, 468px) rotate(0deg) translate(-350px, -468px); }
  56.25% { transform: translate(350px, 468px) rotate(-12deg) translate(-350px, -468px); }
  60.94% { transform: translate(350px, 468px) rotate(0deg) translate(-350px, -468px); }
  65.62% { transform: translate(350px, 468px) rotate(-12deg) translate(-350px, -468px); }
  70.31%, 73.44% { transform: translate(350px, 468px) rotate(0deg) translate(-350px, -468px); animation-timing-function: ease-in-out; }
  82.81%, 100% { transform: translate(350px, 468px) rotate(-150deg) translate(-350px, -468px); }
}
@keyframes ill-arm-2 {
  0%, 35.94% { transform: translate(450px, 468px) rotate(150deg) translate(-450px, -468px); animation-timing-function: cubic-bezier(0.2, 0.8, 0.3, 1); }
  39.38% { transform: translate(450px, 468px) rotate(-7deg) translate(-450px, -468px); }
  42.19%, 51.56% { transform: translate(450px, 468px) rotate(0deg) translate(-450px, -468px); }
  56.25% { transform: translate(450px, 468px) rotate(12deg) translate(-450px, -468px); }
  60.94% { transform: translate(450px, 468px) rotate(0deg) translate(-450px, -468px); }
  65.62% { transform: translate(450px, 468px) rotate(12deg) translate(-450px, -468px); }
  70.31%, 73.44% { transform: translate(450px, 468px) rotate(0deg) translate(-450px, -468px); animation-timing-function: ease-in-out; }
  82.81%, 100% { transform: translate(450px, 468px) rotate(150deg) translate(-450px, -468px); }
}
@keyframes ill-arm-3 {
  0%, 35.94% { transform: translate(566px, 456px) rotate(-150deg) translate(-566px, -456px); animation-timing-function: cubic-bezier(0.2, 0.8, 0.3, 1); }
  39.38% { transform: translate(566px, 456px) rotate(7deg) translate(-566px, -456px); }
  42.19%, 51.56% { transform: translate(566px, 456px) rotate(0deg) translate(-566px, -456px); }
  56.25% { transform: translate(566px, 456px) rotate(-12deg) translate(-566px, -456px); }
  60.94% { transform: translate(566px, 456px) rotate(0deg) translate(-566px, -456px); }
  65.62% { transform: translate(566px, 456px) rotate(-12deg) translate(-566px, -456px); }
  70.31%, 73.44% { transform: translate(566px, 456px) rotate(0deg) translate(-566px, -456px); animation-timing-function: ease-in-out; }
  82.81%, 100% { transform: translate(566px, 456px) rotate(-150deg) translate(-566px, -456px); }
}
@keyframes ill-arm-4 {
  0%, 35.94% { transform: translate(674px, 456px) rotate(150deg) translate(-674px, -456px); animation-timing-function: cubic-bezier(0.2, 0.8, 0.3, 1); }
  39.38% { transform: translate(674px, 456px) rotate(-7deg) translate(-674px, -456px); }
  42.19%, 51.56% { transform: translate(674px, 456px) rotate(0deg) translate(-674px, -456px); }
  56.25% { transform: translate(674px, 456px) rotate(12deg) translate(-674px, -456px); }
  60.94% { transform: translate(674px, 456px) rotate(0deg) translate(-674px, -456px); }
  65.62% { transform: translate(674px, 456px) rotate(12deg) translate(-674px, -456px); }
  70.31%, 73.44% { transform: translate(674px, 456px) rotate(0deg) translate(-674px, -456px); animation-timing-function: ease-in-out; }
  82.81%, 100% { transform: translate(674px, 456px) rotate(150deg) translate(-674px, -456px); }
}
/* the gold lines at each hand burst out as the arms go up and flicker until they come down */
@keyframes ill-cheer {
  0%, 37.81% { opacity: 0; transform: scale(0.3); }
  40.94% { opacity: 1; transform: scale(1.2); }
  43.75% { opacity: 1; transform: scale(1); }
  53.91% { opacity: 1; transform: scale(0.8); }
  58.59% { opacity: 1; transform: scale(1.15); }
  63.28% { opacity: 1; transform: scale(0.85); }
  67.97%, 73.44% { opacity: 1; transform: scale(1); }
  76.56%, 100% { opacity: 0; transform: scale(0.6); }
}
/* the crowd jumps three times, a colour at a time */
@keyframes ill-crowd {
  0%, 35.94% { transform: translateY(0); animation-timing-function: ease-out; }
  38.75% { transform: translateY(-7px); animation-timing-function: ease-in; }
  41.56% { transform: translateY(0); animation-timing-function: ease-out; }
  44.38% { transform: translateY(-5px); animation-timing-function: ease-in; }
  47.19% { transform: translateY(0); animation-timing-function: ease-out; }
  50% { transform: translateY(-3px); animation-timing-function: ease-in; }
  52.81%, 100% { transform: translateY(0); }
}

/* ---------- the Airbnb hosts page's drawings in motion (poc-0.34.0) ---------- */
/* The hosts page's three drawings move the same way as the rugby drawings: site.js gives each one ill--anim, ill--run
   and ill--held, everything moves in CSS and --ill-play holds or plays every part at once. Without ill--anim each stays
   exactly as drawn. In both poolside drawings the sun turns, the tablecloth drifts over Table Mountain, the pool ripples
   and the palm sways. The review comes out of the guest's phone, at the tip of its tail, and goes back in at the end. */
.ill--anim .ill__rays { transform-box: fill-box; transform-origin: center; animation: spin 40s linear infinite both var(--ill-play); }
.ill--anim .ill__cloud { animation: ill-drift 9s ease-in-out infinite alternate both var(--ill-play); }
.ill--anim .ill__ripple { animation: ill-ripple 4s linear infinite both var(--ill-play); }
.ill--anim .ill__palm, .ill--anim .ill__card, .ill--anim .ill__phone, .ill--anim .ill__knee { transform-box: view-box; transform-origin: 0 0; }
.ill--anim .ill__palm { animation: ill-sway 5s ease-in-out infinite alternate both var(--ill-play); }
/* each star, the WiFi chip, the sparkles, the mesh units and their cover grow from their own middle */
.ill--anim .ill__star, .ill--anim .ill__chip, .ill--anim .ill__spark, .ill--anim .ill__unit, .ill--anim .ill__cover { transform-box: fill-box; transform-origin: center; }
.ill--anim .ill__star { transform-origin: 50% 55.3%; } /* the star's own middle, a little below the middle of its box */
.ill--anim .ill__line { transform-box: fill-box; transform-origin: 0 50%; } /* a line of the review writes itself from the left */
@keyframes ill-card {
  0% { opacity: 0; transform: translate(392px, 238px) scale(0.2) translate(-392px, -238px); }
  4% { opacity: 1; transform: translate(392px, 238px) scale(1.05) translate(-392px, -238px); }
  6%, 90% { opacity: 1; transform: translate(392px, 238px) scale(1) translate(-392px, -238px); }
  96%, 100% { opacity: 0; transform: translate(392px, 238px) scale(0.2) translate(-392px, -238px); }
}
@keyframes ill-drift { from { transform: translateX(-10px); } to { transform: translateX(14px); } }
@keyframes ill-ripple { to { transform: translateX(-120px); } } /* one wave's length, so the loop never shows */
@keyframes ill-sway {
  from { transform: translate(884px, 428px) rotate(-1.6deg) translate(-884px, -428px); }
  to { transform: translate(884px, 428px) rotate(1.4deg) translate(-884px, -428px); }
}

/* The first screen (8 s): the review comes up with five stars. The phone's wheel turns, the guest holds the phone up for
   a signal and the router's weak signal cuts out. Three stars wobble and fall away one at a time, then the red cross on
   WiFi shakes. Two stars are left, as drawn. */
.ill--anim.ill--pool-before .ill__card { animation: ill-card 8s infinite both var(--ill-play); }
.ill--anim.ill--pool-before .ill__star--5 { animation: ill-fall-5 8s infinite both var(--ill-play); }
.ill--anim.ill--pool-before .ill__star--4 { animation: ill-fall-4 8s infinite both var(--ill-play); }
.ill--anim.ill--pool-before .ill__star--3 { animation: ill-fall-3 8s infinite both var(--ill-play); }
.ill--anim.ill--pool-before .ill__chip { animation: ill-chip-shake 8s infinite both var(--ill-play); }
.ill--anim.ill--pool-before .ill__phone { animation: ill-reach 3.2s ease-in-out infinite both var(--ill-play); }
.ill--anim.ill--pool-before .ill__arc--2 { animation: ill-weak-2 2.6s step-end infinite both var(--ill-play); }
.ill--anim.ill--pool-before .ill__arc--3 { animation: ill-weak-3 3.4s step-end infinite both var(--ill-play); }
@keyframes ill-fall-5 {
  0%, 20% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
  21.5% { opacity: 1; transform: translateY(0) rotate(-14deg) scale(1); }
  23% { opacity: 1; transform: translateY(0) rotate(12deg) scale(1); }
  24.5% { opacity: 1; transform: translateY(0) rotate(-6deg) scale(1); animation-timing-function: ease-in; }
  32%, 100% { opacity: 0; transform: translateY(64px) rotate(80deg) scale(0.6); }
}
@keyframes ill-fall-4 {
  0%, 34% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
  35.5% { opacity: 1; transform: translateY(0) rotate(-14deg) scale(1); }
  37% { opacity: 1; transform: translateY(0) rotate(12deg) scale(1); }
  38.5% { opacity: 1; transform: translateY(0) rotate(-6deg) scale(1); animation-timing-function: ease-in; }
  46%, 100% { opacity: 0; transform: translateY(64px) rotate(80deg) scale(0.6); }
}
@keyframes ill-fall-3 {
  0%, 48% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
  49.5% { opacity: 1; transform: translateY(0) rotate(-14deg) scale(1); }
  51% { opacity: 1; transform: translateY(0) rotate(12deg) scale(1); }
  52.5% { opacity: 1; transform: translateY(0) rotate(-6deg) scale(1); animation-timing-function: ease-in; }
  60%, 100% { opacity: 0; transform: translateY(64px) rotate(80deg) scale(0.6); }
}
@keyframes ill-chip-shake {
  0%, 62% { transform: translateX(0) scale(1); }
  63.5% { transform: translateX(-6px) scale(1.08); }
  65% { transform: translateX(6px) scale(1.08); }
  66.5% { transform: translateX(-5px) scale(1.06); }
  68% { transform: translateX(4px) scale(1.04); }
  69.5% { transform: translateX(-2px) scale(1.02); }
  71%, 100% { transform: translateX(0) scale(1); }
}
/* the guest's arm turns at the shoulder */
@keyframes ill-reach {
  0%, 100% { transform: translate(312px, 324px) rotate(0deg) translate(-312px, -324px); }
  30% { transform: translate(312px, 324px) rotate(-7deg) translate(-312px, -324px); }
  55% { transform: translate(312px, 324px) rotate(3deg) translate(-312px, -324px); }
  80% { transform: translate(312px, 324px) rotate(-4deg) translate(-312px, -324px); }
}
@keyframes ill-weak-2 { 0% { opacity: 0.45; } 34% { opacity: 0.08; } 46% { opacity: 0.45; } 70% { opacity: 0; } 76%, 100% { opacity: 0.45; } }
@keyframes ill-weak-3 { 0% { opacity: 0.2; } 20% { opacity: 0; } 62% { opacity: 0.2; } 82% { opacity: 0; } 90%, 100% { opacity: 0.2; } }

/* The same guest after our visit (10 s): the review comes up and the guest taps in five stars, one at a time. The tick on
   WiFi pops up, the review writes itself, sparkles burst and the guest kicks a leg for joy. All the while the signal
   sweeps out from the mesh unit by the door, across the deck to the pool. */
.ill--anim.ill--pool-after .ill__card { animation: ill-card 10s infinite both var(--ill-play); }
.ill--anim.ill--pool-after .ill__star--1 { animation: ill-star-1 10s infinite both var(--ill-play); }
.ill--anim.ill--pool-after .ill__star--2 { animation: ill-star-2 10s infinite both var(--ill-play); }
.ill--anim.ill--pool-after .ill__star--3 { animation: ill-star-3 10s infinite both var(--ill-play); }
.ill--anim.ill--pool-after .ill__star--4 { animation: ill-star-4 10s infinite both var(--ill-play); }
.ill--anim.ill--pool-after .ill__star--5 { animation: ill-star-5 10s infinite both var(--ill-play); }
.ill--anim.ill--pool-after .ill__chip { animation: ill-chip-pop 10s infinite both var(--ill-play); }
.ill--anim.ill--pool-after .ill__line--1 { animation: ill-line-1 10s infinite both var(--ill-play); }
.ill--anim.ill--pool-after .ill__line--2 { animation: ill-line-2 10s infinite both var(--ill-play); }
.ill--anim.ill--pool-after .ill__spark { animation: ill-spark 10s infinite both var(--ill-play); }
.ill--anim.ill--pool-after .ill__spark--2 { animation-delay: 0.15s; }
.ill--anim.ill--pool-after .ill__spark--3 { animation-delay: 0.3s; }
.ill--anim.ill--pool-after .ill__spark--4 { animation-delay: 0.08s; }
.ill--anim.ill--pool-after .ill__phone { animation: ill-tap 10s infinite both var(--ill-play); }
.ill--anim.ill--pool-after .ill__knee { animation: ill-kick 10s infinite both var(--ill-play); }
.ill--anim.ill--pool-after .ill__ring--1 { animation: ill-ring-1 2.7s ease-in-out infinite both var(--ill-play); }
.ill--anim.ill--pool-after .ill__ring--2 { animation: ill-ring-2 2.7s 0.45s ease-in-out infinite both var(--ill-play); }
.ill--anim.ill--pool-after .ill__ring--3 { animation: ill-ring-3 2.7s 0.9s ease-in-out infinite both var(--ill-play); }
.ill--anim.ill--pool-after .ill__arc { animation: ill-arc 1.8s ease-in-out infinite both var(--ill-play); }
.ill--anim.ill--pool-after .ill__arc--2 { animation-delay: 0.2s; }
.ill--anim.ill--pool-after .ill__arc--3 { animation-delay: 0.4s; }
/* a star pops in with a turn and settles */
@keyframes ill-star-1 { 0%, 8% { opacity: 0; transform: scale(0.2) rotate(-60deg); } 10% { opacity: 1; transform: scale(1.3) rotate(10deg); } 11.5%, 100% { opacity: 1; transform: scale(1) rotate(0deg); } }
@keyframes ill-star-2 { 0%, 13% { opacity: 0; transform: scale(0.2) rotate(-60deg); } 15% { opacity: 1; transform: scale(1.3) rotate(10deg); } 16.5%, 100% { opacity: 1; transform: scale(1) rotate(0deg); } }
@keyframes ill-star-3 { 0%, 18% { opacity: 0; transform: scale(0.2) rotate(-60deg); } 20% { opacity: 1; transform: scale(1.3) rotate(10deg); } 21.5%, 100% { opacity: 1; transform: scale(1) rotate(0deg); } }
@keyframes ill-star-4 { 0%, 23% { opacity: 0; transform: scale(0.2) rotate(-60deg); } 25% { opacity: 1; transform: scale(1.3) rotate(10deg); } 26.5%, 100% { opacity: 1; transform: scale(1) rotate(0deg); } }
@keyframes ill-star-5 { 0%, 28% { opacity: 0; transform: scale(0.2) rotate(-60deg); } 30% { opacity: 1; transform: scale(1.3) rotate(10deg); } 31.5%, 100% { opacity: 1; transform: scale(1) rotate(0deg); } }
@keyframes ill-chip-pop { 0%, 34% { opacity: 0; transform: scale(0.4); } 36% { opacity: 1; transform: scale(1.12); } 37.5%, 100% { opacity: 1; transform: scale(1); } }
@keyframes ill-line-1 { 0%, 37% { transform: scaleX(0); } 43%, 100% { transform: scaleX(1); } }
@keyframes ill-line-2 { 0%, 41% { transform: scaleX(0); } 46%, 100% { transform: scaleX(1); } }
/* the sparkles burst as the fifth star goes in and twinkle once more */
@keyframes ill-spark {
  0%, 30% { opacity: 0; transform: scale(0) rotate(0deg); }
  33% { opacity: 1; transform: scale(1.25) rotate(60deg); }
  38% { opacity: 1; transform: scale(1) rotate(90deg); }
  45%, 60% { opacity: 0; transform: scale(0.5) rotate(135deg); }
  63% { opacity: 1; transform: scale(1.1) rotate(180deg); }
  70%, 100% { opacity: 0; transform: scale(0.4) rotate(225deg); }
}
/* the arm dips at the shoulder as the guest taps each star */
@keyframes ill-tap {
  0%, 6%, 9%, 11%, 14%, 16%, 19%, 21%, 24%, 26%, 29%, 100% { transform: translate(312px, 324px) rotate(0deg) translate(-312px, -324px); }
  7.5%, 12.5%, 17.5%, 22.5%, 27.5% { transform: translate(312px, 324px) rotate(3deg) translate(-312px, -324px); }
}
/* the bent leg kicks twice at the hip */
@keyframes ill-kick {
  0%, 31% { transform: translate(372px, 356px) rotate(0deg) translate(-372px, -356px); }
  33% { transform: translate(372px, 356px) rotate(-7deg) translate(-372px, -356px); }
  35% { transform: translate(372px, 356px) rotate(0deg) translate(-372px, -356px); }
  37% { transform: translate(372px, 356px) rotate(-7deg) translate(-372px, -356px); }
  39.5%, 100% { transform: translate(372px, 356px) rotate(0deg) translate(-372px, -356px); }
}
/* each ring brightens a moment after the one inside it, so the signal sweeps outwards */
@keyframes ill-ring-1 { 0%, 60%, 100% { opacity: 0.2; stroke-width: 4px; } 22% { opacity: 0.62; stroke-width: 7px; } }
@keyframes ill-ring-2 { 0%, 60%, 100% { opacity: 0.12; stroke-width: 4px; } 22% { opacity: 0.45; stroke-width: 7px; } }
@keyframes ill-ring-3 { 0%, 60%, 100% { opacity: 0.06; stroke-width: 4px; } 22% { opacity: 0.3; stroke-width: 7px; } }
@keyframes ill-arc { 0%, 60%, 100% { opacity: 0.35; } 25% { opacity: 1; } }

/* The modular house (8 s): the first unit goes in by the fibre box, then the unit upstairs and the one by the patio door
   join it, each with its cover. After a moment the extra unit drops into the garden cottage and joins the same network.
   The links pulse along all the while. Then the units go and it starts again. */
.ill--anim.ill--modular .ill__unit { transform-origin: 29% 100%; } /* the unit's foot, under its badge */
.ill--anim.ill--modular .ill__unit--1 { animation: ill-unit-1 8s infinite both var(--ill-play); }
.ill--anim.ill--modular .ill__unit--2 { animation: ill-unit-2 8s infinite both var(--ill-play); }
.ill--anim.ill--modular .ill__unit--3 { animation: ill-unit-3 8s infinite both var(--ill-play); }
.ill--anim.ill--modular .ill__unit--4 { animation: ill-unit-4 8s infinite both var(--ill-play); }
.ill--anim.ill--modular .ill__cover--1 { animation: ill-cover-1 8s infinite both var(--ill-play); }
.ill--anim.ill--modular .ill__cover--2 { animation: ill-cover-2 8s infinite both var(--ill-play); }
.ill--anim.ill--modular .ill__cover--3 { animation: ill-cover-3 8s infinite both var(--ill-play); }
.ill--anim.ill--modular .ill__cover--4 { animation: ill-cover-4 8s infinite both var(--ill-play); }
.ill--anim.ill--modular .ill__link--1 { animation: ill-dash 0.9s linear infinite both var(--ill-play), ill-link-1 8s infinite both var(--ill-play); }
.ill--anim.ill--modular .ill__link--2 { animation: ill-dash 0.9s linear infinite both var(--ill-play), ill-link-2 8s infinite both var(--ill-play); }
.ill--anim.ill--modular .ill__link--3 { animation: ill-dash 0.9s linear infinite both var(--ill-play), ill-link-3 8s infinite both var(--ill-play); }
@keyframes ill-unit-1 { 0%, 3% { opacity: 0; transform: translateY(-24px) scale(0.6); } 6% { opacity: 1; transform: translateY(0) scale(1.08); } 8%, 90% { opacity: 1; transform: translateY(0) scale(1); } 95%, 100% { opacity: 0; transform: translateY(0) scale(0.6); } }
@keyframes ill-unit-2 { 0%, 14% { opacity: 0; transform: translateY(-24px) scale(0.6); } 17% { opacity: 1; transform: translateY(0) scale(1.08); } 19%, 90% { opacity: 1; transform: translateY(0) scale(1); } 95%, 100% { opacity: 0; transform: translateY(0) scale(0.6); } }
@keyframes ill-unit-3 { 0%, 25% { opacity: 0; transform: translateY(-24px) scale(0.6); } 28% { opacity: 1; transform: translateY(0) scale(1.08); } 30%, 90% { opacity: 1; transform: translateY(0) scale(1); } 95%, 100% { opacity: 0; transform: translateY(0) scale(0.6); } }
/* the extra unit drops in from above, lands with a squash and settles */
@keyframes ill-unit-4 {
  0%, 46% { opacity: 0; transform: translateY(-90px) scale(1); animation-timing-function: ease-in; }
  50% { opacity: 1; transform: translateY(0) scale(1); }
  52% { opacity: 1; transform: translateY(0) scale(1.14, 0.88); }
  54.5%, 90% { opacity: 1; transform: translateY(0) scale(1); }
  95%, 100% { opacity: 0; transform: translateY(0) scale(0.6); }
}
@keyframes ill-cover-1 { 0%, 6% { opacity: 0; transform: scale(0.3); } 10% { opacity: 0.18; } 14%, 90% { opacity: 0.1; transform: scale(1); } 95%, 100% { opacity: 0; transform: scale(1); } }
@keyframes ill-cover-2 { 0%, 17% { opacity: 0; transform: scale(0.3); } 21% { opacity: 0.18; } 25%, 90% { opacity: 0.1; transform: scale(1); } 95%, 100% { opacity: 0; transform: scale(1); } }
@keyframes ill-cover-3 { 0%, 28% { opacity: 0; transform: scale(0.3); } 32% { opacity: 0.18; } 36%, 90% { opacity: 0.1; transform: scale(1); } 95%, 100% { opacity: 0; transform: scale(1); } }
@keyframes ill-cover-4 { 0%, 50% { opacity: 0; transform: scale(0.3); } 54% { opacity: 0.18; } 58%, 90% { opacity: 0.1; transform: scale(1); } 95%, 100% { opacity: 0; transform: scale(1); } }
@keyframes ill-dash { to { stroke-dashoffset: -15px; } } /* one dash and its gap, so the flow never jumps */
@keyframes ill-link-1 { 0%, 17% { opacity: 0; } 21%, 90% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes ill-link-2 { 0%, 28% { opacity: 0; } 32%, 90% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes ill-link-3 { 0%, 50% { opacity: 0; } 54%, 90% { opacity: 1; } 95%, 100% { opacity: 0; } }

/* ---------- problems ---------- */
.problems__title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); line-height: 1.25; color: var(--violet-deep); text-align: center; margin-bottom: var(--s3); }
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.problem { display: grid; gap: var(--s2); align-content: start; }
.problem h3 { font-size: 1.25rem; }
.problem p { font-size: 1rem; }
.problems__close { margin-top: var(--s4); display: flex; flex-direction: column; align-items: center; gap: var(--s3); text-align: center; } /* 24 px under its big line on computers, where 16 looked cramped (Chris, 12 November) */
.problems__close p { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xl); line-height: 1.2; color: var(--violet-deep); }

/* ---------- the fix ---------- */
/* the mesh video: a drawing that moves, so it sits in a card like the drawings do */
.demo { position: relative; max-width: 960px; margin: 0 auto var(--s4); padding: var(--s2); background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.demo video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-md); background: var(--mist); cursor: pointer; }
/* its play and pause button (poc-0.27.11), in place of the browser's bar. It shows over the still picture where the
   video can't play by itself (a device set to less motion or one that blocks autoplay) and once a tap has paused it.
   While the video plays it stays out of sight, except to the keyboard, which can pause the video with it. Over the
   16:9 video it sits in the middle, 72px across, where people look for it (Chris, 14 November, poc-0.27.13). On the
   phones' 4:3 cut it sits in the middle too, 56px across, since the full-screen button took its corner (poc-0.27.15). */
.demo__play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 72px; height: 72px; margin: -36px 0 0 -36px; padding: 0; border: 0; border-radius: 50%; background: rgba(62, 23, 112, 0.88); color: var(--white); cursor: pointer; box-shadow: 0 8px 18px -8px rgba(30, 20, 45, 0.6); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, background-color 0.2s ease; }
.demo__play:hover { background: var(--violet-deep); }
.demo__play .i { width: 32px; height: 32px; }
.demo__play .i:last-child, .demo--playing .demo__play .i:first-child { display: none; }
.demo--playing .demo__play .i:last-child { display: block; }
.demo--offer .demo__play, .demo__play:focus-visible { opacity: 1; pointer-events: auto; }
/* its full-screen button (Chris, 14 November, poc-0.27.15). It's always there, wherever the browser can show the video
   full screen. On computers and tablets it sits in the bottom right corner of the 16:9 video, where video players keep
   it and nothing is drawn. The phones' 4:3 cut has its captions there, so on phones it sits in the top right corner. */
.demo__full { position: absolute; right: calc(var(--s2) + 12px); bottom: calc(var(--s2) + 12px); display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(62, 23, 112, 0.88); color: var(--white); cursor: pointer; box-shadow: 0 8px 18px -8px rgba(30, 20, 45, 0.6); transition: background-color 0.2s ease; }
.demo__full:hover { background: var(--violet-deep); }
.demo__full .i { width: 20px; height: 20px; }
.demo__full .i:last-child, .demo--full .demo__full .i:first-child { display: none; }
.demo--full .demo__full .i:last-child { display: block; }
/* full screen: the video fills the screen on its own lilac (#F6F1FC, from src/video/mesh.html), so the room a screen of
   another shape leaves beside it looks like part of the picture. Its full-screen button sits in the screen's corner. */
.demo.demo--full { display: flex; align-items: center; justify-content: center; padding: 0; border-radius: 0; background: #F6F1FC; box-shadow: none; }
.demo.demo--full video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; border-radius: 0; background: #F6F1FC; }
.demo.demo--full .demo__full { top: auto; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
.fix { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s5); align-items: start; }
.features { display: grid; gap: var(--s3); }
.feature { display: grid; grid-template-columns: 28px 1fr; gap: var(--s2); align-items: start; }
.feature__icon { width: 28px; height: 28px; color: var(--violet); display: grid; place-items: center; margin-top: 0.05rem; } /* a plain icon, no purple box (poc-0.27.0) */
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.feature p { font-size: 1rem; }
/* white from top to bottom with the cards' lilac edge: on the grey band a grey photo hid the card's top, so on a phone the
   space above the card and inside it read as 51 px of empty grey under the list (Chris, 12 November) */
.product { background: var(--white); border: 1.5px solid var(--lilac-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.product .art { border-radius: 0; }
.product__photo { display: grid; place-items: center; padding: var(--s3) var(--s3) var(--s2); background: var(--white); } /* grey until poc-0.27.5 */
.product__photo img { height: 250px; width: auto; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(62, 23, 112, 0.16)); } /* contain: the two units keep their shape on the narrowest screens */
.product__body { padding: var(--s3) var(--s4) var(--s4); display: grid; gap: var(--s2); }
.product__brand { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; }
.product__brand h3 { font-size: 1.3rem; }
.product__logo { height: 24px; width: auto; }
/* the price and a button to the shop, on computers too since the home page's pack cards went (poc-0.27.0) */
.product__buy { margin-top: var(--s1); display: grid; gap: 0.75rem; }
.product__buy b { font-family: var(--font-display); font-size: 1.25rem; color: var(--violet-deep); }
.product__price { display: grid; gap: 0.15rem; } /* the price and what it buys, so it never reads as the price of one unit */
.product__price span { color: var(--ink-soft); font-size: var(--fs-sm); }

/* ---------- partner logos (the brands' own files, never redrawn) ---------- */
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); }
.logos img { width: auto; max-width: none; }
.logos .logo-cudy { height: 26px; }
.logos .logo-tplink { height: 30px; }
.logos .logo-unifi { height: 21px; }
.logos--tiles { gap: 0.75rem; }
.logos--tiles li { display: grid; place-items: center; min-width: 120px; min-height: 64px; padding: 0.8rem 1.2rem; border-radius: var(--r-sm); background: var(--white); border: 1.5px solid var(--lilac-soft); }
.trust { border-block: 1px solid var(--lilac-soft); padding-block: 1.1rem; }
/* the culprits' heading starts 24px under the logos' band on computers too, as on phones, where a section's 36px left its letters
   45px under the band's line and looked like too much space (Chris, 12 November) */
.trust + .section { padding-top: var(--s3); }
.trust__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s2) var(--s4); }
/* the three logos stay on one line on any phone, even with larger text: on narrow screens they shrink with the screen */
.trust .logos { flex-wrap: nowrap; gap: min(var(--s4), 9vw); }
.trust .logos .logo-cudy { height: min(26px, 6.8vw); }
.trust .logos .logo-tplink { height: min(30px, 7.8vw); }
.trust .logos .logo-unifi { height: min(21px, 5.5vw); }
.specs { display: grid; gap: 0.55rem; }
.specs li { display: grid; grid-template-columns: 20px 1fr; gap: 0.6rem; font-size: 0.98rem; color: var(--ink); }
.specs svg { width: 20px; height: 20px; color: var(--ok); margin-top: 0.15rem; }
.fineprint { font-size: var(--fs-xs); color: var(--ink-faint); line-height: 1.5; }

/* ---------- packages ---------- */
.packages { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); max-width: 940px; margin: 0 auto; }
.pack { position: relative; display: grid; gap: var(--s2); align-content: start; padding: var(--s4); border-radius: var(--r-lg); background: var(--white); border: 1.5px solid var(--lilac-soft); box-shadow: var(--shadow-soft); }
/* the pack most homes need: a violet outline, with no gradient or tab (poc-0.27.0) */
.pack--star { border: 2px solid var(--violet); box-shadow: var(--shadow-card); }
.pack__badge { font-size: var(--fs-sm); font-weight: 650; color: var(--violet); }
/* each pack card shows its units, small, as the shop's cards do (Chris, 29 October) */
.pack__photo { height: 84px; width: auto; justify-self: start; filter: drop-shadow(0 8px 10px rgba(62, 23, 112, 0.18)); }
.pack h3 { font-size: 1.6rem; }
.pack__fit { font-size: 1rem; }
.pack__price { display: grid; gap: 0.1rem; padding-block: var(--s1); }
.pack__price b { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--violet-deep); font-variant-numeric: tabular-nums; }
/* since poc-0.27.0 the big number is the installed price, as in the shop and the ads */
.pack__price b small { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.pack__price span { font-size: var(--fs-sm); }
.pack__installed { font-size: 0.98rem; }
.pack__installed strong { color: inherit; }
.pack__bnpl { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 650; color: var(--ok); font-size: 0.98rem; }
.pack__bnpl svg { width: 20px; height: 20px; }
/* "with" and a pay-later method's logo (Happy Pay's) end its instalment line like a word and wrap together. The logo sits
   on the line's baseline with its smile below, black on light backgrounds and cream on dark ones. Happy Pay's brand
   guidelines ask for at least 21px from the top of its H to the base of its smile (27px of the file's height) and the
   width of its "a" clear all round: a quarter of the file's height, of which the file's own edge gives 0.108 above and
   below and 0.115 at the sides. The H's foot is 0.591 of the file's height from its bottom. */
.bnpl-with { white-space: nowrap; }
.bnpl-logo { --h: max(30px, 1.9em); display: inline-block; height: var(--h); width: auto; margin: calc(var(--h) * 0.142) calc(var(--h) * 0.135); vertical-align: calc(var(--h) * -0.733); }
.bnpl-logo--cream, .hero .bnpl-logo--black { display: none; }
.hero .bnpl-logo--cream { display: inline-block; } /* the 3-Pack's card is dark in the purple look too (purple.css) */
.pack__list { display: grid; gap: 0.45rem; margin-block: var(--s1); }
.pack__list li { display: grid; grid-template-columns: 18px 1fr; gap: 0.55rem; font-size: 0.97rem; color: var(--ink-soft); }
.pack__list svg { width: 18px; height: 18px; margin-top: 0.2rem; color: var(--violet); }
.addons { max-width: 940px; margin: var(--s3) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.addon { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s2); padding: var(--s3); border-radius: var(--r-md); background: var(--mist); }
.addon__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--white); display: grid; place-items: center; color: var(--violet-deep); }
/* on a grey band a grey add-on showed no edge, so its padding looked like empty space between the boxes (12 November) */
.section--mist .addon { background: var(--white); border: 1.5px solid var(--lilac-soft); }
.section--mist .addon__icon { background: var(--mist); }
.addon__icon svg { width: 22px; height: 22px; }
.addon h3 { font-size: 1.05rem; }
.addon p { font-size: 0.93rem; line-height: 1.45; }
.addon b { font-family: var(--font-display); font-size: 1.35rem; color: var(--violet-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.packages__note { max-width: 760px; margin: var(--s3) auto 0; text-align: center; display: grid; gap: var(--s2); justify-items: center; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); counter-reset: step; }
/* each step's number sits beside its heading in a small ring, with the words under both (Chris, 12 November: on phones the
   46px ring above the heading looked huge). The ring is sized in em, so it grows with its number when a phone shows larger text. */
.step { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.5rem 0.75rem; align-content: start; }
.step > p { grid-column: 1 / -1; }
.step__n { width: 2em; height: 2em; border-radius: 50%; background: var(--white); border: 2px solid var(--violet); color: var(--violet-deep); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1; display: grid; place-items: center; } /* orange is for buttons only (poc-0.27.0) */
.step p { font-size: 1rem; }

/* ---------- promise ---------- */
.promise { background: var(--white); position: relative; overflow: hidden; } /* a purple band until poc-0.27.0 */
.promise + .section { border-top: 1px solid var(--lilac-soft); }
/* a light list since poc-0.43.0 (Chris, 20 November): a hairline between the rows and no grey boxes, which made
   every promise look like the blocks around it. The first row has no line above it; the narrower screens give the
   line back to the items that start a row there (responsive, below). The purple look keeps its cards (purple.css). */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--s4); }
.promise-item { display: grid; grid-template-columns: 28px 1fr; gap: var(--s2); padding: var(--s2) 0; border-top: 1px solid var(--lilac-soft); }
.promise-item:nth-child(-n+3) { border-top: 0; padding-top: 0; }
.promise-item__icon { width: 28px; height: 28px; display: grid; place-items: center; color: var(--violet); }
.promise-item__icon svg { width: 24px; height: 24px; }
.promise-item h3 { font-size: 1.1rem; }
.promise-item p { font-size: 0.97rem; margin-top: 0.2rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq details { background: var(--white); border: 1.5px solid var(--lilac-soft); border-radius: var(--r-sm); }
.faq details[open] { border-color: var(--lilac); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: 1rem 1.2rem; font-family: var(--font-display); font-weight: 650; font-size: 1.08rem; color: var(--violet-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--violet); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.2rem 1.1rem; font-size: 1rem; }

/* ---------- final call to action ---------- */
/* the one dark band, in a single solid colour, so the orange button stands out on it (3.5 to 1) */
/* as much room inside as a section, with the buttons as close under the words as on an inner page's first band (Chris,
   12 November: s5 inside and s4 above the buttons until poc-0.27.2) */
.closer { background: var(--night); color: var(--white); text-align: center; padding-block: 1.75rem; position: relative; overflow: hidden; } /* a section's 28px on computers since poc-0.28.2 */
.closer h2 { color: var(--white); }
.closer p { color: var(--lilac-soft); font-size: var(--fs-md); margin-top: var(--s2); }
.closer__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--lilac-soft); padding-block: var(--s4); font-size: var(--fs-sm); } /* s5 at the top until poc-0.27.1 */
.site-footer a:hover { color: var(--white); }
/* six columns on a wide screen: who we are, Home WiFi, WiFi help, areas, business and how to reach us */
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.1fr 1fr 1.4fr; gap: var(--s4) var(--s3); }
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 0.6rem; }
.footer-grid ul { display: grid; gap: 0.4rem; }
.footer-grid p { color: var(--lilac-soft); }
.site-footer .logo { color: var(--white); margin-bottom: 0.6rem; }
.footer-contact a { white-space: nowrap; } /* the email address and phone numbers never break over two lines */
.footer-base { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid rgba(233, 219, 251, 0.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); color: rgba(232, 228, 239, 0.6); } /* the small print on ink, 5.7:1 (ink-faint until poc-0.38.2) */
.footer-base a { text-decoration: underline; text-underline-offset: 2px; }
/* the team's pages, bookings and installers, end with a slim footer (poc-0.29.0) and the installers' header has no Shop */
.site-footer--team { padding-block: var(--s2); }
.footer-team { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.3rem var(--s2); color: rgba(232, 228, 239, 0.6); }
.footer-team a { text-decoration: underline; text-underline-offset: 2px; }
body:has(main[data-portal="installer"]) .header-shop { display: none; }

/* ---------- floating WhatsApp (phones) ---------- */
.wa-float { display: none; }
main.page-shop ~ .wa-float, main.page-done ~ .wa-float { display: none !important; } /* these pages carry their own WhatsApp buttons */

/* ---------- page heads (inner pages) ---------- */
.page-head { background: var(--mist); color: var(--ink); padding-block: var(--s4); position: relative; overflow: hidden; } /* s5 at the bottom until poc-0.27.2 */
.page-head h1 { color: var(--night); font-size: clamp(2.1rem, 4.6vw, 3.3rem); letter-spacing: -0.015em; }
.page-head h1 .peach { color: var(--violet); }
.page-head h1 .hero__line { display: block; } /* a sentence on a line of its own, as on the About page (Chris, 12 November) */
.page-head p { color: var(--ink-soft); font-size: var(--fs-md); margin-top: var(--s2); max-width: 60ch; }
.page-head .hero__actions { margin-top: var(--s3); }

/* ---------- content blocks (business, consulting) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: center; }
.split--top { align-items: start; }
.stack { display: grid; gap: var(--s2); }
.ticks { display: grid; gap: 0.6rem; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 0.6rem; color: var(--ink); }
.ticks svg { width: 22px; height: 22px; color: var(--violet); margin-top: 0.12rem; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
/* customer reviews: real quotes from site.json; dashed placeholders in the preview until they arrive */
.review { max-width: 760px; margin: var(--s4) auto 0; padding: var(--s3) var(--s4); border-radius: var(--r-lg); background: var(--white); border: 1.5px solid var(--lilac-soft); box-shadow: var(--shadow-soft); display: grid; gap: 0.75rem; }
.review blockquote p { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-lg); line-height: 1.35; color: var(--violet-deep); }
.review figcaption { display: flex; flex-wrap: wrap; gap: 0.15rem 0.6rem; font-size: var(--fs-sm); color: var(--ink-soft); }
.review figcaption b { color: var(--ink); font-weight: 650; }
.review--placeholder { background: transparent; border: 1.5px dashed var(--lilac); box-shadow: none; }
.review--placeholder blockquote p { font-family: var(--font-body); font-weight: 500; font-size: var(--fs-base); color: var(--ink-faint); }
.shop > .review { grid-column: 1; margin: 0; max-width: none; } /* the shop's review follows the order summary, so nothing comes between the steps */
/* a customer's own Google review as a picture (poc-0.42.0, the Google ad's landing page): the screenshot on the review's
   white card, with words about the size of the page's own on a computer. It doesn't link to Google (Chris, 20 November). */
.review--shot { max-width: 360px; padding: var(--s1); gap: 0; overflow: hidden; }
.review--shot img { display: block; width: 100%; height: auto; }
/* a card and a price box carry the same lilac edge as the packages, reviews and questions, so they still read as boxes on a white
   band, where a white box with only a soft shadow left its padding looking like empty space (Chris, 12 November) */
.card { background: var(--white); border: 1.5px solid var(--lilac-soft); border-radius: var(--r-md); padding: var(--s3); box-shadow: var(--shadow-soft); display: grid; gap: 0.5rem; align-content: start; }
.card h3 { font-size: 1.15rem; }
.card p { font-size: 0.98rem; }
.card__icon { width: 28px; height: 28px; color: var(--violet); display: grid; place-items: center; margin-bottom: 0.3rem; }
.card__icon svg { width: 26px; height: 26px; }
.card--link { transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.card__more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.3rem; font-weight: 700; color: var(--violet); }
.card__more svg { width: 18px; height: 18px; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.65rem 1.4rem; font-size: 0.98rem; }
.facts dt { color: var(--ink-soft); }
.facts dd { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.to-follow { color: var(--ink-faint); font-weight: 500; font-style: italic; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.pair__item { border-radius: var(--r-md); padding: var(--s4); display: grid; gap: var(--s2); align-content: start; }
.pair__item--a { background: var(--mist); }
.pair__item--b { background: var(--violet-deep); }
.pair__item--b h3, .pair__item--b strong { color: var(--white); }
.pair__item--b p, .pair__item.pair__item--b li { color: var(--lilac-soft); }
.pair__item .tag { font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); }
.pair__item--b .tag { color: var(--peach); }
.pair__item ul { display: grid; gap: 0.4rem; }
.pair__item li { padding-left: 1.1rem; position: relative; font-size: 0.98rem; color: var(--ink-soft); }
.pair__item li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
.rate { background: var(--white); border: 1.5px solid var(--lilac-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: var(--s4); display: grid; gap: var(--s2); }
.rate__actions { display: grid; gap: 0.6rem; margin-top: var(--s1); }

/* WiFi, fibre line or provider: three checkpoints joined by a line */
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.check { position: relative; display: grid; gap: 0.4rem; align-content: start; }
.check:not(:last-child)::before { content: ""; position: absolute; top: 25px; left: 62px; right: calc(8px - var(--s4)); height: 2px; background: var(--lilac); }
.check__node { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: var(--violet-deep); box-shadow: 0 0 0 5px var(--mist), 0 0 0 7px var(--lilac); margin-bottom: 0.6rem; }
.check__node svg { width: 26px; height: 26px; }
.check--ours .check__node { background: var(--ember); box-shadow: 0 0 0 5px var(--mist), 0 0 0 7px rgba(208, 69, 27, 0.45); }
.check p { font-size: 0.98rem; }
.check__verdict { font-weight: 700; color: var(--violet-deep); }
.check--ours .check__verdict { color: var(--ember-dark); }

/* ---------- legal and simple pages ---------- */
/* One column as wide as the article, so a word too long for the line (an email address on the PAIA manual) wraps onto the
   next one in place of widening the column past the screen when the text is larger (poc-0.43.1). The lists do the same. */
.prose { max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); overflow-wrap: break-word; }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--s3); }
.prose ul { list-style: disc; padding-left: 1.3rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.35rem; color: var(--ink-soft); }
.notice { border-radius: var(--r-sm); padding: 1rem 1.2rem; background: var(--warn-soft); color: var(--warn); font-weight: 600; }
.legal h2 { font-size: 1.3rem; margin-top: var(--s4); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.legal li strong, .legal p strong { color: var(--ink); }
.callout { border-radius: var(--r-sm); padding: 1rem 1.2rem; background: var(--warn-soft); border: 1.5px solid #F2C98A; color: var(--ink); }
.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--lilac-soft); }
.prose th { font-family: var(--font-display); font-weight: 650; color: var(--violet-deep); border-bottom: 1.5px solid var(--lilac); }
.prose td { color: var(--ink-soft); }
.booking__change { font-size: 0.93rem; color: var(--ink-soft); }

/* ==================================================================
   Shop: one-page checkout
   ================================================================== */
.shop-head { background: var(--mist); padding-block: var(--s4) var(--s5); color: var(--ink); position: relative; overflow: hidden; }
.shop-head h1 { color: var(--night); font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.015em; }
.shop-head p { color: var(--ink-soft); margin-top: 0.5rem; font-size: var(--fs-md); }
.shop { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s4); align-items: start; margin-top: calc(-1 * var(--s4)); position: relative; padding-bottom: var(--s5); }
.shop__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); min-width: 0; }
/* minmax(0, 1fr) keeps the scrolling date strip inside the card instead of stretching the page */
.panel { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: var(--s4); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); min-width: 0; }
.panel__head { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: center; }
.panel__n { width: 38px; height: 38px; border-radius: 50%; background: var(--violet-deep); color: var(--white); font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; }
.panel--done .panel__n { background: var(--ok); }
/* a short glow on the step that still needs something, when the customer presses Pay too early */
.panel { transition: box-shadow 0.3s ease; }
.panel--nudge { box-shadow: var(--shadow-card), 0 0 0 3px var(--ember); }
.panel__head h2, .panel > h2 { font-size: 1.45rem; }
.panel__head p { grid-column: 2; font-size: 0.95rem; margin-top: -0.4rem; }

/* package options */
.options { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.option { position: relative; display: grid; gap: 0.35rem; align-content: start; padding: 1.1rem 1.15rem 1.15rem; border: 2px solid var(--lilac-soft); border-radius: var(--r-md); cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease; background: var(--white); }
.option:hover { border-color: var(--lilac); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option:has(input:checked) { border-color: var(--violet); background: #FBF8FF; box-shadow: 0 0 0 4px rgba(123, 47, 224, 0.12); }
.option__top { display: flex; justify-content: space-between; align-items: center; gap: var(--s1); }
.option__name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--violet-deep); }
.option__radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--lilac); display: grid; place-items: center; flex-shrink: 0; }
.option:has(input:checked) .option__radio { border-color: var(--violet); }
.option:has(input:checked) .option__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--violet); }
.option__price { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.option__fit { font-size: 0.93rem; line-height: 1.45; }
/* each pack card shows its units and leads with the installed price, the price the ads quote (Chris, 29 October) */
.option__photo { height: 84px; width: auto; justify-self: start; margin-bottom: 0.15rem; filter: drop-shadow(0 8px 10px rgba(62, 23, 112, 0.18)); }
.option__price small { font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); }
.option__parts { font-size: 0.85rem; color: var(--ink-faint); margin-top: -0.15rem; }
/* a short note on an option ("Best for most homes", "Recommended"): a small orange pill in capitals, the one orange that isn't a
   button, because Chris prefers it to violet words (12 November) */
.option__tag { justify-self: start; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ember-dark); background: #FCE9E2; border-radius: 999px; padding: 0.15rem 0.55rem; }

.nodes-row { display: grid; grid-template-columns: 1fr auto; gap: var(--s2); align-items: center; padding: 1rem 1.15rem; border-radius: var(--r-md); background: var(--mist); }
.nodes-row h3 { font-size: 1.05rem; }
.nodes-row p { font-size: 0.92rem; line-height: 1.45; }
/* the Gizzu mini UPS under Extra units: Gizzu's photo, then the same words and stepper as the row above it */
.ups-row { grid-template-columns: 92px minmax(0, 1fr) auto; }
.ups-row__photo { width: 92px; height: auto; filter: drop-shadow(0 6px 8px rgba(62, 23, 112, 0.18)); }
.ups-row h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.55rem; }
.ups-row h3 .option__tag { font-family: var(--font-body); }
.stepper { display: inline-flex; align-items: center; justify-self: start; border-radius: 999px; background: var(--white); border: 1.5px solid var(--lilac); }
.stepper button { width: 44px; height: 44px; display: grid; place-items: center; font-size: 1.35rem; font-weight: 700; color: var(--violet-deep); border-radius: 50%; }
.stepper button:disabled { color: var(--lilac); cursor: not-allowed; }
.stepper output { min-width: 2ch; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; font-variant-numeric: tabular-nums; }

.coverage { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.95rem; color: var(--ink-soft); }
.coverage svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--violet); margin-top: 0.1rem; }
.coverage strong { color: var(--violet-deep); }

.helper-toggle { justify-self: start; display: inline-flex; align-items: center; gap: 0.45rem; color: var(--violet); font-weight: 650; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.helper { border-radius: var(--r-md); border: 1.5px dashed var(--lilac); padding: var(--s3); display: grid; gap: var(--s2); }
.helper h3 { font-size: 1.1rem; }
.helper__q { display: grid; gap: 0.5rem; }
.helper__q > span { font-weight: 650; font-size: 0.95rem; color: var(--ink); }
.seg { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; min-height: 2.6rem; padding: 0.45rem 0.95rem; border-radius: 999px; border: 1.5px solid var(--lilac); font-size: 0.95rem; font-weight: 600; color: var(--violet-deep); background: var(--white); }
.seg input:checked + span { background: var(--violet-deep); border-color: var(--violet-deep); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--ember); outline-offset: 2px; }
.helper__result { display: grid; grid-template-columns: 1fr auto; gap: var(--s2); align-items: center; padding: 1rem 1.15rem; border-radius: var(--r-sm); background: var(--ok-soft); }
.helper__result p { color: var(--ink); font-size: 0.98rem; }
.helper__result .btn { min-height: 2.6rem; padding: 0.5rem 1rem; }

/* ordering without installation (poc-0.21.0): the page holds both wordings and data-fulfilment on <main> shows one */
[data-fulfilment="installation"] .js-deliver, [data-fulfilment="delivery"] .js-install { display: none !important; }
/* the note under the packs once it's chosen */
.units-note { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 0.9rem; align-items: start; padding: 1rem 1.15rem; border: 2px solid var(--violet); border-radius: var(--r-md); background: #FBF8FF; }
.units-note__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--mist); color: var(--violet-deep); display: grid; place-items: center; }
.units-note__icon svg { width: 22px; height: 22px; }
.units-note__text { display: grid; gap: 0.3rem; min-width: 0; }
.units-note__text b { font-family: var(--font-display); font-size: 1.08rem; color: var(--violet-deep); }
.units-note__text > span { font-size: 0.92rem; line-height: 1.45; color: var(--ink-soft); }
/* the way out of installation: one quiet line at the end of step 1, just below the three quick questions */
.units-link { font-size: 0.9rem; color: var(--ink-soft); padding-top: 0.9rem; border-top: 1px solid var(--mist); }
.units-link strong { color: var(--ink); }
/* the ways back to installation further down the page */
.switch-back { font-size: 0.9rem; color: var(--ink-soft); margin-top: -0.6rem; }
.summary__switch { font-size: 0.93rem; margin-top: -0.4rem; padding-left: calc(20px + 0.6rem); }
.switch-back .link, .summary__switch .link, .units-note .link, .units-link .link { font-size: inherit; text-align: left; padding: 0; }
.summary__icon { display: flex; }
/* the outside-our-areas box, with a way to order without installation */
.status__body { display: grid; gap: 0.65rem; min-width: 0; }
/* the button may wrap: on Chris's phone (304 px wide) "Order without installation" on one line ran 7 px past the screen's
   edge and the page scrolled sideways (poc-0.27.14) */
.status__body .btn { justify-self: start; min-height: 2.6rem; padding: 0.5rem 1.1rem; font-size: 0.95rem; white-space: normal; max-width: 100%; }
.status__body small { font-size: 0.88rem; }
.status__body small a { text-decoration: underline; font-weight: 700; }
@media (max-width: 560px) {
  .units-note { grid-template-columns: minmax(0, 1fr); }
  .units-note__icon { display: none; }
}

/* installation and dates */
.install-line { display: grid; grid-template-columns: 1fr auto; gap: var(--s2); align-items: start; padding: 1rem 1.15rem; border-radius: var(--r-md); background: var(--mist); }
.install-line h3 { font-size: 1.05rem; }
.install-line ul { display: grid; gap: 0.3rem; margin-top: 0.45rem; }
.install-line li { display: grid; grid-template-columns: 16px 1fr; gap: 0.45rem; font-size: 0.93rem; color: var(--ink-soft); }
.install-line li svg { width: 16px; height: 16px; color: var(--ok); margin-top: 0.25rem; }
.install-line b { font-family: var(--font-display); font-size: 1.3rem; color: var(--violet-deep); font-variant-numeric: tabular-nums; }
.dates { display: flex; gap: 0.6rem; overflow-x: auto; padding: 0.3rem 2.5rem 0.4rem 0.15rem; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 3rem), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 3rem), transparent); } /* the fade says there are more days */
.date { flex: 0 0 auto; scroll-snap-align: start; display: grid; justify-items: center; gap: 0.05rem; min-width: 74px; padding: 0.65rem 0.6rem; border-radius: var(--r-sm); border: 2px solid var(--lilac-soft); background: var(--white); cursor: pointer; }
.date span { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); }
.date b { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; color: var(--violet-deep); font-variant-numeric: tabular-nums; }
.date em { font-style: normal; font-size: var(--fs-xs); color: var(--ink-soft); }
.date[aria-pressed="true"] { border-color: var(--violet); background: var(--violet-deep); }
.date[aria-pressed="true"] span, .date[aria-pressed="true"] em { color: var(--lilac-soft); }
.date[aria-pressed="true"] b { color: var(--white); }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
/* until a day is picked there are no times to show, and the empty row still took a gap, which left a wide band between the days
   and the note under them (Chris, 12 November); the days kept 0.7rem under them too, where 0.4rem leaves room for the focus ring */
.slots:empty { display: none; }
.slot { display: grid; gap: 0.1rem; text-align: left; padding: 0.9rem 1rem; border-radius: var(--r-sm); border: 2px solid var(--lilac-soft); background: var(--white); cursor: pointer; }
.slot b { font-family: var(--font-display); font-size: 1.15rem; color: var(--violet-deep); }
.slot span { font-size: 0.9rem; color: var(--ink-soft); }
.slot[aria-pressed="true"] { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(123, 47, 224, 0.12); background: #FBF8FF; }
.slot:disabled { opacity: 0.45; cursor: not-allowed; }
.hint { font-size: 0.9rem; color: var(--ink-soft); }

/* fields */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
/* the shop's address step: the areas we cover above the field, and the way round Google for an address it can't find */
.area-list { margin-top: -0.35rem; }
.area-manual { grid-column: 1 / -1; justify-self: start; text-align: left; font-size: 0.93rem; margin-top: -0.4rem; }
/* what the shop says about the address, right under the street field (poc-0.27.17). Empty, it takes back the gap
   above it, so the fields sit as before. Continue brings it into view with an orange ring when the address is what's
   missing (guide in shop.js). */
.area-status:empty { margin-top: calc(-1 * var(--s2)); }
/* with the list of areas, the message sits under the list and the unit field keeps its place beside the list */
#step-address .fields { grid-auto-flow: row dense; }
.area-status .status { transition: box-shadow 0.2s; }
.area-status--nudge .status { box-shadow: 0 0 0 3px var(--ember); }
/* "Is this your address?": Google's suggestions for what was typed, as big buttons in the box, for a customer who
   typed their whole address and never tapped one (13 November) */
.area-pick { display: grid; gap: 0.5rem; }
.area-pick button { display: grid; gap: 0.1rem; width: 100%; min-height: 3.1rem; padding: 0.7rem 0.95rem; text-align: left; border-radius: var(--r-sm);
  background: var(--white); border: 1.5px solid var(--lilac); color: var(--ink); cursor: pointer; }
.area-pick button:hover { border-color: var(--violet); background: var(--mist); }
.area-pick b { font-weight: 650; font-size: 0.98rem; color: var(--ink); }
.area-pick span { font-size: 0.88rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.status--warn .link { color: var(--warn); font-weight: 700; font-size: inherit; text-align: left; padding: 0; }
/* the close-by code box under "you're close to the areas we cover" (poc-0.14.0) */
.area-code { display: grid; gap: 0.35rem; margin-top: 0.75rem; }
.area-code label { font-weight: 600; font-size: 0.93rem; }
.area-code__row { display: flex; gap: 0.5rem; align-items: stretch; }
.area-code__row .input { flex: 1 1 auto; min-width: 0; max-width: 11rem; letter-spacing: 0.06em; }
.area-code .hint:empty { display: none; }
/* the small one at the end of "outside our service area" (poc-0.27.14): one quiet line that opens to the box, which
   is shorter than the shop's other boxes */
.area-code--small { display: block; margin-top: 0; }
.area-code--small summary { cursor: pointer; width: fit-content; font-size: 0.88rem; font-weight: 600; text-decoration: underline; text-underline-offset: 0.15em; }
.area-code--small .area-code__row { margin-top: 0.5rem; flex-wrap: wrap; } /* Use code drops under the code on the narrowest phones */
.area-code--small .input { flex: 1 1 7rem; min-height: 2.6rem; padding: 0.4rem 0.8rem; max-width: 9rem; }
.status__body .area-code__row .btn { white-space: nowrap; }
.area-code--small .hint { margin-top: 0.35rem; color: inherit; }
.field label, .field .label { font-weight: 650; font-size: 0.95rem; color: var(--ink); }
.field small { font-size: 0.85rem; color: var(--ink-faint); font-weight: 500; }
.input { width: 100%; min-height: 3.1rem; padding: 0.7rem 0.95rem; border-radius: var(--r-sm); border: 1.5px solid var(--lilac); background: var(--white); font-size: 1rem; color: var(--ink); }
.input::placeholder { color: var(--ink-faint); }
.input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(123, 47, 224, 0.14); }
.input[aria-invalid="true"] { border-color: var(--error); }
textarea.input { min-height: 5.5rem; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B21B6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 18px; padding-right: 2.5rem; }
.field__error { font-size: 0.88rem; color: var(--error); font-weight: 600; }
.autocomplete { position: relative; }
.suggestions { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); background: var(--white); border-radius: var(--r-sm); box-shadow: 0 20px 40px -12px rgba(36, 21, 51, 0.35); border: 1px solid var(--lilac-soft); overflow: hidden; }
.suggestions button { display: grid; width: 100%; text-align: left; gap: 0.05rem; padding: 0.7rem 0.95rem; border-bottom: 1px solid var(--lilac-soft); }
.suggestions button:last-child { border-bottom: 0; }
.suggestions button:hover, .suggestions button[aria-selected="true"] { background: var(--mist); }
.suggestions b { font-weight: 650; color: var(--ink); font-size: 0.98rem; }
.suggestions span { font-size: 0.88rem; color: var(--ink-soft); }
.suggestions .powered { padding: 0.35rem 0.95rem; font-size: 0.75rem; color: var(--ink-faint); text-align: right; }
.status { display: flex; gap: 0.65rem; align-items: flex-start; padding: 0.85rem 1rem; border-radius: var(--r-sm); font-size: 0.95rem; }
.status svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 0.1rem; }
.status--ok { background: var(--ok-soft); color: var(--ok); }
.status--ok strong { color: var(--ok); }
.status--warn { background: var(--warn-soft); color: var(--warn); }
.status--warn strong { color: var(--warn); }
.status--warn a { color: var(--warn); text-decoration: underline; font-weight: 700; }

/* payment */
.pay-options { display: grid; gap: 0.7rem; }
.pay-option { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 0.9rem; align-items: center; padding: 0.95rem 1.1rem; border: 2px solid var(--lilac-soft); border-radius: var(--r-md); cursor: pointer; background: var(--white); }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option:has(input:checked) { border-color: var(--violet); background: #FBF8FF; box-shadow: 0 0 0 4px rgba(123, 47, 224, 0.12); }
.pay-option__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--mist); color: var(--violet-deep); display: grid; place-items: center; }
.pay-option__icon svg { width: 22px; height: 22px; }
.pay-option b { display: block; font-size: 1rem; color: var(--ink); }
.pay-option b .bnpl-logo { --h: 30px; margin: 0 0 calc(var(--h) * 0.142) calc(var(--h) * -0.115); vertical-align: top; } /* the logo stands in for the method's name, its drawing in line with the words under it */
.pay-option b .bnpl-logo--black { display: block; }
.pay-option small { display: block; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.4; }
.pay-option__amount { font-family: var(--font-display); font-weight: 700; color: var(--violet-deep); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.pay-option__amount small { font-family: var(--font-body); font-weight: 500; }
.pay-option--bnpl .pay-option__icon { background: var(--ok-soft); color: var(--ok); }
.pay-group-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ok); margin-top: 0.3rem; }
.pay-group-label--plain { color: var(--ink-faint); }
.agree { display: grid; grid-template-columns: 24px 1fr; gap: 0.7rem; align-items: start; font-size: 0.95rem; color: var(--ink-soft); cursor: pointer; }
.agree input { width: 22px; height: 22px; accent-color: var(--violet); margin-top: 0.1rem; }
/* the terms box's line when Pay finds it unticked (shop.js), just under it and in line with its words */
.agree__error { margin-top: calc(0.3rem - var(--s3)); padding-left: calc(24px + 0.7rem); }
.secure { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: var(--ink-soft); }
.secure svg { width: 18px; height: 18px; color: var(--ok); flex-shrink: 0; }

/* summary */
.summary { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 1rem); background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: var(--s4) var(--s3); display: grid; gap: var(--s2); }
.summary h2 { font-size: 1.35rem; }
.lines { display: grid; gap: 0.65rem; }
.summary__photo { display: flex; align-items: center; gap: 0.8rem; padding: 0.55rem 0.8rem; background: var(--mist); border-radius: var(--r-sm); font-size: var(--fs-sm); color: var(--ink-soft); } /* the chosen pack's units, right above the Pay button */
.summary__photo img { height: 56px; width: auto; }
.line { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); font-size: 0.98rem; }
.line span { color: var(--ink-soft); }
.line b { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line--total { padding-top: 0.8rem; border-top: 1.5px solid var(--lilac-soft); font-size: 1.1rem; }
.line--total span { color: var(--ink); font-weight: 700; }
.line--total b { font-family: var(--font-display); font-size: 1.6rem; color: var(--violet-deep); }
.bnpl-note { display: grid; gap: 0.15rem; padding: 0.75rem 0.9rem; border-radius: var(--r-sm); background: var(--ok-soft); color: var(--ok); font-size: 0.93rem; }
.bnpl-note b { color: var(--ok); }
.summary__when { display: grid; grid-template-columns: 20px 1fr; gap: 0.6rem; font-size: 0.93rem; color: var(--ink-soft); }
.summary__when svg { width: 20px; height: 20px; color: var(--violet); }
.summary__when strong { color: var(--violet-deep); }
.todo { display: grid; gap: 0.35rem; font-size: 0.9rem; color: var(--ink-faint); }
.todo li { display: grid; grid-template-columns: 16px 1fr; gap: 0.45rem; }
.todo li::before { content: ""; width: 10px; height: 10px; margin-top: 0.4rem; border-radius: 50%; border: 2px solid var(--lilac); }
.todo li.is-done { color: var(--ok); }
.todo li.is-done::before { background: var(--ok); border-color: var(--ok); }
/* what every order comes with, right under the Pay button, each line after a violet icon (Chris, 19 November, poc-0.38.2; fine print until then) */
.assure { display: grid; gap: 0.6rem; margin: 0.15rem 0 0; padding: 0; list-style: none; }
.assure li { display: grid; grid-template-columns: 1.15rem 1fr; gap: 0.6rem; align-items: start; font-size: var(--fs-sm); line-height: 1.45; color: var(--ink-soft); }
.assure li svg { width: 1.15rem; height: 1.15rem; color: var(--violet); margin-top: 0.12rem; }

.paybar { display: none; }

/* test-mode payment sheet */
.sheet { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, var(--safe-bottom)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(36, 21, 51, 0.55); }
.sheet__card { width: min(440px, 100%); background: var(--white); border-radius: var(--r-lg); box-shadow: 0 40px 80px -30px rgba(10, 0, 30, 0.6); overflow: hidden; }
.sheet__top { background: var(--ink); color: var(--white); padding: 1rem 1.3rem; display: flex; justify-content: space-between; align-items: center; gap: var(--s2); }
.sheet__top b { font-family: var(--font-display); font-size: 1.05rem; }
.sheet__top span { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--peach); color: var(--ink); padding: 0.2rem 0.55rem; border-radius: 999px; }
.sheet__body { padding: var(--s3) 1.3rem 1.3rem; display: grid; gap: var(--s2); }
.sheet__amount { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: var(--violet-deep); font-variant-numeric: tabular-nums; }
.sheet__body p { font-size: 0.95rem; }
.sheet__actions { display: grid; gap: 0.6rem; }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--lilac-soft); border-top-color: var(--violet); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- confirmation ---------- */
.done-head { text-align: left; }
.done-head .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--white); color: var(--ok); display: grid; place-items: center; margin-bottom: var(--s2); }
.done-head .tick svg { width: 34px; height: 34px; }
.done-head .hero__actions { margin-top: var(--s3); }
/* a short confirmation page (such as a payment that didn't go through) keeps the footer at the bottom of the screen */
body:has(main.page-done) { display: flex; flex-direction: column; min-height: 100vh; }
main.page-done { flex: 1 0 auto; }
/* the simulated payment page on the test site */
.pay-test { display: grid; justify-items: center; margin-top: calc(-1 * var(--s4)); padding-bottom: var(--s6); position: relative; }
.pay-test__card { box-shadow: var(--shadow-card); }

/* ---------- add-on page (/additional): more units for a customer who already has a system ---------- */
/* while it only shows the box to find an order, the footer stays at the bottom of the screen */
body:has(main.page-more) { display: flex; flex-direction: column; min-height: 100vh; }
main.page-more { flex: 1 0 auto; }
.more-find { max-width: 640px; margin: calc(-1 * var(--s4)) auto var(--s5); position: relative; }
.more-find > p { font-size: 0.95rem; margin-top: -0.6rem; }
.more-find .btn { justify-self: start; }
.more-loading { display: flex; align-items: center; justify-content: center; gap: 0.75rem; max-width: 640px; margin: calc(-1 * var(--s4)) auto var(--s5); position: relative;
  padding: var(--s4); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-card); color: var(--ink-soft); }
.more-you__head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.4rem var(--s2); flex-wrap: wrap; }
.more-you__head .link { font-size: 0.93rem; }
.more-test { margin: 0.6rem 0 0.9rem; } /* a test order from the bookings page says so */
.more-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.4rem 1.1rem; font-size: 0.95rem; }
.more-facts dt { color: var(--ink-faint); }
.more-facts dd { color: var(--ink); overflow-wrap: anywhere; }
.more-sub { font-size: 1.05rem; margin-top: 0.2rem; }
.more-orders { display: grid; gap: 0.6rem; }
.more-order { display: grid; gap: 0.35rem; padding: 0.9rem 1.05rem; border-radius: var(--r-md); background: var(--mist); font-size: 0.93rem; }
.more-order__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.75rem; }
.more-order__top b { font-family: var(--font-display); color: var(--violet-deep); }
.more-order__top span { color: var(--ink-soft); }
.more-order__top .more-order__total { margin-left: auto; color: var(--ink); font-variant-numeric: tabular-nums; }
.more-order ul { display: grid; gap: 0.1rem; color: var(--ink-soft); }
.more-order__state { font-weight: 650; color: var(--violet); }
.more-order__state--installed { color: var(--ok); }
.more-order__state--cancelled { color: var(--ink-faint); }
.more-wait { justify-items: start; }
/* with nothing to order there's no summary, so the customer's details sit in the middle */
.shop.more--solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; }
.more-wait p { font-size: 1rem; }
.more-items { display: grid; gap: var(--s2); }
.more-visit, .more-onsite { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
.more-code { display: grid; gap: 0.7rem; }
.more-code__toggle { justify-self: start; font-size: 0.93rem; }
.more-code__box { display: grid; gap: 0.45rem; max-width: 360px; }
.more-code__box label { font-weight: 650; font-size: 0.95rem; color: var(--ink); }
.more-code__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.6rem; }
.more-code__row .input { letter-spacing: 0.18em; font-variant-numeric: tabular-nums; }
.more-code__row .btn { min-height: 3.1rem; padding-inline: 1.2rem; }
@media (max-width: 560px) {
  .more-facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .more-facts dt { font-size: 0.85rem; margin-top: 0.55rem; }
  .more-facts dt:first-child { margin-top: 0; }
  .more-find .btn { width: 100%; }
}

/* ---------- Change your booking (/change-booking): the add-on page's look, in one column ---------- */
.change { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); max-width: 760px; margin: calc(-1 * var(--s4)) auto var(--s5); position: relative; }
.change-rules { font-size: 0.95rem; margin-top: -0.6rem; }
.change-confirm { display: grid; gap: var(--s2); justify-items: start; padding-top: var(--s3); border-top: 1px solid var(--lilac-soft); }
.change-confirm > p:first-child { font-size: 1rem; }
.change .more-wait .status { font-size: 1rem; }
@media (max-width: 560px) {
  .change-confirm .btn, .change .more-wait .btn { width: 100%; }
}
.done-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s4); align-items: start; margin-top: calc(-1 * var(--s4)); padding-bottom: var(--s6); position: relative; }
.booking { display: grid; gap: 0.7rem; }
.booking__row { display: grid; grid-template-columns: 22px 1fr; gap: 0.7rem; align-items: start; }
.booking__row svg { width: 22px; height: 22px; color: var(--violet); margin-top: 0.1rem; }
.booking__row b { display: block; color: var(--ink); }
.booking__row span { color: var(--ink-soft); font-size: 0.95rem; }
.next { display: grid; gap: var(--s3); }
.next li { display: grid; grid-template-columns: 40px 1fr; gap: var(--s2); }
.next .step__n { width: 40px; height: 40px; font-size: 1.05rem; margin: 0; }
.next h3 { font-size: 1.1rem; }
.next p { font-size: 0.98rem; }

/* ---------- bookings page (private, for the team): upcoming bookings and a diary to move them or block off times ---------- */
.bk { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); max-width: 780px; margin-top: calc(-1 * var(--s4)); padding-bottom: var(--s6); position: relative; }
/* The team's pages have a slim band (poc-0.29.0), so the tabs and the first bookings or jobs show on the first screen.
   Once signed in, the line under the title goes. */
.page-bookings .shop-head { padding-block: var(--s2) var(--s5); }
.page-bookings .shop-head h1 { font-size: clamp(1.65rem, 3vw, 2.2rem); }
.page-bookings .shop-head p { font-size: var(--fs-sm); margin-top: 0.25rem; }
.page-bookings:has(#bkApp:not([hidden])) .shop-head p { display: none; }
/* The team's pages are for working (Chris, 14 November, poc-0.29.0), so everything under the menu bar uses the phone's
   own font, as sharp as Arial: San Francisco on an iPhone, Roboto on Android and Segoe UI on Windows. The words and
   headings are black. Buttons, tabs and links keep their colours, so what can be pressed still stands out. The menu bar
   and the slim footer keep the site's fonts, so the fonts each page preloads are used there too and a page opened from
   these is never told its preloads went unused. The build marks these pages data-team. */
body[data-team] main {
  --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ink: #111111;
  --ink-soft: #444444;
  font-family: var(--font-body);
  color: var(--ink);
}
body[data-team] main :is(h2, h3, h4, legend, .bk-item__when, .bk-slot--booked b, .bk-found__item b,
  .bk-installer-out b, .bk-installer-big b, .bk-test-out b, .bk-steps code, .so__unit-h, .so__body > .so__date) { color: var(--ink); }
body[data-team] .shop-head h1 { color: var(--ink); } /* white on the purple look's band (purple.css) */
body[data-team] main :is(h1, h2, h3, h4) { letter-spacing: 0; }
.bk-card { max-width: 480px; }
.bk-loading { display: flex; align-items: center; gap: 0.7rem; }
.bk-app { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
.bk-app .panel h2, .bk-card h2 { font-size: 1.45rem; }
/* the page's six parts, one at a time (poc-0.18.0, poc-0.29.0): the tabs sit on a white bar across the edge of the band */
.bk-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.3rem; padding: 0.35rem; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-card); }
.bk-tab { min-width: 0; min-height: 2.9rem; padding: 0.4rem 0.3rem; border-radius: var(--r-sm); font-weight: 650; font-size: 1rem; color: var(--violet-deep); text-align: center; white-space: nowrap; }
.bk-tab:hover { background: var(--mist); }
.bk-tab[aria-selected="true"] { background: var(--violet-deep); color: var(--white); }
/* the Deliveries tab's count of orders waiting to be sent (poc-0.29.0), a bubble on its corner */
.bk-tab { position: relative; }
.bk-tab__n { position: absolute; top: -0.4rem; right: -0.3rem; min-width: 1.35rem; height: 1.35rem; padding: 0 0.35rem; border-radius: 999px; background: var(--ember); color: var(--white); font-size: 0.78rem; font-weight: 700; line-height: 1.35rem; text-align: center; box-shadow: 0 0 0 2px var(--white); }
.bk-tab:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
/* On a phone the six tabs (poc-0.29.0) take two rows of three, Bookings, Deliveries and Leads, then Diary, Find and
   More, so each word fits whole even on one as narrow as Chris's (304 pixels) */
@media (max-width: 640px) {
  .bk-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.25rem; padding: 0.25rem; }
  .bk-tab { padding-inline: 0.2rem; }
}
@media (max-width: 360px) {
  .bk-tab { font-size: 0.95rem; overflow: hidden; text-overflow: ellipsis; }
  #bkTabDeliveries { overflow: visible; } /* its count sits on its corner */
}
.bk-part { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); min-width: 0; }
/* More's sections start folded (poc-0.29.0): each heading is the button that opens its section */
.panel.bk-fold { gap: 0; padding-block: 1.1rem; }
.bk-app .bk-fold h2 { font-size: 1.3rem; }
.bk-part--more { gap: 0.75rem; }
.bk-fold__btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 0.8rem; text-align: left; letter-spacing: inherit; line-height: inherit; }
.bk-fold__btn::after { content: ""; flex: none; width: 0.5em; height: 0.5em; margin-right: 0.2em; border-right: 2.5px solid var(--violet); border-bottom: 2.5px solid var(--violet); transform: translateY(-0.15em) rotate(45deg); }
.bk-fold__btn[aria-expanded="true"]::after { transform: translateY(0.15em) rotate(-135deg); }
.bk-fold__btn:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; border-radius: 4px; }
.bk-fold__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); margin-top: var(--s2); }
/* the longer explanations wait under "How it works" */
.bk-info summary { cursor: pointer; width: fit-content; color: var(--violet); font-weight: 650; font-size: 0.95rem; }
.bk-info[open] summary { margin-bottom: 0.4rem; }
.bk-info p + p { margin-top: 0.5rem; }
/* Change the code under the out-of-area code (poc-0.27.14): its form and its answer under the words */
.bk-code-change p { font-size: 0.95rem; }
.bk-code-change .bk-installer { margin-top: 0.75rem; }
.bk-code-change #bkNearbyOut:not(:empty) { margin-top: 0.6rem; }
.bk-code { max-width: 12rem; font-size: 1.5rem; font-weight: 650; letter-spacing: 0.25em; font-variant-numeric: tabular-nums; } /* the sign-in code from the email */
.bk-card .link { padding: 0; }
#bkSignInStatus:empty, #bkCodeStatus:empty { display: none; }
.bk-head { display: grid; gap: 0.4rem; }
.bk-head p { font-size: 0.95rem; }
.bk-steps { list-style: decimal; padding-left: 1.3rem; display: grid; gap: 0.5rem; color: var(--ink-soft); }
.bk-steps code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9rem; background: var(--mist); padding: 0.1rem 0.35rem; border-radius: 6px; color: var(--violet-deep); }
.bk-list { display: grid; gap: 0.75rem; }
.bk-empty { color: var(--ink-soft); }
.bk-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s2); align-items: start; padding: 1rem 1.1rem; border-radius: var(--r-md); border: 1.5px solid var(--lilac-soft); background: var(--white); transition: box-shadow 0.3s ease; }
.bk-item--clash { border-color: var(--error); background: var(--error-soft); }
.bk-item--moving { border-color: var(--violet); }
.bk-item--flash { box-shadow: 0 0 0 4px rgba(123, 47, 224, 0.28); }
/* what a move just did, under the booking's heading until the list is drawn again (poc-0.29.0) */
.bk-item__said { margin: 0.35rem 0; padding: 0.55rem 0.75rem; font-size: 0.9rem; }
.bk-item__main { display: grid; gap: 0.15rem; min-width: 0; font-size: 0.95rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.bk-item__when { font-family: var(--font-display); font-size: 1.1rem; color: var(--violet-deep); }
.bk-item__main a { color: var(--violet); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.bk-item__photos { color: var(--ink); font-weight: 600; }
.bk-item .btn { min-height: 2.6rem; padding: 0.5rem 1.1rem; }
.bk-tag { display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; border-radius: 999px; padding: 0.05rem 0.5rem; background: var(--warn-soft); color: var(--warn); }
.bk-clash { margin-top: 0.3rem; color: var(--error); font-weight: 600; }
.bk-item--done { background: var(--mist); border-color: var(--mist); }
.bk-tag--done { background: var(--ok-soft); color: var(--ok); }
.bk-tag--addon { background: var(--lilac-soft); color: var(--violet-deep); }
/* the installer a booking is given to (poc-0.17.0), next to the customer's name, and the box that gives it */
.bk-tag--installer { background: var(--violet-deep); color: var(--white); text-transform: none; letter-spacing: 0; }
.bk-assign { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.6rem; margin-top: 0.35rem; font-size: 0.9rem; font-weight: 650; color: var(--ink); }
.bk-assign .input { width: auto; min-width: 12rem; max-width: 100%; min-height: 2.5rem; padding: 0.35rem 2.4rem 0.35rem 0.7rem; font-size: 0.95rem; }
/* an installer's own page: the customer's access notes keep their lines */
.bk-item__notes { white-space: pre-line; color: var(--ink); }
/* Estimates (poc-0.26.0): the system the customer chose stands out, and their other answers wait under More, each
   label beside its answer, or above it on a phone */
.bk-est__system { color: var(--ink); font-weight: 600; }
#bkEstStatus:empty { display: none; }
.bk-est .bk-est__more div { grid-template-columns: 9.5rem minmax(0, 1fr); }
@media (max-width: 560px) {
  .bk-est .bk-est__more div { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }
  .bk-est .bk-est__more dt { font-size: 0.88rem; }
}
.bk-item__notes b { font-weight: 650; }
/* the Installers panel on the bookings page, with each installer's photo (or initials) beside their name */
.bk-people { display: grid; gap: 0.75rem; }
.bk-person .bk-item__main { grid-template-columns: auto minmax(0, 1fr); column-gap: 0.85rem; align-content: start; }
.bk-person .bk-item__main > :not(.bk-face) { grid-column: 2; }
.bk-face { grid-row: 1 / span 3; align-self: start; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--lilac-soft); }
.bk-face--none { display: grid; place-items: center; font-weight: 700; font-size: 1.05rem; color: var(--violet-deep); }
/* the installers' password standard, each point ticked as the password meets it (poc-0.17.2) */
.bk-rules-head { margin: 0.2rem 0 0.35rem; font-size: 0.95rem; color: var(--ink); font-weight: 600; }
.bk-rules { list-style: none; margin: 0 0 0.6rem; padding: 0; display: grid; gap: 0.3rem; font-size: 0.95rem; color: var(--ink-soft); }
.bk-rules li { position: relative; padding-left: 1.7rem; }
.bk-rules li::before { content: ""; position: absolute; left: 0; top: 0.15em; width: 1.1rem; height: 1.1rem; box-sizing: border-box; border-radius: 50%;
  border: 2px solid var(--lilac); }
.bk-rules li.is-met { color: var(--ok); }
.bk-rules li.is-met::before { content: "\2713"; border-color: var(--ok); background: var(--ok); color: #FFFFFF; font-size: 0.75rem; font-weight: 700;
  line-height: 0.95rem; text-align: center; }
.bk-add { padding-top: var(--s3); border-top: 1px solid var(--lilac-soft); }
.bk-add h3 { font-size: 1.15rem; }
#bkPeopleStatus:empty, #bkAddStatus:empty, #bkChooseStatus:empty { display: none; }
/* the installer's code and Change details under each booking, side by side while they fit */
.bk-item__links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 1.2rem; }
.bk-more-btn { justify-self: center; padding: 0.35rem 0.2rem; font-size: 0.95rem; }
.bk-more-btn::after { content: ""; display: inline-block; width: 0.42em; height: 0.42em; margin-left: 0.45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.2em) rotate(45deg); }
.bk-more-btn[aria-expanded="true"]::after { transform: translateY(0.1em) rotate(-135deg); }
.bk-item__more { grid-column: 1 / -1; gap: 0.35rem 1.4rem; padding-top: 0.7rem; border-top: 1px solid var(--lilac-soft); }
/* the installer's code: under each booking and for any order number */
.bk-installer-btn { font-size: 0.9rem; }
.bk-installer-out { color: var(--ink); }
.bk-installer-out b { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.06em; color: var(--violet-deep); font-variant-numeric: tabular-nums; }
.bk-installer-out--warn { color: var(--warn); }
.bk-installer { display: flex; flex-wrap: wrap; align-items: end; gap: 0.6rem; }
.bk-installer .field { flex: 1 1 200px; max-width: 280px; }
.bk-installer .btn { min-height: 3.1rem; }
.bk-installer-big { display: grid; gap: 0.2rem; padding: 0.9rem 1.1rem; border-radius: var(--r-md); background: var(--mist); color: var(--ink-soft); font-size: 0.95rem; }
.bk-installer-big b { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.08em; color: var(--violet-deep); font-variant-numeric: tabular-nums; }
/* Change details: a customer's address and contact details, found by any of their order numbers */
.bk-details { display: grid; gap: var(--s2); padding-top: 0.4rem; }
.bk-details > p { font-size: 0.95rem; color: var(--ink-soft); }
.bk-details > p b { color: var(--ink); }
#bkDetailsStatus:empty, #bkDetailsSaveStatus:empty { display: none; }
/* test orders: a test booking for this page, and a test order for the add-on page with its number, link and installer code */
.bk-test { display: grid; gap: 0.75rem; padding-top: var(--s3); border-top: 1px solid var(--lilac-soft); }
.bk-test h3 { font-size: 1.15rem; }
.bk-test > p { font-size: 0.95rem; color: var(--ink-soft); }
#bkTestBookingOut:empty, #bkTestOut:empty { display: none; }
@media (min-width: 640px) { #bkTestBtn, #bkTestBookingBtn { justify-self: start; } }
.bk-test-out { display: grid; gap: 0.35rem; padding: 0.9rem 1.1rem; border-radius: var(--r-md); background: var(--mist); color: var(--ink-soft); font-size: 0.95rem; }
.bk-test-out b { color: var(--violet-deep); font-variant-numeric: tabular-nums; }
.bk-test-out .link { padding: 0; }
/* Delete the test orders (poc-0.16.2): what goes, the real orders that stay, then the tick and the button */
#bkDelOut:empty, #bkDelStatus:empty, #bkCardDelStatus:empty { display: none; }
@media (min-width: 640px) { #bkDelShow { justify-self: start; } }
.bk-del { display: grid; gap: 0.75rem; padding: 0.9rem 1.1rem; border-radius: var(--r-md); background: var(--mist); color: var(--ink-soft); font-size: 0.95rem; }
.bk-del__each summary { cursor: pointer; width: fit-content; color: var(--violet); font-weight: 650; }
.bk-del__list { display: grid; gap: 0.35rem; margin-top: 0.6rem; max-height: 22rem; overflow-y: auto; overflow-wrap: anywhere; }
.bk-del__list b { color: var(--ink); font-variant-numeric: tabular-nums; }
.bk-del__real { color: var(--ink); font-weight: 600; }
/* putting a copy of the order book back: only while ORDER_BOOK_RESTORE is "on", so it stands out */
.bk-restore { box-shadow: 0 0 0 2px var(--warn), var(--shadow-card); }
.bk-restore__form, .bk-restore__pdfs { display: grid; gap: 0.9rem; max-width: 480px; }
.bk-restore__pdfs { padding-top: var(--s3); border-top: 1px solid var(--lilac-soft); }
.bk-restore__pdfs h3 { font-size: 1.15rem; }
.bk-restore__pdfs p { font-size: 0.95rem; color: var(--ink-soft); }
.bk-restore__last { max-width: 12rem; }
.bk-file { padding: 0.6rem 0.75rem; font-size: 0.95rem; }
@media (min-width: 640px) { #bkRestoreBtn, #bkPdfBtn { justify-self: start; } }
.bk-item__actions { display: grid; gap: 0.5rem; }
.bk-finish { grid-column: 1 / -1; display: grid; gap: 0.75rem; padding-top: 0.85rem; border-top: 1px solid var(--lilac-soft); }
.bk-finish p { color: var(--ink-soft); font-size: 0.95rem; }
.bk-finish b { color: var(--ink); }
.bk-cancel:focus, .bk-delete:focus { outline: none; }
.bk-refund .input { max-width: 11rem; }
.bk-refund small { color: var(--ink-soft); }
/* the Deliveries list on the bookings page (poc-0.21.0): the address as the supplier needs it, a line at a time, and the
   tracking number's form, with a courier of its own folded away */
.bk-addr { margin: 0.2rem 0; color: var(--ink); font-weight: 600; line-height: 1.45; }
.bk-sent__hint { color: var(--ink-soft); font-size: 0.9rem; }
/* the tracking number and Sent side by side, even on a phone as narrow as Chris's (poc-0.29.0) */
.bk-sent .bk-installer { flex-wrap: nowrap; }
.bk-sent .bk-installer .field { flex: 1 1 auto; min-width: 0; }
.bk-sent .bk-installer .btn { flex: none; }
.bk-sent__other summary { cursor: pointer; width: fit-content; color: var(--violet); font-weight: 650; font-size: 0.9rem; }
.bk-sent__other[open] summary { margin-bottom: 0.5rem; }
.bk-sent__status:empty { display: none; }
/* Purchase order under a delivery (poc-0.22.0): a line to a box, as the WiFi details' networks are, with what each line
   comes to beside its price, then the totals */
.bk-po:focus { outline: none; }
.bk-po__amount { align-self: end; margin: 0; padding-bottom: 0.75rem; color: var(--ink-soft); font-size: 0.95rem; }
.bk-po__amount:empty { display: none; }
.bk-po .bk-po__totals { color: var(--ink); font-weight: 650; }
.bk-po__status:empty { display: none; }
.bk-po__pdf { font-size: 0.95rem; }
.bk-po__pdf small { color: var(--ink-soft); }
/* Warranty claims under More (poc-0.38.0): the form's parts one under another, each with its heading, a box for each
   product as for the WiFi details' networks, the ticks one a line and the photos two to a row with what each shows */
.bk-wc__new { justify-self: start; }
.bk-wc { gap: var(--s3); }
.bk-wc:focus { outline: none; }
.bk-wc h3 { font-size: 1.2rem; }
.bk-wc__part { display: grid; gap: 0.8rem; min-width: 0; margin: 0; padding: var(--s2) 0 0; border: 0; border-top: 1px solid var(--lilac-soft); }
.bk-wc__part > legend { float: left; width: 100%; padding: 0; margin-bottom: 0.1rem; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--violet-deep); }
.bk-wc__part > legend + * { clear: both; }
.bk-wc__ticks { display: grid; gap: 0.65rem; }
.bk-wc__label { margin-bottom: -0.2rem; font-weight: 650; font-size: 0.95rem; color: var(--ink); }
.bk-wc__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.bk-wc__photos:empty { display: none; }
.bk-wc__photo { display: grid; gap: 0.5rem; align-content: start; min-width: 0; margin: 0; }
.bk-wc__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); background: var(--mist); }
.bk-wc__photo figcaption { gap: 0.35rem; }
.bk-wc__add { justify-self: start; }
.bk-wc__photo-status:empty, .bk-wc__status:empty { display: none; }
.bk-wc .wifi-hint { margin-top: -0.2rem; }
.bk-wc input[type="date"] { -webkit-appearance: none; appearance: none; text-align: left; }
.bk-wc input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.bk-wc-item .bk-wc__line { color: var(--ink); font-weight: 600; }
/* Change details for an order without installation: the address it goes to, which stays as it is */
.bk-details__deliver { padding: 0.8rem 1rem; border-radius: var(--r-md); background: var(--mist); color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; }
.bk-details__deliver b { color: var(--ink); }
/* The Move box stays under the header while the diary scrolls beneath it. On a small phone or with large text it can be
   taller than the screen, so it never reaches past the bottom of the screen and scrolls on its own instead. */
.bk-move { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 0.5rem); z-index: 20; display: grid; gap: 0.8rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--violet-deep); box-shadow: var(--shadow-card);
  max-height: calc(100vh - env(safe-area-inset-top, 0px) - var(--header-h) - 1rem - var(--safe-bottom));
  max-height: calc(100dvh - env(safe-area-inset-top, 0px) - var(--header-h) - 1rem - var(--safe-bottom));
  overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--lilac) transparent; }
.bk-move p { color: var(--lilac-soft); }
.bk-move b { color: var(--white); }
.bk-confirm { display: grid; gap: 0.8rem; padding-top: 0.8rem; border-top: 1px solid rgba(233, 219, 251, 0.3); }
.bk-confirm p { color: var(--white); font-weight: 650; }
.bk-move .agree { color: var(--lilac-soft); }
/* the arrival time in the Move box, on its dark background */
.bk-move .field label { color: var(--white); }
.bk-move .field small { color: var(--lilac-soft); }
.bk-move .status--warn { color: var(--warn); font-weight: 600; }
.bk-time .input { max-width: 11rem; }
#bkTimeStatus:empty { display: none; }
.bk-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.bk-actions .btn { min-height: 2.75rem; padding: 0.55rem 1.1rem; }
.bk-diary { display: grid; }
.bk-day { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr) minmax(0, 1fr); gap: 0.5rem; align-items: center; padding: 0.3rem 0; }
.bk-day--monday { border-top: 1.5px solid var(--lilac-soft); margin-top: 0.45rem; padding-top: 0.75rem; }
.bk-date { display: grid; line-height: 1.25; }
.bk-date b { color: var(--ink); font-weight: 650; font-size: 0.95rem; white-space: nowrap; }
.bk-date > span { font-size: var(--fs-xs); color: var(--ink-faint); }
/* a closed day's date opens it with a tap and an opened day's date closes it again (poc-0.16.1) */
.bk-date--tap { justify-items: start; text-align: left; min-height: 3.1rem; margin: 0 -0.4rem; padding: 0.25rem 0.4rem; border-radius: var(--r-sm); }
.bk-date--tap:hover { background: var(--mist); }
.bk-date--tap .bk-date__do { color: var(--violet); font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.bk-slot { display: grid; gap: 0.05rem; text-align: left; min-width: 0; min-height: 3.1rem; padding: 0.45rem 0.7rem; border-radius: var(--r-sm); border: 1.5px solid var(--lilac-soft); background: var(--white); }
.bk-slot span { font-size: var(--fs-xs); color: var(--ink-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-slot b { font-size: 0.92rem; font-weight: 650; color: var(--ink); overflow-wrap: anywhere; } /* a long name takes two lines (poc-0.29.0) */
.bk-slot[data-action]:hover { border-color: var(--violet); }
.bk-slot:disabled { cursor: default; }
.bk-slot--free b { color: var(--ok); }
.bk-slot--blocked { border-style: dashed; border-color: var(--lilac-strong); background: repeating-linear-gradient(135deg, var(--mist) 0 6px, var(--white) 6px 12px); }
.bk-slot--blocked b { color: var(--ink-soft); }
.bk-slot--booked { border-color: var(--lilac); background: var(--mist); }
.bk-slot--booked b { color: var(--violet-deep); }
/* a time a Cape Town booking takes with the rest of its day (poc-0.44.0): like the booking, with a dashed edge */
.bk-slot--day { border-color: var(--lilac); border-style: dashed; background: var(--mist); }
.bk-slot--day b { color: var(--violet-deep); font-weight: 500; }
.bk-slot--test { border-color: var(--warn); background: var(--warn-soft); } /* a test booking, like its Test tag */
.bk-slot--test b { color: var(--warn); }
.bk-slot--held, .bk-slot--past, .bk-slot--closed { opacity: 0.6; }
.bk-slot--held b, .bk-slot--past b, .bk-slot--closed b { color: var(--ink-faint); font-weight: 500; }
/* a free time a Cape Town booking being moved can't have, because its day has something else on it (poc-0.44.0) */
.bk-slot--inuse { opacity: 0.6; }
.bk-slot--inuse b { color: var(--ink-faint); font-weight: 500; }
.bk-slot--pick b { color: var(--ember-dark); }
.bk-slot--now { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(123, 47, 224, 0.18); }
.bk-slot--target { border-color: var(--ember); background: #FCE9E2; box-shadow: 0 0 0 3px rgba(208, 69, 27, 0.18); }
.bk-foot { text-align: center; }
#bkStatus:empty { display: none; }
#bkMore { justify-self: start; }
main.page-bookings ~ .wa-float { display: none; } /* the team's own page needs no WhatsApp button */
/* the link to Zoho Books (poc-0.31.0): the steps to set it up, then the link, what's waiting and what didn't go in */
.bk-zoho { display: grid; gap: 0.9rem; }
.bk-zoho > p, .bk-zoho__facts { font-size: 0.95rem; color: var(--ink-soft); }
.bk-zoho__facts { display: grid; gap: 0.3rem; }
/* the facts' names and numbers are black like the page's other words (poc-0.29.0), so only what can be pressed is in colour */
.bk-zoho__facts b { color: var(--ink); font-variant-numeric: tabular-nums; }
.bk-zoho__problems { display: grid; gap: 0.6rem; }
.bk-zoho__problem { display: grid; gap: 0.2rem; padding: 0.8rem 1rem; border-radius: var(--r-md); background: var(--warn-soft); color: var(--ink); font-size: 0.95rem; overflow-wrap: anywhere; }
.bk-zoho__problem small { color: var(--ink-soft); }
.bk-zoho .bk-key code { flex-basis: 20rem; }
#bkZohoNote:empty, #bkZohoOut:empty { display: none; }
/* the WiFi details' key: a new one made in the browser, until it's saved in Cloudflare */
.bk-keyset { box-shadow: 0 0 0 2px var(--violet), var(--shadow-card); }
.bk-key { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.8rem; margin-top: 0.5rem; }
.bk-key code { flex: 1 1 16rem; min-width: 0; padding: 0.55rem 0.7rem; font-size: 0.95rem; overflow-wrap: anywhere; user-select: all; }
.bk-key .btn { min-height: 2.75rem; padding: 0.55rem 1.1rem; }
#bkKeyStatus:empty { display: none; }
/* Find an order: what was found, then the customer's card */
.bk-find__form .field { flex-basis: 260px; max-width: 420px; }
#bkFindStatus:empty { display: none; }
.bk-find__more { font-size: 0.92rem; color: var(--ink-soft); }
.bk-found { display: grid; gap: 0.5rem; }
.bk-found__item { display: grid; gap: 0.1rem; width: 100%; text-align: left; padding: 0.8rem 1rem; border-radius: var(--r-md); border: 1.5px solid var(--lilac-soft); background: var(--white); color: var(--ink-soft); font-size: 0.95rem; overflow-wrap: anywhere; }
.bk-found__item b { color: var(--violet-deep); font-size: 1rem; }
.bk-found__item:hover { border-color: var(--violet); }
/* Show all bookings: from today on, then before today (poc-0.16.1) */
.bk-all { display: grid; gap: 0.6rem; }
.bk-all__head { font-size: 1.05rem; margin-top: 0.4rem; }
.bk-all__head span { color: var(--ink-faint); font-weight: 500; }
.bk-all > .btn { justify-self: start; }
.bk-found__item--off { background: var(--mist); border-color: var(--mist); }
.bk-found__item--off b { color: var(--ink-soft); }
.bk-order { display: grid; gap: var(--s2); padding: 1rem 1.1rem 1.2rem; border-radius: var(--r-md); border: 1.5px solid var(--lilac); background: var(--white); scroll-margin-top: calc(var(--header-h) + 1rem); }
.bk-order:focus { outline: none; }
.bk-order__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); }
.bk-order__head h3 { font-size: 1.25rem; overflow-wrap: anywhere; }
.bk-order__facts, .bk-wifi__list { display: grid; gap: 0.35rem; font-size: 0.95rem; }
.bk-order__facts div, .bk-wifi__list div { display: grid; grid-template-columns: 7.2rem minmax(0, 1fr); gap: 0.6rem; }
.bk-order__facts dt, .bk-wifi__list dt { color: var(--ink-soft); }
.bk-order__facts dd { color: var(--ink); overflow-wrap: anywhere; }
.bk-order a { color: var(--violet); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.bk-order__orders { display: grid; gap: 0.6rem; }
.bk-order__orders li { display: grid; gap: 0.1rem; padding: 0.7rem 0.85rem; border-radius: var(--r-sm); background: var(--mist); font-size: 0.93rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.bk-order__orders b { color: var(--ink); }
.bk-wifi { display: grid; gap: 0.75rem; padding-top: var(--s2); border-top: 1px solid var(--lilac-soft); }
.bk-wifi h4 { font-size: 1.1rem; color: var(--violet-deep); }
.bk-wifi > p { font-size: 0.95rem; color: var(--ink-soft); }
.bk-wifi__list dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.8rem; min-width: 0; }
.bk-wifi__list code, .bk-key code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--mist); border-radius: 6px; color: var(--ink); }
.bk-wifi__list code { padding: 0.1rem 0.4rem; font-size: 0.95rem; overflow-wrap: anywhere; min-width: 0; }
.bk-wifi__list .link { font-size: 0.9rem; }
.bk-wifi__delete:focus { outline: none; }
#bkWifiStatus:empty { display: none; }
/* the WiFi details' fields, in Job done and on the customer's card */
.wifi-form { display: grid; gap: var(--s2); }
.wifi-fields { display: grid; gap: var(--s2); }
.wifi-nets { display: grid; gap: 0.8rem; }
.wifi-net { display: grid; gap: 0.6rem; min-width: 0; padding: 0.75rem 0.9rem 0.9rem; border: 0; border-radius: var(--r-sm); background: var(--mist); }
.wifi-net legend { float: left; width: 100%; padding: 0; margin-bottom: 0.6rem; font-weight: 650; font-size: 0.95rem; color: var(--violet-deep); }
.wifi-net legend small { font-size: 0.85rem; color: var(--ink-faint); font-weight: 500; }
.wifi-net .fields { clear: both; }
.wifi-value { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1rem; }
.wifi-add { justify-self: start; font-size: 0.95rem; }
.wifi-hint { clear: both; font-size: 0.88rem; color: var(--ink-soft); }
/* the history of a customer's WiFi details on their card, newest first */
.bk-wifi__history { display: grid; gap: 0.6rem; font-size: 0.92rem; }
.bk-wifi__history > li { display: grid; gap: 0.15rem; padding: 0.6rem 0.8rem; border-radius: var(--r-sm); background: var(--mist); color: var(--ink-soft); overflow-wrap: anywhere; }
.bk-wifi__history b { color: var(--ink); font-weight: 650; }
.bk-wifi__history ul { display: grid; gap: 0.15rem; margin-top: 0.2rem; }
.bk-wifi__history code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--white); border-radius: 5px; padding: 0 0.3rem; color: var(--ink); }
#soWifiStatus:empty, #soNoSignStatus:empty { display: none; }
.so__back { justify-self: center; font-size: 0.95rem; padding: 0.4rem 0; }
/* on a wide screen the bookings and the diary sit side by side */
@media (min-width: 1021px) {
  .bk { max-width: none; }
  .bk-tabs { width: min(100%, 720px); }
  /* the bookings and the deliveries at a width that reads well (poc-0.29.0), the diary's weeks in two columns and the
     unfinished checkouts beside the estimates */
  .bk-part--bookings, .bk-part--deliveries { max-width: 1000px; }
  .bk-diary { display: block; columns: 2; column-gap: var(--s5); }
  .bk-day { break-inside: avoid; }
  .bk-part--leads { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  /* More's folded sections one under another (poc-0.29.0), and the installers beside the form to add one */
  .bk-part--more { max-width: 1000px; }
  #bkInstallersBody { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: var(--s4); align-items: start; }
  #bkInstallersBody > .bk-head { grid-column: 1 / -1; }
  #bkInstallersBody > .bk-add { grid-column: 2; grid-row: 2 / span 3; padding-top: 0; padding-left: var(--s4); border-top: 0; border-left: 1px solid var(--lilac-soft); }
  /* an installer's page has one list, at the bookings page's narrow width */
  [data-portal="installer"] .bk { max-width: 780px; }
  /* the customer's card uses the width: their details and orders beside the WiFi details */
  .bk-order { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s4); align-items: start; }
  .bk-order > * { grid-column: 1; }
  .bk-order > .bk-order__head { grid-column: 1 / -1; }
  .bk-order > .bk-wifi { grid-column: 2; grid-row: 2 / span 4; padding-top: 0; border-top: 0; }
  /* being typed or changed, they take the card's whole width, so a long password shows in full */
  .bk-order > .bk-wifi--edit { grid-column: 1 / -1; grid-row: auto; padding-top: var(--s2); border-top: 1px solid var(--lilac-soft); }
}
@media (max-width: 560px) {
  /* the weekday over the date and less room round the diary (poc-0.29.0), so the times have room for the names */
  #bkDiaryPanel { padding-inline: 0.7rem; }
  #bkDiaryPanel > .bk-head { padding-inline: 0.4rem; }
  .bk-day { grid-template-columns: 3.7rem minmax(0, 1fr) minmax(0, 1fr); gap: 0.4rem; }
  .bk-date b { font-size: 0.85rem; }
  .bk-date__md { display: block; }
  .bk-slot { padding: 0.4rem 0.55rem; }
  .bk-item { grid-template-columns: minmax(0, 1fr); }
  .bk-item__actions { display: flex; flex-wrap: wrap; align-items: center; column-gap: 0.6rem; }
  .bk-item .bk-more-btn { padding-inline: 0.4rem; }
  /* on a phone each WiFi detail has its label above it and its Copy button beside it */
  .bk-wifi__list { gap: 0.6rem; }
  .bk-wifi__list div { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .bk-wifi__list dt { font-size: 0.88rem; }
  .bk-wifi__list dd { flex-wrap: nowrap; justify-content: space-between; align-items: center; }
}
/* on a phone as narrow as Chris's (304 pixels) Job done and Move still fit side by side, with More under them */
@media (max-width: 360px) {
  .bk-item .btn { padding-inline: 0.8rem; }
}

/* the installation sign-off, over the bookings page: a card on a computer, the whole screen on a phone */
html.so-open, html.so-open body { overflow: hidden; }
.so { position: fixed; inset: 0; z-index: 90; overflow-y: auto; overscroll-behavior: contain; background: rgba(36, 21, 51, 0.55); padding: max(24px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(24px, var(--safe-bottom)) max(16px, env(safe-area-inset-left, 0px)); }
.so__card { width: min(560px, 100%); margin: 0 auto; background: var(--white); border-radius: var(--r-lg); box-shadow: 0 40px 80px -30px rgba(10, 0, 30, 0.6); overflow: hidden; }
.so__top { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: 0.95rem 1.3rem; background: var(--violet-deep); color: var(--white); }
.so__top b { font-family: var(--font-display); font-size: 1.05rem; }
.so__top span { font-weight: 700; color: var(--lilac-soft); font-variant-numeric: tabular-nums; }
.so__body { display: grid; gap: var(--s2); padding: var(--s3) 1.3rem 1.5rem; }
.so__h { font-size: 1.45rem; }
.so__h:focus { outline: none; }
.so .link { padding: 0; }
.so__body > p { color: var(--ink-soft); }
/* an empty message box takes no row of the grid, so no extra gap, and stays on the page for screen readers */
.so__body > [aria-live]:empty { position: absolute; }
/* a phone's date box looks like the other boxes and keeps its date on the left */
.so input[type="date"] { -webkit-appearance: none; appearance: none; text-align: left; }
.so input[type="date"]::-webkit-date-and-time-value { text-align: left; }
/* two photos of each unit side by side, in place and of its serial number. Each is one button that opens the camera. */
.so__units { display: grid; gap: 0.8rem; }
.so__unit { display: grid; gap: 0.55rem; padding: 0.85rem 0.9rem 0.95rem; border-radius: var(--r-sm); background: var(--mist); }
.so__unit-h { font-size: 1rem; color: var(--violet-deep); }
.so__shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
.so__shot { display: grid; gap: 0.4rem; align-content: start; min-width: 0; padding: 0; text-align: left; border-radius: var(--r-sm); }
.so__shot-label { font-size: 0.88rem; font-weight: 650; color: var(--ink-soft); }
.so__shot-pic { position: relative; display: block; }
.so__shot img, .so__shot-empty { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
/* whether the photo is saved in the order book, over the photo's corner */
.so__shot-state { position: absolute; left: 0.4rem; bottom: 0.4rem; display: inline-flex; align-items: center; gap: 0.25rem; max-width: calc(100% - 0.8rem);
  padding: 0.2rem 0.55rem; border-radius: 999px; background: var(--white); color: var(--ink-soft); font-size: 0.78rem; font-weight: 700; line-height: 1.25;
  box-shadow: 0 2px 6px rgba(36, 21, 51, 0.2); }
.so__shot-state svg { flex: none; width: 0.85rem; height: 0.85rem; }
.so__shot--saved .so__shot-state { background: var(--ok-soft); color: var(--ok); }
.so__shot--failed .so__shot-state { background: var(--warn-soft); color: var(--warn); }
.so__shot img { object-fit: cover; background: var(--white); }
.so__shot-empty { display: grid; place-items: center; border: 2px dashed var(--lilac-strong); background: var(--white); color: var(--violet); }
.so__shot-empty svg { width: 32px; height: 32px; }
.so__shot-do { display: flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0.4rem 0.5rem; border: 2px solid var(--lilac); border-radius: var(--r-sm);
  background: var(--white); color: var(--violet-deep); font-weight: 700; font-size: 0.95rem; line-height: 1.2; text-align: center; }
@media (hover: hover) { .so__shot:hover .so__shot-do { border-color: var(--violet); } }
.so__shot--taken .so__shot-do { border-color: var(--lilac-soft); font-weight: 650; color: var(--ink-soft); }
/* the page moves to the next photo to take, so it shows even after a tap */
.so__shot:focus { outline: 3px solid var(--ember); outline-offset: 3px; }
.so__shot[disabled] { opacity: 0.55; cursor: not-allowed; }
.so__shot--saving[disabled] { opacity: 1; cursor: progress; }
.so__actions { display: grid; gap: 0.6rem; margin-top: 0.3rem; }
.so__nosign { display: grid; gap: 0.8rem; padding-top: var(--s2); border-top: 1px solid var(--lilac-soft); }
.so__nosign .link { justify-self: start; text-align: left; font-size: 0.95rem; }
.so__nosign-box { display: grid; gap: 0.8rem; }
.so__nosign-box p { color: var(--ink-soft); font-size: 0.95rem; }
/* its words may take two lines on a narrow phone, so the box never runs off the screen */
.so__nosign-box .btn { justify-self: start; min-height: 2.75rem; padding: 0.55rem 1.1rem; white-space: normal; text-align: center; }
.so__body > .so__date { margin-bottom: -0.6rem; font-weight: 700; color: var(--violet-mid); }
.so__facts { display: grid; gap: 0.4rem; }
.so__facts div { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); gap: 0.6rem; }
.so__facts dt { color: var(--ink-soft); }
.so__facts dd { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.so__items { display: grid; gap: 0.5rem; padding: 0.95rem 1.05rem; border-radius: var(--r-sm); background: var(--mist); }
.so__items h3 { font-size: 1rem; color: var(--violet-deep); }
.so__items ul { display: grid; gap: 0.3rem; color: var(--ink); }
.so__items li { position: relative; padding-left: 1.05rem; }
.so__items li::before { content: ""; position: absolute; left: 0.1rem; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.so__total { display: flex; justify-content: space-between; gap: var(--s2); padding-top: 0.5rem; border-top: 1px solid var(--lilac-soft); font-weight: 700; color: var(--ink); }
.so__body > .so__statement { padding: 0.9rem 1.05rem; border-left: 4px solid var(--ember); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: #FCE9E2; color: var(--ink); font-weight: 600; }
.so__pad { position: relative; border: 2px dashed var(--lilac-strong); border-radius: var(--r-sm); background: var(--white); }
.so__pad--missing { border-color: var(--error); border-style: solid; }
.so__pad canvas { display: block; width: 100%; height: 190px; touch-action: none; cursor: crosshair; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.so__padline { position: absolute; left: 1rem; right: 1rem; bottom: 2.1rem; border-top: 1.5px solid var(--lilac); pointer-events: none; }
.so__padline span { position: absolute; top: 0.35rem; left: 0; font-size: 0.88rem; color: var(--ink-faint); }
.so__pad--signed .so__padline span { visibility: hidden; }
.so__clear { justify-self: start; font-size: 0.92rem; }
.so__body--done { justify-items: center; text-align: center; padding-block: var(--s5); }
.so__tick { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.so__tick svg { width: 34px; height: 34px; }
@media (max-width: 560px) {
  .so { padding: 0; background: var(--white); }
  .so__card { width: 100%; min-height: 100%; border-radius: 0; box-shadow: none; }
  .so__top { padding-top: calc(0.95rem + env(safe-area-inset-top, 0px)); }
  .so__body { padding: var(--s3) 16px calc(1.5rem + var(--safe-bottom)); }
}

/* ---------- area pages and WiFi help guides ---------- */
.guide h3 { font-size: 1.2rem; margin-top: var(--s1); }
.guide > :first-child { margin-top: 0; } /* the first heading's own margin added 24px to the band's edge */
.guide ol { list-style: decimal; padding-left: 1.3rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.5rem; color: var(--ink-soft); }
.guide li::marker { color: var(--ember); font-weight: 700; }
.guide li strong, .guide p strong { color: var(--ink); }
.guide .art { margin-block: var(--s1); }
.tip { border-radius: var(--r-md); padding: var(--s3); background: var(--mist); display: grid; gap: 0.6rem; }
.tip h3 { margin-top: 0; }
.section--mist .tip { background: var(--white); }
/* a tip under the three quick checks, as wide as a guide's text (the YouTube article, poc-0.28.0) */
.steps + .tip { max-width: 760px; margin: var(--s4) auto 0; }
.area-note { max-width: 760px; margin: var(--s4) auto 0; display: flex; gap: 0.6rem; align-items: flex-start; color: var(--ink-soft); font-size: 1rem; }
.area-note .i { color: var(--violet); margin-top: 0.15em; }
.area-more { margin-top: var(--s5); }

/* ---------- the Airbnb hosts page (poc-0.34.0) ----------
   One page for hosts: the problem on the first screen, the story, how it works, the modular system and then the shop
   itself, the same one as the shop page (src/partials/shop-form.html). */
/* "For hosts on Airbnb" above the headline, with Airbnb's own logo in its red */
.hosts-for { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.55rem; font-family: var(--font-display); font-weight: 650; }
.page-head .hosts-for { margin: 0 0 var(--s2); font-size: var(--fs-md); color: var(--ink); }
.hosts-for img { height: 1.7em; width: auto; }
/* the headline's three sentences each keep to one line on computers, beside a drawing about as big as the home page's */
.hosts-head h1 { font-size: clamp(2.1rem, 3.8vw, 2.75rem); }
@media (min-width: 1160px) { .hosts-head__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
/* the poolside drawings fill their cards edge to edge, so the sky is the card */
.hero__art--pool { padding: 0; overflow: hidden; background: #DCF0FB; box-shadow: var(--shadow-card); }
.page-head .hero__art--pool svg { pointer-events: auto; } /* a tap pauses it, as on the home page */
.story__art--pool, .section--mist .story__art--pool { padding: 0; background: #DCF0FB; border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
/* why it happens, under the four moments */
.hosts-why { max-width: 48ch; margin: var(--s4) auto 0; text-align: center; font-family: var(--font-display); font-weight: 650; font-size: var(--fs-lg); line-height: 1.3; color: var(--violet-deep); text-wrap: balance; }
.hosts-promises { margin-top: var(--s4); }
.hosts-modular__art { align-self: center; }
.shop-head h2 { color: var(--night); font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.015em; } /* the hosts page's shop starts as the shop page does */
.hosts-note { max-width: 780px; margin: var(--s3) auto 0; text-align: center; }
/* the video under why it happens (Chris, 21 November, poc-0.46.0): the Facebook reel "Five-star stay, two-star WiFi"
   without its end card, in its 4:5 cut. Like the poolside drawings it fills its card edge to edge. Its button stays in
   sight (site.js): a play button in the middle while it doesn't play and a small pause button in the bottom right
   corner while it does, where video players keep it and the reel has only the deck. */
.reel { width: min(100%, 420px); margin: var(--s4) auto 0; }
.reel__frame { position: relative; }
.reel video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: var(--r-lg); background: var(--mist); box-shadow: var(--shadow-card); cursor: pointer; }
.reel__toggle { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; padding: 0; border: 0; border-radius: 50%; background: rgba(62, 23, 112, 0.88); color: var(--white); cursor: pointer; box-shadow: 0 8px 18px -8px rgba(30, 20, 45, 0.6); transition: background-color 0.2s ease; }
.reel__toggle:hover { background: var(--violet-deep); }
.reel__toggle .i { width: 28px; height: 28px; }
.reel__toggle .i:last-child, .reel--playing .reel__toggle .i:first-child { display: none; }
.reel--playing .reel__toggle .i:last-child { display: block; }
.reel--playing .reel__toggle { top: auto; left: auto; right: 12px; bottom: 12px; width: 40px; height: 40px; margin: 0; }
.reel--playing .reel__toggle .i { width: 20px; height: 20px; }

/* ---------- the Google ad's landing page (poc-0.42.0, mesh-wifi.html) ----------
   The ad's promise, the price, Happy Pay and one button on a phone's first screen, then the shop on the same page.
   Visitors from the ad left the home page on its first screen, where there was no price or button (19 November). */
.mesh-head__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--s5); align-items: center; }
.page-head .mesh-areas { display: flex; align-items: center; gap: 0.4em; margin: 0 0 var(--s2); max-width: none; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.mesh-areas svg { width: 1.1em; height: 1.1em; color: var(--violet); flex-shrink: 0; }
/* the price box: the 2-Pack's photo beside the price, then the button across the box */
.mesh-offer { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--s2) var(--s3); padding: var(--s3); background: var(--white); border: 1.5px solid var(--lilac-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.mesh-offer__photo { height: 150px; width: auto; filter: drop-shadow(0 14px 16px rgba(62, 23, 112, 0.16)); }
.page-head .mesh-offer__price { display: grid; gap: 0.2rem; margin: 0; max-width: none; font-size: var(--fs-sm); line-height: 1.4; color: var(--ink-soft); }
.mesh-offer__price b { font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1.15; color: var(--violet-deep); }
.mesh-offer__bnpl { font-weight: 650; color: var(--ok); } /* the Happy Pay line in the green of paying later, as on the packs and in the shop (Chris, 20 November) */
.page-head .mesh-offer__actions { grid-column: 1 / -1; margin-top: 0; }
.mesh-offer__actions .btn { width: 100%; }
.page-head .mesh-offer__note { grid-column: 1 / -1; margin: 0; max-width: none; font-size: var(--fs-sm); color: var(--ink-soft); text-align: center; text-wrap: balance; }
/* the four reasons in two columns beside each other */
.mesh-features { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin: 0 auto; }
@media (max-width: 860px) {
  /* on phones and tablets the price box comes straight after the headline, so the price and the button show on the first
     screen, and the words under the headline follow the box. The words' box steps aside (display: contents), as the
     home page's first screen does. */
  .mesh-head__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .mesh-head__copy { display: contents; }
  .mesh-offer { order: 1; margin-top: var(--s3); max-width: 520px; }
  .page-head .mesh-head__lede { order: 2; margin-top: var(--s3); }
  .mesh-head .chips { order: 3; }
  .mesh-features { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  /* the photo beside the price stays small, so the box keeps to the first screen with the button under the price */
  .mesh-offer { padding: var(--s2) 1rem; column-gap: 0.85rem; }
  .mesh-offer__photo { height: 76px; }
  .mesh-offer__price b { font-size: 1.3rem; }
  .mesh-offer__actions .btn { padding-inline: 1rem; }
}
@media (max-width: 360px) {
  /* on the smallest phones the areas line takes two lines (poc-0.43.2), so it sits tighter and the price box closer,
     keeping the button on the first screen down to 309 x 544 */
  .page-head .mesh-areas { line-height: 1.3; margin-bottom: var(--s1); }
  .mesh-offer { margin-top: var(--s2); }
}

/* ---------- preview ribbon (preview builds only) ---------- */
.preview-ribbon { background: var(--ink); color: var(--lilac-soft); font-size: var(--fs-xs); text-align: center; padding: 0.4rem max(16px, env(safe-area-inset-right, 0px)) 0.4rem max(16px, env(safe-area-inset-left, 0px)); }
.preview-ribbon b { color: var(--peach); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .shop, .done-grid { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .done-grid .summary { order: -1; } /* on smaller screens the booking itself comes first */
  .problems { grid-template-columns: repeat(2, 1fr); }
  .promises { grid-template-columns: repeat(2, 1fr); }
  .promise-item:nth-child(3) { border-top: 1px solid var(--lilac-soft); padding-top: var(--s2); } /* starts the second row */
  .moments--row { grid-template-columns: repeat(2, 1fr); }
}

/* the full menu needs about 1,080px, and Ubiquiti UniFi (poc-0.25.0) takes it to about 1,140px; below that it folds
   into the menu button. Talk to us (poc-0.27.12) takes the room Packages had until poc-0.27.0, so the menu still fits
   on one line above 1,140px. Airbnb hosts (poc-0.34.0) fits because the gaps between the menu's links went from 36px
   to 24px: the logo and the menu take 1,058px, where a screen 1,141px wide has 1,085px for them. */
@media (max-width: 1140px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); } /* the footer's six columns need the same room as the menu */
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem max(16px, env(safe-area-inset-right, 0px)) 1rem max(16px, env(safe-area-inset-left, 0px)); background: var(--white); border-bottom: 1px solid var(--lilac-soft); box-shadow: var(--shadow-soft); }
  .nav a { padding: 0.8rem 0; font-size: 1rem; border-bottom: 1px solid var(--lilac-soft); }
  .nav .btn { margin-top: 0.8rem; border-bottom: 0; }
  .nav--open { display: flex; }
  .nav-toggle { display: flex; }
  .site-header__bar { position: relative; }
  .header-actions { display: flex; align-items: center; gap: 0.4rem; }
  .header-shop { display: inline-flex; min-height: 2.5rem; padding: 0.45rem 0.9rem; font-size: 0.9rem; }
}

@media (max-width: 860px) {
  :root { --header-h: 3.9rem; }
  /* inside a band on phones and tablets, the space between its parts is the band's own s3 (24px) or less, so nothing inside a
     band is further apart than two bands are (Chris, 12 November: the s4 gaps here until poc-0.27.2 looked like holes) */
  .hero { padding-block: var(--s3); }
  .hero__grid, .fix, .split { grid-template-columns: 1fr; gap: var(--s3); }
  .hero__actions { margin-top: var(--s3); }
  .chips { margin-top: var(--s2); }
  .hero__art { padding: var(--s2); max-width: 520px; }
  /* on phones and tablets the stuck TV comes straight after the first screen's words, with the button under it, so it shows
     on the first screen. The words' box steps aside (display: contents) and the grid orders its parts. */
  .hero .hero__grid { gap: 0; }
  .hero .hero__copy { display: contents; }
  .hero .hero__art { order: 1; margin-top: var(--s3); justify-self: start; width: 100%; }
  .hero .hero__actions { order: 2; }
  .hero .chips { order: 3; }
  /* the story in one column: its heading in the middle like the other sections', then the TV, then the moments */
  .story { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "art" "body"; grid-template-rows: auto; }
  .story__head { text-align: center; }
  .story__art { max-width: 520px; width: 100%; justify-self: center; }
  .page-head .hero__art { padding: 0; } /* nothing shows its frame on the grey band (see above) */
  .hero__rings { width: 520px; height: 520px; right: -260px; top: -240px; }
  .section { padding-block: var(--s3); }
  .section__head { margin-bottom: var(--s3); }
  .problems__close { margin-top: var(--s3); gap: var(--s2); } /* 16 px under the line on phones and tablets, where it looks right */
  .review { margin-top: var(--s3); }
  /* the last band has a section's room inside, and the footer starts as soon under it, with its groups as close together */
  .closer { padding-block: var(--s3); }
  .site-footer { padding-top: var(--s3); }
  .footer-grid { row-gap: var(--s3); }
  .footer-base { margin-top: var(--s3); }
  .page-head { padding-block: var(--s3); }
  .packages, .addons, .pair { grid-template-columns: 1fr; }
  .demo { padding: 0.6rem; border-radius: var(--r-md); margin-bottom: var(--s3); }
  .demo video { border-radius: var(--r-sm); }
  .demo__full { right: calc(0.6rem + 10px); bottom: calc(0.6rem + 10px); }
  .product__photo img { height: 220px; }
  .steps, .checks { grid-template-columns: 1fr; gap: var(--s3); }
  .check { grid-template-columns: 52px 1fr; column-gap: 1.1rem; }
  .check > *:not(.check__node) { grid-column: 2; }
  .check__node { grid-row: 1 / span 4; margin-bottom: 0; }
  .check:not(:last-child)::before { top: 62px; left: 25px; right: auto; bottom: calc(8px - var(--s3)); width: 2px; height: auto; }
  .cards, .cards--3 { grid-template-columns: 1fr; gap: var(--s2); }
  .addons { gap: var(--s2); }
  .area-note { margin-top: var(--s3); }
  .wa-float { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + var(--safe-bottom)); z-index: 45; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.15rem 0.75rem 0.95rem; border-radius: 999px; background: var(--ember); color: var(--white); font-weight: 700; font-size: 0.95rem; box-shadow: 0 14px 30px -10px rgba(62, 23, 112, 0.6); transition: opacity 0.2s ease, transform 0.2s ease; }
  .wa-float svg { width: 22px; height: 22px; }
  .wa-float--hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }

  /* shop on phones: a pay bar sits at the bottom with the live total */
  .shop { margin-top: calc(-1 * var(--s3)); padding-bottom: var(--s4); row-gap: var(--s3); }
  /* room for the pay bar, which Change your booking doesn't have. The Airbnb hosts page's bar has gone by the footer, with the shop off screen. */
  main.page-shop:not(.page-change):not([data-shop-below]) ~ .site-footer { padding-bottom: calc(var(--s4) + 4.75rem); }
  .panel { padding: var(--s3) 1.1rem; border-radius: var(--r-md); }
  /* the order summary follows the steps as one more panel, with the same space above it as between them (Chris, 12 November) */
  .summary { padding: var(--s3) 1.1rem; border-radius: var(--r-md); }
  .options { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  /* a slim bar (Chris, 14 November): 8px above and below a 44px button, which is 61px in all where it was 73px, and a light
     shadow that stays at its edge, where the old one darkened about 25px of the page above it. Over the iPhone's home bar the
     strip the phone keeps is the room under the button, with nothing added to it. */
  .paybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: 0.5rem max(16px, env(safe-area-inset-right, 0px)) max(0.5rem, var(--safe-bottom)) max(16px, env(safe-area-inset-left, 0px)); background: var(--white); border-top: 1px solid var(--lilac-soft); box-shadow: 0 -4px 14px -8px rgba(36, 21, 51, 0.18); }
  .paybar__total { display: grid; line-height: 1.2; }
  .paybar__total span { font-size: var(--fs-xs); color: var(--ink-soft); }
  .paybar__total b { font-family: var(--font-display); font-size: 1.35rem; color: var(--violet-deep); font-variant-numeric: tabular-nums; }
  .paybar__total small { font-size: 0.78rem; color: var(--ok); font-weight: 650; }
  .paybar .btn { min-height: 2.75rem; padding: 0.5rem 1.2rem; white-space: normal; text-wrap: balance; text-align: center; } /* "Starting your payment" takes two lines on a narrow phone and stays on screen */
  .paybar .btn--primary { box-shadow: none; } /* no orange glow in the bar, where it only filled the room under the button (Chris, 14 November) */
  .paybar { transition: transform 0.2s ease; }
  .paybar--hidden { transform: translateY(110%); } /* steps aside while the order summary's own Pay button is on screen */
  /* on the Airbnb hosts page the shop comes after the story, so the pay bar waits until the shop itself is on screen
     (shop.js adds paybar--near) */
  main[data-shop-below] .paybar:not(.paybar--near) { transform: translateY(110%); }
  .hosts-why, .hosts-promises, .reel { margin-top: var(--s3); }
  .reel video { border-radius: var(--r-md); }
}

@media (max-width: 560px) {
  /* the mesh video edge to edge, in its 4:3 cut for phones (Chris, 13 November, poc-0.27.11): everything in it
     shows about half as big again as in the white card. The page picks the cut's files (index.html). */
  .demo { margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .demo video { aspect-ratio: 4 / 3; border-radius: 0; }
  .demo__play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .demo__play .i { width: 26px; height: 26px; }
  .demo__full { top: 10px; right: 10px; bottom: auto; }
  .problems, .promises, .moments--row { grid-template-columns: 1fr; }
  .promise-item:nth-child(2) { border-top: 1px solid var(--lilac-soft); padding-top: var(--s2); } /* one promise a row */
  span.phone-only { display: inline; }
  div.phone-only { display: block; }
  .phone-hide { display: none; }
  /* the home page reaches the fix sooner on phones: four culprits, each with its drawing in a short band above its
     heading and the words across the whole width (Chris, 12 November). Until poc-0.27.0 the drawing sat beside the
     words and squeezed them into a narrow column. Computers and tablets keep all six full drawings (Chris's choice,
     25 October). */
  #why .problem { row-gap: 0.4rem; }
  #why .problem .art { height: 150px; display: grid; place-items: center; margin-bottom: 0.5rem; }
  #why .problem .art svg { width: auto; height: 100%; max-width: 100%; }
  /* each heading fills its line like the words under it: balanced lines left a short first line across the whole
     width, which looked like a stray line break on Chris's phone (12 November) */
  #why .problem h3 { font-size: 1.1rem; text-wrap: pretty; }
  /* the headline's widest line, "We're here to fix it.", is about 8.5 times as wide as its letters' size, so this keeps it between the 16px edges */
  .hero h1 { font-size: min(var(--fs-hero), calc((100vw - 32px) / 8.6)); }
  /* the steps' headings a little smaller beside their numbers, so they keep to one line on phones, even with larger text */
  .step h3 { font-size: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .hero__actions .btn, .closer__actions .btn, .offer__actions .btn { width: 100%; }
  /* the offer on phones: the units above the price, with the words in the middle and the buttons across the card */
  .offer__card { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: var(--s2); padding: var(--s3) 1.25rem; text-align: center; }
  .offer__card > img { height: 150px; }
  .offer__price b { font-size: 1.35rem; } /* the price keeps to one line, even on a phone set to larger text */
  .offer__buy { width: 100%; }
  .offer__actions .btn { padding-inline: 1rem; } /* the labels keep to one line on a 360px phone set to larger text */
  .addon { grid-template-columns: auto 1fr; }
  .addon b { grid-column: 2; }
  .slots { grid-template-columns: 1fr; }
  .nodes-row { grid-template-columns: 1fr; }
  /* on a phone the photo sits beside the heading and the words take the row's whole width, so the row stays short */
  .ups-row { grid-template-columns: 72px minmax(0, 1fr); column-gap: 0.85rem; row-gap: 0.55rem; }
  .ups-row > div:not(.stepper) { display: contents; }
  .ups-row__photo { width: 72px; align-self: center; }
  .ups-row h3 { grid-column: 2; align-self: center; }
  .ups-row p, .ups-row .stepper { grid-column: 1 / -1; }
  .install-line { grid-template-columns: 1fr; }
  .helper__result { grid-template-columns: 1fr; }
  .pay-option { grid-template-columns: auto 1fr; }
  .pay-option__amount { grid-column: 2; text-align: left; }
  .logo { font-size: clamp(0.9rem, 4.6vw, 1.12rem); } /* the name stays on one line on the narrowest phones */
  .logo__mark { width: 30px; height: 30px; }
  .logos--tiles { flex-wrap: nowrap; gap: 0.6rem; }
  .rate { padding: var(--s3) 1.2rem; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }
  .facts dt { font-size: 0.85rem; margin-top: 0.65rem; }
  .facts dt:first-child { margin-top: 0; }
  .logos--tiles li { flex: 1 1 0; min-width: 0; min-height: 56px; padding: 0.7rem 0.5rem; }
  .logos--tiles .logo-cudy { height: 22px; }
  .logos--tiles .logo-tplink { height: 26px; }
  .logos--tiles .logo-unifi { height: 18px; }
  .logos--tiles img { max-width: 100%; object-fit: contain; } /* a logo shrinks inside its tile rather than spilling out */
  /* legal tables: each row becomes a short block, first cell as its title */
  .prose table, .prose tbody, .prose tr, .prose td { display: block; }
  .prose thead { display: none; }
  .prose tr { padding: 0.8rem 0; border-bottom: 1px solid var(--lilac-soft); }
  .prose td { padding: 0.1rem 0; border: 0; }
  .prose td:first-child { color: var(--ink); font-weight: 600; }
  /* reviews on phones: smaller words and less padding, so a quote takes a few lines and not a whole screen (Chris, 28 October) */
  .review { padding: var(--s3) 1.25rem; }
  .review blockquote p { font-size: var(--fs-base); line-height: 1.45; }
  .review--shot { padding: 0; } /* the screenshot has its own white edge, so on phones it fills its card and its words stay large */
  /* less padding in the package cards leaves room for their buttons, so the narrowest phones don't scroll sideways */
  .pack { padding: var(--s3) 1.25rem; }
}

/* ---------- cards that slide sideways (Chris, 21 November, poc-0.45.0) ----------
   On phones the home page's moments, culprits, reasons and promises each sit in one row of cards that slides, with the
   next card peeking in and dots under the row, so the page is about a fifth shorter with every word kept. The reviews
   slide on every screen. The row scrolls by itself (CSS scroll snap) and site.js adds the dots, the arrows and the
   words a screen reader hears. Without the script the row still slides. DESIGN.md, "Components". */
.slider { min-width: 0; }
.slider__nav { display: none; align-items: center; justify-content: center; gap: var(--s1); margin-top: var(--s2); }
.slider__nav[hidden] { display: none; }
.slider--always .slider__nav { display: flex; }
.slider__dots { display: flex; justify-content: center; }
.slider__dots button, .slider__arrow { width: 24px; height: 24px; padding: 0; border: 0; background: none; border-radius: 99px; cursor: pointer; display: grid; place-items: center; touch-action: manipulation; }
.slider__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--ink-faint); transition: width 0.3s ease, background-color 0.3s ease; }
.slider__dots button[aria-current="true"] { width: 40px; }
.slider__dots button[aria-current="true"]::before { width: 28px; background: var(--violet); } /* the card on show has the wider dot, so it doesn't depend on colour alone */
.slider__arrow { width: 40px; height: 40px; color: var(--violet-deep); border: 2px solid var(--line-strong); background: var(--white); }
.slider__arrow svg { width: 18px; height: 18px; }
.slider__arrow--prev svg { transform: rotate(180deg); }
.slider__arrow:disabled { color: var(--ink-faint); border-color: var(--lilac-soft); cursor: default; }
.slider__arrow:hover:not(:disabled) { border-color: var(--violet); }
.slider__dots button:focus-visible, .slider__arrow:focus-visible, .slider__track:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }
.slider__track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: no-preference) { .slider__track { scroll-behavior: smooth; } }
@media (max-width: 560px), (pointer: coarse) { .slider__arrow { display: none; } } /* a finger swipes: the arrows are for a mouse */

/* the reviews: one row of cards on every screen, three across on a computer, two on a tablet and one on a phone */
.reviews-track { display: flex; gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding: 6px 2px 10px; touch-action: manipulation; }
.review-card { flex: 0 0 calc((100% - 2 * var(--s3)) / 3); scroll-snap-align: start; display: flex; flex-direction: column; gap: 0.8rem; padding: var(--s3); background: var(--white); border: 1.5px solid var(--lilac-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.review-card blockquote { flex: 1; }
.review-card blockquote p { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.4; color: var(--violet-deep); }
.review-card__who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.6rem; font-size: var(--fs-sm); color: var(--ink-soft); }
.review-card__who b { color: var(--ink); font-weight: 650; }
.review-card__src { flex-basis: 100%; display: flex; align-items: center; gap: 0.35rem; color: var(--ok); font-weight: 600; }
.review-card__src svg { width: 14px; height: 14px; padding: 2px; border-radius: 50%; background: var(--ok); color: var(--white); stroke-width: 4; }
.stars { display: block; align-self: flex-start; justify-self: start; height: 22px; width: auto; fill: var(--star); }
@media (max-width: 1020px) { .review-card { flex-basis: calc((100% - var(--s3)) / 2); } }

/* the price box: the units bigger, with more room and a bigger price (Chris, 21 November) */
.offer__card { padding: var(--s4) var(--s5); gap: var(--s5); }
.offer__card > img { height: 270px; }
.offer__price b { font-size: clamp(1.75rem, 3vw, 2.3rem); }
.offer__price span { font-size: var(--fs-base); }

/* the shop: each pack says who it's for, the brands' logos under the card and wallet options and one line of a Google
   review above the Pay button */
.option__tag--quiet { color: var(--ink-soft); background: var(--mist); }
.pay-logos { display: flex; gap: 6px; margin-top: 0.45rem; }
.pay-logos img { width: 42px; height: 28px; border: 1px solid var(--lilac-soft); border-radius: 5px; background: var(--white); }
.summary__proof { display: grid; gap: 0.35rem; padding: 0.8rem 0.9rem; border: 1.5px solid var(--lilac-soft); border-radius: var(--r-sm); font-size: var(--fs-sm); line-height: 1.45; color: var(--ink-soft); }
.summary__proof .stars { height: 18px; }
.summary__proof b { color: var(--ink); font-weight: 650; }

@media (max-width: 560px) {
  .slider .slider__nav { display: flex; }
  .slider__track { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; touch-action: manipulation;
    margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
    padding: 6px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); scroll-padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
  .slider__track > * { flex: 0 0 min(84%, 330px); scroll-snap-align: start; align-content: start; background: var(--white); border: 1.5px solid var(--lilac-soft); border-radius: var(--r-md); box-shadow: var(--shadow-soft); padding: 1.15rem 1.15rem 1.25rem; }
  .slider__track > .phone-hide { display: none; }
  .slider__track.moments .moment { row-gap: 0.6rem; }
  .slider__track.features .feature, .slider__track.promises .promise-item { grid-template-columns: 1fr; gap: 0.6rem; border-top: 1.5px solid var(--lilac-soft); padding: 1.15rem 1.15rem 1.25rem; }
  .slider__track.features .feature__icon, .slider__track.promises .promise-item__icon { width: 34px; height: 34px; }
  .slider__track.features .feature__icon svg, .slider__track.promises .promise-item__icon svg { width: 32px; height: 32px; }
  .slider__track.problems .problem { padding: 0.6rem 0.6rem 1.25rem; }
  .slider__track.problems .problem h3, .slider__track.problems .problem p { padding-inline: 0.55rem; }
  #why .slider__track.problems .problem .art { height: 170px; margin-bottom: 0.6rem; }
  .fix > * { min-width: 0; } /* the row of reasons scrolls inside its column and never widens the page */
  .story__body { gap: var(--s2); }
  .review-card { flex-basis: min(86%, 340px); padding: 1.25rem; }
  .review-card blockquote p { font-size: var(--fs-base); line-height: 1.45; }
  .offer__card { padding: var(--s4) 1.25rem var(--s3); gap: var(--s2); }
  .offer__card > img { height: 200px; }
  .offer__price b { font-size: 1.6rem; }
  .offer__price span { font-size: var(--fs-sm); }
}

/* the narrowest screens (a folded phone or a big zoom): the menu's Shop now link stands in for the Shop button */
@media (max-width: 299px) {
  .header-shop { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Nothing moves on a device set to less motion, apart from the moving drawings ("drawings": "animated"): the rugby
     drawings and, since poc-0.34.0, the Airbnb hosts page's three. Their parts all have a class that starts with ill__.
     Chris chose the full animation for everyone (15 November). A tap still pauses a drawing. The still drawings
     ("still") keep their wheel still, as before. */
  *:not([class*="ill__"]), *::before, *::after { transition: none !important; animation: none !important; }
  .ill--turning .ill__wheel { animation: none !important; }
}
