/* Shared by For owners (/owners) and Sell with Homee (/sell). Phone first; desktop from 900px. */

/* Buttons the base set does not have */
.btn--flat { border-width: 0; }
.btn--lg { min-height: 52px; padding: 0 24px; font-size: 17px; }
.btn--outline-white { background: transparent; color: #FFFFFF; border-color: #FFFFFF; }
.btn--outline-white:hover, .btn--outline-white:focus-visible { background: var(--coral); border-color: var(--coral); color: #FFFFFF; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 600; font-size: 16px; }
.text-link--light, .text-link--light:hover { color: #FFFFFF; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: auto; }
.cta-row--spaced { margin-top: 6px; }
.cta-row__main { flex: 1 1 200px; }
@media (min-width: 900px) { .cta-row__main { flex: none; } }

/* Icon tiles */
.tile { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #EAF1FD; color: var(--navy); }
.tile--md { width: 48px; height: 48px; }
.tile--sm { width: 40px; height: 40px; }
.tile--coral { background: #FFE9E3; color: var(--coral-text); }
.tile--navy { background: var(--navy); color: #FFFFFF; }

/* Hero */
.lead-hero { position: relative; min-height: 440px; display: flex; align-items: flex-end; padding: 40px 20px; color: #FFFFFF; overflow: hidden; }
.lead-hero--overlap { padding-bottom: 96px; }
.lead-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.lead-hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,26,48,0.9) 0%, rgba(15,26,48,0.55) 50%, rgba(15,26,48,0.15) 100%); }
.lead-hero__inner { position: relative; max-width: var(--wrap); width: 100%; margin: 0 auto; }
.lead-hero__text { max-width: 640px; display: flex; flex-direction: column; gap: 14px; }
.lead-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(15,26,48,0.55); }
.lead-hero__eyebrow .icon { display: block; }
.lead-hero h1 { margin: 0; font-family: var(--head); font-weight: 700; font-size: 36px; line-height: 1.04; letter-spacing: -0.025em; }
.lead-hero__mark { background: linear-gradient(transparent 78%, rgba(255,107,74,0.9) 78%, rgba(255,107,74,0.9) 92%, transparent 92%); padding: 0 2px; }
.lead-hero p { margin: 0; font-size: 16px; line-height: 1.55; max-width: 540px; }
.lead-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
@media (min-width: 900px) {
  .lead-hero { min-height: 560px; padding: 72px 32px; }
  .lead-hero--overlap { padding-bottom: 168px; }
  .lead-hero__shade { background: linear-gradient(to right, rgba(15,26,48,0.84) 0%, rgba(15,26,48,0.62) 36%, rgba(15,26,48,0.12) 64%, rgba(15,26,48,0) 100%); }
  .lead-hero__text { gap: 20px; }
  .lead-hero h1 { font-size: 60px; }
  .lead-hero p { font-size: 19px; }
}

/* Bands and section headings */
.band { padding: 40px 20px; }
.band--blue { background: var(--blue); }
.band--flush-top { padding-top: 0; }
.band__inner { max-width: var(--wrap); margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.sec-head { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.sec-head .h-section, .inquire .h-section { line-height: 1.08; }
.sec-head p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.sec-head--on-blue p { color: var(--ink-2); }
@media (min-width: 900px) {
  .band { padding: 88px 32px; }
  .band--flush-top { padding-top: 0; }
  .band__inner { gap: 40px; }
  .sec-head p { font-size: 18px; }
}

/* Tick lists */
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks__mark { display: inline-flex; margin-top: 3px; }
.checks--on-navy { gap: 8px; }
.checks--on-navy .checks__mark { color: var(--coral); }
@media (min-width: 900px) { .checks { font-size: 17px; } .checks--on-navy { font-size: 16px; } }

/* Numbered steps */
.steps { position: relative; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr; gap: 24px; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.steps__num { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 999px; background: var(--navy); color: #FFFFFF; display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 20px; box-shadow: 0 0 0 8px #FFFFFF; }
.steps__title { margin-top: 6px; font-family: var(--head); font-weight: 600; font-size: 21px; }
.steps__text { font-size: 16px; line-height: 1.6; color: var(--muted); }
@media (min-width: 900px) {
  .steps { --cols: 4; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 32px; }
  .steps--5 { --cols: 5; }
  /* dashed line from the first number to the last */
  .steps::before { content: ""; position: absolute; left: 24px; right: calc((100% - (var(--cols) - 1) * 32px) / var(--cols) - 24px); top: 23px; height: 2px; background: repeating-linear-gradient(to right, #A9BBDA 0 8px, transparent 8px 16px); }
}

/* "Have questions first?" */
.ask-note { background: var(--cream); border-radius: 20px; padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: center; justify-content: space-between; font-size: 16px; }
.ask-note__lead { font-family: var(--head); font-weight: 600; }
.ask-note a { min-height: 44px; display: inline-flex; align-items: center; font-family: var(--head); font-weight: 600; font-size: 16px; }
@media (min-width: 900px) { .ask-note { padding: 24px 28px; font-size: 17px; } }

/* Inquiry section: intro beside a white card holding the form */
.inquire { background: var(--mist); padding: 40px 16px; scroll-margin-top: 24px; }
.inquire__inner { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.inquire__intro { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 0 4px; }
.inquire__card { flex: 1 1 560px; min-width: 0; background: #FFFFFF; border-radius: 24px; padding: 20px 18px; }
.inquire__contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 6px; font-size: 16px; }
.inquire__contacts a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: none; } /* 44px tap target on phones */
.inquire__contacts a:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .inquire { padding: 88px 32px; }
  .inquire__inner { gap: 48px; }
  .inquire__intro { padding: 0; }
  .inquire__contacts a { min-height: 32px; }
  .inquire--sell .inquire__contacts a { min-height: 0; }
  .inquire__card { padding: 32px; }
}

/* The form itself */
.oform { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.oform__wide { grid-column: 1 / -1; }
.oform__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 14px; font-weight: 500; }
.oform__field input, .oform__field select, .oform__field textarea { width: 100%; min-width: 0; border: 1px solid var(--line-strong); border-radius: 12px; font-size: 16px; font-weight: 400; color: var(--navy); background: #FFFFFF; }
.oform__field input, .oform__field select { height: 48px; padding: 0 12px; }
.oform__field textarea { display: block; padding: 12px 14px; resize: vertical; }
.oform [aria-invalid="true"] { border-color: #B3261E; }
.oform__error { font-size: 13px; font-weight: 500; color: #B3261E; }
.oform__alert { margin: 0; padding: 12px 14px; border-radius: 12px; background: #FDECEA; color: #8C1D18; font-size: 15px; line-height: 1.5; }
.oform__send { justify-self: stretch; min-height: 52px; padding: 0 26px; border: 0; border-radius: 12px; background: var(--coral); color: #FFFFFF; font-family: var(--head); font-weight: 600; font-size: 17px; cursor: pointer; transition: background-color .2s ease; }
.oform__send:hover, .oform__send:focus-visible { background: var(--coral-dark); }
.oform__send:disabled { opacity: .7; cursor: default; }
.oform__note { margin: 0; font-size: 14px; color: var(--muted); }
@media (min-width: 900px) { .oform__send { justify-self: start; } }

/* Sent state */
.sent { display: flex; flex-direction: column; gap: 10px; padding: 24px 0; }
.sent:focus { outline: none; }
.sent__title { font-family: var(--head); font-weight: 700; font-size: 28px; }
.sent__text { font-size: 17px; line-height: 1.6; color: var(--muted); }
