/* ============================================================
   toDate — Cost Catalogue · design tokens + base
   Fintech-clean: warm paper, evergreen primary, mono data
   ============================================================ */

:root {
  /* surfaces */
  --paper:      #F7F3EF;
  --paper-2:    #EDE9E3;
  --surface:    #FFFFFF;
  --surface-2:  #FAF8F5;

  /* ink (navy) */
  --ink:        #0E1726;
  --ink-2:      #46577A;
  --muted:      #596579;
  --faint:      #97A1B2;

  /* lines */
  --line:       rgba(14,23,38,.10);
  --line-2:     rgba(14,23,38,.06);
  --line-strong:rgba(14,23,38,.16);

  /* brand — Rausch red */
  --brand:      #FF5A5F;
  --brand-deep: #E23B40;
  --brand-soft: #FFF0F0;
  --brand-tint: #FFF6F4;
  --brand-ring: rgba(255,90,95,.34);

  /* navy / dark surfaces */
  --navy:       #0E1726;
  --navy-2:     #13233B;

  /* secondary blue */
  --blue-tint:  #EEF5FC;
  --blue:       #1E40AF;
  --blue-soft:  #CFE3FF;

  /* green — fair floor / under-market / success */
  --green:      #0E9D63;
  --green-deep: #067647;
  --green-soft: #D8F3E3;
  --green-band: #CCEEDC;
  --green-tint: #ECFDF3;

  /* semantics for the gauge */
  --below:      #2C6E8F;   /* under market (leaner) */
  --below-soft: #E7F1F6;
  --above:      #E23B40;   /* over market (red, floor) */
  --above-soft: #FFF0F0;
  --amber:      #C08A1E;   /* medium confidence */

  /* type */
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* radius */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  /* shadow */
  --sh-1: 0 1px 2px rgba(14,23,38,.04), 0 1px 3px rgba(14,23,38,.05);
  --sh-2: 0 2px 6px rgba(14,23,38,.05), 0 10px 24px rgba(14,23,38,.08);
  --sh-3: 0 10px 30px rgba(14,23,38,.10), 0 30px 70px rgba(14,23,38,.12);
  --sh-brand: 0 18px 35px -18px rgba(255,90,95,.9);

  --maxw: 1200px;

  /* rating / save (Airbnb/Zillow chrome) */
  --star:       #1F8A5B;
  --heart:      #E5484D;
  --rausch:     #E5484D;

  /* category duotone media tints: --c-<cat>  bg / --ca-<cat> accent */
  --c-kitchen:#F3EFE6; --ca-kitchen:#9C7A3C;
  --c-bath:#E9F0F2;    --ca-bath:#3C7E93;
  --c-windows:#EAF1ED; --ca-windows:#3F8163;
  --c-exterior:#F2ECE7; --ca-exterior:#A2683E;
  --c-electrical:#F2EEE3; --ca-electrical:#9A7B23;
  --c-plumbing:#E8EEF1; --ca-plumbing:#3E6E86;
  --c-energy:#EEF1E6;  --ca-energy:#6E7F33;
  --c-structural:#EFEBE6; --ca-structural:#7E6A52;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
}

#root { min-height: 100vh; position: relative; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(255,90,95,.10), transparent 26%),
    radial-gradient(circle at 90% 0%, rgba(30,64,175,.12), transparent 30%),
    linear-gradient(180deg, #F7F3EF 0%, #EEF3FB 52%, #F8FAFC 100%);
}

.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.mono { font-family: var(--mono); }

button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--brand-soft); }

/* scrollbars (chips row) */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

/* ---------- shell ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,243,239,.78);
  backdrop-filter: saturate(1.4) blur(20px);
  -webkit-backdrop-filter: saturate(1.4) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.7);
}
.topbar-in {
  display: flex; align-items: center; gap: 16px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 9px; user-select: none; cursor: pointer; flex: 0 0 auto; }
.brand-glyph { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; }
.brand .mark {
  font-weight: 900; font-size: 22px; letter-spacing: -.045em; color: var(--ink);
}
.brand .mark b { color: var(--ink); font-weight: 900; }
.brand:hover .mark b { color: var(--brand-deep); }
.livebadge { display: none; align-items: center; gap: 8px; height: 38px; padding: 0 16px;
  border-radius: var(--r-pill); border: 1px solid var(--line); background: rgba(255,255,255,.7);
  font-size: 12.5px; font-weight: 800; color: var(--muted); box-shadow: var(--sh-1); white-space: nowrap; }
.livebadge .lb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ opacity: 1; } 50%{ opacity: .35; } }
@media (min-width: 1080px){ .livebadge { display: inline-flex; } }

.spacer { flex: 1; }

/* city select */
.citybtn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 38px; padding: 0 14px; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-pill); color: var(--ink);
  font-weight: 600; font-size: 14px; box-shadow: var(--sh-1);
  transition: border-color .15s, box-shadow .15s, transform .05s;
}
.citybtn:hover { border-color: var(--brand); box-shadow: var(--sh-2); }
.citybtn:active { transform: translateY(1px); }
.citybtn .pin { color: var(--brand); display: flex; }
.citybtn .chev { color: var(--muted); margin-left: 2px; }

/* search */
.searchwrap {
  position: relative; display: flex; align-items: center;
  height: 38px; width: 230px;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-pill); padding: 0 14px 0 38px;
  transition: border-color .15s, box-shadow .15s, width .2s;
  box-shadow: var(--sh-1);
}
.searchwrap:focus-within { border-color: var(--green); box-shadow: var(--sh-2); width: 280px; }
.searchwrap .ic { position: absolute; left: 13px; color: var(--muted); display: flex; }
.searchwrap input {
  border: 0; outline: 0; background: transparent; width: 100%;
  font-family: inherit; font-size: 14px; color: var(--ink);
}
.searchwrap input::placeholder { color: var(--faint); }

/* generic ghost link button in bar */
.ghostlink {
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  padding: 8px 6px; border: 0; background: none;
}
.ghostlink:hover { color: var(--green); }

/* ---------- catalogue header ---------- */
.cat-head { padding: 38px 0 22px; }
.eyebrow {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green); margin: 0 0 14px;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
h1.title {
  font-size: clamp(30px, 4.2vw, 46px); line-height: 1.04; letter-spacing: -.025em;
  font-weight: 800; margin: 0 0 14px; max-width: 18ch; text-wrap: balance;
}
.title .city-em { color: var(--green); }
.lede { font-size: 17px; color: var(--ink-2); margin: 0; max-width: 56ch; }
.statrow {
  display: flex; gap: 26px; flex-wrap: wrap; margin-top: 22px;
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  letter-spacing: .01em;
}
.statrow b { color: var(--ink); font-weight: 600; }
.statrow .sep { color: var(--line-strong); }

