@font-face {
  font-family: "Hanken Grotesk";
  src: url(./assets/hanken-grotesk-latin-wght-normal.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ground: #efefed;
  --tile: #fff;
  --ink: #151214;
  --ink-2: #5a5357;
  --line: #e3e0e1;
  /* kelly's lilac (#b08dd7) is the brand colour; white text fails on it (2.7:1), so buttons and links use the deeper steps of the same hue */
  --lilac: #b08dd7;
  --brand: #6941a1;
  --brand-hi: #7a53b4;
  --brand-deep: #482971;
  --brand-tint: #f2edff;
  --on-brand: #e8e0f9;
  --on-dark: #f6f1f3;
  --on-dark-2: #c4b9be;
  --dark-line: #3a3236;

  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-md: 1.2rem;
  --t-lg: clamp(1.45rem, 1.2rem + 0.9vw, 1.85rem);
  --t-xl: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --t-2xl: clamp(2.5rem, 1.5rem + 3.6vw, 4.2rem);
  --t-hero: clamp(2.7rem, 1.5rem + 3.3vw, 4.1rem);

  --gap: 12px;
  --pad: clamp(24px, 3vw, 44px);
  --r: 28px;
  --r-in: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: min(1360px, 100% - 40px);
  --head-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--head-h) + 16px);
  scroll-padding-bottom: 96px;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font:
    400 var(--t-base) / 1.6 "Hanken Grotesk",
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection {
  background: var(--brand);
  color: #fff;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 10px;
}
.on-dark :focus-visible,
.site-foot :focus-visible {
  outline-color: #fff;
}
.wrap {
  width: var(--wrap);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.stars {
  color: var(--brand);
  letter-spacing: 2px;
}
.tile {
  background: var(--tile);
  border-radius: var(--r);
  padding: var(--pad);
  position: relative;
}

/* marked placeholders: things her new brokerage or she still owes */
.todo {
  display: inline-block;
  padding: 1px 8px;
  border: 1px dashed currentColor;
  border-radius: 6px;
  font-size: 0.82em;
  font-style: italic;
  opacity: 0.85;
}
.todo-block {
  margin-top: 24px;
}

/* her logo as a mask, so it takes the ink of wherever it sits */
.signature {
  display: block;
  width: 132px;
  height: 44px;
  background: currentColor;
  -webkit-mask: url(./assets/signature.png) left center / contain no-repeat;
  mask: url(./assets/signature.png) left center / contain no-repeat;
}

/* buttons: one pill, two weights */
.btn {
  font: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font: 560 1rem/1 inherit;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.btn:active {
  transform: scale(0.98);
}
.btn-apply,
.btn-solid {
  background: var(--brand);
  color: #fff;
}
.btn-apply:hover,
.btn-solid:hover {
  background: var(--brand-hi);
}
.btn-line {
  background: var(--ground);
  color: var(--ink);
}
.btn-line:hover {
  background: #e4e3e0;
}
.on-dark .btn-line,
.offer .btn-line {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.on-dark .btn-line:hover,
.offer .btn-line:hover {
  background: rgba(255, 255, 255, 0.2);
}
.offer .btn-apply,
.closer .btn-apply {
  background: #fff;
  color: var(--brand-deep);
}
.offer .btn-apply:hover,
.closer .btn-apply:hover {
  background: var(--brand-tint);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.text-link {
  font-weight: 560;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  text-decoration-color: color-mix(in oklab, currentColor 35%, transparent);
  transition: text-decoration-color 0.2s var(--ease);
}
.text-link:hover {
  text-decoration-color: currentColor;
}

/* header */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  transition: box-shadow 0.3s var(--ease);
}
/* the blur lives on a layer, because a backdrop-filter on .top would make it the containing block for the fixed phone menu */
.top::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in oklab, var(--ground) 86%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
}
.top.scrolled {
  box-shadow: 0 1px 0 var(--line);
}
.top-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--head-h);
}
.brand {
  color: var(--ink);
  margin-right: auto;
  flex: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: var(--t-sm);
  color: var(--ink-2);
}
.nav > a,
.nav-drop > summary {
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0;
  transition: color 0.2s var(--ease);
}
.nav > a:hover,
.nav-drop > summary:hover,
.nav a[aria-current="page"],
.nav-drop > summary.current {
  color: var(--ink);
}
.nav > a.nav-extra {
  display: none;
}
.nav-drop {
  position: relative;
}
.nav-drop > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-drop > summary::-webkit-details-marker {
  display: none;
}
.nav-drop > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.nav-drop[open] > summary::after {
  transform: translateY(1px) rotate(-135deg);
}
.drop-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: -18px;
  min-width: 280px;
  padding: 10px;
  border-radius: 20px;
  background: var(--tile);
  box-shadow:
    0 1px 2px rgba(21, 18, 20, 0.06),
    0 24px 48px -20px rgba(21, 18, 20, 0.28);
  transform-origin: top left;
}
.drop-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wide .drop-panel {
  width: min(640px, 90vw);
}
.wide .drop-panel ul {
  columns: 2;
  column-gap: 4px;
}
.drop-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  break-inside: avoid;
  transition: background-color 0.15s var(--ease);
}
.drop-panel a:hover {
  background: var(--ground);
}
.drop-panel a[aria-current="page"] {
  color: var(--brand);
  font-weight: 600;
}
.phone {
  font-weight: 600;
  font-size: var(--t-sm);
  text-decoration: none;
  white-space: nowrap;
}
.phone .short {
  display: none;
}
.head-apply {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.95rem;
}
.menu-button {
  display: none;
}
@media (max-width: 1180px) {
  /* without script the menu is a plain list under the bar */
  .top-bar {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--head-h);
  }
  html:not(.js) .nav {
    order: 5;
    display: block;
    width: 100%;
    padding-bottom: 12px;
  }
  .js .menu-button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--tile);
    color: var(--ink);
    font: 560 0.95rem/1 inherit;
    font-family: inherit;
    cursor: pointer;
    order: 3;
  }
  .js .nav {
    position: fixed;
    inset: var(--head-h) 0 0;
    z-index: 29;
    display: block;
    padding: 12px 20px 40px;
    overflow-y: auto;
    background: var(--ground);
    font-size: 1.15rem;
    color: var(--ink);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.18s var(--ease),
      transform 0.18s var(--ease),
      visibility 0s linear 0.18s;
  }
  .js .nav.open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition:
      opacity 0.26s var(--ease),
      transform 0.26s var(--ease),
      visibility 0s;
  }
  .nav > a,
  .nav-drop > summary {
    display: flex;
    justify-content: space-between;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav > a.nav-extra {
    display: flex;
    color: var(--brand);
    font-weight: 600;
  }
  .drop-panel,
  .wide .drop-panel {
    position: static;
    width: auto;
    min-width: 0;
    padding: 4px 0 10px;
    box-shadow: none;
    background: transparent;
  }
  .wide .drop-panel ul {
    columns: 1;
  }
  .drop-panel a {
    padding: 10px 12px;
    font-size: 1rem;
    color: var(--ink-2);
  }
}
@media (max-width: 560px) {
  .phone {
    display: none;
  }
  .top-bar {
    gap: 10px;
  }
  .head-apply {
    padding: 0 14px;
  }
  .brand .signature {
    width: 104px;
  }
}

