:root {
  --accent: #2563eb;
  --dark: #151923;
  --light: #eef4ff;
  --paper: #fffdf9;
  --ink: #202124;
  --muted: #66736f;
  --line: rgba(32, 33, 36, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
}

a { color: inherit; }

.auto-header {
  z-index: 10;
}

.auto-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.auto-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: contain;
}

.auto-brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.auto-brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  margin-top: 3px;
}

.auto-menu {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.auto-menu a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: #3e4946;
  font-size: 14px;
}

.auto-menu a[aria-current="page"],
.auto-menu a:hover {
  background: var(--light);
  color: var(--dark);
}

.auto-article {
  font-size: 18px;
}

.auto-article p {
  margin: 0 0 22px;
}

.auto-side-title {
  margin: 0 0 14px;
  font-size: 18px;
}

.auto-related {
  display: grid;
  gap: 10px;
}

.auto-card {
  display: grid;
  gap: 4px;
  text-decoration: none;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.auto-card:hover {
  border-color: color-mix(in srgb, var(--accent), white 30%);
}

.auto-card span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.auto-card strong {
  line-height: 1.25;
}

.auto-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.auto {
  --paper: #f4f7fb;
  --ink: #18212f;
  --muted: #647281;
  --line: rgba(24, 33, 47, 0.14);
  background: var(--paper);
}

.auto-header {
  position: fixed;
  inset: 0 auto 0 0;
  width: 284px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 28px;
  padding: 28px 20px;
  background: rgba(255, 255, 255, 0.96);
  border-right: 1px solid var(--line);
  overflow-y: auto;
  box-shadow: 16px 0 44px rgba(18, 31, 51, 0.08);
}

.auto-logo {
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.18);
}

.auto-brand strong {
  color: var(--ink);
  font-size: 20px;
}

.auto-menu {
  display: grid;
  gap: 8px;
  width: 100%;
}

.auto-menu a {
  justify-content: flex-start;
  width: 100%;
  min-height: 42px;
  padding: 9px 10px 9px 14px;
  border-left: 2px solid transparent;
  border-radius: 0 8px 8px 0;
  background: rgba(37, 99, 235, 0.055);
}

.auto-menu a[aria-current="page"],
.auto-menu a:hover {
  background: rgba(37, 99, 235, 0.14);
  border-left-color: #2563eb;
  color: #12203a;
}

.auto-intro,
.auto-route-menu,
.auto-layout,
.auto-carousel,
.auto-footer {
  margin-left: 284px;
}

.auto-intro {
  position: relative;
  min-height: clamp(520px, 82vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #dfe7ef;
}

.auto-intro-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  filter: saturate(0.95) contrast(1.03) brightness(1.12);
}

.auto-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244,247,251,0.96), rgba(244,247,251,0.62) 54%, rgba(244,247,251,0.18)),
    linear-gradient(0deg, rgba(244,247,251,0.84), rgba(244,247,251,0) 46%);
}

.auto-intro-copy {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  padding: 48px clamp(28px, 7vw, 92px);
  color: var(--ink);
}

.auto-intro-copy span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #2563eb;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.auto-intro-copy h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(30px, 4.8vw, 58px);
  line-height: 1.1;
  color: #111827;
}

.auto-intro-copy p {
  max-width: 660px;
  margin: 18px 0 0;
  color: #334155;
  font-size: 20px;
}

.auto-route-menu {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px clamp(18px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(24, 33, 47, 0.10);
  border-bottom: 1px solid rgba(24, 33, 47, 0.10);
  backdrop-filter: blur(12px);
}

.auto-route-menu a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(37, 99, 235, 0.20);
  border-radius: 999px;
  color: #18212f;
  text-decoration: none;
  background: rgba(244, 247, 251, 0.88);
}

.auto-route-menu span,
.auto-card span,
.auto-article p:first-child::first-letter {
  color: #2563eb;
}

.auto-layout {
  width: min(1240px, calc(100% - 36px));
  padding: clamp(34px, 5vw, 72px) 0;
  display: grid;
  grid-template-columns: minmax(0, 820px) 310px;
  gap: clamp(26px, 5vw, 64px);
  color: var(--ink);
}

.auto-article p:first-child::first-letter {
  float: left;
  font-size: 58px;
  line-height: 0.9;
  padding: 8px 10px 0 0;
  font-weight: 800;
}

.auto-side {
  position: sticky;
  top: 24px;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.auto-card {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(24, 33, 47, 0.12);
}

.auto-carousel {
  width: min(1240px, calc(100% - 36px));
  margin-bottom: clamp(38px, 6vw, 78px);
  color: var(--ink);
}

.auto-carousel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.auto-carousel-head span {
  color: #2563eb;
  font-weight: 800;
  text-transform: uppercase;
}

.auto-carousel-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
}

.auto-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 360px);
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
}

.auto-slide {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, rgba(219,234,254,0.78));
  color: var(--ink);
  text-decoration: none;
  scroll-snap-align: start;
}

.auto-slide:hover {
  border-color: rgba(37, 99, 235, 0.42);
}

.auto-slide span,
.auto-slide small {
  color: var(--muted);
}

.auto-slide strong {
  font-size: 21px;
  line-height: 1.18;
}

.auto-footer {
  background: #ffffff;
}

@media (max-width: 1120px) {
  .auto-header {
    width: 238px;
  }

  .auto-intro,
  .auto-route-menu,
  .auto-layout,
  .auto-carousel,
  .auto-footer {
    margin-left: 238px;
  }

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

  .auto-side {
    position: static;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 24px;
  }
}

@media (max-width: 860px) {
  .auto-header {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
  }

  .auto-intro,
  .auto-route-menu,
  .auto-layout,
  .auto-carousel,
  .auto-footer {
    margin-left: 0;
  }

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

  .auto-intro {
    min-height: 560px;
  }
}

@media (max-width: 560px) {
  .auto-menu {
    grid-template-columns: 1fr;
  }

  .auto-route-menu {
    position: static;
  }
}
