/* ==========================================================================
   Webbuild · site styles
   Two-colour system (espresso + cream), expanded Mona Sans for display,
   Geist Mono for labels. The sample client site in the browser demo has
   its own palette (forest + butter) so it reads as someone else's brand.
   ========================================================================== */

:root {
  --espresso: #312726;
  --espresso-deep: #251d1c;
  --espresso-raised: #3d3231;
  --cream: #fff8ed;
  --cream-deep: #f6eddd;
  --taupe: #6c5f59;          /* muted text on cream, 5.6:1 */
  --error: #a2352b;

  /* sample client site */
  --demo-bg: #f4efe3;
  --demo-card: #fbf8f1;
  --demo-ink: #1b3326;
  --demo-green: #2f5b43;
  --demo-green-2: #4f7f5c;
  --demo-green-3: #8fae7b;
  --demo-sun: #f2c14e;
  --demo-sky: #f8e2a4;

  --font-sans: "Mona Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1400px;
  --header-h: 72px;
  --radius-lg: 24px;
  --radius-md: 14px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, .05, .36, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .97 0 0 0 0 .93 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* default tokens (dark) */
  --bg: var(--espresso);
  --fg: var(--cream);
  --muted: rgb(255 248 237 / .68);
  --line: rgb(255 248 237 / .14);
  --line-strong: rgb(255 248 237 / .32);
  --raised: var(--espresso-raised);
}

/* Section themes: set tokens, components read them */
.theme-dark,
.site-header.is-menu {
  --bg: var(--espresso);
  --fg: var(--cream);
  --muted: rgb(255 248 237 / .68);
  --line: rgb(255 248 237 / .14);
  --line-strong: rgb(255 248 237 / .32);
  --raised: var(--espresso-raised);
  color-scheme: dark;
  color: var(--fg);
}
.theme-light {
  --bg: var(--cream);
  --fg: var(--espresso);
  --muted: var(--taupe);
  --line: rgb(49 39 38 / .14);
  --line-strong: rgb(49 39 38 / .3);
  --raised: var(--cream-deep);
  color-scheme: light;
  color: var(--fg);
}
/* Sections blend into their neighbours instead of meeting at a hard edge.
   Each band fades from the colour halfway to the section above (--from)
   and toward the colour halfway to the section below (--to), inside its
   own empty top/bottom padding, so the two halves meet seamlessly. */
