/* sbabae.com: design tokens and page styles. Single deliberate light theme (see DESIGN.md). */
[hidden] { display: none !important; }

/* Metric-matched fallbacks so the web-font swap does not shift layout */
@font-face { font-family: "Figtree Fallback"; src: local("Arial"); size-adjust: 102.6%; ascent-override: 92.6%; descent-override: 24.4%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback"; src: local("Arial Bold"), local("Arial"); font-weight: 700 800; size-adjust: 82%; ascent-override: 113%; descent-override: 33%; line-gap-override: 0%; }

:root {
  color-scheme: light;
  /* core palette */
  --bramble: #2E1520;
  --raspberry: #C8174F;
  --jam: #A3123F;
  --blush: #FDEBF0;
  --petal: #F7C3D3;
  --white: #FFFFFF;
  /* support */
  --bramble-soft: #6A4757;
  --thorn: #9C7889;

  --font-display: "Bricolage Grotesque", "Bricolage Fallback", "Arial Narrow", Arial, sans-serif;
  --font-body: "Figtree", "Figtree Fallback", Arial, sans-serif;

  --fs-h1: clamp(1.875rem, 1.05rem + 3vw, 3.25rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.7vw, 2.625rem);
  --fs-h3: clamp(1.1875rem, 1.12rem + .3vw, 1.375rem);
  --fs-lead: clamp(1.0625rem, 1rem + .4vw, 1.3125rem);
  --fs-body: clamp(1.0625rem, 1.03rem + .12vw, 1.125rem);
  --fs-small: .9375rem;
  --fs-micro: .875rem;

  --r-sticker: 14px;
  --r-field: 14px;
  --r-tile: 18px;
  --r-card: 28px;
  --r-panel: 36px;
  --r-pill: 999px;

  --lift-card: 8px 8px 0 var(--raspberry);
  --lift-button: 4px 4px 0 var(--bramble);
  --lift-selected: 4px 4px 0 var(--raspberry);

  --ease-fill: cubic-bezier(.2, .8, .2, 1);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --section: 56px;
  --heart-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 2 2'%3E%3Cpath d='M0 .36C-.56-.04-.52-.56-.25-.56-.1-.56 0-.44 0-.33 0-.44.1-.56.25-.56.52-.56.56-.04 0 .36Z' fill='%23fff'/%3E%3C/svg%3E");
  --heart-rasp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 2 2'%3E%3Cpath d='M0 .36C-.56-.04-.52-.56-.25-.56-.1-.56 0-.44 0-.33 0-.44.1-.56.25-.56.52-.56.56-.04 0 .36Z' fill='%23C8174F'/%3E%3C/svg%3E");
}
@media (min-width: 768px) {
  :root { --gutter: max(32px, env(safe-area-inset-left, 0px)); --gutter-r: max(32px, env(safe-area-inset-right, 0px)); --section: 88px; }
}

/* ---------- base ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (max-width: 899px) { html { scroll-padding-bottom: 96px; } }
body { margin: 0; background: var(--white); color: var(--bramble); font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.55; font-weight: 400; }
.page { overflow-x: clip; }
*, *::before, *::after { box-sizing: border-box; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--bramble); margin: 0; font-optical-sizing: auto; }
h1 { font-size: var(--fs-h1); font-weight: 800; font-stretch: 85%; line-height: 1; letter-spacing: -.015em; text-wrap: balance; }
h2 { font-size: var(--fs-h2); font-weight: 800; font-stretch: 88%; line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.18; }
h4 { font-size: 1.125rem; font-weight: 700; line-height: 1.22; }
p { margin: 0; max-width: 62ch; }
a { color: var(--jam); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--bramble); }
:focus-visible { outline: 3px solid var(--bramble); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.wrap { max-width: calc(1200px + 64px); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.small { font-size: var(--fs-small); line-height: 1.5; color: var(--bramble-soft); }
.icon { width: 32px; height: 32px; flex: none; }
.textlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

.skip { position: absolute; left: 16px; top: -120px; z-index: 100; background: var(--bramble); color: var(--white); padding: 12px 18px; border-radius: var(--r-pill); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: var(--white); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 24px;
  border: 2px solid var(--bramble); border-radius: var(--r-pill); font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700;
  line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer;
  transition: transform 120ms var(--ease-fill), box-shadow 120ms var(--ease-fill), background-color 120ms;
}
.btn:focus-visible { outline-offset: 5px; }
.btn--primary { background: var(--raspberry); color: var(--white); box-shadow: var(--lift-button); }
.btn--primary:hover { background: var(--jam); color: var(--white); }
.btn--primary:active, .btn--secondary:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--bramble); }
.btn--secondary { background: var(--white); color: var(--bramble); box-shadow: var(--lift-button); }
.btn--secondary:hover { background: var(--blush); }
.btn--quiet { background: transparent; border-color: transparent; color: var(--jam); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; padding-inline: 12px; }
.btn--quiet:hover { color: var(--bramble); }
.btn--block { width: 100%; }

/* ---------- masthead ---------- */
.masthead { background: var(--white); border-bottom: 2px solid var(--blush); }
.masthead__inner {
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "brand phone" "identity identity";
  align-items: center; column-gap: 12px; row-gap: 2px; padding-top: 8px; padding-bottom: 8px;
}
.brand { grid-area: brand; display: inline-flex; align-items: center; min-height: 44px; border-radius: 10px; }
.brand img { width: 100px; height: auto; }
.identity { grid-area: identity; font-size: var(--fs-micro); line-height: 1.35; color: var(--bramble-soft); font-weight: 500; max-width: none; }
.identity span, .footer__identity span { display: block; }
.phonebox { grid-area: phone; justify-self: end; display: flex; align-items: center; gap: 8px; }
.phone { display: inline-flex; flex-direction: column; align-items: flex-end; justify-content: center; min-height: 44px; text-decoration: none; color: var(--bramble); line-height: 1.15; }
.phone__label { font-size: var(--fs-micro); color: var(--bramble-soft); font-weight: 500; }
.phone__number { font-weight: 700; font-size: 1rem; text-decoration: underline; text-decoration-color: var(--petal); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.masthead__cta { display: none; }
@media (min-width: 900px) {
  .masthead__inner { grid-template-columns: auto 1fr auto auto; grid-template-areas: "brand identity phone cta"; column-gap: 24px; padding-top: 12px; padding-bottom: 12px; }
  .brand img { width: 126px; }
  .identity { font-size: var(--fs-small); padding-left: 20px; border-left: 2px solid var(--blush); }
  .masthead__cta { grid-area: cta; display: inline-flex; min-height: 48px; padding: 10px 20px; font-size: 1rem; }
}

/* ---------- hero ---------- */
.hero { padding-top: 14px; padding-bottom: var(--section); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "lender"; row-gap: 12px; }
.hero__head { grid-area: head; display: grid; gap: 8px; }
.lead { font-size: var(--fs-lead); line-height: 1.42; max-width: 46ch; }
.lead__bae { font-family: var(--font-display); font-weight: 800; font-stretch: 90%; color: var(--raspberry); }
.cardstage { grid-area: stage; position: relative; z-index: 2; margin-top: 26px; }

/* phone and tablet: a sliver of the lender card peeks from behind the deal card */
.sliver {
  position: absolute; z-index: -1; top: -30px; right: 22px; width: 150px; height: 50px; transform: rotate(3deg);
  background: var(--white) var(--heart-rasp) 14px 11px / 16px 16px no-repeat; border: 2px solid var(--bramble); border-radius: 14px 14px 0 0;
}
.sliver::after {
  content: ""; position: absolute; left: 38px; top: 15px; width: 78px; height: 9px; border-radius: 5px; background: var(--raspberry);
}

.dealcard {
  display: grid; grid-template-columns: minmax(0, 1fr); position: relative;
  background: var(--white); border: 2px solid var(--bramble); border-radius: var(--r-card);
  box-shadow: var(--lift-card); margin-right: 8px; scroll-margin-top: 40px;
}
.profile { background: var(--blush); border-radius: 26px 26px 0 0; padding: 24px 14px 14px; display: grid; gap: 10px; align-content: start; }
.profile__tab {
  position: absolute; top: -16px; left: 14px; z-index: 1; background: var(--bramble); color: var(--white);
  font-size: var(--fs-micro); font-weight: 700; line-height: 1; padding: 8px 12px; border-radius: var(--r-pill); white-space: nowrap;
}
.profile__tab--static { position: static; display: inline-block; justify-self: start; }
.profile__id { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: var(--r-sticker);
  background: var(--white); border: 2px dashed var(--thorn); transform: rotate(-4deg);
}
.avatar .icon { width: 30px; height: 30px; }
.dealcard.has-purpose .avatar { border: 2px solid var(--bramble); box-shadow: 3px 3px 0 var(--raspberry); }
.profile__title { font-size: 1.25rem; font-weight: 800; font-stretch: 90%; line-height: 1.05; letter-spacing: -.01em; min-height: 2.1em; display: flex; align-items: center; min-width: 0; }
.slots { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.slot {
  display: inline-flex; align-items: center; min-height: 30px; padding: 3px 10px; border-radius: var(--r-pill);
  border: 2px dashed var(--thorn); color: var(--bramble-soft); font-size: var(--fs-micro); font-weight: 600; line-height: 1.2; overflow-wrap: anywhere;
}
.slot__value { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.slot.is-filled { border-style: solid; border-color: var(--bramble); background: var(--white); color: var(--bramble); }
.slot.is-filled .slot__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.slot.is-filled .slot__value { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
.profile__lines { margin: 0; display: grid; gap: 4px; }
.profile__lines dt { font-size: var(--fs-micro); font-weight: 600; color: var(--bramble-soft); }
.profile__lines dd { margin: 0; font-weight: 600; line-height: 1.35; }
.profile__link { justify-self: start; }
/* below 900px the profile sits above the controls: keep it steady so a tap never moves the control under the finger */
@media (max-width: 899px) { .profile__link, .profile__lines { display: none !important; } }

.controls { padding: 14px 14px 18px; display: grid; gap: 14px; align-content: start; }
.group { border: 0; margin: 0; padding: 0; min-width: 0; }
.q { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; line-height: 1.2; padding: 0; margin-bottom: 8px; color: var(--bramble); }
.q--small { font-size: 1.0625rem; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tile--wide { grid-column: span 2; }
.tile, .chip {
  position: relative; display: flex; align-items: center; gap: 8px; cursor: pointer; min-width: 0;
  background: var(--white); border: 2px solid var(--thorn); color: var(--bramble); font-weight: 600; line-height: 1.2;
  transition: transform 120ms var(--ease-fill), box-shadow 120ms var(--ease-fill), background-color 120ms;
}
.tile { min-height: 52px; padding: 6px 10px 6px 8px; border-radius: var(--r-tile); font-size: 1rem; }
.tile__icon { flex: none; width: 28px; height: 28px; }
.tile__icon .icon { width: 28px; height: 28px; }
.tile__label { min-width: 0; overflow-wrap: anywhere; }
.lbl-long { display: none; }
@media (min-width: 430px) {
  .lbl-long { display: inline; }
  .lbl-short { display: none; }
  .tile { min-height: 56px; padding: 8px 12px 8px 10px; }
  .tile__icon, .tile__icon .icon { width: 32px; height: 32px; }
}
@media (max-width: 359px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile--wide { grid-column: auto; }
  .tab-word { display: none; }
}
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 48px; padding: 8px 16px; border-radius: var(--r-pill); font-size: 1rem; overflow-wrap: anywhere; }
.tile input, .chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; border-radius: inherit; }
.tile:hover, .chip:hover { background: var(--blush); border-color: var(--bramble); }
.tile:has(input:focus-visible), .chip:has(input:focus-visible) { outline: 3px solid var(--bramble); outline-offset: 3px; }
.tile:has(input:checked), .chip:has(input:checked) { background: var(--petal); border-color: var(--bramble); box-shadow: var(--lift-selected); transform: translate(-2px, -2px); }
.tile:has(input:checked):active, .chip:has(input:checked):active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--raspberry); }
/* selected badge: a heart on a Raspberry sticker (shape plus fill plus lift, never color alone) */
.check {
  display: none; position: absolute; top: -10px; right: -9px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--raspberry) var(--heart-white) center 55% / 15px 15px no-repeat; border: 2px solid var(--bramble); pointer-events: none;
}
.tile:has(input:checked) .check, .chip:has(input:checked) .check { display: block; }
.group.is-invalid .tile, .group.is-invalid .chip { border-color: var(--jam); }

.privacy { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-small); line-height: 1.45; font-weight: 600; max-width: none; }
.privacy .icon { width: 28px; height: 28px; margin-top: -2px; }
.pair { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.controls__go { display: grid; gap: 8px; margin-top: 2px; }
.controls__next { font-size: var(--fs-small); color: var(--bramble-soft); }

/* trust strip: who runs it, how it is paid, who sees your details */
.trust { list-style: none; margin: 0; padding: 4px 0 0; border-top: 2px solid var(--blush); display: grid; gap: 4px; font-size: var(--fs-small); line-height: 1.6; }
.trust__q { font-weight: 700; justify-self: start; display: inline-flex; align-items: center; min-height: 44px; }
.trust__a { display: block; color: var(--bramble); }
.trust li { display: grid; }

/* the lender card: the deal's bae (an illustration) */
.lender {
  grid-area: lender; position: relative; z-index: 1; justify-self: start; width: min(100%, 330px); margin: 18px 0 0;
  padding: 16px 18px 18px; background: var(--white); border: 2px solid var(--bramble); border-radius: 22px;
  box-shadow: 6px 6px 0 var(--bramble); transform: rotate(1.5deg); display: flex; flex-direction: column;
}
.lender__kicker { order: 1; }
.lender__name { order: 2; }
.lender figcaption { order: 3; }
.lender__lines { order: 4; }
.lender__pin { position: absolute; top: -14px; right: -10px; width: 34px; height: 34px; transform: rotate(14deg); }
.lender__pin path { fill: var(--white); stroke: var(--bramble); stroke-width: .1; }
.lender__kicker { font-family: var(--font-display); font-weight: 800; font-stretch: 90%; font-size: 1.375rem; line-height: 1; color: var(--raspberry); }
.lender__name { font-family: var(--font-display); font-weight: 800; font-stretch: 90%; font-size: 1.375rem; line-height: 1.1; }
.lender__lines { margin: 0; display: grid; gap: 6px; }
.lender__lines div { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 8px; align-items: baseline; }
.lender__lines dt { font-size: var(--fs-micro); font-weight: 600; color: var(--bramble-soft); }
.lender__lines dd { margin: 0; font-weight: 600; line-height: 1.35; }
.lender__stamp {
  position: absolute; top: 20px; right: 18px; transform: rotate(-6deg); background: var(--white); padding: 3px 10px; border: 3px solid var(--raspberry); border-radius: 8px;
  color: var(--raspberry); font-family: var(--font-display); font-weight: 800; font-stretch: 88%; font-size: .9375rem; line-height: 1.1;
}
.lender figcaption { margin: 2px 0 10px; font-size: var(--fs-micro); color: var(--bramble-soft); }

@media (min-width: 900px) {
  .dealcard { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .profile { border-radius: 26px 0 0 26px; padding: 32px 26px 24px; gap: 14px; }
  .profile__tab { left: 22px; }
  .avatar { width: 72px; height: 72px; }
  .avatar .icon { width: 46px; height: 46px; }
  .profile__title { font-size: clamp(1.625rem, 1.1rem + 1vw, 2.125rem); min-height: 2.1em; }
  .slot { font-size: var(--fs-small); padding: 4px 12px; min-height: 34px; }
  .controls { padding: 22px 30px 24px; gap: 10px; }
  .q { font-size: 1.25rem; }
}
@media (min-width: 1024px) {
  .hero { padding-top: 10px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) 346px; grid-template-areas: "head lender" "stage stage"; column-gap: 40px; row-gap: 0; }
  .hero__head { align-self: center; padding-bottom: 8px; }
  .sliver { display: none; }
  .cardstage { margin-top: 16px; }
  /* tucked behind the deal card's top edge at rest; slides out beside it once step one is complete */
  .lender { --tuck: 0px; align-self: end; justify-self: end; margin: 0 26px -84px 0; transform: translateY(var(--tuck)) rotate(4deg); transition: transform 520ms var(--ease-fill); }
  .lender { padding-bottom: 92px; }
}
/* wide screens: the trust strip sits at the foot of the profile column, beside the step-one button */
@media (min-width: 1200px) {
  .controls .trust { position: absolute; left: 26px; bottom: 24px; width: calc(41.667% - 52px); border-top-color: var(--white); }
  .tile { min-height: 52px; }
}
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .lender { --tuck: 112px; }
  .hero.is-complete .lender { --tuck: 0px; }
}

