/* Last Call Charging: the home page and the station page.
   Colours are the Calm tokens from css/tokens.css, plus one navy for the owner block.
   Type is Manrope, hosted here (assets/fonts, SIL Open Font License: OFL-Manrope.txt).
   Backgrounds: the hero is light grey, the owner form block is navy, and every
   other section is plain white, separated by spacing. */

/* Manrope is one variable file per alphabet, covering weights 400 to 800. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #FFFFFF;
  --surface: #F4F6FA;
  --ink: #0E0F13;
  --muted: #4A5160;
  --line: #E3E7EF;
  --field-line: #8A92A3;   /* field borders: 3.2:1 on white */
  --accent: #00A8FF;       /* B9: fills only, always with --ink text */
  --accent-hover: #1FB4FF;
  --accent-text: #006FAB;  /* deep B9: blue text, links, focus */
  --hero-bg: #F4F5F7;      /* light grey first slide. On it: ink 17.5:1, muted 7.2:1, deep B9 4.9:1 */
  --tint: #E6F5FF;         /* pale B9: founding band */
  --navy: #0B1B33;         /* owner block. White on it is 17:1, B9 on it is 6.5:1 */
  --navy-line: #2C3F5E;
  --on-navy-muted: #C5D0E0;
  --danger: #B3261E;
  --tile: #D3D4D6;         /* matches the studio grey of the renders while they load */

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --gutter: clamp(1rem, -0.31rem + 5.4vw, 3rem);   /* 16 px at 390, 48 px from about 980 */
  --w-page: 75rem;
  --r: 0.75rem;            /* 12 px */
  --r-sm: 0.5rem;
  --r-lg: 1.5rem;
  --bar-h: 2.25rem;        /* announcement bar */
  --header-h: 4rem;
  --pad: clamp(3rem, 1.9rem + 4.4vw, 5.5rem);      /* section top and bottom: 48 to 88 px */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent-text); text-underline-offset: 0.2em; }
button, input { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: calc(var(--w-page) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 20;
  padding: 0.5rem 0.875rem; background: var(--ink); color: #fff; border-radius: var(--r-sm);
  font-size: 0.875rem; text-decoration: none;
}
.skip:focus { top: 0.5rem; }

.muted { color: var(--muted); }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-text);
  letter-spacing: 0.01em;
}
.eyebrow--onnavy { color: #7CCBFF; }
.eyebrow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.625rem; }

/* Section titles: big and confident. 36 px on a phone, 64 px on a laptop. */
.h2 {
  margin-top: 0.625rem;
  font-size: clamp(2.25rem, 1.25rem + 4.1vw, 4rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.04em;
  text-wrap: balance;
}
.h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.lead { margin-top: 1.125rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--muted); max-width: 34rem; }

.chip {
  display: inline-flex; align-items: center; flex: none;
  padding: 0.25rem 0.625rem; border-radius: 62rem;
  background: var(--accent); color: var(--ink);
  font-size: 0.75rem; font-weight: 700; line-height: 1.3; white-space: nowrap;
}
.chip--quiet { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }

/* ---------- Announcement bar ---------- */
.announce {
  min-height: var(--bar-h);
  display: flex; align-items: center; justify-content: center;
  padding: 0.375rem var(--gutter);
  background: var(--accent);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .header { background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(1.4) blur(10px); }
}
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.header__nav { display: flex; align-items: center; gap: 1.75rem; }
.header__link {
  display: none;
  font-size: 0.9375rem; font-weight: 600; color: var(--ink); text-decoration: none;
  padding: 0.5rem 0;
}
.header__link:hover { color: var(--accent-text); }
@media (min-width: 720px) { .header__link { display: inline-block; } .header__link--wide { display: none; } }
@media (min-width: 1000px) { .header__link--wide { display: inline-block; } }

/* Lockup: the site's mark with the wordmark reset in Manrope. */
.lockup {
  display: inline-flex; align-items: center; gap: 0.625rem;
  color: var(--ink); text-decoration: none;
}
.lockup__mark { flex: none; width: 2.25rem; height: 2.25rem; }
.lockup__text { display: inline-flex; flex-direction: column; gap: 0.1875rem; }
.lockup__name { font-size: 1.1875rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.lockup__sub {
  display: flex; justify-content: space-between; padding-inline: 0.0625rem;
  font-size: 0.6875rem; font-weight: 700; line-height: 1; text-transform: lowercase; color: var(--accent-text); /* subheading all lowercase */
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.75rem 1.5rem;
  border: 1.5px solid transparent; border-radius: var(--r);
  background: var(--accent); color: var(--ink);
  font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), transform 120ms var(--ease);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.875rem; border-radius: 0.625rem; }
