/* Service-Connect marketing site.
   One committed green that owns the hero, the app's lime as the single accent,
   real app screens instead of illustrations. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --ground: #f3f6f4;
  --surface: #ffffff;
  --ink: #0e1d17;
  --ink-2: #4b5b54;
  --line: rgb(14 29 23 / 12%);
  --tint: #e2f1e8;
  --green: #137a3c;
  --forest: #0f3b2c;
  --forest-2: #0b2e22;
  --on-forest: #eef6f1;
  --on-forest-2: rgb(238 246 241 / 74%);
  --lime: #dcf763;
  --lime-ink: #10260f;
  --btn-ink-bg: #0f3b2c;
  --btn-ink-fg: #ffffff;
  --logo-ring: #0b3b1f;
  --logo-plug: #15803d;
  /* A screen's edge and the shadow it casts, so it reads as a thin slab tilted in space. */
  --edge-1: #dfe7e3;
  --edge-2: #b9c6c0;
  --cast: rgb(9 40 29 / 38%);

  /* Type roles. Display faces narrow as they grow (Bricolage's width axis), so big headlines
     stay dense and the small ones stay open. */
  --t-display: clamp(3rem, 6.6vw, 6.25rem);
  --t-h2: clamp(2.4rem, 4.9vw, 4.4rem);
  --t-statement: clamp(2rem, 4.5vw, 4rem);
  --t-h3: clamp(1.65rem, 2.6vw, 2.35rem);
  --t-h4: clamp(1.3rem, 1.9vw, 1.65rem);
  --t-h5: clamp(1.1rem, 1.45vw, 1.25rem);
  --t-lead: clamp(1.125rem, 1.45vw, 1.3rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;
  --ink-faint: color-mix(in srgb, var(--ink) 20%, transparent);
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-arrive: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-field: 36px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #09130f;
    --surface: #101d17;
    --ink: #e7f0eb;
    --ink-2: #9db0a7;
    --line: rgb(231 240 235 / 11%);
    --tint: #0f241b;
    --green: #63d996;
    --forest: #113a2b;
    --forest-2: #0c2c20;
    --btn-ink-bg: #dcf763;
    --btn-ink-fg: #10260f;
    --logo-ring: #ffffff;
    --logo-plug: #7ee2a1;
    --edge-1: #33443d;
    --edge-2: #1d2a25;
    --cast: rgb(0 0 0 / 60%);
    color-scheme: dark;
  }
}

/* ------------------------------------------------------------------ base */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  scrollbar-color: color-mix(in srgb, var(--ink) 28%, transparent) transparent;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 var(--t-body)/1.62 var(--font-body);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  caret-color: var(--green);
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 88%;
  letter-spacing: -0.028em;
  line-height: 1.02;
  text-wrap: balance;
}
h2 { font-size: var(--t-h2); line-height: 1; letter-spacing: -0.024em; font-stretch: 90%; }
h3 { font-size: var(--t-h3); line-height: 1.06; font-stretch: 90%; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--lime); color: var(--lime-ink); font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

.ic {
  width: 1.15em; height: 1.15em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font: 600 15px/1 var(--font-body); white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn .ic { transition: transform 200ms var(--ease-out); }
.btn:hover .ic { transform: translateX(3px); }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { background: #e8ff7f; }
.btn-ink { background: var(--btn-ink-bg); color: var(--btn-ink-fg); }
.btn-ink:hover { background: color-mix(in srgb, var(--btn-ink-bg) 88%, var(--ink)); }
.btn-ghost-light { color: var(--on-forest); box-shadow: inset 0 0 0 1.5px rgb(238 246 241 / 30%); }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--surface); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 30%, transparent); }
.btn-ghost-light:hover { background: rgb(238 246 241 / 9%); box-shadow: inset 0 0 0 1.5px rgb(238 246 241 / 55%); }

