/* Sitehaus base stylesheet.
   Re-skin a client site by changing the tokens in :root only. */

@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/inter-tight-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --white: #fff;
  --bar-bg: rgb(241 239 234 / 0.94);
  --solid-hover: #2c2a27;
  --map: #e3e6df;
  --dash: #b9b4aa;
  --strike: #a19c92;
  --ground: #f1efea;
  --layer: #e7e4dd;
  --layer-2: #dcd8d0;
  --raised: #fbfaf7;
  --ink: #171614;
  --ink-2: #47443e;
  --dark: #1b1a18;
  --dark-2: #262522;
  --dark-3: #33312d;
  --on-dark: #f1efea;
  --on-dark-2: #b9b5ac;
  --accent: #2f4b3c;
  --accent-soft: #dfe6df;

  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step-hero: clamp(2.75rem, 1.6rem + 5.6vw, 6.25rem);
  --step-h2: clamp(2rem, 1.35rem + 2.9vw, 3.75rem);
  --step-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  --step-lead: clamp(1.1875rem, 1.05rem + 0.55vw, 1.5rem);
  --step-body: 1.0625rem;
  --step-small: 0.9375rem;

  --margin: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  --section: clamp(5rem, 3rem + 8vw, 10rem);
  --radius: 28px;
  --radius-sm: 16px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --lift: 0 1px 1px rgb(23 22 20 / 0.04), 0 2px 4px rgb(23 22 20 / 0.04), 0 16px 40px -16px rgb(23 22 20 / 0.22);
  --lift-strong: 0 1px 1px rgb(23 22 20 / 0.05), 0 8px 16px -6px rgb(23 22 20 / 0.12), 0 40px 80px -24px rgb(23 22 20 / 0.32);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ink); color: var(--ground); }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--margin); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--ground); padding: 0.75rem 1rem; border-radius: 999px; }
.skip:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, .h1 { font-size: var(--step-hero); line-height: 0.96; letter-spacing: -0.045em; font-weight: 650; text-wrap: balance; }
h2, .h2 { font-size: var(--step-h2); line-height: 1.02; letter-spacing: -0.035em; font-weight: 620; text-wrap: balance; }
h3, .h3 { font-size: var(--step-h3); line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; text-wrap: balance; }
.lead { font-size: var(--step-lead); line-height: 1.4; letter-spacing: -0.01em; max-width: 36ch; text-wrap: pretty; }
.prose { max-width: 68ch; }
.prose p, .prose ul, .prose ol { margin-block-end: 1.1em; text-wrap: pretty; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); margin-block: 2.2em 0.6em; letter-spacing: -0.025em; }
.prose h3 { margin-block: 1.6em 0.5em; }
.prose li { margin-block-end: 0.4em; }
.small { font-size: var(--step-small); }
.muted { color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; }