.btn--lg { min-height: 3.5rem; padding: 0.875rem 1.75rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--ghost { background: #fff; border-color: var(--field-line); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #262A33; }

/* ---------- Home: slides ---------- */
.slide { padding-block: var(--pad); }
/* No hairlines between sections: white space does the separating. */

/* No scroll snapping: the page scrolls freely. */

/* ---------- 1. Hero ----------
   Light grey. Phone: text, then a compact collage. Laptop: text on the left, collage on the right.
   The hero is exactly as tall as the first screen minus --peek, with the "Built for" strip pinned
   to its bottom edge, so only a sliver of the next section's top padding shows as a scroll hook. */
.hero {
  --peek: 6.875rem;                      /* how much of the next section shows on the first screen */
  background: var(--hero-bg); overflow: hidden; overflow: clip;
  display: flex; flex-direction: column;
  min-height: calc(100vh - var(--bar-h) - var(--header-h) - var(--peek));
  min-height: min(calc(100svh - var(--bar-h) - var(--header-h) - var(--peek)), 58rem);
}
.hero__inner {
  flex: 1 0 auto;
  padding-top: clamp(1.75rem, 0.9rem + 3.6vw, 3rem);
  padding-bottom: 1rem;
  display: flex; flex-direction: column;
}
.hero__text { min-width: 0; max-width: 100%; display: flex; flex-direction: column; align-items: flex-start; }
.hero h1 {
  margin-top: 0.625rem;
  font-size: min(13.2vw, 5.25rem);      /* two lines; 51 px at 390 */
  font-weight: 800; line-height: 0.98; letter-spacing: -0.05em;
}
.hero h1 .line { display: block; white-space: nowrap; }
.hl { color: var(--accent-text); }
.hero__lead { margin-top: 0.875rem; font-size: clamp(1rem, 0.92rem + 0.36vw, 1.1875rem); line-height: 1.5; color: var(--muted); max-width: 31rem; }
.hero__actions { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.checks { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.375rem 1.375rem; font-size: 0.9375rem; font-weight: 600; }
.checks li { display: inline-flex; align-items: center; gap: 0.4375rem; }
.checks svg { flex: none; width: 1.125rem; height: 1.125rem; color: var(--accent-text); }
@media (max-width: 479px) {
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; min-height: 3.25rem; padding-inline: 1rem; font-size: 1rem; }
  .checks { font-size: 0.875rem; column-gap: 1rem; }
}
@media (min-width: 1024px) {
  /* Two columns. The headline is two big lines: 97 px at 1280, 104 px at most. */
  .hero__inner {
    display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr); align-items: center;
    column-gap: clamp(1.5rem, 3.75vw, 3.5rem);
    padding-top: clamp(2rem, 6vh, 4rem); padding-bottom: clamp(1.5rem, 4vh, 3rem);
  }
  .hero h1 { margin-top: 0.875rem; font-size: clamp(4.5rem, 7.6vw, 6.5rem); line-height: 0.96; }
  .hero__lead { margin-top: 1.375rem; }
  .hero__actions { margin-top: 1.75rem; }
  .checks { margin-top: 1.25rem; }
}

/* ---------- Photo collage ----------
   Rounded tiles in two staggered columns that overlap a little, plus the floating bolt.
   One <li class="tile"> per picture; the position in the list sets the place and size
   (percentages of the collage box), so swapping a picture never changes the layout.
   No borders and no captions. */
.collage {
  position: relative; flex: none;
  width: 100%; max-width: 26rem; margin: 1.5rem auto 0;
  aspect-ratio: 358 / 232;               /* compact on a phone */
}
.collage__list { position: absolute; inset: 0; }
.tile {
  position: absolute; overflow: hidden;
  border-radius: clamp(0.875rem, 0.6rem + 1.1vw, 1.5rem);
  background: #1B1210;
  box-shadow: 0 1px 2px rgba(11, 27, 51, 0.10), 0 14px 30px rgba(11, 27, 51, 0.16);
  /* --s runs 0 to 1 as the hero scrolls away (set by the script): each tile drifts its own way. */
  transform: translate3d(0, calc(var(--s, 0) * var(--dy, 0px)), 0);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
@media (hover: hover) {
  .tile:hover { transform: translate3d(0, calc(var(--s, 0) * var(--dy, 0px) - 6px), 0); box-shadow: 0 2px 4px rgba(11, 27, 51, 0.12), 0 22px 40px rgba(11, 27, 51, 0.22); }
}
.tile__img { width: 100%; height: 100%; object-fit: cover; }          /* a real photo fills its tile */

/* Phone: three tiles (1 station, 3 guests, 4 guests) */
.tile:nth-child(1) { left: 0;     top: 0;     width: 39%;   height: 100%;  z-index: 3; --dy: -10px; }
.tile:nth-child(4) { left: 35.5%; top: 7%;    width: 64.5%; height: 56%;   z-index: 2; --dy: -22px; }
.tile:nth-child(3) { left: 43%;   top: 57%;   width: 41%;   height: 43%;   z-index: 4; --dy: 8px; }
.tile:nth-child(2), .tile:nth-child(5) { display: none; }
.collage__bolt {
  position: absolute; z-index: 5; right: 1%; bottom: 1%; width: 10.5%; height: auto; overflow: visible;
  transform: rotate(12deg) translate3d(0, calc(var(--s, 0) * -30px), 0);
  filter: drop-shadow(0 6px 10px rgba(0, 111, 171, 0.35));
}

@media (min-width: 600px) {
  .collage { max-width: 34rem; }
}
@media (min-width: 1024px) {
  /* Laptop: all five tiles, two staggered columns */
  .collage { max-width: none; margin: 0; aspect-ratio: 470 / 540; max-height: calc(100vh - 22.5rem); justify-self: end; }
  .tile:nth-child(1) { left: 0;    top: 0;    width: 51%; height: 50%; z-index: 3; --dy: -14px; }
  .tile:nth-child(2) { display: block; left: 46%; top: 9%;  width: 37%; height: 30%; z-index: 2; --dy: -34px; }
  .tile:nth-child(3) { left: 3%;   top: 54%;  width: 43%; height: 42%; z-index: 2; --dy: 10px; }
  .tile:nth-child(4) { left: 50%;  top: 43%;  width: 50%; height: 37%; z-index: 2; --dy: -24px; }
  .tile:nth-child(5) { display: block; left: 58%; top: 67%; width: 36%; height: 33%; z-index: 4; --dy: -6px; }
  .collage__bolt { right: 1%; top: 11%; bottom: auto; width: 13%; }
}

/* Station tiles: the render on a clean panel. */
.tile--device { background: linear-gradient(160deg, #FFFFFF 0%, #EAF6FF 60%, #CFEBFF 100%); }
.tile--device::before {                  /* soft B9 glow under the station */
  content: ""; position: absolute; left: 8%; right: 8%; bottom: 3%; height: 22%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 168, 255, 0.30), rgba(0, 168, 255, 0));
}
.tile__station {
  position: absolute; left: 50%; top: 50%; width: auto; height: auto; max-width: 84%; max-height: 82%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 10px 14px rgba(11, 27, 51, 0.22));
}
.tile--navy { background: radial-gradient(120% 100% at 50% 100%, #14407A 0%, #0B1B33 62%); }
.tile--navy::before { height: 34%; background: radial-gradient(50% 50% at 50% 50%, rgba(0, 168, 255, 0.55), rgba(0, 168, 255, 0)); }
.tile--navy .tile__station { filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.45)); }

/* GUEST PHOTO PLACEHOLDERS: soft, dim, bar-toned panels. No picture, no faces.
   Delete this block (down to "END GUEST PHOTO PLACEHOLDERS") once every guest tile holds a real photo. */
.tile--ph::before {                      /* a few soft, out-of-focus lights */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 22% 26%, rgba(255, 205, 150, 0.30), rgba(255, 205, 150, 0) 16%),
    radial-gradient(circle at 74% 18%, rgba(255, 180, 110, 0.24), rgba(255, 180, 110, 0) 13%),
    radial-gradient(circle at 58% 44%, rgba(255, 215, 170, 0.14), rgba(255, 215, 170, 0) 11%);
}
.tile--ph::after {                       /* soft vignette */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 50% 35%, rgba(0, 0, 0, 0) 40%, rgba(8, 4, 3, 0.5) 100%);
}
.tile--ph-1 { background: linear-gradient(155deg, #6B4A3A 0%, #3B2620 55%, #1E1413 100%); }   /* warm amber room */
.tile--ph-2 { background: linear-gradient(200deg, #5A4046 0%, #33232C 55%, #19121A 100%); }   /* dim plum corner */
.tile--ph-3 { background: linear-gradient(140deg, #7A5638 0%, #46301F 50%, #21160F 100%); }   /* candle-lit wood */
.tile__label {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: max-content; max-width: 86%; padding: 0.3125rem 0.625rem; border-radius: 62rem;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28);
  color: #F3E9E1; font-size: 0.6875rem; font-weight: 600; line-height: 1.25; text-align: center; text-wrap: balance;
}
@media (min-width: 1024px) {
  .tile__label { font-size: 0.75rem; }
  .tile:nth-child(2) .tile__label { left: 56%; max-width: 72%; }   /* clear of the station tile that overlaps its left edge */
  .tile:nth-child(4) .tile__label { top: 34%; }                    /* clear of the station tile that overlaps its bottom */
}
/* END GUEST PHOTO PLACEHOLDERS */

/* Scrolling strip: white, pinned to the bottom edge of the grey hero */
.strip {
  flex: none;
  background: #fff; border-block: 1px solid var(--line);
  padding: 0.75rem var(--gutter);
  display: flex; flex-direction: column; align-items: center; gap: 0.375rem;
}
.strip--run { flex-direction: row; gap: 0.875rem; }
.strip--run > .marquee { flex: 1; }
.strip__label { flex: none; font-size: 0.8125rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.marquee { min-width: 0; max-width: 100%; }
.marquee__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.375rem 2rem; }
.marquee__list li { font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3125rem); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.marquee__list img { height: 1.75rem; width: auto; }
/* Moving version: switched on by the script, and only when motion is welcome. */
.marquee.is-running {
  overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee.is-running .marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-t, 40s) linear infinite; }
.marquee.is-running .marquee__list { flex-wrap: nowrap; justify-content: flex-start; gap: 0; }
.marquee.is-running .marquee__list li { padding-inline: clamp(1rem, 2vw, 1.75rem); }
.marquee.is-running:hover .marquee__track,
.marquee.is-running:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-1 * var(--marquee-w, 50%))); } }
@media (min-width: 900px) {
  .strip { flex-direction: row; gap: 1.5rem; padding-block: 0.6875rem; }
  .strip > .marquee { flex: 1; }
}

