/* nue.io demo landing  -  extends styles.css. Light mode default (theme.js). */

/* width: auto (default) — must NOT be width: 100%, otherwise margin-left: 260px
   resolves margin-right to -260px and centered children visually shift off-center. */
.site-main {
  margin: 0;
  padding: 0;
}

.hero {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-dim) 100%);
  border-bottom: 1px solid var(--border);
}
.hero__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3.5rem;
}
.hero__eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.hero__title {
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}
.hero__lede {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 2rem;
  max-width: 720px;
}

.block {
  border-bottom: 1px solid var(--border);
}
.block--alt {
  background: var(--surface-dim);
}
.block__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.block__heading {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.block__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.block__body {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.9rem;
}
.block__body--lead {
  font-size: 1.1rem;
  color: var(--text);
}
.block__note {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  border-left: 3px solid var(--border);
  padding-left: 0.9rem;
  margin-top: 0.4rem;
}
.block__cite {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}
.block__quote-inline {
  font-style: italic;
  color: var(--text);
  margin-top: 0.6rem;
}

.quote {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0 1.25rem;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.55;
}
.quote--criterion {
  border-left-color: #16a34a;
  font-size: 1.1rem;
}
.quote__attribution {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: normal;
}

.numbered {
  margin: 0 0 0.5rem 1.25rem;
  padding: 0;
  color: var(--text-secondary);
  line-height: 1.65;
}
.numbered li {
  margin-bottom: 0.5rem;
}

.bullets {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
  color: var(--text-secondary);
  line-height: 1.65;
}
.bullets li {
  margin-bottom: 0.4rem;
}

.cta {
  background: var(--surface);
}
.cta__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}
.cta__heading {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.cta__body {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.05s;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--accent);
  color: #ffffff;
}
.btn--primary:hover { background: var(--accent-hover); }

.video-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  /* Top, sides, bottom: scale fluidly with viewport but always keep breathing room. */
  padding-top:    clamp(1.25rem, 4vw, 2.5rem);
  padding-right:  clamp(1rem,    3vw, 2rem);
  padding-bottom: clamp(1.75rem, 5vw, 3rem);
  padding-left:   clamp(1rem,    3vw, 2rem);
  text-align: center;
}
.video-wrap video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #000;
}
.video-wrap__caption {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  text-align: center;
}

/* ---------- Header action layout ---------- */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: flex-end;
}
/* (header-print-btn dimensions handled by the unified rule above) */
.header-signout {
  margin-left: 0.4rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 12.5px;
  text-decoration: none;
  color: var(--text-secondary);
}
.header-signout:hover {
  background: var(--surface-dim);
  color: var(--text);
  border-color: var(--text-muted);
}

/* ---------- Footer extensions ---------- */
.site-footer__confidential {
  display: inline-block;
  margin-left: 0.6rem;
  padding-left: 0.6rem;
  border-left: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
}
.site-footer__right {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- Kill nav animations ---------- */
.site-main,
.site-nav,
.site-nav-overlay,
.wpp__item {
  transition: none !important;
  animation: none !important;
}

/* ===========================================================
   Standard CODITECT WPP sidebar
   =========================================================== */
/* Header height drives sidebar offset — JS keeps --header-height in sync (nav.js) */
:root { --header-height: 64px; }

.site-nav.wpp {
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  width: 260px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  z-index: 90;
  font-size: 13px;
  padding: 0.75rem 0 2rem;
  transform: translateX(-100%);
}
.site-nav.wpp.open { transform: translateX(0); }

.wpp__docs-header { padding: 0.5rem 1.25rem 1rem; }
.wpp__docs-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #1e3a8a;
  text-transform: uppercase;
}
.wpp__docs-count {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.wpp__section { padding: 0; margin: 0; }
.wpp__section-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.25rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-align: left;
}
.wpp__section-head:hover { color: var(--text); }
.wpp__chev, .wpp__folder { display: inline-flex; align-items: center; }
.wpp__chev { width: 14px; }
.wpp__folder { width: 16px; opacity: 0.85; }
.wpp__section-name { flex: 1; }
.wpp__section-count {
  font-weight: 400;
  font-size: 11px;
  color: var(--text-muted);
}

.wpp__items { display: block; padding: 0.1rem 0 0.4rem; }
.wpp__section[data-collapsed="true"] .wpp__items { display: none; }

