:root {
  color-scheme: light;
  --ink: #16130f;
  --muted: #5e564c;
  --paper: #f6f1e8;
  --paper-2: #fffaf3;
  --line: #e4d9c8;
  --amber: #e39b16;
  --amber-deep: #b87408;
  --asphalt: #14120f;
  --asphalt-2: #241f19;
  --max: 1120px;
  font-family: "Segoe UI", "Avenir Next", "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

section[id],
main[id] {
  scroll-margin-top: 4.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
  font-size: 1.15rem;
}

.brand-mark {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 99px;
  background: radial-gradient(circle at 35% 35%, #ffe7a8, var(--amber) 45%, var(--amber-deep));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 25%, transparent);
}

.menu-button {
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-weight: 600;
}

.site-menu {
  display: none;
}

.site-menu.is-open {
  display: block;
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 1rem;
  min-width: 14rem;
  padding: 0.4rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgb(20 18 15 / 12%);
}

.site-menu ul {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-menu a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 600;
}

.site-menu a:hover {
  background: color-mix(in srgb, var(--amber) 16%, white);
}

.hero {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem 1.25rem 2rem;
  background:
    radial-gradient(circle at 90% 0%, rgb(227 155 22 / 28%), transparent 32%),
    linear-gradient(160deg, var(--asphalt), var(--asphalt-2) 70%);
  color: #f7f1e6;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 16ch;
  margin-bottom: 0.8rem;
  font-size: clamp(2.4rem, 8vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.lede,
.hero-points {
  max-width: 38rem;
}

.lede {
  margin-bottom: 1.2rem;
  color: #ddd4c6;
  font-size: 1.08rem;
}

.hero-points {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding-left: 1.1rem;
  position: relative;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 99px;
  background: var(--amber);
}

.hero-panel {
  margin: 0;
  padding: 1.25rem;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 1.4rem;
  background: rgb(255 248 236 / 6%);
}

.hero-panel figcaption {
  color: #c8bba8;
  font-size: 0.85rem;
}

.hero-panel-value {
  margin: 0.2rem 0 0.4rem;
  font-size: clamp(3.2rem, 8vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.hero-panel dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.2rem 0 0;
}

.hero-panel dt {
  color: #c8bba8;
  font-size: 0.78rem;
}

.hero-panel dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
}

.stats {
  padding: 0 1.25rem;
  margin-top: -1rem;
}

.stats ul {
  display: grid;
  gap: 0.75rem;
  margin: 0 auto;
  padding: 0;
  max-width: var(--max);
  list-style: none;
}

.stats li,
.steps li,
.grades li,
.stories li,
.checks,
.areas li {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
}

.stats li {
  padding: 1rem 1.1rem;
}

.stats strong {
  display: block;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.stats span,
.note,
.block-head p,
.checks,
.steps p,
.grades p,
.stories p,
.faq p,
.site-footer {
  color: var(--muted);
}

.block,
.split,
.stories {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.2rem 1.25rem 0;
}

.block-head {
  max-width: 40rem;
  margin-bottom: 1.3rem;
}

h2 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.steps,
.grades,
.areas,
.stories ul,
.checks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps,
.grades,
.stories ul {
  display: grid;
  gap: 0.8rem;
}

.steps {
  counter-reset: step;
}

.steps li,
.grades li,
.stories li {
  padding: 1.1rem 1.15rem 1.15rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: var(--ink);
  color: #f6f1e8;
  font-weight: 700;
}

h3 {
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.block-fuel {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.price {
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-weight: 700;
}

.price span {
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.split {
  display: grid;
  gap: 1rem;
}

.checks {
  display: grid;
  gap: 0.65rem;
  padding: 0.4rem;
}

.checks li {
  padding: 0.85rem 0.95rem;
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--amber) 12%, white);
}

.areas {
  display: grid;
  gap: 0.7rem;
}

.areas li {
  padding: 0.95rem 1rem;
  font-weight: 700;
}

.note {
  margin: 0.9rem 0 0;
}

.stories {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

.faq {
  display: grid;
  gap: 0.6rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper-2);
  padding: 0.2rem 1rem;
}

.faq summary {
  cursor: pointer;
  padding: 0.85rem 0;
  font-weight: 700;
}

.faq summary:focus-visible,
.menu-button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--amber-deep);
  outline-offset: 3px;
}

.faq p {
  margin-bottom: 0.95rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 800px) {
  .menu-button {
    display: none;
  }

  .topbar {
    padding-inline: 2rem;
  }

  .site-menu,
  .site-menu.is-open {
    display: block;
    position: static;
    margin-left: auto;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-menu ul {
    display: flex;
    gap: 0.2rem;
  }

  .hero {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: end;
    min-height: calc(100dvh - 4.2rem);
    padding: 3rem 2rem 4rem;
  }

  .stats ul,
  .steps,
  .grades,
  .areas,
  .stories ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats ul {
    grid-template-columns: repeat(4, 1fr);
  }

  .grades {
    grid-template-columns: repeat(3, 1fr);
  }

  .split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    padding-top: 4rem;
  }

  .stories ul {
    grid-template-columns: repeat(3, 1fr);
  }

  .block,
  .stories {
    padding-inline: 0;
  }

  .stats {
    padding-inline: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
