:root {
  --navy: #0f172a;
  --navy-deep: #090e19;
  --graphite: #2b3440;
  --steel: #aab4c3;
  --paper: #f7f9fc;
  --panel: #ffffff;
  --amber: #f59e0b;
  --amber-deep: #d97706;
  --blue: #2563eb;
  --green: #1f8a5b;
  --red: #c2410c;
  --white: #ffffff;
  --ink: #111827;
  --muted: #64748b;
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);
  --shadow-md: 0 16px 34px rgba(15, 23, 42, 0.1);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(7, 10, 18, 0.04), rgba(7, 10, 18, 0)),
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 22%),
    linear-gradient(180deg, #f8fafc 0%, #ecf1f6 100%);
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.8);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background:
    linear-gradient(90deg, rgba(245, 158, 11, 0.12), transparent 18%, transparent 82%, rgba(37, 99, 235, 0.12)),
    rgba(9, 14, 25, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.18);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 184px;
  height: auto;
}

.topbar-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
}

.topbar-links a {
  text-decoration: none;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(6, 10, 20, 0.95), rgba(6, 10, 20, 0.83)),
    url("/assets/car-repair-shop-night.jpg") center/cover no-repeat;
  padding: 4.25rem 0 3rem;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: auto -10rem -10rem auto;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18), transparent 64%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: #dce8ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(31, 138, 91, 0.14);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 0.95;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  max-width: 14ch;
}

.page-hero p {
  max-width: 64ch;
  margin: 1rem 0 0;
  color: rgba(239, 244, 255, 0.82);
  font-size: 1.05rem;
}

.page-main {
  padding: 3rem 0 5rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr);
  gap: 1.4rem;
  align-items: start;
}

.panel,
.card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(43, 52, 64, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.panel {
  padding: 1.6rem;
}

.panel h2 + p,
.panel h3 + p,
.panel ul,
.panel ol,
.panel p + p {
  margin-top: 0.9rem;
}

.panel p,
.panel li {
  color: #334155;
}

.panel ul,
.panel ol {
  padding-left: 1.2rem;
}

.panel li + li {
  margin-top: 0.55rem;
}

.panel h2 {
  margin-top: 1.6rem;
  font-size: 1.7rem;
  color: var(--navy);
}

.panel h2:first-child {
  margin-top: 0;
}

.panel h3 {
  margin-top: 1.2rem;
  font-size: 1.22rem;
  color: var(--navy);
}

.panel strong {
  color: var(--navy);
}

.note {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.22);
}

.danger {
  background: rgba(194, 65, 12, 0.08);
  border-color: rgba(194, 65, 12, 0.18);
}

.note + .note {
  margin-top: 0.9rem;
}

.key-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.key-point {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background: rgba(248, 250, 252, 0.94);
  border: 1px solid rgba(43, 52, 64, 0.08);
}

.key-point strong {
  display: block;
  margin-bottom: 0.25rem;
}

.compare-table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(43, 52, 64, 0.08);
}

.compare-table th,
.compare-table td {
  padding: 0.95rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(43, 52, 64, 0.08);
}

.compare-table th {
  color: var(--navy);
  background: rgba(15, 23, 42, 0.04);
  font-size: 0.92rem;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.card-stack {
  display: grid;
  gap: 1rem;
}

.card {
  padding: 1.35rem;
}

.card h3 {
  font-size: 1.35rem;
  color: var(--navy);
}

.card p {
  margin: 0.7rem 0 0;
  color: #475569;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.95rem 1.25rem;
  border-radius: 0.95rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #1a1205;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 36%),
    linear-gradient(180deg, #ffd166, #f59e0b 56%, #c97707);
  border: 1px solid rgba(255, 214, 102, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 220, 0.55),
    0 12px 28px rgba(245, 158, 11, 0.22);
}

.button-secondary {
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.16);
}

.list-links {
  display: grid;
  gap: 0.8rem;
}

.list-links a {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(43, 52, 64, 0.08);
}

.list-links strong {
  display: block;
  color: var(--navy);
}

.list-links span {
  display: block;
  margin-top: 0.3rem;
  color: #475569;
  font-size: 0.95rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(43, 52, 64, 0.08);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
}

footer {
  background: #0c1425;
  color: rgba(226, 232, 240, 0.75);
  padding: 3rem 0 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.8rem;
}

.footer-brand p {
  margin: 0.8rem 0 0;
  max-width: 42rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(226, 232, 240, 0.82);
  text-decoration: none;
}

.footer-meta {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-meta strong {
  color: var(--white);
}

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

@media (max-width: 980px) {
  .content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero {
    padding-top: 3.5rem;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 2.8rem);
    max-width: 10ch;
  }
}