/* placeholders: anything not yet confirmed */
.ph { background: #fff3b0; color: #3b3200; padding: 0 0.25em; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.ph-block { background: #fff8d1; color: #3b3200; padding: 1.25rem 1.5rem; border-radius: var(--radius-sm); outline: 2px dashed #c9b44a; outline-offset: -2px; }
.draft-banner { background: #fff8d1; color: #3b3200; padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-size: var(--step-small); margin-block-end: 2.5rem; max-width: 68ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 3.25rem; padding: 0 1.5rem; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 1rem; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out), background-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--solid { background: var(--ink); color: var(--ground); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), 0 1px 2px rgb(0 0 0 / 0.2); }
.btn--quiet { background: var(--layer); color: var(--ink); }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--sm { min-height: 2.5rem; padding: 0 1.1rem; font-size: 0.9375rem; }
.btn__arrow { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn--solid:hover { background: var(--solid-hover); }
  .btn--quiet:hover { background: var(--layer-2); }
  .btn--light:hover { background: var(--white); }
  .btn:hover .btn__arrow { transform: translateX(3px); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.textlink { font-weight: 600; text-decoration: underline; text-decoration-color: rgb(23 22 20 / 0.3); }
.textlink:hover { text-decoration-color: currentColor; }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: var(--bar-bg); transition: box-shadow 240ms var(--ease-out); }
.bar.is-scrolled { box-shadow: 0 1px 0 rgb(23 22 20 / 0.06), 0 8px 24px -16px rgb(23 22 20 / 0.25); }
.bar__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.wordmark { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1.3rem; letter-spacing: -0.04em; text-decoration: none; margin-inline-end: auto; }
.wordmark__mark { width: 1.35rem; height: 1.35rem; background: var(--ink); clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%); border-radius: 2px; position: relative; }
.wordmark__mark::after { content: ""; position: absolute; left: 38%; bottom: 0; width: 24%; height: 38%; background: var(--ground); border-radius: 2px 2px 0 0; }
.nav__links { display: none; gap: 0.25rem; }
.nav__links a, .menu__panel a:not(.btn) { text-decoration: none; padding: 0.5rem 0.85rem; border-radius: 999px; font-weight: 500; font-size: 0.975rem; color: var(--ink-2); transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out); }
.nav__links a:hover { background: var(--layer); color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); background: var(--layer); }
.bar__cta { display: none; }
.menu { position: relative; }
.menu summary { list-style: none; display: flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; background: var(--layer); font-weight: 600; font-size: 0.95rem; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform 160ms var(--ease-out); }
.menu summary:active { transform: scale(0.97); }
.menu summary::-webkit-details-marker { display: none; }
.menu__icon { width: 14px; height: 8px; border-block: 2px solid currentColor; transition: height 200ms var(--ease-out); }
.menu[open] .menu__icon { height: 2px; border-bottom: 0; }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + 0.5rem); width: min(20rem, calc(100vw - 2 * var(--margin)));
  background: var(--raised); border-radius: 22px; padding: 0.75rem; box-shadow: var(--lift-strong);
  transform-origin: top right; animation: pop 220ms var(--ease-out);
}
.menu__panel ul { list-style: none; padding: 0; margin: 0 0 0.75rem; display: grid; }
.menu__panel a:not(.btn) { display: block; padding: 0.8rem 0.9rem; font-size: 1.0625rem; color: var(--ink); }
.menu__panel a[aria-current="page"] { background: var(--layer); }
.menu__panel .btn { width: 100%; }
@keyframes pop { from { opacity: 0; transform: scale(0.96) translateY(-4px); } }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .bar__cta { display: inline-flex; }
  .menu { display: none; }
}