/* ---------- controls bar ---------- */
.controls {
  display: flex; align-items: center; gap: 14px;
  padding: 6px 0 22px; position: sticky; top: 72px; z-index: 30;
}
.controls::before {
  content: ""; position: absolute; inset: -10px -40px 0; z-index: -1;
  background: linear-gradient(var(--paper) 72%, rgba(244,244,239,0));
}
.chips { display: flex; gap: 8px; overflow-x: auto; flex: 1; padding-bottom: 2px; }
.chip {
  flex: 0 0 auto; height: 34px; padding: 0 15px;
  border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink-2);
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
  transition: all .14s; display: inline-flex; align-items: center; gap: 7px;
}
.chip .cnt { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip[aria-pressed="true"] {
  background: var(--ink); border-color: var(--ink); color: #fff;
}
.chip[aria-pressed="true"] .cnt { color: rgba(255,255,255,.6); }

.sortbtn {
  flex: 0 0 auto; height: 34px; padding: 0 13px;
  border-radius: var(--r-sm); border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 7px;
}
.sortbtn:hover { border-color: var(--ink-2); color: var(--ink); }

/* ---------- catalogue grid ---------- */
.grid {
  display: grid; gap: 16px; padding-bottom: 64px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px){ .grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 18px 18px 16px;
  box-shadow: var(--sh-1); cursor: pointer;
  transition: transform .16s cubic-bezier(.2,.7,.3,1), box-shadow .16s, border-color .16s;
  display: flex; flex-direction: column; gap: 14px; position: relative;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: var(--line-strong); }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-cat {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.card-ico {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--green-tint); color: var(--green-deep);
  display: grid; place-items: center; border: 1px solid var(--green-band);
}
.card-title { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.card-median { display: flex; align-items: baseline; gap: 7px; }
.card-median .approx { color: var(--muted); font-size: 16px; font-weight: 600; }
.card-median .val { font-size: 27px; font-weight: 800; letter-spacing: -.02em; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
}
.card-foot .rng { color: var(--ink-2); font-weight: 500; }

/* confidence dot */
.conf { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.conf .d { width: 7px; height: 7px; border-radius: 50%; }
.conf.high .d { background: var(--green); }
.conf.med  .d { background: var(--amber); }
.conf.low  .d { background: var(--faint); }

/* ---------- mini gauge (card) ---------- */
.minigauge { width: 100%; height: 30px; }

/* empty state */
.empty { grid-column: 1/-1; text-align: center; padding: 70px 0; color: var(--muted); }
.empty .big { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }

/* ============================================================
   DETAIL VIEW
   ============================================================ */
.detail { padding-bottom: 90px; }
@media (prefers-reduced-motion: no-preference) {
  .detail { animation: rise .3s ease both; }
}
@keyframes rise { from { transform: translateY(8px);} to {transform: none;} }

.backbtn {
  display: inline-flex; align-items: center; gap: 8px; margin: 24px 0 18px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  border: 0; background: none; padding: 6px 0; white-space: nowrap;
}
.backbtn:hover { color: var(--green); }

.detail-head { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.detail-ico {
  width: 60px; height: 60px; border-radius: 16px; flex: 0 0 auto;
  background: var(--green-tint); color: var(--green-deep);
  display: grid; place-items: center; border: 1px solid var(--green-band);
}
.detail-head h2 {
  font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.025em; font-weight: 800;
  margin: 0 0 8px; line-height: 1.05;
}
.scope-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.scope-pill {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px;
  border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
}
.scope-pill .pin { color: var(--green); display: flex; }
.scope-pill.btn:hover { border-color: var(--green); color: var(--ink); }

/* layout */
.detail-grid {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; margin-top: 26px;
  align-items: start;
}
@media (max-width: 860px){ .detail-grid { grid-template-columns: 1fr; } }

.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-1);
}
.panel.pad { padding: 22px 24px; }
.panel-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 4px;
}

/* big median block */
.bigmedian { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.bigmedian .num { display: flex; align-items: baseline; gap: 9px; }
.bigmedian .num .approx { font-size: 26px; font-weight: 600; color: var(--muted); }
.bigmedian .num .v { font-size: clamp(40px, 6vw, 58px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.bigmedian .typ { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.bigmedian .typ b { font-size: 18px; color: var(--ink); font-weight: 700; }

/* gauge svg text */
.g-tick  { font-family: var(--mono); font-size: 11px; fill: var(--ink); font-weight: 600; }
.g-tick.dim { fill: var(--muted); font-weight: 500; font-size: 10px; }
.g-tlab  { font-family: var(--mono); font-size: 9px; fill: var(--faint); letter-spacing: .1em; text-transform: uppercase; }
.g-bandlab { font-family: var(--mono); font-size: 9.5px; fill: var(--green-deep); letter-spacing: .1em; text-transform: uppercase; }
.g-medlab { font-family: var(--mono); font-size: 11px; fill: var(--green-deep); font-weight: 700; }
.g-pinlab { font-family: var(--mono); font-size: 9.5px; fill: #fff; letter-spacing: .04em; font-weight: 600; }

/* the gauge */
.gauge-wrap { margin-top: 22px; }
.gauge-svg { width: 100%; display: block; overflow: visible; }
.gauge-legend {
  display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px;
  font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .02em;
}
.gauge-legend .it { display: inline-flex; align-items: center; gap: 7px; }
.gauge-legend .sw { width: 14px; height: 9px; border-radius: 3px; }
.gauge-legend .ln { width: 14px; height: 2px; }

/* check-your-quote */
.cyq-input {
  display: flex; align-items: center; gap: 0; margin-top: 4px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--surface-2); overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.cyq-input:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); background: #fff; }
.cyq-input .dollar { padding: 0 4px 0 16px; font-size: 24px; font-weight: 700; color: var(--muted); }
.cyq-input input {
  border: 0; outline: 0; background: transparent; width: 100%;
  font-family: var(--sans); font-size: 28px; font-weight: 800; letter-spacing: -.02em;
  padding: 13px 14px 13px 2px; color: var(--ink);
}
.cyq-input input::placeholder { color: var(--faint); font-weight: 700; }

.verdict { margin-top: 16px; border-radius: var(--r-md); padding: 16px 18px; border: 1px solid; }
.verdict .vtop { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; }
.verdict .vbody { font-size: 13.5px; margin-top: 6px; line-height: 1.5; }
.verdict .vpct { font-family: var(--mono); font-size: 12px; margin-top: 10px; opacity: .9; }
.verdict.below { background: var(--below-soft); border-color: #BcD7E3; color: #1C4D66; }
.verdict.typical { background: var(--green-tint); border-color: var(--green-band); color: var(--green-deep); }
.verdict.above { background: var(--above-soft); border-color: #EAC9A6; color: #8A410A; }
.verdict.empty-state { background: var(--surface-2); border-color: var(--line); color: var(--muted); }
.verdict.empty-state .vtop { color: var(--ink-2); }

.vbadge { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: 0 0 auto; }
.verdict.below .vbadge { background: var(--below); }
.verdict.typical .vbadge { background: var(--green); }
.verdict.above .vbadge { background: var(--above); }

/* quick chips for sample quotes */
.cyq-samples { display: flex; gap: 7px; margin-top: 14px; flex-wrap: wrap; }
.cyq-samples .s {
  font-family: var(--mono); font-size: 11.5px; padding: 6px 10px; border-radius: var(--r-pill);
  border: 1px dashed var(--line-strong); color: var(--ink-2); background: var(--surface-2);
}
.cyq-samples .s:hover { border-style: solid; border-color: var(--green); color: var(--green-deep); }

/* by-zip */
.zip-list { display: flex; flex-direction: column; }
.zip-row {
  display: grid; grid-template-columns: 132px 1fr 84px; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line-2);
}
.zip-row:last-child { border-bottom: 0; }
.zip-row:hover .zip-name { color: var(--green-deep); }
.zip-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.zip-name .z { font-family: var(--mono); font-size: 11px; color: var(--muted); display: block; }
.zip-bar { height: 8px; background: var(--paper-2); border-radius: 4px; overflow: hidden; position: relative; }
.zip-bar > i { position: absolute; inset: 0 auto 0 0; background: var(--green); border-radius: 4px; }
.zip-val { font-family: var(--mono); font-size: 12.5px; text-align: right; color: var(--ink); font-weight: 600; }

/* receipts table */
.receipts { width: 100%; border-collapse: collapse; }
.receipts th {
  text-align: left; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
  padding: 0 12px 10px 0; border-bottom: 1px solid var(--line);
}
.receipts th.r, .receipts td.r { text-align: right; padding-right: 0; }
.receipts td {
  padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line-2);
  font-size: 13px; color: var(--ink-2); vertical-align: top;
}
.receipts tr:last-child td { border-bottom: 0; }
.receipts .desc { color: var(--ink); font-weight: 600; }
.receipts .date, .receipts .zip, .receipts .cost { font-family: var(--mono); font-size: 12px; }
.receipts .cost { color: var(--ink); font-weight: 600; }

.methnote {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 22px;
  padding: 16px 18px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-md); font-size: 12.5px; color: var(--muted); line-height: 1.55;
}
.methnote .ic { color: var(--green); flex: 0 0 auto; margin-top: 1px; }
.methnote b { color: var(--ink-2); }

.section-h {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 0 0 14px;
}
.section-h h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin: 0; white-space: nowrap; }
.section-h .sub { font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-align: right; }

.block-gap { margin-top: 18px; }

/* ---------- city dropdown menu ---------- */
.menu-scrim { position: fixed; inset: 0; z-index: 60; }
.menu {
  position: absolute; z-index: 61; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  box-shadow: var(--sh-3); padding: 7px; min-width: 230px;
  animation: pop .14s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98);} to {opacity:1; transform:none;} }
.menu .mi {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 11px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600; color: var(--ink);
}
.menu .mi:hover { background: var(--green-tint); }
.menu .mi .sub { font-family: var(--mono); font-size: 11px; color: var(--muted); font-weight: 400; }
.menu .mi[aria-selected="true"] { color: var(--green-deep); }
.menu .mi[aria-selected="true"]::after { content: "✓"; color: var(--green); }
.menu .mi .sub + .chk { display: none; }

/* footer */
.foot {
  border-top: 1px solid var(--line); margin-top: 20px; padding: 28px 0 50px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .02em;
}
.foot .brand-sm { font-family: var(--sans); font-weight: 800; color: var(--ink); }
.foot .brand-sm b { color: var(--green); }
.foot a:hover { color: var(--green); }

/* ============================================================
   SITE NAV additions
   ============================================================ */
.topnav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.navlink {
  border: 0; background: none; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  padding: 8px 12px; border-radius: var(--r-sm); white-space: nowrap;
}
.navlink:hover { color: var(--green); background: var(--green-tint); }
.citybtn.primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.citybtn.primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.citybtn.primary .pin { color: #fff; }
@media (max-width: 760px){ .topnav { display: none; } }

.crumb {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: none;
  font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 0 0 14px;
}
.crumb:hover { color: var(--green); }

/* ============================================================
   HOME
   ============================================================ */
.home { animation: rise .3s ease both; }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: center;
  padding: 64px 28px 56px;
}
@media (max-width: 940px){ .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; } }
.hero-h1 {
  font-size: clamp(34px, 5vw, 56px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800;
  margin: 0 0 18px; max-width: 15ch; text-wrap: balance;
}
.hero-sub { font-size: 17.5px; line-height: 1.55; color: var(--ink-2); margin: 0 0 26px; max-width: 50ch; }
.hero-search { max-width: 540px; }
.hero-stats {
  display: flex; gap: 16px; flex-wrap: wrap; margin-top: 22px;
  font-family: var(--mono); font-size: 13px; color: var(--muted);
}
.hero-stats b { color: var(--ink); font-weight: 600; }
.hero-stats .sep { color: var(--line-strong); }

/* city search */
.citysearch { position: relative; display: flex; align-items: center;
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r-pill);
  box-shadow: var(--sh-1); padding: 0 6px 0 16px; height: 50px; transition: border-color .15s, box-shadow .15s; }