.wpp__item {
  display: block;
  padding: 0.35rem 1.25rem 0.35rem 2.6rem;
  font-size: 12.5px;
  color: var(--text-secondary);
  text-decoration: none;
  border-left: 3px solid transparent;
  line-height: 1.35;
}
.wpp__item:hover { background: var(--surface-dim); color: var(--text); }
.wpp__item.active {
  background: rgba(30, 58, 138, 0.06);
  color: #1e3a8a;
  border-left-color: #1e3a8a;
  font-weight: 600;
}
/* Highlight the top "WATCH FIRST" section so the demo is unmistakable */
.wpp__section[data-key="demo"] {
  background: rgba(22, 163, 74, 0.06);
  border-left: 3px solid #16a34a;
  margin-bottom: 0.75rem;
}
.wpp__section[data-key="demo"] .wpp__section-head {
  color: #15803d;
}
.wpp__section[data-key="demo"] .wpp__item {
  color: #166534;
  font-weight: 600;
  font-size: 13px;
}
.wpp__section[data-key="demo"] .wpp__item:hover {
  background: rgba(22, 163, 74, 0.1);
  color: #14532d;
}
.wpp__file-ico { display: none; }
.wpp__item-text { display: inline; }

/* Desktop sidebar offset */
@media (min-width: 769px) {
  body.nav-open .site-main { margin-left: 260px; }
}

.site-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 80; display: none;
}
.site-nav-overlay.visible { display: block; }

/* ===========================================================
   Standard CODITECT WPP header
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 64px;            /* allow header to grow if subtitle wraps */
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
/* All header icon buttons share dimensions AND centerline so they sit on the same plane */
.header-icon-btn,
.header-print-btn,
.site-header .theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--surface-dim);
  border: 0;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;        /* explicit cross-axis centering on the parent flex */
  cursor: pointer;
  color: var(--text-muted);
  flex: 0 0 auto;
  line-height: 0;            /* kill the inline text-line baseline gap */
  font-size: 0;              /* belt-and-braces: no text-line height inside the button */
  vertical-align: middle;    /* in case the button is treated as inline-level */
  box-sizing: border-box;
}
.header-icon-btn:hover,
.header-print-btn:hover,
.site-header .theme-toggle:hover {
  background: var(--border);
  color: var(--text);
}
.header-icon-btn svg,
.header-print-btn svg,
.site-header .theme-toggle svg {
  display: block;            /* removes default inline baseline offset */
  width: 18px;
  height: 18px;
  vertical-align: middle;
}
/* Text links in the actions area also center on the same line */
.site-header__actions {
  align-items: center;
}
.site-header__actions > a {
  align-self: center;
  display: inline-flex;
  align-items: center;
  height: 36px;              /* match button height so visual planes align */
  line-height: 1;
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  margin-left: 0.4rem;
  flex: 1 1 auto;
  min-width: 0;
}
/* The unnamed text wrapper (contains title + subtitle) — must allow shrink so subtitle can wrap */
.site-header__brand > div {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
.site-header__logo { width: 36px; height: 36px; flex-shrink: 0; }
.site-header__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-header__subtitle {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 0.15rem;
  letter-spacing: 0.01em;
  /* Allow wrap to 2 lines when squeezed (e.g., sidebar open at 769-1100px) */
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: normal;
  overflow-wrap: break-word;
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
}
.site-header__actions > a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border-radius: 5px;
}
.site-header__actions > a:hover { background: var(--surface-dim); color: var(--text); }
@media (max-width: 720px) {
  .site-header__subtitle { display: none; }
  .site-header__actions > a:not(.header-signout) { display: none; }
}

/* ---------- Mermaid: fill the main panel ---------- */
.diagram-wrap {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 1.5rem 2rem;
  box-sizing: border-box;
  overflow-x: auto;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.diagram-wrap__title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1rem;
}
.mermaid {
  width: 100%;
  display: block;
  text-align: center;
}
.mermaid svg {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* ---------- Screenshot/dashboard image figure ---------- */
.screenshot {
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
  max-width: 1100px;
  text-align: center;
}
.screenshot img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  display: block;
  margin: 0 auto;
}
.screenshot figcaption {
  margin-top: 0.65rem;
  color: var(--text-muted);
  font-size: 13px;
}

/* ===========================================================
   Responsive: mobile + tablet - center everything in main panel
   =========================================================== */
