:root {
  --ink: #171b24;
  --muted: #69717f;
  --line: #dde1e7;
  --line-dark: #c7ccd4;
  --surface: #ffffff;
  --canvas: #f5f6f7;
  --mint: #23b987;
  --mint-dark: #087a5b;
  --mint-soft: #e8f8f2;
  --amber: #eeac34;
  --amber-soft: #fff6df;
  --blue: #3478db;
  --blue-soft: #edf4ff;
  --coral: #e86156;
  --coral-soft: #fff0ee;
  --header: #181b2a;
  --shadow: 0 16px 40px rgba(20, 27, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Inter, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.content-width {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 64px;
  color: #fff;
  background: var(--header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  width: min(1480px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--header);
  background: #51d8a9;
  border-radius: 4px;
  font-family: Georgia, serif;
  font-weight: 900;
}

.header-nav {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 26px;
}

.header-nav a {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  color: #bfc4ce;
  text-decoration: none;
  font-weight: 600;
}

.header-nav a:hover,
.header-nav a.active {
  color: #fff;
}

.header-nav a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #51d8a9;
}

.header-date {
  margin-left: auto;
  color: #aeb4c0;
  font-size: 12px;
}

.intro-band {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  min-height: 236px;
  padding: 54px 0 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 64px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--mint-dark);
  font-size: 11px;
  font-weight: 800;
}

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

h1 {
  margin-bottom: 16px;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: 0;
}

.intro-copy {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.summary-stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(106px, 1fr));
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.summary-stats div {
  min-width: 118px;
  padding: 20px 22px 18px;
  border-left: 1px solid var(--line);
}

.summary-stats div:first-child {
  border-left: 0;
}

.summary-stats dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.summary-stats dd {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.summary-stats dd::after {
  content: "개";
  margin-left: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.data-section {
  padding: 42px 0 64px;
}

.dataset-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.dataset-tabs {
  min-height: 58px;
  display: flex;
  align-items: stretch;
  gap: 26px;
}

.dataset-tab {
  position: relative;
  padding: 0 2px;
  color: #707886;
  background: transparent;
  border: 0;
  font-weight: 750;
}

.dataset-tab:hover,
.dataset-tab.active {
  color: var(--ink);
}

.dataset-tab.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--mint);
}

.section-heading {
  margin-bottom: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2,
.methodology h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.25;
}

.export-button,
.reset-button,
.empty-state button {
  min-height: 40px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: 5px;
  font-weight: 700;
}

.export-button:hover,
.reset-button:hover,
.empty-state button:hover {
  border-color: var(--ink);
}

.external-button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.source-strip {
  min-height: 48px;
  margin-bottom: 14px;
  padding: 11px 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  color: #44534e;
  background: var(--mint-soft);
  border: 1px solid #b9e7d7;
  border-radius: 5px;
  font-size: 12px;
}

.source-strip p {
  margin: 0;
}

.source-strip > span:last-child {
  color: var(--muted);
  white-space: nowrap;
}

.verified-dot {
  width: 8px;
  height: 8px;
  background: var(--mint-dark);
  border-radius: 50%;
}

.filter-panel {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.search-field {
  position: relative;
  display: block;
}

.search-field input {
  width: 100%;
  height: 50px;
  padding: 0 52px 0 46px;
  color: var(--ink);
  background: #fafbfc;
  border: 1px solid var(--line-dark);
  border-radius: 5px;
  outline: none;
}

.search-field input:focus {
  border-color: var(--mint-dark);
  box-shadow: 0 0 0 3px rgba(35, 185, 135, 0.12);
}

.search-icon {
  position: absolute;
  top: 16px;
  left: 18px;
  width: 15px;
  height: 15px;
  border: 2px solid #5d6674;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 6px;
  height: 2px;
  background: #5d6674;
  transform: rotate(45deg);
}

.search-field kbd {
  position: absolute;
  top: 13px;
  right: 14px;
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 12px;
}

.select-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 220px)) 1fr;
  gap: 10px;
  align-items: end;
}

.select-row label,
.page-size-label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.trust-filter-panel {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.trust-controls {
  display: grid;
  grid-template-columns: 150px 170px auto;
  gap: 10px;
  align-items: end;
}

.trust-controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.trust-controls select {
  width: 100%;
  height: 50px;
  padding: 0 34px 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 5px;
}

.trust-controls .reset-button {
  min-height: 50px;
}

.startup-filter-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.startup-controls {
  display: grid;
  grid-template-columns: 140px 150px 160px auto;
  gap: 10px;
  align-items: end;
}

.startup-controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.startup-controls select {
  width: 100%;
  height: 50px;
  padding: 0 34px 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 5px;
}

.startup-controls .reset-button {
  min-height: 50px;
}

.select-row select,
.page-size-label select {
  width: 100%;
  height: 40px;
  padding: 0 34px 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 5px;
  outline: none;
}

.reset-button {
  justify-self: end;
}

.category-filter {
  margin-top: 16px;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line);
}

