/* USLA upgrade 2026-11-27: who-are-you paths, what we buy, markets by state,
   how it works, FAQ and the deal desk form. Uses the tokens from styles.css. */

.nav-link.nav-link-cta { border: 1px solid var(--red); color: #fff; }
.nav-link.nav-link-cta:hover { background: var(--red); }

.up-section { padding: 96px 0; }
.up-section.tight { padding-top: 0; }
.up-lede { color: var(--text-dim); font-size: 16px; line-height: 1.65; max-width: 62ch; }

/* ── Who are you ─────────────────────────────────────────────────────────── */
.path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.path-card {
  display: flex; flex-direction: column; gap: 12px; text-align: left;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 28px 26px; cursor: pointer; color: inherit; font: inherit;
  transition: border-color .16s, transform .16s, background .16s;
}
.path-card:hover, .path-card:focus-visible { border-color: var(--red); transform: translateY(-2px); background: var(--bg-card-hi); outline: none; }
.path-card small { font-family: var(--mono, 'JetBrains Mono', monospace); font-size: 10px; letter-spacing: .2em; color: var(--red); text-transform: uppercase; }
.path-card h3 { font-size: 22px; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
.path-card p { color: var(--text-dim); font-size: 14px; line-height: 1.6; margin: 0; }
.path-card span { margin-top: auto; padding-top: 8px; color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }

/* ── What we buy ─────────────────────────────────────────────────────────── */
.buy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.buy-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 32px 30px; }
.buy-card.accent { border-color: rgba(200,16,46,.55); background: linear-gradient(180deg, rgba(200,16,46,.10), var(--bg-card) 55%); }
.buy-card .tag { display: inline-block; font-family: var(--mono, 'JetBrains Mono', monospace); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.buy-card h3 { font-size: 28px; line-height: 1.1; margin: 0 0 10px; letter-spacing: -.02em; }
.buy-card > p { color: var(--text-dim); font-size: 15px; line-height: 1.6; margin: 0 0 20px; }
.spec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.spec-list li { display: grid; grid-template-columns: 130px 1fr; gap: 14px; background: var(--bg-elev); padding: 12px 14px; font-size: 14px; line-height: 1.45; }
.spec-list li b { color: var(--text-mute); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding-top: 2px; }
.buy-note { margin-top: 18px; color: var(--text-mute); font-size: 13px; line-height: 1.6; }

/* ── Markets by state ────────────────────────────────────────────────────── */
.mk-state { border-top: 1px solid var(--border); padding: 28px 0; display: grid; grid-template-columns: 240px 1fr; gap: 28px; }
.mk-state:last-of-type { border-bottom: 1px solid var(--border); }
.mk-state h3 { font-size: 24px; margin: 0 0 6px; letter-spacing: -.01em; }
.mk-state .mk-kind { font-family: var(--mono, 'JetBrains Mono', monospace); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.mk-state p { color: var(--text-dim); font-size: 13px; line-height: 1.6; margin: 10px 0 0; }
.mk-county { margin-bottom: 14px; }
.mk-county:last-child { margin-bottom: 0; }
.mk-county h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); font-weight: 600; margin: 0 0 8px; }
.mk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-chip { border: 1px solid var(--border); background: var(--bg-elev); border-radius: 30px; padding: 7px 13px; font-size: 13px; color: #fff; }
.mk-chip.sub { border-color: rgba(200,16,46,.55); }
.mk-key { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 18px; color: var(--text-mute); font-size: 12px; }
.mk-key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg-elev); margin-right: 7px; vertical-align: -1px; }
.mk-key i.sub { border-color: var(--red); }

/* ── How it works ────────────────────────────────────────────────────────── */
.how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.how-step { background: var(--bg-elev); padding: 28px 24px; }
.how-step .n { font-family: var(--mono, 'JetBrains Mono', monospace); color: var(--red); font-size: 12px; letter-spacing: .2em; }
.how-step h3 { font-size: 18px; margin: 14px 0 8px; }
.how-step p { color: var(--text-dim); font-size: 14px; line-height: 1.6; margin: 0; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 34px 20px 0; font-size: 17px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; color: var(--red); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--text-dim); font-size: 15px; line-height: 1.7; margin: 0 0 22px; max-width: 70ch; }