.link-quiet { font-weight: 600; font-size: 15px; padding: 10px 6px; color: var(--ink-2); transition: color 200ms ease; }
.link-quiet:hover { color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------------ nav */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ground) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand-mark { width: 34px; height: 28px; }
.wordmark { font: 400 20px/1 var(--font-display); letter-spacing: -0.03em; }
.wordmark b { color: var(--logo-ring); font-weight: 700; }
.wordmark span { color: var(--logo-plug); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color 200ms ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 999px; cursor: pointer;
  border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-btn span:not(.sr-only) { width: 16px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 200ms var(--ease-out); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: grid; padding: 4px 16px 16px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 4px; font-weight: 600; font-size: 17px; border-top: 1px solid var(--line); }

/* ------------------------------------------------------------------ hero */

.hero { padding: 0; }
/* A full-width green field, edge to edge, its content lined up with the
   nav's 1200px .wrap column. One flat green; behind the content, a dot grid that fades out
   from the phone, and the logo's open ring. */
.hero-field {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 48px;
  min-height: min(calc(100svh - 92px), 820px);
  padding: clamp(32px, 5vw, 72px);
  padding-inline: max(clamp(32px, 5vw, 72px), (100% - 1200px) / 2);
  background: var(--forest);
  color: var(--on-forest);
}
.hero-field::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(circle, rgb(238 246 241 / 13%) 1px, transparent 1.5px) 0 0 / 26px 26px;
  mask-image: radial-gradient(55% 65% at 72% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(55% 65% at 72% 50%, #000, transparent 75%);
}
.hero-field::before {
  content: ""; position: absolute; z-index: -1;
  width: 900px; aspect-ratio: 1; right: -260px; top: 50%; translate: 0 -50%;
  border-radius: 50%;
  border: 120px solid var(--forest-2);
  border-right-color: transparent;
  rotate: -18deg;
}
.hero h1 {
  font-size: var(--t-display); line-height: 0.95; letter-spacing: -0.022em;
  font-weight: 720; font-stretch: 85%;
}
.hero h1 .accent { color: var(--lime); }
/* The rolling word's mask eases to each new word's width. */
.hero h1 .rot .w { transition: width 700ms var(--ease-smooth); }
/* Light text on the green: a touch more weight, leading and tracking than on white. */
.hero-sub {
  margin-top: 26px; max-width: 31rem;
  font-size: var(--t-lead); font-weight: 450; line-height: 1.6; letter-spacing: 0.004em;
  color: var(--on-forest-2);
}
.hero .actions { margin-top: 36px; }
.trust { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.trust-badge {
  display: grid; place-items: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--lime); color: var(--lime-ink);
}
.trust-badge .ic { width: 22px; height: 22px; }
.trust p { max-width: 24ch; font-size: var(--t-small); line-height: 1.4; color: var(--on-forest-2); }
.trust b { font-weight: 600; color: var(--on-forest); }


/* Screens: the app's own screenshots, no device frame, set straight into their section and
   turned in 3D. Each parent sets the turn (--ry/--rx/--rz); [data-tilt] parents add a little
   pointer-led lean on top (--tilt-x/--tilt-y). The stacked edge shadows give the slab its
   thickness; the last one is the shadow it casts. */
[data-tilt] { perspective: 1700px; }
.screen {
  display: block;
  width: var(--screen-w, clamp(240px, 22vw, 300px)); height: auto; aspect-ratio: 390 / 844;
  border-radius: 34px;
  outline: 1px solid rgb(255 255 255 / 55%); outline-offset: -1px;
  transform:
    rotateY(calc(var(--ry, -22deg) + var(--tilt-y, 0deg)))
    rotateX(calc(var(--rx, 8deg) + var(--tilt-x, 0deg)))
    rotateZ(var(--rz, 2deg));
  box-shadow:
    1px 1px 0 var(--edge-1), 2px 2px 0 var(--edge-1), 3px 3px 0 var(--edge-1),
    4px 4px 0 var(--edge-2), 5px 5px 0 var(--edge-2), 6px 6px 0 var(--edge-2),
    7px 7px 0 var(--edge-2),
    30px 40px 60px -20px var(--cast), 60px 80px 120px -40px var(--cast);
  backface-visibility: hidden;
  transition: transform 1100ms var(--ease-smooth);
}

/* ------------------------------------------------------------------ phone */

/* phone.js wraps the screens in a phone. The body is a real 3D slab: a stack of metal slices
   behind the face (lit in the middle like a rounded edge, with side buttons), turned by the
   same --ry/--rx/--rz and tilt as the bare screens were. Sizes scale with the phone's width. */
.phone {
  --w: var(--screen-w, clamp(240px, 22vw, 300px));
  --bezel: calc(var(--w) * 0.032);
  --radius: calc(var(--w) * 0.165);
  --depth: calc(var(--w) * 0.075);
  width: var(--w);
  perspective: 1700px;
}
.phone-body {
  position: relative; transform-style: preserve-3d;
  transform:
    rotateY(calc(var(--ry, -22deg) + var(--tilt-y, 0deg)))
    rotateX(calc(var(--rx, 8deg) + var(--tilt-x, 0deg)))
    rotateZ(var(--rz, 2deg));
  transition: transform 1100ms var(--ease-smooth);
}
.phone-layer {
  --metal: color-mix(in oklab, #dfe5e1 var(--light), #353c38);
  position: absolute; inset: 0; border-radius: var(--radius);
  background: var(--metal);
  transform: translateZ(calc(var(--depth) * var(--z) / -14));
}
.phone-layer:last-of-type {
  background: #2a302d;
  box-shadow: 30px 40px 60px -20px var(--cast), 60px 80px 120px -40px var(--cast);
}
/* Volume buttons on the left, power on the right. */
.phone-layer.has-buttons::before, .phone-layer.has-buttons::after {
  content: ""; position: absolute; width: calc(var(--w) * 0.016);
  border-radius: 2px; background: var(--metal);
}
.phone-layer.has-buttons::before {
  left: calc(var(--w) * -0.012); top: 21%; height: 6.5%;
  box-shadow: 0 calc(var(--w) * 0.19) 0 var(--metal);
}
.phone-layer.has-buttons::after { right: calc(var(--w) * -0.012); top: 27%; height: 10%; }
.phone-face {
  position: relative; padding: var(--bezel); border-radius: var(--radius);
  background: #060807;
  box-shadow: 0 0 0 1.5px #b9c1bc, inset 0 0 0 1px rgb(255 255 255 / 12%);
}
.phone-display {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: calc(var(--radius) - var(--bezel));
  background: #f4f7f6; color: #0e1d17;
}
.phone-status {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  height: calc(var(--w) * 0.12); padding: calc(var(--w) * 0.012) calc(var(--w) * 0.085) 0;
  font: 650 calc(var(--w) * 0.05)/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: -0.01em;
}
.phone-island {
  position: absolute; left: 50%; top: calc(var(--w) * 0.03); translate: -50% 0;
  width: 31%; height: calc(var(--w) * 0.09); border-radius: 999px; background: #000;
}
.phone-icons { width: calc(var(--w) * 0.19); fill: currentColor; }
.phone-screens { display: grid; }
.phone .screen {
  grid-area: 1 / 1; width: 100%; height: auto;
  border-radius: 0; outline: 0; box-shadow: none; transform: none;
}
/* Glass: a soft diagonal sheen across the display. */
.phone-glare {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(118deg, rgb(255 255 255 / 0%) 34%, rgb(255 255 255 / 20%) 46%, rgb(255 255 255 / 4%) 53%, rgb(255 255 255 / 0%) 64%);
}
.journey > .phone, .how-stage > .phone { grid-area: 1 / 1; }

/* the booking journey: five screens stacked in one cell, the rail beside them */
.journey {
  min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr);
  align-items: center; justify-items: center; column-gap: clamp(28px, 4vw, 56px);
}
.journey .screen { grid-area: 1 / 1; opacity: 0; filter: blur(8px); }
.journey .screen.on { opacity: 1; filter: none; }
.journey .rail { grid-column: 2; grid-row: 1; justify-self: start; }

.rail { position: relative; display: grid; gap: 4px; min-width: 0; }
.rail::before {
  content: ""; position: absolute; left: 21px; top: 26px; bottom: 26px; width: 2px;
  background: rgb(238 246 241 / 14%);
}
.rail::after {
  content: ""; position: absolute; left: 21px; top: 26px; width: 2px;
  height: calc((100% - 52px) * var(--progress, 0));
  background: var(--lime);
  transition: height 900ms var(--ease-in-out);
}
.rail button {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 8px 12px 8px 0; border: 0; background: none; cursor: pointer;
  color: var(--on-forest); text-align: left; font: inherit;
  opacity: 0.5; transition: opacity 600ms var(--ease-smooth);
}
.rail button:hover, .rail button[aria-current="step"], .rail button.passed { opacity: 1; }
.rail button > .ic {
  box-sizing: content-box; width: 18px; height: 18px; padding: 12px; border-radius: 50%;
  background: var(--forest); color: var(--on-forest);
  box-shadow: inset 0 0 0 1.5px rgb(238 246 241 / 22%);
  transition: background-color 500ms ease, color 500ms ease, box-shadow 500ms ease, transform 600ms var(--ease-smooth);
}
.rail button.passed > .ic { background: var(--forest-2); box-shadow: inset 0 0 0 1.5px var(--lime); color: var(--lime); }
.rail button[aria-current="step"] > .ic { background: var(--lime); color: var(--lime-ink); box-shadow: none; transform: scale(1.06); }
.rail b { display: block; font: 650 1.0625rem/1.2 var(--font-display); font-stretch: 92%; letter-spacing: -0.005em; }
.rail small { display: block; font-size: var(--t-small); font-weight: 450; letter-spacing: 0.005em; color: var(--on-forest-2); }

/* ------------------------------------------------------------------ categories */

.cats { padding: clamp(80px, 11vw, 150px) 0 clamp(64px, 8vw, 110px); }
.cats-lead, .cats-words { display: inline; }
.cats-lead::after { content: " "; }
.cats-lead, .cats-words {
  font: 600 var(--t-statement)/1.16 var(--font-display); font-stretch: 92%; letter-spacing: -0.02em;
}
.cats-lead { color: var(--ink-2); }
.cats-words a {
  text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.14em;
  text-decoration-color: var(--line);
  transition: color 200ms ease, text-decoration-color 200ms ease;
}
.cats-words a:hover { color: var(--green); text-decoration-color: var(--lime); text-decoration-thickness: 0.12em; }
.cats-tail { color: var(--ink-2); }
/* Category tiles: a photo of each trade's tools (never people), staggered heights so the row has
   a rhythm, and a label pill with the app's icon. They sit on one long track. */
.pan { margin-top: clamp(40px, 5vw, 72px); }
.cats-tiles {
  --tile-w: clamp(220px, 22vw, 300px);
  display: flex; align-items: flex-start; gap: clamp(12px, 1.6vw, 22px);
  width: max-content; padding: 8px max(16px, (100vw - 1200px) / 2) 64px;
}
.cats-tiles li { flex: 0 0 auto; width: var(--tile-w); }
.cats-tiles li:nth-child(even) { margin-top: clamp(24px, 4vw, 56px); }
/* Phones, reduced motion, or before the script runs: a row you swipe. */
.pan-stage { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pan-stage::-webkit-scrollbar { display: none; }
.cats-tiles li { scroll-snap-align: center; }
/* Desktop: the stage pins under the nav and the track slides left as you scroll down. main.js
   sets .pan's height to the scroll this needs and adds .is-pinned. */
.pan.is-pinned .pan-stage {
  position: sticky; top: 68px; height: calc(100svh - 68px);
  display: flex; align-items: center; overflow: hidden; scroll-snap-type: none;
}
.pan.is-pinned .cats-tiles { --tile-w: calc(min(58svh, 520px) * 0.75); will-change: transform; }
/* Each photo drifts a little inside its tile as the track moves (set by main.js). */
.pan.is-pinned .cats-tiles img { scale: 1.14; translate: var(--drift, 0px) 0; transition: scale 1000ms var(--ease-smooth); }
.pan.is-pinned .cats-tiles a:hover img { scale: 1.2; }
.cats-tiles a { position: relative; display: block; border-radius: 28px; overflow: hidden; isolation: isolate; background: var(--tint); }
.cats-tiles img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover;
  transition: scale 1000ms var(--ease-smooth);
}
.cats-tiles a::after {
  content: ""; position: absolute; inset: 55% 0 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to top, rgb(6 20 14 / 55%), transparent);
}
.cats-tiles span {
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgb(255 255 255 / 94%); color: #0e1d17;
  font: 650 15px/1 var(--font-display); font-stretch: 92%;
  transition: background-color 300ms ease;
}
.cats-tiles span .ic { width: 18px; height: 18px; color: var(--green); }
.cats-tiles a:hover img { scale: 1.05; }
.cats-tiles a:hover span { background: var(--lime); }

/* ------------------------------------------------------------------ how it works */

.how { padding: 24px 0 0; }
.how-stage {
  display: grid; place-items: center; height: 100%;
  --ry: 20deg; --rx: 7deg; --rz: -2deg; --screen-w: clamp(240px, 21vw, 300px);
}
.how-stage .screen { grid-area: 1 / 1; opacity: 0; }
.how-stage .screen.on { opacity: 1; }
.how-copy h2 { margin-bottom: clamp(28px, 4vh, 44px); }
.how-list { display: grid; gap: 6px; max-width: 34rem; }

/* Each step: a progress bar, its title (a button that jumps to it), and a body that opens
   only while the step is current. */
.how-head {
  display: grid; gap: 16px; width: 100%; padding: 18px 0 8px;
  border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.how-bar { display: block; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.how-bar > span {
  display: block; height: 100%; border-radius: inherit; background: var(--green);
  transform-origin: left; transform: scaleX(var(--fill, 0));
}
.how-head h3 {
  font-size: clamp(1.45rem, 2.1vw, 1.95rem); max-width: 26ch;
  color: color-mix(in srgb, var(--ink) 40%, transparent);
  transition: color 600ms var(--ease-smooth);
}
.how-head:hover h3, .how-item.is-active .how-head h3 { color: var(--ink); }
.how-body {
  display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows 800ms var(--ease-smooth), opacity 600ms var(--ease-smooth);
}
.how-body > div { overflow: hidden; }
.how-item.is-active .how-body { grid-template-rows: 1fr; opacity: 1; transition-delay: 0ms, 150ms; }
.how-body p { padding: 10px 0 14px; max-width: 40ch; font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); }
.how-inline { display: none; }

/* Desktop: three viewports of scroll, during which the scene stays pinned under the nav. */
@media (min-width: 901px) {
  .how { height: 300svh; }
  .how-scene {
    position: sticky; top: 68px; height: calc(100svh - 68px); max-height: 860px;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px;
  }
}

/* ------------------------------------------------------------------ two ways to book */

.modes { padding: clamp(72px, 9vw, 120px) 0; }

/* The switch is the headline: "Plan ahead. or Get help now.", a dark thumb sliding under the
   chosen one. Equal columns either side of "or" let the thumb slide by its own width. */
.modes-switch {
  position: relative; display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center;
  width: min(100%, 760px); margin-inline: auto; padding: 6px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -28px var(--cast);
}
.js .modes-switch::before {
  content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px;
  width: calc((100% - 12px - 56px) / 2); border-radius: 999px;
  background: var(--btn-ink-bg);
  transition: translate 650ms var(--ease-smooth);
}
.js .modes-switch:has([data-mode="now"][aria-selected="true"])::before { translate: calc(100% + 56px) 0; }
.modes-switch [role="tab"] {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 20px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: 700 clamp(1.25rem, 2.4vw, 2rem)/1 var(--font-display); font-stretch: 88%; letter-spacing: -0.02em;
  color: var(--ink-2); transition: color 400ms ease;
}
.modes-switch [role="tab"] .ic { width: 0.9em; height: 0.9em; }
.modes-switch [role="tab"]:hover { color: var(--ink); }
.js .modes-switch [aria-selected="true"], .js .modes-switch [aria-selected="true"]:hover { color: var(--btn-ink-fg); }
.modes-switch [role="tab"]:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.modes-or { text-align: center; font: 600 15px/1 var(--font-display); color: var(--ink-2); }

/* The stage: light for planning, the hero's green for right now. */
.modes-stage {
  margin-top: 20px; padding: clamp(28px, 4.5vw, 64px); border-radius: var(--radius-field);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 700ms var(--ease-smooth), color 700ms var(--ease-smooth), box-shadow 700ms ease;
}
.modes-stage[data-stage="now"] { background-color: var(--forest); color: var(--on-forest); box-shadow: none; }
.mode-panel {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center;
  gap: clamp(32px, 6vw, 96px); min-height: 380px;
}
.mode-panel + .mode-panel { margin-top: 48px; }
.js .mode-panel + .mode-panel { margin-top: 0; }
.js .mode-panel:not(.on) { display: none; }
.js .mode-panel.on { animation: mode-in 700ms var(--ease-smooth) both; }
@keyframes mode-in { from { opacity: 0; translate: 0 16px; } }
.mode-title { font: 700 var(--t-h2)/1 var(--font-display); font-stretch: 88%; letter-spacing: -0.024em; }
.mode-copy p:not(.mode-title) { margin-top: 18px; max-width: 30ch; font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); }
[data-panel="now"] .mode-copy p:not(.mode-title) { color: var(--on-forest-2); }
[data-panel="now"] .chip { background: rgb(220 247 99 / 14%); color: var(--lime); }
.mode-copy .mode-hint {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  font-size: var(--t-small) !important; font-weight: 600; color: var(--green) !important;
}
.mode-hint::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--tint); }

