/* Recon sales page. The portal's "Signal" palette (src/Recon.Portal/wwwroot/css/site.css), light and
   dark, no web fonts, no scripts. The CSP in _headers forbids inline styles: everything lives here. */

:root {
  color-scheme: light;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-2: #eef2f6;
  --border: #dbe2ea;
  --text: #142030;
  --text-2: #475569;
  --text-3: #74818f;
  --brand: #0e7c74;
  --brand-strong: #0a5f59;
  --brand-soft: #e0f3f1;
  --on-brand: #ffffff;
  --shell: #0d1a2b;
  --shell-2: #152740;
  --shell-text: #e3ebf4;
  --shell-muted: #8ea1b8;
  --signal: #2cc9b7;
  --hot: #e5483d;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(16 32 48 / 0.06), 0 8px 24px rgb(16 32 48 / 0.06);
  --page: 72rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0a111b;
    --surface: #101a27;
    --surface-2: #142132;
    --border: #22344b;
    --text: #e4ebf3;
    --text-2: #a7b4c4;
    --text-3: #7b899a;
    --brand: #2cc9b7;
    --brand-strong: #5fe0d0;
    --brand-soft: #0f3532;
    --on-brand: #04201d;
    --shell: #070d16;
    --shell-2: #0f1b2b;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.25);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 720; }
h3, .h3 { font-size: 1.08rem; font-weight: 680; }
p { margin: 0 0 1rem; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 40rem) { .wrap { padding: 0 1.5rem; } }
.narrow { max-width: 46rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 700; color: var(--brand); margin-bottom: 0.6rem; }

/* ---- top bar ---- */
.top { position: sticky; top: 0; z-index: 10; background: var(--shell); color: var(--shell-text); border-bottom: 1px solid var(--shell-2); }
.top-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 3.75rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--shell-text); text-decoration: none; font-weight: 750; font-size: 1.1rem; }
.mark { width: 26px; height: 26px; }
.mark .ring { fill: none; stroke: var(--signal); stroke-width: 1.6; }
.mark .ring-2 { fill: none; stroke: var(--signal); stroke-width: 1.4; opacity: 0.45; }
.mark .sweep { fill: var(--signal); opacity: 0.22; }
.mark .dot { fill: var(--signal); }
.nav { display: none; gap: 1.25rem; margin-left: auto; }
.nav a { color: var(--shell-muted); text-decoration: none; font-size: 0.93rem; }
.nav a:hover { color: var(--shell-text); }
.top .button { margin-left: auto; }
@media (min-width: 52rem) { .nav { display: flex; } .top .button { margin-left: 0; } }

/* ---- buttons ---- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 1.25rem; border-radius: 10px; background: var(--brand); color: var(--on-brand); font-weight: 650; text-decoration: none; border: 1px solid transparent; }
.button:hover { background: var(--brand-strong); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.button.small { min-height: 2.25rem; padding: 0 0.9rem; font-size: 0.92rem; }
.button.ghost { background: transparent; color: var(--brand); border-color: var(--border); }
.button.ghost:hover { background: var(--brand-soft); }
.button.light { background: #ffffff; color: #0a5f59; }
.button.light:hover { background: #e0f3f1; }
.button.ghost-light { background: transparent; color: #ffffff; border-color: rgb(255 255 255 / 0.45); }
.button.ghost-light:hover { background: rgb(255 255 255 / 0.1); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }

/* ---- hero ---- */
.hero { padding: 3rem 0 3.5rem; background: radial-gradient(60rem 30rem at 85% -10%, var(--brand-soft), transparent 60%); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 60rem) { .hero { padding: 5rem 0; } .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; } }
.lede { font-size: 1.15rem; color: var(--text-2); max-width: 36rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; color: var(--text-2); font-size: 0.95rem; }
.ticks li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: 0.55rem; }

