/* BilVakten coming-soon page, version 2 (Darko 26 Oct evening: "more wow, cleaner, less text, centered, bigger logo,
   swipe the scenarios; mobile first"). Colours, type and the phone screens copy the app (böthat repo:
   docs/ux/designs/2026-10-24-cleaning-day/src/v6/v6.css and v6.py; mobile/src/ui/theme.js ACTION).
   The one bold idea: the band behind the phones takes the colour of the scenario you swipe to, the way the app's
   screen changes colour as a ban comes closer. */
@font-face {
  font-family: 'Familjen Grotesk';
  src: url('/assets/fonts/familjen-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --action: #1F5AA6;      /* every button and link in the app (theme.js ACTION, version 21) */
  --action-dark: #174783;
  --calm: #D3E8D8;        /* "Allt bra" */
  --calm-ink: #0B2615;
  --calm-mu: #2F4D39;
  --soon: #F2E3C2;        /* the day before */
  --soon-ink: #2E2004;
  --soon-mu: #5B471B;
  --act: #C9341F;         /* the last two hours */
  /* Darko 26 Oct: the top yellow ("feels more state … legit"), the part under it dark; navy, as his copy guide's
     "navy at rest" and the app icon's blue */
  --hero-bg: #F2E3C2;
  --hero-ink: #0F2340;
  --hero-mu: rgba(15, 35, 64, .74);
  --navy: #10233F;
  --ok: #1E7A46;
  --ground: #F4F6F3;
  --ink: #0B2615;
  --muted: #4D5562;
  --label: #53675A;
  --chip: #F0F3F0;
  --line: rgba(11, 38, 21, .12);
  --err: #B3261E;
  --card-shadow: 0 0 0 1px rgba(11, 38, 21, .10), 0 10px 24px -10px rgba(11, 38, 21, .28);
  --font: 'Familjen Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --gutter: 20px;
  --slide: 276px;         /* one phone in the row (Darko 26 Oct: bigger "like it was initially", but not the whole screen) */
  --k: .7077;             /* the screen's scale: --slide / 390 (CSS can't divide two lengths) */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; }
a { color: var(--action); text-underline-offset: 2px; }
a:hover { color: var(--action-dark); }
:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3, p, figure { margin: 0; }
.nw { white-space: nowrap; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---- language switch */
.lang { display: flex; gap: 2px; }
.lang a { font-size: 14px; line-height: 18px; font-weight: 600; color: var(--hero-mu); text-decoration: none; padding: 7px 11px; border-radius: 999px; }
.lang a[aria-current] { background: rgba(15, 35, 64, .09); color: var(--hero-ink); }

/* ---- hero: centred, the icon big, one sentence, one field */
.hero { position: relative; background: var(--hero-bg); color: var(--hero-ink); padding: 14px var(--gutter) 34px; text-align: center; }
.hero > .lang { position: absolute; top: 14px; right: 14px; }
.hero-in { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.logo { width: 96px; height: 96px; margin-top: 34px; border-radius: 24px; } /* no shadow (Darko 26 Oct) */
.wordmark { margin-top: 14px; font-size: 22px; line-height: 1; font-weight: 700; letter-spacing: -.4px; }
h1 {
  margin-top: 26px;
  font-size: clamp(50px, 14.2vw, 104px);
  line-height: .96;
  font-weight: 600;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.lead { margin-top: 16px; max-width: 24em; font-size: 18px; line-height: 26px; font-weight: 500; color: var(--hero-mu); text-wrap: balance; }

/* ---- the sign-up: one pill */
.signup { width: 100%; max-width: 460px; margin-top: 26px; scroll-margin-top: 24px; }
.pill { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: var(--card-shadow); }
.pill:focus-within { box-shadow: 0 0 0 3px rgba(31, 90, 166, .28), var(--card-shadow); }
.pill:has(input[aria-invalid="true"]) { box-shadow: 0 0 0 2px var(--err), var(--card-shadow); }
.pill input {
  flex: 1 1 auto; min-width: 0; height: 50px; padding: 0 6px 0 16px; border: 0; background: transparent;
  font: 500 17px/1 var(--font); color: var(--ink);
}
.pill input:focus { outline: none; }
.pill input::placeholder { color: #7D8A81; }
.pill button {
  flex-shrink: 0; height: 50px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--action); color: #fff; font: 600 17px/1 var(--font); white-space: nowrap;
}
.pill button:hover { background: var(--action-dark); }
.pill button:disabled { opacity: .7; cursor: progress; }
.msg { margin-top: 10px; font-size: 15px; line-height: 20px; }
.msg:empty { display: none; }
.msg.err { color: var(--err); font-weight: 500; }
/* version 5 (Darko 26 Oct: "Skip the tabs and write … testa bilvakten för alla andra. That's enough.") */
.form-intro { font-size: 17px; line-height: 24px; font-weight: 600; color: var(--hero-ink); }
.consent { margin: 10px auto 0; max-width: 34em; font-size: 13px; line-height: 18px; color: var(--hero-mu); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 16px 18px; border-radius: 22px; background: #fff; box-shadow: var(--card-shadow); text-align: left; font-size: 17px; line-height: 23px; font-weight: 600; }

/* ---- "soon" store lines (not the official badges: docs/store-badges.md) */
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.stores.soon li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px 7px 9px; border-radius: 999px; border: 1.5px solid rgba(15, 35, 64, .18); font-size: 14px; line-height: 18px; font-weight: 600; color: var(--hero-mu); }
.stores.soon svg { width: 17px; height: 17px; }
.stores.live img { height: 48px; width: auto; }

/* ---- the swipe row: version 3's (Darko 26 Oct: "bring back the version 3, the horizontal thing"), the band takes the
   colour of the phone in the middle ("I like that they change color as you swipe") */
.scenes { --bg: var(--calm); --fg: var(--calm-ink); --tab: rgba(255, 255, 255, .55); --tab-on: #fff; --tab-on-fg: var(--ink);
  background: var(--bg); color: var(--fg); padding: 42px 0 38px; transition: background-color .45s ease, color .45s ease; }
.scenes[data-tone="calm"] { --bg: var(--calm); --fg: var(--calm-ink); }
.scenes[data-tone="soon"] { --bg: var(--soon); --fg: var(--soon-ink); }
.scenes[data-tone="act"] { --bg: var(--act); --fg: #fff; --tab: rgba(255, 255, 255, .16); --tab-on-fg: #8E1F10; }
.scenes[data-tone="pay"] { --bg: #DCE7F5; --fg: #0E2A4F; }
@media (prefers-reduced-motion: reduce) { .scenes { transition: none; } }
.scenes-head { max-width: 560px; margin: 0 auto 20px; padding: 0 var(--gutter); text-align: center; }
h2.scenes-head { font-size: clamp(32px, 9.4vw, 54px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--gutter) 2px; scrollbar-width: none; scroll-padding-inline: var(--gutter); }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex-shrink: 0; padding: 9px 15px; border-radius: 999px; background: var(--tab); color: var(--fg); font-size: 15px; line-height: 18px; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s; }
.tab:hover { color: var(--fg); }
.tab[aria-current="true"] { background: var(--tab-on); color: var(--tab-on-fg); box-shadow: 0 6px 16px -10px rgba(11, 38, 21, .5); }
.track {
  position: relative; display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 24px calc(50% - var(--slide) / 2) 6px;
}
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline-offset: -4px; }
.scene { flex: 0 0 var(--slide); scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; transition: opacity .35s ease, transform .35s ease; }
.js .scene:not(.is-active) { opacity: .45; transform: scale(.94); }
@media (prefers-reduced-motion: reduce) { .scene { transition: none; } }
.scene figcaption { margin-top: 20px; max-width: var(--slide); text-align: center; font-size: 17px; line-height: 24px; font-weight: 500; text-wrap: balance; }

/* ---- a phone: the screen is drawn at 390 x 844 (the designs' size) and scaled to --slide */
.phone-wrap { position: relative; width: var(--slide); }
.phone {
  width: var(--slide); height: calc(var(--slide) * 844 / 390); border-radius: calc(var(--slide) * 56 / 390);
  overflow: hidden; background: #fff;
  box-shadow: 0 0 0 calc(var(--slide) * 11 / 390) #0E1712, 0 0 0 calc(var(--slide) * 12.5 / 390) #3A443E, 0 36px 64px -26px rgba(11, 38, 21, .55);
}
.screen { position: relative; width: 390px; height: 844px; transform: scale(var(--k)); transform-origin: 0 0; font-family: var(--font); }

.app { color: var(--soon-ink); background: #fff; }
.p-band { position: absolute; inset: 0 0 auto; height: 416px; background: var(--soon); }
.app.calm { color: var(--calm-ink); }
.app.calm .p-band { background: var(--calm); }
.app.act { color: #fff; }
.app.act .p-band { background: var(--act); }
.sb { position: absolute; inset: 0 0 auto; height: 54px; padding: 0 30px 0 44px; display: flex; align-items: center; justify-content: space-between; font-size: 17px; font-weight: 600; z-index: 1; }
.island { position: absolute; top: 11px; left: 50%; width: 122px; height: 35px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.sb-i { display: inline-flex; gap: 6px; align-items: center; }
.hd { position: absolute; left: 24px; right: 24px; bottom: 512px; display: flex; flex-direction: column; text-align: left; }
.hd .pre { font-size: 20px; line-height: 26px; font-weight: 500; }
.hd .mid { font-size: 34px; line-height: 40px; font-weight: 600; margin-top: 2px; }
.hd .clk { font-size: 104px; line-height: 1; font-weight: 600; letter-spacing: -4px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.hd .cd { font-size: 64px; line-height: 66px; font-weight: 600; letter-spacing: -2px; margin-top: 4px; }
.hd .big1 { font-size: 36px; line-height: 41px; font-weight: 600; letter-spacing: -1px; }
.hd .sup { font-size: 17px; line-height: 23px; font-weight: 500; color: var(--soon-mu); margin-top: 12px; }
.hd .sup + .sup { margin-top: 2px; }
.app.calm .sup { color: var(--calm-mu); }
.app.calm .pre { color: var(--calm-mu); }
.app.soon .pre { color: var(--soon-mu); }
.app.act .sup { color: #FFE6E0; }
.car { position: absolute; left: 16px; right: 16px; top: 352px; height: 164px; display: flex; background: #fff; border-radius: 22px; box-shadow: var(--card-shadow); color: var(--ink); }
.cl { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 16px 10px 16px 16px; }
.pc { width: 36px; height: 36px; border-radius: 50%; background: #E3EFE6; color: var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ct { display: flex; flex-direction: column; gap: 12px; min-width: 0; text-align: left; }
.ct .lb { font-size: 14px; line-height: 19px; font-weight: 500; color: var(--label); }
.stn { font-size: 21px; line-height: 25px; font-weight: 600; letter-spacing: -.3px; }
.cr { width: 100px; flex-shrink: 0; border-left: 1px solid rgba(11, 38, 21, .10); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.cr img { width: 48px; height: 112px; }
.dl { display: inline-flex; align-items: center; gap: 1px; font-size: 14px; line-height: 18px; font-weight: 600; color: var(--action); }
.pm { position: absolute; left: 16px; top: 532px; display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--chip); color: var(--ink); font-size: 15px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.ck { width: 20px; height: 20px; border-radius: 50%; background: var(--ok); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.as { position: absolute; left: 0; right: 0; bottom: 186px; display: flex; justify-content: center; align-items: center; gap: 7px; font-size: 16px; line-height: 20px; font-weight: 500; color: var(--ink); }
.b1, .b2 { position: absolute; left: 24px; right: 24px; height: 56px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 600; }
.b2 { bottom: 110px; border: 1.5px solid var(--action); color: var(--action); background: #fff; }
.b1 { bottom: 42px; background: var(--action); color: #fff; }
.home { position: absolute; bottom: 9px; left: 50%; width: 136px; height: 5px; border-radius: 3px; background: #000; transform: translateX(-50%); }

/* a lock screen: the warning right under a smaller clock, so the eye lands on it (Darko 26 Oct) */
.lock { color: #fff; background: linear-gradient(170deg, #2F6CB9 0%, #1F5AA6 38%, #0F2F5E 100%); }
.lock .home { background: rgba(255, 255, 255, .85); }
.l-day { position: absolute; top: 84px; left: 0; right: 0; text-align: center; font-size: 21px; line-height: 26px; font-weight: 600; opacity: .9; }
.l-time { position: absolute; top: 110px; left: 0; right: 0; text-align: center; font-size: 84px; line-height: 1; font-weight: 600; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.lock .notif { position: absolute; left: 12px; right: 12px; top: 226px; padding: 16px 18px 17px 16px; }
.lock .notif img { width: 44px; height: 44px; border-radius: 10px; }
.lock .n-top { font-size: 16px; line-height: 20px; }
.lock .n-title { font-size: 21px; line-height: 26px; }
.lock .n-body { font-size: 19px; line-height: 25px; }

/* a notification */
.notif {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px 15px 14px; text-align: left;
  border-radius: 26px; background: #fff; color: #111;
  box-shadow: 0 0 0 1px rgba(11, 38, 21, .06), 0 18px 36px -14px rgba(11, 38, 21, .45);
}
.notif img { border-radius: 9px; flex-shrink: 0; }
.n-top { display: flex; justify-content: space-between; font-size: 15px; line-height: 19px; color: #6B6F75; }
.n-top b { font-weight: 600; color: #3A3D42; }
.n-title { margin-top: 2px; font-size: 18px; line-height: 23px; font-weight: 600; }
.n-body { margin-top: 2px; font-size: 17px; line-height: 22px; color: #2B2E33; text-wrap: pretty; }

/* ---- the sections (version 5): full width, the heading first, one picture under it, at most two short lines
   (Darko 26 Oct: "start with the heading"; "make it full width, not like boxed in"; a different picture in each) */
.feature { padding: 60px var(--gutter); background: #fff; }
.feature.flip { background: var(--ground); }
.f-in { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.f-words h2 { font-size: clamp(34px, 9.6vw, 60px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.f-words p { margin: 14px auto 0; max-width: 27em; font-size: 18px; line-height: 27px; color: #2A3038; text-wrap: pretty; }
.f-pic { display: flex; justify-content: center; width: 100%; }
.f-sign img { width: 168px; height: auto; margin: 0 auto; filter: drop-shadow(0 14px 18px rgba(11, 38, 21, .16)); }
.f-sign figcaption { margin-top: 14px; font-size: 13.5px; line-height: 18px; color: var(--muted); }
.cross-svg { display: block; width: 100%; max-width: 440px; height: auto; margin: 0 auto; border-radius: 24px; }
.f-zone { display: flex; align-items: center; justify-content: center; gap: 14px; }
.f-zone img { width: 92px; height: auto; }
.z-arrow { font-size: 34px; line-height: 1; color: var(--muted); }
.z-chip { display: flex; flex-direction: column; align-items: flex-start; padding: 18px 22px; border-radius: 22px; background: #fff; box-shadow: var(--card-shadow); text-align: left; }
.z-chip b { font-size: 34px; line-height: 38px; font-weight: 700; letter-spacing: -.5px; color: var(--ink); }
.z-chip span { font-size: 15px; line-height: 20px; color: var(--muted); }
.f-limit { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; }
.f-limit img { width: 84px; height: auto; }
.f-lock { width: 100%; max-width: 400px; padding: 14px 10px 10px; border-radius: 24px; background: linear-gradient(170deg, #2F6CB9 0%, #1F5AA6 45%, #0F2F5E 100%); }
.cl-time { margin-bottom: 8px; text-align: center; color: rgba(255, 255, 255, .86); font-size: 22px; line-height: 1; font-weight: 600; letter-spacing: -.3px; font-variant-numeric: tabular-nums; }
.f-lock .notif { border-radius: 20px; padding: 12px 14px 13px 12px; }
.f-lock .notif img { width: 36px; height: 36px; }
.f-lock .n-top { font-size: 13px; line-height: 17px; }
.f-lock .n-title { font-size: 16px; line-height: 21px; }
.f-lock .n-body { font-size: 15px; line-height: 20px; }

/* "Var kan jag stå?": full width and dark, a bigger phone (Darko 26 Oct: "Make it bigger, juicier … full width").
   The loop: the 09:30 warning on the lock screen, its buttons open, a tap on "Var kan jag stå?", the app's map and list
   slide up, a tap on the first street, the map picks it, back again. */
.feature.f-where { background: var(--navy); color: #fff; }
.f-where .f-words p { color: rgba(255, 255, 255, .86); }
.where-demo { --slide: 300px; --k: .7692; position: relative; width: var(--slide); }
.where-demo .phone { position: relative; box-shadow: 0 0 0 calc(var(--slide) * 11 / 390) #000, 0 0 0 calc(var(--slide) * 12.5 / 390) #3A443E, 0 40px 70px -30px rgba(0, 0, 0, .7); }
.where-demo .screen { position: absolute; top: 0; left: 0; }
.actions { position: absolute; left: 22px; right: 22px; top: 400px; overflow: hidden; border-radius: 18px; background: rgba(255, 255, 255, .95); color: #111; text-align: left; }
.actions p { padding: 16px 18px; border-top: 1px solid rgba(0, 0, 0, .08); font-size: 19px; line-height: 24px; font-weight: 500; }
.actions p:first-child { border-top: 0; color: var(--action); font-weight: 600; }
.where-demo .tap { position: absolute; z-index: 3; left: calc(195px * var(--k) - 28px); top: calc(428px * var(--k) - 28px); width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .55); border: 2px solid #fff; opacity: 0; }
.where-demo .tap2 { left: 167px; top: 496px; width: 56px; height: 56px; position: absolute; border-radius: 50%; background: rgba(31, 90, 166, .25); border: 2px solid var(--action); opacity: 0; }
.split { background: #EEF0EC; color: var(--calm-ink); }
.split-map { position: absolute; top: 0; left: 0; width: 390px; height: 400px; }
.split-map svg { display: block; }
.split .sb { color: var(--calm-ink); background: linear-gradient(rgba(238, 240, 236, .96) 55%, rgba(238, 240, 236, 0)); }
.split-list { position: absolute; top: 400px; left: 0; right: 0; bottom: 0; padding: 16px 12px 0; background: var(--calm); text-align: left; }
.wl-title { padding: 0 6px; font-size: 24px; line-height: 30px; font-weight: 600; }
.wl-sub { margin-top: 2px; padding: 0 6px; font-size: 14px; line-height: 19px; font-weight: 500; color: var(--calm-mu); }
.wl-rows { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.wl-rows li { display: flex; align-items: center; gap: 10px; padding: 6px 12px; border: 2px solid transparent; border-radius: 14px; background: rgba(255, 255, 255, .6); }
.wl-n { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: #239B4F; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.wl-txt { display: flex; flex-direction: column; min-width: 0; }
.wl-txt > span:first-child { font-size: 16px; line-height: 20px; }
.wl-rows b { font-weight: 600; }
.wl-side { font-size: 16px; line-height: 20px; font-weight: 500; color: var(--calm-mu); }
.wl-meta { font-size: 13.5px; line-height: 17px; font-weight: 500; color: var(--calm-mu); }
.js .where-demo:not(.play) .split { translate: 0 100%; }
.js .where-demo:not(.play) .actions { opacity: 0; }
.js .where-demo.play .actions { animation: menu 12s ease-out infinite; }
.js .where-demo.play .tap { animation: tap 12s ease-out infinite; }
.js .where-demo.play .split { animation: split 12s ease-in-out infinite; }
.js .where-demo.play .tap2 { animation: tap2 12s ease-out infinite; }
.js .where-demo.play .wl-rows li.first { animation: pick 12s ease-in-out infinite; }
.js .where-demo.play .where-map .k:not(.sel) { animation: dim 12s ease-in-out infinite; }
.js .where-demo.play .where-map .sel path { animation: selw 12s ease-in-out infinite; }
@keyframes menu { 0%, 7% { opacity: 0; transform: scale(.96); } 11%, 30% { opacity: 1; transform: scale(1); } 34%, 100% { opacity: 0; } }
@keyframes tap { 0%, 15% { opacity: 0; transform: scale(.4); } 19% { opacity: 1; transform: scale(1); } 25%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes split { 0%, 25% { translate: 0 100%; } 32%, 88% { translate: 0 0; } 95%, 100% { translate: 0 100%; } }
@keyframes tap2 { 0%, 44% { opacity: 0; transform: scale(.4); } 48% { opacity: 1; transform: scale(1); } 54%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes pick { 0%, 50% { border-color: transparent; background: rgba(255, 255, 255, .6); } 54%, 86% { border-color: var(--action); background: #fff; } 92%, 100% { border-color: transparent; background: rgba(255, 255, 255, .6); } }
@keyframes dim { 0%, 50% { opacity: 1; } 55%, 86% { opacity: .22; } 92%, 100% { opacity: 1; } }
@keyframes selw { 0%, 50% { stroke-width: 4.5; } 55%, 86% { stroke-width: 9; } 92%, 100% { stroke-width: 4.5; } }
/* WCAG 2.2.2: a loop longer than five seconds can be paused */
.demo-pause { position: absolute; z-index: 4; right: -12px; bottom: -12px; padding: 9px 15px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: 600 14px/1 var(--font); box-shadow: var(--card-shadow); cursor: pointer; }
.where-demo.paused * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .js .where-demo .split, .js .where-demo:not(.play) .split { translate: 0 0; animation: none; }
  .js .where-demo * { animation: none !important; }
  .where-demo .wl-rows li.first { border-color: var(--action); background: #fff; }
}
/* without the loop (no JavaScript, or reduced motion): the end state, the first street picked */
html:not(.js) .where-demo .wl-rows li.first { border-color: var(--action); background: #fff; }

/* ---- the end: the line from Darko's copy guide, one button, the calm line, two ticks */
.after { padding: 64px var(--gutter) 56px; background: var(--hero-bg); color: var(--hero-ink); display: flex; flex-direction: column; align-items: center; text-align: center; }
.after h2 { font-size: clamp(34px, 9.6vw, 60px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.cta { margin-top: 24px; display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 30px; border-radius: 999px; background: var(--action); color: #fff; font-size: 17px; font-weight: 600; text-decoration: none; }
.cta:hover { background: var(--action-dark); color: #fff; }
.calm { margin-top: 22px; font-size: 18px; line-height: 24px; font-weight: 600; }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--hero-mu); }

/* ---- footer */
.foot { margin-top: 0; padding-top: 26px; padding-bottom: 40px; font-size: 13.5px; line-height: 20px; color: var(--muted); display: grid; gap: 6px; text-align: center; }
.foot p a { margin: 0 7px; }
.foot .fp { max-width: 46em; margin-inline: auto; }
.foot .tm { font-size: 12px; line-height: 17px; max-width: 60em; margin-inline: auto; }

/* ---- privacy and thank-you pages */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 9px; }
.brand span { font-size: 21px; line-height: 1; font-weight: 700; letter-spacing: -.4px; }
.doc-band { background: var(--hero-bg); }
.doc { padding-top: 40px; padding-bottom: 24px; }
.doc > * { max-width: 760px; }
.doc h1 { margin-top: 0; font-size: clamp(34px, 4.4vw, 46px); line-height: 1.05; letter-spacing: -0.03em; }
.doc .ver { margin-top: 10px; color: var(--muted); font-size: 15px; }
.doc h2 { margin-top: 32px; font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -.2px; }
.doc p, .doc li { font-size: 17px; line-height: 26px; color: #2A3038; }
.doc h2 + p, .doc h2 + ul { margin-top: 8px; }
.doc p + p, .doc ul + p { margin-top: 10px; }
.doc ul { margin: 0; padding-left: 22px; }
.consent-quote { margin-top: 24px; padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: var(--card-shadow); }
.thanks { padding: 40px 0 24px; display: grid; gap: 14px; justify-items: start; }
.thanks .ck.big { width: 56px; height: 56px; }
.thanks .ck.big svg { width: 28px; height: 28px; }
.thanks p { max-width: 34em; }
.err-page { font-size: 20px; line-height: 28px; font-weight: 600; }
body.plain .foot { text-align: left; }
body.plain .foot .fp { margin-inline: 0; }
body.plain .foot p a { margin: 0 14px 0 0; }

/* ---- small phones */
@media (max-width: 359px) {
  :root { --gutter: 14px; --slide: 240px; --k: .6154; }
  .where-demo { --slide: 264px; --k: .6769; }
  .pill button { padding: 0 14px; }
}
/* ---- tablets and computers (version 2 is tuned for phones first; Darko 26 Oct) */
@media (min-width: 700px) {
  :root { --slide: 320px; --k: .8205; }
  .hero { padding-bottom: 46px; }
  .logo { width: 112px; height: 112px; border-radius: 28px; margin-top: 40px; }
  .lead { font-size: 20px; line-height: 29px; }
  .tabs { justify-content: center; }
  .scenes { padding: 34px 0 48px; }
}
/* ---- computers: the sections side by side, picture and words, alternating (Darko 26 Oct: "full width, not boxed") */
@media (min-width: 900px) {
  .feature { padding: 88px 40px; }
  .f-in { flex-direction: row; align-items: center; justify-content: space-between; gap: 72px; text-align: left; }
  .feature.flip .f-in { flex-direction: row-reverse; }
  .f-words { flex: 1 1 50%; }
  .f-words p { margin-left: 0; margin-right: 0; font-size: 20px; line-height: 30px; }
  .f-pic { flex: 1 1 50%; }
  .f-sign img { width: 220px; }
  .where-demo { --slide: 340px; --k: .8718; }
  .after { padding: 96px 40px 80px; }
}