.category-chip {
  height: 34px;
  padding: 0 13px;
  color: #4f5866;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.category-chip:hover {
  border-color: #8d95a1;
}

.category-chip.active {
  color: var(--mint-dark);
  background: var(--mint-soft);
  border-color: #74d5b3;
}

.results-bar {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.results-bar p {
  margin: 0;
}

.results-bar strong {
  color: var(--mint-dark);
  font-size: 19px;
  font-variant-numeric: tabular-nums;
}

.results-note {
  color: var(--muted);
  font-size: 12px;
}

.table-shell {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.col-rank { width: 62px; }
.col-company { width: 190px; }
.col-market { width: 105px; }
.col-revenue { width: 122px; }
.col-category { width: 158px; }
.col-description { width: 25%; }
.col-model { width: 22%; }
.col-action { width: 48px; }

.trust-col-rank { width: 62px; }
.trust-col-company { width: 190px; }
.trust-col-founder { width: 125px; }
.trust-col-mrr { width: 116px; }
.trust-col-krw { width: 148px; }
.trust-col-growth { width: 86px; }
.trust-col-description { width: 19%; }
.trust-col-korea { width: 340px; }
.trust-col-status { width: 78px; }

.startup-col-rank { width: 62px; }
.startup-col-company { width: 215px; }
.startup-col-revenue { width: 135px; }
.startup-col-funding { width: 135px; }
.startup-col-stage { width: 124px; }
.startup-col-category { width: 130px; }
.startup-col-description { width: auto; }

.korea-match-cell {
  vertical-align: top;
}

.korea-match-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #303842;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  list-style: none;
}

.korea-match-details summary::-webkit-details-marker {
  display: none;
}

.korea-match-details summary strong {
  flex: 0 0 auto;
  color: var(--mint-dark);
  font-size: 11px;
}

.korea-match-details[open] summary {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.match-caution {
  margin: 9px 0 0;
  color: #8a5a20;
  font-size: 10px;
  line-height: 1.45;
}

.korea-match-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.korea-match-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 78px 70px;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border-bottom: 1px solid #edf0f2;
  font-size: 10px;
}

.korea-match-list li:last-child {
  border-bottom: 0;
}

.korea-match-list a {
  color: #19735b;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.korea-match-list li > span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.korea-match-list .match-rank {
  color: #68727e;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.korea-match-list .match-revenue {
  color: #343b46;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

thead {
  background: #f1f3f5;
  border-bottom: 1px solid var(--line-dark);
}

th {
  height: 48px;
  padding: 0 12px;
  color: #4f5866;
  text-align: left;
  font-size: 11px;
  font-weight: 800;
}

tbody tr {
  border-bottom: 1px solid #e8eaee;
  transition: background-color 120ms ease;
}

tbody tr:last-child {
  border-bottom: 0;
}

tbody tr:hover {
  background: #f8fcfa;
}

td {
  height: 84px;
  padding: 13px 12px;
  vertical-align: middle;
}

.rank-cell {
  color: var(--muted);
  text-align: center;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.top-rank {
  color: var(--ink);
  font-size: 16px;
}

.company-cell {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
}

.company-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--avatar-color, var(--mint-dark));
  background: var(--avatar-bg, var(--mint-soft));
  border: 1px solid rgba(23, 27, 36, 0.08);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.trust-avatar {
  color: #294b77;
  background: #edf4ff;
}

.startup-avatar {
  color: #8b4e14;
  background: #fff6df;
}

.company-name {
  overflow: hidden;
  display: block;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
  text-decoration: none;
}

.company-name:hover {
  color: var(--mint-dark);
  text-decoration: underline;
}

.company-domain {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.market-badge,
.category-badge {
  display: inline-block;
  max-width: 100%;
  padding: 5px 7px;
  overflow: hidden;
  border-radius: 4px;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 800;
}

.market-badge {
  color: #4e5968;
  background: #eef0f3;
}

.market-badge.private {
  color: #a0443c;
  background: var(--coral-soft);
}

.market-badge.overseas {
  color: #285da8;
  background: var(--blue-soft);
}

.revenue-cell {
  color: #11151c;
  font-size: 15px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.trust-founder {
  color: #505966;
  font-size: 12px;
}

.trust-mrr {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.trust-krw {
  color: #285da8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.growth-value {
  color: var(--mint-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
}

.growth-neutral {
  color: #9aa1ab;
}

.verified-badge,
.sale-badge {
  display: inline-block;
  padding: 5px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 850;
}

.verified-badge {
  color: var(--mint-dark);
  background: var(--mint-soft);
}

.sale-badge {
  color: #9a5a08;
  background: var(--amber-soft);
}

.stage-badge {
  display: inline-block;
  max-width: 100%;
  padding: 5px 7px;
  overflow: hidden;
  color: #67440e;
  background: var(--amber-soft);
  border-radius: 4px;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 850;
}

.startup-category {
  color: #285da8;
  background: var(--blue-soft);
}

.startup-number-cell a {
  display: block;
  color: #11151c;
  font-size: 15px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}

.startup-number-cell a:hover {
  color: var(--mint-dark);
  text-decoration: underline;
}

.startup-number-cell small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.funding-cell a {
  color: #285da8;
}

.category-badge {
  color: var(--category-color, #3c5b50);
  background: var(--category-bg, var(--mint-soft));
}

.text-cell {
  color: #4e5663;
  font-size: 12px;
  line-height: 1.55;
}

.clamp-two {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.detail-button {
  width: 32px;
  height: 32px;
  padding: 0;
  color: #59616e;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 23px;
  line-height: 1;
}

.detail-button:hover {
  color: var(--mint-dark);
  background: var(--mint-soft);
  border-color: #b7e9d7;
}

.empty-state {
  min-height: 280px;
  padding: 70px 20px;
  text-align: center;
}

.empty-state strong {
  display: block;
  margin-bottom: 18px;
  font-size: 17px;
}

.pagination-bar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.page-size-label {
  grid-template-columns: auto 82px;
  align-items: center;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 4px;
}

.page-button {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  color: #59616e;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.page-button:hover:not(:disabled) {
  background: #fff;
  border-color: var(--line-dark);
}

.page-button.active {
  color: #fff;
  background: var(--ink);
}

.page-button:disabled {
  cursor: default;
  opacity: 0.35;
}

.methodology {
  padding: 56px 0 62px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.methodology-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.4fr) minmax(0, 1fr);
  gap: 80px;
}

.methodology-copy {
  max-width: 850px;
  color: #555e6c;
  line-height: 1.8;
}

.methodology-copy p {
  margin-bottom: 12px;
}

.source-links {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.source-links a {
  color: var(--mint-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}

footer {
  color: #c0c5cf;
  background: var(--header);
}

.footer-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
}

.footer-inner span:first-child {
  color: #fff;
  font-weight: 850;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(16, 20, 29, 0.42);
  opacity: 0;
  transition: opacity 180ms ease;
}

.detail-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  width: min(520px, 100%);
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(102%);
  transition: transform 220ms ease;
  overflow-y: auto;
}

body.drawer-open {
  overflow: hidden;
}

body.drawer-open .drawer-backdrop {
  opacity: 1;
}

body.drawer-open .detail-drawer {
  transform: translateX(0);
}

.drawer-header {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 62px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.drawer-header p {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}

.drawer-close {
  width: 36px;
  height: 36px;
  padding: 0;
  color: #555d69;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 26px;
  line-height: 1;
}

.drawer-close:hover {
  background: #f0f2f4;
}

.drawer-content {
  padding: 28px 28px 50px;
}

.drawer-rank {
  margin: 0 0 8px;
  color: var(--mint-dark);
  font-size: 12px;
  font-weight: 850;
}

.drawer-title-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.drawer-title-row .company-avatar {
  width: 52px;
  height: 52px;
  font-size: 15px;
}

.drawer-title-row h2 {
  margin: 0 0 7px;
  font-size: 26px;
  line-height: 1.25;
}

.drawer-title-row a {
  color: var(--mint-dark);
  font-size: 12px;
  font-weight: 750;
}

.drawer-revenue {
  margin: 28px 0 0;
  padding: 22px 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

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

.drawer-revenue strong {
  font-size: 25px;
  font-variant-numeric: tabular-nums;
}

.drawer-tags {
  margin: 18px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.detail-list {
  margin: 0;
}

.detail-list div {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.detail-list dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.detail-list dd {
  margin: 0;
  color: #343b46;
  line-height: 1.7;
}

.detail-list a {
  color: var(--mint-dark);
  font-weight: 750;
  overflow-wrap: anywhere;
}

@media (max-width: 1120px) {
  .col-market,
  th:nth-child(3),
  td:nth-child(3),
  .col-model,
  th:nth-child(7),
  td:nth-child(7) {
    display: none;
  }

  .col-description { width: 32%; }

  .trust-table th:nth-child(3),
  .trust-table td:nth-child(3),
  .trust-table th:nth-child(7),
  .trust-table td:nth-child(7) { display: none; }

  .trust-col-founder { width: 130px; }
  .trust-col-korea { width: 38%; }

  .startup-table th:nth-child(3),
  .startup-table td:nth-child(3) { display: table-cell; }

  .startup-table th:nth-child(6),
  .startup-table td:nth-child(6) { display: none; }
}

@media (max-width: 760px) {
  .content-width,
  .header-inner {
    width: min(100% - 28px, 1480px);
  }

  .site-header {
    height: 56px;
  }

  .header-inner {
    gap: 16px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .header-nav {
    display: none;
  }

  .intro-grid {
    min-height: 0;
    padding: 36px 0 30px;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  h1 {
    font-size: 34px;
  }

  .intro-copy {
    font-size: 14px;
  }

  .summary-stats {
    width: 100%;
  }

  .summary-stats div {
    min-width: 0;
    padding: 15px 12px;
  }

  .summary-stats dd {
    font-size: 21px;
  }

  .data-section {
    padding: 32px 0 44px;
  }

  .section-heading h2,
  .methodology h2 {
    font-size: 23px;
  }

  #trustmrr-panel .section-heading,
  #startup-panel .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  #trustmrr-panel .external-button,
  #startup-panel .external-button {
    white-space: nowrap;
  }

  .select-row {
    grid-template-columns: 1fr 1fr;
  }

  .dataset-tabs {
    min-height: 52px;
    gap: 20px;
    overflow-x: auto;
  }

  .dataset-tab {
    flex: 0 0 auto;
    font-size: 12px;
  }

  .source-strip {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .source-strip > span:last-child {
    grid-column: 2;
  }

  .trust-filter-panel {
    grid-template-columns: 1fr;
  }

  .startup-filter-panel {
    grid-template-columns: 1fr;
  }

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

  .trust-controls .reset-button {
    grid-column: 1 / -1;
  }

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

  .startup-controls .reset-button {
    grid-column: 1 / -1;
  }

  .reset-button {
    width: 100%;
    justify-self: stretch;
  }

  .results-note {
    display: none;
  }

  .table-shell {
    overflow: visible;
    background: transparent;
    border: 0;
  }

  table,
  tbody {
    display: block;
  }

  thead,
  colgroup {
    display: none;
  }

  tbody {
    display: grid;
    gap: 10px;
  }

  tbody tr {
    position: relative;
    min-height: 150px;
    padding: 16px 48px 15px 54px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
  }

  td {
    height: auto;
    padding: 0;
  }

  .rank-cell {
    position: absolute;
    top: 17px;
    left: 15px;
    width: 28px;
    text-align: left;
  }

  td:nth-child(2) {
    grid-column: 1 / -1;
  }

  .company-cell {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .company-avatar {
    width: 34px;
    height: 34px;
  }

  td:nth-child(4) {
    grid-column: 1;
    align-self: center;
  }

  td:nth-child(5) {
    grid-column: 2;
    justify-self: end;
  }

  td:nth-child(6) {
    grid-column: 1 / -1;
  }

  td:nth-child(8) {
    position: absolute;
    top: 15px;
    right: 12px;
  }

  .trust-table td:nth-child(3),
  .trust-table td:nth-child(7) {
    display: block;
  }

  .trust-table tbody tr {
    min-height: 228px;
    padding-right: 68px;
  }

  .trust-table td:nth-child(3) {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 11px;
  }

  .trust-table td:nth-child(4) {
    grid-column: 1;
  }

  .trust-table td:nth-child(5) {
    grid-column: 2;
    justify-self: end;
  }

  .trust-table td:nth-child(6) {
    grid-column: 1;
  }

  .trust-table td:nth-child(7) {
    grid-column: 1 / -1;
  }

  .trust-table td:nth-child(8) {
    position: static;
    grid-column: 1 / -1;
  }

  .trust-table td:nth-child(9) {
    position: absolute;
    top: 16px;
    right: 14px;
  }

  .startup-table tbody tr {
    min-height: 224px;
    padding-right: 16px;
  }

  .startup-table td:nth-child(3) {
    display: block;
    grid-column: 1;
    align-self: center;
  }

  .startup-table td:nth-child(4) {
    grid-column: 2;
    justify-self: end;
  }

  .startup-table td:nth-child(5) {
    grid-column: 1;
    justify-self: start;
  }

  .startup-table td:nth-child(6) {
    display: block;
    grid-column: 2;
    justify-self: end;
  }

  .startup-table td:nth-child(7) {
    display: block;
    grid-column: 1 / -1;
  }

  .korea-match-list li {
    grid-template-columns: 18px minmax(0, 1fr) 68px 64px;
  }

  .pagination-bar {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .pagination {
    width: 100%;
    justify-content: center;
  }

  .methodology {
    padding: 42px 0 46px;
  }

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

@media (max-width: 460px) {
  .header-date {
    font-size: 10px;
  }

  .summary-stats dt {
    font-size: 10px;
  }

  .select-row {
    grid-template-columns: 1fr;
  }

  .export-button {
    padding: 0 12px;
  }

  .category-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

  .trust-controls .reset-button {
    grid-column: auto;
  }

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

  .startup-controls .reset-button {
    grid-column: auto;
  }

  .category-chip {
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