.citysearch.big { height: 62px; padding-left: 20px; border-radius: var(--r-xl); }
.citysearch:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft), var(--sh-2); }
.cs-ic { color: var(--green); display: flex; flex: 0 0 auto; }
.citysearch input {
  border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; padding: 0 12px;
  font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--ink);
}
.citysearch.big input { font-size: 19px; }
.citysearch input::placeholder { color: var(--faint); font-weight: 500; }
.cs-go {
  flex: 0 0 auto; height: 38px; padding: 0 16px; border: 0; border-radius: var(--r-pill);
  background: var(--brand); color: #fff; font-weight: 800; font-size: 14px;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
}
.citysearch.big .cs-go { height: 48px; padding: 0 20px; font-size: 15px; border-radius: var(--r-lg); }
.cs-go:hover { background: var(--brand-deep); }
.cs-go svg { transform: rotate(180deg); }
.cs-drop {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 40;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-md);
  box-shadow: var(--sh-3); padding: 6px; animation: pop .14s ease; max-height: 320px; overflow: auto;
}
.cs-opt { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: var(--r-sm); cursor: pointer; }
.cs-opt.hi, .cs-opt:hover { background: var(--green-tint); }
.cs-pin { color: var(--green); display: flex; }
.cs-nm { font-weight: 600; font-size: 14.5px; color: var(--ink); flex: 1; }
.cs-rg { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

/* explainer gauge card */
.explain-card { padding: 22px 24px; }
.explain-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.explain-title { font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin: 5px 0 0; }
.explain-notes { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.en { font-size: 12.5px; color: var(--ink-2); line-height: 1.4; display: flex; gap: 10px; align-items: flex-start; }
.en b { color: var(--ink); }
.en-sw { flex: 0 0 auto; margin-top: 4px; width: 16px; height: 10px; border-radius: 3px; }
.en-sw.band { background: var(--green-band); }
.en-sw.med { width: 4px; height: 14px; border-radius: 2px; background: var(--green); margin-left: 6px; }
.en-sw.whisk { width: 16px; height: 2px; margin-top: 8px; background: var(--muted); }

/* bands / sections */
.band { padding: 30px 28px 14px; }
.band-head { margin-bottom: 26px; }
.band-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band-h2 { font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -.025em; font-weight: 800; margin: 0; line-height: 1.06; max-width: 20ch; text-wrap: balance; }
.band-sub { font-size: 16px; color: var(--ink-2); margin: 12px 0 0; max-width: 54ch; }

.btn-primary {
  flex: 0 0 auto; height: 46px; padding: 0 22px; border: 0; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; font-weight: 700; font-size: 14.5px;
  display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--sh-1);
}
.btn-primary:hover { background: #000; transform: translateY(-1px); box-shadow: var(--sh-2); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 800px){ .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 24px 24px; box-shadow: var(--sh-1);
}
.step-n {
  position: absolute; top: 20px; right: 22px; font-family: var(--mono); font-size: 13px;
  color: var(--faint); font-weight: 600;
}
.step-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--green-tint);
  color: var(--green-deep); display: grid; place-items: center; border: 1px solid var(--green-band); margin-bottom: 16px; }