/* under 375px the header cannot hold all three; the page's own head and the action bar carry the apply button */
@media (max-width: 374px) {
  .head-apply {
    display: none;
  }
  :root {
    --pad: 20px;
  }
  .t-head,
  .page-head .tile {
    padding: 22px;
  }
  .btn {
    padding: 0 18px;
  }
}
html.menu-open {
  overflow: hidden;
}

/* sections */
.section {
  padding: clamp(20px, 3.5vw, 44px) 0;
}
.section > .wrap {
  display: grid;
  gap: var(--gap);
}
.title {
  font-size: var(--t-xl);
  letter-spacing: -0.035em;
  font-weight: 540;
}
.head-tile {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px 40px;
}
.head-tile p {
  color: var(--ink-2);
  max-width: 52ch;
}

/* home hero: a grid of tiles, her portrait on the rose */
.hero {
  padding: 8px 0 6px;
}
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}
.t-head {
  grid-column: 1 / 8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 3vw, 44px);
}
.hero h1 {
  font-size: var(--t-hero);
  font-weight: 540;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand);
}
.hero .lede {
  margin-top: 20px;
  font-size: var(--t-md);
  color: var(--ink-2);
  max-width: 50ch;
}
.t-face {
  grid-column: 8 / 13;
  grid-row: 1;
  margin: 0;
  padding: 0;
  overflow: hidden;
  min-height: 500px;
  color: #fff;
  background: var(--lilac);
}
/* the photo is cut at its sides and bottom, so it always overruns the tile there and the cut never shows */
.t-face img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: auto;
  min-width: calc(100% + 24px);
  height: calc(100% - 28px);
  max-width: none;
  object-fit: cover;
  object-position: center top;
  translate: -50% 0;
  filter: saturate(0.94) contrast(1.02);
}
.t-face figcaption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 20px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.94);
  color: var(--ink);
  font-size: var(--t-sm);
  line-height: 1.35;
  box-shadow: 0 8px 24px rgb(21 18 20 / 0.14);
}
.t-face figcaption b {
  display: block;
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: -0.02em;
}
.t-face figcaption span {
  color: var(--ink-2);
}
.t-rate {
  grid-column: 1 / 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  text-decoration: none;
}
.t-rate .stars {
  margin-right: 6px;
  color: var(--brand);
}
.t-rate figure {
  margin: 0;
}
.t-rate blockquote {
  margin: 0;
  font-size: var(--t-md);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.t-rate figcaption {
  margin-top: 10px;
  font-size: var(--t-sm);
  color: var(--ink-2);
}
.t-rate .text-link {
  align-self: flex-start;
}

.on-dark {
  background: var(--ink);
  color: var(--on-dark);
}
.t-calc {
  grid-column: 5 / 13;
}
.calc.on-dark {
  background: var(--ink);
}

/* awards and press, one band */
.proof {
  display: grid;
  gap: 28px;
}
.awards-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}
.awards-row p {
  font-size: var(--t-sm);
  color: var(--ink-2);
  max-width: 34ch;
}
.awards-row p b {
  display: block;
  color: var(--ink);
  font-size: var(--t-md);
  font-weight: 560;
}
.awards-row img {
  width: 100%;
  height: auto;
}
.proof .press {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.press {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 40px;
}
.press h3 {
  font-size: var(--t-sm);
  font-weight: 560;
  color: var(--ink-2);
  letter-spacing: 0;
}
.press ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mark {
  display: block;
  width: 130px;
  height: 34px;
  background: var(--ink-2);
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}

/* what would you like to do: unequal tiles, the hardest file first */
.intents-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
.intent {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 190px;
  padding: 26px 28px;
  border-radius: var(--r);
  background: var(--tile);
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.intent:hover {
  background: var(--brand-tint);
}
.intent b {
  display: block;
  font-size: var(--t-lg);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.intent > span > span {
  display: block;
  margin-top: 8px;
  font-size: var(--t-sm);
  color: var(--ink-2);
}
.intent .go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ground);
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease);
}
.intent:hover .go {
  background: var(--brand);
  color: #fff;
}
.intent.lead {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--brand);
  color: #fff;
}
.intent.lead b {
  text-wrap: balance;
  font-size: var(--t-xl);
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.intent.lead > span > span {
  color: var(--on-brand);
  font-size: var(--t-md);
  max-width: 34ch;
}
.intent.lead .go {
  background: #fff;
  color: var(--brand-deep);
}
.intents-head {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.intents-head p {
  color: var(--ink-2);
  max-width: 46ch;
}
@media (min-width: 1101px) {
  .intents-grid {
    grid-auto-flow: dense;
  }
  .intents-head {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  .intent.lead {
    grid-column: 1 / 3;
    grid-row: 2 / 4;
  }
}
.intent.lead {
  justify-content: flex-start;
  gap: 28px;
}
.intent.lead .lead-need {
  display: grid;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.22);
  font-size: var(--t-sm);
  color: var(--on-brand);
}
.intent.lead .lead-need h3 {
  font-size: var(--t-base);
  font-weight: 560;
  color: #fff;
}
.intent.lead .lead-need ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.intent.lead .lead-need li {
  padding-left: 18px;
  position: relative;
}
.intent.lead .lead-need li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.7;
}
.intent.lead .actions {
  margin-top: auto;
  align-items: center;
  gap: 10px 22px;
}
.intent.lead .btn-apply {
  background: #fff;
  color: var(--brand-deep);
}
.intent.lead .btn-apply:hover {
  background: var(--brand-tint);
}
.intent.lead .text-link {
  color: #fff;
}
@media (max-width: 640px) {
  .intent.lead .lead-need ul {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* the heading sits on the page, so only the choices are boxes */
.intents-head {
  background: none;
  padding-inline: 4px;
}
.intents-head {
  justify-content: center;
}

/* her story and her motto, one tile */
.story {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 32px 64px;
  background: var(--brand-tint);
}
.newcomer {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.newcomer blockquote {
  margin: 0;
  font-size: var(--t-lg);
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 34ch;
}
.newcomer figcaption {
  margin-top: 16px;
  color: var(--ink-2);
}
.motto {
  margin: 0;
  padding-left: 40px;
  border-left: 1px solid color-mix(in oklab, var(--brand) 25%, transparent);
}
.motto blockquote {
  margin: 0;
  font-size: var(--t-lg);
  line-height: 1.35;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.motto figcaption {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: var(--t-sm);
}

/* the two questions her clients ask first, answered in her words */
.asks {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 5fr);
  gap: var(--gap);
}
.ask-head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  background: var(--brand-tint);
}
.ask-head p {
  color: var(--ink-2);
}
.ask {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ask h3 {
  font-size: var(--t-lg);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.ask blockquote {
  margin: 0;
  flex: 1;
  color: var(--ink-2);
}
.head-tile .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

/* the reviews page: every captured review in full */
.review-page {
  columns: 2 360px;
  column-gap: var(--gap);
}
.review-page .q {
  padding: var(--pad);
  border-radius: var(--r);
}
.review-page .q blockquote {
  font-size: var(--t-md);
  line-height: 1.5;
}
.more-reviews {
  margin-top: 0;
  align-items: center;
}

/* her post videos: a link to youtube until clicked, then the player in place */
.video {
  margin: 0 0 32px;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-in);
  overflow: hidden;
  background: radial-gradient(90% 120% at 50% 0%, #2a2226, var(--ink));
}
.prose .video a:not(.btn) {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  font-weight: 560;
}
.video .play {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand);
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s var(--ease);
}
.video a:hover .play,
.video a:focus-visible .play {
  transform: scale(1.06);
  background: var(--brand-hi);
}
.video a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
}
.video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  animation: video-in 0.4s var(--ease);
}
@keyframes video-in {
  from {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .video iframe {
    animation: none;
  }
  .video .play {
    transition: none;
  }
}
@media (max-width: 900px) {
  .asks {
    grid-template-columns: 1fr;
  }
}

/* how long it takes: her process, in her numbers */
.timeline-tile {
  display: grid;
  gap: 32px;
}
.timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 40px;
}
.timeline-head p {
  color: var(--ink-2);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline li {
  padding-top: 18px;
  border-top: 2px solid var(--brand);
}
.timeline b {
  display: block;
  font-size: var(--t-xl);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.timeline span {
  display: block;
  margin-top: 14px;
  font-weight: 560;
}
.timeline small {
  display: block;
  margin-top: 2px;
  color: var(--ink-2);
  font-size: var(--t-sm);
}

/* reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--gap);
}
.big-quote {
  display: grid;
  align-content: center;
  gap: 22px;
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
}
.big-quote figure {
  margin: 0;
}
.big-quote .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: var(--t-sm);
}
.big-quote blockquote {
  margin: 0;
  font-size: var(--t-md);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.big-quote figcaption {
  margin-top: 22px;
  color: var(--on-dark-2);
}
.big-quote .stars {
  color: var(--lilac);
  margin-right: 10px;
}
/* home: three reviews sit on the page beside the big quote, divided by rules rather than boxed */
.review-wall {
  display: grid;
  align-content: center;
  padding-inline: clamp(0px, 2vw, 24px);
}
.review-wall .q {
  margin: 0;
  padding: 28px 0;
  border-radius: 0;
  background: none;
}
.q {
  break-inside: avoid;
  margin: 0 0 var(--gap);
  padding: 24px 26px;
  border-radius: 22px;
  background: var(--tile);
}
.q blockquote {
  margin: 0;
}
.q figcaption {
  margin-top: 14px;
  font-size: var(--t-sm);
  color: var(--ink-2);
}
.q figcaption b {
  color: var(--ink);
  margin-left: 8px;
}
.more-link {
  padding: 4px 6px;
}

/* faq */
.faq-list {
  display: grid;
  gap: 6px;
}
.faq-list details {
  border-radius: 20px;
  background: var(--tile);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  list-style: none;
  cursor: pointer;
  font-size: var(--t-md);
  font-weight: 560;
  letter-spacing: -0.015em;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary i {
  flex: none;
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ground);
}
.faq-list summary i::before,
.faq-list summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  translate: -50% -50%;
  transition: rotate 0.25s var(--ease);
}
.faq-list summary i::after {
  rotate: 90deg;
}
.faq-list details[open]:not([data-closing]) summary i::after {
  rotate: 0deg;
}
.faq-list .a {
  padding: 0 24px 22px;
  color: var(--ink-2);
  max-width: 78ch;
  transition: opacity 0.2s var(--ease);
}
.faq-list details[data-closing] .a {
  opacity: 0;
  transition-duration: 0.12s;
}
@starting-style {
  .faq-list details[open] .a {
    opacity: 0;
  }
}
.faq-split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--gap);
  align-items: start;
}
.faq-split .head-tile {
  position: sticky;
  top: calc(var(--head-h) + 12px);
  flex-direction: column;
  align-items: start;
}

/* lenders */
.lender-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lender-grid li {
  display: grid;
  place-items: center;
  height: 92px;
  border-radius: 18px;
  background: var(--ground);
}
.lender-grid .mark {
  width: 70%;
  height: 40px;
}

/* the close */
.closer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px 48px;
  background: radial-gradient(140% 120% at 85% 0%, var(--brand-hi), var(--brand) 50%, var(--brand-deep));
  color: #fff;
  padding: clamp(32px, 5vw, 64px);
}
.closer h2 {
  font-size: var(--t-2xl);
  letter-spacing: -0.045em;
  font-weight: 540;
}
.closer p {
  margin-top: 12px;
  color: var(--on-brand);
  font-size: var(--t-md);
}