@media (max-width: 768px) {
  /* Header: hide subtitle, hide all actions except sign out */
  .site-header { padding: 0 0.6rem; gap: 0.3rem; }
  .site-header__title { font-size: 14px; }
  .site-header__subtitle { display: none; }
  .site-header__brand { gap: 0.45rem; }
  .site-header__logo { width: 30px; height: 30px; }
  .site-header__actions > a:not(.header-signout),
  .site-header__actions .header-print-btn { display: none; }
  .header-signout { padding: 0.3rem 0.6rem; font-size: 12px; }

  /* Sidebar slides over content (already fixed). Body never offsets on mobile. */
  body.nav-open .site-main { margin-left: 0; }
  .site-nav.wpp { width: 88vw; max-width: 320px; }

  /* Hero: tighter, centered */
  .hero__inner { padding: 2.25rem 1.1rem 1.75rem; }
  .hero__title { font-size: 1.55rem; line-height: 1.25; }
  .hero__lede { font-size: 0.98rem; }

  /* Block sections: tighter, readable line length */
  .block__inner { padding: 1.75rem 1.1rem; }
  .block__heading { font-size: 1.25rem; }

  /* Video: smaller corner radius on mobile (padding handled by clamp() above) */
  .video-wrap video { border-radius: 8px; }

  /* Screenshot images: full-width, centered */
  .screenshot { padding: 0.75rem 0.75rem 0; }
  .screenshot img { border-radius: 8px; }

  /* Diagrams: scrollable horizontally if needed */
  .diagram-wrap { padding: 1rem 0.5rem; }
  .mermaid svg { max-width: 100%; }

  /* Footer: stack vertically, centered */
  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    padding: 1.25rem 1rem;
  }
  .site-footer__confidential {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    display: block;
    margin-top: 0.2rem;
  }
}

/* Centering and overflow control that apply at all sizes */
html, body { max-width: 100%; overflow-x: hidden; }
body { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

.site-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
}
.site-main > * {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.video-wrap, .screenshot, .diagram-wrap, .hero, .block, .cta {
  margin-left: auto;
  margin-right: auto;
}

/* Hard right-side guard: every section container has box-sizing + max-width 100% */
.hero, .block, .cta, .video-wrap, .screenshot, .diagram-wrap,
.hero__inner, .block__inner, .cta__inner {
  box-sizing: border-box;
  max-width: 100%;
}

/* Section containers always carry a horizontal padding floor so content never touches the viewport edge */
.hero, .block, .cta {
  padding-left: clamp(1rem, 2.5vw, 1.5rem);
  padding-right: clamp(1rem, 2.5vw, 1.5rem);
}
/* The inner wrappers handle their own max-width centering; reset their inline padding so it doesn't double up */
.hero__inner, .block__inner, .cta__inner {
  padding-left: 0;
  padding-right: 0;
}

/* Normal text wraps at word boundaries, only long unbreakable strings (paths, URLs)
   are allowed to break mid-word. The aggressive `anywhere` rule was creating ugly
   mid-word breaks; `break-word` only kicks in when the word would otherwise overflow. */
.block__body,
.block__note,
.block__quote-inline,
.hero__lede,
.hero__title,
.cta__heading,
.cta__body,
.bullets,
.bullets li,
.numbered,
.numbered li,
.problem-block__quote,
.problem-block__why,
.problem-block__lede,
.problem-block__close,
p, li {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: none;
}
/* Code-like content can break at any character to avoid horizontal overflow */
code, pre {
  overflow-wrap: anywhere;
  word-break: break-all;
}
pre, code { white-space: pre-wrap; }

/* Images never exceed their container */
img { max-width: 100%; height: auto; }

/* Inline scope tags - so claims are visibly tagged as built-today vs ADR-backed vs next-phase */
.scope-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.05rem 0.45rem;
  border-radius: 3px;
  margin: 0 0.15rem;
  vertical-align: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}
