@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./assets/fonts/dm-sans-variable.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("./assets/fonts/dm-sans-italic-variable.ttf") format("truetype");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("./assets/fonts/cormorant-garamond-variable.ttf") format("truetype");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("./assets/fonts/cormorant-garamond-italic-variable.ttf") format("truetype");
}

:root {
  --paper: #f2efe7;
  --paper-deep: #e7e1d5;
  --cream: #fbf9f3;
  --white: #fffdf9;
  --ink: #191c18;
  --muted: #62675f;
  --line: rgba(25, 28, 24, 0.16);
  --line-light: rgba(255, 253, 249, 0.16);
  --clay: #b85c38;
  --clay-dark: #8f4328;
  --sage: #536756;
  --sage-light: #cdd5bd;
  --ochre: #dcae58;
  --shadow: 0 24px 70px rgba(43, 35, 25, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1400px, calc(100vw - 64px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Kinder line breaks where the browser supports them: balanced display
   headlines, no single-word widows in running text. */
h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

body::before {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--clay) 0 36%, var(--ochre) 36% 58%, var(--sage) 58% 100%);
  content: "";
  pointer-events: none;
}

::selection {
  background: var(--sage-light);
  color: var(--ink);
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(3.2rem, 5.8vw, 5.8rem);
  line-height: 0.96;
}

h3 {
  font-size: clamp(2rem, 2.6vw, 3rem);
  line-height: 1.05;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 90;
  top: 20px;
  left: 50%;
  display: flex;
  width: min(1400px, calc(100vw - 40px));
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px 9px 18px;
  border: 1px solid rgba(25, 28, 24, 0.11);
  border-radius: 999px;
  background: rgba(251, 249, 243, 0.88);
  box-shadow: 0 12px 40px rgba(31, 28, 22, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: top 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled {
  top: 9px;
  background: rgba(251, 249, 243, 0.96);
  box-shadow: 0 16px 46px rgba(31, 28, 22, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--clay);
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.8rem;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  text-decoration: none;
}

.nav-links > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding: 0 19px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  background: var(--clay);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 160ms ease;
}

.hero {
  position: relative;
  display: grid;
  width: min(1540px, 100%);
  min-height: 900px;
  min-height: min(900px, max(100svh, 660px));
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  gap: clamp(36px, 6vw, 94px);
  align-items: center;
  margin: 0 auto;
  padding: 128px max(32px, 5vw) 82px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 12%;
  left: -12%;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 103, 86, 0.17), transparent 68%);
  content: "";
}