.step-h { font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 8px; }
.step-b { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; margin: 0; }

.home-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px){ .home-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .home-grid { grid-template-columns: 1fr; } }

/* coverage city grid */
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 900px){ .city-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 620px){ .city-grid { grid-template-columns: repeat(2,1fr); } }
.city-chip {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px 16px; box-shadow: var(--sh-1); transition: transform .14s, box-shadow .14s, border-color .14s;
}
.city-chip:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: var(--green); }
.cc-nm { font-weight: 700; font-size: 14.5px; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-rg { font-family: var(--mono); font-size: 11px; color: var(--muted); flex: 0 0 auto; }

/* cta band */
.cta-band { background: var(--navy); color: #fff; margin-top: 46px; }
.cta-in { padding: 56px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-h { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -.025em; font-weight: 800; margin: 0 0 12px; }
.cta-sub { font-size: 16.5px; color: #CFE6DA; margin: 0 0 26px; max-width: 46ch; }
.cta-search { width: 100%; max-width: 560px; }

/* city pick modal */
.modal-scrim {
  position: fixed; inset: 0; z-index: 80; background: rgba(20,22,28,.42);
  backdrop-filter: blur(3px); display: grid; place-items: start center; padding: 8vh 20px;
  animation: fade2 .16s ease;
}
@keyframes fade2 { from { opacity: 0;} to {opacity:1;} }
.modal {
  width: 100%; max-width: 560px; background: var(--surface); border-radius: var(--r-xl);
  box-shadow: var(--sh-3); padding: 22px; animation: pop .16s ease;
}
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.modal-x { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted); font-size: 13px; }
.modal-x:hover { border-color: var(--ink); color: var(--ink); }
.modal-search {
  display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface-2);
  color: var(--muted); margin-bottom: 16px;
}
.modal-search:focus-within { border-color: var(--green); background: #fff; }
.modal-search input { border: 0; outline: 0; background: transparent; flex: 1; font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--ink); }
.modal-cities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; max-height: 44vh; overflow: auto; }
@media (max-width: 520px){ .modal-cities { grid-template-columns: 1fr; } }
.mc {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); text-align: left;
}
.mc:hover { border-color: var(--green); background: var(--green-tint); }
.mc-nm { font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-rg { font-family: var(--mono); font-size: 11px; color: var(--muted); flex: 0 0 auto; }

/* ============================================================
   BUILD YOUR PROJECT
   ============================================================ */
.rightpanel { padding: 18px 20px 20px; }

.modeswitch {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px;
  background: var(--paper-2); border-radius: var(--r-md); margin-bottom: 20px;
}
.ms-b {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; border: 0; border-radius: var(--r-sm); background: transparent;
  font-size: 12.5px; font-weight: 700; color: var(--muted); transition: all .15s; white-space: nowrap;
}
.ms-b svg { opacity: .7; }
.ms-b[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.ms-b[aria-pressed="true"] svg { opacity: 1; color: var(--green); }

.builder { display: flex; flex-direction: column; gap: 18px; }
.bld-field { display: flex; flex-direction: column; gap: 9px; }
.bld-flabel {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: -.005em; white-space: nowrap;
}
.bld-hint { font-family: var(--mono); font-size: 10.5px; font-weight: 400; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.bld-qty { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--green-deep); }
.bld-qty i { color: var(--muted); font-style: normal; font-size: 12px; }

/* segmented size */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.seg-b {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 9px 10px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--surface); text-align: left; transition: all .13s;
}
.seg-b:hover { border-color: var(--ink-2); }
.seg-b[aria-pressed="true"] { border-color: var(--green); background: var(--green-tint); box-shadow: inset 0 0 0 1px var(--green); }
.seg-t { font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.seg-s { font-family: var(--mono); font-size: 9.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (max-width: 1040px){ .seg { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; } }

/* slider */
.bld-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--green) 0 var(--p,50%), var(--paper-2) var(--p,50%) 100%); outline: 0; }
.bld-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--green); box-shadow: var(--sh-2); cursor: pointer; }
.bld-slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 2px solid var(--green); box-shadow: var(--sh-2); cursor: pointer; }
.bld-srange { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--faint); }

