/* ==========================================================================
   Markov Health — site styles
   Dark monochrome theme. One accent (mint, --accent) for marks: ticks, footnotes, step numbers.
   ========================================================================== */

/* Geist and Outfit, self-hosted (SIL OFL; see assets/fonts/LICENSE.txt and OFL-Outfit.txt). */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/Geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/Outfit-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Arial with Geist's metrics, so swapping in Geist doesn't shift the layout. */
@font-face {
  font-family: "Geist Fallback";
  src: local("Arial");
  ascent-override: 95.94%;
  descent-override: 28.16%;
  line-gap-override: 0%;
  size-adjust: 104.76%;
}

:root {
  --bg: #0e0e0e;
  --bg-2: #121212;
  --card: #151515;
  --card-2: #1a1a1a;
  --line: #262626;
  --line-2: #333333;
  --text: #f2f2f2;
  --text-3: #bbbbbb;
  --muted: #9a9a9a;
  --accent: #9fe3c4;
  --accent-wash: #18241f;
  /* Channel values for translucent colors, so each theme can swap them. */
  --bg-rgb: 14 14 14;
  --ink-rgb: 255 255 255;
  --ink-boost: 1;
  --shadow-rgb: 0 0 0;
  --shadow-k: 1;
  --accent-rgb: 159 227 196;

  --display: "Geist", "Geist Fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --label: var(--display);   /* eyebrows and small labels use the normal sans, never a monospace */
  --num: "Outfit", var(--display);   /* 01 / 02 / 03 numbering, as on cognorlabs.com */

  --header-h: 76px;
  --gutter: clamp(16px, 3vw, 32px);
  --maxw: 1120px;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --section-gap: 120px;
  --content-gap: 40px;
  --card-gap: 24px;

  color-scheme: dark;
}

/* Light theme: a warm page, nav and card surfaces with our green ink.
   Chosen with the header toggle; first visits follow the system setting. */
:root[data-theme="light"] {
  --bg: #fbfaf7;
  --bg-2: #f6f4ef;
  --card: #ffffff;
  --card-2: #f7f5f0;
  --line: #e2dfd6;
  --line-2: #d3cfc4;
  --text: #1e2e24;
  --text-3: #3f4c41;
  --muted: #5a6359;
  --accent: #345c44;
  --accent-wash: #eef2ec;
  --bg-rgb: 251 250 247;
  --ink-rgb: 30 46 36;
  --ink-boost: 1.1;
  --shadow-rgb: 21 25 43;
  --shadow-k: .35;
  --accent-rgb: 52 92 68;

  color-scheme: light;
}

/* Gray ramp: every neutral the stylesheet uses. Dark = the original gray; light = the same role
   in the light theme (page, white surface, warm line, or green-gray text). Generated. */
:root {
  --n-00: #000000;
  --n-0e: #0e0e0e;
  --n-10: #101010;
  --n-11: #111111;
  --n-12: #121212;
  --n-13: #131313;
  --n-14: #141414;
  --n-15: #151515;
  --n-16: #161616;
  --n-17: #171717;
  --n-18: #181818;
  --n-19: #191919;
  --n-1a: #1a1a1a;
  --n-1b: #1b1b1b;
  --n-1c: #1c1c1c;
  --n-1d: #1d1d1d;
  --n-1f: #1f1f1f;
  --n-22: #222222;
  --n-24: #242424;
  --n-2a: #2a2a2a;
  --n-2c: #2c2c2c;
  --n-2e: #2e2e2e;
  --n-30: #303030;
  --n-3a: #3a3a3a;
  --n-4a: #4a4a4a;
  --n-55: #555555;
  --n-5a: #5a5a5a;
  --n-6b: #6b6b6b;
  --n-6e: #6e6e6e;
  --n-7d: #7d7d7d;
  --n-85: #858585;
  --n-88: #888888;
  --n-8a: #8a8a8a;
  --n-8f: #8f8f8f;
  --n-9a: #9a9a9a;
  --n-a0: #a0a0a0;
  --n-a8: #a8a8a8;
  --n-aa: #aaaaaa;
  --n-b4: #b4b4b4;
  --n-b8: #b8b8b8;
  --n-c4: #c4c4c4;
  --n-c8: #c8c8c8;
  --n-cc: #cccccc;
  --n-cf: #cfcfcf;
  --n-d0: #d0d0d0;
  --n-d6: #d6d6d6;
  --n-e2: #e2e2e2;
  --n-e6: #e6e6e6;
  --n-f2: #f2f2f2;
  --n-f4: #f4f4f4;
  --n-ff: #ffffff;
}
:root[data-theme="light"] {
  --n-00: #fbfaf7;
  --n-0e: #fbfaf7;
  --n-10: #ffffff;
  --n-11: #ffffff;
  --n-12: #ffffff;
  --n-13: #ffffff;
  --n-14: #ffffff;
  --n-15: #ffffff;
  --n-16: #ffffff;
  --n-17: #ffffff;
  --n-18: #ffffff;
  --n-19: #ffffff;
  --n-1a: #ffffff;
  --n-1b: #ffffff;
  --n-1c: #ffffff;
  --n-1d: #ffffff;
  --n-1f: #ffffff;
  --n-22: #ffffff;
  --n-24: #e1ded5;
  --n-2a: #dcd9ce;
  --n-2c: #dbd7cc;
  --n-2e: #d9d5ca;
  --n-30: #d7d3c8;
  --n-3a: #cfcabd;
  --n-4a: #8c9389;
  --n-55: #858c82;
  --n-5a: #82897f;
  --n-6b: #777f75;
  --n-6e: #757d73;
  --n-7d: #6b746a;
  --n-85: #657066;
  --n-88: #646e64;
  --n-8a: #626d63;
  --n-8f: #5f6a60;
  --n-9a: #586359;
  --n-a0: #545f55;
  --n-a8: #4f5a50;
  --n-aa: #4d594f;
  --n-b4: #475349;
  --n-b8: #445147;
  --n-c4: #3c4a40;
  --n-c8: #3a473d;
  --n-cc: #37453b;
  --n-cf: #354339;
  --n-d0: #344238;
  --n-d6: #303f35;
  --n-e2: #28382e;
  --n-e6: #26352b;
  --n-f2: #1e2e24;
  --n-f4: #1e2e24;
  --n-ff: #1e2e24;
}