/* footer */
.site-foot {
  margin-top: 6px;
  padding: 0 0 20px;
}
.site-foot .wrap {
  border-radius: var(--r);
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(32px, 4vw, 56px);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}
.foot-grid h2 {
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 12px;
  color: #fff;
}
.foot-grid a {
  display: block;
  padding: 4px 0;
  color: var(--on-dark-2);
  text-decoration: none;
  font-size: var(--t-sm);
  transition: color 0.2s var(--ease);
}
.foot-grid a:hover {
  color: #fff;
}
.foot-brand .signature {
  color: #fff;
  width: 150px;
  height: 50px;
  margin-bottom: 18px;
}
.foot-brand p {
  color: var(--on-dark-2);
  font-size: var(--t-sm);
  margin-bottom: 12px;
}
.foot-brand p a {
  display: block;
  padding: 2px 0;
}
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--dark-line);
  display: grid;
  gap: 10px;
  color: var(--on-dark-2);
  font-size: 0.85rem;
}
.brokerage-slot {
  display: grid;
  place-items: center;
  width: 200px;
  height: 56px;
  border: 1px dashed var(--dark-line);
  border-radius: 12px;
}

/* phone action bar */
.mobile-bar {
  display: none;
}
@media (max-width: 700px) {
  .mobile-bar {
    position: fixed;
    z-index: 25;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: color-mix(in oklab, var(--tile) 88%, transparent);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 32px -12px rgba(21, 18, 20, 0.35);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition:
      opacity 0.25s var(--ease),
      transform 0.25s var(--ease);
  }
  .mobile-bar.show {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .mobile-bar .btn {
    min-height: 48px;
  }
  body {
    padding-bottom: 76px;
  }
}

/* inner pages */
.page-head {
  padding: 8px 0 6px;
}
.page-head .tile {
  padding: clamp(28px, 4vw, 56px);
}
.head-proof {
  display: none;
}
@media (min-width: 1000px) {
  .page-head .tile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    gap: 48px;
    align-items: start;
  }
  .head-proof {
    align-self: end;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .head-proof li {
    padding: 16px 0;
    border-top: 1px solid var(--line);
  }
  .head-proof li:last-child {
    padding-bottom: 0;
  }
  .head-proof b {
    display: block;
    font-size: var(--t-md);
    font-weight: 560;
    letter-spacing: -0.015em;
  }
  .head-proof .stars {
    color: var(--brand);
    margin-right: 6px;
    font-size: var(--t-sm);
  }
  .head-proof li > span {
    display: block;
    margin-top: 2px;
    font-size: var(--t-sm);
    color: var(--ink-2);
  }
  .head-proof a {
    color: inherit;
    text-underline-offset: 3px;
  }
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: var(--t-sm);
  color: var(--ink-2);
  margin-bottom: 24px;
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-head h1 {
  font-size: var(--t-2xl);
  letter-spacing: -0.045em;
  font-weight: 540;
  line-height: 1.02;
  max-width: 22ch;
}
.page-head .lede {
  margin-top: 18px;
  font-size: var(--t-md);
  color: var(--ink-2);
  max-width: 56ch;
}
.page-head .actions {
  margin-top: 28px;
}
.byline {
  margin-top: 16px;
  color: var(--ink-2);
}
.body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: var(--gap);
  align-items: start;
}
.prose {
  overflow-wrap: break-word;
  background: var(--tile);
  border-radius: var(--r);
  padding: clamp(24px, 4vw, 56px);
  min-width: 0;
}
.prose > * {
  max-width: 70ch;
}
.prose > * + * {
  margin-top: 1em;
}
.prose h2 {
  margin-top: 1.8em;
  font-size: var(--t-lg);
  letter-spacing: -0.03em;
}
.prose h3 {
  margin-top: 1.6em;
  font-size: var(--t-md);
}
.prose h4 {
  margin-top: 1.4em;
  font-size: var(--t-base);
}
.prose > :first-child {
  margin-top: 0;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li + li {
  margin-top: 0.4em;
}
.prose a:not(.btn) {
  color: var(--brand);
  font-weight: 560;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-sm);
  display: block;
  overflow-x: auto;
}
.prose td,
.prose th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose details {
  border-radius: 16px;
  background: var(--ground);
  padding: 0 20px;
}
.prose details > summary {
  padding: 16px 0;
  cursor: pointer;
  font-weight: 560;
}
.prose details > :not(summary) {
  margin-bottom: 1em;
}
.prose.small {
  padding: 0;
  background: none;
  font-size: var(--t-sm);
  color: var(--ink-2);
}
.prose.small h2 {
  color: var(--ink);
}
.prose.narrow {
  margin-top: var(--gap);
}
.inline-photo {
  margin: 0 0 1.4em;
  max-width: none;
}
.inline-photo img {
  display: block;
  width: 100%;
  border-radius: 20px;
}
.awards {
  margin: 1.6em 0 0;
  max-width: none;
}
.awards img {
  display: block;
  width: 100%;
  height: auto;
}

/* her standing offer beside the reading column */
.offer {
  position: sticky;
  top: calc(var(--head-h) + 12px);
  border-radius: var(--r);
  padding: 28px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 80% 0%, var(--brand-hi), var(--brand) 50%, var(--brand-deep));
  color: #fff;
}
/* the cut-out ends mid-panel, so its bottom edge fades into the rose instead of stopping on a line */
.offer-face {
  display: block;
  width: 120px;
  height: auto;
  margin: -6px 0 14px -6px;
  -webkit-mask-image: linear-gradient(#000 62%, transparent 96%);
  mask-image: linear-gradient(#000 62%, transparent 96%);
}
.offer-h {
  font-size: var(--t-lg);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.offer > p:not(.offer-h):not(.rating) {
  margin-top: 8px;
  color: var(--on-brand);
}
.offer-actions {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}
.rating {
  margin-top: 18px;
  font-size: var(--t-sm);
}
.offer .rating {
  color: var(--on-brand);
}
.offer .stars {
  color: #fff;
}
.rating a {
  text-underline-offset: 3px;
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--gap);
  align-items: start;
}
.contact-info dl {
  margin: 0 0 24px;
  display: grid;
  gap: 18px;
}
.contact-info dt {
  font-size: var(--t-sm);
  color: var(--ink-2);
}
.contact-info dd {
  margin: 2px 0 0;
}
.big-link {
  font-size: var(--t-lg);
  font-weight: 560;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.big-link:hover {
  color: var(--brand);
}

/* forms and calculators share one field style */
.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.field + .field,
.field-row + .field,
.field + .field-row,
.field-row + .field-row {
  margin-top: 12px;
}
.field-row > .field {
  margin-top: 0;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
label {
  font-size: 0.88rem;
  font-weight: 560;
}
.opt {
  color: var(--ink-2);
  font-weight: 400;
}
input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-in);
  background: var(--tile);
  color: var(--ink);
  font: inherit;
  font-variant-numeric: tabular-nums;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
textarea {
  padding: 12px 14px;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 22%, transparent);
}
input[aria-invalid="true"] {
  border-color: #b3261e;
}
.money {
  position: relative;
  display: flex;
  align-items: center;
}
.money > span:first-child {
  position: absolute;
  left: 14px;
  color: var(--ink-2);
  pointer-events: none;
}
.money input[data-money] {
  padding-left: 28px;
}
.money .after {
  position: absolute;
  right: 14px;
  color: var(--ink-2);
  pointer-events: none;
}
.on-dark label {
  color: var(--on-dark-2);
  font-weight: 500;
}
.on-dark input {
  background: #221d20;
  border-color: var(--dark-line);
  color: #fff;
}
.on-dark .money > span:first-child,
.on-dark .money .after {
  color: var(--on-dark-2);
}
.calc {
  border-radius: var(--r);
  background: var(--tile);
  padding: clamp(24px, 3vw, 36px);
}
.calc h2,
.calc h3 {
  font-size: var(--t-lg);
  letter-spacing: -0.03em;
}
.hint {
  margin: 4px 0 20px;
  color: var(--ink-2);
  font-size: var(--t-sm);
}
.on-dark .hint {
  color: var(--on-dark-2);
}
.calc-error {
  margin-top: 14px;
  color: #b3261e;
  font-weight: 560;
  font-size: var(--t-sm);
}
.on-dark .calc-error {
  color: #ffb4c8;
}
.calc-error:empty {
  display: none;
}
.result[hidden] {
  display: none !important;
}
.result {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.on-dark .result {
  border-color: var(--dark-line);
}
.big {
  font-size: clamp(2.2rem, 3.4vw, 2.8rem);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.msg {
  margin-top: 4px;
  color: var(--ink-2);
}
.on-dark .msg,
.on-dark .fine,
.on-dark .result dt {
  color: var(--on-dark-2);
}
.result dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  margin: 16px 0 0;
  font-size: var(--t-sm);
}
.result dt {
  color: var(--ink-2);
}
.result dd {
  margin: 0;
  font-weight: 560;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.fine {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--ink-2);
}
.calc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.reset {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 560;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
}
.calc-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
}
.calc-more {
  padding: 8px 6px;
}
.home-calc .result {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
}
.home-calc .result dl {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.home-calc .calc-actions {
  margin-top: 14px;
}
.home-calc .calc-actions a {
  color: var(--brand);
}
.contact-form .lead {
  border-radius: var(--r);
  background: var(--tile);
  padding: clamp(24px, 3vw, 40px);
}
.contact-form h2 {
  font-size: var(--t-lg);
  margin-bottom: 20px;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}
.sent-note {
  margin-top: 24px;
  padding: 24px;
  border-radius: 20px;
  background: var(--brand-tint);
}
.sent-note h3 {
  font-size: var(--t-md);
}
.sent-note p {
  margin: 6px 0 16px;
  color: var(--ink-2);
}
.bp-tools[hidden] {
  display: none;
}

/* blog */
.lead-post {
  display: block;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r);
  background: var(--ink);
  color: var(--on-dark);
  text-decoration: none;
}
.lead-post time {
  color: var(--on-dark-2);
  font-size: var(--t-sm);
}
.lead-post h2 {
  margin: 10px 0 12px;
  font-size: var(--t-xl);
  letter-spacing: -0.04em;
  max-width: 24ch;
}
.lead-post p {
  color: var(--on-dark-2);
  max-width: 70ch;
}
.post-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.post-list a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--tile);
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.post-list a:hover {
  background: var(--brand-tint);
}
.post-list time {
  color: var(--ink-2);
  font-size: 0.85rem;
}
.post-list b {
  font-weight: 560;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.older {
  border-radius: var(--r);
  background: var(--tile);
  padding: 0 24px;
}
.older > summary {
  padding: 22px 0;
  cursor: pointer;
  font-weight: 560;
}
.older .post-list {
  padding-bottom: 24px;
}
.older .post-list a {
  background: var(--ground);
}

@media (max-width: 1100px) {
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .intents-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  .bento,
  .story,
  .reviews-grid,
  .faq-split,
  .body-grid,
  .contact-grid,
  .calc-grid,
  .calc-split,
  .closer,
  .awards-row,
  .asks {
    grid-template-columns: minmax(0, 1fr);
  }
  .t-head,
  .t-face,
  .t-rate,
  .t-calc {
    grid-column: 1;
    grid-row: auto;
  }
  .t-face {
    order: -1;
    min-height: 0;
    height: clamp(300px, 80vw, 420px);
  }
  .t-face img {
    width: auto;
    height: 90%;
  }
  .t-face figcaption {
    top: 16px;
    right: 16px;
    bottom: auto;
  }
  .t-head {
    min-height: 0;
  }
  .big-quote,
  .faq-split .head-tile,
  .offer {
    position: static;
  }
  .post-list {
    grid-template-columns: 1fr 1fr;
  }
  .lender-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .t-face img {
    height: 78%;
  }
  :root {
    --wrap: calc(100% - 24px);
    --gap: 8px;
    --r: 22px;
  }
  .timeline,
  .intents-grid,
  .post-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .intent.lead {
    grid-column: auto;
    grid-row: auto;
  }
  .intent {
    min-height: 0;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .t-head .actions .btn,
  .page-head .actions .btn,
  .closer .btn {
    flex: 1 1 100%;
  }
  .lender-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media print {
  .top,
  .mobile-bar,
  .site-foot,
  .offer {
    display: none;
  }
}

.field-error {
  margin-top: 6px;
  font-size: var(--t-sm);
  font-weight: 560;
  color: var(--brand-deep);
}
.field [aria-invalid="true"] {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}
@media print {
  .top,
  .mobile-bar {
    position: static;
  }
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.hero-proof b {
  display: block;
  font-size: var(--t-md);
  font-weight: 560;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.hero-proof .stars {
  margin-right: 4px;
  color: var(--brand);
  font-size: 0.8em;
}
.hero-proof li > span {
  display: block;
  margin-top: 2px;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--ink-2);
}
.tile:has(.hero-proof) {
  container-type: inline-size;
}
/* three proof cells need about 560px; below that they pair up instead of colliding */
@container (max-width: 560px) {
  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }
}
.video a {
  position: relative;
}
.video img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.video a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(21 18 20 / 0.5);
}
.prose .video a:not(.btn) {
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  text-align: center;
}
.video-text {
  display: grid;
  justify-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 12px rgb(0 0 0 / 0.5);
}
.video-title {
  font-size: var(--t-sm);
  font-weight: 400;
  color: var(--on-dark);
}
@media (max-width: 600px) {
  .prose .video a:not(.btn) {
    font-size: var(--t-sm);
  }
  .video .play {
    width: 52px;
    height: 52px;
  }
  .video-title {
    display: none;
  }
}

/* wide screens: the home calculator's answer sits beside its two fields, inside the first screen */
@media (min-width: 1101px) {
  .home-calc {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, auto);
    column-gap: 40px;
    align-items: end;
  }
  .home-calc > h2,
  .home-calc > .hint {
    grid-column: 1 / -1;
  }
  .home-calc > .field-row {
    grid-column: 1;
    grid-row: 3;
  }
  .home-calc > .result {
    grid-column: 2;
    grid-row: 3;
    margin: 0;
    padding: 0 0 4px 32px;
    border-top: 0;
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
  }
  .home-calc > .calc-error {
    grid-column: 1;
  }
  .home-calc > .calc-actions {
    grid-column: 2;
    padding-left: 32px;
  }
}

/* below 600px the strip would shrink past legible, so it keeps a readable height and scrolls */
@media (max-width: 600px) {
  .awards-scroll {
    overflow-x: auto;
    margin: 0 calc(var(--pad) * -1);
    padding: 0 var(--pad) 8px;
  }
  .awards-scroll img {
    width: auto;
    max-width: none;
    height: 76px;
  }
}
@media (min-width: 901px) {
  .contact-tools {
    position: sticky;
    top: calc(var(--head-h) + 12px);
    align-self: start;
  }
}

.video img {
  object-position: center;
}
.prose .chart {
  margin: 28px 0;
  max-width: 100%;
}
.prose .chart img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: var(--r-in);
  border: 1px solid var(--line);
}
/* her post tables, rebuilt as text: they scroll sideways inside the column rather than shrink */
/* edge shadows appear only on a side with more table to scroll to (the local/scroll background pair) */
.prose .table-wrap {
  margin: 28px 0;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-in);
  background:
    linear-gradient(90deg, var(--tile) 30%, transparent) left / 40px 100% no-repeat local,
    linear-gradient(270deg, var(--tile) 30%, transparent) right / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgb(21 18 20 / 0.32), transparent) left / 18px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgb(21 18 20 / 0.32), transparent) right / 18px 100% no-repeat scroll;
}