/* ── Deal desk ───────────────────────────────────────────────────────────── */
.deal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: start; }
.deal-copy h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.02; letter-spacing: -.03em; margin: 14px 0 18px; }
.deal-copy h2 em { color: var(--red); font-style: normal; }
.deal-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.deal-points li { color: var(--text-dim); font-size: 15px; line-height: 1.55; padding-left: 22px; position: relative; }
.deal-points li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: var(--red); }
.deal-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; display: grid; gap: 16px; }
.role-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.role-tab { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 8px; color: var(--text-dim); font: inherit; font-size: 13px; font-weight: 600; padding: 11px 6px; cursor: pointer; }
.role-tab.on { background: var(--red); border-color: var(--red); color: #fff; }
.deal-card .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.deal-card .btn { width: 100%; justify-content: center; }
.deal-fine { color: var(--text-mute); font-size: 12px; line-height: 1.6; margin: 0; }
.deal-error { color: #ff8b8b; font-size: 13px; }
.deal-done { text-align: center; padding: 30px 10px; }
.deal-done h3 { font-size: 24px; margin: 0 0 10px; }
.deal-done p { color: var(--text-dim); font-size: 15px; line-height: 1.6; margin: 0; }

@media (max-width: 980px) {
  .path-grid, .buy-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .deal-wrap { grid-template-columns: 1fr; gap: 32px; }
  .mk-state { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .up-section { padding: 64px 0; }
  .how-grid { grid-template-columns: 1fr; }
  .spec-list li { grid-template-columns: 1fr; gap: 2px; }
  .role-tabs { grid-template-columns: 1fr 1fr; }
  .deal-card { padding: 20px; }
  .deal-card .field-row { grid-template-columns: 1fr; }
  .buy-card { padding: 24px 20px; }
  .buy-card h3 { font-size: 24px; }
}

.profiles-toggle { border: 1px solid var(--border); border-radius: 12px; padding: 0 20px; }
.profiles-toggle > summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 15px; color: #fff; }
.profiles-toggle[open] > summary { border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.profiles-toggle .acq-profile-note { margin-bottom: 20px; }

/* ── Footprint map ───────────────────────────────────────────────────────── */
.fm { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: #08080a; }
.fm-stage { position: relative; min-height: 420px; background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(200,16,46,.10), transparent 70%), #08080a; overflow: hidden; }
.fm-stage svg { display: block; width: 100%; height: auto; }
.fm-stage path { vector-effect: non-scaling-stroke; outline: none; cursor: pointer; transition: fill .2s, opacity .3s, stroke .2s; }
.fm-state { fill: #1d1d22; stroke: #3a3a42; stroke-width: 1; }
.fm-state.tier-active { fill: #b81732; stroke: #ff5a70; }
.fm-state.tier-radar { fill: #4a3210; stroke: #f0a23a; }
.fm-state:hover, .fm-state:focus-visible { fill: #2e2e36; }
.fm-state.tier-active:hover, .fm-state.tier-active:focus-visible { fill: #d81b3b; }
.fm-state.tier-radar:hover, .fm-state.tier-radar:focus-visible { fill: #6a4716; }
.fm-state.dim { opacity: .28; }
.fm-state.open { fill: #101013; stroke: #55555f; opacity: 1; pointer-events: none; }
.fm-county { fill: #212127; stroke: #45454e; stroke-width: .7; }
.fm-county.tier-active { fill: #b81732; stroke: #ff7386; }
.fm-county.tier-radar { fill: #5a3c12; stroke: #f0a23a; }
.fm-county:hover, .fm-county:focus-visible { fill: #3a3a44; }
.fm-county.tier-active:hover, .fm-county.tier-active:focus-visible { fill: #e11f41; }
.fm-county.tier-radar:hover, .fm-county.tier-radar:focus-visible { fill: #7a5219; }
.fm-county.on { stroke: #fff; stroke-width: 2.2; }
.fm-crumbs { position: absolute; top: 14px; left: 16px; z-index: 2; display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); }
.fm-crumbs button { background: rgba(8,8,10,.8); border: 1px solid var(--border); border-radius: 6px; color: #fff; font: inherit; letter-spacing: inherit; text-transform: inherit; padding: 6px 10px; cursor: pointer; }
.fm-crumbs button:hover:not(:disabled) { border-color: var(--red); }
.fm-crumbs button:disabled { color: var(--text-mute); cursor: default; background: none; border-color: transparent; padding-left: 0; }
.fm-crumbs b { color: var(--red); font-weight: 400; }
.fm-crumbs span { color: #fff; }
.fm-hover { position: absolute; top: 16px; right: 16px; z-index: 2; font-size: 13px; font-weight: 600; color: #fff; background: rgba(8,8,10,.8); border: 1px solid var(--border); border-radius: 6px; padding: 6px 10px; min-height: 31px; }
.fm-hover:empty { display: none; }
.fm-key { position: absolute; left: 16px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12px; color: var(--text-dim); background: rgba(8,8,10,.75); padding: 6px 10px; border-radius: 6px; }
.fm-key i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; border: 1px solid #3a3a42; background: #1d1d22; }
.fm-key i.tier-active { background: #b81732; border-color: #ff5a70; }
.fm-key i.tier-radar { background: #4a3210; border-color: #f0a23a; }
.fm-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-mute); font-size: 14px; padding: 24px; text-align: center; }
.fm-panel { border-left: 1px solid var(--border); background: var(--bg-card); padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; }
.fm-panel h3 { font-size: 28px; line-height: 1.08; letter-spacing: -.02em; margin: 2px 0 0; }
.fm-panel h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); font-weight: 600; margin: 12px 0 0; }
.fm-panel p { color: var(--text-dim); font-size: 14px; line-height: 1.6; margin: 0; }
.fm-eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.fm-sub { color: var(--text-mute); font-size: 13px; margin-top: -6px; }
.fm-badge { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 20px; border: 1px solid #45454e; color: var(--text-dim); }
.fm-badge.tier-active { border-color: #ff5a70; color: #ff8f9d; background: rgba(200,16,46,.14); }
.fm-badge.tier-radar { border-color: #f0a23a; color: #f6bd6d; background: rgba(240,162,58,.10); }
.fm-meter { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-dim); }
.fm-meter i { width: 26px; height: 6px; border-radius: 3px; background: #2a2a31; }
.fm-meter span { margin-left: 6px; }
.fm-meter.tier-active i { background: #e11f41; }
.fm-meter.tier-radar i:nth-child(-n+2) { background: #f0a23a; }
.fm-meter.tier-open i:first-child { background: #6b6b76; }
.fm-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.fm-chip { font: inherit; font-size: 13px; color: #fff; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 30px; padding: 6px 12px; cursor: pointer; }
.fm-chip.static { cursor: default; }
.fm-chip.tier-active { border-color: rgba(255,90,112,.7); }
.fm-chip.tier-radar { border-color: rgba(240,162,58,.7); }
button.fm-chip:hover { background: var(--bg-card-hi); border-color: #fff; }
.fm-kind { color: #fff !important; font-weight: 600; }
.fm-wants { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.fm-wants li { color: var(--text-dim); font-size: 14px; line-height: 1.5; padding-left: 16px; position: relative; }
.fm-wants li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; background: var(--red); }
.fm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.fm-stats div { background: var(--bg-elev); padding: 10px; }
.fm-stats b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.fm-stats span { font-size: 11px; color: var(--text-mute); }
.fm-asof { font-size: 11px; color: var(--text-mute); }
.fm-cta { margin-top: auto; justify-content: center; width: 100%; }
.fm-panel .fm-cta { margin-top: 16px; }
@media (max-width: 900px) {
  .fm { grid-template-columns: 1fr; }
  .fm-stage { min-height: 0; padding-top: 44px; padding-bottom: 40px; }
  .fm-panel { border-left: 0; border-top: 1px solid var(--border); padding: 22px 18px; }
  .fm-hover { display: none; }
}
@media (prefers-reduced-motion: reduce) { .fm-stage path { transition: none; } }

/* ── Tighter hero + richer nav ───────────────────────────────────────────── */
.up-section.after-hero { padding-top: 40px; }
.hero h1 { max-width: 14ch; }
@media (min-width: 901px) {
  .nav-links { gap: 8px; }
  .nav-link { font-size: 13px; font-weight: 600; letter-spacing: .02em; padding: 10px 16px; border: 1px solid rgba(255,255,255,.10); border-radius: 999px; background: rgba(255,255,255,.03); color: #e9e9ee; cursor: pointer; transition: border-color .18s, background .18s, box-shadow .18s, transform .18s; display: inline-flex; align-items: center; gap: 8px; }
  .nav-link:hover { border-color: rgba(255,90,112,.8); background: rgba(200,16,46,.12); box-shadow: 0 0 22px rgba(200,16,46,.28); transform: translateY(-1px); color: #fff; }
  .nav-link.nav-link-cta { background: linear-gradient(180deg, #e11f41, #b3122b); border-color: #ff5a70; color: #fff; box-shadow: 0 6px 24px rgba(200,16,46,.38); }
  .nav-link.nav-link-cta:hover { background: linear-gradient(180deg, #f2274b, #c8102e); box-shadow: 0 8px 30px rgba(200,16,46,.55); }
  .nav-link.nav-link-cta::after { content: '→'; font-weight: 400; }
}

@media (min-width: 901px) {
  .hero .hero-inner { padding-top: 84px; padding-bottom: 48px; }
  .hero .hero-calling-card-wrap { margin-top: 44px; }
  .up-section.after-hero { padding-top: 24px; }
  .hero .hero-ctas { margin-top: 36px; }
}

/* ── Markets board (replaces the chip list) ──────────────────────────────── */
.mb { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mb-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.mb-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 22px 24px 18px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(200,16,46,.10), transparent); }
.mb-head h3 { font-size: 26px; margin: 0; letter-spacing: -.02em; }
.mb-head span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); font-weight: 600; white-space: nowrap; }
.mb-row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 13px 24px; border-bottom: 1px solid var(--border); font-size: 14.5px; line-height: 1.55; }
.mb-row:last-child { border-bottom: 0; }
.mb-row b { color: #fff; font-weight: 600; }
.mb-row span { color: var(--text-dim); }
.mb-row:hover { background: rgba(255,255,255,.025); }
.mb-foot { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; border: 1px solid var(--border); border-radius: 14px; padding: 18px 24px; background: var(--bg-card); }
.mb-foot p { margin: 0; color: var(--text-dim); font-size: 15px; }
.mb-foot p b { color: #fff; }
@media (max-width: 900px) { .mb { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .mb-row { grid-template-columns: 1fr; gap: 2px; padding: 12px 18px; } .mb-head { padding: 18px; flex-direction: column; gap: 6px; } .mb-foot { padding: 16px 18px; } }
/* ── Phone pass ──────────────────────────────────────────────────────────── */
.nb { white-space: nowrap; }
@media (max-width: 900px) {
  .nav-links { overflow: visible !important; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .nav-links .nav-link:first-child { display: none; }
  .nav-link { justify-content: center; text-align: center; min-height: 44px; display: inline-flex !important; align-items: center; gap: 6px; padding: 8px 6px; font-size: 12px; border-radius: 10px; }
  .nav-link.nav-link-cta { background: var(--red); border-color: var(--red); }
  .deal-card input, .deal-card select, .deal-card textarea { font-size: 16px; min-height: 48px; }
  .role-tab { min-height: 46px; font-size: 14px; }
  .fm-chip { min-height: 44px; padding: 8px 16px; font-size: 14px; display: inline-flex; align-items: center; }
  .fm-crumbs button { min-height: 40px; }
  .faq summary { padding-top: 22px; padding-bottom: 22px; }
  .path-card { padding: 22px 20px; }
  .mb-foot .btn { width: 100%; justify-content: center; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .14em; }
  main { padding-bottom: 76px; }
}

@media (max-width: 900px) { .nav-links .nav-link:first-child { display: none !important; } }