*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
body.menu-open .site-header {
  z-index: 120;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol, dl, dd { margin: 0; padding: 0; }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

:focus-visible {
  outline: 2px solid rgb(var(--ink-rgb) / calc(.7 * var(--ink-boost)));
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --------------------------------------------------------------------------
   Type primitives
   -------------------------------------------------------------------------- */

.eyebrow {
  display: block;
  margin: 0 0 16px;
  color: var(--n-a8);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.h1, .h2 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--text);
  text-wrap: balance;
}

.h1 {
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.h2 {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.h1 em, .h2 em {
  font-style: normal;
  font-weight: 500;
  background: linear-gradient(135deg, var(--n-ff) 6%, var(--n-7d) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.h1 em.tail {
  font-weight: inherit;
  background: linear-gradient(135deg, var(--n-b4) 0%, var(--n-6e) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.sub {
  max-width: 60ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}
.sub a { color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }

.section {
  margin-top: var(--section-gap);
  text-align: center;
}

.section > .wrap > .h2 { margin: 0 auto 20px; max-width: 900px; }
.section > .wrap > .sub { margin-bottom: var(--content-gap); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 6px;
  background: var(--n-f2);
  color: var(--n-0e);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--n-ff); }
.btn:active { transform: scale(.98); box-shadow: none; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--n-d0);
  font-size: 15px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: rgb(var(--ink-rgb) / calc(.45 * var(--ink-boost)));
  transition: color .2s, text-decoration-color .2s;
}
.link:hover { color: var(--n-ff); text-decoration-color: var(--n-ff); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}
.actions--center { justify-content: center; }

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--header-h);
  padding: 0 var(--gutter);
  background: rgb(var(--bg-rgb) / .86);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1280px, 100%);
  color: rgb(var(--ink-rgb) / calc(.72 * var(--ink-boost)));
  font-family: var(--display);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -.005em;
}
.nav__side { display: flex; align-items: center; gap: 28px; }
.nav__left { margin-left: auto; }
.nav__side a { padding: 13px 0; white-space: nowrap; transition: color .2s; }
.nav__side a:hover { color: var(--n-ff); }
/* Nav links: an accent underline grows from the left on hover and stays under the current page's link. */
.nav__left a { position: relative; }
.nav__left a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  border-radius: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__left a[aria-current]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav__left a:hover::after { transform: scaleX(1); } }
.nav__left a:focus-visible::after { transform: scaleX(1); }
/* The header's call to action: the hero button, a size smaller, after the theme toggle. */
.nav__right { gap: 14px; }
.nav__side .btn--nav { min-height: 40px; padding: 9px 16px; gap: 10px; color: var(--n-0e); font-size: 14px; }
.nav__side .btn--nav:hover { color: var(--n-0e); }
.nav .logo { flex-shrink: 0; }
/* Too narrow for links, toggle and button together: the hero's own button carries the call to action. */
@media (max-width: 1000px) { .nav__side .btn--nav { display: none; } }

.logo { display: block; color: var(--n-ff); line-height: 0; text-transform: none; letter-spacing: normal; }
.logo svg { width: 152px; height: auto; overflow: visible; }
.logo text { font-family: var(--display); font-weight: 500; }

.mobile-brand, .menu-btn { display: none; }

.menu-btn {
  position: relative;
  z-index: 102;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  place-content: center;
  gap: 6px;
}
.menu-btn span {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform .35s var(--ease);
}
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 101;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 24px) 28px 34px;
  background: var(--n-00);
  opacity: 0;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .55s var(--ease), opacity .3s, visibility 0s .55s;
}
.menu-panel.is-open {
  opacity: 1;
  visibility: visible;
  clip-path: inset(0);
  transition-delay: 0s;
}
.menu-panel__links { display: grid; }
.menu-panel__links a {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--n-1c);
  color: rgb(var(--ink-rgb) / calc(.92 * var(--ink-boost)));
  font-family: var(--display);
  font-size: clamp(26px, 8vw, 36px);
  letter-spacing: -.025em;
  line-height: 1.05;
}
.menu-panel__links a > span {
  color: rgb(var(--ink-rgb) / calc(.55 * var(--ink-boost)));
  font-family: var(--label);
  font-size: 10px;
  letter-spacing: .12em;
}
.menu-panel__foot {
  color: rgb(var(--ink-rgb) / calc(.6 * var(--ink-boost)));
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Hero (two columns)
   -------------------------------------------------------------------------- */

.hero {
  width: 100%;
  max-width: calc(1280px + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(560px, 44%);
  align-items: center;
  gap: 40px clamp(32px, 4vw, 64px);
  /* Short of the full screen, so the next section's card peeks in above the fold. */
  min-height: clamp(520px, calc(100svh - var(--header-h) - 170px), 740px);
  padding: 24px 0 32px;
}
.hero__copy { max-width: 640px; }
.hero__copy .sub {
  margin: clamp(24px, 3.6vh, 36px) 0 0;
  max-width: 560px;
  color: rgb(var(--ink-rgb) / calc(.62 * var(--ink-boost)));
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
  text-wrap: pretty;
}
.hero__copy .actions { margin-top: 32px; }

/* --------------------------------------------------------------------------
   Calculator
   -------------------------------------------------------------------------- */

.estimate { max-width: 860px; margin: 56px auto 0; }

.est {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 36px 36px 32px;
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / calc(.12 * var(--ink-boost)));
  text-align: center;
}
.est::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -45% 12% 46%;
  background: radial-gradient(closest-side, rgb(var(--ink-rgb) / calc(.12 * var(--ink-boost))), transparent);
  pointer-events: none;
}
/* Two buyers' estimator ranges, side by side; never combined. */
.est__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
  margin: 8px 0 4px;
}
.est__value { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.est__value + .est__value { padding-left: 20px; border-left: 1px solid rgb(var(--ink-rgb) / calc(.13 * var(--ink-boost))); }
.est__value small, .est__years-label {
  color: var(--n-8f);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.est__value b {
  font-family: var(--display);
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.06em;
  background: linear-gradient(140deg, var(--n-ff) 12%, var(--n-85) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.est.is-updating .est__value b { animation: est-lift .3s ease-out; }
.est__cap { min-height: 1.5em; color: var(--muted); font-size: 13px; line-height: 1.5; }

.slider {
  --p: 25%;
  display: block;
  width: 100%;
  height: 32px;
  margin: 6px 0 4px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  touch-action: pan-y;
}
.slider:focus-visible { outline-offset: 2px; }
.slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--n-f2) var(--p), var(--n-30) var(--p));
}
.slider::-moz-range-track { height: 6px; border-radius: 999px; background: var(--n-30); }
.slider::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--n-f2); }
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -10px;
  border: 0;
  border-radius: 50%;
  background: var(--n-ff);
  box-shadow: 0 0 0 6px var(--card);
  cursor: grab;
}
.slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: var(--n-ff);
  box-shadow: 0 0 0 6px var(--card);
  cursor: grab;
}

.est__years-label { display: block; width: 100%; margin-bottom: 4px; }
.fit-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--n-6b);
  border-radius: 999px;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.35;
}
.fit-chip b { color: var(--text); font-weight: 500; }
.fit-chip.is-fit { border-color: var(--n-9a); background: var(--n-22); }
.fit-chip.is-maybe { border-style: dashed; }
.fit-chip.is-out { border-color: var(--n-3a); color: var(--n-8f); }
.fit-chip.is-out b { color: var(--n-a8); font-weight: 400; }

.est-disclaimer {
  max-width: 690px;
  margin: 18px auto 26px;
  color: var(--n-aa);
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

/* --------------------------------------------------------------------------
   Collapse (shared animated disclosure)
   -------------------------------------------------------------------------- */

.collapse {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .4s var(--ease), opacity .3s ease;
}
.collapse > .collapse__inner { min-height: 0; overflow: hidden; }
.js .collapse:not(.is-open) { grid-template-rows: 0fr; opacity: 0; }

/* --------------------------------------------------------------------------
   Buyers (why several buyers)
   -------------------------------------------------------------------------- */

.fanout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
  margin: 0 0 32px;
  text-align: left;
}
.fanout article {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--n-1c), var(--n-13));
}
.fanout small {
  display: block;
  margin-bottom: 36px;
  color: var(--n-88);
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: .1em;
}
.fanout h3 { margin-bottom: 10px; font-family: var(--display); font-size: 21px; font-weight: 500; letter-spacing: -.025em; }
.fanout p { color: var(--text-3); font-size: 16px; line-height: 1.6; }
.fanout article.is-us { border-color: var(--n-5a); background: linear-gradient(145deg, var(--n-24), var(--n-16)); }

