/*
 * Brighteye Index - styles from the Brighteye Brand Guidelines v1.0 (Justified Studio, Dec 2025).
 * Layout: headline on Off White, index cards on a New Dawn backplate, detail panels as white surfaces.
 */

/* CoFo Holz © Contrast Foundry Inc. (contrastfoundry.com). Web licence held by Brighteye Research London Ltd,
   invoice #2860 (Regular + Light, 0-50K views/month). Serve only from Brighteye-owned websites. */
@font-face {
  font-family: "CoFo Holz";
  src: url("fonts/CoFoHolz-Light.woff") format("woff");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "CoFo Holz";
  src: url("fonts/CoFoHolz-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

:root {
  /* Flat core colours */
  --off-black: #111111;
  --dark-grey: #303033;
  --off-white: #F8F8F5;
  --light-grey: #EDEDED;
  --white: #FFFFFF;
  --muted: #6B6B70;           /* Dark Grey at reading weight for secondary text */
  /* New Dawn gradient stops */
  --dawn-navy: #072A67;
  --dawn-blue: #4397D5;
  --dawn-pink: #F2ACC6;
  --dawn-peach: #FDE1BD;
  --new-dawn: linear-gradient(180deg, var(--dawn-navy) 0%, var(--dawn-blue) 35%, var(--dawn-pink) 63%, var(--dawn-peach) 100%);
  --holostrip: linear-gradient(90deg, var(--dawn-blue), var(--dawn-pink) 60%, var(--dawn-peach));
  /* Semantic */
  --up: #2F7A4F;
  --down: #B4413A;
  /* Type */
  --serif: "CoFo Holz", "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
  /* Radii: outer = inner + padding */
  --pad: 20px;
  --r-inner: 28px;
  --r-outer: calc(var(--r-inner) + var(--pad));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { background: #FAFAFA; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: -0.03em;
  color: var(--off-black);
  background: #FAFAFA;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, th:focus-visible { outline: 2px solid var(--dawn-blue); outline-offset: 2px; }

.shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 20px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Top bar */
.topbar { display: flex; justify-content: flex-end; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Eyebrows, chips: Inter Semibold, all caps, +7% tracking, 11px */
.eyebrow, .chip, .tag, th, .chip-btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.eyebrow { color: var(--dark-grey); }
.chip { display: inline-block; padding: 7px 12px; border-radius: 999px; background: var(--light-grey); color: var(--dark-grey); }

/* Hero */
.hero { text-align: center; padding: 40px 0 12px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
h1, h2, .metric-value, .benchmark-value {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.06em;
  margin: 0;
}
h1 {
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.02;
  max-width: 900px;
  color: #111111;
  text-wrap: balance;
}
.text-gradient {
  /* Periwinkle to lavender to dusty pink, as in Brighteye's text-gradient device */
  background: linear-gradient(90deg, #7A98D5, #B3A6CE 55%, #E0B0C8);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  /* Room for the last glyph's overhang (tight tracking), offset so spacing is unchanged */
  padding: 0 0.1em 0.08em 0;
  margin-right: -0.1em;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dek { max-width: 620px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; text-wrap: balance; }

/* New Dawn backplate with grain */
.backplate {
  position: relative;
  padding: var(--pad);
  padding-top: clamp(80px, 12vw, 160px);
  border-radius: var(--r-outer);
  background: var(--new-dawn);
  overflow: hidden;
  isolation: isolate;
}
.backplate::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.metric-card {
  background: var(--white);
  border-radius: var(--r-inner);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.metric-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.metric-label { font-size: 16px; font-weight: 500; }
.metric-desc { color: var(--muted); font-size: 13px; margin-top: 4px; line-height: 1.4; }
.swatch { width: 10px; height: 10px; border-radius: 50%; flex: none; margin-top: 6px; }
.metric-value { font-size: clamp(56px, 6vw, 80px); line-height: .9; color: var(--off-black); }
.metric-sub { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 13px; padding-top: 14px; border-top: 1px solid var(--light-grey); }
.metric-sub strong { color: var(--off-black); font-weight: 500; }

/* Panels: white surfaces on Off White */
.panel {
  background: var(--white);
  border-radius: var(--r-inner);
  padding: 26px 28px;
  min-width: 0;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
h2 { margin-top: 8px; font-size: 34px; line-height: 1.05; }
.legend-note { color: var(--muted); font-size: 12px; }
.chart-wrap { height: 340px; position: relative; }
.chart-wrap.tall { height: 420px; }

/* Software benchmark: the one holostrip on the page */
.benchmark { position: relative; overflow: hidden; padding-top: 30px; }
.benchmark::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--holostrip); }
.benchmark-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.benchmark-note { color: var(--muted); font-size: 12px; }
.benchmark-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.benchmark-stats > div { background: var(--off-white); border-radius: 18px; padding: 16px 18px; }
.benchmark-value { font-size: 36px; line-height: 1; }
.benchmark-label { color: var(--muted); font-size: 12px; margin-top: 6px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-btn {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--light-grey);
  background: var(--white);
  color: var(--dark-grey);
  cursor: pointer;
}
.chip-btn:hover { background: var(--off-white); }
.chip-btn.active { background: var(--dark-grey); border-color: var(--dark-grey); color: var(--white); }

/* Tables */
.table-scroll { overflow-x: auto; }
.scroll-wrap { position: relative; }
.scroll-wrap.can-scroll > .table-scroll { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 72px), transparent); }
.scroll-hint { position: absolute; top: -2px; right: 0; height: 40px; padding: 0 14px 0 16px; border-radius: 999px; border: 0;
  background: var(--dawn-navy); color: var(--white); display: none; align-items: center; gap: 8px; cursor: pointer;
  font: 600 11px var(--sans); letter-spacing: .07em; text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(7, 42, 103, .28); animation: scroll-nudge 1.4s ease-in-out infinite; }
.scroll-wrap.can-scroll > .scroll-hint { display: inline-flex; }
.scroll-hint:hover { background: var(--off-black); animation-play-state: paused; }
@keyframes scroll-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .scroll-hint { animation: none; } }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 14px 10px; border-top: 1px solid var(--light-grey); text-align: left; white-space: nowrap; }
th { color: var(--muted); border-top: 0; padding-top: 4px; }
th[data-key] { cursor: pointer; user-select: none; }
th[data-key]:hover { color: var(--off-black); }
th[data-sort="desc"]::after { content: " ↓"; }
th[data-sort="asc"]::after { content: " ↑"; }
td strong { font-weight: 600; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.ticker { color: var(--muted); font-size: 11px; margin-left: 6px; letter-spacing: 0.02em; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--light-grey); color: var(--dark-grey); font-size: 10px; }
.tag i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
td.up { color: var(--up); }
td.down { color: var(--down); }
.empty, .error { color: var(--muted); }
.error { background: var(--white); border-radius: var(--r-inner); padding: 22px; margin: 0; grid-column: 1 / -1; }

footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  padding: 0;
}
footer strong { color: var(--off-black); font-weight: 600; }

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .benchmark-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer { grid-template-columns: 1fr; }
  .closing { padding: 4px 20px 24px; }
}
@media (max-width: 560px) {
  :root { --pad: 12px; --r-inner: 22px; }
  .hero { padding-top: 24px; }
  .panel { padding: 20px 18px; }
  h2 { font-size: 28px; }
  .panel-head { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* --- V2 sections --- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.topbar-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chip-link {
  font-weight: 600; font-size: 11px; letter-spacing: .07em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 999px; background: var(--white); color: var(--dark-grey); text-decoration: none;
}
.chip-link:hover { background: var(--light-grey); }
.month-picker select {
  font: 600 11px/1 var(--sans); letter-spacing: .07em; text-transform: uppercase;
  padding: 8px 30px 8px 12px; border-radius: 999px; border: 0; background: var(--light-grey); color: var(--dark-grey);
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23303033' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.panel-head.compact { margin-bottom: 14px; }

/* Analyst note carries the page's one holostrip */
.note { position: relative; overflow: hidden; padding-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 28px; }
.note::before { display: none; }
.note h2 { font-size: 30px; }
.note-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.note-points li { font-size: 15px; line-height: 1.55; padding-left: 18px; position: relative; letter-spacing: -0.02em; }
.note-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--dawn-blue); }
.benchmark::before { display: none; }
.benchmark-stats > div { display: flex; flex-direction: column; gap: 4px; }
.benchmark-note a { color: inherit; }

/* Segments: range bars */
.segments { display: grid; gap: 6px; margin-bottom: 22px; }
.seg-row { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) 56px; gap: 14px; align-items: center; min-height: 34px; }
.seg-axis-row { min-height: 18px; }
.seg-axis { position: relative; height: 16px; }
.seg-axis span { position: absolute; transform: translateX(-50%); font-size: 11px; color: var(--muted); letter-spacing: 0; }
.seg-name { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; min-width: 0; }
.seg-name .swatch { margin-top: 0; }
.seg-n { color: var(--muted); font-size: 11px; font-weight: 400; }
.seg-track { position: relative; height: 26px; background: var(--off-white); border-radius: 999px; }
.seg-grid { position: absolute; top: 4px; bottom: 4px; width: 1px; background: var(--light-grey); }
.seg-range { position: absolute; top: 8px; height: 10px; border-radius: 999px; opacity: .35; min-width: 4px; }
.seg-median { position: absolute; top: 4px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--white); border: 4px solid; }
.seg-value { font-family: var(--serif); font-size: 22px; letter-spacing: -0.04em; text-align: right; }
.ai-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.ai-card { background: var(--off-white); border-radius: 18px; padding: 18px 20px; display: grid; gap: 12px; }
.ai-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ai-flag { font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--down); margin-left: 6px; }