.scope-tag--adr {
  background: rgba(30, 58, 138, 0.1);
  color: #1e3a8a;
}
.scope-tag--today {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

/* ===========================================================
   "The Problem" block - Mark's universal-problem statement
   This is the foundational message of the site. Appears on
   every front-line page (home, intro, demo, operations-layer).
   =========================================================== */
.problem-block {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-dim) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem clamp(1rem, 2.5vw, 1.5rem);
}
.problem-block__inner {
  max-width: 880px;
  margin: 0 auto;
}
.problem-block__eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.problem-block__quote {
  font-size: 1.4rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1.4rem;
  border-left: 4px solid #16a34a;
  padding-left: 1.1rem;
  font-style: normal;
}
.problem-block__why {
  color: var(--text);
  background: rgba(217, 119, 6, 0.06);
  border-left: 3px solid #d97706;
  padding: 0.7rem 0.95rem;
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  border-radius: 0 6px 6px 0;
}
.problem-block__why strong { color: #b45309; }
.problem-block__lede {
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  font-size: 1rem;
}
.problem-block__list {
  margin: 0.4rem 0 1.1rem;
  padding-left: 1.4rem;
  list-style: none;
}
.problem-block__list li {
  position: relative;
  padding: 0.3rem 0 0.3rem 0.6rem;
  color: var(--text-secondary);
  line-height: 1.5;
  border-left: 2px solid #ef4444;
  margin-left: -0.3rem;
}
.problem-block__list li::before {
  content: "No system for";
  display: inline;
  color: #ef4444;
  font-weight: 700;
  margin-right: 0.4rem;
}
.problem-block__attribution {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.problem-block__attribution strong { color: var(--text); }
.problem-block__close {
  margin-top: 1.1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
@media (max-width: 640px) {
  .problem-block__quote { font-size: 1.15rem; }
  .problem-block { padding: 2.25rem 1rem; }
}

/* ===========================================================
   Header search
   =========================================================== */
.site-search {
  position: relative;
  margin-right: 0.4rem;
}
.site-search__input {
  width: 14rem;
  max-width: 28vw;
  padding: 0.4rem 0.7rem;
  font-size: 13px;
  background: var(--surface-dim);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  outline: none;
}
.site-search__input:focus {
  border-color: var(--accent);
  background: var(--surface);
}
.site-search__results {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.35rem;
  width: 28rem;
  max-width: 88vw;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 110;
}
.site-search__results.open { display: block; }
.site-search__hit {
  display: block;
  padding: 0.65rem 0.85rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--border);
}
.site-search__hit:last-child { border-bottom: 0; }
.site-search__hit:hover { background: var(--surface-dim); }
.site-search__hit-label {
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 0.15rem;
}
.site-search__hit-snippet {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.site-search__empty {
  padding: 0.85rem 1rem;
  font-size: 12.5px;
  color: var(--text-muted);
}
@media (max-width: 720px) {
  .site-search__input { width: 9rem; max-width: 36vw; }
}

/* ===========================================================
   Prev / Next page nav (above the discovery banner on every page)
   =========================================================== */
.page-nav {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 1rem clamp(1rem, 2.5vw, 1.5rem);
}
.page-nav__inner {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.page-nav__link {
  display: block;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.1s, background 0.1s;
}
.page-nav__link:hover { border-color: var(--text-muted); background: var(--surface-dim); }
.page-nav__direction {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.page-nav__title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.page-nav__link--prev { text-align: left; }
.page-nav__link--next { text-align: right; }
.page-nav__placeholder { /* empty grid cell when no prev or next */ }
@media (max-width: 640px) {
  .page-nav__inner { grid-template-columns: 1fr; }
  .page-nav__link--next { text-align: left; }
}

/* ===========================================================
   Discovery banner (above footer on every page)
   This is a working set of ideas, not a fixed design.
   =========================================================== */
.discovery-banner {
  background: rgba(30, 58, 138, 0.04);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.4rem clamp(1rem, 2.5vw, 1.5rem);
}
.discovery-banner__inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.discovery-banner__icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(30, 58, 138, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1e3a8a;
  font-weight: 700;
  font-size: 14px;
}
.discovery-banner__body {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
}
.discovery-banner__body strong {
  color: var(--text);
  font-weight: 600;
}
@media (max-width: 640px) {
  .discovery-banner__inner { flex-direction: column; gap: 0.6rem; }
}

/* ===========================================================
   Provisional callout (boxes around founder-estimate numbers)
   =========================================================== */
.provisional {
  background: rgba(217, 119, 6, 0.06);
  border-left: 3px solid #d97706;
  padding: 0.7rem 0.95rem;
  margin: 0.8rem 0;
  border-radius: 0 6px 6px 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.provisional strong { color: #b45309; font-weight: 700; }
.provisional__label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: 0.25rem;
}

/* ---------- Print stylesheet ---------- */
@media print {
  .site-header__actions,
  .site-nav,
  .site-nav-overlay,
  .nav-toggle-btn,
  .header-print-btn,
  .header-signout,
  .theme-toggle {
    display: none !important;
  }
  body, .site-main { background: #fff !important; color: #000 !important; }
  .block, .block--alt { background: #fff !important; }
  .site-header { border-bottom: 1px solid #000; }
}
