:root {
  --bg: #f6f8fb;
  --panel: #ffffff;
  --panel-soft: #f0f4f8;
  --text: #17202a;
  --muted: #5f6f82;
  --line: #dbe3ec;
  --brand: #0f5f6f;
  --brand-dark: #0a414d;
  --accent: #f3a712;
  --shadow: 0 18px 45px rgba(24, 39, 75, 0.08);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

.topbar {
  background: #0b2530;
  color: #d8edf2;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner,
.nav-inner,
.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}

.nav {
  background: #0f3440;
  color: #fff;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 25px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), #ffd36d);
  color: #17202a;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(243, 167, 18, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: #d9e6eb;
}

.nav-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  padding: 10px 14px;
}

.nav-menu-toggle:hover,
.nav-menu-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links .share-button {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.nav-links .share-button:hover,
.nav-links .share-button:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.share-button:disabled {
  cursor: default;
  opacity: 0.86;
}

.nav-cta {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #fff;
}

.hero {
  background:
    radial-gradient(circle at 80% 10%, rgba(243, 167, 18, 0.20), transparent 28%),
    linear-gradient(180deg, #0f3440 0%, #114e5c 70%, var(--bg) 70%);
  padding: 62px 0 46px;
}

.hero-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy {
  color: #fff;
  padding: 16px 0 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #eaf7fa;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

h1 {
  margin: 20px 0 16px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.95;
  max-width: 820px;
}

.hero-copy p {
  font-size: 19px;
  color: #d8edf2;
  max-width: 690px;
  margin: 0 0 28px;
}

.search-panel {
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-top: 30px;
  border: 1px solid rgba(15, 52, 64, 0.08);
}

.search-label {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-box {
  display: flex;
  gap: 10px;
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 16px;
  font-size: 16px;
  outline: none;
}

.search-box input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 95, 111, 0.10);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-secondary {
  background: #e8f0f3;
  color: var(--brand-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--brand);
  padding: 0;
}

.share-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  max-width: min(320px, calc(100vw - 40px));
  padding: 12px 14px;
  border: 1px solid #cde3e8;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(24, 39, 75, 0.14);
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 850;
}

.search-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 13px;
}

.chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--panel-soft);
  color: #324150;
  border: 1px solid #e1e8f0;
}

.hero-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 52, 64, 0.08);
}

.hero-card h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.stat-list {
  display: grid;
  gap: 12px;
}

.stat-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat-title,
.entity {
  font-weight: 800;
}

.entity-meta {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

.stat-sub {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.stat-value {
  font-weight: 900;
  color: var(--brand);
  font-size: 21px;
  text-align: right;
}

.section {
  padding: 34px 0;
}

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

.section-kicker {
  color: var(--brand);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  margin-bottom: 7px;
}

.section h2 {
  margin: 0;
  font-size: 31px;
}

.section-desc {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 730px;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.index-card,
.ranking-card,
.info-card,
.business-panel,
.empty-state {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(24, 39, 75, 0.04);
  min-width: 0;
}

.index-card {
  padding: 18px;
  min-height: 222px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.index-card:hover {
  border-color: rgba(15, 95, 111, 0.35);
  transform: translateY(-1px);
  transition: 140ms ease;
}

.index-card-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.index-card h3,
.ranking-card h3,
.info-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.index-card p,
.info-card p,
.business-panel p {
  margin: 0;
  color: var(--muted);
}

.index-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: #edf4f6;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 750;
}

.mini-stats {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(92px, 0.8fr);
  gap: 8px;
  margin-top: 16px;
  align-items: stretch;
}

.mini-stat {
  min-width: 0;
  background: #f8fafc;
  border: 1px solid #e7edf3;
  border-radius: var(--radius);
  padding: 10px;
}

.mini-stat-primary {
  min-height: 118px;
}

.mini-stat-stack {
  display: grid;
  gap: 8px;
}

.mini-stat-stack:first-child {
  grid-column: 1 / -1;
}

.mini-stat-compact {
  min-height: 55px;
}

.mini-stat strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 15px;
  color: var(--text);
}

.mini-stat span {
  color: var(--muted);
  font-size: 11px;
}

.index-card-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #edf2f6;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.rankings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ranking-card {
  padding: 18px;
}

.breadcrumbs {
  padding-top: 12px;
  padding-bottom: 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: #91a1b2;
}

.breadcrumbs a {
  color: var(--brand);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.key-findings {
  margin-bottom: 12px;
  padding: 14px;
  background: #fbfdff;
  border: 1px solid #e1e9f0;
  border-radius: var(--radius);
}

.key-findings__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.key-findings h2 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 18px;
}

.key-findings__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.key-finding {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  min-height: 58px;
  padding: 9px;
  background: #fff;
  border: 1px solid #e9eff4;
  border-radius: 6px;
}

.key-finding__marker {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--brand);
}