/* ---------- Section order ----------
   One order only: hero, problem + Tap / Grab / Charge, Our products, host-free band, map, form. */
main:not(.pdp) > * { min-width: 0; }
/* The section after the hero starts with a smaller top padding. Only the first --peek of it shows on the first screen. */
#solve { padding-top: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); }   /* the top half of "Dead phones" shows on the first screen */
#solve .h2 { margin-top: 0; }   /* no small label above it */

/* ---------- Statistics ---------- */
.stat { margin-top: 1.75rem; padding-left: 1.125rem; border-left: 4px solid var(--accent); max-width: 34rem; }
.stat__text { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); font-weight: 600; line-height: 1.4; }
.stat__figure {
  display: block; margin-bottom: 0.25rem;
  font-size: clamp(3rem, 2.3rem + 3vw, 4.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em;
  color: var(--accent-text); font-variant-numeric: tabular-nums;
}
.stat__source { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--muted); }   /* plain text, not a link */

/* ---------- 2. Problem and answer in one section. No step numbers. ---------- */
.h2 .keep { display: block; }
@media (min-width: 480px) { .h2 .keep { white-space: nowrap; } }
.solve__grid { display: grid; gap: 1.75rem; }
.mini { margin-top: 1.5rem; display: grid; gap: 0.875rem; max-width: 34rem; }
.mini li { padding-left: 0.875rem; border-left: 3px solid var(--accent); }
.mini p { color: var(--muted); }
.mini b { color: var(--ink); font-weight: 800; }
.solve__answer {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.25rem, 0.8rem + 2vw, 2rem);
  box-shadow: 0 14px 30px rgba(11, 27, 51, 0.07);
}
.solve__title { font-size: clamp(1.75rem, 1.35rem + 1.7vw, 2.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.04em; }
.solve__title .keep { display: block; color: var(--accent-text); }
@media (min-width: 400px) { .solve__title .keep { white-space: nowrap; } }
.solve__steps { margin-top: 1.25rem; display: grid; }
.solve__steps li { padding: 0.875rem 0; border-top: 1px solid var(--line); }
.solve__steps b { display: block; font-size: 1.375rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.03em; }
.solve__steps p { margin-top: 0.125rem; color: var(--muted); }
.solve__note { padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 700; }
.solve__stats { margin-top: clamp(1.75rem, 1rem + 3vw, 2.75rem); display: grid; gap: 1.5rem; }
.solve__stats .stat { margin-top: 0; }
@media (min-width: 900px) {
  .solve__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
  .solve__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 5rem); }
}

