/* Site Intelligence — marketing site styles (brief 19dd).
   Deliberately separate from the report design system: only the brand tokens
   (ink/jade/amber, Source Serif + Inter) are shared. Marketing styling changes
   can never alter report rendering, and vice versa. */

/* ---- brand tokens ------------------------------------------------------- */
:root {
  --ink: #18242F;
  --ink-800: #2A3742;
  --ink-650: #55636E;
  --ink-450: #8A96A0;
  --paper: #FBFAF7;
  --surface: #FFFFFF;
  --line: #E3E7E8;
  --line-soft: #ECEFEF;
  --jade-750: #126B65;
  --jade-650: #16766E;
  --jade-100: #E7F1EE;
  --amber-650: #C07B2E;
  --amber-100: #F9EEDD;
  --risk: #B55245;
  --risk-100: #F6E4E1;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(24,36,47,.06), 0 4px 16px rgba(24,36,47,.05);
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --unavailable-650: #7C868C;
  --unavailable-100: #ECEDEE;
}

@font-face { font-family:'Source Serif 4'; src:url('../fonts/source-serif-600.woff2') format('woff2'); font-weight:600; font-style:normal; }
@font-face { font-family:'Inter'; src:url('../fonts/inter-400.woff2') format('woff2'); font-weight:400; font-style:normal; }
@font-face { font-family:'Inter'; src:url('../fonts/inter-600.woff2') format('woff2'); font-weight:600; font-style:normal; }
@font-face { font-family:'Inter'; src:url('../fonts/inter-700.woff2') format('woff2'); font-weight:700; font-style:normal; }
@font-face { font-family:'IBM Plex Mono'; src:url('../fonts/plex-mono-400.woff2') format('woff2'); font-weight:400; font-style:normal; }
@font-face { font-family:'IBM Plex Mono'; src:url('../fonts/plex-mono-500.woff2') format('woff2'); font-weight:500; font-style:normal; }
@font-face { font-family:'IBM Plex Mono'; src:url('../fonts/plex-mono-600.woff2') format('woff2'); font-weight:600; font-style:normal; }
/* Sept-13 brief: IBM Plex Mono gets one explicit utility role shared with
   the report system -- addresses, report IDs and tabular figures. */
.mono-addr { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-450); }

/* ---- base --------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 1.6;
       color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 700; color: var(--ink); line-height: 1.2;
                 letter-spacing: -0.01em; }
/* Sept-13 brief: one coherent sans family for headings; Source Serif 4
   keeps a single, explicit, restricted role -- the one qualified-
   conclusion sentence on a featured sample card (.sample-conclusion),
   mirroring the report system's .hero-thesis. Never used for headings. */
.sample-conclusion { font-family: var(--font-serif); font-weight: 600;
                     color: var(--ink); line-height: 1.3; }
h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -.01em; margin: 0 0 18px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 14px; }
h3 { font-size: 21px; margin: 0 0 10px; }
p { margin: 0 0 16px; }
a { color: var(--jade-750); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---- header / nav ------------------------------------------------------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line);
               position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between;
                          height: 64px; }
.brand { font-family: var(--font-sans); font-weight: 700; font-size: 20px; color: var(--ink);
         letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand .brand-jade { color: var(--jade-750); }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 14.5px; font-weight: 600; }
.site-nav a { color: var(--ink-650); }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav .nav-cta { background: var(--jade-750); color: #fff; padding: 8px 16px;
                     border-radius: 8px; }
.site-nav .nav-cta:hover { background: var(--jade-650); color: #fff; }
.nav-toggle { display: none; align-items: center; justify-content: center; flex-direction: column;
              gap: 4px; width: 40px; height: 40px; padding: 0; margin: 0; background: none;
              border: none; border-radius: 8px; cursor: pointer; }
.nav-toggle:hover { background: var(--jade-100); }
.nav-toggle-bar { display: block; width: 20px; height: 2px; background: var(--ink-800); border-radius: 2px; }

/* ---- hero --------------------------------------------------------------- */
/* 19f4 (visual review follow-up, minor polish): flattened to the hero
   illustration's own measured background colour (#F8F8F6, see
   make_hero_assets.py) so the image's pale rectangle no longer shows a
   faint seam against the page. No frame/border/shadow added; image file
   untouched. */
.hero { padding: 64px 0 48px; background: #F8F8F6;
        border-bottom: 1px solid var(--line); }
.hero .eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em;
                 text-transform: uppercase; color: var(--jade-750); background: var(--jade-100);
                 padding: 5px 12px; border-radius: 20px; margin-bottom: 18px; }