.hero-copy-block {
  max-width: 720px;
  padding-left: clamp(0px, 3vw, 50px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--clay-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 26px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(6rem, 10.5vw, 10.2rem);
  line-height: 0.82;
}

/* The page opens on earthy green: the headline accent, eyebrow, glow, and
   primary button all lead with sage before clay takes over further down. */
.hero h1 em {
  display: block;
  color: var(--sage);
  font-weight: 400;
}

.hero .eyebrow {
  color: var(--sage);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button span {
  font-size: 1.05rem;
  transition: transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover span {
  transform: translate(2px, -1px);
}

.button:active {
  transform: translateY(0);
  transition-duration: 60ms;
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  background: var(--clay);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.35);
  background: var(--white);
  color: var(--ink);
}

.button-light:hover {
  border-color: var(--ochre);
  background: var(--ochre);
}

.button-accent {
  background: var(--clay);
  color: var(--white);
}

.button-accent:hover {
  background: var(--white);
  color: var(--ink);
}

.button-sage {
  background: var(--sage);
  color: var(--white);
}

.button-sage:hover {
  background: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

/* The hero's text link points down, so its arrow should nod down, not sideways. */
.hero .text-link:hover span {
  transform: translateY(3px);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.store-badge {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--cream);
  color: var(--ink);
}

.store-badge svg {
  width: 17px;
  height: 20px;
  flex: 0 0 auto;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge-text small {
  color: var(--muted);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.store-badge-text strong {
  font-size: 0.84rem;
}

.hero-fineprint {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

/* Hero entrance: the page opens with motion, not a block of text. Pure CSS,
   so it runs even before (or without) script.js; reduced-motion zeroes it. */
.hero-copy-block > *,
.hero-visual {
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy-block > .eyebrow { animation-delay: 0.05s; }
.hero-copy-block > h1 { animation-delay: 0.16s; }
.hero-copy-block > .hero-actions { animation-delay: 0.3s; }
.hero-copy-block > .store-badges { animation-delay: 0.42s; }
.hero-copy-block > .hero-fineprint { animation-delay: 0.54s; }
.hero-visual { animation-delay: 0.28s; }

.room-read-card {
  animation: hero-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.75s both;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 650px;
  justify-self: end;
  margin: 0;
}

.hero-visual > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: min(73vh, 740px);
  min-height: 610px;
  border-radius: 200px 5px 5px 5px;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.hero-color-block {
  position: absolute;
  right: -26px;
  bottom: -28px;
  width: 48%;
  height: 34%;
  background: var(--sage);
}

.room-read-card {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 3vw, 46px);
  bottom: clamp(18px, 3vw, 42px);
  width: min(390px, calc(100% - 36px));
  padding: 18px 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 14px 38px rgba(19, 19, 15, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.preview-label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.room-read-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.room-read-row strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}

.room-read-row small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.68rem;
}

.mini-palette {
  display: flex;
}

.swatch {
  display: block;
  width: 27px;
  height: 27px;
  margin-left: -5px;
  border: 2px solid var(--white);
  border-radius: 50%;
}

.swatch-sand { background: #d8cdbb; }
.swatch-clay { background: #a86e4d; }
.swatch-moss { background: #65715e; }
.swatch-ink { background: #2d2b25; }

/* Swatches pop in like a live palette read, then keep a gentle drift. */
.room-read-card .swatch {
  animation:
    swatch-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.05s both,
    swatch-drift 5.5s ease-in-out 1.7s infinite;
}

.room-read-card .swatch:nth-child(2) { animation-delay: 1.17s, 2.4s; }
.room-read-card .swatch:nth-child(3) { animation-delay: 1.29s, 3.1s; }
.room-read-card .swatch:nth-child(4) { animation-delay: 1.41s, 3.8s; }

@keyframes swatch-pop {
  from {
    opacity: 0;
    transform: scale(0.35);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes swatch-drift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

/* Pulsing dot on the room-read label: the analysis reads as happening live. */
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--sage);
  animation: dot-pulse 2.2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(83, 103, 86, 0.45);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(83, 103, 86, 0);
  }
}

.hero-index {
  position: absolute;
  z-index: 3;
  top: 42%;
  right: -73px;
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

.path-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 28px max(32px, calc((100vw - 1400px) / 2));
  background: var(--ink);
  color: var(--white);
}

.path-strip > p {
  margin: 0;
  color: var(--sage-light);
  font-family: var(--serif);
  font-size: 1.55rem;
  white-space: nowrap;
}

.path-strip ul {
  display: flex;
  gap: clamp(22px, 4vw, 64px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.path-strip li {
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}

.path-strip li span {
  margin-right: 7px;
  color: var(--ochre);
  font-size: 0.62rem;
}

.section-shell {
  width: var(--shell);
  margin-right: auto;
  margin-left: auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(40px, 8vw, 130px);
  padding-top: clamp(100px, 12vw, 180px);
  padding-bottom: 90px;
}

.intro-kicker {
  padding-top: 12px;
}

.margin-note {
  max-width: 220px;
  margin-top: 54px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.3;
}

.intro-statement h2 {
  max-width: 950px;
  margin-bottom: 34px;
}

.intro-statement > p {
  max-width: 660px;
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 1.06rem;
}

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 62px);
  padding-bottom: clamp(110px, 14vw, 190px);
}

.process-step {
  min-height: 360px;
  padding: 20px 0 0;
  border-top: 1px solid var(--ink);
}

.process-step-offset {
  margin-top: 72px;
}

.step-number {
  display: block;
  margin-bottom: 94px;
  color: var(--clay);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.process-step h3 {
  margin-bottom: 18px;
}

.process-step p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.matching {
  display: grid;
  min-height: 880px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--ink);
  color: var(--white);
}

.matching-photo {
  position: relative;
  min-height: 720px;
  overflow: hidden;
}

.matching-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 64%, rgba(12, 13, 11, 0.78));
  content: "";
}

.matching-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.matching-photo p {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 26px;
  left: 32px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.67rem;
  letter-spacing: 0.06em;
}

.matching-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 8vw, 126px);
}

.eyebrow-light {
  color: var(--ochre);
}

.matching-copy h2 {
  max-width: 730px;
  margin-bottom: 26px;
}

.matching-lead {
  max-width: 640px;
  margin-bottom: 34px;
  color: rgba(255, 253, 249, 0.68);
  font-size: 0.95rem;
}

.mode-switch {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 25px;
  padding: 4px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.mode-button {
  min-height: 41px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}

.mode-button:hover:not(.is-active) {
  color: rgba(255, 255, 255, 0.9);
}

.mode-button.is-active {
  background: var(--white);
  color: var(--ink);
}

.mode-copy {
  min-height: 98px;
  max-width: 620px;
  padding-left: 18px;
  border-left: 2px solid var(--clay);
  transition: opacity 170ms ease;
}

.mode-copy.is-swapping {
  opacity: 0;
}

.mode-copy strong {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
}

.mode-copy p {
  margin: 7px 0 0;
  color: rgba(255, 253, 249, 0.68);
  font-size: 0.82rem;
}

.signal-list {
  max-width: 650px;
  margin: 24px 0 34px;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.signal-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-light);
}

.signal-list span {
  font-size: 0.82rem;
  font-weight: 600;
}

.signal-list small {
  color: rgba(255, 253, 249, 0.62);
  font-size: 0.68rem;
  text-align: right;
}

.matching-copy .button {
  width: fit-content;
}

.real {
  position: relative;
  padding-top: clamp(120px, 14vw, 200px);
  overflow: hidden;
  color: var(--white);
}

.real-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.real-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(19, 22, 18, 0.9) 10%, rgba(19, 22, 18, 0.58) 55%, rgba(19, 22, 18, 0.38));
}

.real-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
  padding-bottom: clamp(90px, 10vw, 150px);
}

.real-copy h2 {
  max-width: 640px;
  margin-bottom: 24px;
}

.real-lead {
  max-width: 520px;
  margin-bottom: 34px;
  color: rgba(255, 253, 249, 0.8);
  font-size: 0.95rem;
}

.price-demo {
  justify-self: end;
  width: min(360px, 100%);
  padding: 18px 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 253, 249, 0.93);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(12, 12, 9, 0.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.price-demo-body {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  transition: opacity 180ms ease;
}

.price-demo-body strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.05;
}

.price-demo-body small {
  color: var(--muted);
  font-size: 0.66rem;
  white-space: nowrap;
}

.price-demo-prices {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 10px;
  transition: opacity 180ms ease;
}

.price-demo-prices s {
  color: var(--muted);
  font-size: 0.9rem;
}

.price-demo-prices em {
  color: var(--clay-dark);
  font-family: var(--serif);
  font-size: 2rem;
  font-style: normal;
  line-height: 1;
}

.price-demo-tag {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--clay);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-demo-tag[hidden] {
  display: none;
}

.price-demo.is-ticking .price-demo-body,
.price-demo.is-ticking .price-demo-prices {
  opacity: 0;
}

.store-marquee {
  position: relative;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 253, 249, 0.22);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}

.marquee-track span {
  margin-right: 58px;
  color: rgba(255, 253, 249, 0.85);
  font-family: var(--serif);
  font-size: 1.5rem;
  white-space: nowrap;
}

@keyframes marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

.marquee-note {
  position: relative;
  margin: 0 auto;
  padding: 14px 0 26px;
  color: rgba(255, 253, 249, 0.48);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-note {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  margin-top: clamp(110px, 13vw, 180px);
  margin-bottom: clamp(110px, 13vw, 180px);
}

.privacy-photo {
  margin: 0;
}

.privacy-photo img {
  width: 100%;
  height: min(62vh, 560px);
  border-radius: 4px 4px 4px 140px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.privacy-label {
  margin: 0 0 22px;
  color: var(--clay-dark);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.privacy-copy h2 {
  max-width: 560px;
  margin-bottom: 28px;
  font-size: clamp(2.8rem, 4.8vw, 5rem);
}

.privacy-points {
  max-width: 520px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.privacy-points li {
  position: relative;
  padding: 13px 0 13px 34px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.privacy-points li:first-child {
  border-top: 1px solid var(--line);
}

.privacy-points li::before {
  position: absolute;
  left: 4px;
  color: var(--sage);
  content: "✓";
  font-weight: 700;
}

.partners {
  padding: clamp(110px, 13vw, 180px) 0;
  background: var(--ink);
  color: var(--white);
}

.partners-head {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: clamp(36px, 7vw, 110px);
}

.partners-head h2 {
  max-width: 880px;
  margin-bottom: 30px;
}

.partners-head div > p {
  max-width: 680px;
  color: rgba(255, 253, 249, 0.64);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 90px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.partner-grid article {
  min-height: 320px;
  padding: 28px;
  border-right: 1px solid var(--line-light);
}

.partner-grid article:last-child {
  border-right: 0;
}

.partner-grid article > span {
  color: var(--ochre);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partner-grid h3 {
  margin: 105px 0 17px;
  font-size: clamp(1.8rem, 2.4vw, 2.65rem);
}

.partner-grid p {
  margin: 0;
  color: rgba(255, 253, 249, 0.58);
  font-size: 0.8rem;
}

.partner-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding-top: 52px;
  padding-bottom: 90px;
}

.partner-contact p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 253, 249, 0.57);
  font-size: 0.78rem;
}

.partner-contact .button {
  flex: 0 0 auto;
}

.affiliate-disclosure {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: clamp(34px, 5vw, 68px);
  background: var(--paper);
  color: var(--ink);
}

.disclosure-mark {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-style: italic;
}

.affiliate-disclosure h2 {
  max-width: 850px;
  margin-bottom: 25px;
  font-size: clamp(2.8rem, 4.8vw, 5rem);
}

.affiliate-disclosure div > p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
}

.availability-note {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
}

.final-cta {
  position: relative;
  display: flex;
  min-height: 650px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 32px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 19, 15, 0.74), rgba(21, 19, 15, 0.52) 46%, rgba(21, 19, 15, 0.8));
}

.final-cta .eyebrow {
  color: var(--ochre);
}

.final-cta > p:not(.eyebrow) {
  color: rgba(255, 253, 249, 0.85);
}

.final-cta h2 {
  position: relative;
  z-index: 1;
  max-width: 970px;
  margin: 0 auto 20px;
  font-size: clamp(4rem, 8vw, 8rem);
}

.final-cta > p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
}

.final-cta .button,
.final-cta .eyebrow {
  position: relative;
  z-index: 1;
}

.final-cta-orbit {
  position: absolute;
  width: min(68vw, 880px);
  height: min(68vw, 880px);
  border: 1px solid rgba(255, 253, 249, 0.3);
  border-radius: 50%;
  animation: orbit-breathe 9s ease-in-out infinite;
}

.final-cta-orbit::before,
.final-cta-orbit::after {
  position: absolute;
  border: 1px solid rgba(255, 253, 249, 0.18);
  border-radius: 50%;
  content: "";
}

@keyframes orbit-breathe {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.final-cta-orbit::before { inset: 12%; }
.final-cta-orbit::after { inset: 26%; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 2fr) repeat(3, minmax(130px, 1fr));
  gap: 46px;
  padding: 78px max(32px, calc((100vw - 1400px) / 2)) 34px;
  background: var(--cream);
}

.footer-brand p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-column strong {
  margin-bottom: 8px;
  font-size: 0.69rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a {
  width: fit-content;
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--clay-dark);
  text-decoration: underline;
}

.footer-bottom {
  grid-column: 1 / -1;
  margin: 36px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.66rem;
}

/* Policy pages */
.policy-body {
  background: var(--cream);
}

.policy-header {
  display: flex;
  width: var(--shell);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.policy-header .brand {
  font-size: 1.5rem;
}

.policy-back {
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
}

.policy-back:hover {
  text-decoration: underline;
}

.policy-page {
  display: grid;
  width: min(1160px, calc(100vw - 64px));
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(48px, 8vw, 130px);
  margin: 0 auto;
  padding: 100px 0 130px;
}

.policy-rail {
  position: relative;
}

.policy-rail-inner {
  position: sticky;
  top: 44px;
}

.policy-rail .eyebrow {
  margin-bottom: 34px;
}

.policy-rail nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.policy-rail nav a {
  width: fit-content;
  color: var(--muted);
  font-size: 0.74rem;
  text-decoration: none;
}

.policy-rail nav a:hover {
  color: var(--clay-dark);
}

.policy-content {
  max-width: 780px;
}

.policy-content > h1 {
  margin: 0 0 20px;
  font-size: clamp(4.7rem, 9vw, 8.2rem);
  line-height: 0.85;
}

.policy-updated {
  margin-bottom: 58px;
  color: var(--muted);
  font-size: 0.72rem;
}

.policy-intro {
  margin-bottom: 68px;
  padding: 28px;
  border-left: 4px solid var(--clay);
  background: var(--paper);
  color: #3e433d;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.35;
}

.policy-section {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 30px;
}

.policy-section h2 {
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 3vw, 2.8rem);
}

.policy-section p,
.policy-section li {
  color: var(--muted);
  font-size: 0.9rem;
}

.policy-section p:last-child,
.policy-section ul:last-child {
  margin-bottom: 0;
}

.policy-section a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.policy-footer {
  display: flex;
  width: var(--shell);
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin: 0 auto;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

.policy-footer nav {
  display: flex;
  gap: 20px;
}

.policy-footer a {
  text-decoration: none;
}

.policy-footer a:hover {
  text-decoration: underline;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero {
    min-height: 820px;
    grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
    padding-right: 46px;
    padding-left: 46px;
  }

  .hero h1 {
    font-size: clamp(5.2rem, 10.5vw, 8rem);
  }

  .hero-visual > img {
    min-height: 560px;
  }

  .hero-index {
    display: none;
  }

  .matching-copy {
    padding: 70px;
  }
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 40px, 780px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 70px;
    padding: 140px 20px 100px;
  }

  .hero-copy-block {
    width: min(100%, 780px);
    margin: 0 auto;
    padding-left: 0;
  }

  .hero-visual {
    width: min(100%, 780px);
    max-width: none;
    justify-self: center;
  }

  .hero-visual > img {
    height: 720px;
  }

  .path-strip {
    padding-right: 28px;
    padding-left: 28px;
  }

  .path-strip ul {
    gap: 20px;
  }

  .intro,
  .privacy-note,
  .partners-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .real-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .price-demo {
    justify-self: start;
  }

  .privacy-photo img {
    height: 460px;
  }

  .margin-note {
    max-width: 500px;
    margin-top: 24px;
  }

  .intro-statement > p {
    margin-left: 0;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step-offset {
    display: grid;
    min-height: 0;
    grid-template-columns: 80px 1fr;
    gap: 20px;
    margin-top: 0;
    padding: 24px 0 48px;
  }

  .step-number {
    margin: 0;
  }

  .matching {
    grid-template-columns: 1fr;
  }

  .matching-photo {
    height: min(90vw, 700px);
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partner-grid article {
    min-height: 0;
    padding: 32px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .partner-grid article:last-child {
    border-bottom: 0;
  }

  .partner-grid h3 {
    margin: 58px 0 16px;
  }

  .site-footer {
    grid-template-columns: 2fr 1fr 1fr;
    padding-right: 28px;
    padding-left: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 60px;
    padding: 7px 8px 7px 15px;
  }

  .site-header .brand {
    font-size: 1.4rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    display: flex;
    width: min(360px, calc(100vw - 40px));
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(251, 249, 243, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links > a:not(.nav-cta) {
    padding: 12px 8px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 12px;
  }

  .path-strip {
    display: block;
  }

  .path-strip > p {
    margin-bottom: 18px;
  }

  .path-strip ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .path-strip li {
    white-space: normal;
  }

  .partner-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .affiliate-disclosure {
    grid-template-columns: 1fr;
  }

  .disclosure-mark {
    width: 54px;
    height: 54px;
    font-size: 1.9rem;
  }

  .policy-page {
    width: min(100% - 40px, 760px);
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 70px;
  }

  .policy-rail-inner {
    position: static;
  }

  .policy-rail nav {
    flex-flow: row wrap;
    gap: 8px 18px;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 36px);
  }

  h2 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .site-header {
    top: 13px;
    width: calc(100vw - 24px);
  }

  .site-header.scrolled {
    top: 7px;
  }

  .hero {
    gap: 54px;
    padding-top: 124px;
    padding-bottom: 74px;
  }

  .hero h1 {
    font-size: clamp(4.75rem, 25vw, 7rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .store-badges {
    width: 100%;
  }

  .store-badge {
    flex: 1;
    justify-content: center;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .hero-fineprint {
    line-height: 1.5;
  }

  .hero-visual > img {
    height: 520px;
    min-height: 0;
    border-radius: 115px 4px 4px 4px;
  }

  .hero-color-block {
    right: -12px;
    bottom: -18px;
  }

  .room-read-card {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    padding: 15px;
  }

  .room-read-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .swatch {
    width: 25px;
    height: 25px;
  }

  .path-strip ul {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .intro {
    padding-top: 95px;
    padding-bottom: 64px;
  }

  .process {
    padding-bottom: 110px;
  }

  .process-step,
  .process-step-offset {
    grid-template-columns: 50px 1fr;
  }

  .matching-copy {
    padding: 70px 20px 80px;
  }

  .matching-photo {
    height: 520px;
    min-height: 0;
  }

  .matching-photo p {
    right: 18px;
    bottom: 17px;
    left: 18px;
  }

  .mode-switch {
    width: 100%;
  }

  .mode-button {
    flex: 1;
  }

  .signal-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .signal-list small {
    text-align: left;
  }

  .matching-copy .button {
    width: 100%;
  }

  .real {
    padding-top: 95px;
  }

  .real-inner {
    padding-bottom: 80px;
  }

  .marquee-track span {
    margin-right: 40px;
    font-size: 1.25rem;
  }

  .privacy-note {
    margin-top: 95px;
    margin-bottom: 95px;
  }

  .privacy-photo img {
    height: 380px;
    border-radius: 4px 4px 4px 90px;
  }

  .partners {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .partner-grid {
    margin-top: 62px;
  }

  .affiliate-disclosure {
    padding: 28px 22px;
  }

  .final-cta {
    min-height: 580px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .final-cta h2 {
    font-size: clamp(3.7rem, 20vw, 6rem);
  }

  .final-cta .button {
    width: min(100%, 330px);
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
    padding: 64px 20px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-column:nth-of-type(3) {
    grid-column: 1 / -1;
  }

  .policy-header,
  .policy-footer {
    width: calc(100% - 36px);
  }

  .policy-header .brand span:last-child {
    display: none;
  }

  .policy-page {
    width: calc(100% - 36px);
    padding: 62px 0 95px;
  }

  .policy-content > h1 {
    font-size: clamp(4.3rem, 22vw, 6.5rem);
  }

  .policy-intro {
    padding: 22px;
    font-size: 1.35rem;
  }

  .policy-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
