:root {
  --bg: #f3f2ee;
  --surface: #ffffff;
  --surface-soft: #e8e7e1;
  --ink: #17201d;
  --muted: #65706c;
  --line: #d6d9d3;
  --accent: #b8f23d;
  --accent-dark: #7aac12;
  --dark: #13211d;
  --dark-soft: #1c2d27;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(20, 33, 29, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 32, 29, 0.08);
  background: rgba(243, 242, 238, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--dark);
  color: var(--accent);
  font-size: 20px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 7px;
}

.main-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #34403c;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover {
  background: var(--surface-soft);
}

.main-nav .nav-cta {
  margin-left: 6px;
  background: var(--dark);
  color: #fff;
}

.hero {
  padding: 58px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  gap: 18px;
}

.hero-copy,
.finder {
  border-radius: calc(var(--radius) + 8px);
}

.hero-copy {
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(34px, 5vw, 72px);
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 78% 18%, rgba(184, 242, 61, 0.28), transparent 30%),
    linear-gradient(145deg, #172720 0%, #0f1916 100%);
  color: #fff;
}

.hero-copy::before,
.hero-copy::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(184, 242, 61, 0.18);
  border-radius: 50%;
}

.hero-copy::before {
  width: 360px;
  height: 360px;
  right: -95px;
  top: -100px;
}

.hero-copy::after {
  width: 190px;
  height: 190px;
  right: 70px;
  top: 36px;
}

.eyebrow {
  margin: 0 0 11px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-dark .eyebrow,
.cta-section .eyebrow {
  color: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 14px;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  font-size: 16px;
}

.hero-lead {
  max-width: 730px;
  margin-bottom: 30px;
  color: #dbe5e0;
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  background: var(--accent);
  color: #17201d;
}

.button-secondary {
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.finder {
  padding: 34px;
  background: var(--accent);
  color: #17201d;
}

.finder-kicker {
  margin-bottom: 38px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.finder h2 {
  font-size: 34px;
}

.finder > p:not(.finder-kicker) {
  margin-bottom: 26px;
  color: #36422f;
}

.finder-links {
  display: grid;
  gap: 8px;
}

.finder-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.38);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.finder-links a:hover {
  background: rgba(255,255,255,0.66);
  transform: translateX(3px);
}

.finder-links span {
  font-weight: 850;
}

.finder-links strong {
  font-size: 12px;
  opacity: 0.62;
}

.section {
  padding: 82px 0;
}

.section-heading {
  width: 100%;
  max-width: none;
  margin-bottom: 34px;
}

.section-heading > p:last-child {
  width: 100%;
  max-width: none;
  margin-bottom: 0;
  color: var(--muted);
}

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

.category-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: #bac2ba;
  box-shadow: var(--shadow);
}

.category-number {
  margin-bottom: 50px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.category-card p {
  margin-bottom: 24px;
  color: var(--muted);
}

.card-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 900;
}

.card-link::after {
  content: "  →";
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-heading-light > p:last-child {
  color: #becbc6;
}

.parts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.part-box {
  min-height: 260px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  background: var(--dark-soft);
}

.part-box > span {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.part-box p {
  margin-bottom: 0;
  color: #b9c6c1;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
}

.split-layout .section-heading {
  margin-bottom: 0;
}

.text-button {
  display: inline-block;
  margin-top: 10px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.compact-grid a {
  min-height: 165px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 18px;
  background: var(--surface);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.compact-grid strong {
  font-size: 18px;
}

.compact-grid span {
  color: var(--muted);
  font-size: 14px;
}

.section-muted {
  background: var(--surface-soft);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.brand-grid a {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid rgba(23,32,29,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.48);
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.brand-grid a:hover {
  background: #fff;
  transform: translateY(-2px);
}

.guide {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.guide > div:first-child > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.guide-note {
  padding: 28px;
  border-left: 5px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.guide-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.guide-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta-section {
  padding: 28px 0 82px;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 42px;
  border-radius: calc(var(--radius) + 8px);
  background: var(--dark);
  color: #fff;
}

.cta-inner h2 {
  margin-bottom: 8px;
}

.cta-inner p:last-child {
  margin-bottom: 0;
  color: #bfcbc6;
}

.button-light {
  flex: 0 0 auto;
  background: var(--accent);
  color: var(--ink);
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner strong {
  font-size: 18px;
}

.footer-inner p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-layout,
  .guide {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 470px;
  }

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

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

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

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

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .main-nav .nav-cta {
    margin-left: 0;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-copy,
  .finder {
    border-radius: 22px;
  }

  .hero-copy {
    min-height: 430px;
    padding: 28px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .finder {
    padding: 28px;
  }

  .finder h2 {
    font-size: 28px;
  }

  .section {
    padding: 62px 0;
  }

  .category-grid,
  .parts-grid,
  .compact-grid,
  .brand-grid {
    grid-template-columns: 1fr;
  }

  .category-card,
  .part-box {
    min-height: 240px;
  }

  .category-number,
  .part-box > span {
    margin-bottom: 36px;
  }

  .cta-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-inner {
    padding: 30px;
  }
}