.hero p.lead { font-size: 19px; color: var(--ink-650); max-width: 640px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; font-weight: 700; font-size: 15px; padding: 13px 24px;
       border-radius: 9px; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--jade-750); color: #fff; }
.btn-primary:hover { background: var(--jade-650); color: #fff; text-decoration: none; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink-450); text-decoration: none; }

/* ---- credibility strip -------------------------------------------------- */
.credibility { background: var(--surface); border-bottom: 1px solid var(--line); padding: 18px 0; }
.credibility ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 34px;
                  justify-content: center; margin: 0; padding: 0; font-size: 14px;
                  font-weight: 600; color: var(--ink-800); }
.credibility li::before { content: '✓ '; color: var(--jade-750); }

/* ---- generic sections --------------------------------------------------- */
.section { padding: 72px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line);
               border-bottom: 1px solid var(--line); }
.section .kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .08em;
                   text-transform: uppercase; color: var(--jade-750); margin-bottom: 10px; }
.section-intro { max-width: 700px; color: var(--ink-650); font-size: 17px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---- cards -------------------------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
        box-shadow: var(--shadow); padding: 26px; min-width: 0; }
        /* min-width:0 (19ef mobile fix): without it, a grid item's default
           min-width:auto uses its content's min-content size, so a wide
           unbreakable child (e.g. the For Teams illustrative table) forces
           the whole .grid-2 track wider than the viewport on mobile, even
           though that child has its own overflow-x:auto wrapper. */
.card h3 { font-size: 19px; }
.card .card-meta { font-size: 12.5px; color: var(--ink-450); text-transform: uppercase;
                   letter-spacing: .05em; font-weight: 700; margin-bottom: 8px; }
.card .card-decision { font-size: 13px; color: var(--jade-750); font-weight: 700;
                       margin-bottom: 6px; }

/* ---- sample report (flagship) ------------------------------------------- */
.flagship { border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
            background: var(--surface); box-shadow: var(--shadow); }
.flagship img { width: 100%; display: block; }
.flagship .flagship-caption { padding: 14px 22px; font-size: 13.5px; color: var(--ink-650);
                              border-top: 1px solid var(--line-soft); display: flex;
                              justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.callout-tag { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--jade-750);
               background: var(--jade-100); border-radius: 5px; padding: 2px 8px; }

