:root {
  --paper: #f5f7f4;
  --paper-deep: #e9eeeb;
  --ink: #17211f;
  --muted: #6d7773;
  --line: #d7dfda;
  --mint: #c9f1e1;
  --mint-strong: #37ae83;
  --orange: #f18d55;
  --pink: #e5b8c0;
  --yellow: #e1c967;
  --white: #fff;
  --dark: #1b2421;
  --shadow: 0 12px 35px rgba(28, 42, 36, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 44px;
  min-height: 76px;
  padding: 0 clamp(20px, 5vw, 76px);
}

.brand,
.footer-brand {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  color: var(--mint);
  display: inline-flex;
  font-size: 20px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  letter-spacing: -2px;
  width: 34px;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

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

.brand-copy small {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 28px;
  margin-right: auto;
}

.main-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a.active,
.footer-links a:hover {
  color: var(--ink);
}

.main-nav a.active {
  position: relative;
}

.main-nav a.active::after {
  background: var(--orange);
  bottom: -29px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 100%;
}

.topbar-actions {
  align-items: center;
  display: flex;
  gap: 18px;
}

.icon-button,
.menu-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--ink);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  padding: 0;
  width: 34px;
}

.icon-button:hover,
.menu-button:hover {
  color: var(--orange);
}

.icon-button svg,
.menu-button svg,
.submit-link svg,
.text-link svg,
.outline-link svg,
.guide-foot svg,
.primary-button svg,
.filter-reset svg,
.data-note svg,
.insight-row svg {
  height: 15px;
  stroke-width: 1.8;
  width: 15px;
}

.submit-link,
.outline-link,
.text-link {
  align-items: center;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 7px;
}

.submit-link:hover,
.text-link:hover,
.outline-link:hover {
  color: var(--orange);
}

.submit-link {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.menu-button {
  display: none;
}

main {
  margin: 0 auto;
  max-width: 1440px;
}

.overview-band,
.ranking-section,
.guide-section {
  padding: 72px clamp(20px, 5vw, 76px);
}

.overview-band {
  padding-bottom: 38px;
}

.section-heading {
  align-items: flex-end;
  display: flex;
  gap: 36px;
  justify-content: space-between;
}

.section-heading h1,
.section-heading h2,
.trust-copy h2,
.modal-topline h2 {
  letter-spacing: -0.055em;
  margin: 0;
  overflow-wrap: anywhere;
}

.section-heading h1 {
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 0.98;
  max-width: 760px;
}

.eyebrow {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  margin: 0 0 15px;
}

.live-dot {
  background: var(--mint-strong);
  border-radius: 50%;
  display: inline-block;
  height: 7px;
  margin-right: 4px;
  vertical-align: 1px;
  width: 7px;
}

.heading-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 22px 0 0;
  max-width: 620px;
  overflow-wrap: anywhere;
}

.update-stamp {
  border-left: 1px solid var(--line);
  display: grid;
  gap: 4px;
  min-width: 155px;
  padding: 5px 0 5px 20px;
}

.update-stamp span,
.update-stamp small {
  color: var(--muted);
  font-size: 11px;
}

.update-stamp strong {
  font-family: "DM Mono", monospace;
  font-size: 13px;
  font-weight: 500;
}

.metric-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 66px;
  min-width: 0;
}

.metric-card {
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 136px;
  min-width: 0;
  padding: 20px 22px;
}

.accent-card {
  background: var(--mint);
  border-color: transparent;
}

.metric-label {
  color: var(--muted);
  display: block;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

.metric-card strong {
  display: block;
  font-size: 36px;
  letter-spacing: -0.06em;
  line-height: 1;
}

.metric-card strong span {
  font-size: 20px;
  margin-left: 2px;
}

.metric-caption {
  color: var(--muted);
  display: block;
  font-size: 11px;
  margin-top: 11px;
}

.metric-caption b {
  color: var(--mint-strong);
  font-weight: 700;
}

.compact-heading h2,
.trust-copy h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.section-aside {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
  max-width: 355px;
  text-align: right;
}

.ranking-tabs {
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 27px;
  margin-top: 44px;
}

.ranking-tab {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 0 0 15px;
  position: relative;
}

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

.ranking-tab.active::after {
  background: var(--orange);
  bottom: -1px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 100%;
}

.toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 21px 0 25px;
}