/* ---------- fields ---------- */
.field { display: grid; gap: 6px; align-content: start; }
.field label, .check-field label { font-weight: 600; font-size: 1rem; line-height: 1.35; }
.optional { font-weight: 500; color: var(--bramble-soft); }
.help { font-size: var(--fs-small); color: var(--bramble-soft); line-height: 1.5; }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid var(--thorn); border-radius: var(--r-field);
  background: var(--white); color: var(--bramble); font-family: var(--font-body); font-size: 1.0625rem; font-weight: 500; line-height: 1.3;
}
textarea { min-height: 120px; resize: vertical; }
input:hover, textarea:hover, select:hover { border-color: var(--bramble); }
input:focus-visible, textarea:focus-visible, select:focus-visible { border-color: var(--bramble); outline: 3px solid var(--bramble); outline-offset: 2px; }
.select { position: relative; display: block; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer; text-overflow: ellipsis; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; border: solid var(--bramble); border-width: 0 3px 3px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
[aria-invalid="true"] { border-color: var(--jam) !important; }
.error { display: flex; gap: 8px; align-items: flex-start; color: var(--jam); font-weight: 600; font-size: var(--fs-small); line-height: 1.4; margin-top: 8px; }
.error::before { content: "!"; content: "!" / ""; flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--jam); color: var(--white); font-size: .8125rem; font-weight: 800; margin-top: 1px; }
.field--compact { margin-top: 14px; max-width: 320px; }