/* Plan ahead: the booking screen's day strip, time slots and confirm bar, all clickable. */
.slot-ui { display: grid; gap: 12px; }
.slot-days, .slot-times { display: grid; gap: 6px; }
.slot-days { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.slot-times { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.slot-ui button {
  display: grid; place-items: center; border: 0; cursor: pointer;
  background: var(--ground); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
  font: 700 15px/1.1 var(--font-body); font-variant-numeric: tabular-nums;
  transition: background-color 250ms ease, color 250ms ease, box-shadow 250ms ease, scale 160ms var(--ease-out);
}
.slot-ui button:hover { box-shadow: inset 0 0 0 1.5px var(--green); }
.slot-ui button:active { scale: 0.95; }
.slot-ui button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.slot-days button { padding: 12px 0 10px; border-radius: 16px; font-size: 20px; }
.slot-days small { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.slot-times button { height: 44px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.slot-ui button[aria-pressed="true"], .slot-confirm { background: var(--green); color: var(--surface); box-shadow: none; }
.slot-ui button[aria-pressed="true"] small { color: inherit; opacity: 0.8; }
.slot-confirm {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 6px; padding: 16px 22px; border-radius: 20px;
}
.slot-confirm span { display: grid; min-width: 0; }
.slot-confirm span b { font-size: 16px; }
.slot-confirm small { font-size: 13px; opacity: 0.85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot-confirm > b { font-size: 18px; white-space: nowrap; }

/* Get help now: a search pulse around you; the nearest free pro lights up and takes the job. */
.radar { position: relative; min-height: 380px; }
.radar-ring, .radar-pulse {
  position: absolute; left: 44%; top: 44%; translate: -50% -50%;
  aspect-ratio: 1; border-radius: 50%; border: 1px solid rgb(238 246 241 / 12%);
}
.radar-ring:nth-child(1) { width: 120px; }
.radar-ring:nth-child(2) { width: 250px; }
.radar-ring:nth-child(3) { width: 390px; }
.radar-pulse { width: 390px; border: 0; background: radial-gradient(closest-side, rgb(220 247 99 / 0%) 60%, rgb(220 247 99 / 22%) 98%, transparent); scale: 0; opacity: 0; }
.radar-me {
  position: absolute; left: 44%; top: 44%; translate: -50% -50%;
  width: 18px; height: 18px; border-radius: 50%; background: var(--on-forest);
  box-shadow: 0 0 0 6px rgb(238 246 241 / 18%);
}
.radar-pro {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%;
  width: 12px; height: 12px; border-radius: 50%; background: rgb(238 246 241 / 32%);
}
.radar-pro.near {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--lime); color: var(--lime-ink); font: 700 14px/1 var(--font-body);
  box-shadow: 0 0 0 8px rgb(220 247 99 / 16%);
}
.radar-status {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px; background: rgb(238 246 241 / 8%);
  font-size: 14px; font-weight: 600; color: var(--on-forest-2); opacity: 0;
}
.radar-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.radar-card {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 22px;
  background: var(--forest-2); box-shadow: inset 0 0 0 1px rgb(238 246 241 / 10%), 0 20px 40px -20px rgb(0 0 0 / 50%);
}
.radar-av {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px;
  background: var(--tint); color: var(--green); font-weight: 700; font-size: 15px;
}
.radar-card > span:nth-child(2) { display: grid; flex: 1; min-width: 0; }
.radar-card b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radar-card small { font-size: 13px; color: var(--on-forest-2); }
.radar-card > .ic { width: 22px; height: 22px; color: var(--lime); }

/* The match in three beats, replayed each time the panel is chosen (modes.js adds .play):
   searching, the nearest free pro lights up, then their card arrives. Without .play (or with
   reduced motion) everything simply shows in its final state. */
@media (prefers-reduced-motion: no-preference) {
  .radar-pulse { animation: radar-pulse 2.6s var(--ease-out) infinite; }
  .play .radar-status { animation: radar-status 2.4s ease both; }
  .play .radar-pro.near { animation: radar-found 900ms var(--ease-smooth) 1.5s both; }
  .play .radar-card { animation: radar-card 800ms var(--ease-smooth) 2.3s both; }
}
@keyframes radar-pulse {
  0% { scale: 0; opacity: 1; }
  70% { opacity: 0.6; }
  100% { scale: 1; opacity: 0; }
}
@keyframes radar-status {
  0%, 10% { opacity: 0; translate: 0 6px; }
  20%, 80% { opacity: 1; translate: 0 0; }
  100% { opacity: 0; }
}
@keyframes radar-found {
  from { width: 12px; height: 12px; color: transparent; background: rgb(238 246 241 / 32%); box-shadow: 0 0 0 0 rgb(220 247 99 / 0%); }
}
@keyframes radar-card {
  from { opacity: 0; translate: 0 24px; scale: 0.97; }
}

.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px 2px 8px; margin: 0 2px;
  border-radius: 999px; background: var(--tint); color: var(--green);
  font-size: 15px; font-weight: 700; white-space: nowrap; vertical-align: 1px;
}
.chip .ic { width: 14px; height: 14px; }

/* ------------------------------------------------------------------ promises */

.promise { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; padding: clamp(80px, 10vw, 140px) 0; }
.promise h2 { max-width: 9ch; }
.promise-list li { position: relative; padding: 28px 0; }
.promise-list li + li::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line);
  transform-origin: left;
}
.promise-list li:first-child { padding-top: 6px; }
.promise-head { font: 650 var(--t-h4)/1.18 var(--font-display); font-stretch: 90%; letter-spacing: -0.015em; }
.promise-list p:not(.promise-head) { margin-top: 8px; color: var(--ink-2); max-width: 48ch; }

/* ------------------------------------------------------------------ for pros */

.pros { padding: clamp(40px, 5vw, 64px) 0 clamp(80px, 10vw, 140px); }
.pros-grid {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(40px, 7vw, 110px);
}
.pros-grid { --ry: 24deg; --rx: 5deg; --rz: -3deg; --screen-w: clamp(170px, 15vw, 220px); column-gap: clamp(96px, 12vw, 180px); }
/* The workbench photo and the sign-up screen share one cell; the screen overhangs the photo's
   lower right corner. */
.pros-photo {
  grid-column: 1; grid-row: 1; width: clamp(280px, 30vw, 420px); height: auto;
  aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px;
}
.pros-shot { grid-column: 1; grid-row: 1; z-index: 1; justify-self: end; align-self: end; margin: 0 calc(var(--screen-w) * -0.45) -8% 0; }
.pros-copy { grid-column: 2; grid-row: 1; }
.pros h2 { max-width: 13ch; }
.pros-sub { margin-top: 20px; max-width: 40ch; font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); }
.ticks { display: grid; gap: 12px; margin: 28px 0 36px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic {
  box-sizing: content-box; width: 14px; height: 14px; padding: 4px; margin-top: 3px;
  border-radius: 50%; background: var(--btn-ink-bg); color: var(--btn-ink-fg); stroke-width: 3;
}

/* ------------------------------------------------------------------ team */

.team { padding-bottom: clamp(80px, 10vw, 140px); }
.team-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; }
.team h2 { max-width: 10ch; }
.team-sub { max-width: 30ch; font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); }

