/* Coysta — white on black, gradient accents */
:root {
  --bg: #000;
  --fg: #f5f5f7;
  --muted: #a9adb8;          /* 8.9:1 on black */
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .22);
  --surface: rgba(12, 14, 20, .62);
  --surface-solid: #0b0d12;
  --g1: linear-gradient(90deg, #c26bff, #ff6fa8 45%, #ffa63d 85%);
  --g2: linear-gradient(90deg, #26c6f9, #3ee0c0);
  --g-all: linear-gradient(90deg, #c26bff, #ff6fa8 35%, #ffa63d 60%, #3ee0c0 80%, #26c6f9);
  --error: #ff8a8a;
  --radius: 20px;
  --radius-sm: 12px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .18s;
  --t-med: .45s;
  --t-slow: .9s;
  --wrap: 1180px;
  --z-scene: 0; --z-content: 10; --z-nav: 100; --z-progress: 110;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: #000; color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 0; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 17px/1.6 Inter, -apple-system, "SF Pro Text", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
em { font-style: normal; }
:focus-visible { outline: 2px solid #3ee0c0; outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top var(--t-fast); }
.skip:focus { top: 16px; }

.g1, .g2 { -webkit-background-clip: text; background-clip: text; color: transparent; }
.g1 { background-image: var(--g1); }
.g2 { background-image: var(--g2); }

/* ---------- 3D scene ---------- */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: var(--z-scene); pointer-events: none; }
.scene-fallback {
  position: fixed; inset: 0; z-index: var(--z-scene); pointer-events: none; opacity: .0; transition: opacity 1s;
  background:
    radial-gradient(ellipse 40% 45% at 78% 30%, rgba(120, 60, 200, .38), transparent 70%),
    radial-gradient(ellipse 45% 40% at 85% 75%, rgba(20, 110, 150, .34), transparent 70%),
    radial-gradient(ellipse 35% 35% at 20% 90%, rgba(16, 90, 75, .25), transparent 70%);
}
.no-webgl .scene-fallback { opacity: 1; }
.no-webgl #scene { display: none; }

main, .footer { position: relative; z-index: var(--z-content); }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* ---------- progress + nav ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: var(--z-progress); }
.progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: var(--g-all); }

.nav {
  position: fixed; inset: 2px 0 auto 0; z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px max(20px, calc((100vw - var(--wrap)) / 2));
  transition: background var(--t-med), border-color var(--t-med), padding var(--t-med);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck { background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); padding-block: 10px; }
.nav__logo { display: flex; align-items: center; min-height: 44px; }
.nav__logo img { width: 126px; height: auto; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a:not(.btn) {
  position: relative; padding: 12px 14px; font-size: 15px; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: color var(--t-fast);
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px;
  background: var(--g2); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--t-med) var(--ease-out);
}
.nav__links a:not(.btn):hover, .nav__links a.is-active:not(.btn) { color: var(--fg); }
.nav__links a.is-active:not(.btn)::after { transform: scaleX(1); }
.nav__cta { margin-left: 10px; }
.nav__toggle { display: none; }
.nav__where { display: none; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 14px 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: #fff; color: #000; font: 600 16px/1.2 inherit; font-family: inherit; text-decoration: none;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med);
  touch-action: manipulation;
}
.btn::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  background: var(--g-all); filter: blur(14px); opacity: 0; transition: opacity var(--t-med);
}
.btn:hover::before, .btn:focus-visible::before { opacity: .75; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--small { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost::before { display: none; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px #fff; }
.btn[disabled] { opacity: .5; cursor: wait; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; text-decoration: none; color: var(--fg); }
.link-arrow span { transition: transform var(--t-med) var(--ease-out); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- type ---------- */
.eyebrow, .label {
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.label::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--g-all); }
.h2 { font-size: clamp(34px, 5.2vw, 62px); line-height: 1.08; letter-spacing: -.025em; font-weight: 600; max-width: 17ch; text-wrap: balance; }
.lead { margin-top: 22px; font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); max-width: 56ch; }
.note { margin-top: 40px; color: var(--muted); font-size: 16px; }
.closer { margin-top: 64px; font-size: clamp(24px, 3.2vw, 38px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; max-width: 24ch; text-wrap: balance; }

/* ---------- hero ---------- */
.hero { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; padding: 120px 0 96px; position: relative; }
.hero__inner { display: grid; gap: 0; }
.hero__title { margin-top: 22px; font-size: clamp(42px, 7.4vw, 96px); line-height: 1.03; letter-spacing: -.035em; font-weight: 600; }
.hero__title .line { display: block; }
.hero__sub { margin-top: 28px; max-width: 54ch; font-size: clamp(18px, 1.7vw, 21px); color: #c9ccd4; }
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero__trust { margin-top: 28px; font-size: 15px; color: var(--muted); }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 44px; height: 44px; margin-left: -22px; display: grid; place-items: center; }
.scroll-cue span { width: 22px; height: 36px; border: 1.5px solid var(--line-strong); border-radius: 12px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70%, 100% { transform: translateY(12px); opacity: 0; } }

/* ---------- sections ---------- */
.section { --pad: clamp(96px, 14vw, 180px); padding: var(--pad) 0; position: relative; }
/* Menu links land with the section label just under the sticky menu, not at the top of the section's padding. */
.section[id] { scroll-margin-top: calc(100px - var(--pad)); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.split__text > p + p { margin-top: 18px; }
.split__text > p:not(.label):not(.lead):not(.direct) { color: #c9ccd4; max-width: 58ch; }
.split__text > .h2 + p { margin-top: 24px; }

/* cards */
.cards { display: grid; gap: 20px; margin-top: 56px; perspective: 1400px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; padding: 30px 28px 32px; border-radius: var(--radius);
  background: var(--surface); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity var(--t-med);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .11), transparent 60%);
}
.card::after { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 2px; border-radius: 2px; background: var(--g-all); opacity: .0; transition: opacity var(--t-med); }
.card:hover { border-color: var(--line-strong); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card.is-tilting { transition: border-color var(--t-med); }
.card__num { display: block; font-size: 14px; font-weight: 600; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.card h3 { margin-top: 18px; font-size: 23px; line-height: 1.25; letter-spacing: -.01em; font-weight: 600; }
.card p { margin-top: 12px; color: #c9ccd4; }
.card--tall { padding-bottom: 28px; display: flex; flex-direction: column; }
.card--tall h3 { margin-top: 22px; }
.card__tag { margin-top: auto; padding-top: 26px; font-size: 14px; font-weight: 600; background-image: var(--g2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.icon { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* steps */
.steps { list-style: none; margin: 40px 0 40px; padding: 0; display: grid; gap: 26px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.steps__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; border: 1px solid var(--line-strong); background: var(--surface); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.steps p { margin-top: 6px; color: var(--muted); max-width: 48ch; }

/* sample map */
.split__visual { perspective: 1400px; }
.map {
  --rx: 6deg; --ry: -10deg; --mx: 50%; --my: 50%;
  position: relative; padding: 26px; border-radius: 24px; border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(22, 26, 36, .88), rgba(8, 10, 14, .88));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform var(--t-slow) var(--ease-out);
  box-shadow: 0 40px 90px -30px rgba(38, 198, 249, .28), 0 0 0 1px rgba(255, 255, 255, .03) inset;
}
.map.is-tilting { transition: none; }
.map__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.map__title { font-weight: 600; font-size: 17px; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.map__rows { list-style: none; margin: 0; padding: 0; }
.map__rows li { display: grid; grid-template-columns: 30px auto 1fr; gap: 8px 10px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.map__rank { grid-row: span 2; font-weight: 600; font-size: 20px; background-image: var(--g2); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.map__name { grid-column: 2 / -1; font-weight: 500; line-height: 1.35; }
.map__rows .pill { justify-self: start; }
.pill { font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: rgba(62, 224, 192, .12); color: #8ff0db; white-space: nowrap; }
.pill--dim { background: rgba(255, 255, 255, .07); color: #c9ccd4; }
.map__foot { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.stat { padding: 30px 0 0; border-top: 1px solid var(--line-strong); }
.stat__big { display: inline-block; font-size: clamp(48px, 6.4vw, 84px); line-height: 1; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat p { margin-top: 16px; color: #c9ccd4; max-width: 34ch; }

/* values */
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.values li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.values li:last-child { border-bottom: 1px solid var(--line); }
.values span { font-size: 14px; font-weight: 600; letter-spacing: .1em; color: var(--muted); padding-top: 4px; font-variant-numeric: tabular-nums; }
.values h3 { font-size: 20px; font-weight: 600; }
.values p { margin-top: 6px; color: var(--muted); }

/* ---------- form ---------- */
.form {
  margin-top: 40px; padding: 28px; border-radius: 24px; border: 1px solid var(--line-strong);
  background: var(--surface); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); max-width: 580px;
}
.form__progress { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.form__progress span { display: block; height: 100%; width: 100%; background: var(--g-all); transform: scaleX(.333); transform-origin: 0 50%; transition: transform var(--t-med) var(--ease-out); }
.form__count { margin-top: 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step.is-active { animation: stepIn var(--t-med) var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.step legend { padding: 0; margin: 10px 0 6px; font-size: clamp(22px, 2.4vw, 27px); font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.hint { color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: 15px; font-weight: 500;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.chip span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--muted); flex: none; transition: background var(--t-fast), border-color var(--t-fast); }
.chip:hover span { border-color: #fff; }
.chip input:checked + span { background: #fff; color: #000; border-color: #fff; }
.chip input:checked + span::before { border-color: #000; background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat; }
.chip input:focus-visible + span { outline: 2px solid #3ee0c0; outline-offset: 3px; }
.field { margin-top: 18px; }
.field label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.optional { color: var(--muted); font-weight: 400; }
.field input {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: rgba(0, 0, 0, .5); color: var(--fg); font: inherit; font-size: 16px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input::placeholder { color: #7d828e; }
.field input:focus { outline: none; border-color: #3ee0c0; box-shadow: 0 0 0 3px rgba(62, 224, 192, .22); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.error { margin-top: 8px; color: var(--error); font-size: 14px; font-weight: 500; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin-top: 22px; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #3ee0c0; }
.form__actions { display: flex; gap: 12px; margin-top: 28px; }
.form__actions .btn:not(.btn--ghost) { flex: 1; }
.form__done { margin-top: 40px; padding: 32px 28px; border-radius: 24px; border: 1px solid var(--line-strong); background: var(--surface); max-width: 580px; }
.form__done h3 { font-size: 26px; font-weight: 600; background-image: var(--g2); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.form__done p { margin-top: 10px; color: #c9ccd4; }
.direct { margin-top: 24px; color: var(--muted); font-size: 16px; }
[hidden] { display: none !important; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0 44px; background: rgba(0, 0, 0, .6); font-size: 15px; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; }
.footer a { text-underline-offset: 3px; }
.footer a:hover { color: var(--fg); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity var(--t-slow) var(--ease-out) var(--d, 0s), transform var(--t-slow) var(--ease-out) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .split__visual.reveal { transform: translate3d(0, 28px, 0) scale(.96); }
.js .split__visual.reveal.in { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split__visual--empty { display: none; }
  .cards--3, .stats { grid-template-columns: 1fr; }
  .map { --rx: 0deg; --ry: 0deg; }
  .stat p { max-width: 52ch; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav__toggle {
    display: grid; place-items: center; width: 48px; height: 48px; margin-right: -10px; padding: 0;
    background: none; border: 0; cursor: pointer; z-index: 2;
  }
  .nav__toggle-bars, .nav__toggle-bars::before { display: block; width: 24px; height: 2px; border-radius: 2px; background: #fff; transition: transform var(--t-med) var(--ease-out); }
  .nav__toggle-bars { transform: translateY(-4px); position: relative; }
  .nav__toggle-bars::before { content: ""; position: absolute; top: 8px; left: 0; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars { transform: translateY(0) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(-8px) rotate(-90deg); }
  .nav__logo { z-index: 2; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; align-items: stretch; justify-content: center; gap: 4px;
    padding: 96px 28px 40px; background: rgba(0, 0, 0, .975); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity var(--t-med), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__links a:not(.btn) { font-size: 30px; font-weight: 600; letter-spacing: -.02em; padding: 14px 0; color: var(--fg); }
  .nav__links a:not(.btn)::after { left: 0; right: auto; width: 48px; bottom: 6px; }
  .nav__cta { margin: 24px 0 0; min-height: 56px; font-size: 17px; }
  .form { padding: 22px 18px; }
  .hero { padding-top: 110px; }
}
@media (max-width: 420px) {
  .form__actions { flex-direction: column-reverse; }
  .map { padding: 20px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .card, .map { transform: none !important; }
}

/* ---------- first-visit intro: the pain, then blast-off ---------- */
#intro { display: none; }
.intro #intro { display: block; height: 340vh; position: relative; }
.intro__stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; display: grid; place-items: center; }
.intro__alarm {
  position: absolute; inset: 0; pointer-events: none; opacity: var(--alarm, 1);
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, transparent 40%, rgba(120, 14, 14, .34) 100%),
    linear-gradient(#0b0b0d, #0b0b0d);
  animation: alarm 2.4s ease-in-out infinite;
}
@keyframes alarm { 50% { filter: brightness(1.35); } }
.intro__cards { position: absolute; inset: 0 0 92px 0; }
.pain { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; will-change: transform, opacity; }
.pain__in {
  --burn: 0;
  position: absolute; left: 0; top: 0; width: 276px; transform: translate(-50%, -50%) rotate(var(--r));
  display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center;
  padding: 13px 14px; border-radius: 18px;
  background: rgba(34, 34, 38, .94); border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .9), 0 0 calc(var(--burn) * 46px) rgba(255, 140, 60, calc(var(--burn) * .9));
  animation: painIn .55s var(--ease-out) both; animation-delay: calc(var(--i) * .11s + .15s);
}
@keyframes painIn { from { opacity: 0; transform: translate(-50%, -30%) rotate(var(--r)) scale(.86); } }
.pain__ico { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: rgba(255, 69, 58, .16); fill: none; stroke: #ff6b61; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pain--buzz .pain__ico { animation: buzz 1.6s linear infinite; animation-delay: calc(var(--i) * .3s); }
@keyframes buzz { 0%, 14%, 100% { transform: none; } 2%, 6%, 10% { transform: rotate(-9deg) translateX(-1px); } 4%, 8%, 12% { transform: rotate(9deg) translateX(1px); } }
.pain__txt { min-width: 0; line-height: 1.3; }
.pain__txt b { display: block; font-size: 14.5px; font-weight: 600; color: #f5f5f7; }
.pain__txt span { display: block; font-size: 13px; color: #a9adb8; overflow-wrap: anywhere; }
.pain__badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #ff453a; color: #fff; font-size: 12.5px; font-weight: 700; font-style: normal; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.intro__copy { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 0 24px; pointer-events: none; }
.intro__copy--pain { opacity: var(--o, 1); }
.intro__copy--pain::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(760px, 96vw); height: 300px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(11, 11, 13, .96) 55%, transparent); z-index: -1; }
.intro__copy--free { opacity: var(--o, 0); transform: scale(var(--s, .9)); }
.intro__h { font-size: clamp(34px, 6vw, 76px); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; text-wrap: balance; }
.intro__copy .eyebrow { margin-bottom: 18px; color: #ff8a80; }
.intro__p { margin-top: 18px; font-size: clamp(18px, 2vw, 24px); color: #c9ccd4; }
.intro__cue { position: absolute; left: 0; right: 0; bottom: 40px; text-align: center; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #f5f5f7; opacity: var(--o, 1); pointer-events: none; }
.intro__cue span { display: inline-block; animation: nudge 1.4s var(--ease-out) infinite; }
@keyframes nudge { 50% { transform: translateY(6px); } }
.intro__skip {
  position: absolute; right: 18px; bottom: 18px; min-height: 44px; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  background: rgba(0, 0, 0, .5); color: var(--muted); border: 1px solid var(--line-strong); font: 500 14px/1 inherit; font-family: inherit;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.intro__skip:hover { color: #fff; border-color: #fff; }
/* keep the menu out of the way until the intro has played */
.nav, .progress { transition: opacity var(--t-med), visibility 0s, background var(--t-med), border-color var(--t-med), padding var(--t-med); }
.in-intro .nav, .in-intro .progress { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--t-med), visibility 0s linear var(--t-med); }

/* more products */
.more { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.more__label { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.more__list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 28px; }
.more__list h3 { font-size: 18px; font-weight: 600; }
.more__list p { margin-top: 6px; color: var(--muted); font-size: 16px; }

@media (max-width: 960px) { .more__list { grid-template-columns: 1fr; } }
/* colour floods in as the pain clears */
.intro__stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--neb, 0);
  background:
    radial-gradient(ellipse 55% 60% at 22% 30%, rgba(150, 70, 255, .34), transparent 70%),
    radial-gradient(ellipse 50% 55% at 80% 68%, rgba(38, 198, 249, .28), transparent 70%),
    radial-gradient(ellipse 45% 40% at 62% 18%, rgba(255, 111, 168, .2), transparent 70%),
    radial-gradient(ellipse 40% 40% at 30% 85%, rgba(62, 224, 192, .18), transparent 70%);
}
.pain__txt span span { display: inline; }

/* ---------- legal pages ---------- */
.legal-nav { position: sticky; top: 0; z-index: var(--z-nav); background: rgba(0, 0, 0, .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.legal-nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.legal-nav .link-arrow:hover span { transform: translateX(-5px); }
.legal { padding: 64px 0 96px; }
.legal__inner { max-width: 720px; }
.legal h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.08; letter-spacing: -.025em; font-weight: 600; }
.legal__date { margin-top: 12px; color: var(--muted); font-size: 15px; }
.legal h2 { margin-top: 44px; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.legal p, .legal li { color: #c9ccd4; }
.legal h2 + p, .legal p + p, .legal p + ul, .legal ul + p, .legal .legal__date + p { margin-top: 14px; }
.legal .legal__date + p { margin-top: 32px; }
.legal ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.legal strong { color: var(--fg); font-weight: 600; }
.legal a { text-underline-offset: 3px; }
.legal a:hover { color: #3ee0c0; }

/* =====================================================================
   PHONE (under 700px): lock-screen intro, helper icons, swipe cards,
   floating audit button. Desktop is untouched by this block.
   ===================================================================== */
.morph-slot, .dock, .pain-more, .pager { display: none; }
.intro__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }

@media (max-width: 699px) {
  body { font-size: 17px; }

  /* --- intro: a lock screen full of notifications --- */
  .intro__copy--pain { place-content: start; text-align: left; padding: calc(70px + env(safe-area-inset-top)) 22px 0; }
  .intro__copy--pain::before { display: none; }
  .intro__copy--pain .eyebrow { margin-bottom: 8px; }
  .intro__copy--pain .intro__h { font-size: clamp(27px, 8vw, 32px); line-height: 1.12; font-weight: 700; letter-spacing: -.03em; }
  .intro__cards {
    inset: auto 12px auto 12px; top: calc(196px + env(safe-area-inset-top)); bottom: calc(210px + env(safe-area-inset-bottom));
    display: flex; flex-direction: column; gap: 8px;
    -webkit-mask-image: linear-gradient(#000 84%, transparent); mask-image: linear-gradient(#000 84%, transparent);
  }
  .pain { position: relative; left: auto; top: auto; width: auto; height: auto; flex: none; will-change: transform, opacity, filter; }
  .pain--d { display: none; }
  .pain__in {
    position: relative; left: auto; top: auto; width: 100%; transform: none;
    grid-template-columns: 38px 1fr auto; gap: 12px; padding: 12px 14px; border-radius: 22px;
    background: rgba(48, 48, 52, .74); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, .07);
    box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .9), 0 0 calc(var(--burn) * 34px) rgba(170, 120, 255, calc(var(--burn) * .85));
    animation-name: painDrop; animation-duration: .6s;
  }
  @keyframes painDrop { from { opacity: 0; transform: translateY(-16px) scale(.97); } }
  .pain__ico { width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: var(--app, #30d158); stroke: #fff; stroke-width: 1.9; }
  .pain:nth-child(1) { --app: #30d158; } .pain:nth-child(2) { --app: #0a84ff; } .pain:nth-child(3) { --app: #30d158; }
  .pain:nth-child(4) { --app: #30d158; } .pain:nth-child(5) { --app: #0a84ff; } .pain:nth-child(6) { --app: #ff453a; }
  .pain__txt b { font-size: 15px; }
  .pain__txt > span { font-size: 14px; color: #c7c7cc; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pain__badge { min-width: 21px; height: 21px; font-size: 12px; }
  .pain-more { display: block; position: relative; height: 22px; flex: none; }
  .pain-more span { position: absolute; left: 12px; right: 12px; top: 0; height: 10px; border-radius: 0 0 18px 18px; background: rgba(48, 48, 52, .6); }
  .pain-more span + span { left: 26px; right: 26px; top: 10px; background: rgba(48, 48, 52, .38); }
  .intro__alarm { background: radial-gradient(ellipse 90% 70% at 50% 40%, transparent 30%, rgba(110, 16, 16, .32) 100%), linear-gradient(#0b0b0d, #0b0b0d); }
  .intro__copy--free .intro__h { font-size: 44px; font-weight: 700; }
  .intro__cue { bottom: calc(96px + env(safe-area-inset-bottom)); font-size: 13px; letter-spacing: .1em; }
  .intro__skip { bottom: calc(14px + env(safe-area-inset-bottom)); right: 14px; }

  /* --- room above the hero headline for the orb --- */
  .morph-slot--hero { display: block; height: clamp(150px, 26svh, 230px); }

  /* --- hero --- */
  .hero { min-height: 100svh; align-items: flex-start; padding: calc(78px + env(safe-area-inset-top)) 0 22svh; }
  .hero__title { margin-top: 14px; font-size: clamp(40px, 11.6vw, 48px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
  .hero__sub { margin-top: 16px; font-size: 18px; line-height: 1.5; }
  .hero__cta { margin-top: 26px; flex-direction: column; align-items: stretch; gap: 4px; }
  .hero__cta .btn { width: 100%; min-height: 54px; font-size: 17px; }
  .hero__cta .link-arrow { justify-content: center; }
  .hero__trust { margin-top: 14px; text-align: center; font-size: 14px; }
  .scroll-cue { display: none; }

  /* --- type and rhythm --- */
  /* tall open gaps between sections, where the dots change shape in plain view */
  .section { --pad: max(72px, 22svh); }
  .section[id] { scroll-margin-top: calc(84px - var(--pad)); }
  .label { margin-bottom: 12px; font-size: 12px; }
  .h2 { font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
  .lead { margin-top: 14px; font-size: 17px; line-height: 1.5; }
  .closer { margin-top: 36px; font-size: 26px; font-weight: 700; }
  .split { gap: 28px; }
  .steps { margin: 28px 0 30px; gap: 20px; }
  .steps h3 { font-size: 18px; }
  .card { border-radius: 22px; padding: 24px 22px 26px; }
  .card h3 { font-size: 21px; margin-top: 14px; }
  .map { border-radius: 22px; }
  .more { margin-top: 30px; padding-top: 22px; }
  .values li { padding: 18px 0; }
  .note { margin-top: 26px; }

  /* --- cards become a swipeable row, like the App Store --- */
  .cards--3 {
    display: flex; overflow-x: auto; gap: 12px; margin: 30px -20px 0; padding: 4px 20px 6px;
    scroll-snap-type: x mandatory; scroll-padding-inline: 20px; overscroll-behavior-x: contain;
    scrollbar-width: none; perspective: none; -webkit-overflow-scrolling: touch;
  }
  .cards--3::-webkit-scrollbar { display: none; }
  .cards--3 > .card { flex: 0 0 84%; scroll-snap-align: start; }
  .cards--3:focus-visible { outline-offset: -2px; }
  .pager { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
  .pager i { width: 7px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .26); transition: width .3s var(--ease-out), background .3s; }
  .pager i.on { width: 20px; background: #fff; }

  /* --- form and footer --- */
  .form { margin-top: 24px; border-radius: 22px; }
  .footer { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* --- floating audit button --- */
  .dock {
    display: flex; position: fixed; z-index: var(--z-nav); left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
    min-height: 54px; align-items: center; justify-content: center; border-radius: 999px;
    background: #fff; color: #000; font-weight: 600; font-size: 17px; text-decoration: none;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .85), 0 0 26px -4px rgba(150, 110, 255, .45);
    transform: translateY(calc(100% + 40px)); transition: transform .5s var(--ease-out);
    -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  }
  .dock.is-on { transform: none; }
  .dock.is-on:active { transform: scale(.97); transition-duration: .12s; }
  .in-intro .dock { transform: translateY(calc(100% + 40px)); }
}

/* ---------- phones: clean, Apple-style finish (Nov 17, 2026) ----------
   Materials, grouped lists, soft reveals and native-feeling controls.
   The dots and patterns behind the page are unchanged. */
@media (max-width: 699px) {
  :root {
    --mat: rgba(28, 28, 30, .34);          /* iOS "thin material" on black */
    --mat-line: rgba(255, 255, 255, .08);
    --sep: rgba(84, 84, 88, .55);           /* iOS hairline separator */
    --fill: rgba(118, 118, 128, .24);       /* iOS field fill */
  }
  body { -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }

  /* glass menu bar, always on */
  .nav, .nav.is-stuck {
    padding: calc(6px + env(safe-area-inset-top)) 20px 6px;
    background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: .5px solid var(--sep);
  }
  .nav__logo img { width: 108px; }
  .nav.is-open { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

  /* menu: a full-screen sheet with a grouped list */
  .nav__links { justify-content: flex-start; padding: calc(92px + env(safe-area-inset-top)) 16px 40px; gap: 0; background: rgba(0, 0, 0, .9); -webkit-backdrop-filter: blur(30px) saturate(1.6); backdrop-filter: blur(30px) saturate(1.6); transform: scale(.98); }
  .nav__links a:not(.btn) {
    position: relative; display: flex; align-items: center; justify-content: space-between;
    min-height: 56px; padding: 0 18px; font-size: 19px; font-weight: 500; letter-spacing: -.01em;
    background: var(--mat); border-bottom: .5px solid var(--sep);
    opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), background .15s;
  }
  .nav__links a:not(.btn):first-child { border-radius: 14px 14px 0 0; }
  .nav__links a:nth-child(3) { border-radius: 0 0 14px 14px; border-bottom: 0; }
  .nav__links a:not(.btn)::after {
    content: ""; position: static; width: 8px; height: 8px; background: none; transform: rotate(45deg);
    border-top: 2px solid #5a5a5e; border-right: 2px solid #5a5a5e; border-radius: 1px;
  }
  .nav__links a.is-active:not(.btn)::after { transform: rotate(45deg); }
  .nav__links a:not(.btn):active { background: rgba(58, 58, 60, .9); }
  .nav__cta { margin-top: 20px; opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
  .nav.is-open .nav__links a { opacity: 1; transform: none; }
  .nav.is-open .nav__links a:nth-child(2) { transition-delay: .04s; }
  .nav.is-open .nav__links a:nth-child(3) { transition-delay: .08s; }
  .nav.is-open .nav__links a:nth-child(4) { transition-delay: .12s; }

  /* soft reveals: rise, sharpen and settle */
  .js .reveal { transform: translate3d(0, 22px, 0) scale(.985); filter: blur(6px); transition: opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s), filter .9s var(--ease-out) var(--d, 0s); }
  .js .reveal.in { filter: none; transform: none; }

  /* section labels: small gradient text, Apple-style */
  .label { gap: 0; font-size: 13px; letter-spacing: .02em; text-transform: none; font-weight: 600; background-image: var(--g-all); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .label::before { display: none; }
  .h2 { font-size: 36px; letter-spacing: -.035em; }
  .lead { color: #a1a1a6; }

  /* cards: frosted material, hairline edge, gentle press */
  .card, .map, .form {
    background: var(--mat); border: .5px solid var(--mat-line);
    -webkit-backdrop-filter: blur(6px) saturate(1.4); backdrop-filter: blur(6px) saturate(1.4);
    box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .9);
  }
  .card { border-radius: 26px; transition: transform .25s var(--ease-out); }
  .card::after { display: none; }
  .card__num { color: #8e8e93; letter-spacing: .04em; }
  .card p { color: #a1a1a6; }
  .card .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .08); }

  /* audit steps: an iOS grouped list */
  .steps { gap: 0; margin: 28px 0 26px; border-radius: 22px; overflow: hidden; background: var(--mat); border: .5px solid var(--mat-line); -webkit-backdrop-filter: blur(6px) saturate(1.4); backdrop-filter: blur(6px) saturate(1.4); }
  .steps li { grid-template-columns: 32px 1fr; gap: 14px; padding: 18px 18px 18px 16px; position: relative; }
  .steps li + li::before { content: ""; position: absolute; top: 0; left: 62px; right: 0; border-top: .5px solid var(--sep); }
  .steps__n { width: 32px; height: 32px; font-size: 15px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; }
  .steps h3 { font-size: 17px; }
  .steps p { margin-top: 3px; font-size: 15px; line-height: 1.45; color: #a1a1a6; }
  #audit .split__text > .btn { width: 100%; min-height: 54px; font-size: 17px; }

  /* sample map: a widget */
  .map { border-radius: 26px; padding: 20px 18px 16px; }
  .map__head { border-bottom: .5px solid var(--sep); }
  .map__rows li { border-bottom: .5px solid var(--sep); padding: 14px 0; }
  .map__rows li:last-child { border-bottom: 0; }

  /* "Also on the menu": grouped list */
  .more { border-top: 0; padding-top: 0; margin-top: 34px; }
  .more__label { padding: 0 4px 8px; font-size: 13px; letter-spacing: .02em; text-transform: none; color: #8e8e93; }
  .more__list { margin-top: 0; gap: 0; border-radius: 22px; overflow: hidden; background: var(--mat); border: .5px solid var(--mat-line); -webkit-backdrop-filter: blur(6px) saturate(1.4); backdrop-filter: blur(6px) saturate(1.4); }
  .more__list li { padding: 15px 18px; position: relative; }
  .more__list li + li::before { content: ""; position: absolute; top: 0; left: 18px; right: 0; border-top: .5px solid var(--sep); }
  .more__list h3 { font-size: 17px; }
  .more__list p { margin-top: 2px; font-size: 15px; color: #a1a1a6; }

  /* values: grouped list */
  .values { margin-top: 8px; border-radius: 22px; overflow: hidden; background: var(--mat); border: .5px solid var(--mat-line); -webkit-backdrop-filter: blur(6px) saturate(1.4); backdrop-filter: blur(6px) saturate(1.4); }
  .values li, .values li:last-child { grid-template-columns: 30px 1fr; gap: 12px; padding: 16px 18px; border: 0; position: relative; }
  .values li + li::before { content: ""; position: absolute; top: 0; left: 60px; right: 0; border-top: .5px solid var(--sep); }
  .values span { padding-top: 2px; font-size: 13px; letter-spacing: .02em; background-image: var(--g-all); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .values h3 { font-size: 17px; }
  .values p { margin-top: 2px; font-size: 15px; color: #a1a1a6; }
  #about .split__text p { color: #c7c7cc; }

  /* form: native-feeling controls */
  .form { padding: 20px 16px 18px; border-radius: 26px; }
  .form__progress { height: 4px; background: var(--fill); }
  .form__count { font-size: 13px; letter-spacing: .02em; text-transform: none; color: #8e8e93; }
  .step legend { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
  .chips { gap: 8px; }
  .chip span { min-height: 44px; border-radius: 999px; border: 0; background: var(--fill); font-size: 15px; transition: background .15s, color .15s, transform .15s; }
  .chip span::before { border-radius: 50%; border-color: #8e8e93; }
  .chip:active span { transform: scale(.96); }
  .field label { font-size: 13px; font-weight: 500; color: #8e8e93; margin: 0 0 6px 4px; }
  .field input { min-height: 50px; border: 0; border-radius: 12px; background: var(--fill); font-size: 17px; }
  .field input:focus { border: 0; box-shadow: 0 0 0 2px rgba(62, 224, 192, .9); }
  .field input[aria-invalid="true"] { box-shadow: 0 0 0 2px var(--error); }
  .form__actions .btn { min-height: 52px; font-size: 17px; }
  .btn--ghost { background: var(--fill); box-shadow: none; }

  .direct { text-align: center; color: #8e8e93; }
  .nav.is-open ~ .dock { transform: translateY(calc(100% + 40px)); }
  /* keep text readable over the brighter dots */
  .section .label, .section .h2, .section .lead, .section .closer, #about .split__text > p, .hero__title, .hero__sub, .hero__trust, .eyebrow, .direct {
    text-shadow: 0 0 2px rgba(0, 0, 0, .9), 0 1px 10px rgba(0, 0, 0, .95), 0 0 26px rgba(0, 0, 0, .8);
  }
  .section .label, .section .h2 em, .hero__title em, .section .closer em, .section .lead em { text-shadow: none; filter: drop-shadow(0 0 8px rgba(0, 0, 0, .95)) drop-shadow(0 1px 3px #000); }
}
@media (max-width: 699px) and (prefers-reduced-motion: reduce) {
  .js .reveal { filter: none; }
}

/* ---------- phones: UX redesign (Nov 17, 2026) ----------
   Everything visible without sideways swiping, the main button above the fold,
   a "where you are" label in the menu bar, and stronger text contrast. */
@media (max-width: 699px) {
  /* menu bar: logo, current section, menu */
  .nav__where {
    display: block; margin: 0 auto 0 12px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .18);
    font-size: 15px; font-weight: 600; color: #f5f5f7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .nav__where:empty { border-color: transparent; }
  .nav__where.flip { animation: whereIn .35s var(--ease-out); }
  @keyframes whereIn { from { opacity: 0; transform: translateY(6px); } }
  .nav.is-open .nav__where { opacity: 0; }

  /* hero: orb a little smaller so the button sits above the fold on small phones */
  .hero { padding: calc(64px + env(safe-area-inset-top)) 0 14svh; }
  .morph-slot--hero { height: clamp(124px, 23svh, 210px); }
  .hero__title { margin-top: 10px; font-size: clamp(37px, 10.8vw, 46px); }
  .hero__sub { margin-top: 14px; font-size: 17px; }
  .hero__cta { margin-top: 22px; }

  /* steadier rhythm: still room for the dots between sections */
  .section { --pad: max(64px, 16svh); }
  .section[id] { scroll-margin-top: calc(72px - var(--pad)); }

  /* readable over the dots */
  .lead, .card p, .steps p, .more__list p, .values p, .map__foot, .hero__sub { color: #d1d1d6; }
  .hero__trust, .direct, .form__count, .more__label, .field label { color: #aeaeb2; }

  /* cards stack vertically: no hidden cards, no sideways swiping */
  .cards--3 { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; overflow: visible; scroll-snap-type: none; }
  .cards--3 > .card { flex: none; }
  .pager { display: none; }

  /* problem cards: compact rows */
  #problem .card { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; padding: 18px 18px 18px 16px; border-radius: 22px; }
  #problem .card__num {
    grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    font-size: 13px; letter-spacing: 0; color: #fff; background: rgba(255, 255, 255, .1);
  }
  #problem .card h3 { margin: 0; font-size: 18px; line-height: 1.3; align-self: center; }
  #problem .card p { margin-top: 4px; font-size: 15px; line-height: 1.45; }
  #problem .closer { margin-top: 30px; font-size: 24px; }

  /* build cards: icon on the left, text on the right */
  #build .card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 18px 18px 20px 16px; border-radius: 22px; }
  #build .card .icon { grid-row: span 3; }
  #build .card h3 { margin: 0; font-size: 19px; min-height: 44px; display: flex; align-items: center; }
  #build .card p { margin-top: 2px; font-size: 15px; line-height: 1.45; }
  #build .card__tag { padding-top: 10px; font-size: 14px; }

  /* audit + about */
  .h2 { font-size: clamp(31px, 9vw, 36px); }
  .split { gap: 22px; }
  #about .split__text p { font-size: 17px; line-height: 1.55; margin-top: 14px; }

  /* form fields stay clear of the keyboard */
  .field input { scroll-margin-bottom: 120px; }
}

/* ---------- tablet + desktop: same finish as phones (Nov 17, 2026) ----------
   Glass cards, grouped lists, plain numbers, gradient labels, native-feeling form.
   Layout, motion and the dots are unchanged. */
@media (min-width: 700px) {
  :root {
    --mat: rgba(28, 28, 30, .34);
    --mat-line: rgba(255, 255, 255, .08);
    --sep: rgba(84, 84, 88, .55);
    --fill: rgba(118, 118, 128, .24);
  }

  /* section labels: small gradient text */
  .label { gap: 0; font-size: 14px; letter-spacing: .02em; text-transform: none; font-weight: 600; background-image: var(--g-all); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .label::before { display: none; }
  .lead { color: #d1d1d6; }

  /* glass cards */
  .card, .map, .form {
    background: var(--mat); border: .5px solid var(--mat-line);
    -webkit-backdrop-filter: blur(6px) saturate(1.4); backdrop-filter: blur(6px) saturate(1.4);
    box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .9);
  }
  .card { border-radius: 26px; }
  .card:hover { border-color: rgba(255, 255, 255, .16); }
  .card::after { display: none; }
  .card p { color: #c7c7cc; }
  .card__num { color: #fff; letter-spacing: 0; font-size: 13px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
  .card .icon { width: 48px; height: 48px; padding: 11px; border-radius: 13px; background: rgba(255, 255, 255, .08); }

  /* audit steps: grouped list with plain numbers */
  .steps { gap: 0; border-radius: 22px; overflow: hidden; background: var(--mat); border: .5px solid var(--mat-line); -webkit-backdrop-filter: blur(6px) saturate(1.4); backdrop-filter: blur(6px) saturate(1.4); }
  .steps li { grid-template-columns: 34px 1fr; gap: 16px; padding: 20px 22px 20px 20px; position: relative; }
  .steps li + li::before { content: ""; position: absolute; top: 0; left: 70px; right: 0; border-top: .5px solid var(--sep); }
  .steps__n { width: 34px; height: 34px; font-size: 15px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; }
  .steps h3 { font-size: 18px; }
  .steps p { margin-top: 4px; color: #c7c7cc; }

  /* sample map: widget */
  .map { border-radius: 26px; }
  .map__head { border-bottom: .5px solid var(--sep); }
  .map__rows li { border-bottom: .5px solid var(--sep); }
  .map__rows li:last-child { border-bottom: 0; }

  /* "Also on the menu": grouped row */
  .more { border-top: 0; padding-top: 0; }
  .more__label { padding: 0 4px 10px; font-size: 14px; letter-spacing: .02em; text-transform: none; color: #aeaeb2; }
  .more__list { margin-top: 0; gap: 0; border-radius: 22px; overflow: hidden; background: var(--mat); border: .5px solid var(--mat-line); -webkit-backdrop-filter: blur(6px) saturate(1.4); backdrop-filter: blur(6px) saturate(1.4); }
  .more__list li { padding: 20px 22px; position: relative; }
  .more__list li + li::before { content: ""; position: absolute; top: 18px; bottom: 18px; left: 0; border-left: .5px solid var(--sep); }
  .more__list p { color: #c7c7cc; }

  /* values: grouped list */
  .values { border-radius: 22px; overflow: hidden; background: var(--mat); border: .5px solid var(--mat-line); -webkit-backdrop-filter: blur(6px) saturate(1.4); backdrop-filter: blur(6px) saturate(1.4); }
  .values li, .values li:last-child { grid-template-columns: 34px 1fr; gap: 14px; padding: 20px 22px; border: 0; position: relative; }
  .values li + li::before { content: ""; position: absolute; top: 0; left: 70px; right: 0; border-top: .5px solid var(--sep); }
  .values span { padding-top: 2px; font-size: 14px; letter-spacing: .02em; background-image: var(--g-all); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .values p { color: #c7c7cc; }

  /* form: native-feeling controls */
  .form { border-radius: 26px; }
  .form__progress { height: 4px; background: var(--fill); }
  .form__count { letter-spacing: .02em; text-transform: none; color: #aeaeb2; }
  .chip span { border-radius: 999px; border: 0; background: var(--fill); }
  .chip span::before { border-radius: 50%; border-color: #8e8e93; }
  .chip:hover span { background: rgba(118, 118, 128, .36); }
  .field label { font-size: 14px; color: #aeaeb2; }
  .field input { border: 0; border-radius: 12px; background: var(--fill); }
  .field input:focus { border: 0; box-shadow: 0 0 0 2px rgba(62, 224, 192, .9); }
  .field input[aria-invalid="true"] { box-shadow: 0 0 0 2px var(--error); }
  .btn--ghost { background: var(--fill); box-shadow: none; }
  .btn--ghost:hover { box-shadow: none; background: rgba(118, 118, 128, .36); }

  /* menu bar: thin glass with a hairline */
  .nav.is-stuck { background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8); border-bottom: .5px solid var(--sep); }
}
@media (min-width: 700px) and (max-width: 960px) {
  .more__list li + li::before { top: 0; bottom: auto; left: 22px; right: 0; border-left: 0; border-top: .5px solid var(--sep); }
}

/* phones: the C gets its own space above the contact heading and scrolls with the page */
@media (max-width: 699px) {
  /* takes no layout space: it overlaps the gap above the section, so spacing stays as it was */
  .morph-slot--contact { display: block; --h: clamp(150px, 26svh, 220px); height: var(--h); margin: calc(var(--h) * -1 + 8px) 0 -8px; pointer-events: none; }
}

/* booking calendar (shown when BOOKING_URL is set in main.js) */
.booking { margin-top: 28px; max-width: 580px; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .9); }
.booking iframe { display: block; width: 100%; height: 760px; border: 0; }
.booking__alt { margin-top: 18px; color: #aeaeb2; font-size: 15px; }
.link-btn { background: none; border: 0; padding: 8px 0; color: #fff; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.booking__alt[hidden], .booking[hidden] { display: none; }
@media (max-width: 699px) { .booking { margin: 22px -8px 0; border-radius: 20px; } }