.key-finding--positive .key-finding__marker {
  background: #2bbf9b;
}

.key-finding--warning .key-finding__marker {
  background: #ff5656;
}

.key-finding__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.key-finding strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.25;
}

.key-finding span span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ranking-card .context {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}

.seo-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.seo-detail-panel {
  padding: 14px;
  background: #fbfdff;
  border: 1px solid #e1e9f0;
  border-radius: var(--radius);
}

.seo-detail-panel h2 {
  margin: 0 0 7px;
  color: var(--brand-dark);
  font-size: 16px;
}

.seo-detail-panel p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.seo-detail-panel p:last-child {
  margin-bottom: 0;
}

.seo-link-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.seo-link-list a,
.seo-detail-panel a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.seo-link-list a:hover,
.seo-detail-panel a:hover {
  text-decoration: underline;
}

.seo-detail-panel details {
  color: var(--muted);
  font-size: 13px;
}

.seo-detail-panel summary {
  color: var(--text);
  cursor: pointer;
  font-weight: 850;
}

.ranking-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #e7edf3;
  border-radius: var(--radius);
}

.year-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  margin-bottom: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e0e8ef;
  border-radius: var(--radius);
}

.year-toolbar__button {
  min-height: 34px;
  padding: 8px 12px;
}

.year-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.year-context strong {
  color: var(--brand-dark);
}

.comparison-chart-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 12px;
  padding: 14px;
  background: #fbfdff;
  border: 1px solid #e1e9f0;
  border-radius: var(--radius);
}

.comparison-chart-card h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.comparison-chart-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.comparison-chart-card__metric {
  margin-top: 8px !important;
  color: var(--brand-dark) !important;
  font-weight: 850;
}

.comparison-chart-card__canvas {
  min-height: 260px;
  position: relative;
}

.comparison-bars {
  display: grid;
  gap: 8px;
}

.comparison-bars__group {
  display: grid;
  grid-template-columns: minmax(120px, 0.36fr) minmax(0, 0.64fr);
  gap: 4px 12px;
  align-items: center;
}

