:root {
  --bg: #f6f4ef;
  --surface: #fffdf8;
  --surface-muted: #f1eee6;
  --border: #d7d2c7;
  --border-strong: #b5aea0;
  --text: #1f2421;
  --text-muted: #55605a;
  --accent: #2f4a43;
  --accent-soft: #e4ece8;
  --shadow: 0 10px 30px rgba(31, 36, 33, 0.05);
  --content-width: 70rem;
  --reading-width: 48rem;
  --radius: 0.75rem;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--text);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header,
.site-main,
.site-footer {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(246, 244, 239, 0.96);
}

.site-header__inner,
.site-footer__inner,
.section,
.hero,
.legal-layout {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

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

.brand img {
  display: block;
  width: clamp(10rem, 19vw, 14rem);
  height: auto;
}

.site-nav ul,
.footer-nav ul,
.inline-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
}

.site-nav a,
.footer-nav a {
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.footer-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

.site-main {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.hero {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
}

.hero--compact {
  padding-bottom: 1.5rem;
}

.eyebrow {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

p,
li {
  max-width: 70ch;
}

.lede {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.section {
  padding-top: 1.25rem;
}

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

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.card,
.notice,
.link-list {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card--strength {
  border-top: 4px solid #6f7f71;
}

.card--pump {
  border-top: 4px solid #715d46;
}

.card p,
.notice p {
  margin-bottom: 0;
}

.card__link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
}

.list-clean {
  padding-left: 1.1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button,
.button-muted,
.button-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  text-decoration: none;
  font-weight: 700;
}

.button {
  color: var(--surface);
  background: var(--accent);
  border-color: var(--accent);
}

.button:hover {
  color: var(--surface);
  background: #243933;
}

.button-muted {
  color: var(--text);
  background: var(--surface);
}

.button-disabled {
  color: var(--text-muted);
  background: var(--surface-muted);
  border-style: dashed;
  cursor: default;
}

.legal-layout {
  display: grid;
  gap: 1.25rem;
}

.legal-layout article {
  max-width: var(--reading-width);
}

.legal-layout section {
  margin-bottom: 2rem;
}

.legal-meta {
  color: var(--text-muted);
}

.footer-divider {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  border: 0;
  border-top: 1px solid var(--border);
}

.site-footer {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 48rem) {
  .site-header__inner,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-main {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  .site-header,
  .site-footer,
  .actions {
    display: none;
  }

  .site-main {
    padding: 0;
  }

  .card,
  .notice,
  .link-list {
    box-shadow: none;
  }
}
