:root {
  --auto-ink: #15231f;
  --auto-muted: #5d6d67;
  --auto-green: #0b584c;
  --auto-green-dark: #063d35;
  --auto-gold: #d9a335;
  --auto-paper: #f6f8f5;
  --auto-line: #d7e0dc;
  --auto-white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--auto-ink); background: var(--auto-white); }
a { color: inherit; }
img, svg { max-width: 100%; height: auto; }

.automotive-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--auto-line);
  background: rgba(255, 255, 255, .97);
}
.automotive-nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.automotive-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .04em; }
.automotive-brand span { display: grid; place-items: center; width: 38px; height: 38px; background: var(--auto-gold); color: #11201c; }
.automotive-menu { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 18px; }
.automotive-menu a { text-decoration: none; font-weight: 650; }
.automotive-menu .nav-action { padding: 10px 14px; color: var(--auto-white); background: var(--auto-green); }

.automotive-main { overflow-x: clip; }
.automotive-hero { background: linear-gradient(135deg, var(--auto-green-dark), var(--auto-green)); color: var(--auto-white); }
.automotive-hero-inner { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 76px 0 72px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 44px; align-items: end; }
.automotive-eyebrow { margin: 0 0 14px; color: #f0c66d; font-size: .84rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.automotive-hero h1 { margin: 0; max-width: 850px; font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 1.03; overflow-wrap: anywhere; }
.automotive-lead { margin: 24px 0 0; max-width: 780px; color: #dce9e5; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.75; }
.hero-actions, .page-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions { margin-top: 28px; }
.auto-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 17px; border: 1px solid rgba(255,255,255,.65); text-decoration: none; font-weight: 750; }
.auto-button.primary { color: var(--auto-green-dark); background: var(--auto-white); border-color: var(--auto-white); }
.auto-button.dark { color: var(--auto-white); background: var(--auto-green); border-color: var(--auto-green); }
.hero-panel { padding: 24px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); }
.hero-panel strong { display: block; margin-bottom: 12px; font-size: 1.1rem; }
.hero-panel ul { margin: 0; padding-left: 19px; color: #dce9e5; line-height: 1.8; }

.automotive-section { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 68px 0; }
.automotive-section + .automotive-section { border-top: 1px solid var(--auto-line); }
.section-heading { display: grid; grid-template-columns: minmax(0, .7fr) minmax(280px, 1.3fr); gap: 42px; align-items: start; margin-bottom: 34px; }
.section-heading h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.65rem); line-height: 1.15; overflow-wrap: anywhere; }
.section-heading p { margin: 0; color: var(--auto-muted); font-size: 1.05rem; line-height: 1.8; }
.category-grid, .cluster-grid, .decision-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.category-card, .cluster-card, .decision-card { min-width: 0; padding: 24px; border: 1px solid var(--auto-line); background: var(--auto-white); }
.category-card h3, .cluster-card h3, .decision-card h3 { margin: 0 0 12px; overflow-wrap: anywhere; }
.category-card p, .cluster-card p, .decision-card p { margin: 0; color: var(--auto-muted); line-height: 1.7; }
.category-card a, .cluster-card a { display: inline-block; margin-top: 16px; color: var(--auto-green); font-weight: 750; text-decoration-thickness: 2px; }
.item-count { display: inline-block; margin-bottom: 12px; color: var(--auto-green); font-size: .82rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

.workflow { counter-reset: workflow; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.workflow li { list-style: none; min-width: 0; padding: 22px; border-top: 4px solid var(--auto-gold); background: var(--auto-paper); line-height: 1.65; overflow-wrap: anywhere; }
.workflow li::before { counter-increment: workflow; content: counter(workflow, decimal-leading-zero); display: block; margin-bottom: 12px; color: var(--auto-green); font-size: 1.2rem; font-weight: 850; }

.spec-table-wrap { overflow-x: auto; border: 1px solid var(--auto-line); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 14px 16px; border-bottom: 1px solid var(--auto-line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.spec-table th { color: var(--auto-white); background: var(--auto-green); }
.spec-table tr:last-child td { border-bottom: 0; }
.fact-note { margin-top: 18px; padding: 18px 20px; border-left: 4px solid var(--auto-gold); background: var(--auto-paper); color: var(--auto-muted); line-height: 1.7; }

.automotive-cta { color: var(--auto-white); background: var(--auto-green-dark); }
.automotive-cta-inner { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 60px 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 40px; align-items: center; }
.automotive-cta h2 { margin: 0 0 14px; font-size: clamp(1.7rem, 3vw, 2.7rem); }
.automotive-cta p { margin: 0; color: #dce9e5; line-height: 1.75; }
.automotive-cta .page-actions { justify-content: flex-end; }
.automotive-footer { padding: 26px 16px; color: var(--auto-muted); text-align: center; border-top: 1px solid var(--auto-line); }

a:focus-visible, button:focus-visible { outline: 3px solid var(--auto-gold); outline-offset: 4px; }

@media (max-width: 900px) {
  .automotive-hero-inner, .section-heading, .automotive-cta-inner { grid-template-columns: 1fr; }
  .category-grid, .cluster-grid, .decision-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
  .automotive-cta .page-actions { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .automotive-nav { width: min(100% - 20px, 1180px); padding: 10px 0; align-items: flex-start; }
  .automotive-brand { flex: 0 0 auto; }
  .automotive-menu { gap: 8px 12px; font-size: .88rem; }
  .automotive-menu a:not(.nav-action):not(.language-link) { display: none; }
  .automotive-menu .nav-action { padding: 8px 10px; }
  .automotive-hero-inner, .automotive-section, .automotive-cta-inner { width: min(100% - 24px, 1180px); }
  .automotive-hero-inner { padding: 54px 0; }
  .automotive-section { padding: 48px 0; }
  .category-grid, .cluster-grid, .decision-grid, .workflow { grid-template-columns: 1fr; }
  .category-card, .cluster-card, .decision-card { padding: 20px; }
  .hero-actions .auto-button, .page-actions .auto-button { width: 100%; }
}
