/* Sorted Websites
   Tokens first. Change the brand here, not further down. */
:root {
  --canvas: #FAF8F4;      /* warm white page */
  --surface: #FFFFFF;     /* cards */
  --surface-2: #F2EFE8;   /* warm band */
  --ink: #12151C;         /* off-black, never #000 */
  --ink-soft: #4E5566;    /* tinted secondary text */
  --line: #E4DFD5;
  --accent: #1D4ED8;      /* cobalt */
  --accent-hover: #1840B8;
  --accent-ink: #FFFFFF;
  --accent-soft: #E8EEFC;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 18px;
  --nav-h: 64px;

  --shadow-1: 0 1px 2px rgba(18, 21, 28, .06), 0 10px 28px -10px rgba(18, 21, 28, .16);
  --shadow-2: 0 2px 4px rgba(18, 21, 28, .06), 0 28px 56px -18px rgba(18, 21, 28, .30);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; font-weight: 650; }
h2 { font-size: clamp(2rem, 2.6vw + 1rem, 3.25rem); }
h3 { font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.3; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

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

/* Placeholder text you still need to swap. Bright on purpose. */
mark.todo, .todo {
  background: #FFF1A8;
  color: #4A3B00;
  outline: 1px dashed #B89400;
  border-radius: 4px;
  padding: 0 .25em;
  font: inherit;
}
.todo--block { display: grid; place-items: center; position: absolute; inset: 12px; font-family: var(--mono); font-size: .85rem; }

.eyebrow {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--accent); color: var(--accent-ink);
  font: 600 1rem/1 var(--font);
  padding: 17px 24px; border: 0; border-radius: 12px;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 2px rgba(18, 21, 28, .12), 0 8px 20px -10px rgba(29, 78, 216, .6);
  transition: background-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 11px 16px; font-size: .92rem; border-radius: 10px; }
