@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/source-serif-4-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/source-serif-4-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/source-serif-4-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/source-serif-4-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #faf7f1;
  --surface: #fffdf9;
  --surface-sunk: #f2ece0;
  --ink: #23211d;
  --ink-soft: #46423b;
  --muted: #736d63;
  --line: #e2dbcd;
  --line-strong: #cfc6b4;
  --accent: #2f6b64;
  --accent-deep: #204b46;
  --accent-wash: #e7efec;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --measure: 36rem;
  --shell: 70rem;
  --step: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--step);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

main, footer, header, section { overflow-x: clip; }

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

a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.22;
  margin: 0 0 0.6em;
  font-weight: 600;
  letter-spacing: -0.006em;
}

h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.1rem); font-weight: 600; }
h2 { font-size: clamp(1.45rem, 1.25rem + 0.9vw, 1.95rem); margin-top: 2.2em; }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.32rem); margin-top: 1.8em; }
p { margin: 0 0 1.15em; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9rem;
}

.lede {
  font-size: clamp(1.12rem, 1.02rem + 0.5vw, 1.34rem);
  color: var(--ink-soft);
  line-height: 1.62;
}

.meta {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.85rem;
  padding: 0.65rem 1rem;
  z-index: 200;
}
.skip:focus { left: 0.5rem; top: 0.5rem; color: var(--bg); }

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

.masthead {
  position: sticky;
  top: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
}

.masthead-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
  position: relative;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.wordmark:hover { color: var(--ink); }
.wordmark-badge {
  width: 2.15rem;
  height: 2.15rem;
  flex: none;
  border-radius: 0.55rem;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wordmark-badge img { width: 1.15rem; height: 1.15rem; }
.wordmark-text { min-width: 0; }
.wordmark-name {
  display: block;
  white-space: nowrap;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.012em;
}
.wordmark-sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 0.5rem;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  width: fit-content;
}
.nav-toggle img { width: 1.05rem; height: 1.05rem; }
.nav-toggle span { white-space: nowrap; }
.nav-toggle .toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .toggle-close { display: inline; }

.nav {
  font-family: var(--sans);
  font-size: 0.88rem;
}
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  display: block;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  transition: transform 0.22s ease, color 0.22s ease;
}
.nav a:hover { color: var(--accent); transform: translateX(4px); }
.nav a[aria-current="page"] { color: var(--accent-deep); font-weight: 600; }

@media (max-width: 430px) {
  .wordmark-sub { display: none; }
  .wordmark-name { font-size: 0.93rem; }
  .wordmark { gap: 0.5rem; }
  .wordmark-badge { width: 1.95rem; height: 1.95rem; }
  .nav-toggle { padding: 0.48rem 0.6rem; gap: 0.35rem; }
  .masthead-row { min-height: 3.9rem; }
}

@media (max-width: 819px) {
  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px -20px rgba(35, 33, 29, 0.5);
    padding: 0.25rem 1.25rem 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav li:last-child a { border-bottom: 0; }
}

