:root {
  --focus-ring: 0 0 0 3px rgba(164, 214, 90, 0.28);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  padding: 8px 12px;
  background: var(--accent-bright);
  color: #081006;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.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;
}

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

.overview-card {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--border-inner);
  background: rgba(255, 255, 255, 0.025);
}

.overview-label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.overview-card strong {
  display: block;
  color: var(--accent-bright);
  font-size: 16px;
  line-height: 1.25;
}

.overview-card small {
  display: block;
  margin-top: 4px;
  color: var(--text-dim);
  font-size: 11px;
}

.comparison {
  padding: 0 0 88px;
}

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-inner);
  background: rgba(12, 12, 12, 0.78);
  box-shadow: var(--shadow);
}

.comparison-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 13px;
}

.comparison-table th,
.comparison-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-inner);
}

.comparison-table thead th {
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.025);
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table tbody th {
  width: 42%;
  color: var(--text);
  font-weight: 600;
}

.comparison-table td {
  color: #c4c4c4;
}

.table-check {
  color: var(--accent-bright);
  font-weight: 600;
}

.table-check::before {
  content: "✓";
  display: inline-block;
  margin-right: 7px;
  color: var(--accent-bright);
}

.table-muted {
  color: var(--text-dim);
}

@media (max-width: 980px) {
  .navbar-inner {
    gap: 12px;
  }

  .navbar .nav-links {
    display: flex;
    min-width: 0;
    max-width: 48vw;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .navbar .nav-links::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 560px) {
  .navbar .nav-links {
    display: none;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

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

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

  .comparison {
    padding-bottom: 64px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}