.check-field { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 8px; row-gap: 6px; align-items: start; }
.check-field input {
  appearance: none; -webkit-appearance: none; width: 44px; height: 44px; margin: -9px 0 0 -9px; cursor: pointer; border-radius: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Crect x='1' y='1' width='24' height='24' rx='7' fill='%23fff' stroke='%232E1520' stroke-width='2'/%3E%3C/svg%3E") center / 26px 26px no-repeat;
}
.check-field input:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Crect x='1' y='1' width='24' height='24' rx='7' fill='%23C8174F' stroke='%232E1520' stroke-width='2'/%3E%3Cpath d='M7.5 13.5l3.6 3.6 7.4-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.check-field input:focus-visible { outline-offset: -4px; }
.check-field label { font-weight: 500; }
.check-field .help, .check-field .error { grid-column: 2; }
.check-field--consent label { font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- bands ---------- */
.band { margin-inline: 8px; border-radius: var(--r-panel); }
.band--blush { background: var(--blush); }
.band--ink { background: var(--bramble); color: var(--white); }
@media (min-width: 768px) { .band { margin-inline: 20px; } }

/* ---------- what lenders usually look at ---------- */
.lenders { display: grid; gap: 22px; padding-top: var(--section); padding-bottom: var(--section); }
.lenders__intro { display: grid; gap: 10px; align-content: start; }
.lenders__opener { font-weight: 600; font-size: var(--fs-lead); line-height: 1.45; }
.tag { justify-self: start; font-size: var(--fs-micro); font-weight: 700; padding: 5px 12px; border-radius: var(--r-pill); border: 2px solid var(--bramble); background: var(--white); }
.lenders__intro .small { margin-top: 6px; }
.lenders__sheet { background: var(--white); border: 2px solid var(--bramble); border-radius: var(--r-card); padding: 20px 16px 22px; display: grid; gap: 16px; align-content: start; }
.lenders__for { font-family: var(--font-display); font-weight: 800; font-stretch: 90%; font-size: 1.5rem; line-height: 1.1; color: var(--raspberry); }
.panel { display: grid; gap: 16px; }
.sub { font-size: 1.0625rem; font-weight: 700; color: var(--bramble-soft); padding-bottom: 6px; border-bottom: 2px solid var(--blush); }
.looks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.look { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.look__icon { width: 44px; height: 44px; padding: 6px; background: var(--blush); border-radius: var(--r-sticker); }
.look h4 { margin-bottom: 4px; }
.ref { font-size: var(--fs-small); font-weight: 600; white-space: nowrap; }
.beyond { background: var(--blush); border-radius: 16px; padding: 12px 14px; font-size: var(--fs-small); line-height: 1.5; max-width: none; }
.sources { display: grid; gap: 8px; padding-top: 4px; }
.sources ol { margin: 0; padding-left: 22px; font-size: var(--fs-small); line-height: 1.5; color: var(--bramble-soft); display: grid; gap: 4px; }
.sources li { scroll-margin-top: 24px; }

.stack { margin: 0; display: grid; gap: 12px; padding: 16px; border-radius: 18px; background: var(--blush); }
.stack__visual { display: grid; gap: 8px; }
.stack__label { font-size: var(--fs-micro); font-weight: 700; color: var(--bramble-soft); }
.stack__bar { display: flex; height: 34px; border: 2px solid var(--bramble); border-radius: 10px; overflow: hidden; background: var(--white); }
.stack__loan { flex: 9; background: var(--bramble); }
.stack__equity { flex: 1; background: var(--raspberry); border-left: 2px solid var(--white); }
.stack__legend { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--fs-small); font-weight: 600; }
.stack__legend li { display: inline-flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 2px solid var(--bramble); }
.sw--loan { background: var(--bramble); }
.sw--equity { background: var(--raspberry); }
.dscr { display: grid; gap: 6px; }
.dscr__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.dscr__bar { display: block; height: 14px; border-radius: 7px; border: 2px solid var(--bramble); }
.dscr__bar--pay { width: 80%; background: var(--white); }
.dscr__bar--cash { width: 100%; background: var(--raspberry); }
.dscr__text { font-size: var(--fs-small); font-weight: 600; }
.stack figcaption { font-size: var(--fs-small); line-height: 1.5; }
@media (min-width: 1024px) {
  .lenders { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 56px; }
  .lenders__intro { position: sticky; top: 24px; align-self: start; }
  .lenders__sheet { padding: 30px 32px 32px; }
}

/* ---------- how an introduction works ---------- */
.how { padding-top: var(--section); padding-bottom: var(--section); }
.how__grid { display: grid; gap: 22px; }
.how__intro { display: grid; gap: 10px; align-content: start; }
.how__sub { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--raspberry); }
.travel { display: none; }