/* ---------- Founding band (compact, removable) ---------- */
.founding { background: var(--tint); padding-block: clamp(1.75rem, 1.25rem + 2vw, 2.5rem); }
.founding__inner { display: grid; gap: 1.25rem; align-items: center; }
.founding__title { font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; }
.founding__lede p { margin-top: 0.25rem; color: var(--muted); }
.founding__facts { display: grid; gap: 0.75rem; }
.founding__facts li { display: grid; gap: 0.0625rem; padding-left: 0.875rem; border-left: 3px solid var(--accent); }
.founding__facts b { font-weight: 800; line-height: 1.3; }
.founding__facts span { font-size: 0.875rem; line-height: 1.4; color: var(--muted); }
.founding .btn { justify-self: start; }
.founding__removal { font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
@media (min-width: 640px) { .founding__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1100px) {
  .founding__inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 2.5rem; }
  .founding__lede { max-width: 17rem; }
  .founding__removal { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid var(--line); }
}

/* ---------- 5. Our products (from the owner's sketch) ---------- */
.products { text-align: center; }
.products__title {
  margin-top: 0;
  padding-bottom: clamp(1rem, 2.4vw, 1.5rem);
  border-bottom: 1px solid var(--line);
}
.products__list { display: flex; justify-content: center; margin-top: clamp(1.5rem, 3.4vw, 2.5rem); }
.products__list > li { width: min(100%, 26rem); }
.card {
  display: block; width: 100%;
  color: var(--ink); text-decoration: none; text-align: left;
  border-radius: var(--r);
}
.card:focus-visible { outline-offset: 6px; border-radius: var(--r); }
.card__media { border-radius: var(--r); overflow: hidden; background: var(--tile); aspect-ratio: 1; }
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: filter 200ms var(--ease);
}
/* Only the product image darkens. */
.card:hover .card__media img,
.card:focus-visible .card__media img { filter: brightness(0.9); }
.card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 0.875rem; }
.card__name { font-size: 1.125rem; font-weight: 700; }
.card__price { font-size: 1.125rem; color: var(--muted); }
.card:hover .card__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
@media (min-width: 900px) and (min-height: 640px) {
  /* Keep the whole card on one screen. */
  .products__list > li { width: min(26rem, 100svh - 23rem); min-width: 17rem; }
}

/* ---------- 6. Where we are ---------- */
.where__grid { display: grid; gap: 2rem; align-items: center; }
.locations { margin-block: 1.5rem; display: grid; gap: 0.5rem; max-width: 30rem; }
.locations li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.875rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.locations li b { font-weight: 700; }
.locations li span { color: var(--muted); font-size: 0.9375rem; }
.locations .locations__empty { border-style: dashed; border-color: var(--field-line); color: var(--muted); font-weight: 500; }
.map { justify-self: center; width: min(100%, 17rem); }
.map svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 12px 18px rgba(11, 27, 51, 0.12)); }
.map figcaption { margin-top: 0.75rem; text-align: center; font-size: 0.8125rem; color: var(--muted); }
@media (min-width: 900px) {
  .where__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2.5rem, 5vw, 5rem); }
  .map { width: min(100%, 16.5rem, (100svh - 16rem) * 0.61); min-width: 13rem; }
}

/* ---------- Owner block: navy, form on a white card, contact buttons ---------- */
.install { background: var(--navy); color: #fff; padding-block: var(--pad); }
.install :focus-visible { outline-color: #fff; }
.install__grid { display: grid; gap: 2rem; align-items: center; }
.install .h2 { color: #fff; }
.install__lead { margin-top: 1.125rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--on-navy-muted); max-width: 30rem; }
.reach { margin-top: 1.75rem; display: grid; gap: 0.75rem; max-width: 22rem; }
.reach__btn {
  display: flex; align-items: center; gap: 0.75rem;
  min-height: 3.5rem; padding: 0.75rem 1.25rem;
  border: 1.5px solid transparent; border-radius: var(--r);
  font-size: 1.0625rem; font-weight: 700; line-height: 1.2; text-decoration: none;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), transform 120ms var(--ease);
}
.reach__btn svg { flex: none; width: 1.375rem; height: 1.375rem; }
.reach__btn span { min-width: 0; overflow-wrap: anywhere; }
.reach__btn:active { transform: translateY(1px); }
.reach__btn--accent { background: var(--accent); color: var(--ink); }
.reach__btn--accent:hover { background: var(--accent-hover); }
.reach__btn--white { background: #fff; color: var(--ink); }
.reach__btn--white:hover { background: #E9EEF6; }
.reach__btn--line { background: transparent; color: #fff; border-color: #6F86AD; }
.reach__btn--line:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }
.reach__note { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--on-navy-muted); }
@media (min-width: 900px) {
  .install__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: clamp(2.5rem, 6vw, 6rem); }
}

.form { display: grid; gap: 1.125rem; }
.form--card {
  background: #fff; color: var(--ink); border-radius: var(--r-lg);
  padding: clamp(1.25rem, 0.8rem + 2vw, 2rem);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}
.form--card :focus-visible { outline-color: var(--accent-text); }
.form__title { font-size: 1.375rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.025em; }
.form__pair { display: grid; gap: 1.125rem; }
@media (min-width: 560px) { .form__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } }
.field { display: grid; gap: 0.375rem; }
.field__label { font-size: 0.875rem; font-weight: 700; }
.field__opt { font-weight: 400; color: var(--muted); }
.field__input {
  width: 100%; min-height: 3rem; padding: 0.625rem 0.875rem;
  background: #fff; border: 1px solid var(--field-line); border-radius: var(--r);
  font-size: 1rem; line-height: 1.4;
  transition: border-color 140ms var(--ease);
}
.field__input:hover { border-color: var(--muted); }
.field__input:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 1px; border-color: var(--accent-text); border-radius: var(--r); }
.field__input[aria-invalid="true"] { border-color: var(--danger); }
.field__error { font-size: 0.8125rem; font-weight: 600; color: var(--danger); }
.form__note { font-size: 0.875rem; color: var(--muted); text-align: center; }
.form__status {
  padding: 0.875rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  font-size: 0.875rem; font-weight: 600;
}