/* tier cards */
.tiers { display: grid; gap: 6px; grid-template-columns: 1fr 1fr; }
.tiers-2 { grid-template-columns: 1fr 1fr; }
.tier {
  display: flex; flex-direction: column; gap: 3px; padding: 11px 12px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface);
  text-align: left; transition: all .13s;
}
.tier:hover { border-color: var(--ink-2); }
.tier[aria-pressed="true"] { border-color: var(--green); background: var(--green-tint); box-shadow: inset 0 0 0 1px var(--green); }
.tier-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tier-l { font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.tier-r { font-family: var(--mono); font-size: 11px; color: var(--muted); font-weight: 600; }
.tier[aria-pressed="true"] .tier-r { color: var(--green-deep); }
.tier-s { font-size: 11px; color: var(--ink-2); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* addons */
.addons { display: flex; flex-direction: column; gap: 6px; }
.addon {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface);
  text-align: left; transition: all .13s;
}
.addon:hover { border-color: var(--ink-2); }
.addon[aria-pressed="true"] { border-color: var(--green); background: var(--green-tint); }
.addon-box {
  width: 19px; height: 19px; border-radius: 5px; border: 1.5px solid var(--line-strong);
  display: grid; place-items: center; color: #fff; flex: 0 0 auto; background: var(--surface);
}
.addon[aria-pressed="true"] .addon-box { background: var(--green); border-color: var(--green); }
.addon-l { flex: 1; font-size: 13px; font-weight: 600; color: var(--ink); }
.addon-p { font-family: var(--mono); font-size: 11px; color: var(--muted); font-weight: 600; }
.addon[aria-pressed="true"] .addon-p { color: var(--green-deep); }

/* ============================================================
   BENCHMARK PANEL — Scope → Quote → Invoice (seamless)
   ============================================================ */
.bld-foot { font-size: 11.5px; color: var(--muted); line-height: 1.5; margin: 16px 0 0; }

.bp { display: flex; flex-direction: column; gap: 14px; }

/* trade / BLS context */
.bp-trade { display: flex; align-items: center; gap: 11px; padding: 11px 13px;
  background: var(--green-tint); border: 1px solid var(--green-band); border-radius: var(--r-md); }
.bp-trade-ic { width: 32px; height: 32px; border-radius: 9px; background: var(--surface);
  border: 1px solid var(--green-band); color: var(--green-deep); display: grid; place-items: center; flex: 0 0 auto; }
.bp-trade-h { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.bp-trade-s { font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin-top: 2px; }

/* steps */
.bp-step { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.bp-shead { display: flex; align-items: center; gap: 11px; width: 100%; padding: 13px 14px;
  border: 0; background: var(--surface); text-align: left; transition: background .13s; }
.bp-shead:hover { background: var(--surface-2); }
.bp-snum { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; flex: 0 0 auto;
  display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 600; }
.bp-stitle { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.bp-ssum { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.bp-chev { color: var(--muted); display: flex; flex: 0 0 auto; }
.bp-sbody { padding: 4px 14px 16px; display: flex; flex-direction: column; gap: 16px;
  animation: rise .25s ease both; }

.bp-lead { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; margin: 2px 0 0; }

.bp-next { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px;
  border: 0; border-radius: var(--r-md); background: var(--green); color: #fff; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.bp-next svg { transform: rotate(180deg); }
.bp-next:hover { background: var(--green-deep); }
.bp-next.ghost { background: var(--surface); color: var(--ink-2); border: 1px solid var(--line-strong); }
.bp-next.ghost:hover { border-color: var(--green); color: var(--green-deep); }

/* the always-on benchmark visual */
.bp-viz { padding: 16px 16px 12px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface-2); }

/* benchmark bar svg */
.bm { width: 100%; }
.bm .gauge-svg { width: 100%; display: block; overflow: visible; }
.bm-fairlab { font-family: var(--mono); font-size: 9.5px; fill: var(--green-deep); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.bm-cap { font-family: var(--mono); font-size: 10.5px; fill: var(--ink); font-weight: 700; }
.bm-caplab { font-family: var(--mono); font-size: 9px; fill: var(--faint); letter-spacing: .12em; text-transform: uppercase; }
.bm-fairline { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; }
.bm-fairk { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--green-deep); font-weight: 700; }
.bm-fairv { font-size: 22px; font-weight: 900; letter-spacing: -.02em; color: var(--navy); }
.bm-fairr { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--muted); white-space: nowrap; }

/* category breakdown (materials / labor / fees) */
.bd { margin-top: 12px; }
.bd-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--paper-2); }
.bd-seg { height: 100%; transition: width .35s cubic-bezier(.2,.7,.25,1); }
.bd-seg + .bd-seg { box-shadow: -1px 0 0 #fff; }
.bd-legend { display: grid; grid-template-columns: 1fr; gap: 7px; margin-top: 12px; }
.bd-it { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.bd-dot { width: 11px; height: 11px; border-radius: 3px; flex: 0 0 auto; }
.bd-k { color: var(--ink-2); font-weight: 700; }
.bd-v { margin-left: auto; color: var(--ink); font-family: var(--mono); font-size: 12.5px; font-weight: 700; }

/* flywheel */
.bp-flywheel { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px;
  padding: 12px; background: var(--paper-2); border-radius: var(--r-md); }
.bp-flywheel .fw { font-size: 12px; font-weight: 700; color: var(--faint); padding: 5px 12px;
  border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); transition: all .2s; }
.bp-flywheel .fw.on { color: var(--green-deep); border-color: var(--green-band); background: var(--green-tint); }
.bp-flywheel i { color: var(--faint); font-style: normal; font-size: 13px; }

/* invoice-accent money input */
.cyq-input.inv:focus-within { border-color: var(--green-deep); box-shadow: 0 0 0 4px var(--green-soft); }


/* ============================================================
   AIRBNB / ZILLOW RESKIN
   ============================================================ */

/* ---------- listing card ---------- */
.lgrid { display: grid; gap: 22px 18px; padding-bottom: 64px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px){ .lgrid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .lgrid { grid-template-columns: 1fr; } }

.lcard { cursor: pointer; display: flex; flex-direction: column; gap: 12px; border-radius: var(--r-lg);
  transition: transform .18s cubic-bezier(.2,.7,.3,1); }
.lcard:hover { transform: translateY(-3px); }
.lcard:hover .lcard-media { box-shadow: var(--sh-3); }
.lcard:hover .lcard-title { color: var(--green-deep); }

.lcard-media { position: relative; aspect-ratio: 20 / 13; border-radius: var(--r-lg); overflow: hidden;
  background: var(--c-bg, var(--paper-2)); border: 1px solid var(--line);
  display: grid; place-items: center; transition: box-shadow .18s; }
.lcard-media .ico-wm { color: var(--c-ac, var(--muted)); opacity: .9; transform: scale(2.7); }
.lcard-media::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 18%, rgba(255,255,255,.5), transparent 60%); pointer-events: none; }
.lcard-media image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }

.lc-save { position: absolute; top: 11px; right: 11px; z-index: 3; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.78); backdrop-filter: blur(6px); color: var(--ink-2);
  display: grid; place-items: center; box-shadow: var(--sh-1); transition: transform .12s, background .12s; }
.lc-save:hover { transform: scale(1.08); background: #fff; }
.lc-save[aria-pressed="true"] { color: var(--heart); }
.lc-save svg { display: block; }

.lc-badge { position: absolute; top: 12px; left: 12px; z-index: 3; height: 26px; padding: 0 11px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px); box-shadow: var(--sh-1);
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--ink); }
.lc-badge .s { color: var(--star); display: flex; }
.lc-badge.cat { left: 12px; background: rgba(24,26,29,.74); color: #fff; text-transform: none; }

.lcard-body { display: flex; flex-direction: column; padding: 0 2px; }
.lc-row1 { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.lcard-title { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; margin: 0; line-height: 1.25; color: var(--ink); transition: color .15s; }
.lc-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); flex: 0 0 auto; white-space: nowrap; margin-top: 2px; }
.lc-rating svg { color: var(--muted); }
.lc-sub { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.lc-price { display: flex; flex-direction: column; gap: 1px; margin-top: 9px; }
.lc-plabel { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lc-pval { font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; }
.lc-mini { margin-top: 10px; }
.lc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 9px; }
.lc-foot .rng { color: var(--ink-2); }

/* ---------- nav: airbnb search pill ---------- */
.nav-search { display: inline-flex; align-items: center; height: 46px; border: 1px solid var(--line-strong);
  border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--sh-1); padding: 0 6px 0 4px;
  cursor: pointer; transition: box-shadow .15s; }
.nav-search:hover { box-shadow: var(--sh-2); }
.ns-seg { padding: 0 16px; font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.ns-seg.muted { font-weight: 600; color: var(--muted); }
.ns-div { width: 1px; height: 22px; background: var(--line-strong); }
.ns-go { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; border: 0;
  display: grid; place-items: center; flex: 0 0 auto; }

/* ---------- home: hero ---------- */
.hero2 { padding: 0 0 18px; }
.hero2-band { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--green-tint), var(--surface) 62%); box-shadow: var(--sh-1); }
.hero2-in { position: relative; z-index: 2; padding: 56px 48px 52px; max-width: 680px; }
@media (max-width: 720px){ .hero2-in { padding: 36px 24px 34px; } }
.hero2-img { position: absolute; inset: 0 0 0 52%; z-index: 1; }
.hero2-img image-slot { width: 100%; height: 100%; }
.hero2-band.has-img::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, var(--surface) 30%, rgba(255,255,255,.4) 46%, transparent 60%); pointer-events: none; }
@media (max-width: 860px){ .hero2-img { display: none; } }

.hero2-h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.04; letter-spacing: -.03em; font-weight: 800;
  margin: 14px 0 14px; max-width: 16ch; text-wrap: balance; }
.hero2-sub { font-size: 17px; line-height: 1.5; color: var(--ink-2); margin: 0 0 26px; max-width: 44ch; }

/* combined search card */
.bigsearch { display: flex; align-items: stretch; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-lg); box-shadow: var(--sh-2); overflow: visible; max-width: 600px; position: relative; }
.bs-field { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2px;
  padding: 12px 16px; min-width: 0; }