.buyers-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--n-14);
  text-align: left;
}
.buyers-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.buyers-card__head h2, .buyers-card__head h3 { font-family: var(--display); font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.buyers-card__head h2:focus { outline: none; }
.buyers-card__head span { color: var(--muted); font-family: var(--label); font-size: 12px; letter-spacing: .04em; }

.buyers {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.55;
}
.buyers th {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--n-8a);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-align: left;
  text-transform: uppercase;
  vertical-align: bottom;
}
.buyers td {
  padding: 18px;
  border-bottom: 1px solid var(--n-1f);
  color: var(--n-c8);
  vertical-align: top;
}
.buyers tr:last-child td { border-bottom: 0; }
.buyers tbody tr { transition: background .2s; }
.buyers tbody tr:hover { background: var(--n-18); }
.buyers td:first-child {
  color: var(--text);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.buyers td.pay { color: var(--text); font-family: var(--display); font-weight: 500; }
.buyers td.note { color: var(--muted); }
.buyers col.c-buyer { width: 13%; }
.buyers col.c-buy { width: 27%; }
.buyers col.c-size { width: 20%; }
.buyers col.c-pay { width: 21%; }
.buyers col.c-note { width: 19%; }

.footnote {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.footnote + .footnote { margin-top: 10px; }
.footnote b { color: var(--text-3); font-weight: 500; }

/* How we're paid (fee disclosure) */
.fees {
  max-width: 860px;
  margin: 40px auto 0;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / calc(.11 * var(--ink-boost)));
  text-align: left;
}
.fees h3 { margin-bottom: 14px; font-family: var(--display); font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.fees p { color: var(--text-3); font-size: 16px; line-height: 1.65; }
.fees__list { margin: 14px 0 22px; border-top: 1px solid var(--line-2); list-style: none; }
.fees__list li { padding: 10px 0; border-bottom: 1px solid var(--line-2); color: var(--text-3); font-size: 15px; line-height: 1.55; }
.fees__list b, .fees__steps b { color: var(--text); font-weight: 500; }
.fees__steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 16px 0 22px; list-style: none; }
.fees__steps li {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / calc(.08 * var(--ink-boost)));
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.fees__steps small { display: block; margin-bottom: 10px; color: var(--n-8f); font-family: var(--label); font-size: 12px; letter-spacing: .1em; }

/* About */
.about { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 28px; max-width: 760px; margin: 0 auto; text-align: left; }
.about__avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.about + .about { margin-top: 36px; }
.about__promise { max-width: 760px; margin: 36px auto 0; }
.about__body p { color: var(--text-3); font-size: 17px; line-height: 1.7; }
.about__body p + p { margin-top: 14px; }
.about__body .about__sign { margin-top: 22px; color: var(--muted); font-size: 15px; }
.about__sign a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { max-width: 800px; margin: 0 auto; border-top: 1px solid rgb(var(--ink-rgb) / calc(.13 * var(--ink-boost))); text-align: left; }
.faq__item { border-bottom: 1px solid rgb(var(--ink-rgb) / calc(.13 * var(--ink-boost))); }
.faq__item h3 { margin: 0; }
.faq__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 28px 0;
  border: 0;
  background: none;
  color: var(--text);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.02em;
  text-align: left;
  cursor: pointer;
}
.faq__mark {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1px solid rgb(var(--ink-rgb) / calc(.3 * var(--ink-boost)));
  border-radius: 50%;
}
.faq__mark::before, .faq__mark::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 10px;
  height: 1px;
  background: currentColor;
  transition: transform .3s var(--ease);
}
.faq__mark::after { transform: rotate(90deg); }
.faq__btn[aria-expanded="true"] .faq__mark::after { transform: rotate(0); }
.faq__item p { max-width: 43rem; margin: 0 0 28px; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.cta-final {
  margin-top: 72px;
  padding: 80px 0 72px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta-final .h2 { margin: 0 auto 20px; }
.cta-final .sub { margin-bottom: 32px; }
.cta-final .contact-line { margin-top: 28px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.cta-final .contact-line + .contact-line { margin-top: 6px; }
.cta-final .contact-line a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

/* Footer: brand and button on the left, four link columns,
   then a bottom row with the address on the left and contact links on the right. */
.site-footer {
  width: 100%;
  max-width: calc(1280px + var(--gutter) * 2);
  margin: 0 auto;
  padding: 64px var(--gutter) 32px;
  color: var(--muted);
  font-size: 15px;
}
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 3fr); gap: 40px clamp(32px, 5vw, 72px); }
.footer__brand .logo svg { width: 152px; }
.footer__brand p { max-width: 380px; margin-top: 18px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.footer__brand .btn { margin-top: 24px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.footer__head { color: var(--text); font-family: var(--display); font-size: 15px; font-weight: 500; }
.footer__cols ul { display: grid; gap: 10px; margin-top: 16px; list-style: none; }
.footer__cols a, .footer__links a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer__cols a:hover, .footer__links a:hover, .footer__cols a[aria-current="page"] { color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.footer__links { display: flex; gap: 20px; }

/* --------------------------------------------------------------------------
   Booking popup (iClosed-style)
   -------------------------------------------------------------------------- */

.bk {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right));
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 60;
  width: 280px;
  padding: 14px;
  border: 1px solid var(--n-3a);
  border-radius: 12px;
  background: var(--n-12);
  box-shadow: 0 18px 48px rgb(var(--shadow-rgb) / calc(.55 * var(--shadow-k))), 0 2px 8px rgb(var(--shadow-rgb) / calc(.4 * var(--shadow-k)));
  color: var(--n-f2);
  font-family: var(--body);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.98);
  transform-origin: bottom right;
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.bk.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.bk__host { display: flex; align-items: center; gap: 10px; padding-right: 24px; }
.bk__avatar { position: relative; flex: 0 0 auto; width: 28px; height: 28px; }
.bk__avatar img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.bk__name { display: block; font-size: 13px; font-weight: 600; line-height: 1.25; }
.bk__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--n-8a);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.bk__close:hover { background: var(--n-1f); color: var(--n-ff); }
.bk__title { margin-top: 14px; font-size: 14px; font-weight: 600; line-height: 1.3; }
.bk__desc { margin-top: 3px; color: var(--n-c4); font-size: 12.5px; line-height: 1.42; }
.bk__online {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px var(--n-11);
}
.bk__days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.bk__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 6px 0;
  border: 1px solid var(--n-4a);
  border-radius: 8px;
  background: transparent;
  color: var(--n-e6);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.bk__day:hover { border-color: var(--n-8a); background: var(--n-19); }
.bk__day.is-selected { border: 2px solid var(--n-f2); }
.bk__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: 14px;
  border-radius: 8px;
  background: var(--n-f2);
  color: var(--n-11);
  font-size: 13px;
  font-weight: 600;
  transition: background .2s;
}
.bk__cta:hover { background: var(--n-ff); }
.bk__slots {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding: 13px 12px 11px;
  overflow: hidden;
  border: 1px solid var(--n-3a);
  border-radius: 8px;
  background: var(--n-19);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
}
.bk__bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.bk__bar > span { display: block; height: 100%; background: var(--n-f2); transform-origin: left; transition: transform 1s linear; }
.bk__timer { font-weight: 700; font-variant-numeric: tabular-nums; }

