/* Report — verdict-first fintech dashboard. Multi-column desktop → single column mobile. */
body { padding: 24px; }
.wrap { max-width: 1040px; margin: 0 auto; }

.header { display: flex; align-items: center; gap: 10px; padding: 0 4px 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink); }
.brand .mk { width: 26px; height: 26px; border-radius: 50%; background: var(--emerald-deep); display: flex; align-items: center; justify-content: center; }
.brand .mk svg { width: 15px; height: 15px; stroke: #fff; }
.addr { margin-left: 14px; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-soft); min-width: 0; }
.addr svg { width: 14px; height: 14px; stroke: var(--emerald); flex: none; }
.addr .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52vw; }
.pill-scan { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--emerald-deep); background: var(--emerald-tint); padding: 5px 11px; border-radius: 20px; }
.pill-scan svg { width: 13px; height: 13px; stroke: var(--emerald-deep); }

.scanning { padding: 120px 24px; text-align: center; }
.scanning .dot { width: 40px; height: 40px; margin: 0 auto 18px; border-radius: 50%; border: 2px solid var(--emerald-tint); border-top-color: var(--emerald); animation: spin .8s linear infinite; }
.scanning p { font-size: 14px; color: var(--ink-soft); }

.hero { position: relative; overflow: hidden; background: linear-gradient(120deg, #0B5C44 0%, #0E7A57 55%, #16A578 100%); border-radius: 24px; padding: 30px 34px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 30px; }
.hero .house { position: absolute; right: 34px; bottom: -30px; width: 200px; height: 200px; opacity: .14; }
.hero .house svg { width: 100%; height: 100%; stroke: #fff; }
.hv { flex: 1.5; position: relative; z-index: 1; }
.hv .eyebrow { font-size: 13px; color: var(--emerald-light); margin-bottom: 10px; }
.hv .total { font-size: 64px; font-weight: 500; color: #fff; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hv .total .per { font-size: 22px; color: var(--emerald-light); font-weight: 500; letter-spacing: 0; }
.hv .subline { font-size: 15px; color: #DFF3EA; margin-top: 14px; }
.hv .subline b { color: #fff; font-weight: 500; }
.hk { position: relative; z-index: 1; display: flex; align-items: center; gap: 26px; padding-left: 30px; border-left: 1px solid rgba(255,255,255,.18); }
.ring { position: relative; width: 96px; height: 96px; flex: none; }
.ring svg { transform: rotate(-90deg); }
.ring .lab { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring .pct { font-size: 23px; font-weight: 500; color: #fff; }
.ring .cap { font-size: 10px; color: var(--emerald-light); }
.hk .rec .k { font-size: 12px; color: var(--emerald-light); margin-bottom: 5px; }
.hk .rec .v { font-size: 30px; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.hk .rec .s { font-size: 12px; color: #DFF3EA; margin-top: 4px; }

.row4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 16px; }
.stat { background: var(--card); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.stat .k { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-faint); margin-bottom: 8px; }
.stat .k svg { width: 14px; height: 14px; stroke: var(--ink-faint); }
.stat .v { font-size: 26px; font-weight: 500; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.stat .v.em { color: var(--emerald); }

.row3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 16px; align-items: start; }
.block { background: var(--card); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.block .bh { display: flex; align-items: baseline; gap: 6px; margin-bottom: 16px; }
.block .bh .t { font-size: 15px; font-weight: 500; color: var(--ink); }
.block .bh .r { margin-left: auto; font-size: 12px; color: var(--ink-faint); }

.donutwrap { display: flex; align-items: center; gap: 16px; }
.donut { flex: none; position: relative; width: 104px; height: 104px; }
.donut .ctr { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut .ctr .n { font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; }
.donut .ctr .c { font-size: 9px; color: var(--ink-faint); }
.dleg { flex: 1; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.dleg .lrow { display: flex; align-items: center; gap: 8px; }
.dleg .sw { width: 9px; height: 9px; border-radius: 2px; flex: none; }
.dleg .lab { font-size: 12px; color: var(--ink-soft); }
.dleg .amt { margin-left: auto; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.recover { display: flex; align-items: center; gap: 8px; margin-top: 15px; padding-top: 14px; border-top: 0.5px solid #EEEBE2; }
.recover .sw { width: 9px; height: 9px; border-radius: 2px; background: var(--emerald); }
.recover .t { font-size: 12px; color: var(--emerald-deep); font-weight: 500; }
.recover .n { margin-left: auto; font-size: 11px; color: var(--ink-faint); }
.note { font-size: 11px; color: var(--ink-faint); margin-top: 12px; line-height: 1.5; }

.chartwrap { height: 130px; }
.chartwrap svg { width: 100%; height: 100%; overflow: visible; }
.chartfoot { display: flex; align-items: center; margin-top: 8px; }
.chartfoot .t { font-size: 12px; color: var(--ink-soft); }
.chartfoot .v { margin-left: auto; font-size: 14px; font-weight: 500; color: var(--amber-ink); }

.starthere { background: var(--card); border: 1.5px solid var(--emerald); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.starthere .eyebrow { font-size: 12px; color: var(--emerald-deep); margin-bottom: 7px; }
.starthere .title { font-size: 18px; font-weight: 500; color: var(--ink); }
.starthere .meta { font-size: 13px; color: var(--ink-soft); margin-top: 8px; line-height: 1.5; flex: 1; }

.cta { width: 100%; margin-top: 16px; border: none; border-radius: 14px; padding: 14px; font-size: 15px; font-weight: 600; font-family: var(--font-head); cursor: pointer; transition: transform .1s ease, box-shadow .15s ease; text-align: center; text-decoration: none; display: block; }
.cta:active { transform: scale(.98); }
.cta.primary { background: linear-gradient(135deg, var(--emerald-deep), var(--emerald)); color: #fff; box-shadow: 0 12px 28px -10px rgba(11,92,68,.5); }
.cta.primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(11,92,68,.6); }
.cta.soft { background: var(--emerald-tint); color: var(--emerald-tint-ink); }
.cta.warn { background: var(--amber-tint); color: var(--amber-tint-ink); }
.cta[disabled] { opacity: .85; cursor: default; }
.cta-note { font-size: 11px; color: var(--ink-faint); text-align: center; margin-top: 7px; }

.findtoggle { display: block; margin: 26px auto 0; background: none; border: none; color: var(--ink-soft); font-size: 13px; font-family: var(--font); cursor: pointer; min-height: 24px; padding: 5px 10px; }
.findtoggle:hover { color: var(--ink); }
.findhead { font-size: 15px; font-weight: 500; color: var(--ink); margin: 24px 4px 4px; }
.card { background: var(--card); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card .head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.card .head svg { width: 18px; height: 18px; stroke: #3A3F3B; flex: none; }
.card .head .title { font-size: 14px; font-weight: 500; color: var(--ink); }
.pill { margin-left: auto; font-size: 11px; padding: 3px 9px; border-radius: 20px; }
.pill.save { color: var(--emerald-deep); background: var(--emerald-tint); }
.pill.expose { color: var(--amber-tint-ink); background: var(--amber-tint); }
.pill.calm { color: var(--ink-soft); background: #EFEEE7; }
.value { display: flex; align-items: baseline; gap: 6px; }
.value .num { font-size: 28px; font-weight: 500; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.value .num.save { color: var(--emerald); }
.value .num.expose { color: var(--amber-ink); }
.value .num.calm { color: var(--ink); }
.value .unit { font-size: 12px; color: var(--ink-soft); }
.basis { font-size: 12px; color: var(--ink-soft); margin-top: 9px; line-height: 1.55; flex: 1; }

/* optional manual / premium inputs (honest refinement) */
.refine { margin-top: 12px; }
.refine-link { background: none; border: none; color: var(--emerald-deep); font-size: 12px; font-family: var(--font); cursor: pointer; padding: 4px 6px; min-height: 24px; }
.refine-form { margin-top: 10px; display: none; }
.refine-form.open { display: block; }
.refine-form label { display: block; font-size: 11px; color: var(--ink-faint); margin-bottom: 6px; }
.refine-form .ri { display: flex; gap: 8px; }
.refine-form input { flex: 1; min-width: 0; padding: 10px 11px; font-size: 14px; font-family: var(--font); border: 0.5px solid #E0DCD2; border-radius: 10px; background: #fff; color: var(--ink); }
.refine-form input:focus { outline: 2px solid var(--emerald); border-color: var(--emerald); }
.refine-form button { flex: none; border: none; background: var(--emerald-tint); color: var(--emerald-tint-ink); border-radius: 10px; padding: 0 14px; font-size: 13px; font-weight: 500; font-family: var(--font); cursor: pointer; }

.footrow { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-top: 16px; align-items: center; }
.calendar { background: var(--card); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 16px; }
.calendar .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--emerald-tint); display: flex; align-items: center; justify-content: center; flex: none; }
.calendar .ic svg { width: 19px; height: 19px; stroke: var(--emerald-deep); }
.calendar .tx .t { font-size: 13px; font-weight: 500; color: var(--ink); }
.calendar .tx .n { font-size: 12px; color: var(--ink-soft); margin-top: 3px; }
.calendar .add { margin-left: auto; background: transparent; border: 1px solid var(--emerald); color: var(--emerald-deep); border-radius: 12px; padding: 11px 18px; font-size: 13px; font-weight: 500; font-family: var(--font); cursor: pointer; white-space: nowrap; }
.disclosure { font-size: 11px; color: var(--ink-faint); line-height: 1.55; }
.disclosure a { color: var(--ink-soft); }
.foot-links { text-align: center; margin-top: 18px; font-size: 12px; color: var(--ink-faint); }
.foot-links a { color: var(--ink-faint); margin: 0 8px; }

/* cross-CTA to the Sell vs. Rent tool (carries AVM value over) */
.crosscta { display: flex; align-items: center; gap: 18px; margin-top: 16px; background: var(--card); border: 1.5px solid var(--line); border-left: 4px solid var(--emerald); border-radius: 0 18px 18px 0; padding: 18px 22px; box-shadow: var(--shadow); text-decoration: none; }
.crosscta .cc-t { font-size: 15px; font-weight: 500; color: var(--ink); }
.crosscta .cc-n { font-size: 13px; color: var(--ink-soft); margin-top: 3px; line-height: 1.5; }
.crosscta .cc-go { margin-left: auto; flex: none; font-size: 14px; font-weight: 500; color: var(--emerald-deep); white-space: nowrap; }
@media (max-width: 560px) { .crosscta { flex-wrap: wrap; } .crosscta .cc-go { margin-left: 0; } }

.report { opacity: 0; } .report.show { opacity: 1; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.report.revealed .reveal { opacity: 1; transform: translateY(0); }
.report.revealed .hero { transition-delay: .05s; }
.report.revealed .row4 { transition-delay: .16s; }
.report.revealed .row3 { transition-delay: .26s; }
.report.revealed .findwrap { transition-delay: .36s; }
.report.revealed .footrow { transition-delay: .46s; }

@media (max-width: 920px) {
  body { padding: 18px 14px; }
  .wrap { max-width: 460px; }
  .addr .t { max-width: 60vw; }
  .hero { flex-direction: column; align-items: flex-start; gap: 22px; padding: 24px; }
  .hv .total { font-size: 50px; }
  .hk { padding-left: 0; border-left: none; border-top: 1px solid rgba(255,255,255,.18); padding-top: 20px; width: 100%; }
  .row4 { grid-template-columns: 1fr 1fr; }
  .row3 { grid-template-columns: 1fr; }
  .footrow { grid-template-columns: 1fr; }
  .calendar { flex-wrap: wrap; } .calendar .add { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .scanning { display: none; }
  .report { opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scanning .dot { animation: none; }
}

/* family-of-sites line (hub link pending) */
.foot-links .fam { display: block; margin-top: 6px; }

/* ---------- due-diligence hazard layer (free federal data) ---------- */
.hz-block { margin-top: 22px; background: var(--card); border: 1px solid rgba(31,36,33,.08); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.hz-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.hz-ic { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--emerald-tint); color: var(--emerald-deep); }
.hz-ic svg { width: 20px; height: 20px; }
.hz-h { font-weight: 500; color: var(--ink); font-size: 16px; }
.hz-sub { color: var(--ink-soft); font-size: 13px; margin-top: 2px; }
.hz-loading { color: var(--ink-faint); font-size: 14px; padding: 6px 2px; }
.hz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hz-card { border: 1px solid rgba(31,36,33,.08); border-radius: 14px; padding: 14px 15px; background: #FCFBF8; }
.hz-card.hz-degraded { background: var(--paper); border-style: dashed; }
.hz-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.hz-title { font-weight: 500; color: var(--ink); font-size: 13px; letter-spacing: .01em; }
.hz-pill { font-size: 11px; color: var(--ink-faint); background: #fff; border: 1px solid rgba(31,36,33,.12); border-radius: 999px; padding: 1px 8px; }
.hz-headline { color: var(--ink); font-size: 14px; line-height: 1.4; margin: 0 0 6px; }
.hz-detail { color: var(--ink-soft); font-size: 12.5px; line-height: 1.45; margin: 0 0 8px; }
.hz-src { display: inline-block; color: var(--emerald); font-size: 12.5px; font-weight: 500; text-decoration: none; }
.hz-src:hover { text-decoration: underline; }
.hz-foot { color: var(--ink-faint); font-size: 11.5px; line-height: 1.5; margin: 14px 2px 0; }
@media (max-width: 640px) { .hz-grid { grid-template-columns: 1fr; } }

/* Sample-report notice: shown only for the homepage demo link, so an example
   report can never be mistaken for a real property's records. */
.samplebar {
  background: var(--amber-tint, #FDF4E3); border: 1.5px solid var(--amber-line, #E8D3A9);
  color: var(--ink); border-radius: 12px; padding: 12px 16px; margin: 0 0 16px;
  font-size: 14px; line-height: 1.5;
}
.samplebar a { color: var(--emerald-deep); font-weight: 600; }