.btn--light { background: #fff; color: var(--accent); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .4); }
.btn--light:hover { background: #F1F4FD; }

/* ───────── Nav ───────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background-color .25s, box-shadow .25s, backdrop-filter .25s;
}
.nav.is-scrolled {
  background: rgba(250, 248, 244, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { height: 100%; width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: .94rem; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; }
.brand__mark rect { fill: var(--accent); }
.brand__mark path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.brand__word { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.03em; }
.brand__word span { font-weight: 500; color: var(--ink-soft); margin-left: 1px; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}

/* ───────── 1 · Hero ───────── */
.hero {
  position: relative;
  min-height: min(100svh, 920px);
  padding-top: calc(var(--nav-h) + clamp(2rem, 7vh, 5rem));
  padding-bottom: clamp(2rem, 6vh, 4rem);
  display: flex; align-items: center;
  overflow: clip;
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero__copy > * { max-width: 620px; }
.hero__title {
  margin-top: 18px;
  font-size: clamp(2.5rem, 3.5vw + .6rem, 4.4rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.hero__title .line { display: block; }
.hero__title .line--accent { color: var(--accent); }
.hero__lede { margin-top: 24px; font-size: clamp(1.08rem, .4vw + 1rem, 1.25rem); color: var(--ink-soft); max-width: 34em; }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.link-call { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink-soft); text-decoration: none; }
.link-call svg { width: 18px; height: 18px; fill: var(--accent); }
.link-call:hover { color: var(--ink); }

.hero__stage {
  position: relative; z-index: 1;
  width: 100%; max-width: 540px; justify-self: end;
  aspect-ratio: 1 / .94;
  container-type: inline-size;
}
.hero__stage::before {
  content: ""; position: absolute; right: 2cqw; top: 8cqw; width: 78cqw; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-soft), rgba(232, 238, 252, 0));
}
.plane { position: absolute; inset: 0; will-change: transform; }

.search {
  position: absolute; left: 0; top: 4cqw; width: 76cqw;
  background: var(--surface); border-radius: 4cqw; padding: 4.4cqw;
  box-shadow: var(--shadow-1);
  border: 1px solid rgba(228, 223, 213, .7);
}
.search__bar {
  display: flex; align-items: center; gap: 2.6cqw;
  height: 11cqw; padding: 0 4cqw; border-radius: 99px;
  border: 1px solid var(--line); background: var(--canvas);
  font-size: 3.7cqw; font-weight: 500; color: var(--ink);
}
.search__bar svg { width: 4.2cqw; height: 4.2cqw; fill: none; stroke: var(--ink-soft); stroke-width: 2.2; stroke-linecap: round; flex: none; }
.search__caret { width: 2px; height: 4.6cqw; background: var(--accent); margin-left: -1.6cqw; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.search__results { display: grid; gap: 5cqw; margin-top: 6cqw; padding: 0 1cqw 2cqw; }
.result { display: grid; grid-template-columns: 5cqw 1fr; grid-template-rows: auto auto; gap: 1.8cqw 2.6cqw; align-items: center; }
.result i { grid-row: span 2; width: 5cqw; height: 5cqw; border-radius: 50%; background: var(--surface-2); }
.result b { height: 2.8cqw; width: 52%; border-radius: 3px; background: #C9D5F5; }
.result s { height: 2.2cqw; width: 82%; border-radius: 3px; background: var(--surface-2); }
.result:nth-child(2) b { width: 44%; }
.result:nth-child(3) b { width: 58%; }

.mini-phone {
  position: absolute; right: 5cqw; top: 25cqw; width: 37cqw; aspect-ratio: 9 / 18.6;
  background: var(--ink); border-radius: 6.6cqw; padding: 1.5cqw;
  box-shadow: var(--shadow-2);
}
.mini-phone__screen {
  height: 100%; border-radius: 5.4cqw;
  background: linear-gradient(170deg, #1B2A55 0%, #0F1733 70%);
  display: flex; flex-direction: column; align-items: center;
  padding: 9cqw 3cqw 6cqw; color: #fff; text-align: center;
}
.mini-phone__label { font-size: 2.7cqw; opacity: .72; letter-spacing: .02em; }
.mini-phone__avatar {
  position: relative; margin-top: 6cqw; width: 14cqw; height: 14cqw; border-radius: 50%;
  background: rgba(255, 255, 255, .14); display: grid; place-items: center;
}
.mini-phone__avatar svg { width: 7cqw; height: 7cqw; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.mini-phone__avatar::before, .mini-phone__avatar::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35);
  animation: ring 2.4s var(--ease) infinite;
}
.mini-phone__avatar::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.mini-phone__who { margin-top: 4.5cqw; font-size: 3.9cqw; white-space: nowrap; font-weight: 600; letter-spacing: -0.01em; }
.mini-phone__where { font-size: 2.8cqw; opacity: .7; }
.mini-phone__btns { margin-top: auto; display: flex; gap: 9cqw; }
.mini-phone__btns i { width: 9.5cqw; height: 9.5cqw; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.mini-phone__btns .yes { background: #fff; position: relative; }
.mini-phone__btns .yes::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: var(--accent); }

.toast {
  position: absolute; left: 9cqw; bottom: 9cqw;
  display: flex; align-items: center; gap: 3cqw;
  background: var(--surface); border-radius: 3.6cqw; padding: 3cqw 5cqw 3cqw 3cqw;
  box-shadow: var(--shadow-2);
  border: 1px solid rgba(228, 223, 213, .7);
}
.toast__icon { width: 9cqw; height: 9cqw; border-radius: 2.4cqw; background: var(--accent); display: grid; place-items: center; flex: none; }
.toast__icon svg { width: 5cqw; height: 5cqw; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.toast b { display: block; font-size: 3.5cqw; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.toast small { display: block; font-size: 3cqw; color: var(--ink-soft); line-height: 1.3; }

@media (max-width: 980px) {
  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stage { max-width: 500px; justify-self: center; margin-top: clamp(.5rem, 4vw, 2rem); }
}
@media (max-width: 560px) {
  .hero__title { font-size: clamp(2.2rem, 9.4vw, 2.9rem); }
  .hero__title .line { display: inline; }
  .hero__title .line--accent { display: block; }
  .hero__actions .btn { width: 100%; }
}

/* Load-in for the headline (motion only) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .line, .js .hero__lede, .js .hero__actions, .js .hero .eyebrow {
    opacity: 0; transform: translateY(.5em);
    animation: rise .9s var(--ease) forwards;
  }
  .js .hero .eyebrow { animation-delay: .05s; }
  .js .hero__title .line:nth-child(1) { animation-delay: .12s; }
  .js .hero__title .line:nth-child(2) { animation-delay: .22s; }
  .js .hero__title .line:nth-child(3) { animation-delay: .36s; }
  .js .hero__lede { animation-delay: .5s; transform: translateY(14px); }
  .js .hero__actions { animation-delay: .6s; transform: translateY(14px); }
  .js .hero__stage { animation: fade 1.2s .3s var(--ease) both; }
  .toast { animation: bob 6s 1.4s ease-in-out infinite; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }
@keyframes bob { 50% { translate: 0 -1.2cqw; } }

/* ───────── 2 · The slip ───────── */
.slip { padding-block: var(--section); }
.slip__h { font-size: clamp(2rem, 2.6vw + 1rem, 3.25rem); max-width: 16ch; }
.slip__list { margin-top: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 14px; max-width: 40rem; }
.slip__list li {
  position: relative; padding-left: 30px;
  font-size: clamp(1.15rem, .6vw + 1rem, 1.4rem); line-height: 1.45; font-weight: 500; letter-spacing: -0.01em;
}
.slip__list li::before {
  content: ""; position: absolute; left: 4px; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
}
.slip__list .slip__last { font-weight: 650; color: var(--accent); }

.nosite {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  background: var(--accent-soft); border-radius: 22px; padding: clamp(24px, 4vw, 44px);
}
.nosite h3 { font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2rem); letter-spacing: -0.03em; }
.nosite__intro p { margin-top: 12px; color: var(--ink-soft); max-width: 32em; }
.ticks { display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 500; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%; background: var(--accent);
}
.ticks li::after {
  content: ""; position: absolute; left: 8px; top: calc(.1em + 5px); width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
@media (max-width: 760px) { .nosite { grid-template-columns: 1fr; } }

/* ───────── 3 · The rebuild (signature) ───────── */
.rebuild { position: relative; height: 430vh; }
.rebuild__sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding-top: var(--nav-h); }
.rebuild__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.rebuild__intro { justify-self: end; max-width: 400px; }
.rebuild__track { max-width: 400px; }
.rebuild__h { font-size: clamp(1.9rem, 1.9vw + 1rem, 3.2rem); }
.rebuild__h span { color: var(--accent); }
.rebuild__lede { margin-top: 16px; color: var(--ink-soft); max-width: 30em; }

.steps { display: grid; gap: 4px; max-width: 460px; }
.step {
  position: relative; padding: 11px 0 11px 22px;
  opacity: .34; transition: opacity .35s var(--ease);
}
.step::before {
  content: ""; position: absolute; left: 0; top: 17px; width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid var(--ink-soft); transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.step b { display: block; font-weight: 600; font-size: 1.06rem; letter-spacing: -0.01em; line-height: 1.35; }
.step span { display: block; color: var(--ink-soft); font-size: .95rem; line-height: 1.45; }
.step.is-on { opacity: 1; }
.step.is-on::before { background: var(--accent); border-color: var(--accent); }
.step.is-current::before { transform: scale(1.35); }
.steps__bar { margin-top: 18px; height: 3px; max-width: 460px; background: var(--line); border-radius: 3px; overflow: hidden; }
.steps__bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }

.rebuild__device { display: grid; justify-items: center; gap: 14px; }
.rebuild__note { font-size: .82rem; color: var(--ink-soft); }

.phone {
  --ph: min(640px, calc(100svh - var(--nav-h) - 96px));
  height: var(--ph); aspect-ratio: 9 / 19;
  background: var(--ink); border-radius: calc(var(--ph) * .075); padding: calc(var(--ph) * .016);
  box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(255, 255, 255, .08);
  position: relative;
}
.phone__screen {
  height: 100%; border-radius: calc(var(--ph) * .06); overflow: hidden;
  background: #fff; display: flex; flex-direction: column;
  container-type: inline-size;
  font-family: var(--font); color: var(--ink); text-align: left;
}
.ps-status { flex: none; height: 10cqw; display: flex; align-items: center; justify-content: space-between; padding: 1cqw 7cqw 0; font-size: 3.6cqw; font-weight: 600; }
.ps-status__icons { display: flex; gap: 1.2cqw; }
.ps-status__icons i { width: 3.6cqw; height: 2.4cqw; border-radius: 1px; background: var(--ink); }
.ps-status__icons i:last-child { width: 5.4cqw; border-radius: 1.2cqw; }

.row { display: grid; position: relative; flex: none; overflow: hidden; }
.row > * { grid-area: 1 / 1; min-width: 0; }
.row--head { height: 14cqw; }
.row--hero { height: 64cqw; }
.row--svc { height: 31cqw; }
.row--pics { height: 34cqw; }
.row--form { flex: 1 1 auto; }

.old { transition: opacity .45s ease, filter .45s ease; font-family: "Times New Roman", Times, serif; }
.new { clip-path: inset(0 0 100% 0); transition: clip-path .75s cubic-bezier(.7, 0, .2, 1); background: #fff; }
.row.is-new .new { clip-path: inset(0 0 0 0); }
.row.is-new .old { opacity: 0; filter: blur(3px); }

/* the tired site */
.o-head { background: #7B7B7B; color: #FFF27A; display: flex; align-items: center; justify-content: center; gap: 2cqw; font-size: 3.6cqw; font-weight: 700; font-style: italic; }
.o-head__img { font-size: 2.6cqw; font-style: normal; color: #ddd; border: 1px solid #aaa; padding: .4cqw 1cqw; }
.o-hero { background: #fff; padding: 3cqw 4cqw; font-size: 3.05cqw; line-height: 1.35; color: #555; text-align: justify; }
.o-hero p + p { margin-top: 2.4cqw; }
.o-hero p:first-child { text-align: center; font-size: 2.8cqw; }
.o-hero u, .o-svc u { color: #1A0DAB; }
.o-svc { background: #F2F2F2; padding: 3cqw 4cqw; font-size: 3.1cqw; color: #555; }
.o-svc p:first-child { font-weight: 700; color: #333; }
.o-pics { background: #E2E2E2; display: grid; place-items: center; font-size: 3cqw; font-style: italic; color: #888; }
.o-form { padding: 4cqw; font-size: 2.8cqw; color: #8a8a8a; text-align: center; }
.o-form__copy { margin-top: 4cqw; font-size: 2.5cqw; }

/* the sorted site */
.n-head { display: flex; align-items: center; justify-content: space-between; padding: 0 5cqw; border-bottom: 1px solid #EEF0F4; }
.n-logo { display: flex; align-items: center; gap: 1.8cqw; font-size: 4.1cqw; font-weight: 700; letter-spacing: -0.03em; }
.n-logo i { width: 4.4cqw; height: 4.4cqw; border-radius: 1.2cqw; background: var(--accent); }
.n-logo em { font-style: normal; font-weight: 500; color: var(--ink-soft); }
.n-call { display: inline-flex; align-items: center; gap: 1.4cqw; background: var(--accent); color: #fff; font-size: 3.5cqw; font-weight: 600; padding: 2cqw 3.6cqw; border-radius: 99px; }
.n-call svg { width: 3.4cqw; height: 3.4cqw; fill: #fff; }
.n-hero { background: var(--accent-soft); padding: 6cqw 5.5cqw; display: flex; flex-direction: column; gap: 3.2cqw; justify-content: center; }
.n-kicker { font-family: var(--mono); font-size: 2.9cqw; color: var(--accent); letter-spacing: .03em; }
.n-title { font-size: 8.4cqw; font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; }
.n-btns { display: flex; gap: 2.4cqw; margin-top: 1cqw; }
.n-btns i { font-style: normal; font-size: 3.4cqw; font-weight: 600; padding: 2.6cqw 4cqw; border-radius: 2.4cqw; background: var(--accent); color: #fff; }
.n-btns i + i { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #D5DCEE; }
.n-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; padding: 4.4cqw 5cqw; align-content: center; }
.n-svc span { display: flex; flex-direction: column; gap: 2cqw; padding: 3cqw 2.6cqw; border: 1px solid #E7E9EF; border-radius: 3cqw; font-size: 3.1cqw; font-weight: 600; letter-spacing: -0.01em; }
.n-svc i { width: 6.4cqw; height: 6.4cqw; border-radius: 50%; background: var(--accent-soft); position: relative; }
.n-svc i::after { content: ""; position: absolute; inset: 32%; border-radius: 50%; background: var(--accent); }
.n-svc .ic-b::after { border-radius: 1cqw; }
.n-svc .ic-c::after { inset: 28% 36%; border-radius: 99px; }
.n-pics { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2cqw; padding: 1cqw 5cqw 3cqw; }
.n-pics i { border-radius: 2.6cqw; background: #CFD6E4; position: relative; overflow: hidden; }
.n-pics i:nth-child(1) { background: linear-gradient(180deg, #BCC9E2 0 52%, #8E7A66 52% 100%); }
.n-pics i:nth-child(1)::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 30%; height: 36%; background: #F1EDE6; clip-path: polygon(0 40%, 50% 0, 100% 40%, 100% 100%, 0 100%); }
.n-pics i:nth-child(2) { background: linear-gradient(160deg, #3A4253, #1F2430); }
.n-pics i:nth-child(2)::after { content: ""; position: absolute; inset: 22% 22%; border-radius: 1cqw; background: repeating-linear-gradient(90deg, #C7CDD9 0 2cqw, #8C94A6 2cqw 3cqw); }
.n-pics i:nth-child(3) { background: linear-gradient(200deg, #E9E3D8, #C9BBA4); }
.n-pics i:nth-child(3)::after { content: ""; position: absolute; left: 42%; top: 18%; width: 16%; height: 46%; border-radius: 50% 50% 40% 40%; background: #FFF6D9; box-shadow: 0 0 6cqw 2cqw rgba(255, 236, 170, .9); }
.n-form { padding: 4cqw 5cqw 5cqw; display: flex; flex-direction: column; gap: 2.2cqw; border-top: 1px solid #EEF0F4; }
.n-form__h { font-size: 4.6cqw; font-weight: 700; letter-spacing: -0.02em; margin-bottom: .6cqw; }
.n-field { font-size: 3.1cqw; color: #8A90A0; padding: 2.6cqw 3cqw; border: 1px solid #DCE0E8; border-radius: 2.2cqw; }
.n-send { font-size: 3.3cqw; font-weight: 600; color: #fff; background: var(--accent); text-align: center; padding: 2.8cqw; border-radius: 2.2cqw; }

@media (max-width: 860px) {
  .rebuild { height: 400vh; }
  .rebuild__sticky { align-items: flex-start; padding-top: calc(var(--nav-h) + 12px); }
  .rebuild__inner { grid-template-columns: 1fr; gap: 14px; justify-items: center; text-align: center; }
  .rebuild__intro, .rebuild__track { width: 100%; max-width: none; justify-self: stretch; }
  .rebuild__track { order: 1; }
  .rebuild__device { order: 2; }
  .rebuild__h { font-size: clamp(1.6rem, 6.6vw, 2.2rem); }
  .rebuild__lede { display: none; }
  .steps { margin: 10px auto 0; display: grid; }
  .step { grid-area: 1 / 1; padding: 0; opacity: 0; transition: opacity .3s; min-height: 3.1em; }
  .step::before { display: none; }
  .step.is-on { opacity: 0; }
  .step.is-current { opacity: 1; }
  .step b { font-size: 1rem; }
  .step span { font-size: .88rem; }
  .steps__bar { margin: 10px auto 0; max-width: 220px; }
  .phone { --ph: min(520px, calc(100svh - var(--nav-h) - 200px)); }
  .rebuild__note { font-size: .75rem; }
}

/* ───────── 4 · What you get ───────── */
.included { padding-block: var(--section) calc(var(--section) * .8); }
.included__head { max-width: 680px; }
.included__head p { margin-top: 16px; color: var(--ink-soft); font-size: 1.12rem; max-width: 34em; }
.grid { margin-top: clamp(2.25rem, 5vw, 3.75rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); border-color: #D9D3C6; }
.card svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.card p { margin-top: 8px; color: var(--ink-soft); font-size: .96rem; line-height: 1.55; }
@media (max-width: 1060px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .card { padding: 20px; display: grid; grid-template-columns: 28px 1fr; column-gap: 16px; }
  .card svg { grid-row: span 2; margin: 2px 0 0; }
  .card p { margin-top: 4px; }
}

/* ───────── 5 · Seven days ───────── */
.days { background: var(--surface-2); padding-block: var(--section); }
.days__inner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.days__head { position: sticky; top: calc(var(--nav-h) + 48px); }
.days__head h2 { font-size: clamp(2.3rem, 3.6vw + 1rem, 4.4rem); }
.days__head p { margin-top: 18px; color: var(--ink-soft); font-size: 1.1rem; max-width: 26em; }
.timeline { position: relative; padding-left: 44px; }
.tl { position: relative; padding-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.tl--last { padding-bottom: 0; }
.tl::before {
  content: ""; position: absolute; left: -44px; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--surface-2); border: 2px solid #CBC4B5; z-index: 1;
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.tl.is-on::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(29, 78, 216, .14); }
.tl__when { font-family: var(--mono); font-size: .8rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.tl.is-on .tl__when { color: var(--accent); }
.tl h3 { margin-top: 6px; font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem); letter-spacing: -0.025em; }
.tl p { margin-top: 8px; color: var(--ink-soft); max-width: 32em; }
.tl__rail { position: absolute; left: 8px; top: 12px; bottom: 12px; width: 2px; background: #D8D1C3; border-radius: 2px; overflow: hidden; }
.tl__rail i { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: top; transform: scaleY(var(--fill, 0)); }
@media (max-width: 860px) {
  .days__inner { grid-template-columns: 1fr; }
  .days__head { position: static; }
}

/* ───────── 6 · Demos ───────── */
.demos { padding-block: var(--section); }
.demos__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; }
.demos__head p { color: var(--ink-soft); max-width: 30em; }
.rail { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot { margin: 0; }
.shot__frame {
  position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.shot__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot figcaption { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.shot figcaption b { font-weight: 600; }
.shot figcaption span { color: var(--ink-soft); font-size: .94rem; }
@media (max-width: 860px) {
  .rail {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(80%, 340px);
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .shot { scroll-snap-align: start; }
}

/* ───────── 7 · Local ───────── */
.local { padding-block: calc(var(--section) * .6) var(--section); }
.local__inner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 7vw, 7rem); border-top: 1px solid var(--line); padding-top: calc(var(--section) * .6); }
.local__hi { margin-top: 22px; font-size: 1.12rem; color: var(--ink-soft); max-width: 30em; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; align-content: start; }
.fact dt { font-weight: 600; font-size: 1.12rem; letter-spacing: -0.015em; }
.fact dd { margin-top: 6px; color: var(--ink-soft); }
@media (max-width: 860px) { .local__inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; gap: 26px; } }

/* ───────── 8 · Questions ───────── */
.faq { padding-block: 0 var(--section); max-width: 860px; }
.faq__list { margin-top: clamp(1.75rem, 4vw, 2.75rem); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-size: clamp(1.06rem, .5vw + 1rem, 1.22rem); font-weight: 600; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { padding: 0 44px 24px 0; color: var(--ink-soft); max-width: 40em; }

/* ───────── 9 · Close ───────── */
.close { background: var(--accent); color: #fff; padding-block: var(--section); }
.close__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.close h2 { font-size: clamp(2.3rem, 3.4vw + 1rem, 4.2rem); letter-spacing: -0.04em; }
.close__copy p { margin-top: 20px; font-size: 1.12rem; color: rgba(255, 255, 255, .86); max-width: 30em; }
.close__copy .close__alt { margin-top: 28px; color: #fff; font-weight: 500; }
.close__alt a { color: #fff; }

.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  background: rgba(8, 20, 66, .22); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px; padding: clamp(20px, 3vw, 32px);
}
.field { grid-column: 1 / -1; display: grid; gap: 7px; }
.field--half { grid-column: span 1; }
.field label { font-size: .92rem; font-weight: 600; }
.field label span { font-weight: 400; color: rgba(255, 255, 255, .78); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 2px solid transparent; border-radius: 12px;
  padding: 13px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder { color: #8A90A0; }
.field input:focus, .field textarea:focus { outline: none; border-color: #0F2A80; box-shadow: 0 0 0 4px rgba(255, 255, 255, .45); }
.form .btn { grid-column: 1 / -1; margin-top: 6px; padding-block: 18px; font-size: 1.05rem; }
.form__fine { grid-column: 1 / -1; font-size: .88rem; color: rgba(255, 255, 255, .82); text-align: center; }
.form__fine a { color: #fff; }
.form__status { grid-column: 1 / -1; text-align: center; font-weight: 600; min-height: 1px; }
.form__status:empty { display: none; }
.close :focus-visible { outline-color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 860px) { .close__inner { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .field--half { grid-column: 1 / -1; } }

/* ───────── Footer ───────── */
.foot { padding-block: 36px; font-size: .92rem; color: var(--ink-soft); }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot__inner p:nth-of-type(1) { margin-left: auto; }
.foot a { color: var(--ink-soft); }
.brand--foot .brand__mark { width: 24px; height: 24px; }
.brand--foot .brand__word { font-size: 1rem; }
@media (max-width: 760px) {
  .foot__inner { flex-direction: column; align-items: flex-start; }
  .foot__inner p:nth-of-type(1) { margin-left: 0; }
  .foot { padding-bottom: 110px; }
}

/* ───────── Mobile action dock ───────── */
.dock { display: none; }
@media (max-width: 760px) {
  .dock {
    display: grid; grid-template-columns: auto 1fr; gap: 10px;
    position: fixed; inset: auto 0 0; z-index: 40;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(250, 248, 244, .92);
    backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
    box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .dock.is-shown { transform: none; }
  .dock__call {
    display: inline-flex; align-items: center; gap: 8px; padding: 0 20px; border-radius: 12px;
    font-weight: 600; text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px #CFC8BA; background: var(--surface);
  }
  .dock__call svg { width: 18px; height: 18px; fill: var(--accent); }
  .dock__demo { padding-block: 15px; }
}

/* ───────── Scroll reveals ───────── */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .rv.in { opacity: 1; transform: none; }
}

/* ───────── Reduced motion ───────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .search__caret { display: none; }
}
