/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Anchors land clear of the sticky header. Sections have their own top padding; everything else gets more room. */
[id] { scroll-margin-top: 5.5rem; }
section[id] { scroll-margin-top: 4.25rem; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
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; }
h1, h2, h3 { font-weight: 600; color: var(--color-ink); text-wrap: balance; }
h1 { font-size: var(--text-display); line-height: 1.03; letter-spacing: -0.036em; }
h2 { font-size: var(--text-h2); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: var(--text-h3); line-height: 1.3; letter-spacing: -0.012em; }
p { text-wrap: pretty; }
a { color: var(--color-highlight); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.how :focus-visible, .band :focus-visible, .closing-grid > div :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: calc(var(--width-page) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 0.5rem; z-index: 100; padding: 0.6rem 1rem; border-radius: var(--radius-s); background: var(--color-surface); box-shadow: var(--shadow-card); }
.skip-link:focus { left: 0.5rem; }
.section { padding-block: var(--space-section); }
.section-tinted { background: var(--color-tint); }
.eyebrow { margin-bottom: 0.8rem; color: var(--color-highlight); font-size: var(--text-small); font-weight: 600; letter-spacing: -0.003em; }
.lede { color: var(--color-muted); font-size: var(--text-lead); line-height: 1.55; }
.section-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 3.5vw, 3rem); }
.section-head .lede { margin-top: 1.25rem; }
.section-head-center { margin-inline: auto; text-align: center; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.125rem; padding: 0.7rem 1.5rem;
  border: 1px solid var(--color-accent); border-radius: 999px;
  background: var(--color-accent); color: var(--color-on-accent);
  font: inherit; font-weight: 600; letter-spacing: -0.006em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.button:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }
.button-quiet { background: var(--color-surface); border-color: var(--color-line-strong); color: var(--color-ink); }
.button-quiet:hover { background: var(--color-tint); border-color: var(--color-line-strong); }
.button-small { min-height: 2.5rem; padding: 0.35rem 1.15rem; font-size: var(--text-small); }
.button-light { background: #fff; border-color: #fff; color: var(--color-navy); }
.button-light:hover { background: var(--color-tint-strong); border-color: var(--color-tint-strong); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 86%);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--color-line); }
.header-bar { display: flex; align-items: center; gap: 2rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--color-ink); font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.site-nav { display: flex; gap: 1.75rem; margin-right: auto; }
.site-nav a { color: var(--color-muted); font-size: var(--text-small); font-weight: 500; text-decoration: none; transition: color 0.15s ease; }
.site-nav a:hover { color: var(--color-ink); }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.demo-link { color: var(--color-ink); font-size: var(--text-small); font-weight: 500; text-decoration: none; white-space: nowrap; }
.demo-link:hover { color: var(--color-highlight); }
.menu-toggle { display: none; width: 2.5rem; height: 2.5rem; padding: 0; align-items: center; justify-content: center; border: 1px solid var(--color-line-strong); border-radius: 999px; background: var(--color-surface); color: var(--color-ink); cursor: pointer; }
.menu-panel { display: none; }

