/* Home layout on the dashboard's shared .workspace visual system. */
.home-page main, .home-page .site-footer, .home-page .legal-links {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}
.home-page main { padding-bottom: 40px; }
.home-page section { padding: 28px 0; scroll-margin-top: 88px; }
.home-page h2 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin: 0 0 20px; }
.home-page h3 { font-size: 1rem; line-height: 1.4; }
.home-page .hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: 48px 0 40px;
}
.home-page .hero-copy { min-width: 0; }
.home-page h1 { max-width: 23ch; margin: 0; text-wrap: balance; }
.home-page .hero .lede { max-width: 56ch; }
.home-page .cta-row { margin: 24px 0 12px; gap: 10px; }
.home-page .fine { font-size: .8rem; line-height: 1.6; }
.home-assurance { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; color: #315f4d; font-size: .82rem; font-weight: 800; }
.home-preview { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; min-width: 0; }
.home-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; }
.home-preview-heading .eyebrow { font-size: .6rem; margin: 0 0 5px; }
.home-preview-heading h2 { font-size: 1.05rem; margin: 0; }
.home-preview-label { flex: none; padding: 5px 8px; background: #e8f4ef; color: #226452; border-radius: 6px; font-size: .66rem; font-weight: 800; }
.home-unit { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: start; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.home-unit-photo { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; width: 92px; height: 106px; border-radius: 9px; background: #e8ede4; color: #65735f; overflow: hidden; font-size: .7rem; }
.home-unit-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-unit-info { min-width: 0; }
.home-unit-location { margin: 0 0 4px; color: var(--muted); font-size: .73rem; font-weight: 700; }
.home-page .home-unit h3 { font-family: Nunito, sans-serif; font-size: .92rem; line-height: 1.4; letter-spacing: 0; margin: 0 0 6px; overflow-wrap: anywhere; }
.home-unit h3 a { text-decoration: none; color: var(--ink); }
.home-unit h3 a:hover { color: var(--orange-ink); text-decoration: underline; }
.home-unit .size-chip { display: inline-block; }
.home-unit-closing { display: flex; align-items: start; gap: 5px; margin: 8px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.home-unit-closing .ui-icon { width: 13px; height: 13px; margin-top: 2px; }
.home-unit-source { display: inline-flex; align-items: center; min-height: 30px; color: #a23a14; font-size: .8rem; font-weight: 800; text-underline-offset: 3px; }
.home-unit-score { display: grid; gap: 2px; text-align: center; padding: 7px; border: 1px solid var(--line); border-radius: 9px; color: #263c30; }
.home-unit-score strong { font: 600 1.15rem/1.2 Sora, sans-serif; letter-spacing: -.04em; }
.home-unit-score span { text-transform: uppercase; font-size: .55rem; font-weight: 800; letter-spacing: .03em; white-space: nowrap; }
.home-preview-more { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; padding-top: 12px; border-top: 1px solid var(--line); color: #315f4d; text-decoration: none; font-weight: 800; font-size: .8rem; }
.home-preview-more:hover { text-decoration: underline; }
.home-preview-empty { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: .9rem; }
.home-preview-empty h3 { color: var(--ink); }
.home-page .steps, .home-page .facts { gap: 16px; }
.home-page .steps li, .home-page .facts li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.home-page .steps .metric-icon { margin-bottom: 16px; }
.home-page .steps strong { display: block; font-size: .95rem; }
.home-page .steps p, .home-page .facts p { color: var(--muted); font-size: .88rem; line-height: 1.65; margin: 9px 0 0; }
.home-page .facts h3 { margin: 0; font-size: .9rem; }
.home-page .area-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.home-page .chip-link { display: inline-flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 46px; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: #43564d; font-size: .85rem; }
.home-page .chip-link:hover { background: #edf3ed; border-color: #afc2ad; }
.home-page .chip-link .ui-icon { width: 15px; height: 15px; }
.home-page .note { background: #e8f1eb; border: 1px solid #d9e5dc; color: #294d3b; border-radius: 14px; padding: 26px; margin: 28px 0; }
.home-page .note h2 { margin-bottom: 10px; }
.home-page .note p { max-width: 90ch; margin: 0; font-size: .95rem; line-height: 1.65; }
.home-page .note a { color: #294d3b; font-weight: 800; text-underline-offset: 3px; }
.home-page .access { background: transparent; border-radius: 0; }
.home-page .access > p { max-width: 90ch; line-height: 1.65; }
.home-page .plan-options { gap: 20px; }
.home-page .plan-option { padding: 26px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); }
.home-page .plan-option-pro { border-color: #b5cbbb; background: #f0f5ef; }
.home-page .plan-option h2 { font-size: 1.4rem; }
.home-page .plan-option .plan-price { font-size: 1.8rem; color: var(--ink); }
.home-page .plan-option li { font-size: .9rem; }
.home-page .waitlist { gap: 12px; padding: 20px; border: 1px solid var(--line); background: #fff; border-radius: 14px; }
.home-page .waitlist label { color: #5b675f; font-size: .78rem; }
.home-page .waitlist > label:first-child { flex: 1 1 240px; }
.home-page .waitlist input { min-height: 44px; border: 1px solid #dce2d9; background: #fafbf8; border-radius: 9px; color: var(--ink); font-size: .9rem; }
.home-page .waitlist input[type="email"] { width: 100%; }
.home-page .access-actions { margin: 24px 0 12px; }
.home-page .site-footer { padding: 28px 0; border-top: 1px solid var(--line); gap: 30px; font-size: .8rem; }
.home-page .site-footer strong { color: var(--ink); }
.home-page .site-footer nav a { display: inline-flex; align-items: center; min-height: 36px; }
@media (max-width: 980px) {
  .home-page .hero { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 32px; }
  .home-page h1 { max-width: 28ch; }
  .home-page .site-nav { background: #fff; box-shadow: 0 12px 24px #23362912; }
  .home-page .site-nav a { min-height: 44px; display: flex; align-items: center; }
}
@media (max-width: 640px) {
  .home-page main, .home-page .site-footer, .home-page .legal-links { width: calc(100% - 32px); }
  .home-page .site-header { padding-inline: 16px; }
  .home-page section { padding-block: 22px; }
  .home-page .hero { padding: 28px 0 16px; }
  .home-page .hero .eyebrow { font-size: .6rem; }
  .home-page .hero .lede { font-size: .92rem; }
  .home-page .cta-row { flex-direction: column; }
  .home-page .btn { min-height: 46px; }
  .home-preview { padding: 16px; }
  .home-unit { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; padding-block: 16px; }
  .home-unit-photo { width: 64px; height: 86px; }
  .home-unit-score { padding: 5px; }
  .home-unit-score strong { font-size: 1rem; }
  .home-unit-score span { font-size: .5rem; }
  .home-unit-source { min-height: 44px; }
  .home-page .steps li, .home-page .facts li { padding: 20px; }
  .home-page .note, .home-page .plan-option { padding: 20px; }
  .home-page .waitlist { flex-direction: column; align-items: stretch; padding: 16px; }
  .home-page .waitlist > label:first-child { flex: auto; }
  .home-page .waitlist input[name="zip_code"] { width: 100%; }
  .home-page .chip-link { flex: 1 1 140px; }
}
@media (max-width: 359px) {
  .home-preview-heading { flex-wrap: wrap; }
  .home-unit { grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: 68px auto; }
  .home-unit-photo { width: 52px; height: 68px; }
  .home-unit-score { grid-column: 1; grid-row: 2; align-self: start; }
  .home-unit-info { grid-column: 2; grid-row: 1 / span 2; }
}