.search-field,
.select-field,
.budget-filter {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  min-height: 40px;
}

.search-field {
  flex: 1 1 220px;
  gap: 8px;
  padding: 0 12px;
}

.search-field svg {
  color: var(--muted);
  height: 16px;
  width: 16px;
}

.search-field input {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 12px;
  min-width: 0;
  outline: 0;
  width: 100%;
}

.search-field input::placeholder {
  color: #9ca5a1;
}

.select-field {
  gap: 7px;
  padding: 0 11px;
  position: relative;
}

.select-field span,
.budget-filter > span {
  color: var(--muted);
  font-size: 11px;
}

.select-field select {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  outline: 0;
  padding-right: 17px;
}

.select-field svg {
  color: var(--muted);
  height: 14px;
  pointer-events: none;
  position: absolute;
  right: 8px;
  width: 14px;
}

.budget-filter {
  gap: 3px;
  padding: 3px;
}

.budget-filter > span {
  padding: 0 8px;
}

.budget-option {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 11px;
  min-height: 32px;
  padding: 0 9px;
}

.budget-option.active,
.budget-option:hover {
  background: var(--ink);
  color: var(--white);
}

.filter-reset {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--muted);
  display: inline-flex;
  font-size: 11px;
  gap: 5px;
  margin-left: auto;
}

.filter-reset:hover {
  color: var(--ink);
}

.ranking-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 295px;
}

.list-meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  justify-content: space-between;
  margin: 0 0 8px;
}

.data-note {
  align-items: center;
  display: inline-flex;
  gap: 5px;
}

.data-note svg {
  color: var(--mint-strong);
  height: 13px;
  width: 13px;
}

.ranking-list {
  display: grid;
  gap: 8px;
}