/* Private table extras */
.reference-row td { color: var(--muted); }
.reference-row td strong { color: var(--dark-grey); }
.stale-row td { font-style: italic; }
.valuation-only { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--light-grey); display: grid; gap: 10px; }
.valuation-only ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.valuation-only li { background: var(--off-white); border-radius: 999px; padding: 8px 14px; font-size: 13px; }
.valuation-only li span { color: var(--muted); font-size: 12px; margin-left: 4px; }
.valuation-only a { text-decoration: none; }

.fit-caption { margin: -6px 0 18px; color: var(--muted); font-size: 13px; line-height: 1.55; max-width: 820px; }
sup { color: var(--muted); font-size: 9px; margin-left: 2px; }
#exits-summary strong { color: var(--off-black); }

/* Calculator */
.calc-form { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; align-items: end; }
.calc-form label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.calc-form input, .calc-form select {
  font: 500 18px var(--sans); letter-spacing: -0.02em; color: var(--off-black);
  padding: 12px 14px; border-radius: 14px; border: 1px solid var(--light-grey); background: var(--off-white); width: 100%;
}
.calc-form input:focus, .calc-form select:focus { outline: 2px solid var(--dawn-blue); outline-offset: 1px; background: var(--white); }
.calc-out { display: grid; gap: 14px; }
.calc-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 150px; grid-template-rows: auto auto; column-gap: 16px; row-gap: 4px; align-items: center; }
.calc-name { font-weight: 500; font-size: 14px; }
.calc-track { position: relative; height: 26px; background: var(--off-white); border-radius: 999px; }
.calc-range { position: absolute; top: 8px; height: 10px; border-radius: 999px; background: rgba(7, 42, 103, .28); }
.calc-mid { position: absolute; top: 4px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--white); border: 4px solid var(--dawn-navy); }
.calc-value { text-align: right; display: flex; flex-direction: column; }
.calc-value strong { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -0.04em; }
.calc-value span { color: var(--muted); font-size: 12px; }
.calc-note { grid-column: 2 / 4; color: var(--muted); font-size: 12px; }
.calc-msg { color: var(--muted); font-size: 12px; margin: 6px 0 0; }