.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: step; }
.journey__step { counter-increment: step; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; row-gap: 6px; align-items: start; align-content: start; }
.journey__step::before { content: counter(step); grid-row: span 3; font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; line-height: 1; color: var(--raspberry); }
.journey__step > * { grid-column: 2; }
.journey__step p { max-width: 52ch; }
.stamp-chip {
  justify-self: start; padding: 2px 10px; border: 2px solid var(--raspberry); border-radius: 8px; color: var(--raspberry);
  font-family: var(--font-display); font-weight: 800; font-stretch: 88%; font-size: .9375rem; line-height: 1.3;
}
.stamp-chip--final { background: var(--raspberry); color: var(--white); transform: rotate(-4deg); }
@media (max-width: 767px) {
  .how__grid { gap: 16px; }
  .how__sub { font-size: 1.0625rem; }
  .journey { gap: 16px; }
  .how { padding-top: 28px; padding-bottom: 28px; }
  .journey__step { row-gap: 4px; column-gap: 8px; grid-template-columns: 22px max-content minmax(0, 1fr); }
  .journey__step::before { font-size: 1.375rem; grid-row: span 2; }
  .journey__step > .stamp-chip { grid-column: 2; grid-row: 1; align-self: center; }
  .journey__step > h3 { grid-column: 3; grid-row: 1; align-self: center; }
  .journey__step > p { grid-column: 2 / span 2; grid-row: 2; }
  .journey__step h3 { font-size: 1.0625rem; }
  .journey__step p { font-size: var(--fs-small); line-height: 1.45; }
  .stamp-chip { font-size: .875rem; padding: 1px 8px; white-space: nowrap; }
  .how__grid { gap: 12px; }
  .journey { gap: 14px; }
}
@media (min-width: 768px) {
  .travel {
    display: grid; gap: 12px; max-width: 360px; margin-top: 12px; padding: 18px; background: var(--white);
    border: 2px solid var(--bramble); border-radius: 22px; box-shadow: 6px 6px 0 var(--petal);
  }
  .travel__name { font-family: var(--font-display); font-weight: 800; font-stretch: 90%; font-size: 1.5rem; line-height: 1.1; }
  .travel__tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .travel__tags span { padding: 2px 10px; border-radius: var(--r-pill); border: 2px solid var(--bramble); font-size: var(--fs-micro); font-weight: 600; }
  .travel__tags span:first-child { border-style: dashed; color: var(--bramble-soft); }
  .travel__stamps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .travel__stamps li { padding: 2px 9px; border: 2px solid var(--raspberry); border-radius: 8px; color: var(--raspberry); font-family: var(--font-display); font-weight: 800; font-stretch: 88%; font-size: .875rem; }
  .travel__stamps li.is-final { background: var(--raspberry); color: var(--white); }
}
@media (min-width: 1024px) {
  .how__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; }
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; row-gap: 32px; }
}