/* Five tall panels in one row; the open one grows to show its card. */
.team-list {
  display: flex; gap: clamp(8px, 1vw, 14px);
  height: clamp(460px, 44vw, 580px); margin-top: clamp(40px, 5vw, 64px);
}
.member {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate;
  border-radius: 28px; background: var(--tint); cursor: pointer;
  transition: flex-grow 900ms var(--ease-smooth);
}
.member.is-open { flex-grow: 3.6; cursor: default; }
.member:focus-visible { outline-offset: 4px; border-radius: 28px; }
/* Each panel is a type portrait: the person's initials, very large, on their own colour. In a
   narrow panel they crop; when the panel opens they lift to make room for the card. */
.member:nth-child(5n + 1) { background: var(--forest); color: var(--lime); }
.member:nth-child(5n + 2) { background: var(--lime); color: var(--lime-ink); }
.member:nth-child(5n + 3) { background: var(--tint); color: var(--green); }
.member:nth-child(5n + 4) { background: var(--green); color: #ffffff; }
.member:nth-child(5n + 5) { background: var(--forest-2); color: #7ee2a1; }
.member-initials {
  position: absolute; inset: 0; z-index: -1;
  display: grid; place-items: center; padding-bottom: 8%;
  font: 800 clamp(5.5rem, 11vw, 10rem)/1 var(--font-display); font-stretch: 75%; letter-spacing: -0.04em;
  white-space: nowrap; user-select: none;
  transition: translate 1000ms var(--ease-smooth), scale 1200ms var(--ease-smooth);
}
.member.is-open .member-initials { translate: 0 -18%; scale: 1.08; }
/* A small number on every panel; the card only shows on the open one. */
.member-num {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  padding: 5px 10px; border-radius: 999px; background: var(--surface); color: var(--ink);
  font: 700 12px/1.2 var(--font-body); font-variant-numeric: tabular-nums;
}

/* The card: role, name and the few lines about them. It rises in once its panel has grown. */
.member-card {
  position: absolute; left: 12px; bottom: 12px; width: min(400px, calc(100% - 24px));
  padding: 18px 20px; border-radius: 20px;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 10px 30px -12px rgb(9 40 29 / 35%);
  opacity: 0; translate: 0 16px; pointer-events: none;
  transition: opacity 300ms ease, translate 300ms var(--ease-out);
}
.member.is-open .member-card {
  opacity: 1; translate: 0 0; pointer-events: auto;
  transition: opacity 600ms ease 350ms, translate 800ms var(--ease-smooth) 350ms;
}
.member-role { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.member-name { margin-top: 4px; font-size: var(--t-h4); line-height: 1.1; font-stretch: 90%; letter-spacing: -0.015em; }
.member-about > p { padding-top: 10px; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); }

/* ------------------------------------------------------------------ questions */

.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; padding-bottom: clamp(80px, 10vw, 140px); }

.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font: 620 var(--t-h5)/1.3 var(--font-display); font-stretch: 94%; letter-spacing: -0.008em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { color: var(--green); transition: rotate 250ms var(--ease-out); }
.faq-list details[open] summary .ic { rotate: 45deg; }
.faq-list details p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 60ch; }

