:root {
  color-scheme: light;
  --paper: #f3ecdf;
  --paper-strong: #ebe2d1;
  --paper-bright: #fbf7ef;
  --ink: #202a2e;
  --muted: #56666d;
  --teal: #2b5961;
  --copper: #b36d40;
  --horizon: #b8cad1;
  --line: #a2afa9;
  --border: rgba(32, 42, 46, 0.14);
  --shadow: 0 18px 36px rgba(32, 42, 46, 0.08);
  --shell: 1180px;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(32, 42, 46, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 42, 46, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px, 48px 48px, auto;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.75rem 1rem;
  background: var(--paper-bright);
  border: 1px solid var(--ink);
  text-decoration: none;
  z-index: 30;
}

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

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  backdrop-filter: blur(10px);
  background: rgba(243, 236, 223, 0.9);
  border-bottom-color: var(--border);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  width: min(100%, 310px);
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.primary-nav a {
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  text-decoration: none;
  background: rgba(251, 247, 239, 0.76);
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--teal);
  border-color: rgba(43, 89, 97, 0.28);
}

.band {
  padding: 4.5rem 0;
  border-top: 1px solid rgba(32, 42, 46, 0.08);
}

.hero {
  padding-top: 3rem;
}

.hero-grid,
.anatomy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1,
.section-head h2,
.info-card h3,
.faq-list summary {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.hero-copy h1 {
  margin: 0;
  max-width: 12ch;
  font-size: 3.85rem;
  line-height: 1.02;
}

.lead,
.section-head p,
.answer-copy,
.info-card p,
.legend-list,
.faq-list p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.lead {
  max-width: 60ch;
  margin-top: 1.25rem;
  font-size: 1.08rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.15rem;
  border: 1px solid var(--ink);
  text-decoration: none;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--ink);
  color: var(--paper-bright);
}

.button-secondary {
  background: rgba(251, 247, 239, 0.7);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 2rem 0 0;
}

.metric-row div,
.info-card,
.diagram-panel,
.faq-list details {
  border: 1px solid var(--border);
  background: rgba(251, 247, 239, 0.78);
  box-shadow: var(--shadow);
}

.metric-row div {
  min-height: 110px;
  padding: 1rem;
}

.metric-row dt {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.metric-row dd {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--ink);
}

.hero-figure {
  padding: 1rem;
  border: 1px solid var(--border);
  background: rgba(251, 247, 239, 0.72);
  box-shadow: var(--shadow);
}

.section-head {
  max-width: 60rem;
}

.section-head h2 {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.08;
}

.section-head p {
  margin-top: 0.95rem;
  max-width: 62ch;
}

.answer-band {
  background: rgba(184, 202, 209, 0.14);
}

.answer-copy {
  max-width: 70ch;
  margin: 1rem 0 0;
  font-size: 1.08rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.use-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
  padding: 1.25rem;
  border-radius: var(--radius);
}

.step-number {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--copper);
  font-size: 0.86rem;
  letter-spacing: 0.16em;
}

.info-card h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
}

.info-card p {
  margin: 0.75rem 0 0;
}

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

.legend-list li + li {
  margin-top: 0.8rem;
}

.diagram-panel {
  padding: 1rem;
  border-radius: var(--radius);
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.faq-list details {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
}

.faq-list summary {
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1.35;
}

.faq-list p {
  margin: 0.85rem 0 0;
}

.site-footer {
  border-top: 1px solid rgba(32, 42, 46, 0.08);
  padding: 1.5rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 1080px) {
  .steps-grid,
  .use-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy h1 {
    font-size: 3.3rem;
  }

  .section-head h2 {
    font-size: 2.15rem;
  }
}

@media (max-width: 820px) {
  .site-header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-grid,
  .anatomy-grid,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .band {
    padding: 3.5rem 0;
  }

  .hero-copy h1 {
    font-size: 2.75rem;
  }

  .section-head h2 {
    font-size: 2rem;
  }

  .hero-figure {
    order: -1;
  }
}

@media (max-width: 600px) {
  .shell {
    width: min(calc(100% - 1.25rem), var(--shell));
  }

  .site-header-inner {
    gap: 1rem;
  }

  .primary-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .primary-nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: 2.2rem;
    max-width: none;
  }

  .section-head h2,
  .faq-list summary {
    font-size: 1.65rem;
  }

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

  .button {
    width: 100%;
  }
}
