:root {
  --paper: #F6F3EE;
  --surface: #FFFCF8;
  --ink: #1A1916;
  --muted: #5E5A54;
  --line: #E6E1D8;
  --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --serif: "Inter", ui-sans-serif, system-ui, sans-serif;
  --wrap: 70rem;
  --wrap-narrow: 40rem;
  --space: 1.25rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.85rem;
}

.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(var(--wrap-narrow), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.site-header-inner {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
}

.wordmark {
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
  text-decoration: none;
}

.wordmark:hover { text-decoration: none; }

.wordmark-dot {
  color: #2563eb;
}

.nav-desktop {
  display: flex;
  gap: 1.75rem;
}

.nav-desktop a { text-decoration: none; font-weight: 500; }
.nav-desktop a:hover { text-decoration: underline; }

.nav-menu { display: none; }

.nav-menu summary {
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}

.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::marker { content: none; }

.nav-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.75rem 0 1rem;
}

@media (max-width: 40rem) {
  .nav-desktop { display: none; }
  .nav-menu { display: block; }
  .nav-menu[open] { flex-basis: 100%; }
}

.hero {
  padding: 5.5rem 0 4rem;
}

.eyebrow {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.display {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.25rem, 5vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  max-width: 14ch;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 2rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn,
.btn-ghost {
  display: inline-block;
  padding: 0.7rem 1.15rem;
  border-radius: 2px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--ink);
}

.btn {
  background: var(--ink);
  color: var(--paper);
}

.btn:hover {
  text-decoration: none;
  background: #2a2926;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover { text-decoration: none; background: var(--surface); }

.section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--line);
}

.section-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 0 0 1rem;
}

.section p { max-width: 40rem; }

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.product-card h2 { margin-bottom: 0.85rem; }

.facts {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0;
  display: grid;
  gap: 0.85rem;
}

.facts li {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.close { text-align: left; }

.muted { color: var(--muted); }

.legal {
  padding: 3.5rem 0 5rem;
}

.legal h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.legal h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  margin: 2.25rem 0 0.6rem;
}

.legal h3 {
  font-size: 1rem;
  margin: 1.4rem 0 0.45rem;
}

.legal .lede, .legal .muted { margin-top: 0; }

.legal ul,
.legal ol {
  padding-left: 1.25rem;
}

.legal li {
  margin: 0.35rem 0;
}

.legal ol.steps > li {
  margin: 0.85rem 0;
}

.legal .callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  padding: 0.9rem 1rem;
  margin: 1.25rem 0;
  background: var(--surface);
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1rem;
  font-size: 0.95rem;
}

.legal th,
.legal td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--surface);
  font-weight: 600;
}

.tag-delete {
  color: #0a7a45;
  font-weight: 600;
}

.tag-keep {
  color: #8a5a12;
  font-weight: 600;
}

.legal hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer-inner {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.site-footer p { margin: 0.25rem 0; max-width: none; }

.footer-links {
  display: flex;
  gap: 1.25rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