.crumbs { padding-block: 1.25rem 0; font-size: var(--step-small); color: var(--ink-2); }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.crumbs li + li::before { content: "/"; margin-inline-end: 0.4rem; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--layer { background: var(--layer); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark .muted { color: var(--on-dark-2); }
.section__head { display: grid; gap: 1.25rem; margin-block-end: clamp(2.5rem, 2rem + 3vw, 5rem); max-width: 54rem; }
.section__head p { color: var(--ink-2); font-size: var(--step-lead); line-height: 1.45; max-width: 42ch; }
.section--dark .section__head p { color: var(--on-dark-2); }
.split { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .split { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; } .split--even { grid-template-columns: 1fr 1fr; } }

/* page heroes (inner pages) */
.page-hero { padding-block: clamp(3rem, 2rem + 5vw, 7rem) clamp(3rem, 2rem + 4vw, 6rem); display: grid; gap: 1.5rem; }
.page-hero h1 { max-width: 15ch; }
.page-hero .lead { color: var(--ink-2); max-width: 44ch; }

/* ---------- home hero ---------- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 5vw, 6rem) var(--section); display: grid; gap: clamp(3rem, 2rem + 4vw, 5rem); }
.hero h1 { max-width: 11ch; }
.hero__copy { display: grid; gap: 1.75rem; align-content: start; }
.hero__copy .lead { color: var(--ink-2); }
.hero__note { font-size: var(--step-small); color: var(--ink-2); }
@media (min-width: 1040px) {
  .hero { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* the search-result interface fragment */
.serp { position: relative; isolation: isolate; }
.serp__stage { position: relative; background: var(--layer); border-radius: calc(var(--radius) + 8px); padding: clamp(1rem, 0.5rem + 2.5vw, 2.25rem); }
.serp__window { background: var(--raised); border-radius: var(--radius); box-shadow: var(--lift-strong); overflow: hidden; }
.serp__top { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.1rem; background: var(--white); }
.serp__query { flex: 1; display: flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; background: var(--ground); font-size: 0.975rem; font-weight: 500; overflow: hidden; white-space: nowrap; }
.serp__query svg { flex: none; width: 16px; height: 16px; color: var(--ink-2); }
.serp__typed { overflow: hidden; display: inline-block; max-width: 100%; }
.serp__caret { width: 1.5px; height: 1.1em; background: var(--ink); flex: none; margin-left: -0.45rem; }
.serp__body { padding: 1.1rem; display: grid; gap: 0.9rem; }
.serp__label { font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); }
.serp__map { height: 7.5rem; border-radius: 18px; background-color: var(--map); position: relative; overflow: hidden; }
.serp__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.serp__list { display: grid; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.serp__item { display: grid; grid-template-columns: 2.25rem 1fr auto; gap: 0.75rem; align-items: center; padding: 0.7rem 0.75rem; border-radius: 16px; background: var(--ground); }
.serp__pin { width: 2.25rem; height: 2.25rem; border-radius: 12px; background: var(--layer-2); display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; color: var(--ink-2); }
.serp__lines { display: grid; gap: 0.35rem; }
.serp__lines b { font-weight: 600; font-size: 0.925rem; }
.serp__lines span { height: 0.5rem; border-radius: 99px; background: var(--layer-2); width: 70%; }
.serp__call { font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.7rem; border-radius: 99px; background: var(--layer); color: var(--ink-2); }
.serp__item--you { background: transparent; outline: 2px dashed var(--dash); outline-offset: -2px; }
.serp__item--you .serp__pin { background: transparent; outline: 2px dashed var(--dash); outline-offset: -2px; color: var(--ink-2); }
.serp__item--you b { color: var(--ink-2); }
.serp__ai {
  position: absolute; z-index: 2; right: -0.5rem; bottom: -2.25rem; width: min(78%, 21rem);
  background: var(--dark); color: var(--on-dark); border-radius: 22px; padding: 1rem 1.1rem 1.1rem;
  box-shadow: var(--lift-strong); display: grid; gap: 0.5rem; font-size: 0.9rem; line-height: 1.45;
}
.serp__ai-head { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; font-weight: 600; color: var(--on-dark-2); }
.serp__ai-dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #8fb59d; }
.serp__ai p { color: var(--on-dark); }
.serp__ai mark { background: var(--dark-3); color: var(--on-dark); padding: 0 0.3em; border-radius: 5px; }
.serp__caption { margin-top: 3.5rem; font-size: var(--step-small); color: var(--ink-2); max-width: 46ch; }
@media (min-width: 1040px) { .serp__ai { right: -2rem; } }

/* ---------- search test ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; padding: 1.25rem 1.25rem 1.35rem; background: var(--raised); border-radius: var(--radius-sm); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--ink); color: var(--ground); font-weight: 650; font-size: 1.1rem; }
.steps h3 { margin-block: 0.55rem 0.35rem; font-size: 1.1875rem; }
.steps p { color: var(--ink-2); }
.steps q { font-weight: 600; color: var(--ink); quotes: "\201C" "\201D"; }
.callout { margin-top: 2rem; padding: 1.5rem; border-radius: var(--radius-sm); background: var(--accent-soft); color: #1d3227; font-size: 1.0625rem; max-width: 40rem; }
.callout strong { font-weight: 650; }

/* ---------- what you get (bento) ---------- */
.bento { display: grid; gap: 0.875rem; }
.tile { position: relative; background: var(--raised); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: grid; gap: 1rem; align-content: start; overflow: hidden; }
.tile h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.03em; line-height: 1.08; }
.tile p { color: var(--ink-2); max-width: 40ch; }
.tile--dark { background: var(--dark); color: var(--on-dark); }
.tile--dark p { color: var(--on-dark-2); }
.tile__art { margin-top: 0.5rem; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile--a { grid-column: span 4; grid-row: span 2; }
  .tile--b { grid-column: span 2; grid-row: span 2; }
  .tile--c { grid-column: span 3; }
  .tile--d { grid-column: span 3; }
  .tile--a { grid-template-columns: 1fr 1fr; align-items: center; column-gap: 2.5rem; }
  .tile--a .tile__art { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
}

/* phone mock */
.phone { width: min(15rem, 100%); margin-inline: auto; aspect-ratio: 9 / 18.5; border-radius: 2.25rem; background: var(--dark); padding: 0.55rem; box-shadow: var(--lift-strong); }
.phone__screen { height: 100%; border-radius: 1.75rem; background: var(--ground); overflow: hidden; display: grid; grid-template-rows: auto auto 1fr auto; gap: 0.6rem; padding: 1.6rem 0.9rem 0.9rem; }
.phone__bar { display: flex; justify-content: space-between; align-items: center; font-size: 0.6rem; font-weight: 700; letter-spacing: -0.02em; }
.phone__bar i { width: 0.9rem; height: 0.45rem; border-block: 1.5px solid var(--ink); }
.phone__hero { background: var(--dark-2); border-radius: 0.9rem; padding: 0.9rem 0.8rem; color: var(--on-dark); display: grid; gap: 0.35rem; }
.phone__hero strong { font-size: 0.95rem; line-height: 1.05; letter-spacing: -0.03em; }
.phone__hero span { font-size: 0.55rem; color: var(--on-dark-2); }
.phone__rows { display: grid; gap: 0.4rem; align-content: start; }
.phone__rows span { height: 2.1rem; border-radius: 0.6rem; background: var(--layer); }
.phone__rows span:nth-child(2) { width: 82%; }
.phone__btn { height: 2.1rem; border-radius: 99px; background: var(--ink); color: var(--ground); font-size: 0.6rem; font-weight: 700; display: grid; place-items: center; }

/* calendar fragment */
.cal { background: var(--ground); border-radius: 18px; padding: 1rem; display: grid; gap: 0.75rem; }
.cal__head { display: flex; justify-content: space-between; font-weight: 600; font-size: 0.875rem; }
.cal__head span { color: var(--ink-2); font-weight: 500; }
.cal__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
.cal__slots span { text-align: center; padding: 0.55rem 0; border-radius: 10px; background: var(--raised); font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.cal__slots .is-taken { background: transparent; color: var(--strike); text-decoration: line-through; }
.cal__slots .is-picked { background: var(--ink); color: var(--ground); }

/* QR card */
.qr { display: flex; gap: 1rem; align-items: center; background: var(--dark-2); border-radius: 18px; padding: 1rem; }
.qr svg { width: 5.5rem; height: 5.5rem; flex: none; background: #fff; border-radius: 10px; padding: 0.4rem; }
.qr p { color: var(--on-dark); font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.qr p span { display: block; color: var(--on-dark-2); font-weight: 500; font-size: 0.8125rem; margin-top: 0.25rem; }

/* search tile pin list */
.mini-search { display: grid; gap: 0.4rem; }
.mini-search span { display: flex; align-items: center; gap: 0.6rem; padding: 0.65rem 0.8rem; border-radius: 12px; background: var(--dark-2); font-size: 0.875rem; color: var(--on-dark-2); }
.mini-search span::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--dark-3); flex: none; }
.mini-search .is-you { background: var(--on-dark); color: var(--ink); font-weight: 600; }
.mini-search .is-you::before { background: #5c8a6d; }

/* ---------- calculator ---------- */
.calc { display: grid; gap: 0.875rem; }
@media (min-width: 960px) { .calc { grid-template-columns: 7fr 5fr; } }
.calc__inputs { background: var(--raised); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: grid; gap: 1.5rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-weight: 600; }
.field .hint { font-size: var(--step-small); color: var(--ink-2); }
.field input[type="number"], .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea, .field select {
  width: 100%; min-height: 3.25rem; padding: 0.75rem 1rem; border-radius: 14px; border: 1.5px solid var(--layer-2); background: var(--white);
  font-size: 1.0625rem; transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgb(23 22 20 / 0.08); }
.field--inline { grid-template-columns: 1fr 8rem; align-items: center; column-gap: 1rem; }
.field--inline .hint { grid-column: 1 / -1; }
.calc__result { background: var(--dark); color: var(--on-dark); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: grid; gap: 1rem; align-content: space-between; }
.calc__result h3 { color: var(--on-dark-2); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.calc__big { font-size: clamp(3rem, 2rem + 4vw, 5rem); font-weight: 650; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__line { color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.calc__line strong { color: var(--on-dark); font-weight: 600; }
.calc__fine { font-size: 0.875rem; color: var(--on-dark-2); }
.calc__fine a { color: var(--on-dark); }

/* ---------- trades / areas ---------- */
.trades { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 0.6rem; }
.trades li { font-size: clamp(1.5rem, 1rem + 2.4vw, 3rem); font-weight: 620; letter-spacing: -0.035em; line-height: 1.1; padding: 0.35rem 1.1rem 0.5rem; border-radius: 999px; background: var(--raised); }
.trades li.is-muted { background: transparent; color: var(--ink-2); padding-inline: 0.4rem; }
.areas { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; }
.areas li { padding: 0.5rem 1rem; border-radius: 999px; background: var(--layer); font-weight: 500; }

/* ---------- plan strip (home) ---------- */
.plans { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.plans li { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1.5rem; align-items: baseline; padding: 1.25rem 1.5rem; border-radius: var(--radius-sm); background: var(--dark-2); }
.plans b { font-size: 1.375rem; font-weight: 620; letter-spacing: -0.02em; }
.plans .plans__price { font-size: 1.375rem; font-weight: 620; font-variant-numeric: tabular-nums; }
.plans .plans__price small { font-size: 0.875rem; color: var(--on-dark-2); font-weight: 500; }
.plans p { grid-column: 1 / -1; color: var(--on-dark-2); font-size: var(--step-small); }
.plans .is-rec { background: var(--on-dark); color: var(--ink); }
.plans .is-rec p, .plans .is-rec small { color: var(--ink-2) !important; }
.plans .is-rec b::after { content: "Recommended"; margin-left: 0.6rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0; padding: 0.2rem 0.6rem; border-radius: 99px; background: var(--accent); color: #fff; vertical-align: 0.25em; }

/* ---------- process ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.875rem; counter-reset: p; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li { counter-increment: p; background: var(--raised); border-radius: var(--radius-sm); padding: 1.5rem; display: grid; gap: 0.6rem; align-content: start; }
.process li::before { content: counter(p); font-size: 2.75rem; font-weight: 650; letter-spacing: -0.05em; line-height: 1; color: var(--layer-2); }
.process p { color: var(--ink-2); }
.section--layer .process li, .section--layer .steps li { background: var(--raised); }

/* ---------- CTA ---------- */
.cta { display: grid; gap: 2rem; }
.cta h2 { max-width: 14ch; font-size: clamp(2.5rem, 1.6rem + 4vw, 5.25rem); letter-spacing: -0.045em; line-height: 0.98; }
.cta p { color: var(--on-dark-2); font-size: var(--step-lead); max-width: 40ch; }
@media (min-width: 960px) { .cta { grid-template-columns: 1.3fr 1fr; align-items: end; } .cta__side { display: grid; gap: 1.5rem; justify-items: start; } }
.cta__side { display: grid; gap: 1.25rem; }

/* ---------- services page ---------- */
.svc { display: grid; gap: 1.5rem; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.svc + .svc { box-shadow: 0 -1px 0 var(--layer-2); }
@media (min-width: 960px) { .svc { grid-template-columns: 5fr 7fr; gap: 5rem; } }
.svc__body { display: grid; gap: 1.25rem; }
.svc__body p { color: var(--ink-2); max-width: 60ch; }
.svc__body ul { padding-left: 1.2rem; display: grid; gap: 0.4rem; max-width: 60ch; }
.svc__body li::marker { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0 !important; }
.tags li { font-size: 0.875rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 99px; background: var(--layer); }
.tags li.is-on { background: var(--ink); color: var(--ground); }

/* ---------- pricing ---------- */
.tiers { display: grid; gap: 0.875rem; align-items: stretch; }
@media (min-width: 700px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .tiers { grid-template-columns: repeat(4, 1fr); } }
.tier { background: var(--raised); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; position: relative; transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.tier__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 2rem; }
.tier__name { font-size: 1.375rem; }
.tier__flag { font-size: 0.8125rem; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: 99px; background: var(--accent); color: #fff; }
.tier__price { display: flex; align-items: baseline; gap: 0.2rem; }
.tier__amount { font-size: 3.25rem; font-weight: 650; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.tier__period { color: var(--ink-2); font-weight: 500; }
.tier__summary { color: var(--ink-2); min-height: 3.1em; }
.tier__prev { font-weight: 600; font-size: var(--step-small); }
.tier__list { list-style: none; padding: 0; margin: 0 0 auto; display: grid; gap: 0.6rem; }
.tier__list li { position: relative; padding-left: 1.6rem; font-size: 0.975rem; }
.tier__list li::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 1rem; height: 1rem; border-radius: 50%; background: var(--layer) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23171614' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.tier .btn { margin-top: 0.75rem; width: 100%; }
.tier--recommended { background: var(--dark); color: var(--on-dark); box-shadow: var(--lift-strong); }
.tier--recommended .tier__period, .tier--recommended .tier__summary { color: var(--on-dark-2); }
.tier--recommended .tier__list li::before { background-color: var(--on-dark); }
.tier--recommended .btn--solid { background: var(--on-dark); color: var(--ink); }
@media (min-width: 1180px) { .tier--recommended { transform: translateY(-0.75rem); } }

.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); background: var(--raised); }
.compare { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: 0.975rem; }
.compare caption { text-align: left; padding: 1.5rem 1.5rem 0.5rem; font-weight: 600; }
.compare th, .compare td { padding: 0.9rem 1rem; text-align: center; border-bottom: 1px solid var(--layer); }
.compare th[scope="row"] { text-align: left; font-weight: 500; }
.compare thead th { font-weight: 650; font-size: 1.0625rem; }
.compare thead th:first-child { text-align: left; }
.compare .yes { font-weight: 700; }
.compare .no { color: var(--strike); }
.compare .col-rec { background: rgb(47 75 60 / 0.07); }
.compare tbody tr:last-child > * { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faqs { display: grid; gap: 0.5rem; max-width: 52rem; }
.faq { background: var(--raised); border-radius: var(--radius-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--layer) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4v8M4 8h8' stroke='%23171614' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 0.9rem no-repeat; transition: transform 240ms var(--ease-out); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 1.5rem 1.4rem; color: var(--ink-2); max-width: 64ch; }
.faq__a p + p { margin-top: 0.75rem; }
.faq-group { margin-block-end: 3.5rem; }
.faq-group h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); margin-block-end: 1.25rem; }

/* ---------- about / bio ---------- */
.bio { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .bio { grid-template-columns: 16rem 1fr; gap: 3rem; } }
.monogram { width: 100%; max-width: 16rem; aspect-ratio: 1; border-radius: var(--radius); background: var(--dark); color: var(--on-dark); display: grid; place-items: center; font-size: 5rem; font-weight: 650; letter-spacing: -0.06em; }
.principles { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.875rem; }
@media (min-width: 900px) { .principles { grid-template-columns: repeat(2, 1fr); } }
.principles li { background: var(--dark-2); border-radius: var(--radius-sm); padding: 1.5rem; display: grid; gap: 0.5rem; }
.principles h3 { font-size: 1.25rem; }
.principles p { color: var(--on-dark-2); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 0.875rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.panel { background: var(--raised); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: grid; gap: 1.25rem; align-content: start; }
.panel--dark { background: var(--dark); color: var(--on-dark); }
.panel--dark .muted { color: var(--on-dark-2); }
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form .btn { justify-self: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list dt, .contact-list b { display: block; font-size: var(--step-small); color: var(--on-dark-2); font-weight: 500; }
.contact-list a { font-size: 1.25rem; font-weight: 600; text-decoration: none; }

/* ---------- footer ---------- */
.foot { background: var(--dark); color: var(--on-dark); padding-block: clamp(4rem, 3rem + 4vw, 7rem) 2rem; overflow: hidden; }
.foot__top { display: grid; gap: 1.5rem; justify-items: start; padding-block-end: 3.5rem; }
.foot__pitch { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; max-width: 24ch; }
@media (min-width: 900px) { .foot__top { grid-template-columns: 1fr auto; align-items: end; } }
.foot__cols { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); padding-block: 2.5rem; background: var(--dark); box-shadow: 0 -1px 0 var(--dark-3); }
@media (min-width: 900px) { .foot__cols { grid-template-columns: repeat(3, 1fr); } }
.foot__cols > :last-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot__cols > :last-child { grid-column: auto; } }
.foot__h { font-size: 0.9375rem; font-weight: 600; color: var(--on-dark-2); letter-spacing: 0; margin-block-end: 0.9rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .ph { color: #3b3200; }
.foot__name { font-size: clamp(5rem, 1rem + 19vw, 18rem); font-weight: 700; letter-spacing: -0.065em; line-height: 0.8; color: var(--dark-2); margin: 1.5rem 0 1.5rem -0.05em; user-select: none; white-space: nowrap; }
.foot__legal { font-size: 0.875rem; color: var(--on-dark-2); }
.foot__legal a { text-decoration: underline; }

/* ---------- motion ----------
   Content is visible by default. site.js adds .js-reveal to <html> only when motion is allowed,
   then reveals sections as they enter the viewport. */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .serp__typed { animation: type 1.6s steps(26, end) 0.35s both; }
  .serp__caret { animation: blink 1s steps(1) infinite; }
  .serp__item { animation: rise 600ms var(--ease-out) both; }
  .serp__item:nth-child(1) { animation-delay: 2.05s; }
  .serp__item:nth-child(2) { animation-delay: 2.15s; }
  .serp__item:nth-child(3) { animation-delay: 2.25s; }
  .serp__item:nth-child(4) { animation-delay: 2.6s; }
  .serp__ai { animation: float-in 700ms var(--ease-out) 3s both; }
  .serp__map circle { animation: ping 600ms var(--ease-out) both; animation-delay: 1.95s; transform-box: fill-box; transform-origin: center; }
  @media (hover: hover) and (pointer: fine) {
    .tier:not(.tier--recommended):hover { transform: translateY(-4px); box-shadow: var(--lift); }
  }
}
@keyframes type { from { max-width: 0; } to { max-width: 100%; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes float-in { from { opacity: 0; transform: translateY(14px) scale(0.97); } }
@keyframes ping { from { opacity: 0; transform: scale(0.4); } }

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

@media print {
  .bar, .foot__name, .menu, .skip { display: none; }
  body { background: #fff; }
}

.svc h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); letter-spacing: -0.035em; line-height: 1.05; }

/* hero: on phones the AI card sits below the results so it never hides "not listed" */
@media (max-width: 699px) {
  .serp__ai { position: relative; right: auto; bottom: auto; width: auto; margin: 0.75rem 0 0 1.5rem; }
  .serp__caption { margin-top: 1.25rem; }
}
@media (min-width: 700px) { .serp__ai { bottom: -3.5rem; } }

/* closing call to action: a full field of the accent so it never runs into the dark footer */
.section--accent { background: var(--accent); color: var(--on-dark); }
.section--accent .cta p { color: #d3ddd5; }

/* ---------- Dark mode: follows the device unless the visitor picks one ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: #141311; --layer: #1e1d1a; --layer-2: #2c2a26; --raised: #1a1917;
    --ink: #f1efea; --ink-2: #b4afa5;
    --dark: #23221f; --dark-2: #2c2b28; --dark-3: #3a3834; --on-dark: #f1efea; --on-dark-2: #b4afa5;
    --accent: #8fb59d; --accent-soft: #223029;
    --white: #22211e; --bar-bg: rgb(20 19 17 / 0.9); --solid-hover: #ffffff; --map: #2a2e29; --dash: #5a5650; --strike: #6f6a62;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #141311; --layer: #1e1d1a; --layer-2: #2c2a26; --raised: #1a1917;
  --ink: #f1efea; --ink-2: #b4afa5;
  --dark: #23221f; --dark-2: #2c2b28; --dark-3: #3a3834; --on-dark: #f1efea; --on-dark-2: #b4afa5;
  --accent: #8fb59d; --accent-soft: #223029;
  --white: #22211e; --bar-bg: rgb(20 19 17 / 0.9); --solid-hover: #ffffff; --map: #2a2e29; --dash: #5a5650; --strike: #6f6a62;
}
body { background: var(--ground); color: var(--ink); transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out); }
/* In dark mode the recommended plan's light button needs dark text. */
:root[data-theme="dark"] .tier--recommended .btn--solid { color: #141311; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tier--recommended .btn--solid { color: #141311; } }

/* ---------- Header tools: search + theme ---------- */
.bar__tools { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.nav + .bar__tools { margin-left: 0.75rem; }
.icon-btn { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out); }
.icon-btn svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--layer); } }
.icon-btn:focus-visible, .copy-btn:focus-visible, .to-top:focus-visible, .float-cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; } :root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .i-sun { display: block; } :root:not([data-theme="light"]) .i-moon { display: none; } }

/* ---------- Scroll progress ---------- */
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---------- Site search ---------- */
.search { width: min(40rem, calc(100% - 2rem)); max-height: min(34rem, 80vh); margin: 12vh auto auto; padding: 0; border: 0; border-radius: var(--radius-sm); background: var(--raised); color: var(--ink); box-shadow: 0 30px 80px rgb(0 0 0 / 0.28); overflow: hidden; }
.search::backdrop { background: rgb(20 19 17 / 0.45); backdrop-filter: blur(4px); }
.search[open] { animation: pop 200ms var(--ease-out); }
.search__box { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--layer-2); }
.search__box svg { width: 1.15rem; height: 1.15rem; flex: none; fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linecap: round; }
.search__box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1.0625rem; padding: 0.4rem 0; }
.search__close { border: 1px solid var(--layer-2); background: transparent; color: var(--ink-2); font: inherit; font-size: 0.75rem; padding: 0.2rem 0.5rem; border-radius: 6px; cursor: pointer; }
.search__results { list-style: none; margin: 0; padding: 0.5rem; overflow-y: auto; max-height: 26rem; }
.search__results a { display: block; padding: 0.75rem 0.9rem; border-radius: 12px; color: var(--ink); text-decoration: none; }
.search__results a:focus-visible, .search__results a.is-active { background: var(--layer); outline: none; }
@media (hover: hover) and (pointer: fine) { .search__results a:hover { background: var(--layer); } }
.search__results b { display: block; font-weight: 600; }
.search__results span { display: block; margin-top: 0.15rem; font-size: 0.875rem; color: var(--ink-2); }
.search__empty { margin: 0; padding: 1.25rem 1.1rem 1.5rem; color: var(--ink-2); font-size: 0.9375rem; }

/* ---------- Floating buttons ---------- */
.to-top, .float-cta { position: fixed; z-index: 40; bottom: calc(1rem + env(safe-area-inset-bottom)); opacity: 0; visibility: hidden; transform: translateY(0.75rem); transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 220ms; }
.to-top.is-shown, .float-cta.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top { right: 1rem; width: 2.9rem; height: 2.9rem; display: grid; place-items: center; border: 1px solid var(--layer-2); border-radius: 999px; background: var(--raised); color: var(--ink); cursor: pointer; box-shadow: 0 8px 24px rgb(0 0 0 / 0.12); }
.to-top svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.float-cta { left: 1rem; right: 4.6rem; display: flex; justify-content: center; align-items: center; min-height: 2.9rem; padding: 0 1.25rem; border-radius: 999px; background: var(--ink); color: var(--ground); font-weight: 600; text-decoration: none; box-shadow: 0 10px 28px rgb(0 0 0 / 0.22); }
@media (min-width: 900px) { .float-cta { display: none; } }

/* ---------- Copy email ---------- */
.copy-row { display: inline-flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.copy-btn { border: 1px solid currentColor; background: transparent; color: inherit; opacity: 0.8; font: inherit; font-size: 0.8125rem; font-weight: 600; padding: 0.2rem 0.65rem; border-radius: 999px; cursor: pointer; transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out); }
.copy-btn:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .copy-btn:hover { opacity: 1; } }

/* ---------- Form states ---------- */
.field__error { margin: 0.4rem 0 0; font-size: 0.875rem; font-weight: 500; color: #b4412f; }
:root[data-theme="dark"] .field__error { color: #f08b78; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field__error { color: #f08b78; } }
.field [aria-invalid="true"] { border-color: #b4412f; }
.form__status { margin: 0.75rem 0 0; padding: 0.9rem 1.1rem; border-radius: 14px; font-size: 0.9375rem; }
.form__status.is-error { background: rgb(180 65 47 / 0.1); color: inherit; }
.form__status.is-success { background: var(--accent-soft); color: inherit; }
[data-submit] { position: relative; }
[data-submit].is-loading .btn__label { opacity: 0; }
[data-submit].is-loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .to-top, .float-cta, body { transition: none; }
  .search[open] { animation: none; }
  [data-submit].is-loading::after { animation-duration: 1.6s; }
}

/* ---------- Print ---------- */
@media print {
  :root { --ground: #fff; --ink: #000; --ink-2: #333; --layer: #fff; --raised: #fff; --white: #fff; }
  .progress, .bar__tools, .to-top, .float-cta, .search, .crumbs, .copy-btn, .btn, form { display: none !important; }
  body { color: #000; font-size: 11pt; }
  main a[href^="http"]::after, main a[href^="mailto:"]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #555; }
  h1, h2, h3 { break-after: avoid; }
  section, details, li { break-inside: avoid; }
  details > *:not(summary) { display: block !important; }
}

/* Small phones: the search and theme buttons need room, so the menu shows its icon only. */
@media (max-width: 520px) {
  .menu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bar__tools { gap: 0; }
}