/* ---------- plain talk (the one dark band) ---------- */
.plain { padding-top: var(--section); padding-bottom: var(--section); }
.band--ink h2, .band--ink h3 { color: var(--white); }
.plain__sub { margin-top: 8px; color: var(--petal); font-weight: 600; }
.band--ink a { color: var(--petal); }
.band--ink a:hover { color: var(--white); }
.band--ink :focus-visible { outline-color: var(--petal); }
.band--ink .small { color: var(--petal); }
.qa { display: grid; gap: 30px; margin-top: 28px; }
.qa__item { display: grid; gap: 10px; align-content: start; }
.qa h3 { scroll-margin-top: 24px; }
.never { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.never li {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 9px; border-radius: var(--r-pill);
  border: 2px solid var(--petal); color: var(--white); font-weight: 600; line-height: 1.25;
}
.never li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--petal);
  background: linear-gradient(135deg, transparent 43%, var(--petal) 43% 57%, transparent 57%);
}
@media (min-width: 900px) { .qa { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; row-gap: 40px; } }

/* ---------- step two ---------- */
.step2 { padding-top: var(--section); padding-bottom: var(--section); scroll-margin-top: 8px; }
.step2__head { display: grid; gap: 10px; margin-bottom: 22px; }
.step2__head h2 { scroll-margin-top: 24px; }
.step2__intro { color: var(--bramble-soft); }
.step2__head .trust { max-width: 70ch; }
.step2__grid { display: grid; gap: 20px; grid-template-areas: "summary" "form"; }
.summary { grid-area: summary; background: var(--blush); border-radius: 20px; padding: 12px 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.summary h3 { font-size: 1rem; flex: 1 0 auto; }
.summary__list { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 100%; order: 2; }
.summary__list dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.summary__list dd { margin: 0; padding: 2px 10px; border-radius: var(--r-pill); border: 2px solid var(--bramble); background: var(--white); font-size: var(--fs-micro); font-weight: 600; }
.summary__list dd[data-empty="true"] { border-style: dashed; border-color: var(--thorn); color: var(--bramble-soft); }
.summary .textlink { order: 1; min-height: 44px; font-size: var(--fs-small); }
.summary__empty { display: none; order: 2; flex: 1 1 100%; font-size: var(--fs-small); color: var(--bramble-soft); }
@media (max-width: 1023px) {
  .summary.is-empty .summary__list { display: none; }
  .summary.is-empty .summary__empty { display: block; }
}
.formcard { grid-area: form; background: var(--white); border: 2px solid var(--bramble); border-radius: var(--r-card); box-shadow: var(--lift-card); padding: 20px 16px 24px; margin-right: 8px; }
#intro-form { display: grid; gap: 20px; }
.help--ranges { margin-top: -10px; }
.disclose { display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: var(--blush); }
.disclose__title { font-size: 1.125rem; }
.disclose p { font-size: var(--fs-small); line-height: 1.5; }
.disclaimer { font-size: var(--fs-small); line-height: 1.6; max-width: 70ch; }
.error-summary { border: 2px solid var(--jam); border-radius: 16px; padding: 14px 16px; background: var(--white); }
.error-summary h3 { font-size: 1.125rem; color: var(--jam); margin-bottom: 6px; }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }
.confirm { display: grid; gap: 14px; }
.confirm__mark { width: 60px; height: 60px; display: grid; place-items: center; border-radius: var(--r-sticker); background: var(--raspberry); border: 2px solid var(--bramble); box-shadow: 3px 3px 0 var(--bramble); transform: rotate(-5deg); }
.confirm__mark svg { width: 34px; height: 34px; }
.confirm__mark path { fill: var(--white); }
.confirm h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; font-stretch: 90%; }
.confirm__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
@media (min-width: 1024px) {
  .step2__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); grid-template-areas: "form summary"; column-gap: 48px; align-items: start; }
  .formcard { padding: 34px 38px 38px; }
  .summary { position: sticky; top: 24px; display: grid; gap: 14px; padding: 26px; border-radius: var(--r-card); }
  .summary h3 { font-size: 1.375rem; }
  .summary__list { display: grid; gap: 12px; order: 0; }
  .summary__list dt { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; font-size: var(--fs-micro); font-weight: 600; color: var(--bramble-soft); }
  .summary__list dd { padding: 0; border: 0; background: none; font-size: 1rem; }
  .summary__list dd[data-empty="true"] { border: 0; }
  .summary .textlink { order: 0; }
}