.prose .table-wrap:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
.prose table.data {
  display: table;
  width: 100%;
  min-width: 520px;
  overflow: visible;
  font-variant-numeric: tabular-nums;
}
.prose table.data caption {
  padding: 14px 16px 6px;
  text-align: left;
  font-weight: 560;
  color: var(--ink);
}
.prose table.data thead th {
  border-bottom: 2px solid var(--ink);
  font-weight: 560;
  vertical-align: bottom;
}
.prose table.data tbody th {
  font-weight: 560;
}
.prose table.data tr:last-child > * {
  border-bottom: 0;
}
.prose table.data ul {
  margin: 0;
  padding-left: 1.1em;
}
.prose table.data li + li {
  margin-top: 4px;
}
.prose .table-note {
  margin: 0;
  padding: 10px 16px 14px;
  border-top: 1px solid var(--line);
  font-size: var(--t-sm);
  color: var(--ink-2);
}
.prose .chart figcaption {
  margin-top: 10px;
  font-size: var(--t-sm);
  color: var(--ink-2);
}

/* every rebuilt table is wider than a phone's reading column, so on phones it always scrolls */
.prose .table-hint {
  display: none;
}
@media (max-width: 600px) {
  .prose .table-hint {
    display: block;
    margin: 28px 0 -18px;
    font-size: var(--t-sm);
    color: var(--ink-2);
  }
}