.comparison-bars__label {
  grid-row: span 2;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.comparison-bars__row {
  display: grid;
  grid-template-columns: 42px minmax(80px, 1fr) 70px;
  gap: 7px;
  align-items: center;
  min-height: 18px;
}

.comparison-bars__year,
.comparison-bars__value {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.comparison-bars__value {
  text-align: right;
}

.comparison-bars__track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f6;
}

.comparison-bars__bar {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.comparison-bars__bar--compare {
  background: rgba(95, 111, 130, 0.68);
}

.comparison-bars__bar--current {
  background: rgba(15, 95, 111, 0.78);
}

.ranking-control {
  display: grid;
  gap: 4px;
  min-width: 150px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ranking-control--search {
  flex: 1;
  min-width: 220px;
}

.ranking-control input,
.ranking-control select {
  min-height: 34px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  padding: 7px 9px;
  outline: none;
}

.ranking-control input:focus,
.ranking-control select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 95, 111, 0.10);
}

.ranking-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.ranking-check input {
  width: 15px;
  height: 15px;
  accent-color: var(--brand);
}

.ranking-view-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.ranking-view-status strong {
  color: var(--brand-dark);
}

.ranking-table-wrap {
  max-width: 100%;
  width: 100%;
  overflow-x: auto;
}

.ranking-table {
  min-width: 760px;
}

.ranking-table--dense {
  font-size: 13px;
}

.ranking-table--dense th {
  padding: 7px 10px 7px 0;
}

.ranking-table--dense td {
  padding: 6px 10px 6px 0;
  vertical-align: middle;
}

.ranking-table--dense tbody tr:hover {
  background: #fbfdff;
}

.ranking-table--dense .entity {
  font-size: 12px;
}

.ranking-table--dense .entity-meta {
  font-size: 10px;
}

.ranking-table--dense .rank {
  width: 30px;
}

.ranking-table--dense .hazindex-cell {
  width: 122px;
  vertical-align: top;
}

.column-note {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0;
  text-transform: none;
}

.change-cell {
  display: grid;
  gap: 2px;
}

.change-value {
  color: var(--brand-dark);
}

.change-percent {
  color: var(--muted);
  font-size: 12px;
}

.ranking-empty {
  padding: 18px 0 4px;
  color: var(--muted);
  font-weight: 750;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th {
  text-align: left;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 9px 8px 9px 0;
  border-bottom: 1px solid var(--line);
}

td {
  padding: 11px 8px 11px 0;
  border-bottom: 1px solid #eef2f6;
  vertical-align: top;
}

td:last-child,
th:last-child {
  text-align: right;
  padding-right: 0;
}

.rank {
  color: var(--muted);
  width: 34px;
}

.metric {
  color: var(--brand);
  font-weight: 900;
  white-space: nowrap;
}

.hazindex-cell {
  min-width: 118px;
}

.hazindex-details {
  display: inline-block;
  position: relative;
  text-align: left;
}

.hazindex-details summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  cursor: pointer;
  outline: none;
}

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

.hazindex-details summary:hover .hazindex-badge,
.hazindex-details summary:focus-visible .hazindex-badge {
  border-color: rgba(15, 95, 111, 0.48);
  box-shadow: 0 0 0 3px rgba(15, 95, 111, 0.10), 0 8px 18px rgba(24, 39, 75, 0.08);
  transform: translateY(-1px);
}

.hazindex-details summary:focus-visible {
  border-radius: var(--radius);
  box-shadow: 0 0 0 3px rgba(15, 95, 111, 0.16);
}

.hazindex-caret {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  transition: transform 140ms ease, color 140ms ease;
}

.hazindex-details summary:hover .hazindex-caret,
.hazindex-details summary:focus-visible .hazindex-caret {
  color: var(--brand);
}

.hazindex-details[open] .hazindex-caret {
  transform: rotate(180deg);
}

.hazindex-badge {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 0 7px;
  align-items: baseline;
  min-width: 104px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  color: var(--text);
  text-align: left;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.hazindex-badge__label {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hazindex-badge__score {
  font-size: 20px;
  line-height: 1;
}

.hazindex-badge__rating {
  font-size: 12px;
  font-weight: 850;
}

.hazindex-badge--compact {
  min-width: 92px;
  padding: 6px 8px;
  gap: 0 6px;
}

.hazindex-badge--compact .hazindex-badge__score {
  font-size: 17px;
}

.hazindex-badge--compact .hazindex-badge__rating {
  font-size: 11px;
}

.ranking-table--dense .hazindex-badge {
  min-width: 82px;
  padding: 3px 7px;
  border-radius: 5px;
  gap: 0 6px;
}

.ranking-table--dense .hazindex-badge__label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.ranking-table--dense .hazindex-badge__score {
  font-size: 14px;
}

.ranking-table--dense .hazindex-badge__rating {
  font-size: 10px;
}

.hazindex-badge--minimal {
  background: #e8f6f1;
  border-color: #bfded1;
  color: #135f45;
}

.hazindex-badge--low {
  background: #ecf8e8;
  border-color: #cfe8c7;
  color: #2e6b2d;
}

.hazindex-badge--moderate {
  background: #fff7df;
  border-color: #ead08c;
  color: #715300;
}

.hazindex-badge--high {
  background: #fff0e2;
  border-color: #efbf91;
  color: #8a3f00;
}

.hazindex-badge--very-high {
  background: #fdecec;
  border-color: #efb5b5;
  color: #8c1f1f;
}

.hazindex-empty {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.hazindex-explainer {
  color: var(--muted);
  max-width: 880px;
  margin: 0 0 16px;
}

.hazindex-components {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  z-index: 30;
  width: 300px;
  margin-top: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(24, 39, 75, 0.10);
  color: var(--muted);
  font-size: 12px;
  text-align: left;
}

.hazindex-components p {
  margin: 0 0 8px;
}

.hazindex-components dl {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto;
  gap: 4px 10px;
  margin: 8px 0 0;
}

.hazindex-components dt {
  font-weight: 700;
}

.hazindex-components dd {
  margin: 0;
  color: var(--text);
  font-weight: 750;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.explore-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.explore-card span {
  color: var(--brand);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  padding: 20px;
}

.business-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(135deg, #fff, #eef7f9);
  border-color: #cde3e8;
}

.business-panel h2 {
  margin-bottom: 8px;
}

.business-panel p {
  max-width: 760px;
}

.page-hero {
  background: linear-gradient(180deg, #0f3440 0%, #114e5c 100%);
  color: #fff;
  padding: 48px 0;
}

.page-hero .section-desc {
  color: #d8edf2;
}

.coverage-note {
  margin: 10px 0 0;
  color: #e7f3f6;
  font-weight: 750;
}

.release-banner {
  background: #edf4f6;
  border-bottom: 1px solid #d5e3e8;
}

.release-banner__inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 13px 0;
}

.release-banner__title {
  color: var(--brand-dark);
  font-weight: 900;
}

.release-banner__source {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.release-banner__meta {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 0;
}

.release-banner__meta div {
  display: grid;
  gap: 1px;
}

.release-banner__meta dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.release-banner__meta dd {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.empty-state {
  padding: 24px;
}

.empty-state h2,
.empty-state h3 {
  margin: 0 0 8px;
}

.empty-state p {
  color: var(--muted);
  margin: 0;
}

.footer {
  margin-top: 28px;
  background: #0b2530;
  color: #c7d7dd;
  padding: 34px 0;
  font-size: 14px;
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid,
  .rankings-grid,
  .business-panel {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

  .nav-menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    align-items: stretch;
    background: #0f3440;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    display: none;
    flex-direction: column;
    gap: 0;
    min-width: min(280px, calc(100vw - 32px));
    padding: 8px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 30;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .nav-links .share-button {
    border: 0;
    border-radius: 6px;
    display: flex;
    justify-content: flex-start;
    padding: 12px 14px;
    text-align: left;
    width: 100%;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links .share-button:hover,
  .nav-links .share-button:focus-visible {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    outline: none;
  }
}

@media (max-width: 640px) {
  .topbar-inner,
  .nav-inner,
  .hero-grid,
  .section,
  .release-banner__inner,
  .footer-inner {
    max-width: none;
    width: 100%;
  }

  .topbar-inner {
    flex-direction: column;
    gap: 6px;
    padding: 10px 16px;
  }

  .nav-inner {
    padding: 14px 16px;
  }

  .hero-grid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section,
  .release-banner__inner,
  .footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-links {
    left: 16px;
    min-width: 0;
    right: 16px;
    width: auto;
  }

  .search-box {
    flex-direction: column;
  }

  .index-grid,
  .mini-stats,
  .explore-grid,
  .key-findings__grid {
    grid-template-columns: 1fr;
  }

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

  .stat-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .stat-value {
    text-align: left;
  }

  .section-header {
    align-items: start;
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    align-items: start;
  }

  .ranking-toolbar,
  .year-toolbar,
  .release-banner__inner,
  .release-banner__meta {
    align-items: stretch;
    flex-direction: column;
  }

  .comparison-chart-card,
  .comparison-bars__group {
    grid-template-columns: 1fr;
  }

  .comparison-bars__label {
    grid-row: auto;
  }

  .ranking-control,
  .ranking-control--search {
    min-width: 100%;
  }
}