/* send failure (kept answers, inline, with the email as selectable text) */
.send-error { border: 2px solid var(--jam); border-radius: var(--r-field); background: var(--white); padding: 12px 14px; color: var(--bramble); font-size: var(--fs-small); line-height: 1.5; }
.send-error strong { display: block; color: var(--jam); font-size: 1rem; margin-bottom: 4px; }
.send-error .send-error__email { font-weight: 700; user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; }
.btn[aria-disabled="true"] { cursor: progress; background: var(--bramble-soft); }

/* 100% US-based, a real person any hour (flat, no lift: a static block) */
.humans { margin-top: 32px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; align-items: start; padding: 20px; border: 2px solid var(--bramble); border-radius: var(--r-card); background: var(--white); }
.humans__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--r-sticker); background: var(--blush); border: 2px solid var(--bramble); transform: rotate(-4deg); }
.humans__icon .icon { width: 32px; height: 32px; }
.humans__body { display: grid; gap: 8px; }
.humans h3 { font-family: var(--font-display); font-weight: 800; font-stretch: 90%; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: 1.12; }
.humans p { max-width: 68ch; }
.humans__call { font-weight: 600; }
.humans__call a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
@media (min-width: 900px) { .humans { margin-top: 48px; padding: 28px 32px; column-gap: 24px; } .humans__icon { width: 64px; height: 64px; } .humans__icon .icon { width: 38px; height: 38px; } }