.band {
  --fade-top: 0px;
  --fade-bottom: 0px;
  --band-fade: linear-gradient(180deg,
    color-mix(in srgb, var(--from, var(--bg)) 50%, var(--bg)) 0,
    var(--bg) var(--fade-top),
    var(--bg) calc(100% - var(--fade-bottom)),
    color-mix(in srgb, var(--to, var(--bg)) 50%, var(--bg)) 100%);
  background-color: var(--bg);
  background-image: var(--band-fade);
}
.band.theme-dark { background-image: var(--grain), var(--band-fade); }
.stage    { --to: var(--cream); --fade-bottom: clamp(110px, 16vh, 180px); }
#pricing  { --from: var(--espresso); --fade-top: clamp(88px, 11vw, 168px); }
#process  { --to: var(--espresso); --fade-bottom: clamp(88px, 11vw, 168px); }
#faq      { --from: var(--cream); --to: var(--cream); --fade-top: clamp(88px, 11vw, 168px); --fade-bottom: clamp(88px, 11vw, 168px); }
#contact  { --from: var(--espresso); --to: var(--espresso-deep); --fade-top: clamp(88px, 11vw, 168px); --fade-bottom: clamp(88px, 11vw, 168px); }
.footer   { --from: var(--cream); --fade-top: clamp(88px, 10vw, 150px); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
main > section[id] { scroll-margin-top: calc(-1 * (var(--header-h) + 16px)); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--espresso);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
button, input, textarea { font: inherit; color: inherit; }
strong { font-weight: 600; }
p, li { text-wrap: pretty; }
[hidden] { display: none !important; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
main:focus, [tabindex="-1"]:focus { outline: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 100;
  padding: 10px 18px; border-radius: 999px;
  background: var(--cream); color: var(--espresso);
  font-weight: 550; text-decoration: none;
  transform: translateY(-200%); transition: transform .25s var(--ease-out);
}
.skip-link:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(88px, 11vw, 168px); }

/* ---------- Type ---------- */
.display {
  font-stretch: 125%;
  font-weight: 470;
  letter-spacing: -0.045em;
  line-height: .92;
  text-wrap: balance;
}
.h2 { font-size: clamp(2.5rem, 1.1rem + 5vw, 6rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.path { text-transform: none; letter-spacing: .01em; font-size: .8125rem; }
.path::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .7em;
  background: currentColor; border-radius: 1px; vertical-align: .08em;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  height: var(--btn-h);
  padding-inline: 1.6em 1.4em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 560;
  letter-spacing: .005em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .35s var(--ease-out);
}
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { background: color-mix(in srgb, var(--fg) 86%, var(--bg)); }
.btn--ghost { border-color: var(--line-strong); color: var(--fg); background: transparent; }
.btn--ghost:hover { border-color: var(--fg); }
.btn--sm { --btn-h: 42px; font-size: .875rem; padding-inline: 1.2em; }
.btn:active { transform: scale(.97); }
.btn__text { display: block; height: 1.25em; overflow: hidden; line-height: 1.25; }
.btn__text > span { display: block; transition: transform .6s var(--ease-out); }
.btn__text > span::after {
  content: attr(data-text);
  content: attr(data-text) / "";
  display: block;
}
.btn__icon { flex: none; width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
@media (hover: hover) {
  .btn:hover .btn__text > span { transform: translateY(-50%); }
  .btn:hover .btn__icon { transform: translateX(3px); }
  .btn[href="#pricing"]:hover .btn__icon { transform: translateY(3px); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--fg);
  transition: transform .6s var(--ease-out), color .4s ease, box-shadow .4s ease;
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: var(--bg);
  opacity: 0;
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  transition: opacity .4s ease, background-color .4s ease;
}
.site-header.is-scrolled::before { opacity: .86; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header.is-menu::before { opacity: 0; }
.site-header.is-menu { box-shadow: none; }
.site-header.is-hidden,
html.stage-active .site-header:not(.is-menu):not(:focus-within) { transform: translateY(-105%); }
.site-header__inner {
  position: relative;
  display: flex; align-items: center; gap: clamp(12px, 2vw, 28px);
  height: var(--header-h);
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-stretch: 125%; font-weight: 640; font-size: 1.125rem; letter-spacing: -0.03em;
  text-decoration: none;
}
.logo svg { width: 24px; height: 24px; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 2px; }
.site-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-size: .9375rem; font-weight: 500; text-decoration: none;
  opacity: .8; transition: opacity .2s ease, background-color .2s ease;
}
.site-nav a:hover { opacity: 1; background: color-mix(in srgb, var(--fg) 9%, transparent); }
.site-header__cta { margin-left: 6px; }

.menu-toggle {
  display: none; align-items: center; gap: 10px;
  margin-left: auto; height: 42px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; color: var(--fg);
  font-size: .9375rem; font-weight: 550; cursor: pointer;
}
.menu-toggle__icon { position: relative; width: 16px; height: 10px; }
.menu-toggle__icon i {
  position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.menu-toggle__icon i:first-child { top: 1px; }
.menu-toggle__icon i:last-child { top: 7.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i { top: 4.25px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { transform: rotate(-45deg); }

@media (max-width: 880px) {
  .site-nav, .site-header__cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  background-color: var(--espresso);
  background-image: var(--grain);
}
html.motion .menu:not([hidden]) { animation: menu-in .6s var(--ease-out); }
@keyframes menu-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.menu__links { display: grid; }
.menu__links a {
  display: block; padding: 6px 0;
  font-stretch: 125%; font-weight: 470; font-size: clamp(1.75rem, min(10vw, 8.5svh), 3.5rem);
  letter-spacing: -0.045em; line-height: 1.08; text-decoration: none;
}
.menu__foot { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.menu__plan { display: flex; justify-content: space-between; gap: 16px; font-size: 1.0625rem; color: var(--muted); }
.menu__plan > span:first-child { color: var(--fg); font-weight: 550; }
.menu__plan strong { color: var(--fg); font-stretch: 125%; font-weight: 550; }

/* ---------- Hero ---------- */
.hero {
  position: relative; z-index: 0;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(28px, 7vh, 104px));
  padding-bottom: clamp(20px, 3vh, 40px);
}
.hero__title {
  margin-top: clamp(16px, 2.6vh, 28px);
  font-size: clamp(2.5rem, .5rem + 4.6vw, 5.5rem);
}
.stretch { font-stretch: 125%; }
.hero:focus-within [data-hero] { transform: none !important; opacity: 1 !important; }
.hero__foot {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px; row-gap: 28px;
  margin-top: clamp(28px, 5.5vh, 64px);
  align-items: end;
}
.hero__lead {
  grid-column: 1 / span 5;
  max-width: 44ch;
  font-size: clamp(1.0625rem, .98rem + .35vw, 1.25rem);
  line-height: 1.5;
  color: var(--muted);
}
.hero__actions { grid-column: 1 / span 6; grid-row: 2; display: flex; flex-wrap: wrap; gap: 12px; }
.price-board { grid-column: 8 / span 5; grid-row: 1 / span 2; border-top: 1px solid var(--line); }
.price-board__row {
  display: grid; grid-template-columns: auto minmax(24px, 1fr) auto; align-items: center; gap: 16px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.price-board li:last-child .price-board__row { border-bottom: 0; }
.price-board__plan { display: grid; gap: 4px; }
.price-board__name {
  font-stretch: 125%; font-weight: 560; font-size: 1.25rem; letter-spacing: -0.03em; line-height: 1.1;
  transition: transform .5s var(--ease-out);
}
.price-board__kind {
  font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted);
}
.price-board__rule {
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 2px, transparent 2px 7px);
}
.price-board__cost { display: flex; align-items: baseline; gap: 12px; }
.price-board__price {
  font-stretch: 125%; font-weight: 480; font-size: clamp(1.875rem, 1.3rem + 1.4vw, 2.75rem);
  letter-spacing: -0.045em; line-height: 1;
}
.price-board__care { font-family: var(--font-mono); font-size: .8125rem; color: var(--muted); white-space: nowrap; }
@media (hover: hover) {
  .price-board__row:hover .price-board__name { transform: translateX(6px); }
}

@media (max-width: 900px) {
  .hero__lead, .price-board, .hero__actions { grid-column: 1 / -1; grid-row: auto; }
  .hero__foot { row-gap: 24px; }
}
@media (max-width: 400px) {
  .hero__actions .btn { flex: 1 1 100%; }
}
@media (max-width: 560px) {
  .price-board__cost { flex-direction: column; align-items: flex-end; gap: 4px; }
  .price-board__row { padding-block: 14px; }
}

/* ---------- Hero scene: run-down shop renovates behind the headline ---------- */
.hero--scene {
  isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-bottom: clamp(64px, 11vh, 128px);
}
.scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--espresso); }
.scene__layer { position: absolute; inset: 0; }
.scene__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 62% 55%;
  transform-origin: 62% 55%;
}
html.motion .scene__photo { animation: scene-zoom 26s var(--ease-in-out) infinite alternate; }
@keyframes scene-zoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.scene__layer--before .scene__photo { filter: saturate(.5) contrast(.92) brightness(.78); }
html.motion .scene__layer--after { clip-path: inset(0 100% 0 0); }
.scene__tape { --u: min(1vw, 1.8vh); bottom: 18%; }
.scene__scan {
  position: absolute; z-index: 4; top: 0; bottom: 0; left: -1px;
  width: 2px;
  background: var(--demo-sun);
  box-shadow: 0 0 22px 3px rgb(242 193 78 / .5);
  opacity: 0; transition: opacity .5s ease;
  pointer-events: none; will-change: transform;
}
.scene__scan span {
  position: absolute; bottom: 12%; left: 12px;
  padding: 6px 10px; border-radius: 7px;
  background: var(--demo-sun); color: var(--demo-ink);
  font: 500 13px/1 var(--font-mono);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.scene__scan.is-flipped span { left: auto; right: 12px; }
.scene__scrim {
  position: absolute; inset: 0; z-index: 3;
  background:
    linear-gradient(180deg, rgb(37 29 28 / .6) 0%, rgb(37 29 28 / .2) 28%, rgb(37 29 28 / .3) 62%, var(--espresso) 92%, color-mix(in srgb, var(--espresso) 50%, var(--cream)) 100%),
    linear-gradient(90deg, rgb(37 29 28 / .85) 0%, rgb(37 29 28 / .55) 42%, rgb(37 29 28 / .15) 78%);
}
.hero--scene .price-board {
  padding: 6px 22px;
  border: 1px solid rgb(255 248 237 / .14); border-radius: 18px;
  background: rgb(37 29 28 / .55);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
@media (orientation: portrait) {
  .scene__photo { object-position: 66% 60%; transform-origin: 66% 60%; }
  .scene__scrim {
    background:
      linear-gradient(180deg, rgb(37 29 28 / .75) 0%, rgb(37 29 28 / .55) 45%, rgb(37 29 28 / .7) 75%, var(--espresso) 94%, color-mix(in srgb, var(--espresso) 50%, var(--cream)) 100%);
  }
  .scene__tape { bottom: 30%; }
}

/* ---------- Stage: the browser that builds itself ---------- */
.stage { position: relative; z-index: 1; }
.stage__pin { padding: clamp(24px, 4vh, 48px) var(--gutter) clamp(72px, 10vw, 140px); }
.frame {
  position: relative;
  display: flex; flex-direction: column;
  height: min(80svh, 820px); min-height: min(460px, 85svh);
  max-width: var(--maxw); margin-inline: auto;
  overflow: hidden;
  border-radius: 18px;
  background: var(--espresso-deep);
  box-shadow: 0 0 0 1px rgb(255 248 237 / .12), 0 24px 48px -28px rgb(0 0 0 / .5);
}
html.motion .stage:not(.stage--static) { height: 250vh; }
html.motion .stage:not(.stage--static) .stage__pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  padding: 0;
  overflow: hidden;
}
html.motion .stage:not(.stage--static) .frame {
  position: absolute; inset: 0;
  height: auto; min-height: 0; max-width: none; margin: 0;
  transform-origin: 50% 0;
  transform: translate3d(0, 11svh, 0) scale(.78);
  will-change: transform;
}
@media (max-width: 640px) {
  html.motion .stage:not(.stage--static) { height: 225vh; }
}

.frame__chrome {
  flex: none;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  height: 46px; padding-inline: 16px;
  background: var(--espresso-deep);
  border-bottom: 1px solid rgb(255 248 237 / .1);
  font-family: var(--font-mono); font-size: 13px; color: rgb(255 248 237 / .6);
}
.frame__dots { display: flex; gap: 7px; }
.frame__dots i { width: 11px; height: 11px; border-radius: 50%; background: rgb(255 248 237 / .16); }
.frame__url {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: min(40vw, 380px);
  padding: 6px 16px; border-radius: 999px;
  background: rgb(255 248 237 / .07);
  color: var(--cream); letter-spacing: .01em; white-space: nowrap;
}
.frame__url svg { width: 13px; height: 13px; opacity: .7; }
.frame__size { justify-self: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.frame__screen {
  position: relative; flex: 1; min-height: 0;
  container-type: size;
  overflow: hidden;
  background: var(--demo-bg);
}
@media (max-width: 520px) {
  .frame__chrome { grid-template-columns: auto 1fr auto; padding-inline: 12px; gap: 10px; font-size: 12px; }
  .frame__url { min-width: 0; padding-inline: 12px; }
  .frame__dots { gap: 5px; }
  .frame__dots i { width: 9px; height: 9px; }
}

/* build progress line */
.frame__scan {
  position: absolute; z-index: 3; top: 0; bottom: 0; left: -1px;
  display: none;
  width: 2px;
  background: var(--demo-sun);
  box-shadow: 0 0 22px 3px rgb(242 193 78 / .5);
  opacity: 0;
  pointer-events: none;
  will-change: transform;
}
.frame__scan span {
  position: absolute; top: 16%; left: 12px;
  padding: 6px 10px; border-radius: 7px;
  background: var(--demo-sun); color: var(--demo-ink);
  font: 500 14px/1 var(--font-mono);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.frame__scan.is-flipped span { left: auto; right: 12px; }

.demo.demo--before { display: none; }
html.motion .stage:not(.stage--static) .demo--before { display: grid; }
html.motion .stage:not(.stage--static) .frame__scan { display: block; }
html.motion .stage:not(.stage--static) .demo--final { clip-path: inset(0 100% 0 0); }

/* ---------- Sample client site (stage + plan previews) ----------
   Both layers share one full-bleed storefront photo position, so the
   "renovating" sweep lines the run-down shop up with the finished one. */
.demo {
  --u: min(1cqw, 1.75cqh);
  position: absolute; inset: 0;
  isolation: isolate;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  row-gap: calc(var(--u) * 2.4);
  padding: 0 calc(var(--u) * 4.5) calc(var(--u) * 3.6);
  overflow: hidden;
  background: var(--demo-bg);
  color: var(--demo-ink);
  font-family: var(--font-sans);
  line-height: 1.3;
  text-align: left;
}
.demo p { margin: 0; }
.demo__photo {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 62% 60%;
  transform-origin: 62% 60%;
}
.demo::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.demo--final::before {
  background:
    linear-gradient(180deg, rgb(244 239 227 / .9) 0, rgb(244 239 227 / 0) 22%),
    linear-gradient(90deg, rgb(244 239 227 / .96) 0%, rgb(244 239 227 / .86) 30%, rgb(244 239 227 / .2) 55%, rgb(244 239 227 / 0) 68%);
}
.demo__nav {
  display: flex; align-items: center; gap: calc(var(--u) * 3);
  height: calc(var(--u) * 6.4);
  border-bottom: 1px solid rgb(27 51 38 / .12);
}
.demo__logo {
  display: flex; align-items: center; gap: calc(var(--u) * .9);
  font-size: calc(var(--u) * 1.4); font-weight: 720; font-stretch: 88%; letter-spacing: -0.01em;
  white-space: nowrap;
}
.demo__logomark {
  width: calc(var(--u) * 2.2); aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(to bottom, var(--demo-sun) 0 56%, var(--demo-green) 56% 100%);
}
.demo__links {
  display: flex; gap: calc(var(--u) * 2.8); margin-left: auto;
  padding: calc(var(--u) * .6) calc(var(--u) * 1.6); border-radius: 999px;
  background: rgb(251 248 241 / .78);
  font-size: calc(var(--u) * 1.15); font-weight: 500;
}
.demo__navbtn {
  padding: calc(var(--u) * .85) calc(var(--u) * 1.7); border-radius: 999px;
  background: var(--demo-ink); color: var(--demo-bg);
  font-size: calc(var(--u) * 1.1); font-weight: 600; white-space: nowrap;
}
.demo__hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: calc(var(--u) * 5);
  min-height: 0;
}
.demo__copy {
  align-self: center;
  display: flex; flex-direction: column; align-items: flex-start; gap: calc(var(--u) * 1.8);
  min-width: 0;
}
.demo__eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-mono); font-size: calc(var(--u) * .95);
  letter-spacing: .08em; text-transform: uppercase; color: var(--demo-green);
}
.demo__eyebrow::before { content: ""; width: .75em; height: .75em; border-radius: 50%; background: var(--demo-sun); }
.demo__title {
  font-size: calc(var(--u) * 7.6);
  font-stretch: 78%; font-weight: 800;
  line-height: .88; letter-spacing: -0.015em;
  text-transform: uppercase;
}
.demo__text { max-width: 30em; font-size: calc(var(--u) * 1.4); line-height: 1.45; color: rgb(27 51 38 / .8); }
.demo__btns { display: flex; flex-wrap: wrap; gap: calc(var(--u) * 1); }
.demo__btn {
  display: inline-flex; align-items: center;
  padding: calc(var(--u) * 1.1) calc(var(--u) * 2.1); border-radius: 999px;
  background: var(--demo-sun); color: var(--demo-ink);
  font-size: calc(var(--u) * 1.15); font-weight: 650; line-height: 1.3;
  text-decoration: none; white-space: nowrap;
}
.demo__btn--ghost { background: rgb(251 248 241 / .6); box-shadow: inset 0 0 0 1px rgb(27 51 38 / .35); }
.demo__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--u) * 1.4); }
.demo__card {
  display: flex; align-items: center; gap: calc(var(--u) * 1.2);
  min-width: 0; min-height: calc(var(--u) * 5.8);
  padding: calc(var(--u) * 1.3) calc(var(--u) * 1.5);
  border-radius: calc(var(--u) * 1.2);
  background: rgb(251 248 241 / .9);
  box-shadow: 0 0 0 1px rgb(27 51 38 / .08), 0 calc(var(--u) * .6) calc(var(--u) * 2) rgb(27 51 38 / .12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.demo__card-icon { flex: none; width: calc(var(--u) * 3.2); aspect-ratio: 1; border-radius: calc(var(--u) * .9); background: var(--demo-sky); }
.demo__card:nth-child(2) .demo__card-icon { background: var(--demo-green-3); }
.demo__card:nth-child(3) .demo__card-icon { background: var(--demo-sun); }
.demo__card-text { display: grid; min-width: 0; }
.demo__card b { font-size: calc(var(--u) * 1.2); font-weight: 650; }
.demo__card small {
  font-size: calc(var(--u) * .95); color: rgb(27 51 38 / .7);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* before layer: the run-down shop with a dated, broken-looking website */
.demo--before { color: #fff; font-family: "Times New Roman", Times, serif; }
.demo--before .demo__photo { filter: saturate(.55) contrast(.92) brightness(.82); }
.demo--before::before { background: linear-gradient(90deg, rgb(20 18 16 / .55) 0%, rgb(20 18 16 / .25) 60%, rgb(20 18 16 / .15) 100%); }
.old__nav {
  margin-inline: calc(var(--u) * -4.5);
  padding-inline: calc(var(--u) * 4.5);
  background: #d4d0c8;
  border-bottom: 2px solid #808080;
  color: #000;
}
.old__logo { font-size: calc(var(--u) * 1.7); font-weight: 700; font-style: italic; color: #800000; white-space: nowrap; }
.old__links { margin-left: auto; font-size: calc(var(--u) * 1.2); white-space: nowrap; }
.old__links span { color: #0000ee; text-decoration: underline; }
.old__title {
  font-size: calc(var(--u) * 5.2); font-weight: 700; line-height: 1;
  color: #ffff66; text-shadow: 2px 2px 0 #000;
  transform: rotate(-2.5deg); transform-origin: 0 50%;
}
.old__text {
  max-width: 26em; padding: calc(var(--u) * .6) calc(var(--u) * .9);
  background: rgb(0 0 0 / .55);
  font-size: calc(var(--u) * 1.45); line-height: 1.3;
}
.old__btn {
  display: inline-block; padding: calc(var(--u) * .5) calc(var(--u) * 1.4);
  background: #d4d0c8; color: #000;
  border: 2px outset #fff;
  font-size: calc(var(--u) * 1.3);
}
.old__tape {
  position: absolute; left: -10%; right: -10%; bottom: 14%;
  display: flex; justify-content: center; gap: calc(var(--u) * 3);
  padding: calc(var(--u) * .7) 0;
  background: repeating-linear-gradient(-45deg, #f2c14e 0 calc(var(--u) * 1.4), #1b1b1b calc(var(--u) * 1.4) calc(var(--u) * 2.8));
  transform: rotate(-4deg);
  font-family: var(--font-sans); font-weight: 800; font-stretch: 80%;
  font-size: calc(var(--u) * 1.3); letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden;
}
.old__tape span { padding: 0 calc(var(--u) * .8); background: #f2c14e; color: #1b1b1b; }

@container (orientation: portrait) {
  .demo {
    --u: min(2.35cqw, 1.15cqh);
    grid-template-rows: auto minmax(0, 1fr);
    row-gap: calc(var(--u) * 3);
    padding: 0 calc(var(--u) * 2.6) calc(var(--u) * 2.6);
  }
  .demo__photo { object-position: 66% 100%; transform-origin: 66% 100%; }
  .demo--final::before {
    background: linear-gradient(180deg, rgb(244 239 227 / .97) 0%, rgb(244 239 227 / .9) 42%, rgb(244 239 227 / 0) 64%);
  }
  .demo--before::before { background: linear-gradient(180deg, rgb(20 18 16 / .6) 0%, rgb(20 18 16 / .3) 55%, rgb(20 18 16 / .1) 100%); }
  .demo__nav { height: calc(var(--u) * 7); }
  .old__nav { margin-inline: calc(var(--u) * -2.6); padding-inline: calc(var(--u) * 2.6); }
  .demo__logo { font-size: calc(var(--u) * 1.8); }
  .demo__links, .demo__cards { display: none; }
  .demo__navbtn { margin-left: auto; font-size: calc(var(--u) * 1.4); }
  .demo__hero { grid-template-columns: 1fr; gap: calc(var(--u) * 3.5); }
  .demo__copy { align-self: start; gap: calc(var(--u) * 2); }
  .demo__eyebrow { font-size: calc(var(--u) * 1.2); }
  .demo__title { font-size: calc(var(--u) * 6); }
  .demo__text { font-size: calc(var(--u) * 1.75); }
  .demo__btn { font-size: calc(var(--u) * 1.5); padding: calc(var(--u) * 1.3) calc(var(--u) * 2.2); }
  .old__logo { font-size: calc(var(--u) * 1.9); }
  .old__links { font-size: calc(var(--u) * 1.35); }
  .old__title { font-size: calc(var(--u) * 5.4); }
  .old__text { font-size: calc(var(--u) * 1.8); }
  .old__btn { font-size: calc(var(--u) * 1.6); }
  .old__tape { bottom: 30%; font-size: calc(var(--u) * 1.5); }
}

/* ---------- Section heads ---------- */
.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px; row-gap: 22px;
  align-items: end;
}
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head__title { grid-column: 1 / span 8; }
.section-head__lead {
  grid-column: 9 / span 4;
  max-width: 40ch;
  font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  line-height: 1.55;
  color: var(--muted);
}
@media (max-width: 960px) {
  .section-head__title, .section-head__lead { grid-column: 1 / -1; }
}

/* ---------- Pricing ---------- */
.pricing { position: relative; z-index: 2; }
.plans {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(48px, 7vw, 96px);
  align-items: stretch;
}
.plan {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; gap: 28px;
  padding: clamp(22px, 3vw, 44px);
  border-radius: var(--radius-lg);
  background-color: var(--cream-deep);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  --spot: rgb(255 255 255 / .55);
}
.plan.theme-dark { background-color: var(--espresso); background-image: var(--grain); --spot: rgb(255 248 237 / .07); }
.plan::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), var(--spot), transparent 65%);
  opacity: 0; transition: opacity .5s ease;
}
@media (hover: hover) { .plan:hover::before { opacity: 1; } }
@supports (grid-template-rows: subgrid) {
  .plans { grid-auto-rows: auto; }
  .plan { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 28px; align-content: start; }
  .plan__foot { margin-top: 0; align-self: end; }
}
.plan__head { display: grid; gap: 8px; }
.plan__name {
  font-stretch: 125%; font-weight: 540;
  font-size: clamp(1.875rem, 1.3rem + 1.3vw, 2.75rem);
  letter-spacing: -0.04em; line-height: 1;
}
.plan__kind { color: var(--muted); }
.plan__preview {
  overflow: hidden;
  border-radius: 14px;
  background: var(--demo-bg);
  box-shadow: 0 0 0 1px var(--line);
}
.plan__preview { position: relative; }
.mini__chrome {
  display: flex; align-items: center; gap: 6px;
  height: 32px; padding-inline: 12px;
  background: color-mix(in srgb, var(--fg) 8%, var(--bg));
}
.mini__chrome i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.mini__screen { position: relative; aspect-ratio: 16 / 8; container-type: size; }
.mini__toggle {
  position: absolute; top: 4px; right: 6px;
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; color: var(--fg);
  font: 500 .6875rem/1 var(--font-mono); letter-spacing: .02em;
  cursor: pointer;
  transition: border-color .2s ease;
}
.mini__toggle:hover { border-color: var(--fg); }
.mini__toggle svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mini__toggle .mini__icon-play { display: none; fill: currentColor; stroke: none; }
.mini__toggle.is-paused .mini__icon-pause { display: none; }
.mini__toggle.is-paused .mini__icon-play { display: block; }
html:not(.motion) .mini__toggle { display: none; }

.plan__pricing {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px;
  padding-top: 4px;
}
.price { font-stretch: 125%; font-weight: 450; font-size: clamp(4rem, 2.2rem + 5vw, 7.5rem); line-height: .82; letter-spacing: -0.055em; }
.price__visual { display: flex; align-items: flex-start; }
.price__cur { font-size: .42em; margin-top: .08em; margin-right: .06em; letter-spacing: 0; }
.price__num { display: inline-block; }
.price__label {
  font-family: var(--font-mono); font-size: .75rem; font-weight: 500; line-height: 1.35;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  text-align: right; padding-bottom: 4px;
}
.plan__care { display: grid; gap: 6px; padding: 18px 20px; border-radius: var(--radius-md); background: color-mix(in srgb, var(--fg) 5%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
.plan__care-price { font-stretch: 125%; font-weight: 560; font-size: 1.375rem; letter-spacing: -0.03em; line-height: 1.1; }
.plan__care-price span { font-stretch: 100%; font-weight: 450; font-size: 1rem; letter-spacing: 0; color: var(--muted); }
.plan__care-text { font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.plan__features { display: grid; gap: 12px; }
.plan__features li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; line-height: 1.45; }
.plan__features li::before { content: "–"; content: "–" / ""; color: var(--muted); }
.plan__foot { margin-top: auto; display: grid; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.plan__total { font-family: var(--font-mono); font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.plan__cta { width: 100%; justify-content: space-between; }
.plans__note { margin-top: 32px; color: var(--muted); text-align: center; }
.plans__note a { color: var(--fg); font-weight: 550; text-underline-offset: 3px; }

@media (max-width: 400px) {
  .plan__pricing { flex-direction: column; align-items: flex-start; }
  .price__label { text-align: left; padding-bottom: 0; }
  .price__label br { display: none; }
}
@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; }
}

/* motion preview loop (Motion plan card) */
html.motion .mini--motion .demo__title { animation: mini-title 7s var(--ease-out) infinite both; }
html.motion .mini--motion .demo__eyebrow { animation: mini-rise 7s var(--ease-out) infinite both; }
html.motion .mini--motion .demo__text { animation: mini-rise 7s var(--ease-out) .2s infinite both; }
html.motion .mini--motion .demo__btns { animation: mini-rise 7s var(--ease-out) .35s infinite both; }
html.motion .mini--motion .demo__photo { animation: mini-zoom 7s var(--ease-in-out) infinite both; }
html.motion .mini--motion .demo__card { animation: mini-card 7s var(--ease-out) infinite both; }
html.motion .mini--motion .demo__card:nth-child(2) { animation-delay: .12s; }
html.motion .mini--motion .demo__card:nth-child(3) { animation-delay: .24s; }
html.motion .mini--motion .demo * { animation-play-state: paused; }
html.motion .mini--motion.is-playing .demo * { animation-play-state: running; }
html.motion .mini--motion.is-paused .demo * { animation-play-state: paused; }
@keyframes mini-title {
  0% { clip-path: inset(0 100% 0 0); opacity: 1; }
  16%, 86% { clip-path: inset(0 0 0 0); opacity: 1; }
  96%, 100% { clip-path: inset(0 0 0 0); opacity: 0; }
}
@keyframes mini-rise {
  0%, 10% { opacity: 0; transform: translateY(40%); }
  26%, 86% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: none; }
}
@keyframes mini-zoom {
  0% { transform: scale(1.12); }
  50%, 86% { transform: scale(1); }
  100% { transform: scale(1.12); }
}
@keyframes mini-card {
  0%, 26% { opacity: 0; transform: translateY(60%); }
  42%, 86% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: none; }
}

/* ---------- Process ---------- */
#process { padding-top: 0; }
#process .section-head { padding-top: clamp(64px, 8vw, 120px); border-top: 1px solid var(--line); }
.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(48px, 7vw, 104px);
}
.steps::before, .steps::after {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px;
  background: var(--line-strong);
}
.steps::after { background: var(--fg); transform-origin: 0 50%; transition: transform 1.5s linear; }
.step { position: relative; display: grid; gap: 14px; align-content: start; padding-top: 44px; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--fg); box-shadow: 0 0 0 4px var(--bg), inset 0 0 0 1.5px var(--fg);
  transition: background-color .35s ease, box-shadow .35s ease;
  transition-delay: calc(var(--i) * .38s);
}
.step__num { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.step__title { font-stretch: 125%; font-weight: 520; font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.5rem); letter-spacing: -0.04em; line-height: 1; }
.step p { max-width: 32ch; color: var(--muted); }
html.js-ready.motion .steps:not(.is-in)::after { transform: scaleX(0); }
html.js-ready.motion .steps:not(.is-in) .step::before { background: var(--bg); box-shadow: 0 0 0 4px var(--bg), inset 0 0 0 1.5px var(--line-strong); }
/* each step fades in: staggered along the line on wide screens, as it scrolls into view on narrow ones */
.step { --step-delay: calc(var(--i) * .38s + .15s); }
html.js-ready.motion .step > * {
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--step-delay);
}
html.js-ready.motion .step:not(.is-in) > * { opacity: 0; transform: translate3d(0, 24px, 0); }
html.js-ready.motion .step > :nth-child(2) { transition-delay: calc(var(--step-delay) + .08s); }
html.js-ready.motion .step > :nth-child(3) { transition-delay: calc(var(--step-delay) + .16s); }
@media (max-width: 960px) { .step { --step-delay: 0s; } }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .steps::before, .steps::after { display: none; }
  .step::after { content: ""; position: absolute; z-index: -1; top: 7px; left: 0; right: 0; height: 1px; background: var(--line-strong); }
  .step { isolation: isolate; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; row-gap: 40px; padding-left: 36px; }
  .steps::before, .steps::after { display: block; left: 7px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  html.js-ready.motion .steps:not(.is-in)::after { transform: scaleY(0); }
  .steps::after { transform-origin: 50% 0; }
  .step { padding-top: 0; }
  .step::before { left: -36px; top: 2px; }
  .step::after { display: none; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 22px; justify-items: start; }
.faq__more { color: var(--muted); max-width: 34ch; }
.faq__more a { color: var(--fg); text-underline-offset: 3px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 26px;
  list-style: none; cursor: pointer;
  font-stretch: 112%; font-weight: 520;
  font-size: clamp(1.125rem, 1rem + .5vw, 1.4375rem);
  letter-spacing: -0.02em; line-height: 1.25;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color .3s ease, color .3s ease;
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1.5px; margin: -.75px 0 0 -6px;
  background: currentColor;
  transition: transform .45s var(--ease-out);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--fg); color: var(--bg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
@media (hover: hover) { .faq__item summary:hover .faq__icon { box-shadow: inset 0 0 0 1px var(--fg); } }
.faq__answer { padding: 0 clamp(0px, 5vw, 64px) 28px 0; max-width: 62ch; color: var(--muted); }
html.motion .faq__item[open] .faq__answer { animation: faq-in .55s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
}

/* ---------- Contact ---------- */
.contact {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 112px); align-items: start;
  margin-top: clamp(48px, 7vw, 96px);
}
.contact__direct {
  position: sticky; top: calc(var(--header-h) + 24px);
  display: grid; gap: 10px; justify-items: start;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.contact__email {
  font-stretch: 112%; font-weight: 520; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  letter-spacing: -0.02em; overflow-wrap: anywhere; user-select: all;
}
.copy-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; color: var(--fg);
  font-size: .875rem; font-weight: 550; cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.copy-btn:hover { border-color: var(--fg); }
.copy-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; }

.form {
  container-type: inline-size;
  display: grid; gap: 22px;
  padding: clamp(22px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--cream-deep);
  box-shadow: inset 0 0 0 1px var(--line);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { padding: 0; font-size: .9375rem; font-weight: 560; }
.field legend { margin-bottom: 8px; }
.input {
  width: 100%; min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgb(49 39 38 / .62); border-radius: 12px;
  background: var(--cream); color: var(--espresso);
  font-size: 1rem; line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input::placeholder { color: var(--taupe); opacity: 1; }
.input:hover { border-color: rgb(49 39 38 / .85); }
.input:focus { outline: none; border-color: var(--espresso); }
.input:focus-visible { outline: 2px solid var(--espresso); outline-offset: 2px; }
.input[aria-invalid="true"] { border-color: var(--error); }
.input[aria-invalid="true"]:focus-visible { outline-color: var(--error); }
textarea.input { min-height: 140px; resize: vertical; }
.field__error { font-size: .875rem; color: var(--error); font-weight: 500; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
@container (max-width: 560px) {
  .choices { grid-template-columns: 1fr; }
}
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice > span {
  position: relative;
  display: grid; gap: 2px; height: 100%;
  padding: 14px 44px 14px 16px;
  border: 1px solid rgb(49 39 38 / .62); border-radius: 12px;
  background: var(--cream);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.choice strong { font-weight: 580; }
.choice small { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }
.choice:hover > span { border-color: var(--espresso); }
.choice input:checked + span { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.choice input:checked + span small { color: rgb(255 248 237 / .72); }
.choice > span::after {
  content: ""; position: absolute; top: 15px; right: 16px;
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid currentColor;
  transition: border-width .2s ease;
}
.choice input:checked + span::after { border-width: 5px; }
@media (forced-colors: active) {
  .choice input:checked + span { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
  .choice input:checked + span small { color: HighlightText; }
  .faq__icon { border: 1px solid CanvasText; }
  .faq__icon::before, .faq__icon::after { background: CanvasText; }
}
.choice input:focus-visible + span { outline: 2px solid var(--espresso); outline-offset: 3px; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__live { margin-top: -22px; }
.form__live .form__status { margin-top: 22px; }
.form__status {
  padding: 16px 18px; border-radius: 12px;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px rgb(49 39 38 / .3);
  line-height: 1.5;
}
.form__status[data-tone="error"] { box-shadow: inset 0 0 0 1px var(--error); color: var(--error); }
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .contact__direct { position: static; }
}
@media (max-width: 600px) {
  .form__row, .choices { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.footer {
  --bg: var(--espresso-deep);
  position: relative;
  padding-top: clamp(88px, 10vw, 150px);
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}
.footer__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.footer__cta {
  max-width: 13ch;
  font-stretch: 125%; font-weight: 470;
  font-size: clamp(2.25rem, 1rem + 4.2vw, 5rem);
  letter-spacing: -0.045em; line-height: .95;
  text-wrap: balance;
}
.footer__nav { margin-top: clamp(48px, 6vw, 80px); }
.footer__nav ul { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer__nav a { text-decoration: none; opacity: .8; transition: opacity .2s ease; }
.footer__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer__mark {
  margin-top: clamp(40px, 6vw, 80px);
  margin-bottom: -.14em;
  overflow: hidden;
  font-stretch: 125%; font-weight: 600;
  font-size: 17.5vw;
  line-height: 1.08;
  letter-spacing: -0.06em;
  white-space: nowrap;
  user-select: none;
}
.footer__word { display: inline-block; }
.footer__word .ch { display: inline-block; }
html.js-ready.motion .footer__word .ch { transition: transform 1.3s var(--ease-out); transition-delay: calc(var(--i) * 55ms); }
html.js-ready.motion .footer__mark:not(.is-in) .ch { transform: translateY(105%); }
.footer__bottom {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .875rem; color: var(--muted);
}
.footer__bottom a { color: var(--fg); text-underline-offset: 3px; }

/* ---------- Motion: intro + reveals ---------- */
@keyframes failsafe { to { opacity: 1; transform: none; } }
@keyframes stretch { from { font-stretch: 75%; } to { font-stretch: 125%; } }

/* hero intro (above the fold: gated on .motion from the head script, with a failsafe) */
html.motion .hero__title:not(.is-split) { opacity: 0; animation: failsafe .01s 2.5s forwards; }
html.motion [data-intro],
html.motion .hero__title .w {
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
html.motion .hero__title .w { display: inline-block; transition-delay: calc(120ms + var(--i, 0) * 80ms); }
html.motion .hero:not(.is-in) [data-intro] { opacity: 0; transform: translate3d(0, 24px, 0); animation: failsafe .01s 2.5s forwards; }
html.motion .hero:not(.is-in) .hero__title .w { opacity: 0; transform: translate3d(0, .32em, 0); animation: failsafe .01s 2.5s forwards; }
html.motion .hero.is-in .stretch { animation: stretch 1.9s var(--ease-out) .2s both; }

/* scroll reveals (below the fold: gated on .js-ready so nothing hides if the script fails) */
html.js-ready.motion [data-reveal] {
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
html.js-ready.motion [data-reveal]:not(.is-in) { opacity: 0; transform: translate3d(0, 36px, 0); }
html.js-ready.motion [data-split]:not(.hero__title) .w {
  display: inline-block;
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
html.js-ready.motion [data-split]:not(.hero__title):not(.is-in) .w { opacity: 0; transform: translate3d(0, .4em, 0); }
html.js-ready.motion [data-reveal]:focus-within,
html.motion .hero:not(.is-in) [data-intro]:focus-within { opacity: 1; transform: none; transition: none; animation: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0s !important; transition-delay: 0s !important;
    animation-duration: 0s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
  }
}
