/* 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; }

/* ---- hero --------------------------------------------------------------- */
.hero { padding: 88px 0 56px; background: linear-gradient(180deg, var(--surface) 0%, var(--paper) 100%);
        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; }
.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; }

/* 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);
          border: 1px solid var(--line); border-radius: var(--radius);
          padding: 24px; box-shadow: var(--shadow); }
.pc-decision { font-size: 13px; font-weight: 700; color: var(--jade-750);
              margin: 0 0 6px; }
.pc-name { font-size: 20px; font-weight: 700; margin: 0 0 2px; }
.pc-price { font-size: 15px; font-weight: 700; color: var(--ink-800);
           margin: 0 0 16px; 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; }
}

/* ---- 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; }

/* ---- sample gallery ----------------------------------------------------- */
.sample-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.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: auto; padding: 12px 20px; flex-direction: column; gap: 10px; }
  .site-nav { flex-wrap: wrap; gap: 12px 18px; justify-content: center; }
  .hero { padding: 56px 0 40px; }
  .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; }
.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; }
}

/* 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; }
}