/* ---------- footer ---------- */
.footer { background: var(--bramble); color: var(--white); padding-top: 48px; padding-bottom: 112px; margin-top: 8px; }
.footer a { color: var(--petal); }
.footer a:hover { color: var(--white); }
.footer :focus-visible { outline-color: var(--petal); }
.footer__grid { display: grid; gap: 28px; }
.footer__brand { display: grid; gap: 10px; align-content: start; }
.footer__brand img { width: 138px; height: auto; }
.footer__domain { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--white); }
.footer__identity, .footer__phone, .footer__operator { color: var(--petal); font-size: var(--fs-small); }
.footer__privacy { font-size: var(--fs-small); line-height: 1.6; }
.footer__phone a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; }
.footer__legal { display: grid; gap: 14px; align-content: start; }
.footer .disclaimer { color: var(--white); }
@media (min-width: 900px) {
  .footer { padding-bottom: 56px; }
  .footer__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 64px; }
}

/* ---------- phone dock ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--white); border-top: 2px solid var(--bramble);
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.dock .btn { box-shadow: 3px 3px 0 var(--bramble); }
@media (min-width: 900px), (max-height: 480px) { .dock { display: none !important; } }

/* ---------- the one motion moment: the card filling (and the bae sliding out) ---------- */
@keyframes fill-in { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: rotate(-10deg) scale(.9); } to { transform: rotate(-4deg); } }
.just-filled { animation: fill-in 240ms var(--ease-fill) both; }
.avatar.just-filled { animation: settle 280ms var(--ease-fill) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}

/* ---------- privacy notice page (privacy/index.html) ---------- */
.legal { padding-top: 32px; padding-bottom: var(--section); }
.legal__wrap { display: grid; gap: 28px; }
.legal__head { display: grid; gap: 12px; justify-items: start; max-width: 46rem; }
.legal__body { display: grid; gap: 28px; max-width: 46rem; padding: 24px 20px; border: 2px solid var(--bramble); border-radius: var(--r-card); background: var(--white); box-shadow: var(--lift-card); }
.legal__body section { display: grid; gap: 10px; }
.legal__body h2 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); }
.legal__body ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.legal__email { font-weight: 700; user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; }
.legal .textlink { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 768px) { .legal { padding-top: 56px; } .legal__body { padding: 40px 44px; } }