@media (max-width: 860px) {
  .note { grid-template-columns: 1fr; gap: 14px; }
  .calc-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-row { grid-template-columns: 1fr auto; }
  .calc-track { grid-column: 1 / -1; grid-row: 2; }
  .calc-note { grid-column: 1 / -1; }
  .seg-row { grid-template-columns: minmax(0, 1fr) 48px; }
  .seg-row .seg-track, .seg-row .seg-axis { grid-column: 1 / -1; grid-row: 2; }
  .seg-axis-row { display: none; }
}

.metric-value-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.metric-unit { color: var(--muted); font-size: 13px; letter-spacing: -0.01em; }
.nm { color: var(--muted); font-size: 12px; }
/* Ten-column listed table: tighter cells so it fits the panel at desktop width */
#public-table th, #public-table td { padding-left: 6px; padding-right: 6px; }
#public-table td { font-size: 13px; }
#public-table th { font-size: 10px; letter-spacing: .05em; }
#public-table .tag { font-size: 9px; padding: 4px 8px; letter-spacing: .05em; }
#public-table .ticker { font-size: 10px; }

/* Round sense-check */
.sc-form { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.sc-form select, .sc-form input { font-size: 16px; padding: 10px 12px; }
.sc-example { margin: -10px 0 18px; }
.sc-tiles { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 8px; }
.sc-exit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sc-h { font: 600 11px var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--dark-grey); margin: 26px 0 12px; }
.sc-mults td, .sc-mults th { white-space: normal; }
.basis-tag { display: inline-block; font: 600 9px var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; margin-left: 6px; vertical-align: 1px; }
.basis-current { background: #E3EEF8; color: var(--dawn-navy); }
.basis-forward { background: #FBE6EE; color: #8A2E57; }
.basis-pipeline { background: #FDF0DE; color: #7A4A12; }
.basis-bookings, .basis-trailing { background: var(--light-grey); color: var(--dark-grey); }
.ladder { display: grid; gap: 4px; }
.ladder-axis { position: relative; height: 16px; margin-left: calc(38% + 14px); margin-right: 70px; }
.ladder-axis span { position: absolute; transform: translateX(-50%); font-size: 11px; color: var(--muted); }
.ladder-row { display: grid; grid-template-columns: 38% minmax(0, 1fr) 56px; gap: 14px; align-items: center; min-height: 38px; }
.ladder-label { font-size: 13px; font-weight: 500; min-width: 0; }
.ladder-src { display: block; font-size: 11px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.ladder-track { position: relative; height: 22px; background: var(--off-white); border-radius: 999px; }
.ladder-track i { position: absolute; top: 3px; bottom: 3px; width: 1px; background: var(--light-grey); }
.ladder-dot { position: absolute; top: 4px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--muted); }
.ladder-row.deal .ladder-dot { background: var(--dawn-navy); box-shadow: 0 0 0 3px #C9DDF2; }
.ladder-row.deal .ladder-label { color: var(--dawn-navy); font-weight: 600; }
.ladder-value { font-family: var(--serif); font-size: 20px; letter-spacing: -0.04em; text-align: right; }
.memo { background: var(--off-white); border-radius: 18px; padding: 18px 20px; display: grid; gap: 12px; justify-items: start; }
.memo p { margin: 0; font-size: 14px; line-height: 1.65; max-width: 90ch; }
@media (max-width: 860px) {
  .sc-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-exit { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ladder-row { grid-template-columns: minmax(0, 1fr) 48px; }
  .ladder-track { grid-column: 1 / -1; grid-row: 2; }
  .ladder-axis { margin-left: 0; margin-right: 0; }
}

/* Valuation tool (merged calculator + sense-check) */
.vt-form { display: grid; gap: 14px; margin-bottom: 14px; }
.vt-group { padding: 16px; background: var(--off-white); border-radius: 18px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
@media (max-width: 720px) { .vt-group { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .vt-group { grid-template-columns: 1fr; } }
.vt-legend { grid-column: 1 / -1; font: 600 11px var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--dark-grey); }
.vt-group label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.vt-group input, .vt-group select { font: 500 16px var(--sans); letter-spacing: -0.02em; color: var(--off-black);
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--light-grey); background: var(--white); width: 100%; }
.vt-group input.vt-calculated { background: transparent; border-style: dashed; color: var(--dark-grey); cursor: default; }
.vt-note { font-size: 11px; color: var(--muted); }
.vt-group input:focus, .vt-group select:focus { outline: 2px solid var(--dawn-blue); outline-offset: 1px; }
.calc-price { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: #8A2E57; border-radius: 2px; }
.vt-price { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; }
.vt-price-mark { display: inline-block; width: 2px; height: 14px; background: #8A2E57; border-radius: 2px; }
.vt-hint { margin-top: 18px; }

/* Analyst note */
.memo.analyst { gap: 16px; }
.verdict { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.verdict span { font: 600 12px var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.verdict small { color: var(--muted); font-size: 12px; }
.verdict-good span { background: #E4F1E8; color: var(--up); }
.verdict-mid span { background: #FDF0DE; color: #7A4A12; }
.verdict-weak span { background: #F8E3E1; color: var(--down); }
.memo-block h4 { margin: 0 0 8px; font: 600 11px var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--dark-grey); }
.memo-block ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.memo-block li { font-size: 14px; line-height: 1.55; max-width: 95ch; }
.bottom-line { margin: 0; font-size: 14px; line-height: 1.55; padding-top: 12px; border-top: 1px solid var(--light-grey); max-width: 95ch; }
.conf { display: inline-block; font: 600 10px var(--sans); letter-spacing: .05em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; cursor: help; }
.conf-high { background: #E4F1E8; color: var(--up); }
.conf-medium { background: #FDF0DE; color: #7A4A12; }
#private-table th, #private-table td { padding-left: 6px; padding-right: 6px; }
#private-table td { font-size: 13px; }
#private-table th { font-size: 10px; letter-spacing: .05em; }
#private-table .tag { font-size: 9px; padding: 4px 8px; letter-spacing: .05em; }
#private-table .ticker { font-size: 10px; }

/* --- Quick wins (design review, Oct 2026) --- */
.note { padding-top: 26px; }
.metric-card { gap: 14px; }
.metric-head { align-items: center; }
.metric-plain { margin: 0; font-size: 14px; line-height: 1.5; color: var(--dark-grey); max-width: 34ch; padding-top: 14px; border-top: 1px solid var(--light-grey); }
.metric-meta { font-size: 12px; color: var(--muted); }
#reference .benchmark-stats { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
/* Tags: readable sentence case */
.tag, #public-table .tag, #private-table .tag { text-transform: none; letter-spacing: 0; font-size: 11px; font-weight: 500; padding: 4px 9px; }
.ai-flag { text-transform: none; letter-spacing: 0; font-size: 11px; font-weight: 500; color: var(--muted); margin-left: 6px; white-space: nowrap; }
.ai-flag::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); margin-right: 5px; vertical-align: 1px; }
/* Closing call to action */
.closing {
  margin-top: 24px; padding: 8px 32px 32px;
  border: 1px solid transparent; border-radius: var(--r-outer, 32px);
  background: linear-gradient(var(--white), var(--white)) padding-box,
              linear-gradient(90deg, #F5B58A, #E9A3C4 30%, var(--dawn-blue) 70%, var(--dawn-navy)) border-box;
}
.cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 32px 0; border-bottom: 1px solid var(--light-grey); margin-bottom: 24px; }
.cta h2 { font-size: 34px; margin-top: 6px; }
.cta p { margin: 8px 0 0; color: var(--muted); font-size: 15px; max-width: 52ch; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { font: 600 11px var(--sans); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; padding: 14px 20px; border-radius: 999px; }
.btn-dark { background: var(--dark-grey); color: var(--white); }
.btn-dark:hover { background: var(--off-black); }
.btn-light { background: var(--white); color: var(--dark-grey); border: 1px solid var(--light-grey); }
.btn-light:hover { background: var(--light-grey); }

/* --- The Spectrum (prototype hero) --- */
.spectrum-plate { padding-top: clamp(36px, 5vw, 56px); }
.spectrum-answer { margin: 0 auto 8px; max-width: 30ch; text-align: center; color: var(--white);
  font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -0.04em; text-wrap: balance; }
.spectrum-note { margin: 0 auto 28px; text-align: center; color: rgba(255,255,255,.72); font-size: 12px; }
.spectrum { position: relative; height: 230px; margin: 0 clamp(8px, 4vw, 56px) 36px; }
.sp-axis { position: absolute; left: 0; right: 0; top: 115px; height: 1px; background: rgba(255,255,255,.55); }
.sp-tick { position: absolute; top: 0; transform: translateX(-50%); }
.sp-tick i { display: block; width: 1px; height: 6px; margin: -3px auto 0; background: rgba(255,255,255,.55); }
.sp-tick em { display: block; margin-top: 6px; font-style: normal; font-size: 10px; color: rgba(255,255,255,.6); letter-spacing: .02em; }
.sp-mark { position: absolute; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; text-align: center; }
.sp-mark b { display: block; width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.9); }
.sp-stem { display: block; width: 1px; background: rgba(255,255,255,.5); }
.sp-above { bottom: calc(230px - 115px - 7px); }
.sp-above .sp-stem { height: 18px; }
.sp-above.lane-1 .sp-stem { height: 52px; }
.sp-below { top: calc(115px - 7px); }
.sp-below b { background: transparent; border: 2px solid var(--white); box-shadow: none; width: 13px; height: 13px; }
.sp-below .sp-stem { height: 18px; }
.sp-below.lane-1 .sp-stem { height: 50px; }
.sp-label { display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.sp-label span { font: 600 10px var(--sans); letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.sp-label strong { font-family: var(--serif); font-weight: 400; color: var(--white); letter-spacing: -0.04em; }
.sp-above .sp-label strong { font-size: 30px; line-height: 1; }
.sp-below .sp-label strong { font-size: 18px; line-height: 1.1; margin-top: 4px; }
.sp-below .sp-label span { color: rgba(255,255,255,.75); font-weight: 500; }
.spectrum-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.spectrum-list li { display: grid; grid-template-columns: minmax(0, 1fr) 52px; gap: 4px 10px; align-items: center; }
.sl-label { display: flex; align-items: center; gap: 8px; color: var(--white); font-size: 13px; font-weight: 500; }
.spectrum-list li.ref .sl-label { color: rgba(255,255,255,.8); font-weight: 400; }
.sl-label i { width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px rgba(255,255,255,.9); }
.sl-label i.hollow { background: transparent; box-shadow: none; border: 2px solid var(--white); }
.sl-value { font-family: var(--serif); color: var(--white); font-size: 20px; text-align: right; letter-spacing: -0.04em; }
.sl-track { grid-column: 1 / -1; position: relative; height: 2px; background: rgba(255,255,255,.35); border-radius: 2px; }
.sl-track b { position: absolute; top: -3px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--white); }
@media (max-width: 640px) { .spectrum { height: auto; margin: 0 4px 24px; } }

/* --- Spectrum as the live hero --- */
/* New Dawn stops stretched so the scale sits on navy-blue and the facts row on the light pink-peach end. */
.spectrum-plate { background: linear-gradient(180deg, var(--dawn-navy) 0%, var(--dawn-blue) 58%, var(--dawn-pink) 84%, var(--dawn-peach) 100%);
  padding: clamp(36px, 5vw, 56px) var(--pad) var(--pad); }
.spectrum-label { text-align: center; margin-bottom: 14px; font: 600 11px var(--sans); letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.spectrum-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fact { background: rgba(255,255,255,.9); border-radius: var(--r-inner); padding: 18px 22px; display: grid; gap: 6px; }
.fact-head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--off-black); }
.fact-head i { width: 9px; height: 9px; border-radius: 50%; }
.fact-value strong { font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -0.05em; color: var(--off-black); }
.fact-value span { font-size: 12px; color: var(--muted); margin-left: 4px; }
.fact-meta { font-size: 12px; color: var(--muted); }
@media (max-width: 860px) { .spectrum-facts { grid-template-columns: 1fr; } }

/* Breathing space between the title and the Spectrum */
.hero { padding-bottom: clamp(28px, 4.5vw, 56px); }

/* Breathing room between the value-range notes and the round cards */
.sc-tiles { margin-top: 36px; }

/* Valuation tool: calculation shown before the ranges */
.vt-basis { margin: 0 0 10px; font-size: 13px; color: var(--dark-grey); }
.calc-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 6px; }
.calc-table th { text-align: left; font: 500 11px var(--sans); color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--light-grey); }
.calc-table td { padding: 10px 8px; border-bottom: 1px solid var(--light-grey); }
.calc-table td:first-child { font-weight: 500; white-space: nowrap; }
.calc-table .num { text-align: right; }
.calc-table td.num strong { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: -0.03em; }
.calc-value strong { font-size: 18px; white-space: nowrap; }
.exits-study { margin: 18px 0 0; font-size: 13px; color: var(--dark-grey); }
.exits-study a { color: var(--dawn-navy); font-weight: 500; }

/* Section navigation and chapter separation */
.section-nav {
  /* --view-top: set by app.js when embedded, so the menu sticks to the top of the Webflow page's screen */
  position: sticky; top: calc(var(--view-top, 0px) + 10px); z-index: 20;
  margin-bottom: 32px;
  align-self: center; max-width: 100%;
  display: flex; gap: 2px; padding: 5px;
  overflow-x: auto; scrollbar-width: none;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 999px;
}
.section-nav::-webkit-scrollbar { display: none; }
.section-nav a {
  flex: none; white-space: nowrap; text-decoration: none;
  font: 500 13px/1 var(--sans); color: var(--dark-grey);
  padding: 9px 14px; border-radius: 999px;
  transition: background-color .15s, color .15s;
}
.section-nav a:hover { background: var(--off-white); color: var(--off-black); }
.section-nav a.active { background: var(--off-black); color: var(--white); }
.section-nav a.section-nav-cta { color: var(--dawn-navy); background: rgba(67, 151, 213, .12); margin-left: 4px; }
.section-nav a.section-nav-cta:hover { background: rgba(67, 151, 213, .2); }
.section-nav a.section-nav-cta.active { background: var(--dawn-navy); color: var(--white); }
.section-nav a[hidden] { display: none; }

.chapter { scroll-margin-top: 80px; margin-top: 22px; }
.chapter-num {
  display: inline-block; margin-right: 10px; padding-right: 10px;
  border-right: 1px solid var(--light-grey); color: var(--dawn-blue);
}
@media (max-width: 560px) {
  .section-nav { align-self: stretch; top: calc(var(--view-top, 0px) + 6px); }
  .section-nav a { font-size: 12px; padding: 8px 12px; }
  .chapter { margin-top: 12px; }
}

/* Median row at the foot of the company tables */
tfoot .median-row td { background: var(--off-white); border-top: 2px solid var(--light-grey); border-bottom: 0; font-weight: 500; color: var(--off-black); }
tfoot .median-row td:first-child { border-radius: 12px 0 0 12px; }
tfoot .median-row td:last-child { border-radius: 0 12px 12px 0; }
tfoot .median-row td span { font-weight: 400; color: var(--muted); margin-left: 6px; font-size: 12px; }

/* Brighteye Public Index */
.bpi-tiles { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.bpi-tile { background: var(--off-white); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.bpi-tile.main { background: var(--off-black); color: var(--white); }
.bpi-name { display: flex; align-items: center; gap: 8px; font: 600 11px var(--sans); letter-spacing: .07em; text-transform: uppercase; color: inherit; opacity: .85; }
.bpi-name .swatch { margin-top: 0; }
.bpi-tile.main .swatch { background: var(--white) !important; }
.bpi-value { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5vw, 56px); letter-spacing: -0.05em; line-height: 1; }
.bpi-changes { display: flex; gap: 16px; font-size: 14px; font-weight: 500; }
.bpi-changes small { font-weight: 400; font-size: 12px; opacity: .7; margin-left: 2px; }
.bpi-movers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 18px; }
.bpi-movers ul { list-style: none; margin: 10px 0 0; padding: 0; }
.bpi-movers li { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--light-grey); font-size: 14px; }
.bpi-movers li span { color: var(--muted); font-size: 12px; }
.bpi-movers li em { margin-left: auto; font-style: normal; font-weight: 600; }
.bpi-movers li em.up { color: #1F7A4D; }
.bpi-movers li em.down { color: #A33A3A; }
#bpi-method { margin-top: 16px; }
#bpi-method a { color: var(--dawn-navy); font-weight: 500; }
@media (max-width: 760px) {
  .bpi-tiles { grid-template-columns: 1fr 1fr; }
  .bpi-tile.main { grid-column: 1 / -1; }
  .bpi-movers { grid-template-columns: 1fr; gap: 12px; }
}

/* Valuation tool: market value, one row per lens */
.mv-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.mv-head .sc-h { margin-bottom: 0; }
.mv-post { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dark-grey); }
.mv-post strong { color: var(--off-black); font-weight: 600; }
.mv-post-mark { width: 2px; height: 16px; border-radius: 2px; background: #8A2E57; }
.mv-basis { margin: 10px 0 8px; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 72ch; }
.mv-list { list-style: none; margin: 0; padding: 0; }
.mv-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 132px; align-items: center; gap: 24px;
  padding: 18px 0; border-bottom: 1px solid var(--light-grey); }
.mv-name { font-weight: 600; font-size: 14px; color: var(--off-black); }
.mv-calc { margin-top: 4px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.mv-track { position: relative; height: 18px; }
.mv-track::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; border-radius: 2px; background: var(--light-grey); }
.mv-range { position: absolute; top: 5px; height: 8px; border-radius: 999px; background: rgba(7, 42, 103, .22); }
.mv-mid { position: absolute; top: 2px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--dawn-navy); box-shadow: 0 0 0 3px var(--white); }
.mv-price { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; border-radius: 2px; background: #8A2E57; }
.mv-val { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.mv-val strong { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: proportional-nums; color: var(--off-black); white-space: nowrap; }
.mv-val span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.mv-verdict { margin: 16px 0 0; font-size: 14px; color: var(--off-black); }
.mv-more { margin-top: 14px; font-size: 12px; color: var(--muted); }
.mv-more summary { cursor: pointer; color: var(--dark-grey); font-weight: 500; }
.mv-more ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; line-height: 1.5; }
.mv-more strong { color: var(--dark-grey); font-weight: 600; }
.mv-more p { margin: 8px 0 0; line-height: 1.5; }
.mv-disclaimer { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
@media (max-width: 720px) {
  .mv-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; }
  .mv-track { grid-column: 1 / -1; grid-row: 2; }
}

/* Valuation tool: round check */
.rc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rc-table th { text-align: left; font: 600 11px var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 8px 0; border-bottom: 1px solid var(--light-grey); }
.rc-table th.num { text-align: right; }
.rc-table td { padding: 14px 10px 14px 0; border-bottom: 1px solid var(--light-grey); vertical-align: top; }
.rc-table td:first-child { font-weight: 600; color: var(--off-black); white-space: nowrap; }
.rc-val { font-family: var(--serif); font-size: 22px; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: proportional-nums; white-space: nowrap; padding-right: 28px !important; }
.rc-src { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.rc-table .rc-status { margin-left: 8px; vertical-align: 1px; }
.rc-status { display: inline-block; font: 600 11px var(--sans); letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; }
.rc-ok { background: #E4F1E8; color: var(--up); }
.rc-warn { background: #FDF0DE; color: #7A4A12; }
.rc-neutral { background: var(--light-grey); color: var(--dark-grey); }
.ladder-row { min-height: 30px; grid-template-columns: minmax(0, 36%) minmax(0, 1fr) 52px; }
.ladder-axis { margin-left: calc(36% + 14px); margin-right: 66px; }
.ladder-track { height: 14px; }
.ladder-track i { top: 2px; bottom: 2px; }
.ladder-dot { top: 1px; width: 12px; height: 12px; margin-left: -6px; }
.ladder-label .basis-tag { margin-left: 4px; }
.ladder-label { font-size: 13px; }
.ladder-value { font-size: 18px; font-variant-numeric: proportional-nums; }
.sc-case { margin-top: 12px; border: 1px solid var(--light-grey); border-radius: 18px; background: var(--white); }
.sc-case > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px; }
.sc-case > summary::-webkit-details-marker { display: none; }
.sc-case-title { font-weight: 600; font-size: 15px; color: var(--off-black); }
.sc-case-title::before { content: "+"; display: inline-block; width: 18px; color: var(--dawn-navy); font-weight: 500; }
.sc-case[open] .sc-case-title::before { content: "\2212"; }
.sc-case .memo { margin: 0 12px 12px; }
.sc-ladder { margin-top: 26px; }
.sc-case-meta { font-size: 12px; color: var(--muted); }
.sc-case-body { padding: 0 20px 18px; }
/* This round's rows stand out from the published benchmarks */
.ladder-row.deal { background: #EAF2FB; border-radius: 14px; padding: 8px 10px; margin: 4px -10px; box-shadow: inset 3px 0 0 var(--dawn-navy); }
.ladder-row.deal .ladder-label { font-size: 14px; font-weight: 700; color: var(--dawn-navy); }
.ladder-row.deal .ladder-track { background: var(--white); }
.ladder-row.deal .ladder-dot { width: 18px; height: 18px; margin-left: -9px; top: -2px; background: var(--dawn-navy); box-shadow: 0 0 0 4px rgba(67, 151, 213, .35); }
.ladder-row.deal .ladder-value { color: var(--dawn-navy); font-size: 22px; }
/* "Your market value" and "Your round check" open clearly separated blocks */
.mv-head { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--light-grey); }
.mv-head .sc-h { margin-top: 0; font-size: 12px; color: var(--dawn-navy); }
#calc-out > .mv-head:first-child { margin-top: 32px; }
.mv-head + .table-scroll { margin-top: 14px; }