/* Booking window: form, then the Calendly calendar */
.bkm {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgb(0 0 0 / .6);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s .3s;
}
.bkm.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
html.bkm-open { overflow: hidden; }
.bkm__panel {
  display: flex;
  flex-direction: column;
  width: min(1040px, 100%);
  height: min(720px, 100%);
  overflow: hidden;
  border: 1px solid var(--n-3a);
  border-radius: 14px;
  background: var(--n-12);
  color: var(--n-f2);
  box-shadow: 0 24px 64px rgb(var(--shadow-rgb) / calc(.6 * var(--shadow-k)));
}
.bkm__steps {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 16px 64px;
  border-bottom: 1px solid var(--n-3a);
  font-size: 15px;
}
.bkm__step { display: flex; align-items: center; gap: 8px; color: var(--n-8a); }
.bkm__step::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.bkm__step.is-on { color: var(--n-f2); }
.bkm__close {
  position: absolute;
  top: 50%;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--n-4a);
  border-radius: 8px;
  background: none;
  color: var(--n-f2);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}
.bkm__close:hover { background: var(--n-1f); }
.bkm__body { display: grid; flex: 1; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 0; }
.bkm__form { padding: 36px 36px 28px; overflow-y: auto; border-right: 1px solid var(--n-3a); }
.bkm__title { font-size: 28px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.bkm__lede { margin-top: 14px; color: var(--n-c4); font-size: 16px; line-height: 1.45; }
.bkm__list { margin: 18px 0 0; padding-left: 20px; color: var(--n-c4); font-size: 16px; line-height: 1.5; list-style: disc; }
.bkm__field { display: block; margin-top: 16px; }
.bkm__list + .bkm__field { margin-top: 26px; }
.bkm__field input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--n-4a);
  border-radius: 10px;
  background: var(--n-19);
  color: var(--n-f2);
  font: inherit;
  font-size: 16px;
}
.bkm__field input::placeholder { color: var(--n-8a); }
.bkm__field input:focus { outline: none; border-color: var(--n-f2); box-shadow: 0 0 0 1px var(--n-f2); }
.bkm__error { margin-top: 10px; color: #f87171; font-size: 14px; }
[data-theme="light"] .bkm__error { color: #b42318; }
.bkm__consent { margin-top: 16px; color: var(--n-a0); font-size: 13.5px; line-height: 1.5; }
.bkm__consent a { color: var(--n-f2); text-decoration: underline; text-underline-offset: 2px; }
.bkm__go {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
  border: 0;
  border-radius: 10px;
  background: var(--n-f2);
  color: var(--n-11);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.bkm__go:hover { background: var(--n-ff); }
.bkm__cal { position: relative; display: grid; place-items: center; min-height: 0; }
.bkm__cal iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bkm__wait { padding: 24px; color: var(--n-8a); font-size: 15px; text-align: center; }
/* Too narrow for side by side: the calendar replaces the form after Continue */
@media (max-width: 900px) {
  .bkm__panel { width: min(560px, 100%); }
  .bkm__body { grid-template-columns: 1fr; }
  .bkm__form { border-right: 0; }
  .bkm__cal { display: none; }
  .bkm.is-step2 .bkm__form { display: none; }
  .bkm.is-step2 .bkm__cal { display: grid; }
}

/* Round scroll button */
.scroll-btn {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right));
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 61;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--n-f4);
  color: var(--n-11);
  box-shadow: 0 6px 20px rgb(var(--shadow-rgb) / calc(.45 * var(--shadow-k)));
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s;
}
.scroll-btn:hover { background: var(--n-ff); transform: translateY(-2px); }
.scroll-btn svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.scroll-btn.is-top svg { transform: rotate(180deg); }

/* --------------------------------------------------------------------------
   Sub pages: estimate flow, legal
   -------------------------------------------------------------------------- */

.page { padding: 48px 0 24px; }

/* Estimate flow (assess page): intro, one question per screen, result, Tally email form */
.estx {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(24px, 4.5vw, 56px);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--n-16), var(--n-11));
  box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / calc(.11 * var(--ink-boost)));
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.estx .h2 { font-size: clamp(34px, 4.4vw, 54px); }
.estx__intro .sub { margin: 20px 0 0; }
.estx__ctas, .estx__resume { margin-top: 32px; }
.estx__resume > p { color: var(--text-3); font-size: 16px; }
.estx__resume .actions { margin-top: 16px; }
.estx__resume .link, .estx__nav .link, .estx__change .link { padding: 0; border: 0; background: none; cursor: pointer; }
html:not(.js) .estx__ctas, html:not(.js) .estx__micro { display: none; }
.estx__micro { margin-top: 20px; color: var(--muted); font-size: 14px; }
.estx__fine { margin-top: 8px; color: var(--n-8a); font-size: 13px; line-height: 1.5; }
.estx .warn { margin-bottom: 0; }

.estx__prog { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.estx__count { color: var(--text-3); font-family: var(--label); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.estx__bar { height: 3px; border-radius: 3px; background: var(--n-2a); overflow: hidden; }
.estx__bar i { display: block; width: 20%; height: 100%; border-radius: inherit; background: var(--accent); transition: width .4s var(--ease); }

.estx__back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: -10px 0 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
}
.estx__back:hover { color: var(--text); }
.estx__back:focus-visible, .estx__h:focus-visible, .estx__label:focus-visible { outline: 2px solid rgb(var(--ink-rgb) / calc(.5 * var(--ink-boost))); outline-offset: 4px; border-radius: 4px; }
.estx__h:focus, .estx__label:focus { outline: none; }
.estx__h {
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.estx__hint { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* Estimator motion. Each question slides in 12px from the side you are heading to (from the left on Back); the
   "Something else" box drops in 4px; the result rises in, its parts 60ms apart. Entry only, via @starting-style,
   so nothing waits on an animation to be clickable. */
.estx__q, .estx__other { transition: opacity .2s var(--ease), transform .2s var(--ease); }
.estx__other { transition-duration: .18s; }
@starting-style {
  .estx__q { opacity: 0; transform: translateX(12px); }
  .estx__flow[data-dir="back"] .estx__q { transform: translateX(-12px); }
  .estx__other { opacity: 0; transform: translateY(-4px); }
}
#estx-res > *, .estx__result > .estx__capture, .estx__result > .estx__change { animation: fade-in .3s var(--ease) both; }
#estx-res > :nth-child(2) { animation-delay: 60ms; }
#estx-res > :nth-child(3) { animation-delay: 120ms; }
#estx-res > :nth-child(n+4) { animation-delay: 180ms; }
.estx__result > .estx__capture { animation-delay: 240ms; }
.estx__result > .estx__change { animation-delay: 300ms; }
@keyframes fade-only { from { opacity: 0; } }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid var(--n-3a);
  border-radius: var(--radius-sm);
  background: var(--n-1a);
  color: var(--n-e6);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.tile:hover { border-color: var(--n-6b); background: var(--n-1f); }
.tile:active { transform: scale(.98); }
.tile:focus-visible { outline: 2px solid rgb(var(--ink-rgb) / calc(.6 * var(--ink-boost))); outline-offset: 2px; }
.tile[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-wash); color: var(--n-ff); }
.tiles--tools .tile { min-height: 64px; padding-right: 34px; overflow-wrap: break-word; }
.tiles--tools .tile::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 1px solid var(--n-5a);
  border-radius: 4px;
}
.tiles--tools .tile[aria-pressed="true"]::after {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0e0e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.tile .tools__icon { width: 30px; height: 30px; }

.estx__other { margin-top: 20px; }
.estx__other label { display: block; margin-bottom: 8px; color: var(--n-cf); font-family: var(--display); font-size: 13px; font-weight: 500; }
.estx__other-row { display: flex; gap: 10px; }
.estx__other input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--n-6b);
  border-radius: 6px;
  background: var(--n-10);
  color: var(--text);
  font: 400 16px/1.4 var(--body);
}
.estx__other input::placeholder { color: var(--n-8a); }
.estx__other input:focus-visible { outline: 2px solid rgb(var(--ink-rgb) / calc(.5 * var(--ink-boost))); outline-offset: 2px; }
/* Next sits left, clear of the fixed booking card at the bottom right. */
.estx__nav { display: flex; align-items: center; gap: 12px 28px; margin-top: 24px; }
.estx__nav .btn { order: -1; }

