@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("/fonts/geist-sans-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("/fonts/geist-sans-latin-500-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ground: #07080A;
  --surface: #0F1113;
  --raised: #16191C;
  --hairline: rgba(255,255,255,0.07);
  --text: #F2F4F5;
  --muted: #9BA3AA;
  --silver: #D5DADE;
  --black: #050607;
  --action: #34C77B;
  --action-hover: #5AD896;
  --line: #4A5157;
  --error: #FF8A7A;
  --ease-out: cubic-bezier(0.22,1,0.36,1);
  --ease-in: cubic-bezier(0.4,0,1,1);
  --reveal-x: 0px;
  --reveal-y: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--ground) url("/img/backdrop.webp") center / cover fixed no-repeat;
  color: var(--muted);
  font-family: Geist, Arial, sans-serif;
  font-size: 17px;
  line-height: 28px;
  overflow-wrap: break-word;
}
h1, h2, h3 { margin: 0; color: var(--text); font-weight: 400; }
h1, h2, .recovery-item h3 { font-family: "Instrument Serif", Georgia, serif; }
h1 { max-width: 13ch; font-size: clamp(44px, 6.5625vw, 84px); line-height: 1; letter-spacing: -0.015em; }
h2 { max-width: 16ch; margin-bottom: 24px; font-size: clamp(34px, 4.375vw, 56px); line-height: 1.04; }
h3 { margin-bottom: 8px; font-size: 20px; line-height: 28px; font-weight: 500; }
p { margin: 0; }
p + p { margin-top: 16px; }
a { color: var(--action); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; }
img { display: block; max-width: 100%; object-fit: contain; }
.container, .site-header { width: 100%; max-width: 1224px; margin-inline: auto; padding-inline: 20px; }
.lead, .hero-description, .reading { color: var(--text); }
.section-label { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 22px; font-weight: 500; }
.section-label::before { content: ""; flex: 0 0 24px; border-top: 1px solid var(--line); }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 30; padding: 12px 16px; background: var(--surface); transform: translateY(-200%); }
.skip-link:focus { position: fixed; transform: none; outline: 3px solid var(--action); outline-offset: 2px; }
.site-header { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--ground); z-index: 10; }
.wordmark, .site-header > a:first-child { display: inline-flex; min-width: 0; }
.site-header .logo-wordmark { height: 32px; width: 224px; max-width: 100%; object-position: left; }
.header-cta { flex-shrink: 0; padding-block: 12px; font-size: 15px; line-height: 22px; }
.panel { padding-block: 48px; }
.panel-inner, .panel-content { min-width: 0; }
.funnel-page { isolation: isolate; }
.funnel-backdrop { display: none; position: fixed; inset: 0 -3vw; z-index: -1; pointer-events: none; background: var(--ground) url("/img/backdrop.webp") center / cover no-repeat; }
.hero, .sample-grid, .demo-grid, .how-grid, .guarantee-grid { display: grid; gap: 32px; align-items: start; }
.hero > *, .sample-grid > *, .demo-grid > *, .how-grid > *, .recovery-item > * { min-width: 0; }
.hero-art, .mode-hint { display: none; }
.audience { margin-top: 24px; }
.hero-description { margin-top: 16px; }
.mode-hint { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 22px; }
.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 24px;
  border: 0;
  border-radius: 2px;
  background: var(--action);
  color: var(--ground);
  font: 500 16px/24px Geist, Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.button::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(0,0,0,0.08); opacity: 0; transition: opacity 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .button:hover:not(:disabled) { transform: translateY(-2px); }
  .button:hover:not(:disabled)::before { opacity: 1; }
}
.button:active:not(:disabled) { transform: scale(0.98); transition-duration: 90ms; }
.hero .button { margin-top: 24px; }
.conversation { margin: 0; width: 100%; max-width: 560px; }
.conversation figcaption { margin-bottom: 8px; color: var(--muted); font-size: 15px; line-height: 22px; }
.conversation-card { margin: 0; padding: 16px; list-style: none; border: 1px solid var(--hairline); border-radius: 4px; background: var(--surface); }
.message { padding: 16px; border-radius: 4px; transform-origin: left center; }
.message + .message { margin-top: 16px; }
.message-shop { margin-right: 16px; background: var(--raised); color: var(--text); }
.message-homeowner { margin-left: 16px; background: var(--silver); color: var(--black); transform-origin: right center; }
.sender { display: block; margin-bottom: 4px; color: var(--muted); font-size: 15px; line-height: 22px; }
.message-homeowner .sender { color: var(--black); }
.recovery-grid { display: grid; gap: 24px; }
.recovery-item { padding-top: 20px; border-top: 1px solid var(--hairline); }
.recovery-item h3 { margin-bottom: 16px; font-size: 26px; line-height: 30px; font-weight: 400; }
.how-grid > div, .guarantee-grid > p { margin: 0; padding-top: 20px; border-top: 1px solid var(--hairline); }
.service-details { margin-top: 32px; }
.demo-copy h2 { margin-bottom: 16px; }
.demo-copy h3 { margin-top: 32px; }
.form-card { position: relative; width: 100%; max-width: 640px; padding: 20px; border: 1px solid var(--hairline); border-radius: 4px; background: var(--surface); }
.field { min-width: 0; margin-bottom: 24px; }
label { display: block; color: var(--text); font-size: 16px; line-height: 24px; font-weight: 500; }
.field label { margin-bottom: 8px; }
.input-wrap { position: relative; }
.field input { width: 100%; height: 52px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--raised); color: var(--text); font: inherit; }
.field input:focus { border: 2px solid var(--text); padding-inline: 15px; outline: 3px solid var(--action); outline-offset: 2px; }
.field-bar { position: absolute; bottom: 0; left: 6px; right: 6px; height: 2px; background: var(--action); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out); }
.input-wrap:focus-within .field-bar { transform: scaleX(1); }
.helper, .field-error { margin-top: 8px; font-size: 15px; line-height: 22px; }
.helper { color: var(--muted); }
.consent-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; align-items: start; }
.checkbox-target { width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
#consent { width: 24px; height: 24px; margin: 0; accent-color: var(--action); cursor: pointer; }
#consent-label { padding-top: 10px; color: var(--text); font-size: 16px; line-height: 24px; font-weight: 400; cursor: pointer; }
.consent-help { margin-block: 16px 24px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.error-summary { margin-bottom: 24px; padding: 16px; border: 2px solid var(--error); border-radius: 4px; }
.error-summary:focus { outline: 3px solid var(--action); outline-offset: 2px; }
.error-summary ul { margin: 8px 0 0; padding-left: 24px; }
.error-summary a, .field-error { color: var(--error); }
.field.is-error input { border: 2px solid var(--error); padding-inline: 15px; }
.field.is-error .field-error { font-weight: 500; }
.banner-error { margin-bottom: 24px; padding: 8px 16px; border-left: 2px solid var(--error); color: var(--error); }
form[aria-busy="true"] .button, .button:disabled { opacity: 0.85; cursor: wait; }
.form-content { transition: opacity 240ms var(--ease-in), transform 240ms var(--ease-in); }
.is-sent .form-content { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.success-message { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; padding: 20px; }
.is-sent .success-message { animation: sent 200ms 240ms var(--ease-out) both; }
@keyframes sent { from { opacity: 0; } to { opacity: 1; } }
.reading { width: 100%; max-width: calc(68ch + 40px); margin-inline: auto; padding: 48px 20px; font-size: 18px; line-height: 30px; }
.reading h1 { margin-bottom: 16px; }
.reading h1 + p { color: var(--muted); }
.reading h2 { margin-top: 32px; margin-bottom: 16px; font-size: 32px; line-height: 38px; }
.site-footer { display: grid; gap: 8px; padding: 32px 20px; background: var(--surface); color: var(--text); font-size: 15px; line-height: 22px; }
.site-footer p { margin: 0; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.progress { position: fixed; z-index: 20; bottom: 0; left: 0; width: 100%; height: 64px; display: flex; align-items: center; justify-content: center; gap: 4px; background: var(--ground); }
.progress-name { display: none; color: var(--muted); font-size: 15px; line-height: 22px; }
.progress button { display: grid; place-items: center; flex: 0 0 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.progress-bar { position: relative; width: 28px; height: 2px; background: var(--line); }
.progress-bar::after { content: ""; position: absolute; inset: 0; background: var(--action); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out); }
.progress .is-visited .progress-bar::after { transform: scaleX(1); }

@media (max-width: 899px) {
  h1 { line-height: 1.0455; }
  h2 { line-height: 1.1176; }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
  .hero-copy { grid-column: 1 / 8; }
  .hero-art { display: block; grid-column: 8 / 13; width: 100%; max-width: 520px; aspect-ratio: 4 / 5; overflow: clip; border: 1px solid var(--hairline); border-radius: 2px; }
  .hero-photo { width: 100%; height: 100%; object-fit: cover; }
}
@media (min-width: 1024px) {
  h3 { font-size: 22px; line-height: 30px; }
  .container, .site-header { padding-inline: 32px; }
  .site-header { height: 72px; }
  .header-cta { font-size: 16px; line-height: 24px; }
  .panel { padding-block: 72px; }
  .button { width: auto; }
  .sample-grid, .demo-grid, .editorial-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
  .sample-grid > div, .demo-copy { grid-column: 1 / 6; }
  .conversation, .form-card { grid-column: 6 / 13; }
  .editorial-grid > .section-label { grid-column: 1 / -1; }
  .editorial-grid > h2 { grid-column: 1 / 9; }
  .about-copy { grid-column: 7 / 13; margin-top: 24px; }
  .guarantee-grid { grid-column: 1 / -1; grid-template-columns: 7fr 5fr; gap: 0; margin-top: 24px; }
  .sample-grid { align-items: center; }
  .conversation { justify-self: end; }
  .recovery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .recovery-item { padding-inline: 32px; }
  .recovery-item:first-child { padding-left: 0; }
  .recovery-item:last-child { padding-right: 0; }
  .recovery-item + .recovery-item { border-left: 1px solid var(--hairline); }
  .recovery-item h3 { font-size: 32px; line-height: 36px; }
  .how-grid { grid-template-columns: 5fr 7fr; gap: 0; margin-top: 40px; }
  .how-grid > div, .guarantee-grid > p { padding-top: 0; border-top: 0; padding-right: 48px; }
  .how-grid > div + div, .guarantee-grid > p + p { padding-left: 48px; padding-right: 0; border-left: 1px solid var(--hairline); }
  .service-details { margin-top: 48px; }
  .form-card { padding: 32px; justify-self: end; }
  .fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .reading { max-width: calc(68ch + 64px); padding: 72px 32px; }
  .site-footer { grid-template-columns: minmax(0, 1fr) auto auto; padding: 32px max(32px, calc((100% - 1120px) / 2)); column-gap: 24px; }
  .footer-links { flex-direction: row; gap: 24px; }
}

@media (prefers-reduced-motion: no-preference) {
  html.js-motion [data-reveal] { opacity: 0; transform: translate(var(--reveal-x), var(--reveal-y)); transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
  html.js-motion .conversation[data-reveal], html.js-motion .form-card[data-reveal] { transform: translate(var(--reveal-x), var(--reveal-y)) scale(0.96); }
  html.js-motion #hero-title { opacity: 1; transform: translateX(12px); }
  html.js-motion .message { opacity: 0; transform: translateY(12px) scale(0.97); transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out); transition-delay: var(--bubble-delay, 0ms); }
  html.js-motion .hero-photo { opacity: 0; transform: scale(1.06); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); }
  html.js-motion .is-visible .hero-photo { opacity: 1; transform: scale(1); }
  html.js-motion .is-visible [data-reveal], html.js-motion .is-visible #hero-title, html.js-motion .is-visible .message,
  html.js-motion .panel:focus-within [data-reveal], html.js-motion .panel:focus-within .message { opacity: 1; transform: none; }
}
@media (max-width: 768px) and (prefers-reduced-motion: no-preference), (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  :root { --reveal-x: 32px; --reveal-y: 0px; }
  .funnel-page .site-header { position: sticky; top: 0; height: 56px; }
  .track { display: flex; width: 100%; height: calc(100svh - 56px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .track::-webkit-scrollbar { display: none; }
  .panel { flex: 0 0 100%; min-width: 0; height: 100%; overflow-y: auto; padding-block: 24px 80px; scroll-snap-align: start; scroll-snap-stop: always; scroll-margin-top: 56px; }
  .hint-swipe { display: block; }
  .hero { display: block; }
  .hero-art { display: none; }
  .funnel-backdrop { display: block; transform: translateX(var(--backdrop-x, 0vw)) scale(1.12); }
  .panel-content { transform: scale(var(--depth-scale, 1)); opacity: var(--depth-opacity, 1); }
}
html.hs { --reveal-x: 32px; --reveal-y: 0px; }
.hs .funnel-page .site-header { position: sticky; top: 0; margin-bottom: -72px; }
.hs .funnel { position: relative; height: calc(7 * 100vh); }
.hs .funnel-stage { position: sticky; top: 0; height: 100vh; overflow: clip; perspective: 1400px; }
.hs .track { display: flex; width: 100%; height: 100vh; overflow: visible; will-change: transform; transform-style: preserve-3d; }
.hs .panel { display: flex; align-items: center; flex: 0 0 100vw; width: 100vw; height: 100vh; padding-block: 72px 88px; overflow: visible; perspective: 1400px; }
.hs .panel-inner { overflow: visible; padding-block: 8px; transform: scale(var(--fit, 1)); transform-origin: center; transform-style: preserve-3d; }
.hs .panel-content { transform: translateX(var(--depth-x, 0vw)) scale(var(--depth-scale, 1)) rotateY(var(--depth-turn, 0deg)); opacity: var(--depth-opacity, 1); }
.hs .funnel-backdrop { display: block; transform: translateX(var(--backdrop-x, 0vw)) scale(1.12); }
.hs .hero-art { max-height: calc(100vh - 176px); }
.hs .conversation-card { padding: 12px; }
.hs .message { padding: 8px 12px; }
.hs .message + .message { margin-top: 8px; }
.hs .demo-grid { align-items: center; }
.hs .demo-copy h3 { margin-top: 24px; }
.hs .form-card { padding: 24px; }
.hs .field { margin-bottom: 16px; }
.hs .fields-grid { column-gap: 16px; }
.hs .consent-help { margin-block: 8px 16px; }
.hs #submit-button { width: 100%; }
.hs .hint-scroll { display: block; }
.hs .progress { bottom: 32px; left: 50%; width: auto; height: 44px; gap: 8px; transform: translateX(-50%); }
.hs .progress-name { display: block; margin-right: 16px; white-space: nowrap; }
.hs .progress button { flex-basis: 48px; }
.hs .progress-bar { width: 48px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .button:hover:not(:disabled), .button:active:not(:disabled) { transform: none; }
}
