@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/newsreader-500.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/newsreader-600.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-400.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/inter-500.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-600.woff2") format("woff2");
}

:root {
  --ink: #17191c;
  --muted: #4c535b;
  --paper: #f3f0e8;
  --paper-2: #e7e2d6;
  --white: #fbfaf6;
  --felt: #141618;
  --lime: #d8ff4a;
  --line: #ddd4c4;
  --silver: #c5c8cc;
  --safety: #8c3a2f;
  --serif: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --wrap: 1080px;
  --header: 4.6rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:hover {
  color: inherit;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 40;
  background: var(--ink);
  color: var(--paper);
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 240, 232, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.wordmark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  min-width: 0;
}

.wordmark-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.wordmark-stripe {
  display: block;
  width: 2.1rem;
  height: 3px;
  margin: 0.4rem 0 0.35rem;
  background: var(--lime);
}

.wordmark-sub {
  display: block;
  max-width: 16rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.nav-toggle {
  flex: 0 0 auto;
  min-height: 2.75rem;
  min-width: 4.5rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  padding: 0 0.85rem;
  cursor: pointer;
}

.nav-toggle .when-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .when-closed {
  display: none;
}

.nav-toggle[aria-expanded="true"] .when-open {
  display: inline;
}

#site-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 0.4rem 0 0.9rem;
}

#site-nav.is-open {
  display: block;
}

#site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

#site-nav a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
  font-size: 1.05rem;
}

#site-nav a[aria-current="page"] {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.nav-inquiry {
  font-weight: 600;
}

@media (max-width: 860px) {
  .no-js .nav-toggle {
    display: none;
  }

  .no-js #site-nav {
    display: block;
  }
}

@media (min-width: 861px) {
  .nav-toggle {
    display: none;
  }

  .site-header {
    display: flex;
    flex-direction: column;
  }

  .header-bar {
    width: min(var(--wrap), calc(100% - 3rem));
  }

  #site-nav,
  #site-nav.is-open,
  .no-js #site-nav {
    display: flex;
    align-items: center;
    border-top: 0;
    padding: 0;
    position: absolute;
    right: max(1.5rem, calc((100% - var(--wrap)) / 2));
    top: 0;
    bottom: 0;
    height: auto;
  }

  #site-nav ul {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    gap: 1.35rem;
  }

  #site-nav a {
    min-height: 0;
    font-size: 0.95rem;
  }

  .header-bar {
    min-height: var(--header);
  }
}

.section {
  padding: 2.75rem 0 3.25rem;
}

.kicker {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
.reasons h3,
.page-title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.45rem, 7vw, 4.35rem);
}

h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 3.4vw, 2.55rem);
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.14rem;
  max-width: 38rem;
  color: var(--ink);
}

.muted {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  align-items: center;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.55rem 1.1rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border: 1px solid var(--ink);
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.button:hover {
  background: #000;
  color: var(--paper);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

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

.hero {
  padding: 2.2rem 0 1rem;
}

.hero-grid,
.split {
  display: grid;
  gap: 1.6rem;
}

.frame {
  background: #e6e1d6;
  border: 1px solid var(--line);
}

.frame img {
  display: block;
  width: 100%;
  height: auto;
}

figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 42rem;
}

figure {
  margin: 0;
}

figure.has-photo .cap-diagram {
  display: none;
}

figure:not(.has-photo) .cap-photo {
  display: none;
}

.band-top {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.follow {
  margin-top: 1.2rem;
}

.reasons {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.8rem;
}

.reasons h3 {
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  margin: 0.35rem 0 0.7rem;
}

.num {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.points,
.components,
.steps,
.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.points li,
.components li {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 720px) {
  .points li:last-child:nth-child(odd),
  .components li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.points p:last-child,
.components p:last-child,
.prose p:last-child {
  margin-bottom: 0;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1.5rem;
}

.steps > li,
.step-block {
  display: grid;
  gap: 0.8rem;
}

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

.safety {
  background: var(--felt);
  color: #f4f1ea;
  padding: 2.6rem 0;
}

.safety .kicker {
  color: var(--lime);
}

.safety p:last-child {
  margin-bottom: 0;
}

.safety a {
  color: #f4f1ea;
}

.safety :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--lime);
}

.safety-lead {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 20ch;
  margin-bottom: 0.8rem;
}

.site-footer {
  background: var(--felt);
  color: #e7e4dc;
  padding: 2.4rem 0 2.8rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin: 0 0 0.35rem;
  letter-spacing: -0.03em;
}

.site-footer a {
  color: #f4f1ea;
}

.site-footer p {
  margin: 0 0 0.7rem;
  max-width: 36rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.footer-links a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
}

.specs {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 0.8rem;
}

.specs th,
.specs td {
  text-align: left;
  vertical-align: baseline;
  padding: 0.9rem 0.6rem 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.specs th {
  width: 42%;
  font-weight: 600;
  padding-right: 1rem;
}

.specs caption {
  text-align: left;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.callout {
  border-left: 3px solid var(--lime);
  padding: 0.2rem 0 0.2rem 1rem;
  margin: 1.2rem 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

.prose {
  max-width: 40rem;
}

.prose h2 {
  margin-top: 2rem;
}

.stack {
  display: grid;
  gap: 1.25rem;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 38rem;
}

.form label,
.form legend {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form input,
.form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c9c2b4;
  border-radius: 0;
  padding: 0.75rem 0.8rem;
  min-height: 3rem;
}

.form textarea {
  min-height: 9rem;
  resize: vertical;
}

.form input[aria-invalid="true"],
.form textarea[aria-invalid="true"] {
  border-color: var(--safety);
}

.hint,
.field-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 400;
}

.hint {
  color: var(--muted);
}

.field-error {
  color: var(--safety);
}

.choices {
  border: 0;
  margin: 0;
  padding: 0;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  font-weight: 400;
}

.choice input {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  accent-color: var(--ink);
}

.form-error {
  border: 1px solid var(--safety);
  padding: 0.8rem 0.9rem;
  margin: 0;
  color: var(--safety);
}

.success {
  max-width: 40rem;
  border-top: 3px solid var(--lime);
  padding-top: 1rem;
}

.summary {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 1.2rem;
}

.summary div {
  display: grid;
  gap: 0.1rem;
}

.summary dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.summary dd {
  margin: 0;
}

.page-intro {
  padding: 2.4rem 0 0.5rem;
}

.two {
  display: grid;
  gap: 2rem;
}

.note-list {
  margin: 0;
  padding-left: 1.1rem;
}

.note-list li + li {
  margin-top: 0.45rem;
}

@media (min-width: 720px) {
  .wrap,
  .header-bar {
    width: min(var(--wrap), calc(100% - 4rem));
  }

  .points,
  .components {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
    display: grid;
  }

  .reasons {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
  }

  .reasons li + li {
    border-left: 1px solid var(--line);
    padding-left: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1.4fr 0.8fr;
    gap: 2rem;
  }

  .steps.home-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .hero-grid,
  .split {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 3rem;
    align-items: end;
  }

  .split.align-start {
    align-items: start;
  }

  .steps.detail {
    gap: 2.5rem;
  }

  .step-block {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: center;
  }

  .step-block:nth-child(even) .step-copy {
    order: 2;
  }

  .two.use-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

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