:root {
  color-scheme: light;
  --ink: #42172a;
  --ink-soft: #7a2949;
  --muted: #77515e;
  --line: #ffc7d5;
  --line-strong: #ff91a4;
  --surface: #fffafd;
  --surface-soft: #fff0f6;
  --surface-blue: #ffe0ea;
  --salmon: #fa8072;
  --dark-salmon: #e9967a;
  --light-salmon: #ffa07a;
  --coral: #ff7f50;
  --neon-salmon: #ff7799;
  --teal: var(--neon-salmon);
  --teal-dark: #ad345b;
  --teal-soft: #ffd9e5;
  --success: #2f6957;
  --success-soft: #dff1e8;
  --amber: #ad551e;
  --amber-soft: #fff0da;
  --red: #c66264;
  --red-soft: #ffe0e2;
  --slate-soft: #f7e9e7;
  --shadow: 0 20px 55px rgba(255, 119, 153, 0.24), 0 8px 22px rgba(255, 127, 80, 0.1);
  --radius: 20px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html[lang="en"] [data-lang="lt"],
html[lang="lt"] [data-lang="en"],
html[lang="en"] [data-meta-lang="lt"],
html[lang="lt"] [data-meta-lang="en"] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 88% 7%, rgba(255, 119, 153, 0.42), transparent 31rem),
    radial-gradient(circle at 7% 31%, rgba(255, 127, 80, 0.27), transparent 27rem),
    radial-gradient(circle at 72% 76%, rgba(255, 160, 122, 0.24), transparent 34rem),
    linear-gradient(180deg, #fff7fb 0%, #ffe0e9 48%, #fff4f8 100%);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

button,
a,
input,
summary {
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 12px;
  top: -48px;
  padding: 10px 14px;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 12px;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 80px;
  padding: 9px clamp(18px, 4vw, 64px);
  border-bottom: 4px solid #fff0f6;
  background: linear-gradient(108deg, var(--coral) 0%, var(--light-salmon) 34%, var(--neon-salmon) 73%, #ff91a4 100%);
  color: var(--ink);
  backdrop-filter: blur(16px);
  box-shadow: 0 9px 28px rgba(255, 119, 153, 0.35);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  overflow: hidden;
  padding: 3px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 17px 7px 17px 7px;
  background: #fff7f1;
  box-shadow: 0 7px 18px rgba(110, 29, 60, 0.24), 0 0 0 3px rgba(255, 255, 255, 0.22);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.brand-copy span {
  margin-top: 4px;
  color: rgba(66, 23, 42, 0.78);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  gap: 22px;
}

.topnav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.topnav a:hover {
  color: #7d1f45;
}

.topnav a.is-current {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.language-switch {
  display: flex;
  padding: 3px;
  border: 1px solid rgba(66, 23, 42, 0.22);
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9px;
}

.language-button {
  min-width: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  padding: 6px 9px;
}

.language-button.is-active {
  background: white;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(122, 41, 73, 0.18);
}

main {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 46px) 64px;
}

.overview {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(520px, 0.85fr);
  gap: 44px;
  align-items: end;
  padding: 42px 4px 28px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 8px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 12px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #5d2032;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.overview-note {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.public-beta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 4px 22px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-left: 6px solid var(--neon-salmon);
  border-radius: 12px;
  background: linear-gradient(100deg, rgba(255, 250, 253, 0.96), rgba(255, 217, 229, 0.94) 60%, rgba(255, 177, 154, 0.92));
  box-shadow: 0 9px 24px rgba(255, 119, 153, 0.16);
}

.public-beta-strip > div {
  display: grid;
  gap: 2px;
}

.public-beta-strip strong {
  color: var(--ink);
  font-size: 14px;
}

.public-beta-strip span {
  color: var(--muted);
  font-size: 13px;
}

.beta-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 16px;
}

.beta-links a {
  flex: none;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.beta-links a:hover {
  border-color: var(--neon-salmon);
  background: white;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 250, 253, 0.94);
  box-shadow: 0 12px 34px rgba(255, 119, 153, 0.2);
}

.snapshot-item {
  min-width: 0;
  padding: 14px 16px;
  border-left: 1px solid var(--line);
  border-top: 4px solid var(--teal);
}

.snapshot-item:nth-child(2) {
  border-top-color: var(--coral);
}

.snapshot-item:nth-child(3) {
  border-top-color: var(--light-salmon);
}

.snapshot-item:nth-child(4) {
  border-top-color: var(--salmon);
}

.snapshot-item:first-child {
  border-left: 0;
}

.snapshot-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.snapshot-item strong {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace {
  overflow: hidden;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.workspace-heading,
.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.workspace-heading {
  padding: 24px 26px 20px;
  background: linear-gradient(110deg, #fffafd 14%, #ffd8e4 51%, #ffb19a 78%, #ff91a4 100%);
}

.gate-note,
.section-heading-row > p {
  max-width: 560px;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 14px;
}

.controls {
  display: grid;
  grid-template-columns: minmax(390px, 0.9fr) minmax(410px, 1.1fr) minmax(210px, 0.55fr);
  gap: 24px;
  padding: 16px 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(115deg, #fff2f7 0%, #ffdce7 58%, #ffd6c7 100%);
}

.search-control,
.market-filter,
.category-filter,
.book-filter {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
}

.market-filter {
  grid-column: 1 / -1;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.market-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
}

.market-button {
  flex: none;
}

.market-button span {
  margin-left: 6px;
  color: var(--muted);
  font-size: 11px;
}

.market-button.is-active span {
  color: #5f2434;
}

.category-filter {
  padding: 11px 13px 13px;
  border: 2px solid var(--neon-salmon);
  border-radius: 12px;
  background: rgba(255, 250, 253, 0.9);
  box-shadow: 0 6px 18px rgba(255, 119, 153, 0.22);
}

.category-filter > span {
  color: var(--teal-dark);
}

.category-tabs .category-button {
  min-width: 92px;
  justify-content: center;
}

.category-tabs .category-button.is-active {
  border-color: var(--neon-salmon);
  background: linear-gradient(105deg, var(--coral), var(--neon-salmon));
  color: var(--ink);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: white;
  color: var(--muted);
}

.search-box:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(255, 119, 153, 0.24);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.book-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tab-button,
.detail-book-button {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 13px;
}

.tab-button:hover,
.detail-book-button:hover {
  border-color: var(--teal);
  background: #fff0f6;
  transform: translateY(-1px);
}

.tab-button.is-active,
.detail-book-button.is-active {
  border-color: var(--neon-salmon);
  background: linear-gradient(110deg, var(--coral), var(--neon-salmon));
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(255, 119, 153, 0.34);
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(620px, 1.35fr) minmax(360px, 0.65fr);
  align-items: start;
  background: linear-gradient(150deg, #ff7799 0%, #ffa07a 48%, #ff7f50 100%);
}

.results-panel {
  align-self: start;
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.results-summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.results-summary span:first-child {
  color: var(--ink-soft);
  font-weight: 750;
}

.table-scroll-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 38px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #fff4f8 0%, #ffd9e4 56%, #ffc7b5 100%);
  color: var(--muted);
  font-size: 12px;
}

.table-scroll-tools span:first-child {
  color: var(--ink-soft);
  font-weight: 750;
}

.table-scroll-tools span:last-child {
  color: #9d3856;
  font-weight: 850;
  letter-spacing: 0.015em;
}

.table-scrollbar {
  height: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid var(--line);
  background: #ffdce7;
  scrollbar-color: var(--neon-salmon) #ffc7d5;
  scrollbar-width: auto;
}

.table-scrollbar-track {
  height: 1px;
}

.table-wrap {
  max-height: min(70vh, 760px);
  overflow: auto;
  background: var(--surface);
  overscroll-behavior: contain;
  scrollbar-color: var(--neon-salmon) #ffd3dc;
  scrollbar-gutter: stable;
}

.table-scrollbar::-webkit-scrollbar,
.table-wrap::-webkit-scrollbar {
  width: 13px;
  height: 13px;
}

.table-scrollbar::-webkit-scrollbar-track,
.table-wrap::-webkit-scrollbar-track {
  background: #ffc7d5;
}

.table-scrollbar::-webkit-scrollbar-thumb,
.table-wrap::-webkit-scrollbar-thumb {
  border: 2px solid #ffc7d5;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--neon-salmon));
}

.table-scrollbar::-webkit-scrollbar-thumb:hover,
.table-wrap::-webkit-scrollbar-thumb:hover {
  background: var(--neon-salmon);
}

.results-table {
  width: max-content;
  min-width: 100%;
  border-spacing: 0;
  border-collapse: separate;
}

th,
td {
  padding: 15px 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  position: sticky;
  z-index: 3;
  top: 0;
  background: #ffe7d9;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

td {
  font-size: 14px;
}

.sticky-col {
  position: sticky;
  z-index: 2;
  background: var(--surface);
}

th.sticky-col {
  z-index: 6;
  background: #ffc8d7;
}

.sticky-company {
  left: 0;
  width: 205px;
  min-width: 205px;
  max-width: 205px;
  box-shadow: 12px 0 18px -16px rgba(63, 30, 41, 0.85);
}

.market-column {
  width: 155px;
  min-width: 155px;
  max-width: 155px;
}

.price-column {
  width: 185px;
  min-width: 185px;
  max-width: 185px;
}

.supplemental-footnote {
  margin: 0;
  padding: 11px 16px 12px;
  border-top: 1px solid var(--line);
  background: linear-gradient(105deg, #ffeff5, #ffd1de 58%, #ffb29b);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.supplemental-marker {
  margin-left: 2px;
  color: #d51e5c;
  font-size: 0.72em;
  font-weight: 950;
  vertical-align: super;
}

.book-column {
  width: 235px;
  min-width: 235px;
}

.applicability-column {
  width: 390px;
  min-width: 390px;
  white-space: normal;
}

tbody tr {
  transition: background 140ms ease;
}

tbody tr:hover,
tbody tr.is-selected {
  background: #ffdce7;
}

tbody tr:hover .sticky-col,
tbody tr.is-selected .sticky-col {
  background: #ffdce7;
}

tbody tr.is-selected td:first-child {
  box-shadow: inset 5px 0 0 var(--neon-salmon);
}

.company-link {
  display: grid;
  gap: 2px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.company-link span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 650;
}

.muted-cell {
  color: var(--muted);
}

.price-cell {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.price-cell small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.result-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
}

.result-pill {
  padding: 6px 9px;
  border: 1px solid rgba(255, 119, 153, 0.28);
  background: linear-gradient(110deg, #ffe0ea, #fff0f5);
  color: var(--ink-soft);
  font-size: 12px;
  white-space: nowrap;
}

.result-pill.tone-good,
.status-pill.tone-good {
  background: var(--success-soft);
  color: var(--success);
}

.result-pill.tone-warn,
.status-pill.tone-warn {
  background: var(--amber-soft);
  color: var(--amber);
}

.result-pill.tone-low,
.status-pill.tone-low {
  background: var(--red-soft);
  color: var(--red);
}

.result-pill.tone-na,
.status-pill.tone-na {
  background: var(--slate-soft);
  color: #705b61;
}

.empty-state {
  padding: 54px 24px;
  color: var(--muted);
  text-align: center;
}

.detail-panel {
  min-width: 0;
  padding: 24px;
  background: linear-gradient(180deg, #fff5fa 0%, #ffdce7 56%, #ffe5da 100%);
}

.detail-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.detail-header h3 {
  margin-bottom: 3px;
  font-size: 24px;
  line-height: 1.15;
}

.ticker-line {
  margin-bottom: 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.detail-price {
  text-align: right;
}

.detail-price strong {
  display: block;
  font-size: 25px;
  line-height: 1.1;
}

.detail-price span {
  color: var(--muted);
  font-size: 12px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 22px 0;
}

.coverage-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 20px;
}

.coverage-strip > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font-size: 12px;
}

.coverage-strip em {
  padding: 4px 7px;
  font-style: normal;
}

.metric-box {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 14px rgba(255, 119, 153, 0.12);
}

.metric-box:nth-child(1) {
  border-top: 4px solid var(--neon-salmon);
}

.metric-box:nth-child(2) {
  border-top: 4px solid var(--coral);
}

.metric-box:nth-child(3) {
  border-top: 4px solid var(--light-salmon);
}

.metric-box:nth-child(4) {
  border-top: 4px solid var(--salmon);
}

.metric-box span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-box strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.detail-book-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 16px;
}

.detail-book-button {
  overflow: hidden;
  padding: 8px 4px;
  border-radius: 8px;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.book-evidence {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: white;
}

.book-evidence-header {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, var(--coral) 0%, var(--light-salmon) 42%, var(--neon-salmon) 100%);
  color: var(--ink);
}

.book-evidence-header p {
  margin-bottom: 3px;
  color: rgba(66, 23, 42, 0.78);
  font-size: 12px;
}

.book-evidence-header h4 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.3;
}

.criterion-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.criterion-item {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.criterion-item:last-child {
  border-bottom: 0;
}

.criterion-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.criterion-topline strong {
  font-size: 14px;
}

.status-pill {
  flex: none;
  padding: 5px 8px;
  font-size: 12px;
}

.criterion-value {
  margin: 5px 0 2px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.criterion-rule {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.applicability-note {
  margin: 14px 0 0;
  padding: 11px 12px;
  border-left: 3px solid var(--amber);
  background: var(--amber-soft);
  color: #70480d;
  font-size: 13px;
}

.source-card {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.source-card h4 {
  margin: 0 0 9px;
  font-size: 13px;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.source-links a {
  padding: 7px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.source-links a:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.source-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.loading-card,
.error-card {
  padding: 30px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  color: var(--muted);
  text-align: center;
}

.methodology-section,
.sources-section {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 253, 0.94);
  box-shadow: 0 12px 34px rgba(255, 119, 153, 0.14);
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.methodology-grid details {
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(145deg, #fff4f8 0%, #ffe4ec 100%);
}

.methodology-subhead {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 20px;
  letter-spacing: -0.01em;
}

.method-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 0;
}

.method-links a {
  color: var(--teal-dark);
  font-weight: 750;
  text-underline-offset: 3px;
}

.methodology-grid summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.methodology-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.sources-section {
  display: grid;
  grid-template-columns: minmax(230px, 0.42fr) minmax(420px, 1fr);
  gap: 44px;
  border-color: var(--neon-salmon);
  background: linear-gradient(135deg, var(--coral) 0%, var(--light-salmon) 42%, var(--neon-salmon) 100%);
  color: var(--ink);
}

.sources-section .section-kicker {
  color: #7d1f45;
}

.source-notes {
  display: grid;
  gap: 10px;
}

.source-note {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(66, 23, 42, 0.18);
  color: var(--ink);
  font-size: 14px;
}

.source-note:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 22px clamp(16px, 3vw, 46px) 36px;
  color: var(--muted);
  font-size: 13px;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--ink-soft);
  font-weight: 700;
  text-underline-offset: 3px;
}

/* Public-beta information pages */
.info-main {
  width: min(1180px, 100%);
  padding-top: 42px;
}

.info-main.narrow-info {
  width: min(940px, 100%);
}

.info-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 119, 153, 0.56), transparent 18rem),
    linear-gradient(125deg, #fffafd 0%, #ffe0ea 55%, #ffa07a 100%);
  box-shadow: var(--shadow);
}

.info-hero > div {
  max-width: 820px;
}

.info-hero h1 {
  margin-bottom: 14px;
}

.info-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.primary-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 15px;
  border-radius: 999px;
  background: linear-gradient(105deg, var(--coral), var(--neon-salmon));
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(255, 119, 153, 0.28);
}

.data-date-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin: 20px 0 34px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 250, 253, 0.94);
  box-shadow: 0 10px 25px rgba(255, 119, 153, 0.14);
}

.data-date-band-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.data-date-band > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 15px 17px;
  border-left: 1px solid var(--line);
  border-top: 4px solid var(--neon-salmon);
}

.data-date-band > div:nth-child(2n) {
  border-top-color: var(--coral);
}

.data-date-band > div:first-child {
  border-left: 0;
}

.data-date-band span {
  color: var(--muted);
  font-size: 12px;
}

.data-date-band strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  text-overflow: ellipsis;
}

.reading-guide,
.info-section,
.legal-document,
.analytics-status {
  margin-top: 28px;
}

.reading-guide,
.info-section {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 253, 0.94);
  box-shadow: 0 12px 34px rgba(255, 119, 153, 0.13);
}

.definition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.definition-grid p {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  margin: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff6fa;
  color: var(--muted);
  font-size: 13px;
}

.method-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.method-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: linear-gradient(145deg, #fffafd 0%, #ffe8ef 100%);
}

.method-card-heading p {
  margin: 12px 0 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.method-card-heading h2 {
  font-size: 19px;
}

.category-badge {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.category-growth {
  background: var(--amber-soft);
  color: var(--amber);
}

.category-momentum {
  background: var(--success-soft);
  color: var(--success);
}

.method-card dl {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.method-card dl > div {
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.method-card dt {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 850;
}

.method-card dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.method-card .method-links {
  margin-top: auto;
}

.convention-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.convention-grid details {
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff6fa;
}

.convention-grid summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.convention-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.source-steps {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  counter-reset: source-step;
  list-style: none;
}

.source-steps li {
  display: grid;
  grid-template-columns: 42px minmax(180px, 0.42fr) minmax(280px, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff6fa;
  counter-increment: source-step;
}

.source-steps li::before {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--neon-salmon);
  color: var(--ink);
  content: counter(source-step);
  font-size: 13px;
  font-weight: 900;
}

.source-steps strong {
  font-size: 14px;
}

.source-steps span {
  color: var(--muted);
  font-size: 13px;
}

.asterisk-callout,
.legal-callout,
.analytics-status {
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-left: 6px solid var(--neon-salmon);
  border-radius: 12px;
  background: linear-gradient(105deg, #fffafd, #ffdce7 64%, #ffb49f);
  color: var(--muted);
  font-size: 14px;
}

.asterisk-callout strong,
.legal-callout strong,
.analytics-status strong {
  color: var(--ink);
}

.asterisk-callout a,
.legal-callout a {
  color: var(--teal-dark);
  font-weight: 800;
}

.two-column-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.two-column-info article + article {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.two-column-info p,
.limitation-panel p {
  color: var(--muted);
  font-size: 14px;
}

.plain-link-list {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.plain-link-list a {
  color: var(--teal-dark);
  font-weight: 800;
  text-underline-offset: 3px;
}

.limitation-panel {
  border-color: var(--line-strong);
  background: linear-gradient(120deg, #fffafd, #ffe1ea);
}

.legal-document {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 253, 0.96);
  box-shadow: 0 12px 34px rgba(255, 119, 153, 0.13);
}

.legal-document article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.legal-document article:last-child {
  border-bottom: 0;
}

.legal-document article > span {
  color: var(--neon-salmon);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 20px;
  font-weight: 900;
}

.legal-document h2 {
  margin-bottom: 7px;
  font-size: 19px;
}

.legal-document p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.analytics-status {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  border-left-color: var(--success);
  background: linear-gradient(105deg, #f8fffc, var(--success-soft));
}

.analytics-status p {
  margin: 4px 0 0;
}

.status-dot {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(47, 105, 87, 0.13);
}

.notice-date,
.data-error {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.creator-credit {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px auto 0;
  padding: 15px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: linear-gradient(105deg, rgba(255, 250, 253, 0.96), rgba(255, 220, 231, 0.96), rgba(255, 160, 122, 0.88));
  color: var(--muted);
  font-size: 13px;
}

.creator-credit-mark {
  display: grid;
  width: 32px;
  height: 32px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--neon-salmon);
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.creator-credit p {
  margin: 0;
}

.creator-credit strong {
  color: var(--ink);
}

@media (max-width: 1120px) {
  .overview {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .workspace-grid {
    grid-template-columns: 1fr;
    background: transparent;
  }

  .results-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-panel {
    padding: 24px clamp(18px, 4vw, 36px);
  }

  .public-beta-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .beta-links {
    justify-content: flex-start;
  }

  .data-date-band-five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .data-date-band-five > div:nth-child(4) {
    border-left: 0;
  }
}

@media (max-width: 820px) {
  .topbar {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .topnav {
    display: none;
  }

  .controls {
    grid-template-columns: 1fr;
  }

  .market-filter {
    grid-column: auto;
  }

  .snapshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .snapshot-item:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .snapshot-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .methodology-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sources-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .method-cards,
  .convention-grid,
  .two-column-info {
    grid-template-columns: 1fr;
  }

  .two-column-info article + article {
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .source-steps li {
    grid-template-columns: 38px 1fr;
  }

  .source-steps li span {
    grid-column: 2;
  }

  .table-scroll-tools span:first-child {
    display: none;
  }

  .table-scroll-tools {
    justify-content: flex-end;
  }

  th.sticky-col {
    position: sticky;
    left: 0;
    z-index: 6;
  }

  .sticky-company {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
  }

  .market-column {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
  }

  .price-column {
    width: 165px;
    min-width: 165px;
    max-width: 165px;
  }
}

@media (max-width: 560px) {
  .topbar {
    gap: 8px;
    padding-inline: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 13px 5px 13px 5px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy span {
    display: none;
  }

  .language-button {
    min-width: 34px;
    padding: 5px 6px;
  }

  main {
    padding-inline: 10px;
  }

  .overview {
    padding: 30px 8px 20px;
  }

  .workspace-heading,
  .section-heading-row,
  .results-summary,
  footer {
    align-items: start;
    flex-direction: column;
  }

  .workspace-heading,
  .controls,
  .methodology-section,
  .sources-section {
    padding-inline: 18px;
  }

  .gate-note {
    margin: 0;
  }

  .table-wrap table {
    min-width: 660px;
  }

  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .methodology-grid {
    grid-template-columns: 1fr;
  }

  .public-beta-strip {
    margin-inline: 0;
  }

  .beta-links {
    gap: 7px;
  }

  .data-date-band,
  .data-date-band-five {
    grid-template-columns: 1fr;
  }

  .data-date-band > div,
  .data-date-band-five > div:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .data-date-band > div:first-child {
    border-top: 4px solid var(--neon-salmon);
  }

  .definition-grid {
    grid-template-columns: 1fr;
  }

  .info-main {
    padding-top: 28px;
  }

  .info-hero {
    padding: 26px 20px;
  }

  .legal-document article {
    grid-template-columns: 40px 1fr;
    gap: 10px;
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