/* ---- steps / how it works ----------------------------------------------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 12px; }
.step .step-num { font-family: var(--font-sans); font-size: 15px; font-weight: 700;
                  color: #fff; background: var(--jade-750); width: 30px; height: 30px;
                  border-radius: 50%; display: flex; align-items: center; justify-content: center;
                  margin-bottom: 12px; }
.step h4 { margin: 0 0 6px; }
.step p { font-size: 14px; color: var(--ink-650); margin: 0; }

/* ---- pricing table ------------------------------------------------------ */
.pricing-table { width: 100%; border-collapse: collapse; background: var(--surface);
                 border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pricing-table th, .pricing-table td { text-align: left; padding: 18px 22px;
                  border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.pricing-table th { background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.pricing-table .tier { font-family: var(--font-sans); font-weight: 700; font-size: 18px; }
.pricing-table .price { font-weight: 700; white-space: nowrap; color: var(--jade-750); }
.pricing-table tr:last-child td { border-bottom: none; }
.price-note { font-size: 13px; color: var(--ink-650); margin-top: 16px; }

/* 19f2 (visual review follow-up): scoped-down hero on /pricing only, so the
   intro no longer out-shouts the products below it. Other pages keep the
   shared, larger .hero/h1/.lead treatment untouched. */
.pricing-hero h1 { font-size: clamp(22px, 3vw, 28px); margin: 0 0 8px; }
.pricing-hero p.lead { font-size: 15px; margin-bottom: 0; max-width: none; }

/* Sept-13 brief: three purchasable products, same comparison fields each,
   shown as peers -- separate from the two enquiry-only custom services
   below, which are never presented as equivalent "tiers". */
.product-compare-grid { display: grid; grid-template-columns: repeat(3, 1fr);
                        gap: 20px; align-items: stretch; }
.pc-card { display: flex; flex-direction: column; background: var(--surface); min-width: 0;
          border: 1px solid var(--line); border-radius: var(--radius);
          padding: 24px; box-shadow: var(--shadow); }
.pc-header { margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pc-name { font-size: 22px; font-weight: 700; margin: 0 0 4px; }
.pc-price { font-size: 30px; font-weight: 800; color: var(--jade-750);
           margin: 0; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pc-field { margin: 0 0 14px; }
.pc-field dt { font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
              text-transform: uppercase; color: var(--ink-450); margin: 0 0 3px; }
.pc-field dd { font-size: 13.5px; color: var(--ink-800); margin: 0; line-height: 1.5; }
.pc-actions { margin-top: auto; padding-top: 16px; display: flex;
             flex-direction: column; gap: 8px; }
.pc-actions .btn { text-align: center; }
.pc-sample-link { font-size: 12.5px; text-align: center; }
.custom-services { display: grid; grid-template-columns: repeat(2, 1fr);
                   gap: 16px; margin-top: 8px; }
.cs-card { border: 1px solid var(--line); border-radius: var(--radius);
          padding: 18px 20px; background: var(--paper); }
.cs-card h4 { font-size: 15px; margin: 0 0 6px; }
.cs-card p { font-size: 13.5px; color: var(--ink-650); margin: 0 0 12px; }
@media (max-width: 900px) {
  .product-compare-grid { grid-template-columns: 1fr; }
  .custom-services { grid-template-columns: 1fr; }
}

/* Pricing/request alignment brief (9 Oct 2026): homepage positioning line,
   bulleted "What you get", the value line, the "What's included" grid and
   a short FAQ. */
.pc-position { font-weight: 600; font-size: 15px; color: var(--ink); margin: 10px 0 0; }
.pc-gets { margin: 2px 0 0; padding-left: 18px; }
.pc-gets li { margin-bottom: 4px; }
.pricing-value { font-size: 15.5px; color: var(--ink-800); max-width: 760px; margin: 24px 0 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
                   overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.compare-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 18px;
                  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 14px; }
.compare-table th, .compare-table td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft);
                                       text-align: center; vertical-align: top; }
.compare-table thead th { font-size: 13.5px; font-weight: 700; color: var(--ink); background: var(--paper); }
.compare-table th[scope="row"] { text-align: left; font-weight: 600; color: var(--ink-800);
                                 position: sticky; left: 0; background: var(--surface); width: 34%; }
.compare-table thead th:first-child { position: sticky; left: 0; z-index: 1; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.ci-yes { color: var(--jade-750); font-weight: 800; font-size: 16px; }
.ci-no { color: var(--ink-450); }
.ci-note { display: block; font-size: 11.5px; color: var(--ink-650); margin-top: 2px; }
.compare-price td { font-weight: 800; color: var(--jade-750); font-variant-numeric: tabular-nums; }
.pricing-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 34px; margin: 18px 0 28px; }
.pricing-faq dt { font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.pricing-faq dd { margin: 0; font-size: 14.5px; color: var(--ink-800); line-height: 1.55; }
@media (max-width: 860px) {
  .pricing-faq { grid-template-columns: 1fr; }
}
/* Phone: all three products fit side by side (no sticky column hiding the
   ticks); the container still scrolls if a very narrow screen needs it. */
@media (max-width: 600px) {
  .compare-table { min-width: 340px; font-size: 12.5px; table-layout: fixed; }
  .compare-table th, .compare-table td { padding: 9px 5px; }
  .compare-table thead th { font-size: 11.5px; }
  .compare-table th[scope="row"], .compare-table thead th:first-child { position: static; width: 33%; }
  .compare-table th[scope="row"] { padding-left: 10px; }
  .ci-note { font-size: 10.5px; line-height: 1.3; }
}

/* ---- methodology -------------------------------------------------------- */
.method-block { margin-bottom: 34px; }
.method-block h3 { border-bottom: 2px solid var(--jade-750); padding-bottom: 8px; }
.signal-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 34px; }
.signal-list li { font-size: 15px; }
.signal-list .sig-name { font-weight: 700; display: block; }
.signal-list .sig-desc { color: var(--ink-650); font-size: 14px; }
.source-list { margin: 0; padding-left: 20px; }
.source-list li { margin-bottom: 8px; }
.method-block > p { max-width: 720px; }
.method-index { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; }
.method-index a { font-size: 13.5px; color: var(--jade-750); text-decoration: none;
  border-bottom: 1px solid transparent; }
.method-index a:hover { border-bottom-color: var(--jade-750); }
.source-table { width: 100%; max-width: 780px; border-collapse: collapse; font-size: 14.5px; }
.source-table th, .source-table td { text-align: left; padding: 8px 14px 8px 0; vertical-align: top; }
.source-table thead th { border-bottom: 2px solid var(--jade-750); font-weight: 700; }
.source-table tbody tr + tr td { border-top: 1px solid var(--line); }
.source-table td:last-child { color: var(--ink-650); white-space: nowrap; }

/* ---- sample gallery ----------------------------------------------------- */
.sample-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.category-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0 0; }
.category-nav a { font-size: 13.5px; color: var(--jade-750); text-decoration: none;
  border-bottom: 1px solid transparent; }
.category-nav a:hover { border-bottom-color: var(--jade-750); }

/* 19ef: For Teams -- illustrative multi-site comparison excerpt */
.teams-excerpt { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.teams-excerpt-label { display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--amber-650);
  background: var(--amber-100); border-radius: 5px; padding: 3px 9px; margin: 0 0 8px; }
.sample-card { display: flex; flex-direction: column; }
.sample-card .sample-note { color: var(--ink-650); font-size: 14px; flex: 1; }
.sample-card .sample-link { font-weight: 700; margin-top: 12px; }
.sample-label { font-size: 12.5px; font-style: italic; color: var(--ink-450); margin-top: 8px; }

/* 19dt: sample-card map thumbnails (server-side downscale of the stored map)
   and the Healthcare product sub-headings under one "Healthcare" parent. */
.sample-map { display: block; width: 100%; height: auto; border-radius: 8px;
              border: 1px solid var(--line); margin: 0 0 14px; object-fit: cover;
              background: var(--surface); }
.sample-no-map { font-size: 12.5px; color: var(--ink-450); font-style: italic;
                 border: 1px dashed var(--line); border-radius: 8px;
                 padding: 16px 14px; margin: 0 0 14px; line-height: 1.5; }
.sample-subhead { font-size: 15px; color: var(--ink-950); font-weight: 700;
                  margin: 24px 0 10px; padding-left: 10px;
                  border-left: 3px solid var(--jade-750); }

/* ---- form --------------------------------------------------------------- */
.form { max-width: 620px; background: var(--surface); border: 1px solid var(--line);
        border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form label { display: block; font-weight: 600; font-size: 14px; margin: 16px 0 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 11px 13px; font-size: 15px;
        border: 1px solid var(--line); border-radius: 8px; font-family: var(--font-sans);
        background: var(--surface); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--jade-100);
        border-color: var(--jade-750); }
.form .btn { margin-top: 22px; }
.form-success { background: var(--jade-100); border: 1px solid var(--jade-750);
        border-radius: var(--radius); padding: 16px 20px; font-weight: 600; margin-bottom: 20px; }
.form-error { background: var(--risk-100); border: 1px solid var(--risk);
        border-radius: var(--radius); padding: 16px 20px; font-weight: 600; margin-bottom: 20px; color: var(--ink); }
.form-disclaimer { font-size: 12.5px; color: var(--ink-450); margin-top: 16px; }

/* ---- disclosure / footer ------------------------------------------------ */
.disclosure-box { background: var(--amber-100); border-left: 3px solid var(--amber-650);
        border-radius: var(--radius); padding: 14px 18px; font-size: 13.5px; color: var(--ink-800);
        margin: 28px 0; }
.site-footer { background: var(--ink); color: #C7D0D6; padding: 48px 0 40px; font-size: 14px; }
.site-footer a { color: #A9C6C0; }
.site-footer .container { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.site-footer .brand { color: #fff; }
.site-footer .disclosure { color: #9AA7AE; font-size: 12.5px; margin-top: 12px; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }

/* ---- responsive --------------------------------------------------------- */
@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4, .steps, .sample-grid, .signal-list { grid-template-columns: 1fr; }
  .site-header .container { height: 60px; padding: 0 20px; position: relative; }
  .nav-toggle { display: flex; }
  .site-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; z-index: 49;
              flex-direction: column; align-items: stretch; gap: 2px; background: var(--surface);
              border-bottom: 1px solid var(--line); padding: 8px 20px 16px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 2px; }
  .site-nav .nav-cta { text-align: center; margin-top: 6px; }
  .hero { padding: 40px 0 32px; }
  .site-footer .container { grid-template-columns: 1fr; }
}

/* ===================== 19dn four-step flow (/request) ===================== */
.flow-stepper { display:flex; flex-wrap:wrap; gap:8px; list-style:none; margin:0 0 28px; padding:0; }
.flow-step { font-size:12.5px; font-weight:600; color:var(--ink-450); border:1px solid var(--line);
  border-radius:999px; padding:5px 12px; }
.flow-step a { color:inherit; text-decoration:none; }
.flow-step.is-active { color:#fff; background:var(--jade-750); border-color:var(--jade-750); }
.flow-step.is-done { color:var(--jade-750); border-color:var(--jade-650); }
.flow-step.is-done a { color:var(--jade-750); }
.step-banner { font-size:13px; color:var(--ink-650); background:var(--jade-100);
  border:1px solid var(--jade-650); border-radius:var(--radius); padding:10px 14px; margin:0 0 18px; }
.product-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; margin:0 0 24px; }
.product-card { border:1px solid var(--line); border-radius:14px; padding:20px 22px;
  background:var(--surface); display:flex; flex-direction:column; gap:8px; }
.product-card.is-selected { border-color:var(--jade-750); box-shadow:0 0 0 1px var(--jade-750); }
.product-eyebrow { font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--jade-750); }
.product-name { font-family:var(--font-sans); font-weight:700; font-size:20px; margin:0; color:var(--ink-950); }
.product-included { font-size:13.5px; color:var(--ink-650); margin:0; }
.product-subtext { font-size:12px; color:var(--ink-450); margin:0; font-style:italic; }
.product-exclusion { font-size:12px; color:var(--ink-500); margin:0; }
.product-price { font-size:24px; font-weight:800; color:var(--ink-950); margin:8px 0 4px; }
.product-card .btn { margin-top:auto; align-self:flex-start; }
/* Pricing/request alignment brief: Step-2 cards carry the homepage
   positioning line + inclusions; Step 1/4 reassurance and summary extras. */
.product-position { font-weight:600; font-size:14.5px; color:var(--ink); margin:0; }
.product-includes, .summary-includes { margin:0; padding-left:18px; font-size:13.5px; color:var(--ink-800); }
.product-includes li, .summary-includes li { margin-bottom:4px; }
.summary-includes { margin:0 0 10px; }
.summary-head { margin:0 0 6px; font-size:14px; }
.summary-map { display:block; width:100%; max-width:360px; margin:8px 0 2px; border-radius:8px;
               border:1px solid var(--line); }
.reassure-line { font-size:12.5px; color:var(--ink-650); margin:12px 0 0; }
.cat-grid { display:grid; grid-template-columns:repeat(2, 1fr); gap:12px; margin:0 0 18px; }
.cat-tile { text-align:left; border:1px solid var(--line); border-radius:12px; padding:14px 16px;
  background:var(--surface); cursor:pointer; font:inherit; display:flex; flex-direction:column; gap:4px; }
.cat-tile.is-selected { border-color:var(--jade-750); box-shadow:0 0 0 1px var(--jade-750); }
.cat-tile .cat-name { font-weight:700; color:var(--ink-950); font-size:15px; }
.cat-tile .cat-examples { font-size:12px; color:var(--ink-500); }
.cat-tile .cat-note { font-size:12px; color:var(--ink-650); margin-top:4px; }
.format-question { margin:0 0 20px; }
.radio-pill { display:flex; flex-direction:column; border:1px solid var(--line); border-radius:10px;
  padding:12px 14px; margin:0 0 10px; cursor:pointer; font-size:14px; color:var(--ink-900); }
.radio-pill .pill-label { font-weight:600; }
.radio-pill small { display:block; font-size:12px; color:var(--ink-500); margin-top:6px; }
.summary-strip { display:grid; grid-template-columns:max-content 1fr; gap:6px 18px; margin:0 0 16px; }
.summary-strip dt { font-weight:700; color:var(--ink-650); font-size:13px; }
.summary-strip dd { margin:0; font-size:14px; color:var(--ink-950); }
.summary-strip dd a { font-size:12px; margin-left:6px; }
.summary-strip dd.summary-total { font-weight:800; font-size:18px; color:var(--jade-750); }
a:focus-visible, button:focus-visible, .product-card a:focus-visible, .cat-tile:focus-visible,
input:focus-visible, select:focus-visible { outline:2px solid var(--jade-750); outline-offset:2px; }
.panel { border:1px dashed var(--line); border-radius:14px; padding:22px 24px; }
@media (max-width:860px) {
  .product-grid { grid-template-columns:1fr; }
  .cat-grid { grid-template-columns:1fr; }
  .summary-strip { grid-template-columns:1fr; }
}

/* 19do: sample-card 'what this demonstrates' bullets */
.sample-demonstrates { list-style:none; margin:0 0 10px; padding:0; }
.sample-demonstrates li { font-size:12.5px; color:var(--ink-650); padding-left:14px; position:relative; }
.sample-demonstrates li::before { content:"·"; position:absolute; left:2px; color:var(--jade-650); font-weight:700; }

/* Sept-13 brief: three editorially-selected featured samples, each answering
   a buyer question with one real finding -- richer than the plain gallery
   card below, and never presenting the configuration as the story. */
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.featured-card { display: flex; flex-direction: column; background: var(--surface);
                border: 1px solid var(--line); border-radius: var(--radius);
                padding: 20px; box-shadow: var(--shadow); }
.featured-card h3 { font-size: 17px; margin: 4px 0 10px; }
.featured-question { font-size: 13px; color: var(--ink-650); margin: 0 0 8px; }
.featured-finding { font-size: 13.5px; color: var(--ink-800); margin: 0 0 10px; }
.featured-unresolved { font-size: 12.5px; color: var(--ink-650); margin: 0 0 14px; }
.featured-card .sample-link { margin-top: auto; font-weight: 700; }
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: 1fr; }
}

/* 19f0 (brand & visual implementation brief): the homepage hero swapped
   its map-led card for a plain illustrative neighbourhood graphic (static
   asset -- see index.html), so the .hero-map-card family above is gone.
   .map-attribution is kept: it's now reused under the "Three reports"
   featured-grid, which is the page's only remaining real sourced map. */
.hero-illustration { width: 100%; height: auto; display: block; }
.map-attribution { color: var(--ink-450); font-size: 11px; }

/* 19do: Step-2 'View a sample' link */
.view-sample-link { font-size:13px; font-weight:600; color:var(--jade-750); }
.view-sample-link:hover { text-decoration:underline; }

/* 19e1 D2.1: the Step-2 'Popular' badge was removed -- an unsupported
   popularity claim (no real paying-customer base exists to back it). */

/* 19dx: order-status page generation-in-progress indicator (CSS-only: no JS,
   no framework). A pulsing jade bar + sequentially lit step labels. */
.gen-progress { margin: 18px 0 4px; }
.gen-track { height: 6px; border-radius: 999px; background: var(--line-soft);
             overflow: hidden; }
.gen-bar { height: 100%; width: 42%; border-radius: 999px;
  background: linear-gradient(90deg, var(--jade-100), var(--jade-650), var(--jade-100));
  background-size: 200% 100%; animation: gen-slide 1.4s linear infinite; }
@keyframes gen-slide { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.gen-steps { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 12px 0 2px; }
.gen-step { font-size: 13px; color: var(--ink-650); opacity: .22; }
.gen-step:nth-child(1) { animation: gen-step 4.2s infinite; }
.gen-step:nth-child(2) { animation: gen-step 4.2s 1.4s infinite; }
.gen-step:nth-child(3) { animation: gen-step 4.2s 2.8s infinite; }
@keyframes gen-step { 0%, 100% { opacity: .22; } 20%, 60% { opacity: 1; } }
.gen-note { font-size: 13.5px; color: var(--ink-650); margin: 12px 0 0; }
@media (prefers-reduced-motion: reduce) {
  .gen-bar { animation: none; }
  .gen-step { animation: none; opacity: .75; }
}

/* ===== Homepage value-prop brief (9 Oct 2026) =============================
   Hero price line, "numbers behind a location" rows, homepage product
   columns, evidence-led findings cards, how-it-works strip, source strip and
   the split final CTA. Compact rows rather than tall cards (brief s.12). */
.hero-meta { font-size: 14px; color: var(--ink-650); margin: 18px 0 0; }

.metric-note { font-size: 12.5px; color: var(--ink-450); margin: 18px 0 0; max-width: 760px; }

/* Round-2 brief B2 (9 Oct 2026): one catchment diagram + six compact tiles,
   replacing the six text rows and their buyer-benefit sentences. */
.learn-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
              gap: 28px 40px; align-items: center; margin-top: 26px; }
.catchment-fig { margin: 0; background: var(--surface); border: 1px solid var(--line);
                 border-radius: var(--radius); padding: 18px 18px 14px; }
.catchment-svg { display: block; width: 100%; height: auto; }
.catchment-svg .ring-outer { fill: var(--jade-100); fill-opacity: .55; stroke: var(--jade-650);
                             stroke-width: 1.25; stroke-dasharray: 4 3; }
.catchment-svg .ring-inner { fill: var(--jade-100); stroke: var(--jade-750); stroke-width: 1.5; }
.catchment-svg .ring-site-halo { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.catchment-svg .ring-site { fill: var(--ink); }
.catchment-svg .ring-leader { stroke: var(--ink-450); stroke-width: 1; fill: none; }
.catchment-svg .ring-tag { font: 600 10.5px var(--font-sans); fill: var(--jade-750);
                           letter-spacing: .02em; }
.catchment-svg .ring-num { font: 700 17px var(--font-sans); fill: var(--ink); }
.catchment-svg .ring-sub { font: 400 11px var(--font-sans); fill: var(--ink-650); }
.catchment-fig figcaption { font-size: 12.5px; color: var(--ink-650); margin-top: 8px; }
.learn-tiles { list-style: none; margin: 0; padding: 0; display: grid;
               grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.learn-tile { display: flex; gap: 12px; align-items: flex-start; }
.learn-tile .tile-icon { flex: none; margin-top: 1px; fill: none; stroke: var(--jade-750);
                         stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.learn-tile h3 { font-size: 15px; margin: 0 0 2px; }
.learn-tile p { font-size: 13.5px; color: var(--ink-650); margin: 0; line-height: 1.45; }
.learn-tile .learn-example { margin-top: 5px; font-size: 12.5px; font-weight: 600;
                             color: var(--jade-750); font-variant-numeric: tabular-nums; }

.home-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.home-product { display: flex; flex-direction: column; background: var(--surface);
                border: 1px solid var(--line); border-radius: var(--radius);
                padding: 22px; min-width: 0; }
.home-product header { display: flex; justify-content: space-between; align-items: baseline;
                       gap: 12px; padding-bottom: 12px; margin-bottom: 12px;
                       border-bottom: 1px solid var(--line); }
.home-product h3 { font-size: 19px; margin: 0; }
.home-product-price { font-size: 22px; font-weight: 800; color: var(--jade-750);
                      margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.home-product-position { font-weight: 600; font-size: 15px; color: var(--ink); margin: 0 0 10px; }
.home-product-includes { margin: 0 0 12px; padding-left: 18px; font-size: 14px; color: var(--ink-800); }
.home-product-includes li { margin-bottom: 5px; }
.home-product-excludes { font-size: 13px; color: var(--ink-650); margin: 0 0 16px; }
.home-product-actions { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.home-product-sample { font-size: 14px; font-weight: 600; }

/* Round-2 brief B3: one same-sized visual at the top of each product card
   (16:10 frame, subtle border, no shadow), from that product's sample. */
.product-visual { margin: -4px 0 16px; }
.product-visual > picture img, .pv-chart, .pv-grid {
  display: block; width: 100%; aspect-ratio: 16 / 10; border: 1px solid var(--line);
  border-radius: 8px; background: var(--paper); overflow: hidden; }
.product-visual > picture img { height: auto; object-fit: cover; }
.product-visual figcaption { font-size: 11.5px; color: var(--ink-450); margin-top: 6px; }
.pv-chart { padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.pv-bar-row { display: grid; grid-template-columns: minmax(0, 46%) 1fr 30px; gap: 8px;
              align-items: center; font-size: 11.5px; color: var(--ink-650); }
.pv-bar-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-bar-track { height: 8px; border-radius: 4px; background: var(--line-soft); overflow: hidden; }
.pv-bar-fill { display: block; height: 100%; border-radius: 4px; background: var(--ink-450); }
.pv-bar-val { text-align: right; font-variant-numeric: tabular-nums; }
.pv-bar-row.is-selected { color: var(--ink); font-weight: 700; }
.pv-bar-row.is-selected .pv-bar-fill { background: var(--jade-750); }
.pv-grid { padding: 8px 10px; display: grid; grid-template-columns: 1fr 1fr;
           grid-auto-rows: 1fr; gap: 4px 10px; align-content: center; }
.pv-cell { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.pv-use { font-size: 11.5px; font-weight: 600; color: var(--ink); white-space: nowrap;
          overflow: hidden; text-overflow: ellipsis; }
.pv-chip { align-self: flex-start; font-size: 10.5px; font-weight: 700; border-radius: 999px;
           padding: 1px 7px; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* the scan's own Location-fit chip colours (scan_report.py .scan-fit-chip) */
.pv-strong { color: var(--jade-750); background: var(--jade-100); }
.pv-moderate, .pv-limited { color: #9A5F1E; background: var(--amber-100); }
.pv-weak { color: var(--risk); background: var(--risk-100); }

/* Round-2 brief B4: outcome cards -- question, verdict badge in the report's
   decision-badge colours, one reason, a two-sentence explainer. Equal height
   via the grid's stretch + the link pinned to the bottom. */
.outcome-card h3 { font-size: 17.5px; line-height: 1.3; margin: 4px 0 12px; }
.outcome-badge { align-self: flex-start; display: inline-block; color: #fff; font-size: 13px;
                 font-weight: 700; letter-spacing: .02em; border-radius: 6px;
                 padding: 5px 12px; margin: 0 0 12px; }
/* report_render.py .badge-strong / .badge-conditional / .badge-weak */
.outcome-strong { background: #126B65; }
.outcome-conditional { background: #A16620; }
.outcome-weak { background: #A94F45; }
.outcome-reason { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.45; margin: 0 0 10px; }
.outcome-explainer { font-size: 13.5px; color: var(--ink-650); line-height: 1.5; margin: 0 0 16px; }

.section-tight { padding: 52px 0; }
.how-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid;
             grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-steps li { display: flex; gap: 14px; align-items: flex-start; }
.how-steps .step-num { flex: none; font-size: 14px; font-weight: 700; color: #fff;
                       background: var(--jade-750); width: 28px; height: 28px; border-radius: 50%;
                       display: flex; align-items: center; justify-content: center; }
.how-steps h4 { font-size: 15.5px; margin: 2px 0 4px; }
.how-steps p { font-size: 14px; color: var(--ink-650); margin: 0; }
.how-note { font-size: 14px; color: var(--ink-650); margin: 22px 0 0; }

.source-strip { margin: 20px 0 22px; display: grid; gap: 12px; }
.source-strip > div { display: grid; grid-template-columns: 180px 1fr; gap: 4px 24px; }
.source-strip dt { font-size: 12px; font-weight: 700; letter-spacing: .06em;
                   text-transform: uppercase; color: var(--ink-450); padding-top: 2px; }
.source-strip dd { margin: 0; font-size: 14.5px; color: var(--ink-800); }

.final-cta { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; align-items: center; }
.final-cta h2 { font-size: clamp(24px, 3vw, 30px); }
.multi-site { border-left: 3px solid var(--jade-750); padding: 4px 0 4px 22px; }
.multi-site h3 { font-size: 18px; margin: 0 0 6px; }
.multi-site p { font-size: 14.5px; color: var(--ink-650); margin: 0 0 14px; }

@media (max-width: 900px) {
  .home-products, .how-steps, .final-cta, .learn-grid { grid-template-columns: 1fr; }
  .catchment-fig { max-width: 460px; }
}
@media (max-width: 640px) {
  .learn-tiles, .source-strip > div { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 auto; text-align: center; }
  .multi-site { border-left: none; border-top: 1px solid var(--line); padding: 20px 0 0; }
}