.estx__label { color: var(--n-8f); font-family: var(--display); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.estx__range {
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.055em;
  background: linear-gradient(140deg, var(--n-ff) 12%, var(--n-8a) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.estx__fit {
  display: inline-flex;
  margin-top: 18px;
  padding: 5px 12px;
  border: 1px solid rgb(var(--accent-rgb) / .5);
  border-radius: 999px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
}
.estx__fit + .estx__fine { margin-top: 14px; }
.estx__plain { margin-top: 14px; max-width: 60ch; color: var(--text-3); font-size: 17px; line-height: 1.6; }
.estx__plain a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.fit-notes { display: grid; gap: 8px; margin-top: 24px; list-style: none; }
.fit-notes li {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--card-2);
  box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / calc(.09 * var(--ink-boost)));
  color: var(--text-3);
  font-size: 15px;
  line-height: 1.55;
}

.estx__capture { margin-top: 32px; }
/* The Tally form draws dark text, so it sits on a white card in both themes.
   Colors inside the card are the light theme's, fixed. */
.estx__card { padding: 22px 18px 16px; border: 1px solid #e2dfd6; border-radius: 16px; background: #fff; color: #1e2e24; }
.estx__capture-title { padding: 0 2px; color: #1e2e24; font-family: var(--display); font-size: 24px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.estx__tally { margin-top: 14px; }
.estx__tally iframe { display: block; width: 100%; height: 600px; border: 0; }
.estx__fall { margin-top: 10px; padding: 0 2px; color: #5a6359; font-size: 13px; }
.estx__fall a { color: #345c44; text-decoration: underline; text-underline-offset: 3px; }
.estx__card .estx__fine { margin-top: 4px; padding: 0 2px; color: #5a6359; }
.estx__next { margin-top: 28px; }
.estx__next h3 { font-family: var(--display); font-size: 17px; font-weight: 500; }
.estx__next ol { display: grid; gap: 6px; margin-top: 12px; padding-left: 20px; color: var(--text-3); font-size: 15px; line-height: 1.55; }
.estx__change { margin-top: 24px; }

.warn {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px 18px;
  border: 1px solid var(--n-5a);
  border-radius: var(--radius-sm);
  background: var(--n-1d);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
  .tile { min-height: 64px; padding: 12px 14px; font-size: 15px; }
  .estx { padding: 24px 14px; }
  .tiles--tools .tile { gap: 8px; padding: 10px 24px 10px 8px; font-size: 14px; }
  .tiles--tools .tile::after { top: 8px; right: 8px; width: 13px; height: 13px; margin-top: 0; }
  .tiles--tools .tile[aria-pressed="true"]::after { background-size: 10px; }
  .tile .tools__icon { width: 26px; height: 26px; }
  .tile .tools__icon img { width: 16px; height: 16px; }
  .estx__ctas { flex-direction: column; align-items: stretch; gap: 4px; }
  .estx__ctas .btn { width: 100%; }
  .estx__ctas .link { justify-content: center; }
  .estx__other-row { flex-direction: column; }
  .estx__nav .btn { flex: 1; }
}

/* Inner pages use the full container, left-aligned: tables, cards and rules run
   the full width, and only running text is capped so lines stay readable. */
.legal { max-width: none; margin: 0; }
.page .wrap { max-width: calc(1280px + var(--gutter) * 2); }   /* lines up with the header and the hero */
.legal .about, .legal .faq, .legal .smallprint { margin-left: 0; margin-right: 0; }
.legal .actions + .micro { margin-top: 14px; color: var(--muted); font-size: 14px; }
.legal .cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); }
@media (max-width: 720px) { .legal .cols2 { grid-template-columns: 1fr; } }

/* About hero: copy on top, one full-bleed 2:1 drawing below it, pulled up under the lede so its peaks rise beside
   the headline. Its white paper multiplies into the light page; in dark mode it is inverted into light lines on the
   dark page. */
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr); }
.about-hero__copy { position: relative; z-index: 1; }
.about-hero__art {
  width: 100vw;
  margin: clamp(-300px, calc(62px - 21.9vw), 0px) 0 0 calc(50% - 50vw);   /* ridge just clears the lede, 375 to 1440 */
  aspect-ratio: 2 / 1;
  mix-blend-mode: multiply;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 6%);
  mask-image: linear-gradient(to bottom, transparent, #000 6%);
  animation: ink-wipe 1.5s cubic-bezier(.65, 0, .15, 1) .1s both;
}
:root:not([data-theme="light"]) .about-hero__art { filter: invert(1) hue-rotate(180deg); mix-blend-mode: screen; }
.about-hero__art img { display: block; width: 100%; height: 100%; }
/* Tablets: the lede runs wider than the drawing's low ground, so the drawing sits a little lower. */
@media (min-width: 560px) and (max-width: 1080px) { .about-hero__art { margin-top: calc(108px - 21.9vw); } }
/* Below the hero, the About sections sit in one centered column. The drawing's bottom edge is the break before the
   first one, so it has no rule. */
.about-page > section { max-width: 820px; margin-left: auto; margin-right: auto; }
.about-page .about-hero + section { border-top: 0; }
.legal h1, .legal h2, .legal h3, .legal p, .legal ul, .legal ol, .legal .lede { max-width: 720px; }
.legal .h2 { margin-bottom: 12px; }
.legal .updated { color: var(--muted); font-family: var(--label); font-size: 12px; letter-spacing: .06em; }
.legal .lede { margin-top: 20px; color: var(--text); font-size: 18px; line-height: 1.6; }
.legal section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal section:first-of-type { margin-top: 36px; }
.legal h2 { margin-bottom: 12px; font-family: var(--display); font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--text-3); font-size: 16px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { margin-top: 10px; padding-left: 20px; }
.legal ul.plain { padding-left: 0; list-style: none; }
.legal ul + p { margin-top: 12px; }
.legal ol { margin-top: 10px; padding-left: 20px; }
.legal ol + p, .legal .buyers-card + .footnote { margin-top: 12px; }
.legal h3 { margin: 20px 0 6px; color: var(--text); font-family: var(--display); font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.legal h3 + p { margin-top: 0; }
.legal strong { color: var(--text); font-weight: 500; }
.legal .buyers-card { margin-top: 16px; }
.legal .footnote { margin-left: 0; margin-right: 0; }
.legal .actions { margin-top: 32px; }
.legal .btn { color: var(--n-0e); text-decoration: none; }
.page--short { min-height: calc(100svh - var(--header-h) - 220px); }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* Breadcrumb trail (subpages and guides): keeps the eyebrow look */
.eyebrow.breadcrumb a { color: inherit; text-decoration: none; }
.eyebrow.breadcrumb a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* Buyer names in the home buyer table link to their guides */
.buyers td:first-child a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgb(var(--ink-rgb) / calc(.35 * var(--ink-boost))); }
.buyers td:first-child a:hover { text-decoration-color: var(--n-ff); }

/* Guide cards (home strip and /guides hub): the whole card is the link */
.guide-cards h3 a { color: inherit; text-decoration: none; }
.guide-cards h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.guide-cards article { transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; }
.guide-cards article:hover, .guide-cards article:focus-within { border-color: var(--n-5a); }
.guide-hub .guide-cards { margin-top: 36px; }

/* Guide article (/guides/<slug>), built on .legal */
.guide .updated a { color: inherit; }
.guide__body h2 { margin-top: 36px; }
.guide__body h2:first-child { margin-top: 0; }
.guide__body p + ul, .guide__body p + ol { margin-top: 10px; }
.guide__body ul + h2, .guide__body ol + h2, .guide__table + h2 { margin-top: 36px; }
.guide__table { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--n-14); }
.guide__table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.55; }
.guide__table th { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--n-8a); font-family: var(--display); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-align: left; text-transform: uppercase; vertical-align: bottom; }
.guide__table td { padding: 12px 14px; border-bottom: 1px solid var(--n-1f); color: var(--n-c8); vertical-align: top; }
.guide__table tr:last-child td { border-bottom: 0; }
.guide__table td:first-child { color: var(--text); font-weight: 500; }
.guide__table td small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 400; }
.guide__table + p { margin-top: 12px; }
.guide-hub .guide-cards { grid-template-columns: 1fr; }
.guide-hub .fanout h3 { margin: 0 0 10px; font-size: 21px; }
.guide__cta .actions { margin-top: 20px; }
.guide__sources li { font-size: 14px; }
@media (max-width: 640px) {
  .guide__table th, .guide__table td { min-width: 120px; }
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes est-lift {
  from { opacity: .35; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}
/* Transform-only, so the hero headline is painted at full opacity and counts for LCP. */
@keyframes rise {
  from { transform: translateY(8px); }
  to { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: fade-in .6s var(--ease) both; }
  .hero__copy > .h1 { animation-name: rise; animation-delay: 60ms; }   /* transform only, so the headline still counts for LCP */
  .hero__copy > .sub { animation-delay: 120ms; }
  .hero__copy > .ticks { animation-delay: 180ms; }
  .hero__copy > .actions { animation-delay: 240ms; }
}


/* --------------------------------------------------------------------------
   Homepage (2026-10-25 flow): hero estimate, why-pay card, chips, steps
   -------------------------------------------------------------------------- */

.section--left { text-align: left; }
.section-actions { margin-top: 32px; }
.section--left .sub { margin: 0; }
.nowrap { white-space: nowrap; }

/* Footnote markers */

/* Check items */
.ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 26px;
  list-style: none;
}
.ticks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
  font-size: 15px;
  line-height: 1.45;
}
.ticks li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgb(var(--accent-rgb) / .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%239fe3c4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.2 9.2 2.5 2.5 5-5.4'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.ticks--stack { flex-direction: column; gap: 14px; margin-top: 28px; }
.ticks--stack li { align-items: flex-start; font-size: 16px; }
.ticks--stack li::before { margin-top: 2px; }

/* Hero graphic (canvas, with a static SVG fallback) */
.hero__art {
  position: relative;
  justify-self: start;
  /* Bleeds right into the page margin on wide screens (up to 90px), so the copy keeps its width. */
  width: calc(100% + clamp(0px, (100vw - 1280px) / 2 - 8px, 90px));
  max-width: 650px;
  /* Nudged toward the page center, into the column gap but never over the copy. */
  margin-left: calc(-1 * clamp(0px, 2.5vw, 40px));
  aspect-ratio: 520 / 420;
  animation: fade-in .9s ease-out .15s both;
}
.hero__art canvas, .hero__art svg { width: 100%; height: 100%; }
.hero__art canvas { cursor: crosshair; touch-action: manipulation; }
html:not(.js) .hero__art canvas { display: none; }

/* Why anyone pays: raised dark card */
.paycard {
  padding: clamp(26px, 4.5vw, 56px);
  border-radius: 28px;
  background: linear-gradient(170deg, var(--n-15), var(--n-10));
  box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / calc(.09 * var(--ink-boost)));
}
.paycard__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: end;
  gap: 28px clamp(28px, 5vw, 72px);
}
.paycard .h2 { font-size: clamp(30px, 3.6vw, 46px); }
.paycard__body p { color: var(--text-3); font-size: 17px; line-height: 1.65; }
.paycard__body p + p { margin-top: 14px; }
.paystats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid var(--line-2);
}
.paystats > div { min-width: 0; padding: 28px 28px 0 0; }
.paystats > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.paystats dt {
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(44px, 5.2vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.paystats dd { max-width: 30ch; margin-top: 12px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.paystats .paystats__range { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -.04em; white-space: normal; }
.paystats__pill {
  display: inline-block;
  margin-left: 6px;
  padding: 4px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-3);
  font-family: var(--label);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}
.paystats__src {
  color: var(--text-3);
  text-decoration: underline;
  text-decoration-color: rgb(var(--ink-rgb) / calc(.35 * var(--ink-boost)));
  text-underline-offset: 3px;
  white-space: nowrap;
}
.paystats__src:hover { color: var(--text); }
.paycard__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.paycard__foot p { max-width: 52ch; color: var(--text-3); font-size: 16px; line-height: 1.6; }

/* What buyers license: tool chips and record types */
.minihead {
  margin: 0 0 18px;
  color: var(--n-a8);
  font-family: var(--label);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.minihead + .records { margin-bottom: 48px; }
.minihead + .tools { margin-bottom: 48px; }
.minihead + .tools:has(+ .tools__note) { margin-bottom: 16px; }
.tools__note { margin: 0 auto 48px; color: var(--muted); font-size: 13px; line-height: 1.55; text-align: center; }
.tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  list-style: none;
}
.tools li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 6px 16px 6px 7px;
  border: 1px solid var(--n-2c);
  border-radius: 999px;
  background: var(--n-17);
  color: var(--n-e2);
  font-size: 15px;
  line-height: 1.2;
}
/* White rounded tile holding a full-color logo (or a letter where no logo file exists) */
.tools__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--n-ff);
  color: var(--n-11);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}
