:root {
  --bg: #f3f1ec;
  --bg-muted: #ebe7df;
  --paper: #fffcf7;
  --ink: #1b1d1c;
  --muted: #5c615c;
  --line: #d8d3c8;
  --accent: #24362e;
  --accent-soft: #3d5348;
  --focus: #1f5f8a;
  --max: 44rem;
  --wide: 64rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

a {
  color: var(--accent-soft);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  background: var(--accent);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
}

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

.wrap {
  width: auto;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 92%, white);
  border-bottom: 1px solid var(--line);
}

@supports not (background: color-mix(in srgb, white 50%, black)) {
  .site-header { background: #f3f1ec; }
}

.header-inner {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

.wordmark:hover { color: var(--ink); }

.mark {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.4rem;
  background: var(--accent);
  color: var(--paper);
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}

.wordmark-text {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.15rem;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.intro {
  padding: 4.5rem 0 3.5rem;
}

.intro-inner {
  max-width: 40rem;
}

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

h1,
h2,
h3 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.22;
  overflow-wrap: break-word;
}

h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
}

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

.lede,
.section p,
.product-card p,
.contact-panel p {
  margin: 0 0 1rem;
  color: var(--ink);
}

.lede,
.section p,
.product-card p {
  max-width: 40rem;
}

.intro-inner,
.product-card,
.statute,
.contact-panel,
.footer-inner {
  max-width: min(40rem, 100%);
}

.lede { font-size: 1.12rem; color: var(--muted); }

.section {
  padding: 3.25rem 0 3.75rem;
  border-top: 1px solid var(--line);
}

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

.section-head { margin-bottom: 1.75rem; }

.product-card,
.statute,
.contact-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  padding: 1.6rem 1.5rem 1.35rem;
}

.product-kicker {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-tagline {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--accent-soft);
}

.text-link {
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(20rem, 0.9fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.statute h3,
.contact-panel h3 {
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-panel h3:not(:first-child) {
  margin-top: 1.25rem;
}

.statute dl {
  margin: 0;
}

.statute div {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.statute div:first-of-type { border-top: 0; padding-top: 0.15rem; }

.statute dt {
  margin: 0 0 0.15rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.statute dd {
  margin: 0;
  overflow-wrap: break-word;
}

.fine {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 2.25rem 0 2.75rem;
  border-top: 1px solid var(--line);
  background: var(--accent);
  color: #d7ddd8;
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-inner { max-width: 40rem; }

.footer-inner p { margin: 0 0 0.55rem; }

.footer-name {
  margin-bottom: 0.75rem;
  color: var(--paper);
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.footer-copy {
  margin-top: 1.1rem;
  color: #b7c0ba;
}

@media (max-width: 720px) {
  .intro { padding: 3rem 0 2.4rem; }
  .header-inner {
    min-height: auto;
    flex-wrap: wrap;
    row-gap: 0.55rem;
    padding-block: 0.85rem;
  }
  nav {
    flex-basis: 100%;
    justify-content: flex-start;
    gap: 1.1rem;
  }
}