.bs-field + .bs-field { border-left: 1px solid var(--line); }
.bs-field label { font-size: 11px; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.bs-field input { border: 0; outline: 0; background: transparent; font-family: var(--sans); font-size: 14.5px;
  font-weight: 500; color: var(--ink); padding: 0; width: 100%; }
.bs-field input::placeholder { color: var(--faint); }
.bs-go { flex: 0 0 auto; margin: 8px; width: 52px; border: 0; border-radius: var(--r-md); background: var(--brand);
  color: #fff; display: grid; place-items: center; transition: background .15s; box-shadow: var(--sh-brand); }
.bs-go:hover { background: var(--brand-deep); }
.bs-drop { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 40; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--r-md); box-shadow: var(--sh-3); padding: 6px;
  max-height: 320px; overflow: auto; animation: pop .14s ease; }
.bs-opt { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: var(--r-sm); cursor: pointer; }
.bs-opt.hi, .bs-opt:hover { background: var(--green-tint); }
.bs-opt .oi { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: 0 0 auto;
  background: var(--c-bg, var(--green-tint)); color: var(--c-ac, var(--green-deep)); }
.bs-opt .on { font-size: 14px; font-weight: 600; color: var(--ink); flex: 1; }
.bs-opt .om { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.bs-opt.cityopt .oi { background: var(--green-tint); color: var(--green); }

.hero2-trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 20px; font-size: 13px; color: var(--ink-2); }
.hero2-trust .t { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.hero2-trust .t svg { color: var(--green); }

/* ---------- category tiles ---------- */
.cattiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
@media (max-width: 900px){ .cattiles { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 520px){ .cattiles { grid-template-columns: repeat(2,1fr); } }
.cattile { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 18px 10px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--sh-1);
  transition: transform .14s, box-shadow .14s, border-color .14s; }
.cattile:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: var(--green); }
.cattile .ct-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--c-bg); color: var(--c-ac); }
.cattile .ct-l { font-size: 12.5px; font-weight: 700; color: var(--ink); }

/* ---------- trust band ---------- */
.trust { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 800px){ .trust { grid-template-columns: 1fr; } }
.trust-c { display: flex; flex-direction: column; gap: 9px; padding: 22px; border: 1px solid var(--line);
  border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.trust-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--green-tint); color: var(--green-deep);
  display: grid; place-items: center; border: 1px solid var(--green-band); }
.trust-h { font-size: 16px; font-weight: 700; letter-spacing: -.01em; margin: 4px 0 0; }
.trust-b { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; margin: 0; }

/* ---------- zillow-style listing header ---------- */
.lh-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; height: 320px; border-radius: var(--r-lg);
  overflow: hidden; margin-top: 6px; }
@media (max-width: 760px){ .lh-gallery { grid-template-columns: 1fr; height: 240px; } }
.lh-main { position: relative; background: var(--c-bg, var(--paper-2)); display: grid; place-items: center; }
.lh-main .ico-wm { color: var(--c-ac, var(--muted)); transform: scale(3.4); opacity: .92; }
.lh-main image-slot, .lh-side image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.lh-side { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; }
@media (max-width: 760px){ .lh-side { display: none; } }
.lh-side > div { position: relative; background: var(--c-bg, var(--paper-2)); display: grid; place-items: center; overflow: hidden; }
.lh-side .ico-wm { color: var(--c-ac, var(--muted)); transform: scale(1.8); opacity: .55; }
.lh-photocred { position: absolute; bottom: 10px; left: 12px; z-index: 2; font-size: 11px; font-weight: 600;
  color: var(--ink-2); background: rgba(255,255,255,.82); backdrop-filter: blur(6px); padding: 4px 10px; border-radius: var(--r-pill); }