/* The product shot: a report, drawn in HTML so it stays sharp and follows dark mode. */
.shot { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.6rem 0.9rem; background: var(--shell); }
.shot-bar span { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: #2f4563; }
.shot-bar em { margin-left: 0.6rem; color: var(--shell-muted); font-style: normal; font-size: 0.8rem; }
.shot-body { padding: 1rem; overflow-x: auto; }
.shot table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.shot th { text-align: left; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-3); padding: 0.45rem 0.5rem; border-bottom: 1px solid var(--border); white-space: nowrap; }
.shot td { padding: 0.5rem; border-bottom: 1px solid var(--border); white-space: nowrap; }
.shot td:first-child { max-width: 11rem; overflow: hidden; text-overflow: ellipsis; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

.quota { margin-top: 1rem; display: grid; gap: 0.45rem; }
.quota-title { margin: 0 0 0.2rem; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-3); font-weight: 650; }
.q { display: grid; grid-template-columns: 3.5rem 1fr 2.5rem; align-items: center; gap: 0.6rem; font-size: 0.84rem; }
.q b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; }
.bar { height: 0.5rem; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--brand); }
.bar i.hot { background: var(--hot); }
.w92 { width: 92%; } .w64 { width: 64%; } .w31 { width: 31%; }
.shot thead tr:first-child th { border-bottom: 0; padding-bottom: 0; }
.pill { display: inline-block; padding: 0.05rem 0.45rem; border-radius: 99px; font-weight: 650; }
.pill.hot { background: var(--hot); color: #ffffff; }
.reads { list-style: none; margin: 1rem 0 0; padding: 0.85rem 0 0; border-top: 1px dashed var(--border); display: grid; gap: 0.4rem; font-size: 0.86rem; color: var(--text-2); }
.reads li::before { content: "→"; color: var(--brand); font-weight: 700; margin-right: 0.45rem; }
.reads b { color: var(--text); }
.shot figcaption { padding: 0.6rem 1rem; font-size: 0.78rem; color: var(--text-3); border-top: 1px solid var(--border); background: var(--surface-2); }

/* ---- sections ---- */
.band { background: var(--shell); color: var(--shell-text); padding: 2.5rem 0; }
.band p { color: var(--shell-muted); margin: 0; }
.three { display: grid; gap: 1.75rem; }
@media (min-width: 48rem) { .three { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.section { padding: 4rem 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section > .wrap > h2 { max-width: 40rem; margin-bottom: 2rem; }

.cards { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.35rem; }
.card p { color: var(--text-2); margin: 0; font-size: 0.96rem; }

.decisions { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .decisions { grid-template-columns: repeat(2, 1fr); } }
.decision { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 1.35rem 1.35rem 1.15rem; }
.decision p { color: var(--text-2); font-size: 0.96rem; }
.decision .question { color: var(--text); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.decision .evidence { margin: 0; font-size: 0.82rem; font-weight: 650; color: var(--brand); text-transform: uppercase; letter-spacing: 0.04em; }

.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: none; }
@media (min-width: 56rem) { .flow { grid-template-columns: repeat(3, 1fr); gap: 2.25rem; } }
.flow li { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.35rem; }
.flow p { color: var(--text-2); margin: 0; font-size: 0.96rem; }
.step { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 750; margin-bottom: 0.8rem; }
@media (min-width: 56rem) {
  .flow li:not(:last-child)::after { content: "→"; position: absolute; right: -1.7rem; top: 50%; transform: translateY(-50%); color: var(--brand); font-size: 1.4rem; font-weight: 700; }
}
.note { margin: 1.5rem 0 0; color: var(--text-3); font-size: 0.93rem; }

.two { display: grid; gap: 0 2.5rem; }
@media (min-width: 52rem) { .two { grid-template-columns: 1fr 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 0 0 1.25rem 2rem; color: var(--text-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.3rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--brand-soft); border: 2px solid var(--brand); }
.checks b { color: var(--text); }

.cta { background: linear-gradient(120deg, #0a5f59, #0e7c74 55%, #12867d); color: #ffffff; padding: 3.5rem 0; }
.cta-inner { display: grid; gap: 1rem; align-items: center; }
@media (min-width: 56rem) { .cta-inner { grid-template-columns: 1.4fr 1fr; } .cta .actions { justify-content: flex-end; } }
.cta p { color: rgb(255 255 255 / 0.85); margin: 0; max-width: 36rem; }

details { border-bottom: 1px solid var(--border); padding: 0.25rem 0; }
summary { cursor: pointer; list-style: none; padding: 0.9rem 2rem 0.9rem 0; font-weight: 650; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.75rem; color: var(--brand); font-size: 1.3rem; font-weight: 600; }
details[open] summary::after { content: "−"; }
details p { color: var(--text-2); }

.footer { background: var(--shell); color: var(--shell-muted); padding: 1.75rem 0; font-size: 0.9rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; }
.footer a { color: var(--shell-text); }