.tools__icon img { display: block; width: 18px; height: 18px; object-fit: contain; }
/* Who holds it: a ruled list, so it reads apart from the record cards above it */
.holders {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 6vw, 80px);
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: 1px solid var(--line-2);
  list-style: none;
  text-align: left;
}
.holders li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.3;
  letter-spacing: -.02em;
}
@media (max-width: 720px) {
  .holders { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: 1fr; }
}
.records {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: var(--maxw);
  margin: 0 auto;
  list-style: none;
  text-align: left;
}
.records li {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 11px 18px;
  border: 1px solid var(--n-2a);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--text);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.smallprint { max-width: 900px; margin: 22px auto 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

/* Estimate page: example companies */
.examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
  margin-top: 36px;
  text-align: left;
}
.example {
  display: flex;
  flex-direction: column;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.example__tag { color: var(--n-8a); font-family: var(--label); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.example h3 { margin-top: 14px; font-family: var(--display); font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.example p { margin-top: 10px; color: var(--text-3); font-size: 16px; line-height: 1.55; }
.example__foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.example__fit { color: var(--accent); font-size: 15px; font-weight: 500; }
.example__foot b { font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.example p + .example__foot { margin-top: 26px; }

/* Estimate page: logo band */
.logoband { text-align: center; }
.logoband .sub { margin: 18px auto 0; }
.logoband__tools { margin-top: 36px; }
.logoband__note { max-width: 720px; margin-top: 40px !important; }

/* Why now cards */
.now {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
  margin-top: 40px;
  text-align: left;
}

/* Three principles: numbered columns between hairlines, no heading */
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px clamp(32px, 4vw, 64px);
  padding: 44px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.principles small { display: block; margin-bottom: 14px; color: var(--accent); font-family: var(--num); font-size: 12px; font-weight: 500; letter-spacing: .14em; }
.principles h3 { margin-bottom: 12px; font-family: var(--display); font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.principles p { color: var(--text-3); font-size: 16px; line-height: 1.65; }

.tools .tools__more { min-height: 46px; padding: 6px 8px; border: 0; background: none; color: var(--muted); }

/* Two-column sections: heading left, content right */
.split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 32px clamp(32px, 6vw, 96px);
}
.split__head { position: sticky; top: calc(var(--header-h) + 24px); }
.split__head .h2 { font-size: clamp(32px, 3.8vw, 50px); }
.split__head .sub { margin-top: 20px; }

/* How it works */
.steps { list-style: none; }
.steps li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line-2);
}
.steps li:last-child { border-bottom: 1px solid var(--line-2); }
.steps__num { color: var(--accent); font-family: var(--display); font-size: 38px; font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.steps h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-family: var(--display); font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid var(--n-55);
  border-radius: 999px;
  color: var(--n-cc);
  font-family: var(--label);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.tag--us { border-color: transparent; background: var(--n-f2); color: var(--n-0e); }
.feeline {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / calc(.1 * var(--ink-boost)));
  color: var(--text-3);
  font-size: 15.5px;
  line-height: 1.6;
}
.feeline a { color: var(--text); white-space: nowrap; text-decoration: underline; text-decoration-color: rgb(var(--ink-rgb) / calc(.45 * var(--ink-boost))); text-underline-offset: 3px; }
.feeline a:hover { text-decoration-color: var(--n-ff); }

/* Secrets */
.secrets__answer { color: var(--text); font-family: var(--display); font-size: clamp(20px, 2vw, 25px); line-height: 1.45; letter-spacing: -.02em; text-wrap: pretty; }
.stayout {
  margin-top: 36px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px rgb(var(--ink-rgb) / calc(.09 * var(--ink-boost)));
}
.stayout h3 { margin-bottom: 14px; font-family: var(--display); font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.stayout ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.stayout li { padding: 8px 12px; border-radius: 4px; background: var(--n-1a); color: var(--n-b8); font-size: 14.5px; line-height: 1.35; }
.stayout li::before { content: "×"; margin-right: 8px; color: var(--n-8a); }

/* Why now */
.now article {
  padding: 26px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}
.now h3 { margin-bottom: 10px; font-family: var(--display); font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.now p { color: var(--text-3); font-size: 16px; line-height: 1.6; }

/* Who runs this */
.about__body b { color: var(--text); font-weight: 500; }
.about__body .about__sign { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* Sources */

/* Disclosure page */
.disclosure .buyers td { vertical-align: top; }
.disclosure .buyers col.c-buyer { width: 18%; }
.disclosure .buyers col.c-fee { width: 38%; }
.disclosure .buyers col.c-when { width: 30%; }
.disclosure .buyers col.c-read { width: 14%; }
.disclosure .buyers td.read { color: var(--muted); font-family: var(--label); font-size: 12.5px; white-space: nowrap; }
.disclosure .feeline { margin-top: 24px; color: var(--text); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .records { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .examples { grid-template-columns: 1fr; max-width: 560px; }
  .fanout { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .fanout small { margin-bottom: 18px; }
  .now { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .principles { grid-template-columns: 1fr; padding: 32px 0; }

  /* Buyers table becomes stacked cards */
  .buyers, .buyers tbody, .buyers tr, .buyers td { display: block; width: 100%; }
  .buyers colgroup, .buyers thead { display: none; }
  .buyers tr { padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .buyers tr:last-child { border-bottom: 0; }
  .buyers td { display: grid; grid-template-columns: 128px 1fr; gap: 12px; padding: 6px 0; border: 0; }
  .buyers td::before {
    content: attr(data-label);
    color: var(--n-8f);
    font-family: var(--display);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .1em;
    line-height: 2;
    text-transform: uppercase;
  }
  .buyers td:first-child { display: block; padding-bottom: 8px; font-size: 19px; white-space: normal; }
  .buyers td:first-child::before { display: none; }
  .disclosure .buyers td.read { white-space: normal; }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 24px 0 48px;
    gap: 40px;
  }
  .hero__art { justify-self: center; max-width: 460px; margin-left: 0; }
  .split { grid-template-columns: 1fr; }
  .split__head { position: static; }
  .paycard__top { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --header-h: 76px; }
  .site-header { justify-content: space-between; }
  .nav { display: none; }
  .mobile-brand { display: block; position: relative; z-index: 102; }
  .mobile-brand svg { width: 167px; }
  .menu-btn { display: grid; }
  .site-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}

@media (max-width: 720px) {
  :root { --section-gap: 80px; --content-gap: 32px; --card-gap: 16px; }
  .est { padding: 24px 18px 22px; }
  .fees__steps { grid-template-columns: 1fr; }
  .faq__btn { padding: 22px 0; font-size: 18px; }
  .paystats { grid-template-columns: 1fr; margin-top: 36px; }
  .paystats > div, .paystats > div + div { padding: 22px 0; border-left: 0; }
  .paystats > div + div { border-top: 1px solid var(--line); }
  .paystats > div:last-child { padding-bottom: 0; }
  .paycard__foot { margin-top: 32px; }
}

@media (max-width: 640px) {
  .est__split { grid-template-columns: 1fr; gap: 18px; }
  .est__value + .est__value { padding: 18px 0 0; border-top: 1px solid rgb(var(--ink-rgb) / calc(.13 * var(--ink-boost))); border-left: 0; }
  .est__value b { font-size: clamp(30px, 9.5vw, 44px); }
  .about { grid-template-columns: 1fr; gap: 18px; }
  .hero__copy .actions { flex-direction: column; align-items: stretch; gap: 4px; }
  .hero__copy .actions .btn { width: 100%; }
  .hero__copy .actions .link { justify-content: center; }
  .actions--center { flex-direction: column; gap: 4px; }
  .actions--center .btn { width: 100%; }
  .paycard__foot .btn { width: 100%; }
  .cta-final { margin-top: 48px; padding: 56px 0 48px; }
  .buyers td { grid-template-columns: 1fr; gap: 0; }
  .buyers td::before { line-height: 1.6; }
  .fanout article { padding: 22px; }
  .paycard { border-radius: 20px; }
  .tools li { padding: 5px 13px 5px 6px; font-size: 14px; }
  .records li { padding: 13px 16px; font-size: 15px; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .steps__num { font-size: 32px; }
  .stayout { padding: 20px; }

  /* Booking popup collapses to a slim bottom bar */
  .bk {
    left: 12px;
    right: 72px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    gap: 4px;
    width: auto;
    padding: 6px;
    border-radius: 10px;
    transform-origin: bottom center;
  }
  .bk > :not(.bk__cta):not(.bk__close) { display: none; }
  .bk__cta { flex: 1; margin-top: 0; min-height: 44px; }
  .bk__close { position: static; order: 2; flex: 0 0 auto; width: 44px; height: 44px; color: var(--n-9a); }

  /* Booking window fills the screen; the calendar replaces the form after Continue */
  .bkm { padding: 0; }
  .bkm__panel { width: 100%; height: 100%; border: 0; border-radius: 0; }
  .bkm__steps { justify-content: flex-start; gap: 16px; padding: 14px 64px 14px 16px; font-size: 13.5px; }
  .bkm__form { padding: 24px 16px; }
  .bkm__title { font-size: 24px; }
  .scroll-btn { right: calc(12px + env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); }
}

@media (pointer: coarse) {
  .slider::-webkit-slider-thumb { width: 32px; height: 32px; margin-top: -13px; }
  .slider::-moz-range-thumb { width: 32px; height: 32px; }
}

@media (max-width: 359px) {
  .records { grid-template-columns: 1fr; }
}


/* --------------------------------------------------------------------------
   Motion and link polish (2026-10-27, after briggsanalytics.com's details)
   -------------------------------------------------------------------------- */

/* Page-to-page fade: the old page fades out in 120ms, the new one in over 200ms, and the header holds still.
   Scoped to the "page" type so the theme toggle's own transition is untouched. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; types: page; }
}
:root:active-view-transition-type(page) .site-header { view-transition-name: site-header; }
:root:active-view-transition-type(page)::view-transition-old(root) { animation: 120ms ease-out both vt-out; }
:root:active-view-transition-type(page)::view-transition-new(root) { animation: 200ms ease-in both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* Links in body copy: dark green in light mode; in dark mode the text color with a mint underline. */
.legal :is(p, li, td) a:not(.btn) { text-decoration-color: rgb(var(--accent-rgb) / .6); text-decoration-thickness: 1px; transition: color .15s, text-decoration-color .15s; }
:root[data-theme="light"] .legal :is(p, li, td) a:not(.btn) { color: var(--accent); text-decoration-color: rgb(var(--accent-rgb) / .45); }
.legal :is(p, li, td) a:not(.btn):hover { text-decoration-color: var(--accent); }

/* Hover lift for buttons and the clickable guide cards (mouse only). */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgb(0 0 0 / .7); }
  :root[data-theme="light"] .btn:hover { box-shadow: 0 14px 28px -14px rgb(var(--accent-rgb) / .55); }
  .btn:active, :root[data-theme="light"] .btn:active { transform: scale(.98); box-shadow: none; }
  .guide-cards article:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -30px rgb(0 0 0 / .8); }
  :root[data-theme="light"] .guide-cards article:hover { box-shadow: 0 24px 40px -30px rgb(21 25 43 / .35); }
}

/* About drawing: drawn in from the left, the way the map turns into mountains. */
@keyframes ink-wipe {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

/* Subpage headers: breadcrumb, title, lede and buttons arrive in steps. */
@media (prefers-reduced-motion: no-preference) {
  :is(.legal, .about-hero__copy) > :is(.breadcrumb, .h2, .updated, .lede, .actions, .micro) { animation: fade-in .6s var(--ease) both; }
  :is(.legal, .about-hero__copy) > .h2 { animation-name: rise; animation-delay: 60ms; }
  :is(.legal, .about-hero__copy) > :is(.updated, .lede) { animation-delay: 120ms; }
  :is(.legal, .about-hero__copy) > :is(.actions, .micro) { animation-delay: 180ms; }
}

/* Research guides: a reading-progress bar along the top edge (browsers with scroll timelines only). */
@supports (animation-timeline: scroll()) {
  .guide:not(.guide-hub)::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    height: 3px;
    background: var(--accent);
    transform-origin: left;
    pointer-events: none;
    animation: read-progress linear both;
    animation-timeline: scroll(root);
  }
}
@keyframes read-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Estimator: answer tiles arrive one after another, 28ms apart (backwards fill, so :active still works after). */
.estx__q .tile { animation: fade-in .3s var(--ease) backwards; animation-delay: 60ms; }
.estx__q .tile:nth-child(2) { animation-delay: 88ms; }
.estx__q .tile:nth-child(3) { animation-delay: 116ms; }
.estx__q .tile:nth-child(4) { animation-delay: 144ms; }
.estx__q .tile:nth-child(5) { animation-delay: 172ms; }
.estx__q .tile:nth-child(6) { animation-delay: 200ms; }
.estx__q .tile:nth-child(7) { animation-delay: 228ms; }
.estx__q .tile:nth-child(n+8) { animation-delay: 256ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  /* The estimator keeps a short fade without movement: gentler, not gone. */
  .estx__q, .estx__other { transform: none !important; transition: opacity .15s ease !important; }
  #estx-res > *, .estx__result > .estx__capture, .estx__result > .estx__change {
    animation: fade-only .2s ease both !important;
  }
  .about-hero__art { animation: fade-only .4s ease both !important; }
  .estx__q .tile { animation: none !important; }
  .guide:not(.guide-hub)::before { animation-duration: auto !important; }   /* the reading bar follows scroll, it isn't timed */
}

/* --------------------------------------------------------------------------
   Theme toggle (sun / moon) and the light theme's header
   -------------------------------------------------------------------------- */
.theme-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s, transform .5s var(--ease);
}
.theme-btn:hover { border-color: var(--text); }
.theme-btn:active { transform: rotate(-30deg) scale(.94); }
.theme-btn svg { grid-area: 1 / 1; width: 16px; height: 16px; transition: opacity .35s, transform .5s var(--ease); }
.theme-btn__moon { opacity: 0; transform: rotate(-60deg) scale(.6); }
:root[data-theme="light"] .theme-btn__sun { opacity: 0; transform: rotate(60deg) scale(.6); }
:root[data-theme="light"] .theme-btn__moon { opacity: 1; transform: none; }
.theme-btn--mobile { display: none; }
@media (max-width: 820px) {
  .theme-btn--mobile { display: grid; z-index: 102; margin-left: auto; margin-right: 8px; }
  .theme-btn--mobile + .menu-btn { margin-left: 0; }
}

/* Light theme header: a white bar with a hairline and soft shadow. */
:root[data-theme="light"] .site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgb(21 25 43 / .04), 0 8px 24px -20px rgb(21 25 43 / .25);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
/* Brand logos need a white tile in both themes; in light, a hairline keeps it visible on white chips. */
:root[data-theme="light"] .tools__icon { background: #ffffff; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="light"] .site-footer { color: var(--muted); }

/* Line-art animations beside a section's heading (art/*.js) */
.split__art { position: relative; width: 100%; max-width: 460px; aspect-ratio: 520 / 420; margin-top: 32px; }
.split__art canvas { display: block; width: 100%; height: 100%; }
html:not(.js) .split__art { display: none; }
@media (max-width: 900px) { .split__art { max-width: 520px; margin: 24px auto 0; } }

/* The hero's art may bleed past the page margin; the section next to it starts close enough to peek in. */
.hero { overflow-x: clip; }
.hero + #why { margin-top: 40px; }

/* About page: larger reading text. */
.about-page .lede { font-size: 19px; }
.about-page > section h2 { margin-bottom: 16px; font-size: 28px; }
.about-page > section p, .about-page .about__body p { font-size: 18px; line-height: 1.65; }
.about-page .about__body .about__sign { font-size: 16px; }
@media (max-width: 720px) { .about-page > section h2 { font-size: 24px; } }