/* ------------------------------------------------------------------ close */

.close {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px;
  padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--line);
}
.close h2 { max-width: 12ch; }

/* ------------------------------------------------------------------ footer */

.footer { padding: 48px 0 32px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-links a { font-size: 15px; color: var(--ink-2); transition: color 200ms ease; }
.footer-links a:hover { color: var(--ink); }
.footer-base { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }

/* ------------------------------------------------------------------ motion */

/* Entrances. Each element starts hidden (only once scripts run, so the page reads fine without
   them) and main.js plays it in with the Web Animations API, then marks it .in / .loaded, which
   holds the final state. Timing lives in main.js. */
.js [data-words] .w { display: inline-block; overflow: clip; padding-bottom: 0.1em; margin-bottom: -0.1em; vertical-align: top; }
.js [data-words] .wi { display: inline-block; transform: translateY(108%); }
.js [data-enter] { opacity: 0; }
.js .h-reveal { clip-path: inset(0 0 100% 0); }
.js [data-reveal] > li, .js [data-stagger] > * { opacity: 0; }
.js .promise-list li + li::before { transform: scaleX(0); }
.js .reveal { opacity: 0; }

.js .loaded [data-words] .wi, .js .loaded [data-enter] { transform: none; opacity: 1; }
.js .h-reveal.in { clip-path: none; }
.js [data-reveal].in > li, .js [data-stagger].in > * { opacity: 1; }
.js .promise-list.in li + li::before { transform: none; }
.js .reveal.in { opacity: 1; }

/* Categories: words go from faint to full ink as the sentence is scrolled through, like reading. */
.js [data-read] .word { color: var(--ink-faint); text-decoration-color: transparent; transition: color 700ms var(--ease-smooth), text-decoration-color 700ms var(--ease-smooth); }
.js [data-read] .word.lit { color: var(--ink); }
.js [data-read] a.word.lit { text-decoration-color: var(--line); }
.js [data-read] .cats-tail .word.lit { color: var(--ink-2); }
.js [data-read] a.word.lit:hover { color: var(--green); text-decoration-color: var(--lime); }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-words] .wi { transform: none; }
  .screen { transition: opacity 200ms linear; filter: none !important; }
  .rail::after, .how-body, .how-head h3 { transition: none; }
}

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1100px) {
  .hero-field { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 48px; }
  /* One column: the phone and its steps sit centred under the copy, the dots follow them. */
  .hero-field::after {
    mask-image: radial-gradient(60% 45% at 50% 78%, #000, transparent 75%);
    -webkit-mask-image: radial-gradient(60% 45% at 50% 78%, #000, transparent 75%);
  }
  .hero-field::before { top: auto; bottom: -380px; right: 50%; translate: 50% 0; }
  .journey { grid-template-columns: auto auto; justify-content: center; }
}

@media (max-width: 900px) {
  /* Phones and tablets: a swipeable row of initials tiles, every card open beneath its tile. */
  .team-list {
    display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 320px); gap: 14px; height: auto;
    margin-inline: -16px; padding: 0 16px 8px; scroll-padding-inline: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .team-list::-webkit-scrollbar { display: none; }
  .member { scroll-snap-align: start; overflow: visible; background: none; cursor: default; }
  .member { background: none !important; }
  .member-initials { position: relative; inset: auto; aspect-ratio: 4 / 5; border-radius: 24px; padding: 0; font-size: clamp(5rem, 24vw, 7rem); overflow: hidden; }
  .member:nth-child(5n + 1) .member-initials { background: var(--forest); }
  .member:nth-child(5n + 2) .member-initials { background: var(--lime); }
  .member:nth-child(5n + 3) .member-initials { background: var(--tint); }
  .member:nth-child(5n + 4) .member-initials { background: var(--green); }
  .member:nth-child(5n + 5) .member-initials { background: var(--forest-2); }
  .member.is-open .member-initials { translate: none; scale: none; }
  .member-card { color: var(--ink); }
  .member-card { position: static; width: auto; padding: 16px 4px 0; background: none; box-shadow: none; border-radius: 0; }
  .member-card, .member.is-open .member-card { opacity: 1; translate: none; pointer-events: auto; transition: none; }
  .member-about > p { padding-top: 8px; }
  .member-name { font-size: var(--t-h5); }
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .nav-inner { gap: 16px; }

  /* Phones: a plain list, every step open, each with its own screen turned in 3D, alternating
     sides. No pinning, no bars. */
  .how { padding-bottom: 24px; }
  .how-stage { display: none; }
  .how-item { display: flex; flex-direction: column; padding: 36px 0; perspective: 1200px; --screen-w: min(240px, 62vw); --ry: 24deg; --rx: 6deg; --rz: -3deg; }
  .how-item + .how-item { border-top: 1px solid var(--line); }
  .how-item:nth-child(even) { --ry: -24deg; --rz: 3deg; }
  .how-inline { display: block; order: -1; margin: 8px auto 40px; }
  .how-head { pointer-events: none; padding: 0; }
  .how-bar { display: none; }
  .how-head h3 { color: var(--ink); }
  .how-body { grid-template-rows: 1fr; opacity: 1; }

  .mode-panel { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 36px; }

  .promise, .faq { grid-template-columns: 1fr; gap: 32px; }
  .pros-grid { grid-template-columns: 1fr; }
  .pros-grid { --screen-w: min(170px, 40vw); row-gap: 48px; }
  .pros-copy { grid-column: 1; grid-row: 1; }
  .pros-photo { grid-row: 2; width: min(300px, 64vw); justify-self: start; }
  .pros-shot { grid-row: 2; justify-self: end; margin: 0 0 -6% 0; }
  .cats-tiles { --tile-w: min(62vw, 260px); }
}

@media (max-width: 640px) {
  .hide-sm { display: none; }
  .wordmark { font-size: 18px; }
  .hero-field { padding: 32px 20px 28px; gap: 40px; }
  .hero-field::before { width: 620px; border-width: 80px; right: -330px; top: 78%; bottom: auto; translate: 0 -50%; }
  .hero .actions .btn { flex: 1 1 100%; }
  .slot-days { gap: 4px; }
  .slot-days button { padding: 8px 0 6px; font-size: 17px; border-radius: 12px; }
  .slot-days small { font-size: 10.5px; }
  .slot-times button { height: 38px; font-size: 13px; }
  .radar { min-height: 300px; }
  .radar-ring:nth-child(3), .radar-pulse { width: 300px; }
  .modes-switch { grid-template-columns: 1fr 36px 1fr; }
  .js .modes-switch::before { width: calc((100% - 12px - 36px) / 2); }
  .js .modes-switch:has([data-mode="now"][aria-selected="true"])::before { translate: calc(100% + 36px) 0; }
  .modes-switch [role="tab"] { padding: 14px 8px; gap: 6px; font-size: 1.1rem; }
  .modes-switch [role="tab"] .ic { display: none; }
  .modes-or { font-size: 13px; }

  /* Phone on top, steps as a swipeable row underneath. */
  .journey { grid-template-columns: minmax(0, 1fr); row-gap: 32px; --ry: -14deg; --rx: 6deg; --screen-w: min(260px, 70vw); }
  .journey .rail { grid-column: 1; grid-row: 2; justify-self: stretch; }
  .rail {
    grid-auto-flow: column; grid-auto-columns: max-content; gap: 8px;
    width: calc(100% + 40px); max-width: 100vw; margin: 0 -20px; padding: 0 20px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail::before, .rail::after { display: none; }
  .rail li { scroll-snap-align: center; }
  .rail button { padding: 6px 16px 6px 6px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgb(238 246 241 / 16%); gap: 10px; }
  .rail button > .ic { padding: 9px; }
  .rail small { display: none; }

  .close .actions { width: 100%; }
  .close .actions .btn { flex: 1 1 100%; }
  .pros .btn { width: 100%; }
  .faq-list details p { padding-right: 0; }
}

@media (max-width: 400px) {
  .nav-cta .btn-ink { display: none; }
}
