/* style.css — Static SEC filings page styles */
:root {
  --ink: #0f172a;
  --muted: #475569;
  --line: #cbd5e1;
  --line-soft: #f1f5f9;
  --bg: #ffffff;
  --bg-hover: #f8fafc;
  --accent: #0284c7;
  --accent-soft: #e0f2fe;
  --secondary-nav: #d7dce2;
  --secondary-nav-2: #F3F4F6;

  /* Form type color schemes */
  --form-k-text: #047857;
  --form-k-border: #10b981;
  --form-k-bg: #ecfdf5;

  --form-q-text: #0369a1;
  --form-q-border: #38bdf8;
  --form-q-bg: #f0f9ff;

  --form-e-text: #c2410c;
  --form-e-border: #fb923c;
  --form-e-bg: #fff7ed;

  --form-f-text: #6d28d9;
  --form-f-border: #a78bfa;
  --form-f-bg: #f5f3ff;

  --form-t-text: #0f766e;
  --form-t-border: #5eead4;
  --form-t-bg: #f0fdfa;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--bg);
  font: 14px/1.45 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Primary navigation */
.universal-header {
  width: 100%;
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.8rem;
}

.nav-row-top {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-slash {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.logo-slash span {
  color: var(--ink);
  margin: 0 4px;
  font-weight: 400;
}

.top-menu {
  display: flex;
  gap: 14px;
  list-style: none;
}

.top-menu li:not(:first-child)::before {
  content: "|";
  display: inline-block;
  margin-right: 14px;
  color: var(--line);
  font-weight: 400;
  line-height: 1;
  vertical-align: middle;
}

.top-menu a {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.top-menu a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Secondary navigation */
.nav-row-bottom {
  border-bottom: 1px solid var(--line);
  background: var(--secondary-nav-2);

}

.nav-bottom-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.sec-title-area {
  display: flex;
  flex-direction: column;
}

.sec-title-area h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.1;
  
}

.sec-subtitle {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 1px;
}

.sub-menu {
  display: flex;
  gap: 16px;
  list-style: none;
  align-items: center;
}

.sub-menu li:not(:first-child)::before {
  content: "|";
  display: inline-block;
  margin-right: 16px;
  color: var(--line);
  font-weight: 400;
  line-height: 1;
  vertical-align: middle;
}

.sub-menu a {
  color: var(--ink);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.sub-menu a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Main page */
.main-wrapper {
  width: 100%;
  max-width: 1140px;
  flex: 1 0 auto;
  margin: 0 auto;
  padding: 36px 20px 60px;
}

.page-head {
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.page-head h1 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 500;
}

.page-head .meta {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 4px;
}

/* Filings table */
.scroll {
  overflow-x: auto;
}

.filings {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.8rem;
}

.filings th,
.filings td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.filings th {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.0em;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filings th:nth-child(1) { width: 20%; }
.filings th:nth-child(2) { width: 13%; }
.filings th:nth-child(3) { width: 13%; }
.filings th:nth-child(4) { width: 13%; }
.filings th:nth-child(5) { width: 13%; }
.filings th:nth-child(6) { width: 28%; }

/* Form badges */
.badge {
  display: inline-block;
  min-width: 48px;
  padding: 3px 8px;
  border: 1px solid;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 400;
  text-align: center;
}

.badge:hover {
  text-decoration: none;
  font-weight: 700;
}

.badge.k {
  color: var(--form-k-text);
  border-color: var(--form-k-border);
  background: var(--form-k-bg);
}

.badge.q {
  color: var(--form-q-text);
  border-color: var(--form-q-border);
  background: var(--form-q-bg);
}

.badge.e {
  color: var(--form-e-text);
  border-color: var(--form-e-border);
  background: var(--form-e-bg);
}

.badge.f {
  color: var(--form-f-text);
  border-color: var(--form-f-border);
  background: var(--form-f-bg);
}

.badge.t {
  color: var(--form-t-text);
  border-color: var(--form-t-border);
  background: var(--form-t-bg);
}

/* Amendments (10-K/A, 10-Q/A, 20-F/A, 40-F/A): same family color, dashed border, no "Latest" eligibility */
.badge.amend {
  border-style: dashed;
  font-style: italic;
}

.latest {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  color: #991b1b;
  background: #fef2f2;
  font-size: 0.6rem;
  font-weight: 550;
  vertical-align: 2px;
}

/* Filing summary accordion */
.filing-summary-cell summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid #90cdf4;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
  list-style: none;
  user-select: none;
}

.filing-summary-cell summary::-webkit-details-marker {
  display: none;
}

.filing-summary-cell summary::before {
  content: "+";
  font-size: 1rem;
  line-height: 1;
}

.filing-summary-cell summary:hover {
  border-color: var(--accent);
}

.filing-summary-cell details[open] {
  margin-bottom: 4px;
}

.filing-summary-cell details[open] summary {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.filing-summary-cell details[open] summary::before {
  content: "−";
}

.summary-grid {
  position: relative;
  width: 550%;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: #fff;
  animation: filing-summary-slide-down 0.18s ease-out;
}

@keyframes filing-summary-slide-down {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sec-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 220px;
}

/* Cover only ever holds a couple of short items (Cover Page, Auditor
   Information, Document and Entity Information) -- give it a narrower
   column that wraps to two lines, rather than stretching as wide as
   Statements/Notes. Targeted by class (set in the generator script), not
   by position, since ~0.1% of filings omit Cover or order it differently. */
.sec-group-cover {
  flex: 0 1 160px;
}

.sec-group b {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 5px solid var(--line-soft);
  padding-bottom: 4px;
  margin-bottom: 4px;
}

.sec-group a {
  font-size: 0.82rem;
  padding: 1px 0;
  line-height: 1.35;
}

.sec-group a:hover {
  font-weight: 700;
  text-decoration: none;
}

.exhibits {
  font-size: 0.75rem;
  color: var(--muted);
}



/* ============================================================
   Ticker page, v2: Filing Index + Filing Summary matrix.
   Replaces the single accordion table above (.filing-summary-cell /
   .summary-grid / .sec-group* / .latest are left in place, unused by
   ticker pages now, in case index.html's own worked-example demo still
   renders the old accordion -- confirm and remove separately if not).
   ============================================================ */

.index-section,
.matrix-section {
  margin-bottom: 32px;
}

.index-section h2,
.matrix-section h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--ink);
}

/* Filing Index: same visual language as the old .filings table (reuses
   .badge, .latest, .exhibits as-is) but 5 columns instead of 6 -- no
   Filing Summary accordion column. */
.filing-index {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.8rem;
}

.filing-index th,
.filing-index td {
  padding: 5px 10px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: middle;
}

.filing-index th {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Keep every Table 1 body column on the same compact type scale. Links
   inherit the cell typography so Form and Earnings Release do not appear
   larger or heavier than the date and period columns. */
.filing-index tbody td {
  font-size: 0.75rem;
  font-weight: 400;
}

.filing-index tbody td a,
.filing-index tbody td a:hover {
  font-size: inherit;
  font-weight: inherit;
}

.filing-index th:nth-child(1) { width: 16%; }
.filing-index th:nth-child(2) { width: 16%; }
.filing-index th:nth-child(3) { width: 16%; }
.filing-index th:nth-child(4) { width: 16%; }
.filing-index th:nth-child(5) { width: 36%; }

/* Periodic-form links are intentionally plain in the compact index. */
.filing-index .badge.k,
.filing-index .badge.q {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.filing-index tbody tr.form-10-k td {
  background: #f4f5f6;
}

.filing-index tbody tr.eightk-only-row td:first-child,
.filing-index tbody tr.eightk-only-row td:nth-child(2) {
  color: var(--muted);
}

/* Filing Summary matrix: one row per statement/note name, grouped
   Cover / Statements / Notes via <tbody class="group-block"> +
   a <tr class="group-header"> divider row inside each. */
.filing-summary-matrix {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.filing-summary-matrix th,
.filing-summary-matrix td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.filing-summary-matrix thead th {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filing-summary-matrix thead th:nth-child(1) { width: 46%; }
.filing-summary-matrix thead th:nth-child(2) { width: 27%; }
.filing-summary-matrix thead th:nth-child(3) { width: 27%; }

.group-header th {
  background: var(--secondary-nav-2);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* A quiet table break before Statements and Notes keeps each report
   category visually distinct without adding another labeled row. */
.filing-summary-matrix .group-spacer td {
  height: 12px;
  padding: 0;
  border: 0;
  background: #fff;
}

.name-cell {
  font-weight: 400;
  color: var(--ink);
}

.period-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 4px;
  align-items: start;
}

.period-grid a {
  font-size: 0.8rem;
  white-space: nowrap;
}

.none {
  color: #94a3b8;
}

@media (max-width: 760px) {
  .filing-summary-matrix thead th:nth-child(1) { width: 100%; }
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: var(--bg-hover);
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.footer-brand {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.footer-brand span {
  margin: 0 4px;
}

.footer-content {
  width: 100%;
  max-width: none;
  text-align: left;
}

.footer-content p:first-child {
  color: var(--ink);
  font-weight: 500;
}

.footer-disclaimer {
  margin-top: 5px;
  line-height: 1.5;
}

@media (max-width: 920px) {
  .nav-bottom-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .sub-menu {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* ============================================================
   Homepage redesign (index.html). Scoped so ticker pages retain their
   existing table and page styles while both page types share this file.
   ============================================================ */

.home-page main {
  width: 100%;
  flex: 1 0 auto;
}

.home-page .hero-section {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.home-page .hero-layout {
  display: block;
  padding-top: 100px;
  padding-bottom: 64px;
}

.home-page .hero-copy {
  max-width: 840px;
}

.home-page .eyebrow,
.home-page .section-number,
.home-page .filing-card-eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-page .hero-section h1 {
  max-width: 780px;
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.home-page .hero-explainer {
  display: grid;
  gap: 5px;
  margin-top: 22px;
}

.home-page .hero-explainer p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.home-page .company-finder {
  width: 100%;
  max-width: 610px;
  margin-top: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .company-finder > label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.home-page .search-box {
  position: relative;
  max-width: none;
  margin-bottom: 0;
}

.home-page .search-box input[type="text"] {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid #94a3b8;
  border-radius: 2px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 0.9rem;
}

.home-page .search-box input[type="text"]:focus {
  outline: 2px solid var(--accent-soft);
  outline-offset: 0;
  border-color: var(--accent);
}

.home-page .search-help {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.76rem;
}

.home-page .search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.home-page .search-result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  font-size: 0.82rem;
}

.home-page .search-result-row:last-child {
  border-bottom: 0;
}

.home-page .search-result-row:hover {
  background: #fff;
  text-decoration: underline;
}

.home-page .sr-ticker {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 600;
}

.home-page .sr-company {
  overflow: hidden;
  color: var(--muted);
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .search-empty {
  padding: 9px 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.home-page .content-section {
  border-bottom: 1px solid var(--line);
}

.home-page .content-section-white {
  background: #fff;
}

.home-page .content-section-light {
  background: #f8fafc;
}

.home-page .content-section .main-wrapper {
  padding-top: 58px;
  padding-bottom: 58px;
}

.home-page .section-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.55fr);
  gap: clamp(56px, 8vw, 104px);
  align-items: start;
}

.home-page .section-intro h2,
.home-page .feedback-layout h2 {
  margin-top: 7px;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.home-page .section-intro > p:not(.section-number),
.home-page .feedback-layout p:not(.section-number) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.home-page .section-intro .roadmap-note {
  margin-top: 22px;
  padding-left: 13px;
  border-left: 2px solid var(--accent);
  color: var(--ink);
  font-size: 0.84rem;
}

.home-page .filing-index-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.home-page .filing-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.home-page .filing-card-header h3 {
  margin-top: 3px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
}

.home-page .filing-card-meta {
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: right;
}

.home-page .filing-demo-scroll,
.home-page .earnings-links-panel {
  overflow-x: auto;
}

.home-page .earnings-links-panel {
  border: 1px solid var(--line);
  background: #fff;
}

.home-page .filing-demo-table,
.home-page .earnings-links-table {
  width: 100%;
  border-collapse: collapse;
}

.home-page .filing-demo-table {
  min-width: 560px;
  font-size: 0.74rem;
}

.home-page .filing-demo-table th,
.home-page .filing-demo-table td {
  padding: 6px 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: middle;
}

.home-page .filing-demo-table th {
  color: var(--muted);
  background: #fff;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-page .filing-demo-table th:first-child {
  width: 100px;
}

.home-page .filing-demo-table tbody tr:hover {
  background: #fff;
}

.home-page .filing-demo-table a {
  color: var(--accent);
  font-weight: 400;
}

.home-page .index-type {
  display: inline-block;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.64rem;
  font-weight: 600;
  text-align: left;
  text-transform: uppercase;
}

.home-page .index-type-cover { color: var(--muted); }
.home-page .index-type-statement { color: var(--accent); }
.home-page .index-type-note { color: var(--ink); }

.home-page .earnings-links-table {
  min-width: 590px;
  font-size: 0.8rem;
}

.home-page .earnings-links-table th,
.home-page .earnings-links-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}

.home-page .earnings-links-table th {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-page .earnings-links-table th:nth-child(1) { width: 31%; }
.home-page .earnings-links-table th:nth-child(2) { width: 23%; }
.home-page .earnings-links-table th:nth-child(3) { width: 46%; }

.home-page .earnings-links-table td:last-child a + a {
  margin-left: 12px;
}

.home-page .url-lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.home-page .url-pattern-highlight {
  padding: 30px 0px 5px;
  border-bottom: 0px solid var(--accent);
}

.home-page .url-pattern-highlight code {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.home-page .company-finder-secondary {
  margin-top: 28px;
}

.home-page .feedback-layout {
  display: block;
}

.home-page .feedback-layout > div {
  max-width: 780px;
}

.home-page .feedback-layout a {
  font-weight: 600;
}

.home-page .site-footer {
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.home-page main > .content-section:last-child {
  border-bottom: 0;
}

@media (max-width: 920px) {
  .home-page .section-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-page .hero-copy {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .home-page .hero-layout {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .home-page .hero-section h1 {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
  }

  .home-page .content-section .main-wrapper {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .home-page .filing-card-header {
    flex-direction: column;
    gap: 8px;
  }

  .home-page .filing-card-meta {
    text-align: left;
  }

  .home-page .search-result-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .home-page .sr-company {
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .nav-row-top {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .top-menu {
    flex-wrap: wrap;
  }

  .summary-grid {
    width: 100%;
  }

  .sec-group,
  .sec-group-cover {
    flex: 1 1 100%;
  }
}

/* ============================================================
   Homepage sections (index.html) -- hero, worked example, stat
   band, company search, LLM prompts, feedback. Ticker pages
   (Template.html / generated TICKER.html) do not use any of this.
   ============================================================ */

.hero {
  padding: 32px 0 40px;
  max-width: 680px;
}

.hero h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 14px;
}

.hero-sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.search-box {
  position: relative;
  max-width: 420px;
  margin-bottom: 10px;
}

.search-box input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: #fff;
}

.search-box input[type="text"]:focus {
  outline: none;
  border-color: var(--accent);
}

.search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 10;
}

.search-result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

.search-result-row:last-child {
  border-bottom: none;
}

.search-result-row:hover {
  background: var(--bg-hover);
  text-decoration: none;
}

.sr-ticker {
  font-weight: 700;
  color: var(--accent);
  flex: 0 0 auto;
}

.sr-company {
  color: var(--muted);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-empty {
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-browse-link {
  font-size: 0.82rem;
}

.demo-section {
  padding: 8px 0 40px;
  border-top: 1px solid var(--line-soft);
}

.demo-section h2,
.find-company-section h2,
.llm-section h2,
.feedback-section h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.demo-section p,
.find-company-section p,
.llm-section p,
.feedback-section p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 16px;
}

.demo-summary {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.demo-caption {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 10px;
}

.stat-band {
  width: 100%;
  background: var(--secondary-nav-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-band-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px;
}

.stat-band-headline {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}

.stat-band-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

.stat-band-sub code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  color: var(--accent);
}

.main-wrapper-lower {
  padding-top: 8px;
}

.find-company-section,
.llm-section,
.feedback-section {
  padding-top: 32px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line-soft);
}

.download-line {
  font-size: 0.88rem;
  color: var(--muted);
}

.prompt-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.prompt-list li {
  padding: 10px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--ink);
  background: var(--bg-hover);
}

.feedback-links a {
  font-weight: 600;
}

@media (max-width: 760px) {
  .search-result-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .sr-company {
    text-align: left;
    white-space: normal;
  }
}
