*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --guide-teal: #007d86;
  --guide-teal-dark: #005f67;
  --guide-teal-soft: #e9f5f5;
  --guide-ink: #172426;
  --guide-muted: #526164;
  --guide-border: #cfe2e3;
  --guide-white: #fff;
  --guide-bg: #f7f9f9;
  --guide-warning: #fff4df;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--guide-ink);
  background: var(--guide-white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--guide-teal-dark);
}

.guide-topbar {
  padding: 7px 18px;
  background: var(--guide-teal-dark);
  color: var(--guide-white);
  text-align: center;
  font-size: 14px;
}

.guide-topbar a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.guide-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid var(--guide-border);
  background: rgba(255, 255, 255, .97);
}

.guide-nav-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.guide-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--guide-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.guide-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.guide-nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.guide-nav-links a {
  color: var(--guide-muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.guide-nav-links a:hover {
  color: var(--guide-teal);
}

.guide-nav-links .guide-nav-cta {
  border-radius: 7px;
  padding: 9px 14px;
  background: var(--guide-teal);
  color: var(--guide-white);
}

.guide-breadcrumb {
  border-bottom: 1px solid var(--guide-border);
  background: var(--guide-teal-soft);
  padding: 9px 18px;
  color: var(--guide-muted);
  font-size: 13px;
}

.guide-breadcrumb-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.guide-hero {
  position: relative;
  min-height: min(580px, 75vh);
  display: flex;
  align-items: end;
  overflow: hidden;
  background: url("images/auto.jpg") center 58% / cover no-repeat;
  color: var(--guide-white);
}

.guide-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(9, 33, 35, .68);
}

.guide-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 64px;
}

.guide-kicker {
  margin: 0 0 12px;
  color: #bcecef;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.guide-hero h1 {
  max-width: 880px;
  margin: 0 0 18px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.08;
}

.guide-hero-lead {
  max-width: 760px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(17px, 2.2vw, 21px);
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guide-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 7px;
  padding: 10px 17px;
  color: var(--guide-white);
  font-weight: 800;
  text-decoration: none;
}

.guide-button-primary {
  border-color: var(--guide-white);
  background: var(--guide-white);
  color: var(--guide-teal-dark);
}

.guide-section {
  padding: 64px 20px;
}

.guide-section-alt {
  background: var(--guide-bg);
}

.guide-container {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.guide-reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 280px);
  justify-content: space-between;
  gap: 56px;
}

.guide-article h2 {
  margin: 42px 0 14px;
  font-size: clamp(24px, 3.5vw, 34px);
  line-height: 1.25;
}

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

.guide-article h3 {
  margin: 28px 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.guide-article p {
  margin: 0 0 18px;
}

.guide-article ul,
.guide-article ol {
  margin: 0 0 24px;
  padding-left: 22px;
}

.guide-article li + li {
  margin-top: 8px;
}

.guide-toc {
  align-self: start;
  position: sticky;
  top: 96px;
  border-left: 2px solid var(--guide-border);
  padding-left: 18px;
}

.guide-toc strong {
  display: block;
  margin-bottom: 9px;
}

.guide-toc a {
  display: block;
  padding: 5px 0;
  color: var(--guide-muted);
  font-size: 14px;
  text-decoration: none;
}

.guide-toc a:hover {
  color: var(--guide-teal);
}

.guide-note,
.guide-warning,
.guide-checklist {
  margin: 26px 0;
  border-left: 4px solid var(--guide-teal);
  background: var(--guide-teal-soft);
  padding: 20px 22px;
}

.guide-warning {
  border-left-color: #b85c00;
  background: var(--guide-warning);
}

.guide-note h3,
.guide-warning h3,
.guide-checklist h3 {
  margin-top: 0;
}

.guide-step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.guide-step {
  border: 1px solid var(--guide-border);
  border-radius: 7px;
  background: var(--guide-white);
  padding: 18px;
}

.guide-step strong {
  display: block;
  margin-bottom: 6px;
  color: var(--guide-teal-dark);
}

.guide-sources {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--guide-border);
}

.guide-sources h2 {
  margin-top: 0;
  font-size: 22px;
}

.guide-sources li {
  overflow-wrap: anywhere;
  font-size: 14px;
}

.guide-author {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.guide-author img {
  width: 120px;
  height: 120px;
  border-radius: 7px;
  object-fit: cover;
}

.guide-author h2 {
  margin: 0 0 8px;
}

.guide-author p {
  margin: 0 0 8px;
  color: var(--guide-muted);
}

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

.guide-hub-card {
  min-width: 0;
  border: 1px solid var(--guide-border);
  border-radius: 7px;
  background: var(--guide-white);
  padding: 20px;
  color: var(--guide-ink);
  text-decoration: none;
}

.guide-hub-card:hover {
  border-color: var(--guide-teal);
}

.guide-hub-card h2,
.guide-hub-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.3;
}

.guide-hub-card p {
  margin: 0;
  color: var(--guide-muted);
  font-size: 14px;
}

.guide-cta {
  padding: 58px 20px;
  background: var(--guide-teal-dark);
  color: var(--guide-white);
}

.guide-cta-inner {
  width: min(840px, 100%);
  margin: 0 auto;
  text-align: center;
}

.guide-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 38px);
}

.guide-cta p {
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, .86);
}

.guide-footer {
  padding: 34px 20px 100px;
  background: var(--guide-ink);
  color: rgba(255, 255, 255, .72);
}

.guide-footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.guide-footer a {
  color: inherit;
}

@media (max-width: 860px) {
  .guide-nav-links a:not(.guide-nav-cta) {
    display: none;
  }

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

  .guide-toc {
    position: static;
    grid-row: 1;
  }

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

@media (max-width: 620px) {
  .guide-brand span {
    max-width: 175px;
  }

  .guide-hero {
    min-height: 520px;
  }

  .guide-hero-inner {
    padding: 58px 0 46px;
  }

  .guide-step-list,
  .guide-hub-grid,
  .guide-author {
    grid-template-columns: 1fr;
  }

  .guide-author img {
    width: 96px;
    height: 96px;
  }
}