/* ---------- blog posts, blog index, state guides (blog/, guides/) ---------- */
.art { padding-top: 20px; padding-bottom: var(--section); }
.art__wrap { max-width: calc(760px + 64px); display: grid; gap: 24px; }
.art__wrap--wide { max-width: calc(1080px + 64px); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: var(--fs-small); color: var(--bramble-soft); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--thorn); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.crumbs [aria-current="page"] { display: inline-block; padding: 10px 0; overflow-wrap: anywhere; }
.art__article { display: grid; gap: 28px; }
.art__head { display: grid; gap: 12px; justify-items: start; }
.art__head h1 { font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3rem); }
.art__meta { font-size: var(--fs-small); color: var(--bramble-soft); }
.art__figure { margin: 0; }
.art__figure img { display: block; width: 100%; height: auto; border: 2px solid var(--bramble); border-radius: var(--r-card); box-shadow: var(--lift-card); }
.art__body { display: grid; gap: 16px; }
.art__body h2 { font-size: clamp(1.375rem, 1.15rem + .9vw, 1.875rem); margin-top: 16px; }
.art__body h3 { font-size: 1.1875rem; }
.art__body p, .art__body li { max-width: 68ch; }
.art__body a { overflow-wrap: anywhere; }
.art-lead { font-size: var(--fs-lead); line-height: 1.5; font-weight: 500; }
.art-list { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.art-note { font-size: var(--fs-small); color: var(--bramble-soft); border-left: 4px solid var(--petal); padding-left: 12px; }
.art-cta { display: grid; gap: 12px; justify-items: start; padding: 24px 22px; border-radius: var(--r-card); background: var(--blush); border: 2px solid var(--bramble); }
.art-cta h2 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); }
.art-cta .btn { min-height: 48px; }
.art-next h2, .art-sources h2 { font-size: 1.25rem; margin-bottom: 8px; }
.art-next ul { margin: 0; padding-left: 22px; display: grid; gap: 2px; }
.art-next a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.art-sources ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; font-size: var(--fs-small); color: var(--bramble-soft); }
.art-sources a { overflow-wrap: anywhere; }

/* share row: plain links, no third-party scripts */
.share { display: grid; gap: 8px; padding: 14px 0; border-top: 2px solid var(--blush); border-bottom: 2px solid var(--blush); }
.share__title { font-family: var(--font-body); font-size: var(--fs-small); font-weight: 700; color: var(--bramble-soft); }
.share__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.share__link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 8px 16px; border: 2px solid var(--bramble); border-radius: var(--r-pill); background: var(--white); color: var(--bramble); font: 700 var(--fs-small)/1.2 var(--font-body); text-decoration: none; cursor: pointer; }
.share__link:hover { background: var(--blush); color: var(--bramble); }
.share__status { font-size: var(--fs-small); font-weight: 600; color: var(--bramble); min-height: 1.5em; }
.share__fallback input { display: block; width: 100%; margin-top: 6px; min-height: 44px; padding: 8px 12px; border: 2px solid var(--thorn); border-radius: var(--r-field); font: inherit; color: var(--bramble); background: var(--white); }

/* blog index and guides hub cards */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.post-card { display: grid; border: 2px solid var(--bramble); border-radius: var(--r-card); background: var(--white); overflow: hidden; box-shadow: var(--lift-card); }
.post-card img { display: block; width: 100%; height: auto; border-bottom: 2px solid var(--bramble); }
.post-card__body { display: grid; gap: 8px; padding: 18px 20px 22px; }
.post-card h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.15; }
.post-card h2 a { color: var(--bramble); text-decoration-color: var(--raspberry); }
.post-card h2 a:hover { color: var(--jam); }
.blog-guides { font-weight: 600; }
@media (min-width: 900px) { .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* guide office cards (static: flat, no lift) */
.offices { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.office { display: grid; gap: 8px; padding: 16px 18px; border: 2px solid var(--bramble); border-radius: var(--r-tile); background: var(--white); }
.office dl { margin: 0; display: grid; gap: 4px; }
.office dl div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 8px; }
.office dt { font-size: var(--fs-micro); font-weight: 700; color: var(--bramble-soft); padding-top: 2px; }
.office dd { margin: 0; font-size: var(--fs-small); }
.office dd a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.office__src { font-size: var(--fs-micro); color: var(--bramble-soft); }
@media (min-width: 768px) { .offices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* homepage: guides by state (stripped by the build until approval) */
.state-guides { padding-top: 0; padding-bottom: var(--section); }
.state-guides__inner { display: grid; gap: 12px; }
.state-guides h2 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); }
.state-guides ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.state-guides li a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 2px solid var(--bramble); border-radius: var(--r-pill); background: var(--white); color: var(--bramble); font-weight: 700; text-decoration: none; }
.state-guides li a:hover { background: var(--blush); }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