.lh-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
.lh-titles h2 { font-size: clamp(24px, 3.2vw, 33px); letter-spacing: -.025em; font-weight: 800; margin: 0 0 8px; line-height: 1.05; }
.lh-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lh-actions { display: flex; gap: 9px; flex: 0 0 auto; }
.lh-act { height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  background: var(--surface); font-size: 13.5px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.lh-act:hover { border-color: var(--ink); }
.lh-act.saved { color: var(--heart); border-color: var(--heart); background: #FCEEEE; }

/* estimate hero (zestimate) */
.estimate { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 20px 24px; margin-top: 18px;
  border: 1px solid var(--green-band); border-radius: var(--r-lg); background: var(--green-tint); }
.est-mark { display: flex; flex-direction: column; gap: 2px; }
.est-mark .lab { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--green-deep); display: inline-flex; align-items: center; gap: 7px; }
.est-mark .v { font-size: clamp(30px, 4.6vw, 42px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.est-div { width: 1px; align-self: stretch; background: var(--green-band); }
.est-rng { font-size: 13.5px; color: var(--ink-2); }
.est-rng b { display: block; font-size: 17px; color: var(--ink); font-weight: 700; margin-top: 2px; }
.est-cta { margin-left: auto; }
.est-cta .btn-primary { background: var(--green); }
.est-cta .btn-primary:hover { background: var(--green-deep); }
@media (max-width: 640px){ .est-div { display: none; } .est-cta { margin-left: 0; width: 100%; } .est-cta .btn-primary { width: 100%; justify-content: center; } }

/* ---------- catalogue results header + rail ---------- */
.results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.results-title { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -.025em; font-weight: 800; margin: 0 0 8px; line-height: 1.05; }
.results-sub { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.6; }
.results-sub b { color: var(--ink); font-weight: 700; }
.trust-inline { display: inline-flex; align-items: center; gap: 6px; color: var(--green-deep); font-weight: 600; vertical-align: baseline; }
.trust-inline svg { color: var(--green); }

.catrail { position: sticky; top: 72px; z-index: 30; padding: 12px 0 18px; }
.catrail::before { content: ""; position: absolute; inset: 0 -40px; z-index: -1; background: linear-gradient(var(--paper) 70%, rgba(247,243,239,0)); }
.catrail-in { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.catrail-it { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--surface); color: var(--ink-2);
  font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: all .14s; }
.catrail-it svg { color: var(--muted); }
.catrail-it:hover { border-color: var(--ink-2); color: var(--ink); }
.catrail-it:hover svg { color: var(--ink); }
.catrail-it[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.catrail-it[aria-pressed="true"] svg { color: #fff; }

/* ---------- home hero preview card ---------- */
.hero2-preview { position: absolute; inset: 0 0 0 54%; z-index: 1; display: grid; place-items: center; padding: 24px; }
@media (max-width: 860px){ .hero2-preview { display: none; } }
.hp-card { width: 320px; max-width: 100%; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-3); overflow: hidden; transform: rotate(1.4deg);
  transition: transform .3s cubic-bezier(.2,.7,.3,1); }
.hp-card:hover { transform: rotate(0deg) translateY(-3px); }
.hp-media { position: relative; aspect-ratio: 20/11; background: var(--c-bg); display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.hp-media .ico-wm { color: var(--c-ac); transform: scale(2.6); }
.hp-cat { position: absolute; top: 11px; left: 11px; height: 24px; padding: 0 10px; border-radius: var(--r-pill);
  background: rgba(24,26,29,.74); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; }
.hp-body { padding: 14px 16px 16px; }
.hp-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hp-val { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-top: 2px; }
.hp-mini { margin-top: 10px; }
.hp-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.hp-conf { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.hp-conf .d { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* ============================================================
   LANDING (Figma floor): bold red/navy, gradient hero
   ============================================================ */
.btn-brand { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px;
  padding: 0 24px; border: 0; border-radius: var(--r-md); background: var(--brand); color: #fff;
  font-weight: 800; font-size: 15px; box-shadow: var(--sh-brand); transition: transform .14s, box-shadow .14s; white-space: nowrap; }
.btn-brand svg { transform: rotate(180deg); }
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -18px rgba(255,90,95,.95); }
.btn-brand.lg { height: 56px; font-size: 16px; padding: 0 30px; }
.btn-dark { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border: 0;
  border-radius: var(--r-pill); background: var(--navy); color: #fff; font-weight: 800; font-size: 14.5px;
  transition: transform .14s, box-shadow .14s; white-space: nowrap; flex: 0 0 auto; }
.btn-dark svg { transform: rotate(180deg); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--sh-3); }

/* hero */
.hero3 { padding: 18px 16px 8px; }
@media (max-width: 600px){ .hero3 { padding: 12px 10px; } }
.hero3-band { position: relative; max-width: var(--maxw); margin: 0 auto; overflow: hidden;
  border: 1px solid rgba(255,255,255,.8); border-radius: var(--r-2xl);
  background: linear-gradient(135deg, #FFF6EE 0%, #CFE3FF 50%, #F7FBFF 100%);
  box-shadow: 0 35px 110px -65px rgba(14,23,38,.65); padding: clamp(20px, 4vw, 48px); }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.orb-a { right: -70px; top: -70px; width: 280px; height: 280px; background: rgba(255,255,255,.6); }
.orb-b { left: 40px; bottom: -90px; width: 320px; height: 320px; background: rgba(255,90,95,.14); }
.hero3-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 0.98fr 1.02fr; gap: 40px; align-items: center; }
@media (max-width: 920px){ .hero3-grid { grid-template-columns: 1fr; gap: 28px; } }
.hero3-l { padding: 18px 0; }

.flamebadge { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; margin-bottom: 22px;
  border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.72);
  backdrop-filter: blur(8px); color: var(--brand-deep); font-weight: 800; font-size: 13.5px; box-shadow: var(--sh-1); }
.hero3-h1 { font-size: clamp(38px, 6vw, 72px); line-height: .98; letter-spacing: -.05em; font-weight: 900;
  color: var(--navy); margin: 0 0 24px; max-width: 13ch; text-wrap: balance; }
.hero3-sub { font-size: clamp(16px, 2vw, 20px); line-height: 1.5; color: var(--ink-2); margin: 0 0 26px; max-width: 46ch; }
.hero3-search { max-width: 560px; }
.hero3-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hchip { height: 30px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.72); color: var(--muted); font-size: 12px; font-weight: 800; box-shadow: var(--sh-1);
  backdrop-filter: blur(6px); }

/* hero preview */
.hero3-r { position: relative; }
.signalfloat { position: absolute; left: -14px; top: 150px; z-index: 5; transform: rotate(-7deg);
  background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 11px 15px; box-shadow: var(--sh-3); }
@media (max-width: 920px){ .signalfloat { display: none; } }
.sf-lab { font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; opacity: .65; }
.sf-val { font-size: 22px; font-weight: 900; letter-spacing: -.02em; margin-top: 2px; }

.preview2 { margin-top: 36px; background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.8); border-radius: var(--r-2xl); padding: 20px; box-shadow: 0 30px 90px -50px rgba(14,23,38,.75); }
@media (max-width: 920px){ .preview2 { margin-top: 0; } }
.pv-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.pv-loc { font-size: 12.5px; font-weight: 800; color: var(--muted); margin: 0; }
.pv-name { font-size: 26px; font-weight: 900; letter-spacing: -.04em; margin: 2px 0 0; color: var(--navy); white-space: nowrap; }
.pv-check { color: var(--green); flex: 0 0 auto; }
.pv-media { position: relative; aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden;
  background: var(--c-bg); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.7); }
.pv-media .ico-wm { color: var(--c-ac); transform: scale(2.6); opacity: .9; }
.pv-media image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.pv-est { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: 16px;
  padding: 14px 16px; border-radius: var(--r-md); background: linear-gradient(135deg,#FFF7ED,#FFF0F0 48%,#EEF5FF); }
.pv-est > div:first-child { min-width: 0; }
.pv-est-lab { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-deep); white-space: nowrap; }
.pv-est-val { font-size: 30px; font-weight: 900; letter-spacing: -.03em; color: var(--navy); line-height: 1; margin-top: 3px; }
.pv-est-rng { font-size: 14px; font-weight: 800; color: var(--ink); text-align: right; white-space: nowrap; flex: 0 0 auto; }
.pv-est-rng span { display: block; font-size: 10.5px; font-weight: 700; color: var(--muted); }
.pv-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.pv-stat { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; background: #fff; }
.pv-stat svg { color: var(--brand); margin-bottom: 10px; }
.pv-stat-v { font-size: 22px; font-weight: 900; letter-spacing: -.02em; color: var(--navy); }
.pv-stat-l { font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 2px; }

/* reality check */
.reality { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 28px; padding: 56px 28px; align-items: start; }
@media (max-width: 900px){ .reality { grid-template-columns: 1fr; gap: 22px; padding: 36px 20px; } }
.reality-h { font-size: clamp(28px, 4vw, 46px); line-height: .98; letter-spacing: -.05em; font-weight: 900; color: var(--navy); margin: 14px 0 16px; }
.reality-sub { font-size: 17px; line-height: 1.55; color: var(--ink-2); margin: 0 0 22px; }
.reality-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 24px; box-shadow: 0 25px 80px -55px rgba(14,23,38,.65); }
.rc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.rc-label { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rc-quote { font-size: clamp(34px, 5vw, 48px); font-weight: 900; letter-spacing: -.05em; color: var(--navy); line-height: 1; margin-top: 4px; }
.rc-verdict { flex: 0 0 auto; height: 32px; padding: 0 14px; border-radius: var(--r-pill); display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.rc-verdict.fair { background: var(--green-tint); color: var(--green-deep); }
.rc-verdict.above { background: var(--blue-tint); color: var(--blue); }
.rc-verdict.below { background: var(--below-soft); color: var(--below); }
.rc-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; margin: 24px 0 8px;
  background: linear-gradient(90deg, var(--green) var(--p,50%), var(--paper-2) var(--p,50%)); outline: 0; }
.rc-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 3px solid var(--green); box-shadow: var(--sh-2); cursor: pointer; }
.rc-slider::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--green); box-shadow: var(--sh-2); cursor: pointer; }
.rc-scale { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--muted); }
.rc-scale span:nth-child(2) { color: var(--green-deep); }
.rc-note { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink-2); line-height: 1.45; }
.rc-itemshead { margin: 18px 0 10px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rc-scope { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 13px; border-radius: var(--r-md);
  background: var(--blue-tint); color: var(--blue); font-size: 12.5px; font-weight: 700; }
.rc-scope svg { flex: 0 0 auto; opacity: .8; }
.rc-items { display: flex; flex-direction: column; gap: 8px; margin-top: 0; }
.rc-item { border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px 16px; display: flex; flex-direction: column; gap: 4px; }
.rc-item-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rc-item-top > span:first-child { font-size: 14.5px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.rc-item-top > span:last-child { font-size: 15px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.rc-item p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
@media (max-width: 560px){ .rc-items { grid-template-columns: 1fr; } }

/* dark cta */
.darkcta { text-align: center; background: var(--navy); color: #fff; border-radius: var(--r-2xl);
  padding: clamp(36px, 6vw, 64px) 28px; box-shadow: 0 35px 100px -60px rgba(14,23,38,.8); }
.dc-spark { color: #FFB4B7; margin: 0 auto 16px; }
.dc-h { font-size: clamp(32px, 5.4vw, 60px); line-height: .96; letter-spacing: -.06em; font-weight: 900; margin: 0 0 16px; }
.dc-sub { font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.66); margin: 0 auto 24px; max-width: 44ch; }
.dc-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.dc-step { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.1); font-weight: 800; font-size: 14px; }
.dc-step svg { color: var(--green); }

/* ---------- floating category marquee ---------- */
.catmarquee-sec { padding: 22px 0 14px; }
.marquee { display: flex; flex-direction: column; gap: 14px; padding: 8px 0; overflow: hidden; }
.mrow { overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.mtrack { display: flex; gap: 14px; width: max-content; will-change: transform; }
.mtrack.a { animation: marqA 64s linear infinite; }
.mtrack.b { animation: marqA 82s linear infinite; }
.mrow:hover .mtrack { animation-play-state: paused; }
@keyframes marqA { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mtrack.a, .mtrack.b { animation: none; } }

.mtile { flex: 0 0 auto; display: flex; align-items: center; gap: 15px; padding: 16px 26px 16px 16px; min-width: 220px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1);
  text-align: left; transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s, border-color .18s; }
.mtile:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: var(--c-ac, var(--line-strong)); }
.mtile-ic { width: 56px; height: 56px; border-radius: 17px; background: var(--c-bg); color: var(--c-ac);
  display: grid; place-items: center; flex: 0 0 auto; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.mtile-body { display: flex; flex-direction: column; gap: 2px; }
.mtile-l { font-size: 19px; font-weight: 900; letter-spacing: -.03em; color: var(--navy); white-space: nowrap; }

/* ============================================================
   AUTH — sign in / account
   ============================================================ */
.signin-btn { height: 40px; padding: 0 20px; border-radius: var(--r-pill); border: 0;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; flex: 0 0 auto;
  transition: transform .12s, box-shadow .12s; white-space: nowrap; }
.signin-btn:hover { transform: translateY(-1px); box-shadow: var(--sh-2); }

.acct-wrap { position: relative; flex: 0 0 auto; }
.acct-btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 8px 0 6px;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--sh-1);
  transition: box-shadow .14s, border-color .14s; }
