:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #595959;
  --border: #d9d9d9;
  --surface: #f6f6f6;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 40rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
}

a {
  color: var(--text);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

.wrap {
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--text);
  color: var(--bg);
  padding: 0.5rem 1rem;
  z-index: 10;
}

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.wordmark {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.site-nav ul {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.25rem 0;
}

.site-nav a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* Sections */
section {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}

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

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.1rem);
  font-weight: 700;
  max-width: 16ch;
}

h2 {
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
  max-width: var(--measure);
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  margin-top: 1.5rem;
}

.text-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
}

.label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* Products */
.product {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  margin-top: 1.5rem;
}

.product-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
}

.product--primary {
  border-color: #111111;
}

.product--quiet {
  background: var(--surface);
}

.status-list {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.status-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.status-list span:last-child {
  color: var(--muted);
}

.button {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--text);
  border-radius: 4px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: var(--bg);
  color: var(--text);
}

.note {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Contact */
.email {
  font-size: clamp(1.15rem, 5vw, 1.5rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 3rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-footer p {
  max-width: none;
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: var(--text);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

/* 404 */
.not-found {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 30rem) {
  body {
    font-size: 1rem;
  }
  .intro {
    padding: 3rem 0;
  }
  section {
    padding: 2.5rem 0;
  }
  .product {
    padding: 1.25rem 1rem;
  }
  .site-nav ul {
    gap: 1.1rem;
  }
}

/* Legal pages */
.legal {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}

.legal h1 {
  max-width: none;
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.legal h2 {
  font-size: 1.3rem;
  margin: 2.25rem 0 0.75rem;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  max-width: var(--measure);
}

.legal li {
  margin-bottom: 0.4rem;
}

.legal address {
  font-style: normal;
  margin-bottom: 1rem;
}

.footer-company {
  margin-top: 1rem;
}

@media (max-width: 30rem) {
  .legal {
    padding: 2.5rem 0;
  }
}