/* After the form is sent: call as soon as you can, or pick a time */
.form [hidden] { display: none !important; }
.after { display: grid; gap: 1rem; }
.after .form__title:focus-visible { outline-offset: 4px; }
.after__proto { margin-top: -0.5rem; font-size: 0.8125rem; color: var(--muted); }
.after__choices { display: grid; gap: 0.625rem; }
.cal { display: grid; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.cal__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.cal__legend { padding: 0; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 700; }
.cal__chips { display: grid; gap: 0.375rem; }
.cal__chips--day { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal__chips--time { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 480px) { .cal__chips--time { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.chipbtn { position: relative; display: block; cursor: pointer; }
.chipbtn input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chipbtn__face {
  display: grid; place-items: center; min-height: 2.75rem; padding: 0.25rem 0.125rem;
  border: 1px solid var(--field-line); border-radius: var(--r-sm); background: #fff;
  font-size: 0.875rem; font-weight: 700; line-height: 1.15; text-align: center; font-variant-numeric: tabular-nums;
  transition: background-color 140ms var(--ease), border-color 140ms var(--ease);
}
.chipbtn__face small { display: block; font-size: 0.6875rem; font-weight: 600; color: var(--muted); }
.cal__chips--day .chipbtn__face { min-height: 3.25rem; font-size: 1.0625rem; }
.chipbtn:hover .chipbtn__face { border-color: var(--ink); }
.chipbtn input:checked + .chipbtn__face { background: var(--accent); border-color: var(--ink); color: var(--ink); }
.chipbtn input:checked + .chipbtn__face small { color: var(--ink); }
.chipbtn input:focus-visible + .chipbtn__face { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.after__done { display: grid; gap: 0.5rem; padding: 1rem 1.125rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.after__msg { font-size: 1.0625rem; font-weight: 700; line-height: 1.4; }
.after__plan { font-size: 0.8125rem; color: var(--muted); }

.footer { padding-block: 1.25rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer__legal { font-size: 0.8125rem; color: var(--muted); }

/* ---------- Product page ---------- */
.pdp { padding-block: clamp(1.25rem, 3vw, 2.5rem) clamp(2.5rem, 5vw, 4.5rem); }
.pdp__grid { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .pdp__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
  .pdp__info { position: sticky; top: calc(var(--header-h) + 2rem); padding-top: 0.5rem; }
}

/* Media */
.media__stage {
  position: relative; border-radius: var(--r); overflow: hidden; background: var(--tile); aspect-ratio: 1;
}
.media__stage img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.media__stage.is-spin { cursor: grab; touch-action: pan-y; }
.media__stage.is-spin.is-dragging { cursor: grabbing; }
.media__stage:focus-visible { outline-offset: 3px; border-radius: var(--r); }
.spin-ui { position: absolute; inset: auto 0 0 0; display: flex; align-items: center; justify-content: space-between; padding: 0.75rem; pointer-events: none; }
.spin-ui[hidden] { display: none; }
.spin-ui__hint {
  padding: 0.375rem 0.75rem; border-radius: 62rem; background: rgba(255, 255, 255, 0.88);
  font-size: 0.75rem; font-weight: 600; color: var(--ink);
}
.spin-ui__btn {
  pointer-events: auto;
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.88); color: var(--ink); cursor: pointer;
  transition: background-color 140ms var(--ease);
}
.spin-ui__btn:hover { background: #fff; }
.spin-ui__btn svg { width: 1.125rem; height: 1.125rem; }

.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.5rem; margin-top: 0.5rem; }
@media (min-width: 900px) { .thumbs { gap: 0.75rem; margin-top: 0.75rem; } }
.thumb {
  position: relative; padding: 0; border: 0; background: var(--tile); cursor: pointer;
  border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: filter 160ms var(--ease); }
.thumb:hover img { filter: brightness(0.93); }
.thumb::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 1.5px solid transparent; transition: border-color 140ms var(--ease);
}
.thumb[aria-pressed="true"]::after { border-color: var(--ink); }
.thumb__tag {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(14, 15, 19, 0.5); color: #fff; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.01em;
}

/* Info */
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.8125rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--field-line); }
.pdp__title {
  margin-top: 1rem;
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);  /* 32 to 52 px */
  font-weight: 800; line-height: 1.04; letter-spacing: -0.04em;
}
.pdp__price { margin-top: 0.75rem; font-size: 1.25rem; font-weight: 800; letter-spacing: 0.04em; color: var(--accent-text); }
.pdp__lead { margin-top: 1rem; color: var(--muted); font-size: 1.125rem; max-width: 28rem; }
.pdp__buy { margin-top: 1.75rem; }
.pdp__limited { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--muted); text-align: center; }
.trust {
  margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1rem;
  font-size: 0.9375rem; font-weight: 600;
}
.trust li { display: flex; align-items: center; gap: 0.5rem; }
.trust svg { flex: none; width: 1rem; height: 1rem; color: var(--accent-text); }

/* Details */
.details { margin-top: clamp(2.5rem, 5vw, 4.5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); display: grid; gap: 1.5rem; }
.details__title { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.04em; }
@media (min-width: 900px) {
  .details { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(2.5rem, 5vw, 5rem); }
}
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__item > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; font-size: 1.0625rem; font-weight: 700;
}
.acc__item > summary::-webkit-details-marker { display: none; }
.acc__item > summary:hover { color: var(--accent-text); }
.acc__icon { position: relative; flex: none; width: 0.875rem; height: 0.875rem; }
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; margin-top: -0.75px; background: currentColor;
  transition: transform 200ms var(--ease);
}
.acc__icon::after { transform: rotate(90deg); }
.acc__item[open] .acc__icon::after { transform: rotate(0deg); }
.acc__body { padding: 0 0 1.5rem; color: var(--muted); max-width: 38rem; }
.acc__body p + p, .acc__body ol + p { margin-top: 0.75rem; }
.specs { display: grid; grid-template-columns: minmax(7rem, auto) 1fr; gap: 0.5rem 1.5rem; }
.specs dt { color: var(--muted); }
.specs dd { color: var(--ink); font-weight: 600; }
.steps { counter-reset: step; display: grid; gap: 0.5rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 1.5rem 1fr; }
.steps li::before { content: counter(step); color: var(--ink); font-weight: 700; }
.renders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1rem; max-width: 32rem; }
.renders figure { display: grid; gap: 0.375rem; }
.renders img { border-radius: var(--r-sm); background: var(--tile); aspect-ratio: 1; width: 100%; object-fit: cover; }
.renders figcaption { font-size: 0.8125rem; }