@media (min-width: 820px) {
  .nav-toggle { display: none; }
  .nav ul { display: flex; align-items: center; gap: 1.6rem; }
  .nav a { padding: 0.35rem 0; border-bottom: 0; }
  .nav a:hover { transform: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.72rem 1.15rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.btn img { width: 1rem; height: 1rem; }
.btn-primary { background: var(--accent); color: #fbf9f5; }
.btn-primary:hover { background: var(--accent-deep); color: #fbf9f5; transform: translateY(-1px); }
.btn-quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-quiet:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }

.pill {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-wash);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  margin-bottom: 0.9rem;
}

.page-head { padding: 3.2rem 0 0.6rem; }
.page-head .lede { max-width: 34rem; }
.section { padding: 3rem 0; }
.section-tight { padding: 2rem 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.prose { max-width: var(--measure); }
.prose li { margin-bottom: 0.5em; }
.prose ol, .prose ul { padding-left: 1.15rem; }
.prose strong { font-weight: 600; }

.grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 1.35rem;
  transition: transform 0.24s ease, border-color 0.24s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card h3 { margin-top: 0; margin-bottom: 0.4rem; font-size: 1.16rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 0.9rem; }
.card .meta { margin-top: auto; }
.card-icon {
  width: 2.3rem;
  height: 2.3rem;
  flex: none;
  border-radius: 0.5rem;
  background: var(--accent-wash);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}
.card-icon img { width: 1.2rem; height: 1.2rem; }

.card-link {
  text-decoration: none;
  color: inherit;
}
.card-link h3 { transition: color 0.22s ease; }
.card-link:hover { color: inherit; }
.card-link:hover h3 { color: var(--accent-deep); }

.entry-list { list-style: none; margin: 0; padding: 0; }
.entry {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0;
  min-width: 0;
}
.entry:last-child { border-bottom: 1px solid var(--line); }
.entry a {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.24s ease;
}
.entry a:hover { transform: translateX(5px); color: inherit; }
.entry h3 { margin: 0 0 0.35rem; font-size: 1.22rem; transition: color 0.22s ease; }
.entry a:hover h3 { color: var(--accent-deep); }
.entry p { margin: 0 0 0.55rem; color: var(--ink-soft); font-size: 0.99rem; max-width: 44rem; }

.hero { padding: 4rem 0 2.6rem; }
.hero h1 { max-width: 18ch; }
.hero .lede { max-width: 34rem; }
.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.stat { min-width: 0; }
.stat b {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.stat span {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.panel {
  background: var(--surface-sunk);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 1.6rem;
  min-width: 0;
}
.panel h2 { margin-top: 0; }

.note {
  border-left: 3px solid var(--accent);
  background: var(--accent-wash);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1.1rem 1.25rem;
  margin: 1.8rem 0;
  min-width: 0;
}
.note p:last-child { margin-bottom: 0; }
.note .eyebrow { margin-bottom: 0.45rem; }

.figures {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: minmax(0, 1fr);
  margin: 1.8rem 0;
}
@media (min-width: 620px) { .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.figure {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 1rem;
  min-width: 0;
}
.figure b { display: block; font-size: 1.25rem; font-weight: 600; }
.figure span { font-family: var(--sans); font-size: 0.78rem; color: var(--muted); }

.spec { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.spec li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.42rem 0;
  min-width: 0;
  font-size: 0.99rem;
  color: var(--ink-soft);
}
.spec img { width: 1.05rem; height: 1.05rem; margin-top: 0.32rem; flex: none; }

.qa { border-top: 1px solid var(--line); padding: 1.4rem 0; min-width: 0; }
.qa:last-of-type { border-bottom: 1px solid var(--line); }
.qa h2, .qa h3 { margin: 0 0 0.5rem; margin-top: 0; font-size: 1.14rem; }
.qa p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 3rem; }
}

.article-layout {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 1000px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 17rem); gap: 3.5rem; }
  .guide-aside { position: sticky; top: 5.6rem; }
}
.guide-aside h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.8rem;
  font-weight: 600;
}
.guide-aside h2 + ul { margin-bottom: 1.6rem; }
.guide-aside ul { list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: 0.86rem; }
.guide-aside li { border-top: 1px solid var(--line); min-width: 0; }
.guide-aside li:first-child { border-top: 0; }
.guide-aside a {
  display: block;
  padding: 0.5rem 0;
  color: var(--ink-soft);
  text-decoration: none;
  transition: transform 0.22s ease, color 0.22s ease;
}
.guide-aside a:hover { color: var(--accent-deep); transform: translateX(4px); }

.article-head { padding: 2.8rem 0 1.4rem; }
.article-head h1 { max-width: 20ch; }
.article-head .lede { max-width: var(--measure); margin-top: 1rem; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.crumbs {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-deep); }

.next-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 1.7rem;
  margin: 3rem 0 0;
  min-width: 0;
}
.next-step h2 { margin-top: 0; font-size: 1.35rem; }
.next-step ul { list-style: none; margin: 0; padding: 0; }
.next-step li { border-top: 1px solid var(--line); }
.next-step li:first-child { border-top: 0; }
.next-step a {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  padding: 0.75rem 0;
  transition: transform 0.24s ease, color 0.24s ease;
  min-width: 0;
}
.next-step a:hover { transform: translateX(5px); color: var(--accent-deep); }
.next-step a img { width: 0.95rem; height: 0.95rem; flex: none; align-self: center; }
.next-step .why { font-family: var(--sans); font-size: 0.82rem; color: var(--muted); }

.site-foot {
  background: var(--ink);
  color: #d9d3c7;
  font-family: var(--sans);
  font-size: 0.88rem;
  margin-top: 4rem;
  padding: 3rem 0 2rem;
}
.site-foot h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9d968a;
  margin: 0 0 0.9rem;
  font-weight: 600;
}
.foot-cols {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .foot-cols { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li { margin-bottom: 0.45rem; min-width: 0; }
.foot-cols a {
  color: #d9d3c7;
  text-decoration: none;
  transition: transform 0.22s ease, color 0.22s ease;
  display: inline-block;
}
.foot-cols a:hover { color: #fbf9f5; transform: translateX(4px); }
.foot-blurb { color: #a49d90; max-width: 24rem; }
.foot-blurb .wordmark-name { color: #fbf9f5; font-family: var(--serif); }
.foot-base {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid #3a3730;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  justify-content: space-between;
  color: #8f887c;
  font-size: 0.8rem;
}
.foot-base a { color: #8f887c; text-decoration: none; }
.foot-base a:hover { color: #d9d3c7; }

.js .reveal {
  opacity: 0;
  transform: translateY(0.9rem);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