.service-row {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 42px minmax(160px, 1.35fr) 100px 112px 85px 110px 40px;
  min-height: 94px;
  padding: 13px 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-row:hover {
  border-color: #aebbb5;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.rank-number {
  align-self: start;
  color: #9ca7a2;
  font-family: "DM Mono", monospace;
  font-size: 14px;
  padding-top: 4px;
}

.rank-number.top-rank {
  color: var(--orange);
}

.service-identity {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.service-logo {
  align-items: center;
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  flex: 0 0 40px;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.service-name-block {
  min-width: 0;
}

.service-name-block strong {
  display: block;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-name-block span {
  color: var(--muted);
  display: block;
  font-size: 10px;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-cell {
  min-width: 0;
}

.data-cell-label {
  color: var(--muted);
  display: block;
  font-size: 10px;
  margin-bottom: 6px;
}

.data-cell strong {
  font-family: "DM Mono", monospace;
  font-size: 13px;
  font-weight: 500;
}

.score-cell strong {
  color: var(--mint-strong);
  font-size: 21px;
  font-weight: 700;
}

.score-cell small {
  color: var(--muted);
  display: block;
  font-size: 9px;
  margin-top: 2px;
}

.mini-bars {
  align-items: flex-end;
  display: flex;
  gap: 2px;
  height: 23px;
}

.mini-bars span {
  background: var(--mint-strong);
  display: block;
  opacity: 0.75;
  width: 4px;
}

.mini-bars span:nth-child(1) { height: 60%; }
.mini-bars span:nth-child(2) { height: 84%; }
.mini-bars span:nth-child(3) { height: 72%; }
.mini-bars span:nth-child(4) { height: 100%; }
.mini-bars span:nth-child(5) { height: 91%; }
.mini-bars span:nth-child(6) { height: 96%; }
.mini-bars span:nth-child(7) { height: 100%; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tag {
  background: var(--paper-deep);
  color: var(--muted);
  font-size: 9px;
  padding: 4px 5px;
  white-space: nowrap;
}

.row-actions {
  align-items: center;
  display: flex;
  justify-content: flex-end;
}

.compare-check {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  color: transparent;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  padding: 0;
  width: 24px;
}

.compare-check svg {
  height: 14px;
  width: 14px;
}

.compare-check:hover,
.compare-check.selected {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--mint);
}

.insight-panel {
  background: var(--dark);
  color: var(--white);
  min-height: 360px;
  padding: 25px 23px 22px;
}

.panel-header {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.panel-header .eyebrow {
  color: #94a19b;
  margin-bottom: 10px;
}

.panel-header h3 {
  font-size: 24px;
  letter-spacing: -0.05em;
  margin: 0;
}

.date-chip {
  border: 1px solid #4e5b55;
  color: #bec9c3;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  padding: 5px 7px;
}

.insight-lead {
  border-bottom: 1px solid #3b4742;
  display: grid;
  gap: 11px;
  grid-template-columns: 27px 1fr;
  margin-top: 34px;
  padding-bottom: 21px;
}

.insight-number {
  color: var(--orange);
  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.insight-lead strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.insight-lead p {
  color: #aebbb5;
  font-size: 11px;
  line-height: 1.65;
  margin: 8px 0 0;
}

.insight-row {
  align-items: center;
  border-bottom: 1px solid #3b4742;
  display: flex;
  font-size: 11px;
  justify-content: space-between;
  min-height: 42px;
}

.insight-row span {
  color: #aebbb5;
}

.insight-row strong {
  align-items: center;
  display: inline-flex;
  font-size: 11px;
  gap: 4px;
}

.insight-row em {
  color: var(--mint);
  font-style: normal;
}

.insight-row svg {
  color: var(--orange);
  height: 12px;
  width: 12px;
}

.insight-panel .text-link {
  color: var(--mint);
  margin-top: 20px;
}

.empty-state {
  align-items: center;
  border: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  min-height: 260px;
  text-align: center;
}

.empty-state svg {
  color: var(--muted);
  height: 28px;
  margin-bottom: 4px;
  width: 28px;
}

.empty-state strong {
  font-size: 14px;
}

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

.trust-section {
  align-items: center;
  background: var(--mint);
  display: grid;
  gap: 10%;
  grid-template-columns: 0.8fr 1.2fr;
  padding: 78px clamp(20px, 10vw, 150px);
}

.trust-copy p:not(.eyebrow) {
  color: #4f6960;
  font-size: 13px;
  line-height: 1.8;
  margin: 26px 0;
  max-width: 400px;
}

.outline-link {
  border-bottom: 1px solid #668c7c;
  padding-bottom: 7px;
}

.score-breakdown {
  align-items: center;
  display: grid;
  gap: clamp(25px, 7vw, 90px);
  grid-template-columns: 180px 1fr;
}

.score-ring {
  align-items: center;
  background: conic-gradient(var(--dark) 0 72%, transparent 72% 100%);
  border-radius: 50%;
  display: flex;
  height: 174px;
  justify-content: center;
  position: relative;
  width: 174px;
}

.score-ring::after {
  background: var(--mint);
  border-radius: 50%;
  content: "";
  height: 134px;
  position: absolute;
  width: 134px;
}

.score-ring > div {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.score-ring strong {
  font-size: 35px;
  letter-spacing: -0.07em;
}

.score-ring span {
  color: #557469;
  font-size: 11px;
  margin-top: 4px;
}

.score-lines {
  display: grid;
  gap: 15px;
}

.score-line > div {
  display: flex;
  font-size: 11px;
  justify-content: space-between;
  margin-bottom: 7px;
}

.score-line b {
  font-family: "DM Mono", monospace;
  font-weight: 500;
}

.bar {
  background: rgba(255, 255, 255, 0.72);
  display: block;
  height: 7px;
}

.bar i {
  background: var(--dark);
  display: block;
  height: 100%;
}

.bar.orange i { background: var(--orange); }
.bar.pink i { background: var(--pink); }
.bar.yellow i { background: var(--yellow); }
.bar.gray i { background: #8fa79b; }

.guide-section {
  padding-bottom: 100px;
}

.guide-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 43px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 24px;
  transition: transform 160ms ease;
}

.guide-card:hover {
  transform: translateY(-3px);
}

.guide-card-dark {
  background: var(--dark);
  color: var(--white);
}

.guide-card-light {
  background: var(--paper-deep);
}

.guide-card-orange {
  background: var(--orange);
}

.guide-index {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  opacity: 0.68;
}

.guide-card h3 {
  font-size: clamp(19px, 2.1vw, 26px);
  letter-spacing: -0.05em;
  line-height: 1.18;
  margin: auto 0 28px;
  max-width: 270px;
}

.guide-foot {
  align-items: center;
  display: inline-flex;
  font-size: 11px;
  gap: 6px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto 1fr;
  padding: 28px clamp(20px, 5vw, 76px);
}

.footer-brand .brand-mark {
  font-size: 15px;
  height: 28px;
  width: 28px;
}

.footer-brand div {
  display: grid;
  gap: 2px;
}

.footer-brand strong {
  font-size: 13px;
}

.footer-brand span {
  color: var(--muted);
  font-size: 10px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.site-footer p {
  color: var(--muted);
  font-size: 10px;
  justify-self: end;
  margin: 0;
  text-align: right;
}

.compare-dock {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  bottom: 20px;
  box-shadow: 0 14px 35px rgba(25, 36, 31, 0.16);
  display: flex;
  gap: 24px;
  left: 50%;
  max-width: 920px;
  padding: 12px 14px 12px 18px;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  z-index: 10;
}

.compare-dock[hidden] {
  display: none;
}

.compare-dock-copy {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.compare-icon {
  align-items: center;
  background: var(--mint);
  color: var(--ink);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.compare-icon svg {
  height: 17px;
  width: 17px;
}

.compare-dock-copy strong,
.compare-dock-copy span {
  display: block;
}

.compare-dock-copy strong {
  font-size: 12px;
}

.compare-dock-copy span {
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}

.compare-dock-items {
  align-items: center;
  display: flex;
  gap: 5px;
  margin-right: auto;
}

.compare-item {
  align-items: center;
  background: var(--paper);
  display: flex;
  font-size: 10px;
  gap: 6px;
  padding: 7px 8px;
}

.compare-item i {
  border-radius: 50%;
  display: inline-block;
  height: 8px;
  width: 8px;
}

.compare-dock-actions {
  align-items: center;
  display: flex;
  gap: 11px;
}

.ghost-button,
.primary-button {
  border: 0;
  font-size: 11px;
  min-height: 35px;
  padding: 0 13px;
}

.ghost-button {
  background: transparent;
  color: var(--muted);
}

.primary-button {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  gap: 7px;
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

dialog {
  border: 0;
  max-height: 90vh;
  max-width: min(720px, calc(100% - 30px));
  padding: 0;
  width: 100%;
}

dialog::backdrop {
  background: rgba(20, 31, 27, 0.58);
}

.service-modal,
.compare-modal {
  background: transparent;
  overflow: auto;
}

.modal-content,
.compare-modal-content {
  background: var(--paper);
  padding: 28px;
}

.modal-topline {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.modal-topline h2 {
  font-size: 34px;
}

.modal-service-heading {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 15px;
  padding-bottom: 23px;
}

.modal-service-heading .service-logo {
  flex-basis: 52px;
  height: 52px;
  width: 52px;
}

.modal-service-heading h2 {
  font-size: 27px;
  letter-spacing: -0.05em;
  margin: 0;
}

.modal-service-heading p {
  color: var(--muted);
  font-size: 11px;
  margin: 5px 0 0;
}

.modal-score-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, 1fr);
  margin: 22px 0;
}

.modal-score {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 13px;
}

.modal-score span,
.detail-label {
  color: var(--muted);
  display: block;
  font-size: 10px;
}

.modal-score strong {
  display: block;
  font-family: "DM Mono", monospace;
  font-size: 20px;
  font-weight: 500;
  margin-top: 8px;
}

.modal-description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  margin: 20px 0;
}

.data-disclosure {
  align-items: flex-start;
  background: var(--mint);
  display: flex;
  gap: 9px;
  margin: 0 0 20px;
  padding: 12px 13px;
}

.data-disclosure > span {
  color: var(--mint-strong);
  display: inline-flex;
  flex: 0 0 auto;
  margin-top: 1px;
}

.data-disclosure svg {
  height: 15px;
  width: 15px;
}

.data-disclosure strong {
  display: block;
  font-size: 11px;
}

.data-disclosure p {
  color: #4f6960;
  font-size: 10px;
  line-height: 1.6;
  margin: 3px 0 0;
}

.draft-disclosure {
  background: #fff0cf;
}

.draft-disclosure > span {
  color: #a87518;
}

.draft-disclosure p {
  color: #745d30;
}

.detail-grid {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0 24px;
  grid-template-columns: repeat(2, 1fr);
}

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

.detail-item strong {
  display: block;
  font-size: 13px;
  margin-top: 5px;
}

.modal-actions {
  display: flex;
  gap: 9px;
  margin-top: 21px;
}

.modal-actions a {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  font-size: 12px;
  gap: 7px;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
}

.modal-actions a.secondary {
  background: var(--paper-deep);
  color: var(--ink);
}

.compare-table {
  margin-top: 28px;
  overflow-x: auto;
}

.compare-table table {
  border-collapse: collapse;
  min-width: 590px;
  width: 100%;
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  padding: 13px 10px;
  text-align: left;
}

.compare-table th {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.compare-table td:first-child {
  color: var(--muted);
  font-size: 10px;
  width: 120px;
}

.compare-table td strong {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 500;
}

@media (max-width: 1080px) {
  .service-row {
    grid-template-columns: 34px minmax(150px, 1.2fr) 85px 100px 76px 34px;
  }

  .service-row .data-cell:nth-of-type(3) {
    display: none;
  }

  .ranking-layout {
    grid-template-columns: minmax(0, 1fr) 265px;
  }
}

@media (max-width: 820px) {
  .topbar {
    gap: 20px;
    min-height: 66px;
  }

  .main-nav {
    display: none;
  }

  .topbar-actions {
    margin-left: auto;
  }

  .submit-link {
    border-left: 0;
    padding-left: 0;
  }

  .menu-button {
    display: inline-flex;
  }

  .section-heading,
  .ranking-layout,
  .trust-section {
    display: block;
  }

  .section-aside {
    margin-top: 16px;
    max-width: 420px;
    text-align: left;
  }

  .update-stamp {
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 28px;
    padding: 14px 0 0;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 38px;
  }

  .insight-panel {
    margin-top: 20px;
  }

  .score-breakdown {
    margin-top: 40px;
  }

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

  .guide-card {
    min-height: 220px;
  }

  .site-footer {
    align-items: start;
    grid-template-columns: 1fr 1fr;
  }

  .site-footer p {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .overview-band,
  .ranking-section,
  .guide-section {
    padding-bottom: 52px;
    padding-top: 52px;
  }

  .topbar {
    padding: 0 18px;
  }

  .brand-copy small,
  .submit-link {
    display: none;
  }

  .section-heading h1 {
    font-size: 37px;
    max-width: 100%;
    word-break: break-all;
  }

  .heading-note {
    font-size: 13px;
  }

  .metric-card {
    min-height: 118px;
    padding: 16px;
  }

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

  .metric-card strong {
    font-size: 28px;
  }

  .metric-label {
    margin-bottom: 14px;
  }

  .ranking-tabs {
    gap: 19px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ranking-tabs::-webkit-scrollbar {
    display: none;
  }

  .ranking-tab {
    flex: 0 0 auto;
  }

  .toolbar {
    align-items: stretch;
  }

  .search-field,
  .select-field,
  .budget-filter {
    flex: 1 1 100%;
  }

  .filter-reset {
    margin-left: 0;
  }

  .service-row {
    gap: 10px;
    grid-template-columns: 30px minmax(0, 1fr) 70px 28px;
    min-height: 86px;
    padding: 12px 11px;
  }

  .service-row .data-cell:nth-of-type(2),
  .service-row .data-cell:nth-of-type(3),
  .service-row .tag-list {
    display: none;
  }

  .rank-number {
    font-size: 12px;
  }

  .service-logo {
    flex-basis: 34px;
    height: 34px;
    width: 34px;
  }

  .service-identity {
    gap: 8px;
  }

  .service-name-block strong {
    font-size: 12px;
  }

  .service-name-block span {
    font-size: 9px;
  }

  .data-cell-label {
    font-size: 9px;
  }

  .score-cell strong {
    font-size: 18px;
  }

  .mini-bars {
    display: none;
  }

  .data-note {
    display: none;
  }

  .trust-section {
    padding: 58px 20px;
  }

  .score-breakdown {
    display: block;
  }

  .score-ring {
    margin: 0 auto 38px;
  }

  .site-footer {
    display: block;
    padding: 28px 20px 95px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 23px 0;
  }

  .compare-dock {
    align-items: stretch;
    flex-wrap: wrap;
    gap: 9px;
    padding: 11px;
  }

  .compare-dock-copy {
    flex: 1;
  }

  .compare-dock-items {
    flex-basis: 100%;
    margin: 0;
    order: 3;
    overflow-x: auto;
  }

  .compare-dock-actions {
    margin-left: auto;
  }

  .ghost-button {
    display: none;
  }

  .modal-content,
  .compare-modal-content {
    padding: 21px 17px;
  }

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

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