/* Realty Assist — no dependencies, no network fonts. All copy lives in index.html. */
:root {
  color-scheme: light;
  --paper: #f3ece3;
  --ink: #252422;
  --muted: #68615a;
  --red: #841e1e;
  --red-hover: #6d1719;
  --line: #d8cec1;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --texture: url('images/paper.webp');
  --felt: url('images/red-felt.webp');
  --focus: 0 0 0 3px var(--paper), 0 0 0 5px var(--red);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper) var(--texture) repeat; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.is-dialog-open { overflow: hidden; }
button,input { font: inherit; }
button,a,input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button:focus-visible, a:focus-visible { outline: none; box-shadow: var(--focus); }
[hidden] { display: none !important; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.accent { color: var(--red); }
.page-shell { max-width: 1720px; margin: 0 auto; overflow: hidden; position: relative; }
.skip-link { position: fixed; top: 10px; left: 10px; padding: 12px 18px; background: var(--paper); z-index: 20; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* The offer is one large button. No navigation bar on this holding page. */
.offer-strip { display: flex; justify-content: center; align-items: center; position: relative; isolation: isolate; width: calc(100% - 36px); min-height: 102px; border: 0; margin: 13px 18px 0; padding: 6px 22px; color: var(--ink); background: transparent; filter: drop-shadow(0 5px 4px #59432918); }
.offer-strip::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #eadfce var(--texture); clip-path: polygon(0.4% 8%, 2% 2%, 4% 5%, 6% 1%, 8% 5%, 11% 1%, 13% 5%, 16% 0, 20% 4%, 25% 1%, 31% 4%, 38% 0, 44% 3%, 51% 0, 59% 4%, 65% 1%, 73% 4%, 79% 0, 87% 3%, 92% 1%, 99.5% 4%, 100% 16%, 99.7% 38%, 100% 58%, 99.6% 95%, 97% 99%, 92% 96%, 89% 100%, 84% 95%, 77% 100%, 72% 95%, 66% 99%, 59% 97%, 54% 100%, 48% 96%, 44% 99%, 38% 96%, 31% 100%, 27% 96%, 20% 100%, 13% 97%, 9% 100%, 5% 96%, 0.4% 99%, 0 69%, 0.3% 47%, 0 25%); }
.offer-content { display: flex; align-items: center; justify-content: center; gap: 26px; position: relative; z-index: 2; }
.gift-badge { width: 88px; height: auto; transform: rotate(-5deg); transition: transform 250ms ease; }
.offer-strip:hover .gift-badge { transform: rotate(5deg) scale(1.045); }
.offer-copy { font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 2.85vw, 44px); letter-spacing: -.045em; white-space: nowrap; }
.offer-copy strong { color: var(--red); font-size: 1.19em; position: relative; }
.offer-copy strong::after { content: ''; position: absolute; left: 1%; right: 0; bottom: -6px; height: 4px; border-radius: 40%; background: var(--red); transform: rotate(-1.4deg); opacity: .8; }
.offer-landscape { position: absolute; width: 320px; height: 96px; right: 4px; bottom: 4px; z-index: 0; background: url('images/offer-landscape.webp') bottom right / contain no-repeat; pointer-events: none; }
.gift-rays { display: block; position: absolute; right: -43px; top: 24px; width: 25px; height: 42px; border-top: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: skewY(-26deg); opacity: .8; }
.brand-header { margin: 27px 3.5% 0; position: relative; z-index: 2; width: max-content; }
.brand { display: inline-flex; align-items: center; gap: 13px; font: 700 clamp(28px,2.7vw,40px)/1 var(--serif); text-decoration: none; letter-spacing: -.045em; }
.brand img { width: 39px; height: 43px; }

/* Large image is the supplied scene, cut free of the old baked-in interface. */
.hero { position: relative; margin-top: 37px; min-height: clamp(450px, 34.5vw, 555px); }
.hero-copy { position: relative; z-index: 2; margin-left: 3.5%; width: 36%; max-width: 530px; padding-bottom: 20px; }
h1 { font: 700 clamp(48px,4.92vw,80px)/.96 var(--serif); letter-spacing: -.058em; margin: 0; }
h1 span { display: block; white-space: nowrap; }
.hero-tagline { font: 400 clamp(24px,2.2vw,36px)/1.16 var(--serif); letter-spacing: -.035em; margin: 16px 0 0; white-space: nowrap; }
.capabilities { margin-top: 29px; max-width: 387px; }
.capabilities-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1.12fr 1fr; column-gap: 19px; row-gap: 16px; }
.capabilities-list li { display: flex; align-items: center; gap: 12px; font-size: clamp(15px,1.24vw,19px); line-height: 1.3; }
.capabilities-list .icon { width: 28px; height: 28px; }
.capabilities-list li:nth-child(even) { border-left: 1px solid var(--line); padding-left: 20px; }
.together { color: var(--red); font: 700 19px/1.2 var(--serif); letter-spacing: -.02em; margin: 10px 0 0 40px; }
.felt-button { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 30px; border: 0; background: transparent; color: #fff8ed; min-height: 67px; padding: 15px 30px; font-size: 25px; font-weight: 400; filter: drop-shadow(1px 6px 3px #58372125); transition: transform 160ms, filter 160ms; }
.felt-button::before { content: ''; position: absolute; z-index: -1; inset: 0; background: var(--red) var(--felt) repeat; background-size: 80px 80px; clip-path: polygon(.5% 3%,3% 1%,5% 4%,9% 1%,13% 3%,17% 0,24% 3%,31% 1%,36% 3%,44% 0,49% 2%,58% 0,63% 3%,68% 1%,74% 3%,82% 1%,86% 2%,95% 0,99% 3%,99.7% 14%,99.2% 35%,100% 53%,99.3% 71%,99.8% 92%,98% 98%,95% 96%,88% 100%,82% 97%,74% 100%,69% 96%,63% 99%,55% 97%,49% 100%,44% 97%,36% 99%,30% 97%,23% 100%,15% 97%,9% 100%,3% 97%,.3% 99%,0 87%,.8% 65%,0 46%,.6% 24%); }
.felt-button::after { content: ''; position: absolute; inset: 5px; border: 1px dashed #ffc7a925; z-index: -1; pointer-events: none; }
.felt-button .icon { width: 31px; height: 31px; stroke-width: 1.4; transition: transform 160ms; }
.felt-button:hover { transform: translateY(-2px); filter: drop-shadow(1px 8px 4px #58372135); }
.felt-button:hover .icon { transform: translateX(4px); }
.felt-button:active { transform: translateY(1px); }
.felt-button:disabled { cursor: wait; opacity: .7; transform: none; }
.hero-cta { margin-top: 23px; width: 323px; max-width: 94%; }
.hero-visual { position: absolute; width: 78%; right: -1.7%; top: -108px; z-index: 0; pointer-events: none; }
.hero-scene { display: block; width: 100%; height: auto; }

.benefits { position: relative; z-index: 3; width: 79%; margin: 20px 0 0 3.5%; padding: 23px 6px 20px 0; display: grid; grid-template-columns: 1.12fr 1.1fr 1fr; gap: 22px; }
.benefits::before { content: ''; position: absolute; inset: 0 -15px -16px -70px; z-index: -1; background: var(--paper) var(--texture); clip-path: polygon(0 0,5% 4%,9% 1%,14% 5%,18% 0,25% 4%,33% 1%,39% 5%,47% 2%,52% 5%,59% 1%,64% 4%,70% 0,79% 5%,84% 2%,92% 5%,99% 0,100% 100%,0 100%); }
.benefit { display: flex; align-items: flex-start; gap: 16px; min-width: 0; }
.benefit + .benefit { border-left: 1px solid var(--line); padding-left: 23px; }
.benefit-icon { width: 69px; height: 69px; border-radius: 51% 48% 46% 52%; background: #e3d7c650 var(--texture); background-blend-mode: multiply; display: flex; flex: 0 0 auto; align-items: center; justify-content: center; transform: rotate(-6deg); }
.benefit-icon .icon { width: 36px; height: 36px; transform: rotate(6deg); stroke-width: 1.9; }
.benefit-icon-check .icon { background: var(--ink); color: var(--paper); padding: 6px; border-radius: 50%; width: 36px; height: 36px; stroke-width: 2.4; }
.benefit h2 { font: 700 clamp(17px,1.42vw,22px)/1.1 var(--serif); letter-spacing: -.025em; margin: 7px 0 6px; }
.benefit p { font-size: clamp(14px,1.08vw,17px); line-height: 1.32; margin: 0; max-width: 250px; }
.page-footer { margin: 28px 3.5% 17px; display: flex; gap: 24px; color: var(--muted); font-size: 11px; position: relative; z-index: 3; }
.page-footer a { text-decoration-color: #a99b8b; }

/* Native <dialog>: keyboard containment and a real mobile sheet, not a mockup. */
.lead-dialog { border: 0; padding: 0; background: none; color: var(--ink); width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; overflow: auto; overscroll-behavior: contain; border-radius: 9px; box-shadow: 0 22px 90px #24181140; }
.lead-dialog::backdrop { background: #30271d65; backdrop-filter: blur(4px); }
.lead-dialog[open] { animation: modal-in .22s ease-out; }
.modal-card { position: relative; padding: 26px 38px 22px; background: var(--paper) var(--texture); }
.close-button { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; color: var(--ink); background: #dfd3c459; z-index: 2; }
.close-button:hover { background: #dfd3c4bd; }
.modal-gift { display: block; margin: 0 auto 10px; width: 68px; height: auto; }
.modal-eyebrow { text-align: center; font-size: 10px; line-height: 1.3; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.lead-dialog h2 { font: 700 37px/1 var(--serif); letter-spacing: -.045em; text-align: center; margin: 0; }
.modal-description { text-align: center; font-size: 15px; line-height: 1.45; margin: 13px 0 23px; color: #524a43; }
.form-field { margin-bottom: 12px; }
.form-field label, .property-fieldset legend { display: block; font-size: 14px; line-height: 1.3; margin-bottom: 7px; color: #423b35; }
.form-field input { display: block; width: 100%; min-height: 47px; border: 1px solid #baafa0; border-radius: 4px; background: #fffdf645; color: var(--ink); padding: 12px 14px; outline: 0; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.form-field input::placeholder { color: #8c8278; }
.form-field input:focus { border-color: var(--red); box-shadow: 0 0 0 2px #841e1e15; background: #fffdf675; }
.form-field input[aria-invalid='true'] { border-color: var(--red); }
.field-error { color: var(--red); font-size: 12px; line-height: 1.4; margin: 5px 0 0; }
.field-error:empty { display: none; }
.property-fieldset { border: 0; padding: 0; margin: 18px 0; min-width: 0; }
.property-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio-card { display: grid; grid-template-columns: 22px 1fr; column-gap: 9px; row-gap: 2px; padding: 12px; border: 1px solid #c6baa9; border-radius: 4px; cursor: pointer; font-size: 16px; background: #fffdf625; }
.radio-card:has(input:checked) { border-color: var(--red); background: #841e1e06; box-shadow: inset 0 0 0 1px var(--red); }
.radio-card input { width: 20px; height: 20px; margin: 0; grid-row: span 2; accent-color: var(--red); }
.radio-card input:focus-visible, .consent-row input:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.radio-card small { grid-column: 2; font-size: 11px; color: var(--muted); }
.consent-row { display: flex; gap: 10px; align-items: flex-start; margin-top: 3px; }
.consent-row input { flex: 0 0 auto; accent-color: var(--red); width: 19px; height: 19px; margin: 0; }
.consent-row label { font-size: 12px; line-height: 1.5; color: #514940; }
.consent-row a { color: var(--red); }
.submit-button { width: 100%; min-height: 56px; margin-top: 19px; padding: 12px 16px; gap: 17px; font-size: 18px; }
.submit-button .icon { width: 24px; height: 24px; }
.form-footnote { text-align: center; font-size: 11px; line-height: 1.4; color: var(--muted); margin: 12px 0 0; }
.demo-note { padding: 9px 11px; margin: 14px 0 0; border: 1px dashed #bba48b; font-size: 11px; line-height: 1.4; color: #6f5843; border-radius: 3px; }
.form-status { font-size: 13px; line-height: 1.4; color: var(--red); margin: 15px 0 0; padding: 11px; border: 1px solid #d7b5ad; border-radius: 3px; background: #fff7ef50; }
.form-status[data-kind='demo'] { color: #5a5146; border-color: #c8bbaa; }
.honey-field { position: absolute; left: -10000px; height: 0; overflow: hidden; }
.success-view { text-align: center; padding: 55px 0 22px; }
.success-icon { display: grid; place-items: center; border-radius: 50%; background: var(--red) var(--felt); width: 74px; height: 74px; color: var(--paper); margin: 0 auto 25px; }
.success-icon .icon { width: 38px; height: 38px; }
.success-view p { font-size: 16px; line-height: 1.5; margin: 20px 0 30px; overflow-wrap: anywhere; }
.success-view .felt-button { width: 100%; font-size: 21px; min-height: 58px; }
.noscript-note { padding: 20px; font-size: 15px; text-align: center; }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1550px) {
  .hero { margin-top: 43px; }
  .hero-visual { top: -115px; }
  .hero-cta { width: 350px; }
}
@media (min-width: 961px) and (max-width: 1100px) {
  .offer-strip { min-height: 86px; }
  .gift-badge { width: 71px; }
  .offer-landscape { width: 235px; opacity: .7; }
  .brand-header { margin-top: 24px; }
  .brand { font-size: 31px; }
  .brand img { width: 32px; height: 36px; }
  .hero { margin-top: 33px; min-height: 413px; }
  .hero-copy { width: 39%; }
  h1 { font-size: clamp(41px,4.55vw,50px); }
  .hero-tagline { font-size: 24px; }
  .hero-visual { width: 65%; right: -6%; top: -65px; }
  .capabilities { margin-top: 24px; }
  .capabilities-list { column-gap: 8px; row-gap: 13px; }
  .capabilities-list li { gap: 7px; font-size: 14px; }
  .capabilities-list li:nth-child(even) { padding-left: 10px; }
  .capabilities-list .icon { width: 23px; height: 23px; }
  .together { font-size: 17px; margin-left: 30px; }
  .hero-cta { min-height: 58px; margin-top: 20px; font-size: 21px; width: 280px; }
  .benefits { width: 92%; margin-top: 0; gap: 15px; }
  .benefit { gap: 11px; }
  .benefit + .benefit { padding-left: 14px; }
  .benefit-icon { width: 50px; height: 50px; }
  .benefit-icon .icon { width: 28px; height: 28px; }
  .benefit h2 { font-size: 17px; }
  .benefit p { font-size: 13px; }
}
@media (max-width: 960px) {
  html { scrollbar-gutter: auto; }
  .page-shell { max-width: 600px; }
  .offer-strip { min-height: 69px; width: calc(100% - 18px); margin: 9px 9px 0; padding: 7px 12px; }
  .offer-content { gap: 10px; }
  .gift-badge { width: 48px; }
  .offer-copy { font-size: clamp(17px, 4.65vw, 26px); letter-spacing: -.045em; }
  .offer-copy strong { font-size: 1.14em; }
  .offer-copy strong::after { height: 2px; bottom: -3px; }
  .offer-landscape { width: 125px; height: 40px; opacity: .18; }
  .gift-rays { display: none; }
  .brand-header { margin: 25px 24px 0; }
  .brand { font-size: 29px; gap: 9px; }
  .brand img { width: 29px; height: 32px; }
  .hero { min-height: 0; margin-top: 29px; display: flex; flex-direction: column; }
  .hero-copy { margin: 0; padding: 0 24px; width: 100%; max-width: none; }
  h1 { font-size: clamp(42px,13.5vw,72px); line-height: .96; letter-spacing: -.058em; }
  .hero-tagline { font-size: clamp(22px,6.1vw,33px); margin-top: 14px; line-height: 1.1; }
  .capabilities { margin-top: 25px; max-width: 385px; }
  .capabilities-list { grid-template-columns: 1.05fr 1fr; gap: 13px 18px; }
  .capabilities-list li { font-size: clamp(14px,3.9vw,18px); gap: 10px; }
  .capabilities-list .icon { width: 25px; height: 25px; }
  .capabilities-list li:nth-child(even) { padding-left: 17px; }
  .together { margin: 9px 0 0 35px; font-size: 17px; }
  .hero-cta { width: 100%; max-width: none; min-height: 61px; margin-top: 21px; font-size: 23px; justify-content: space-between; padding: 16px 25px; }
  .hero-visual { position: relative; top: auto; right: auto; width: 109%; margin: 15px -4.5% 0; }
  .benefits { width: auto; margin: -5px 24px 0; padding: 0; grid-template-columns: 1fr; gap: 0; }
  .benefits::before { display: none; }
  .benefit, .benefit + .benefit { padding: 19px 0; border-left: 0; gap: 16px; align-items: center; }
  .benefit + .benefit { border-top: 1px solid var(--line); }
  .benefit-icon { width: 58px; height: 58px; }
  .benefit-icon .icon { width: 31px; height: 31px; }
  .benefit h2 { font-size: 22px; margin: 0 0 5px; }
  .benefit p { font-size: 15px; line-height: 1.35; max-width: 310px; }
  .page-footer { justify-content: space-between; gap: 15px; margin: 19px 24px 22px; font-size: 10px; }
  .lead-dialog { width: 100%; max-width: 600px; max-height: calc(100dvh - 12px); margin: auto auto 0; border-radius: 17px 17px 0 0; }
  .modal-card { padding: 21px 24px max(21px, env(safe-area-inset-bottom)); }
  .modal-card::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 4px; background: #c2b5a5; margin: -10px auto 14px; }
  .close-button { top: 15px; right: 15px; width: 36px; height: 36px; }
  .modal-gift { width: 53px; margin-bottom: 8px; }
  .modal-eyebrow { font-size: 9px; margin-bottom: 8px; }
  .lead-dialog h2 { font-size: 34px; }
  .modal-description { font-size: 14px; margin: 12px 0 20px; }
  .form-field { margin-bottom: 12px; }
  .property-fieldset { margin: 16px 0; }
  .submit-button { font-size: 17px; }
}
@media (max-width: 359px) {
  .brand-header { margin-left: 20px; }
  .hero-copy { padding-inline: 20px; }
  h1 { font-size: 37px; }
  .hero-tagline { font-size: 21px; }
  .capabilities-list { column-gap: 10px; }
  .capabilities-list li { font-size: 13px; gap: 7px; }
  .capabilities-list li:nth-child(even) { padding-left: 10px; }
  .modal-card { padding-inline: 19px; }
  .lead-dialog h2 { font-size: 31px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* The sliced scene already has an organic bottom edge; avoid an extra paper seam. */
.benefits::before { display: none; }