/* kelly's lilac or plain white behind the headshot; the office photo carries its own backdrop */
.plain-backdrop .t-face,
.plain-backdrop .close-photo {
  background: var(--tile);
}
.t-face .face-desk,
.close-photo .face-cut,
.photo-office .t-face .face-cut,
.photo-office .close-photo .face-desk {
  display: none;
}
.photo-office .t-face .face-desk,
.photo-office .close-photo .face-cut {
  display: block;
}
.t-face .face-desk {
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  object-position: 50% 30%;
  translate: none;
  filter: none;
}
/* on a phone the caption sits at the top, which is where the office photo has her name on the wall */
@media (max-width: 900px) {
  .photo-office .t-face figcaption {
    top: auto;
    bottom: 16px;
  }
}
.hero-cta .apply-note {
  margin-top: 14px;
  font-size: var(--t-sm);
  color: var(--ink-2);
}

/* the photo not used in the hero sits beside the closing ask */
.close-row {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.close-row .closer {
  grid-template-columns: minmax(0, 1fr);
  align-content: end;
}
.close-photo {
  margin: 0;
  padding: 0;
  overflow: hidden;
  min-height: 440px;
  background: var(--lilac);
}
.close-photo .face-desk {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.close-photo .face-cut {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: auto;
  min-width: calc(100% + 24px);
  height: calc(100% - 28px);
  max-width: none;
  object-fit: cover;
  object-position: center top;
  translate: -50% 0;
}
@media (max-width: 900px) {
  .close-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .motto {
    padding: 28px 0 0;
    border-left: 0;
    border-top: 1px solid color-mix(in oklab, var(--brand) 25%, transparent);
  }
  .close-photo {
    min-height: 0;
    height: clamp(300px, 80vw, 420px);
  }
}
.review-wall .q + .q {
  border-top: 1px solid var(--line);
}
.review-wall .q blockquote {
  font-size: var(--t-md);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* home: the lender logos sit straight on their tile */
.lenders .lender-grid li {
  height: 76px;
  background: none;
}

/* home: one type voice per job. headings set firm, her own words set light and large, client reviews stay at reading weight */
/* the shared ramp steps 15, 17, 19.2 are too close to read as levels; on the home page md opens to a 1.25 step */
.home {
  --t-md: 1.3125rem;
  --t-lg: clamp(1.55rem, 1.25rem + 1vw, 2.05rem);
  --t-quote: clamp(1.4rem, 1.05rem + 1.3vw, 2.05rem);
}
.home .faq-list summary {
  font-size: var(--t-base);
}
.home .title {
  font-weight: 600;
  letter-spacing: -0.04em;
}
.home .hero-proof li > span {
  font-size: var(--t-sm);
}
.home .t-calc {
  grid-column: 1 / -1;
}

/* the six smaller choices read as one list beside the self-employed card, not six boxes */
.home .intent-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  padding-block: 8px;
}
.home .intent-list .intent {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  min-height: 0;
  padding: 22px 0;
  border-radius: 0;
  background: none;
  border-top: 1px solid var(--line);
}
.home .intent-list .intent:hover {
  background: none;
}
.home .intent-list .intent:nth-child(-n + 2) {
  border-top: 0;
}
.home .intent-list .intent b {
  font-size: var(--t-md);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.home .intent-list .intent .go {
  flex: none;
}
@media (min-width: 1101px) {
  .home .intents-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home .intents-head,
  .home .intent.lead {
    grid-column: 1;
  }
  .home .intent-list {
    grid-column: 2;
    grid-row: 1 / 4;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
  }
  .home .intent-list .intent:nth-child(2) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 1100px) {
  .home .intent-list {
    grid-column: 1 / -1;
  }
}

/* her two answers sit on the page, question as a label and the answer in her voice */
.home .asks {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px clamp(32px, 5vw, 80px);
}
.home .ask-head {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  background: none;
}
.home .ask {
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.home .ask h3 {
  font-size: var(--t-base);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--brand);
}
.home .ask blockquote,
.home .newcomer blockquote,
.home .motto blockquote {
  font-size: var(--t-quote);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.home .ask blockquote {
  font-size: var(--t-lg);
  line-height: 1.35;
}
.home .ask .text-link {
  align-self: flex-start;
}

.home .timeline-tile {
  padding-inline: 0;
}
.home .timeline b {
  font-size: var(--t-lg);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.home .timeline li {
  border-top: 1px solid var(--line);
}

.home .faq-split .head-tile {
  padding: 8px 0 0;
}
.home .faq-list {
  gap: 0;
  padding: 6px 28px;
  border-radius: var(--r);
  background: var(--tile);
}
.home .faq-list details {
  border-radius: 0;
  background: none;
}
.home .faq-list details + details {
  border-top: 1px solid var(--line);
}
.home .faq-list summary,
.home .faq-list .a {
  padding-inline: 0;
}

.home .closer {
  background: var(--brand);
}

@media (max-width: 600px) {
  .home .t-face {
    height: 240px;
  }
  .home .t-face img {
    height: 92%;
  }
  .home .hero-proof {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 10px;
  }
  .home .hero-proof li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 10px;
  }
  .home .hero-proof .stars {
    display: none;
  }
  .home .intent-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .home .intent-list .intent:nth-child(2) {
    border-top: 1px solid var(--line);
  }
  .home .asks {
    grid-template-columns: minmax(0, 1fr);
  }
  .home .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home .faq-list {
    padding-inline: 20px;
  }
}
.home .timeline small {
  text-wrap: pretty;
}
.home .intent.lead b {
  font-size: var(--t-lg);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
/* the featured review leads, the three beside it follow */
.home .review-wall blockquote {
  max-width: 62ch;
  font-size: var(--t-base);
}
.home .big-quote blockquote {
  font-size: var(--t-md);
  line-height: 1.4;
}
/* her own words are signed with her wordmark, client reviews keep stars and a name */
.home .story figcaption {
  color: var(--brand);
}
.home .story .signature {
  width: 150px;
  height: 50px;
}
/* home rhythm: pairs sit close, topics get a group gap, a change of chapter gets a break */
.home {
  --space-pair: var(--gap);
  --space-group: clamp(36px, 4.5vw, 64px);
  --space-break: clamp(56px, 8vw, 120px);
}
.home .section {
  padding: var(--space-group) 0 0;
}
/* the hero section already ends 6px below its tiles */
.home .section:has(.proof) {
  padding-top: calc(var(--space-pair) - 6px);
}
.home .section:has(.story) {
  padding-top: var(--space-pair);
}
.home .section.intents,
.home .section:has(.timeline-tile),
.home #reviews,
.home .section:has(.close-row) {
  padding-top: var(--space-break);
}
.home .section:has(.close-row) {
  padding-bottom: var(--space-group);
}
.home .lenders .lender-grid {
  margin-top: 20px;
}
/* a short last row (tablet and phone widths) centres instead of hanging left */
.home .lenders .lender-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.home .lenders .lender-grid li {
  flex: 0 0 calc((100% - 4 * 6px) / 5);
}
@media (max-width: 900px) {
  .home .lenders .lender-grid li {
    flex-basis: calc((100% - 2 * 6px) / 3);
  }
}
@media (max-width: 600px) {
  .home .lenders .lender-grid li {
    flex-basis: calc((100% - 6px) / 2);
  }
}
/* two weights on the home page: 400 to read, 600 to lead */
.home :is(h1, h2, h3, b, dd, label, summary, .text-link, .big, .timeline span),
.home .intent.lead .lead-need h3 {
  font-weight: 600;
}
.home .closer h2 {
  font-size: var(--t-hero);
}
.home .big {
  font-size: var(--t-xl);
}
.home .t-face figcaption b {
  font-size: var(--t-md);
}
/* at 200% text a pill label must wrap rather than run off a phone screen */
.home .btn {
  white-space: normal;
  text-align: center;
  line-height: 1.2;
  padding-block: 12px;
}
/* a phone on its side or a small phone keeps the portrait short so the first button stays in the first screen */
@media (max-width: 900px) and (max-height: 500px), (max-width: 360px) {
  .home .t-face {
    height: 200px;
  }
}
@media (pointer: coarse) {
  .home .text-link {
    display: inline-block;
    padding-block: 9px;
    margin-block: -9px;
  }
}
/* the purple ring vanishes on her purple surfaces */
.home .intent.lead :focus-visible,
.home .closer :focus-visible {
  outline-color: var(--on-dark);
}
/* the three record cells read as even columns across the whole card, not three labels huddled left */
@container (min-width: 561px) {
  .home .hero-proof li + li {
    padding-left: 16px;
    border-left: 1px solid var(--line);
  }
}
/* each logo's box holds the same ink area, so wide wordmarks and stacked marks read at one weight */
.home .lender-grid .mark {
  width: calc(var(--w) * 1.15);
  height: calc(var(--h) * 1.15);
  background: #463f43;
}
/* her process reads as steps in order: numbered dots on one connecting line */
.home .timeline {
  counter-reset: step;
}
.home .timeline li {
  position: relative;
  counter-increment: step;
  padding-top: 52px;
  border-top: 0;
}
.home .timeline li::before {
  content: counter(step);
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: var(--t-sm);
  font-weight: 600;
}
.home .timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 32px;
  right: calc(var(--gap) * -1);
  height: 1px;
  background: color-mix(in oklab, var(--brand) 35%, transparent);
}
@media (max-width: 600px) {
  .home .timeline {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 28px;
  }
  .home .timeline li {
    padding: 4px 0 0 52px;
  }
  .home .timeline li:not(:last-child)::after {
    top: 32px;
    bottom: -28px;
    left: 16px;
    right: auto;
    width: 1px;
    height: auto;
  }
}
/* the three short reviews share the featured review's height in equal rows, so both columns end on one line */
.home .review-wall {
  grid-template-rows: repeat(3, minmax(0, 1fr));
  align-content: stretch;
}
.home .review-wall .q {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* her words get the page's one full-width band: lavender edge to edge, no card */
.home .section:has(.story) {
  margin-top: var(--space-break);
  padding-block: var(--space-break);
  background: var(--brand-tint);
}
.home .story {
  align-items: start;
  padding: 0;
  border-radius: 0;
  background: none;
}
.home .story .btn-line {
  background: var(--tile);
}
.home .story .btn-line:hover {
  background: var(--ground);
}
.home .closer .next {
  margin-top: 0;
  font-size: var(--t-sm);
  color: var(--on-brand);
}
/* small grey text sits one step darker on the home page's pale ground */
.home .hero-proof li > span,
.home .intent:not(.lead) > span > span,
.home .faq-split .head-tile p {
  color: #463f43;
}
/* on a phone the headline and both buttons come first, her portrait follows them */
@media (max-width: 900px) {
  .home .t-face {
    order: 0;
  }
}
/* home calculator: all four inputs are hers to change, and the answer shows what it is built from */
.home .home-calc .field-row {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.25fr) minmax(0, 0.85fr) minmax(0, 0.85fr);
}
.home .home-calc .money input:not([data-money]) {
  padding-right: 56px;
}
.home .home-calc .result {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 10px;
}
.home .home-calc .result dl {
  position: static;
  grid-column: 1 / -1;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  margin-top: 14px;
}
.home .home-calc .result dd {
  font-weight: 600;
}
@media (min-width: 1101px) {
  .home .home-calc {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}
@media (max-width: 1100px) {
  .home .home-calc .field-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
/* the two questions: the client's question leads, her answer reads at a comfortable size beneath it */
.home .ask h3 {
  font-size: var(--t-lg);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}
.home .ask blockquote {
  max-width: 48ch;
  font-size: var(--t-md);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink-2);
}
/* her band: one large quote, her motto beneath it, signed once, the newcomer link at the foot of the same line */
.home .story {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}
.home .newcomer {
  gap: 0;
}
.home .newcomer blockquote {
  max-width: 32ch;
}
.home .story-motto {
  margin: 28px 0 0;
  max-width: 44ch;
  font-size: var(--t-md);
  line-height: 1.45;
  color: var(--ink-2);
}
.home .newcomer figcaption {
  margin-top: 20px;
}
@media (max-width: 900px) {
  .home .story {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
}
/* the awards label holds its heading on one line instead of breaking after the comma */
.home .awards-row p {
  max-width: 21rem;
}
@media (min-width: 1101px) {
  .home .home-calc {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }
  .home .home-calc > .result {
    margin-top: 28px;
  }
}
.home .home-calc .result dt {
  white-space: nowrap;
}
/* the band holds one centred column of her words, so the quote, signature and link read as a single unit */
.home .story {
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  row-gap: 28px;
  max-width: 46rem;
  margin-inline: auto;
}
.home .newcomer blockquote {
  max-width: none;
}
/* an invalid entry fades the answer out in place, so the card neither snaps nor jumps */
.result {
  transition:
    opacity 0.2s var(--ease),
    visibility 0s;
}
.result.stale {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s var(--ease),
    visibility 0s linear 0.2s;
}
/* buying is a sequence, refinancing and renewing are not, so only the purchase steps are numbered */
.home .timeline-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px clamp(32px, 5vw, 80px);
}
.home .timeline-groups h3 {
  margin: 0 0 20px;
  font-size: var(--t-sm);
  color: #463f43;
}
.home .timeline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home .timeline:not(.steps) li::before {
  content: "";
  top: 16px;
  right: 0;
  width: auto;
  height: 1px;
  border-radius: 0;
  background: var(--line);
}
.home .timeline:not(.steps) li::after {
  content: none;
}
@media (max-width: 760px) {
  .home .timeline-groups {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .home .timeline {
    grid-template-columns: minmax(0, 1fr);
  }
  .home .timeline:not(.steps) li {
    padding: 20px 0 0;
  }
  .home .timeline:not(.steps) li::before {
    top: 0;
  }
}
/* the heading lines up with the top of the choices beside it, and the self-employed card takes the rest of the column */
@media (min-width: 1101px) {
  .home .intents-grid {
    grid-template-rows: auto minmax(0, 1fr);
  }
  .home .intents-head {
    justify-content: flex-start;
  }
  .home .intent-list {
    grid-row: 1 / 3;
  }
}
/* a row answers the pointer: a soft tint and her purple on the title */
.home .intent-list .intent {
  margin-inline: -12px;
  padding-inline: 12px;
  border-radius: 12px;
  transition: background-color 0.16s var(--ease);
}
.home .intent-list .intent b {
  transition: color 0.16s var(--ease);
}
.home .intent-list .intent:hover {
  background: var(--brand-tint);
}
.home .intent-list .intent:hover b {
  color: var(--brand);
}
/* the press wordmarks share one cap height */
.home .press .mark {
  width: 120px;
  height: 22px;
}
/* the award strip scrolls on a phone, so its right edge fades to say there is more */
@media (max-width: 600px) {
  .home .awards-scroll {
    -webkit-mask: linear-gradient(to right, #000 80%, transparent);
    mask: linear-gradient(to right, #000 80%, transparent);
  }
  .home .awards-scroll img {
    height: 96px;
  }
}
/* with the buttons above it, the phone portrait can be tall enough to show her face, and the name card moves off it */
@media (max-width: 900px) {
  .home .t-face {
    height: clamp(340px, 90vw, 440px);
  }
  .home .t-face img {
    height: 100%;
    object-position: 50% 20%;
  }
  .home .t-face figcaption {
    top: auto;
    right: 16px;
    bottom: 16px;
  }
}
/* on a phone the text that sits on the page lines up with the text inside the tiles, not with their edges */
@media (max-width: 600px) {
  .home :is(.intents-head, .asks, .story, .timeline-tile, .faq-split > .head-tile, .lenders .wrap > div, .review-wall) {
    padding-inline: 12px;
  }
}
/* hero sizes are the ones kelly asked for: 48px bold headline (32px on a phone), 22px subheading, 14px recognition line */
.home .hero h1 {
  font-size: clamp(2rem, 1.2rem + 2.2vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.home .hero .lede {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  text-wrap: balance;
}
.home .hero .recognition {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--ink-2);
}