/* Hero */
.hero { position: relative; overflow: clip; padding-top: clamp(2.25rem, 5vw, 4.5rem); background: linear-gradient(180deg, #fff 0%, var(--color-tint) 46%, var(--color-tint-strong) 100%); }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60rem 30rem at 50% 62%, rgb(255 255 255 / 80%), transparent 70%); }
.hero-copy { position: relative; max-width: 58rem; margin-inline: auto; text-align: center; }
.hero-copy .lede { max-width: 42rem; margin: 1.5rem auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2.25rem; }
.hero-stage { position: relative; max-width: 1120px; margin: clamp(2.25rem, 4.5vw, 3.5rem) auto 0; }
.hero-stage .browser { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.hero-stage .browser { border-bottom: 0; box-shadow: 0 2px 4px rgb(13 36 56 / 6%), 0 -8px 64px -12px rgb(13 36 56 / 22%); }
.hero-phone { position: absolute; z-index: 2; right: -3%; bottom: clamp(1.25rem, 2.5vw, 2.25rem); width: 19.5%; }
.demo-note { display: none; margin-top: 0.85rem; color: var(--color-muted); font-size: var(--text-label); text-align: center; }

/* Device frames. Until a screenshot exists the frame shows a soft gradient, a faint grid and the mark: no fake UI. */
.has-shots .demo-note { display: block; }
.browser { overflow: hidden; border: 1px solid var(--color-line-strong); border-radius: var(--radius-m); background: #fff; box-shadow: var(--shadow-frame); }
.browser-bar { display: flex; align-items: center; gap: 0.75rem; height: 2.5rem; padding-inline: 0.9rem; border-bottom: 1px solid var(--color-line); background: #f9fbfc; }
.browser-dots { display: flex; gap: 0.375rem; flex: none; }
.browser-dots i { display: block; width: 0.625rem; height: 0.625rem; border-radius: 50%; background: var(--color-line-strong); }
.browser-url { flex: 0 1 15rem; margin-inline: auto; padding: 0.1rem 0.75rem; overflow: hidden; border: 1px solid var(--color-line); border-radius: 999px; background: #fff; color: var(--color-muted); font-size: 0.75rem; text-align: center; white-space: nowrap; }
.browser-spacer { flex: none; width: 2.625rem; }

.shot { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(150deg, var(--skel-from), var(--skel-mid) 48%, var(--skel-to)); }
.shot-desktop { aspect-ratio: 1440 / 900; }
.shot-phone { aspect-ratio: 390 / 844; }
.shot img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.shot.is-missing img { display: none; }
.shot::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--skel-grid) 1px, transparent 1px), linear-gradient(90deg, var(--skel-grid) 1px, transparent 1px); background-size: var(--skel-cell, 2.5rem) var(--skel-cell, 2.5rem); -webkit-mask-image: radial-gradient(ellipse at 50% 46%, #000 25%, transparent 82%); mask-image: radial-gradient(ellipse at 50% 46%, #000 25%, transparent 82%); }
.shot::after { content: ""; position: absolute; top: 50%; left: 50%; width: clamp(1.5rem, 5%, 2.5rem); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle closest-side, #fff 0 36%, #1a665d 38%); opacity: 0.2; transform: translate(-50%, -50%); }
.shot-phone { --skel-cell: 1.5rem; }
.shot-phone::after { width: 22%; }
.phone { overflow: hidden; border-radius: 14% / 6.5%; background: #0e2233; box-shadow: var(--shadow-phone); }
.phone .shot { margin: 3.4%; border-radius: 12% / 5.6%; }

/* Index of features under the hero */
.feature-index { border-block: 1px solid var(--color-line); background: #fff; }
.feature-index ul { display: grid; grid-template-columns: repeat(7, 1fr); }
.feature-index a { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; height: 100%; padding: 1.1rem 0.5rem; color: var(--color-ink); font-size: var(--text-small); font-weight: 500; line-height: 1.25; text-align: center; text-decoration: none; transition: background-color 0.15s ease; }
.feature-index a:hover { background: var(--color-tint); }
.feature-index a:focus-visible { outline-offset: -3px; }
.icon { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: var(--color-highlight); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* The map section: one plain answer */
.answer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.answer-grid .lede { margin-top: 1.1rem; }
.answer-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.where { display: flex; align-items: flex-start; gap: 0.9rem; padding: 1rem 1.15rem; border: 1px solid var(--color-line); border-radius: var(--radius-m); background: #fff; }
.where b { display: block; font-weight: 600; letter-spacing: -0.008em; }
.where span { color: var(--color-muted); font-size: var(--text-small); line-height: 1.45; }
.where-dot { flex: none; width: 0.7rem; height: 0.7rem; margin-top: 0.42rem; border-radius: 50%; background: var(--dot, var(--color-highlight)); box-shadow: 0 0 0 4px var(--halo, rgb(15 107 112 / 12%)); }
.where-dot-away { --dot: var(--color-sky); --halo: rgb(47 127 184 / 14%); }
.where-dot-moving { --dot: #12426b; --halo: rgb(18 66 107 / 13%); }
.where-dot-unknown { --dot: #8496a5; --halo: rgb(132 150 165 / 18%); }
.photo { overflow: hidden; border-radius: var(--radius-l); background: var(--color-tint-strong); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
/* Full-bleed photo band with the path a kit takes */
.band { position: relative; overflow: hidden; padding-block: clamp(3.75rem, 8vw, 7rem); background: var(--color-navy); color: var(--color-on-navy); isolation: isolate; }
.band-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: grayscale(0.35); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(13 36 56 / 94%) 18%, rgb(13 36 56 / 70%) 62%, rgb(13 36 56 / 50%)), linear-gradient(0deg, rgb(13 36 56 / 80%), transparent 55%); }
.band-copy { max-width: 46rem; }
.band h2 { color: #fff; font-size: clamp(2.5rem, 1.5rem + 4.4vw, 5rem); line-height: 1.02; letter-spacing: -0.036em; }
.band .lede { max-width: 38rem; margin-top: 1.25rem; color: var(--color-on-navy); }
.journey { --stop: 4rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(2.5rem, 5vw, 4rem); }
.journey li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; color: #fff; font-size: var(--text-small); font-weight: 600; letter-spacing: -0.006em; line-height: 1.25; text-align: center; }
.journey li:not(:last-child)::after { content: ""; position: absolute; top: calc(var(--stop) / 2 - 1px); left: 50%; width: 100%; height: 2px; background: linear-gradient(90deg, #7fd0cf, rgb(127 208 207 / 45%)); }
.journey-icon { position: relative; z-index: 1; display: grid; place-items: center; width: var(--stop); height: var(--stop); border: 1.5px solid #7fd0cf; border-radius: 50%; background: var(--color-navy); }
.journey-icon .icon { width: 46%; height: 46%; stroke: #bfeceb; }
.journey li:last-child .journey-icon { border-color: #fff; background: #fff; }
.journey li:last-child .icon { stroke: var(--color-navy); }

/* Product tour */
.section-join { padding-bottom: clamp(2rem, 3.5vw, 3rem); }
.section-tour { padding-top: clamp(1.5rem, 2.5vw, 2rem); }
.tour { display: grid; gap: clamp(3.25rem, 6.5vw, 5.5rem); }
.tour-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4.5vw, 4.5rem); align-items: center; }
.tour-row-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.tour-row-flip .tour-copy { order: 2; }
.tour-copy .lede { margin-top: 1rem; font-size: var(--text-body); line-height: 1.6; }
.tour-copy h2 { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); line-height: 1.1; }
.ticks { display: grid; gap: 0.55rem; margin-top: 1.1rem; }
.ticks li { position: relative; padding-left: 1.75rem; font-size: var(--text-small); line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; top: 0.32rem; left: 0; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--color-tint-teal); }
.ticks li::after { content: ""; position: absolute; top: 0.56rem; left: 0.3rem; width: 0.46rem; height: 0.26rem; border-left: 1.6px solid var(--color-highlight); border-bottom: 1.6px solid var(--color-highlight); transform: rotate(-45deg); }
.stage { overflow: hidden; padding: clamp(1.25rem, 3.4vw, 3rem) clamp(1.25rem, 3.4vw, 3rem) 0; border-radius: var(--radius-l); background: linear-gradient(150deg, var(--color-tint-strong), var(--color-tint)); }
.stage .browser { border-bottom: 0; border-radius: var(--radius-m) var(--radius-m) 0 0; }
.stage-flip { background: linear-gradient(210deg, var(--color-tint-teal), var(--color-tint)); }
.stage-phones { display: flex; justify-content: center; gap: clamp(1rem, 3vw, 2.25rem); padding: clamp(2rem, 4vw, 3.5rem) 1rem 0; background: linear-gradient(160deg, var(--color-tint-teal), var(--color-tint-strong)); }
.stage-phones .phone { flex: 0 1 15.5rem; align-self: flex-start; }
.stage-phones .phone + .phone { margin-top: 3rem; }
.stage-phones-crop { max-height: 28rem; }
.tour-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.tour-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--color-line); border-radius: var(--radius-l); background: #fff; }
.tour-card .tour-copy { flex: 1; padding: clamp(1.4rem, 2.8vw, 2.25rem); }
.tour-card h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); }
.tour-card .stage { border-radius: 0; }

/* How it works */
.how { background: var(--color-navy); color: var(--color-on-navy); }
.how h2 { color: #fff; }
.how .lede { color: var(--color-on-navy); }
.how .eyebrow { color: #7fd0cf; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.steps li { position: relative; padding-top: 3.75rem; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; z-index: 1; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid rgb(127 208 207 / 55%); border-radius: 50%; background: var(--color-navy); color: #fff; font-weight: 600; font-size: var(--text-small); }
.steps li::after { content: ""; position: absolute; top: 1.25rem; left: 2.5rem; right: -2rem; height: 1px; background: rgb(219 231 240 / 22%); }
.steps li:last-child::after { display: none; }
.steps h3 { color: #fff; }
.steps p { margin-top: 0.55rem; font-size: var(--text-small); line-height: 1.55; }

/* People: tall photo tiles with the copy on the image */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 1.6vw, 1.25rem); }
.tile { position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 4.9; overflow: hidden; border-radius: var(--radius-l); background: var(--color-navy); color: var(--color-on-navy); isolation: isolate; }
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(13 36 56 / 96%) 12%, rgb(13 36 56 / 55%) 50%, rgb(13 36 56 / 8%) 85%); }
.tile-body { padding: clamp(1.25rem, 2.4vw, 2rem); }
.tile h3 { color: #fff; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); letter-spacing: -0.024em; }
.tile p { margin-top: 0.5rem; font-size: var(--text-small); line-height: 1.5; }
.stock-note { margin-top: 0.9rem; color: var(--color-muted); font-size: var(--text-label); }

/* Trust */
.trust-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2.5rem, 6vw, 6rem); }
.trust-grid h2 { font-size: clamp(1.9rem, 1.45rem + 1.9vw, 2.875rem); }
.trust-grid .lede { margin-top: 1.25rem; font-size: var(--text-body); }
.trust-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.75rem, 1.6vw, 1.25rem); }
.trust-card { padding: 1.35rem 1.5rem; border: 1px solid var(--color-line); border-radius: var(--radius-m); background: #fff; }
.trust-card h3 { margin-top: 0.7rem; font-size: 1.125rem; }
.trust-card p { margin-top: 0.45rem; color: var(--color-muted); font-size: var(--text-small); line-height: 1.55; }

/* Closing band and form */
.closing { position: relative; overflow: hidden; background: var(--color-navy); color: var(--color-on-navy); isolation: isolate; }
.closing-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; filter: grayscale(1) contrast(1.05); opacity: 0.8; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(13 36 56 / 94%) 25%, rgb(16 58 92 / 62%) 100%); }
.closing-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.closing h2 { color: #fff; font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); }
.closing .lede { margin-top: 1.25rem; color: var(--color-on-navy); }
.closing a:not(.button) { color: #fff; }
.closing-login { margin-top: 1.5rem; font-size: var(--text-small); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: clamp(1.4rem, 3vw, 2.25rem); border-radius: var(--radius-l); background: #fff; color: var(--color-ink); box-shadow: 0 30px 70px -20px rgb(0 0 0 / 45%); }
.field { display: grid; gap: 0.35rem; align-content: start; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: var(--text-small); font-weight: 600; letter-spacing: -0.004em; }
.optional, .field-hint { color: var(--color-muted); font-weight: 400; }
.field-hint { font-size: var(--text-label); }
input, select, textarea { width: 100%; min-height: 2.875rem; padding: 0.55rem 0.8rem; border: 1px solid var(--color-line-strong); border-radius: var(--radius-s); background: #fff; color: var(--color-ink); font: inherit; font-size: 1rem; transition: border-color 0.15s ease; }
input:hover, select:hover, textarea:hover { border-color: #9fb3c2; }
textarea { min-height: 6rem; resize: vertical; }
.trap { position: absolute; left: -9999px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; }
.form-status { flex: 1 1 14rem; font-size: var(--text-small); }
.form-status[data-state="error"] { color: var(--color-error); }
.form-status[data-state="ok"] { color: var(--color-ok); }

/* Footer */
.site-footer { padding-block: clamp(2rem, 4vw, 3rem); font-size: var(--text-small); }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.footer-links a { color: var(--color-muted); text-decoration: none; }
.footer-links a:hover { color: var(--color-ink); text-decoration: underline; }
.footer-legal { width: 100%; padding-top: 1.25rem; border-top: 1px solid var(--color-line); color: var(--color-muted); font-size: var(--text-label); }

/* Credits page */
.credits { max-width: 52rem; }
.credits h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.credits > p { margin-top: 1.25rem; color: var(--color-muted); }
.credits ul { display: grid; gap: 0.5rem; margin-top: 1.75rem; }
.credits li { padding-bottom: 0.5rem; border-bottom: 1px solid var(--color-line); }

/* Reveal. main.js adds .pre-reveal only to elements below the fold, and never under reduced motion. */
.pre-reveal { opacity: 0; transform: translateY(18px); }
.reveal-in { opacity: 1; transform: none; transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* No screenshots yet (the hero image failed): empty frames stay short. Any screenshot that loads gets its true 1440x900. */
.no-shots .shot-desktop:not(.is-loaded) { aspect-ratio: 16 / 7.2; }
.no-shots .hero-stage .shot-desktop:not(.is-loaded) { aspect-ratio: 16 / 7.6; }
@media (max-width: 640px) {
  .no-shots .hero-stage .shot-desktop:not(.is-loaded) { aspect-ratio: 1440 / 900; }
}

/* On phones the detail lists start collapsed (main.js). From tablet up they are always open and the summary is hidden. */
.more summary { display: none; }
@media (max-width: 640px) {
  .more { margin-top: 0.75rem; }
  .more summary { position: relative; display: block; padding: 0.4rem 1.5rem 0.4rem 0; color: var(--color-highlight); font-size: var(--text-small); font-weight: 600; cursor: pointer; list-style: none; }
  .more summary::-webkit-details-marker { display: none; }
  .more summary::after { content: ""; position: absolute; right: 0.3rem; top: 0.72rem; width: 0.5rem; height: 0.5rem; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg); }
  .more[open] summary::after { transform: translateY(0.2rem) rotate(225deg); }
}

/* Tablet */
@media (max-width: 1040px) {
  .site-nav, .demo-link { display: none; }
  .header-bar { justify-content: space-between; }
  .menu-toggle { display: inline-flex; }
  .header-actions { gap: 0.6rem; }
  .menu-panel.is-open { display: grid; gap: 0.15rem; padding: 0.5rem var(--gutter) 1rem; border-top: 1px solid var(--color-line); background: #fff; }
  .menu-panel a { padding: 0.7rem 0; color: var(--color-ink); font-weight: 500; text-decoration: none; }
  .feature-index ul { grid-template-columns: repeat(4, 1fr); }
  .answer-grid, .tour-row, .tour-row-flip, .trust-grid, .closing-grid, .tour-pair { grid-template-columns: minmax(0, 1fr); }
  .tour-row-flip .tour-copy { order: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(2)::after { display: none; }
}

/* Phone */
@media (max-width: 640px) {
  .hero-actions .button { flex: 1 1 100%; }
  /* The desktop frame runs off the right edge, so the map stays readable behind the phone. */
  .hero-stage { margin-right: calc(-1 * var(--gutter)); }
  .hero-stage .browser { width: 158%; }
  .hero-stage .shot img { object-position: top left; }
  .hero-phone { right: var(--gutter); bottom: 1.25rem; width: 40%; }
  .demo-note { text-align: left; }
  /* One swipeable row instead of a tall grid of links. */
  .feature-index .wrap { padding-inline: 0; }
  .feature-index ul { display: flex; gap: 0.25rem; padding-inline: 0.75rem; overflow-x: auto; scrollbar-width: none; }
  .feature-index ul::-webkit-scrollbar { display: none; }
  .feature-index li { flex: none; }
  .feature-index a { flex-direction: row; gap: 0.45rem; padding: 0.85rem 0.6rem; white-space: nowrap; }
  .feature-index .icon { width: 1.2rem; height: 1.2rem; }
  .journey { --stop: 3rem; margin-inline: -0.4rem; }
  .journey li { gap: 0.55rem; font-size: 0.75rem; }
  .answer-list { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .where { padding: 0.75rem 0.95rem; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .steps li { padding: 0 0 0 3.5rem; }
  .steps li::after { display: none; }
  .tiles, .trust-cards { grid-template-columns: minmax(0, 1fr); }
  .tile { aspect-ratio: 16 / 10.5; }
  .stage { padding: 0.9rem 0.9rem 0; border-radius: var(--radius-m); }
  .tour { gap: 2.5rem; }
  .tile img { object-position: 50% 30%; }
  .trust-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.85rem; padding: 1rem 1.1rem; }
  .trust-card h3 { margin-top: 0; }
  .trust-card p { grid-column: 2; margin-top: 0.2rem; }
  .stage-phones .phone { flex-basis: 46%; }
  .stage-phones .phone + .phone { margin-top: 1.5rem; }
  .stage-phones-crop { max-height: 21rem; }
  .form-actions .button { width: 100%; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}