/* ---------- Motion ----------
   Everything below is extra. With no script, or with reduced motion, the page shows its final state. */

/* Scroll reveals: the script adds .js-motion to <html> only when motion is welcome. */
.js-motion [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 520ms var(--ease), transform 520ms var(--ease); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }
.js-motion [data-stagger] > * { opacity: 0; transform: translateY(12px); transition: opacity 460ms var(--ease), transform 460ms var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js-motion [data-stagger].is-in > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  /* Hero: a short rise on load, in CSS so it needs no script. */
  .hero__text > * { animation: rise 560ms var(--ease) both; }
  .hero__text > :nth-child(2) { animation-delay: 60ms; }
  .hero__text > :nth-child(3) { animation-delay: 120ms; }
  .hero__text > :nth-child(4) { animation-delay: 180ms; }
  .hero__text > :nth-child(5) { animation-delay: 240ms; }

  /* Collage: the tiles land one after another, then the bolt drops in. */
  .tile { animation: land 680ms var(--ease) both; }
  .tile:nth-child(1) { animation-delay: 160ms; }
  .tile:nth-child(2) { animation-delay: 260ms; }
  .tile:nth-child(3) { animation-delay: 340ms; }
  .tile:nth-child(4) { animation-delay: 420ms; }
  .tile:nth-child(5) { animation-delay: 520ms; }
  .collage__bolt { animation: bolt 520ms var(--ease) 700ms both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes land { from { opacity: 0; transform: translateY(22px) scale(0.96); } }
@keyframes bolt { from { opacity: 0; transform: rotate(-8deg) translateY(-14px) scale(0.7); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Problem + steps ---------- */
#solve .h2 { max-width: none; }
.solve__row { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
.solve__row .lead { margin-top: 0; }
.solve__row .mini { margin-top: 0; }
.how { margin-top: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); display: grid; gap: 1.75rem; }
.how li { display: grid; justify-items: start; align-content: start; gap: 0.25rem; }
.how__icon {
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin-bottom: 0.75rem;
  background: var(--accent); border-radius: 1rem;
  box-shadow: 0 8px 18px rgba(0, 168, 255, 0.28);
}
.how__icon--round { border-radius: 50%; }
.how__icon svg { width: 1.75rem; height: 1.75rem; }
.how b { font-size: 1.375rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.03em; }
.how p { color: var(--muted); max-width: 22rem; }
.how__note { margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 700; }
@media (min-width: 720px) { .how { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); } }
@media (min-width: 900px) {
  .solve__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
}
/* Phones: icon on the left, words on the right, so the three steps stay short. */
@media (max-width: 719px) {
  .how { gap: 1.25rem; }
  .how li { grid-template-columns: 3.25rem minmax(0, 1fr); column-gap: 1rem; row-gap: 0.125rem; }
  .how__icon { grid-row: span 2; width: 3.25rem; height: 3.25rem; margin-bottom: 0; }
  .how__icon svg { width: 1.625rem; height: 1.625rem; }
  .how b { font-size: 1.1875rem; }
}
/* Outlined rounded boxes around each step. */
.how li {
  background: #fff; border: 1px solid var(--line); border-radius: 1.25rem;
  padding: clamp(1.125rem, 0.8rem + 1.2vw, 1.75rem);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.how li:hover { border-color: #BFE6FF; box-shadow: 0 10px 24px rgba(11, 27, 51, 0.06); transform: translateY(-2px); }
@media (min-width: 720px) { .how { gap: clamp(1rem, 2vw, 1.5rem); } }
@media (max-width: 719px) { .how { gap: 0.75rem; } }
@media (prefers-reduced-motion: reduce) { .how li, .how li:hover { transition: none; transform: none; } }

/* Problem boxes + How it works section. */
.solve__lead { margin-top: 1rem; }
.how--problem { margin-top: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
.how--problem b { font-size: 1.25rem; }
#how .h2 { margin-top: 0; }
#how .how { margin-top: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
.how--problem .how__icon svg { width: 2rem; height: 2rem; }

/* Booking: times drop down after a day is picked. */
.cal__drop { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(-6px);
  transition: grid-template-rows 360ms var(--ease), opacity 260ms var(--ease), transform 360ms var(--ease); }
.cal__drop-inner { min-height: 0; overflow: hidden; display: grid; gap: 1rem; }
.cal--open .cal__drop { grid-template-rows: 1fr; opacity: 1; transform: none; }
.cal__drop-inner { padding: 3px; margin: -3px; }   /* room for focus rings while clipped */
@media (prefers-reduced-motion: reduce) { .cal__drop { transition: none; transform: none; } }

/* One product: the station. */
.how--problem .how__icon svg { width: 2.25rem; height: 2.25rem; }   /* a bit bigger */

/* ---------- Scrolling announcement line ---------- */
.announce--ticker { padding: 0; overflow: hidden; font-weight: 700; }
.ticker__list { display: flex; margin: 0; padding: 0 var(--gutter); list-style: none; }
.ticker__list li { white-space: nowrap; }
.ticker__list li:not(:first-child) { display: none; }          /* calm / no script: first message only */
.announce--ticker.is-running { justify-content: flex-start; }
.announce--ticker.is-running .ticker__track { display: flex; width: max-content; animation: marquee var(--marquee-t, 30s) linear infinite; }
.announce--ticker.is-running .ticker__list { padding: 0; }
.announce--ticker.is-running .ticker__list li { display: flex; align-items: center; }
.announce--ticker.is-running .ticker__list li::after {
  content: ""; flex: none; width: 0.55rem; height: 0.85rem; margin-inline: 1.5rem;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='45 36 30 50'%3E%3Cpolygon points='64,40 49,63 58,63 53,82 71,57 62,57'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='45 36 30 50'%3E%3Cpolygon points='64,40 49,63 58,63 53,82 71,57 62,57'/%3E%3C/svg%3E") center / contain no-repeat;
}
.announce--ticker.is-running:hover .ticker__track { animation-play-state: paused; }

/* ---------- Product page: 3D and camera view ("See it in your bar") ---------- */
.pdp__ar { margin-top: 1rem; }
.btn--icon { gap: 0.5rem; }
.btn--icon svg { flex: none; width: 1.25rem; height: 1.25rem; }
.ar {
  width: min(34rem, calc(100vw - 2rem)); max-width: none;
  max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem);
  padding: 1rem; border: 0; border-radius: var(--r-lg);
  background: var(--bg); color: var(--ink);
  box-shadow: 0 1.5rem 4rem rgba(11, 27, 51, 0.35);
  overflow: auto;
}
.ar::backdrop { background: rgba(11, 27, 51, 0.6); }
.ar__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.ar__title { font-size: 1.25rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.ar__close {
  flex: none; width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer;
  transition: background-color 140ms var(--ease);
}
.ar__close:hover { background: var(--line); }
.ar__close svg { width: 1.125rem; height: 1.125rem; }
/* Square stage, and never taller than the screen allows. */
.ar__stage {
  position: relative; aspect-ratio: 1; margin-inline: auto;
  width: min(100%, calc(100vh - 16rem)); width: min(100%, calc(100dvh - 16rem)); min-width: min(100%, 15rem);
  border-radius: var(--r); overflow: hidden; background: var(--tile);
}
.ar__stage model-viewer {
  display: block; width: 100%; height: 100%; background: var(--tile);
  --poster-color: transparent; --progress-bar-color: var(--accent-text);
}
.ar__go { margin-top: 0.75rem; }
.ar__go[hidden] { display: none; }
.ar__note { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--muted); text-align: center; }
.ar__note + .ar__note { margin-top: 0.25rem; }
.ar__note--phone { color: var(--ink); font-weight: 600; }
.ar__note--error { color: var(--danger); font-weight: 600; }
/* Small text button under the camera button ("How to place it") and in the guide ("Back to the 3D view"). */
.ar__help {
  display: block; margin: 0.25rem auto 0; min-height: 2.75rem; padding: 0.5rem 0.75rem;
  border: 0; background: none; color: var(--accent-text); font-size: 0.9375rem; font-weight: 700;
  text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer;
}
.ar__help:hover { color: var(--ink); }
.ar__help[hidden] { display: none; }

/* "How to place it" guide: three steps before the camera opens.
   While it shows, the 3D viewer stays in the page but out of sight, so the camera can still open from it. */
.ar--guide .ar__view { position: absolute; left: 1rem; right: 1rem; top: 4.5rem; height: 8rem; overflow: hidden; visibility: hidden; pointer-events: none; }
/* The reduced-motion rule above gives every property a tiny transition, so "visibility" would still read hidden at the
   moment "Back to the 3D view" hands focus to the camera button, and focus got lost. No transitions here in that mode. */
@media (prefers-reduced-motion: reduce) { .ar__view, .ar__view * { transition-property: none !important; } }
.ar__guide[hidden] { display: none; }
.ar__guide-title { font-size: 1.0625rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.ar__guide-title:focus { outline: none; }
.guide { display: grid; gap: 0.75rem; margin-top: 0.75rem; }
.guide__step { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 0.875rem; align-items: center; }
.guide__art { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; }
.guide__text { position: relative; padding-left: 2.125rem; font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.guide__num {
  position: absolute; left: 0; top: -0.0625rem; width: 1.5rem; height: 1.5rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 0.8125rem; font-weight: 800; line-height: 1;
}
.guide__skip { display: flex; align-items: center; justify-content: center; gap: 0.625rem; min-height: 2.75rem; margin-top: 0.25rem; font-size: 0.9375rem; font-weight: 600; cursor: pointer; }
.guide__skip input { flex: none; width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--accent-text); cursor: pointer; }
.ar__guide .btn { margin-top: 0.25rem; }
@media (min-width: 600px) {
  .guide__step { grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.25rem; }
  .guide__text { font-size: 1.0625rem; }
}
/* The drawings move only when motion is welcome. Without motion they are still pictures of the finished step. */
@media (prefers-reduced-motion: no-preference) {
  .guide__art--hold .g-phone { animation: guide-lower 4s var(--ease) infinite; }
  .guide__art--hold .g-cone { animation: guide-cone 4s linear infinite; }
  .guide__art--hold .g-corners { animation: guide-show 4s linear infinite; }
  .guide__art--sweep .g-phone { animation: guide-sweep 2.4s ease-in-out infinite alternate; }
  .guide__art--sweep .g-st { animation: guide-appear 9.6s linear infinite; }
  .guide__art--drag .g-drag { animation: guide-drag 4.8s ease-in-out infinite; }
}
@keyframes guide-lower { 0% { transform: translateY(-9px); } 25%, 100% { transform: translateY(0); } }
@keyframes guide-cone { 0%, 22% { opacity: 0; } 34%, 100% { opacity: 0.4; } }
@keyframes guide-show { 0%, 34% { opacity: 0; } 46%, 100% { opacity: 1; } }
@keyframes guide-sweep { from { transform: translateX(-16px); } to { transform: translateX(16px); } }
@keyframes guide-appear { 0%, 48% { opacity: 0; } 58%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes guide-drag {
  0%, 14% { transform: translate(-59.5px, 36px); }
  38% { transform: translate(-34px, -8px); }
  62%, 100% { transform: translate(0, 0); }
}

/* Dropdowns in the owner form */
.field__select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6472' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.875rem center / 1.125rem no-repeat; }
.field__select:invalid { color: var(--muted); }
.field__select option { color: var(--ink); }
.form__pair > .field { align-content: start; }   /* boxes stay level when one error message wraps */

/* ---------- Full footer  ---------- */
.footer--full { padding-block: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; background: var(--surface); }
.footer__top { display: grid; gap: 2rem; padding-bottom: clamp(2rem, 4vw, 3rem); }
@media (min-width: 900px) { .footer__top { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; } .footer__follow { justify-self: end; } }
.footer__title { margin: 0; font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.footer__lead { margin: 0.5rem 0 1.25rem; color: var(--muted); max-width: 32rem; }
.signup { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.625rem; max-width: 30rem; }
.signup__btn { min-height: 3rem; padding-inline: 1.5rem; }
.signup__error { grid-column: 1 / -1; }
.signup__done { font-weight: 700; }
.footer__label { margin: 0 0 0.75rem; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.social { display: flex; gap: 0.625rem; margin: 0; padding: 0; list-style: none; }
.social__link { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--ink); color: #fff; transition: background-color 160ms var(--ease), transform 160ms var(--ease); }
.social__link:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }
.social__link svg { width: 1.25rem; height: 1.25rem; }
.footer__mid { display: grid; gap: 2rem; padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .footer__mid { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 1.75rem clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 900px) { .footer__cols { grid-template-columns: repeat(3, auto); } }
.footer__col ul { display: grid; gap: 0.625rem; margin: 0; padding: 0; list-style: none; }
.footer__col a, .footer__linkbtn { color: var(--ink); text-decoration: none; font-size: 0.9375rem; overflow-wrap: anywhere; }
.footer__linkbtn { padding: 0; border: 0; background: none; font: inherit; font-size: 0.9375rem; cursor: pointer; text-align: left; }
.footer__col a:hover, .footer__linkbtn:hover { color: var(--accent-text); text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }

/* ---------- Install pop-up on product pages ---------- */
html.is-modal { overflow: hidden; }
.imodal {
  width: min(36rem, calc(100vw - 1.5rem)); max-width: none;
  max-height: calc(100vh - 1.5rem); max-height: calc(100dvh - 1.5rem);
  padding: 0; border: 0; border-radius: var(--r-lg);
  background: var(--navy); color: #fff;
  box-shadow: 0 2rem 5rem rgba(11, 27, 51, 0.45);
  overflow: auto; overscroll-behavior: contain;
}
.imodal::backdrop { background: rgba(11, 27, 51, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.imodal__frame { display: grid; gap: 0.75rem; padding: clamp(0.625rem, 2vw, 1rem); }
.imodal__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.25rem 0.25rem 0 0.625rem; }
.imodal__title { font-size: 1.125rem; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.imodal__close {
  flex: none; width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer;
  transition: background-color 140ms var(--ease);
}
.imodal__close:hover { background: rgba(255, 255, 255, 0.24); }
.imodal__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.imodal__close svg { width: 1.25rem; height: 1.25rem; }
.imodal .form--card { box-shadow: none; }
@media (prefers-reduced-motion: no-preference) {
  .imodal[open] { animation: imodal-in 220ms var(--ease); }
  .imodal[open]::backdrop { animation: imodal-fade 220ms var(--ease); }
}
@keyframes imodal-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes imodal-fade { from { opacity: 0; } to { opacity: 1; } }
.install__cta { display: grid; gap: 0.75rem; align-content: center; }
.install__ctanote { font-size: 0.875rem; color: rgba(255, 255, 255, 0.78); text-align: center; }
.imodal { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.35) transparent; }
.imodal__frame { padding-top: 0; }
.imodal__head { position: sticky; top: 0; z-index: 1; margin-inline: calc(-1 * clamp(0.625rem, 2vw, 1rem)); padding: clamp(0.625rem, 2vw, 1rem) clamp(0.875rem, 2vw, 1.25rem) 0.25rem calc(clamp(0.625rem, 2vw, 1rem) + 0.625rem); background: var(--navy); }
.imodal .form { gap: 0.875rem; }


/* ---------- Launch: real sending, consent lines, failure states ---------- */
/* The hidden attribute always wins, whatever display a class sets. */
[hidden] { display: none !important; }

/* Spam trap field: far off screen, out of the tab order, hidden from readers. */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form { position: relative; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; }
.form__consent { font-size: 0.8125rem; line-height: 1.45; color: var(--muted); text-align: center; }
.form__consent a, .signup__consent a { color: var(--accent-text); }
.form__fail {
  display: grid; gap: 0.5rem; padding: 1rem 1.125rem;
  border: 1px solid var(--danger); border-radius: var(--r); background: #FDF3F2;
  font-size: 0.9375rem; line-height: 1.45;
}
.form__fail:focus-visible { outline: 2px solid var(--danger); outline-offset: 2px; }
.form__fail-title { font-weight: 800; color: var(--danger); }
.form__fail-list { display: grid; gap: 0.5rem; }
.form__fail-list a {
  display: flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0.5rem 0.875rem;
  border: 1px solid var(--field-line); border-radius: var(--r); background: #fff;
  color: var(--ink); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; text-align: center;
}
.form__fail-list a:hover { border-color: var(--ink); }
@media (min-width: 560px) { .form__fail-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form__fail-list li:last-child { grid-column: 1 / -1; } }
.after__fail { font-size: 0.875rem; font-weight: 600; color: var(--danger); }
.after__fail a { color: inherit; }
.after__sub { font-size: 0.9375rem; color: var(--muted); }

.signup__consent, .signup__fail { grid-column: 1 / -1; font-size: 0.8125rem; line-height: 1.45; color: var(--muted); }
.signup__fail { font-weight: 600; color: var(--danger); }
.signup__fail a { color: inherit; }
.signup__done:focus-visible, .after__done:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; }