.acct-btn:hover { box-shadow: var(--sh-2); border-color: var(--line-strong); }
.acct-btn .chev { color: var(--muted); }
.acct-av { width: 32px; height: 32px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.acct-av.lg { width: 42px; height: 42px; font-size: 15px; }

.acct-menu { padding: 8px; }
.acct-id { display: flex; align-items: center; gap: 11px; padding: 8px 9px 4px; }
.acct-id-txt { min-width: 0; }
.acct-name { font-size: 14.5px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-email { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-prov { font-size: 11px; font-weight: 700; color: var(--green-deep); padding: 2px 9px 8px; }
.acct-sep { height: 1px; background: var(--line); margin: 6px 4px; }
.acct-menu .mi { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; }
.acct-menu .mi svg { color: var(--muted); }
.acct-menu .mi.danger { color: var(--brand-deep); font-weight: 700; }
.acct-menu .mi.danger:hover { background: var(--brand-soft); }

/* modal */
.auth-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(14,23,38,.5); backdrop-filter: blur(5px);
  display: grid; place-items: start center; padding: 7vh 20px 20px; overflow-y: auto; animation: fade2 .16s ease; }
.auth-modal { position: relative; width: 100%; max-width: 412px; background: var(--surface); border-radius: var(--r-xl);
  box-shadow: var(--sh-3); padding: 30px 28px 24px; animation: pop .18s ease; }
.auth-x { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: var(--paper-2); color: var(--muted); font-size: 13px; }
.auth-x:hover { background: var(--line-strong); color: var(--ink); }

.auth-head { text-align: center; margin-bottom: 22px; }
.auth-logo { width: 54px; height: 54px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  display: inline-grid; place-items: center; box-shadow: var(--sh-1); margin-bottom: 14px; }
.auth-title { font-size: 25px; font-weight: 900; letter-spacing: -.03em; color: var(--navy); margin: 0 0 6px; }
.auth-sub { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.45; }

.auth-sso { display: flex; flex-direction: column; gap: 10px; }
.sso-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; width: 100%;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface);
  font-size: 15px; font-weight: 700; color: var(--ink); transition: background .14s, border-color .14s, transform .1s; }
.sso-btn:hover:not(:disabled) { background: var(--surface-2); border-color: var(--ink-2); }
.sso-btn:active:not(:disabled) { transform: translateY(1px); }
.sso-btn.apple { background: var(--navy); border-color: var(--navy); color: #fff; }
.sso-btn.apple:hover:not(:disabled) { background: #000; border-color: #000; }
.sso-btn:disabled { opacity: .6; cursor: default; }

.auth-or { display: flex; align-items: center; gap: 14px; margin: 18px 0; color: var(--faint); font-size: 12px; font-weight: 700; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.auth-form { display: flex; flex-direction: column; gap: 13px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field > span { font-size: 12.5px; font-weight: 800; color: var(--ink); }
.af-top { display: flex; align-items: center; justify-content: space-between; }
.af-forgot { border: 0; background: none; font-size: 12px; font-weight: 700; color: var(--brand-deep); padding: 0; }
.af-forgot:hover { text-decoration: underline; }
.auth-field input { height: 48px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--surface-2); padding: 0 14px; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink);
  outline: 0; transition: border-color .14s, box-shadow .14s, background .14s; width: 100%; }
.auth-field input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-ring); background: #fff; }
.auth-field input::placeholder { color: var(--faint); font-weight: 400; }
.af-pw { position: relative; display: flex; }
.af-pw input { padding-right: 64px; }
.af-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); height: 32px; padding: 0 10px;
  border: 0; border-radius: var(--r-sm); background: transparent; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.af-eye:hover { background: var(--paper-2); color: var(--ink); }

.auth-err { background: var(--brand-soft); color: var(--brand-deep); border-radius: var(--r-sm);
  padding: 10px 12px; font-size: 12.5px; font-weight: 600; }

.auth-submit { position: relative; height: 50px; margin-top: 4px; border: 0; border-radius: var(--r-md);
  background: var(--brand); color: #fff; font-size: 15px; font-weight: 800; box-shadow: var(--sh-brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; transition: transform .12s, box-shadow .12s; }
.auth-submit:hover:not(:disabled) { transform: translateY(-1px); }
.auth-submit:disabled { opacity: .75; cursor: default; }

.auth-switch { text-align: center; font-size: 13.5px; color: var(--muted); margin: 18px 0 0; }
.auth-switch button { border: 0; background: none; font-size: 13.5px; font-weight: 800; color: var(--brand-deep); margin-left: 6px; }
.auth-switch button:hover { text-decoration: underline; }
.auth-legal { text-align: center; font-size: 11.5px; color: var(--faint); margin: 16px 0 0; line-height: 1.5; }
.auth-legal a { color: var(--muted); text-decoration: underline; }

.spin { width: 17px; height: 17px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--ink); animation: spin .7s linear infinite; flex: 0 0 auto; }
.spin.light { border-color: rgba(255,255,255,.4); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
