:root {
  color-scheme: light;
  --paper: #f4f1e9;
  --paper-deep: #ebe7dd;
  --ink: #19242a;
  --muted: #6a7472;
  --line: #d7d7ce;
  --green: #0f6b58;
  --green-dark: #084b40;
  --mint: #cce9d6;
  --orange: #df6749;
  --yellow: #f0ca69;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 3px; }

.skip-link { position: fixed; z-index: 10; top: 0; left: 1rem; padding: .65rem .9rem; color: var(--paper); background: var(--green-dark); transform: translateY(-120%); transition: transform 160ms ease; }
.skip-link:focus { transform: translateY(0); }
.reading-progress { position: fixed; z-index: 9; inset: 0 0 auto; height: 4px; background: transparent; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--orange); transform-origin: left; }

.site-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; width: min(1320px, calc(100% - 4rem)); margin: 0 auto; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.wordmark { color: var(--green-dark); font-size: .9rem; font-weight: 900; letter-spacing: -.04em; text-decoration: none; }
.wordmark span { color: var(--orange); font-weight: 500; }
.site-header nav { display: flex; gap: 1.5rem; }
.site-header nav a, .site-footer a { color: var(--muted); font-size: .75rem; font-weight: 800; text-decoration: none; }
.site-header nav a:hover, .site-footer a:hover { color: var(--green); }

.article-hero { width: min(1320px, calc(100% - 4rem)); margin: 0 auto; padding: clamp(4.8rem, 12vw, 10rem) 0 clamp(3.5rem, 8vw, 7.5rem); }
.hero-rule { width: 4rem; height: .35rem; margin-bottom: 2rem; background: var(--orange); }
.kicker, .section-tag, .article-index > p { margin: 0; color: var(--green); font-size: .67rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { text-wrap: balance; }
h1 { max-width: 1000px; margin: .9rem 0 2.2rem; color: var(--green-dark); font-size: clamp(3.2rem, 8vw, 8.2rem); line-height: .91; letter-spacing: -.09em; font-weight: 850; }
.dek { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.65; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; max-width: 1000px; margin-top: clamp(3.5rem, 8vw, 6.5rem); padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font: 700 .68rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.hero-foot a { color: var(--green); font: inherit; text-decoration: none; }
.hero-foot a span { display: inline-block; margin-left: .5rem; color: var(--orange); font-size: 1rem; transition: transform 160ms ease; }
.hero-foot a:hover span { transform: translateY(3px); }

.article-shell { display: grid; grid-template-columns: 220px minmax(0, 820px); align-items: start; justify-content: space-between; gap: clamp(2.5rem, 9vw, 9rem); width: min(1320px, calc(100% - 4rem)); margin: 0 auto; padding-bottom: clamp(5rem, 10vw, 10rem); }
.article-index { position: sticky; top: 1.5rem; }
.article-index > p { padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.article-index ol { padding: 0; margin: 0; list-style: none; }
.article-index li { border-bottom: 1px solid var(--line); }
.article-index a { display: block; padding: .7rem 0; color: var(--muted); font: .69rem/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; text-decoration: none; transition: color 140ms ease, padding-left 140ms ease; }
.article-index a:hover, .article-index a.is-active { padding-left: .45rem; color: var(--green); }

.article-content { min-width: 0; }
.article-content > p { max-width: 735px; margin: 0 0 1.1rem; color: #4f5d5c; font-size: 1.04rem; line-height: 1.82; }
.article-content > .lead { margin-bottom: 1.1rem; color: var(--ink); font-size: clamp(1.18rem, 2vw, 1.42rem); line-height: 1.65; letter-spacing: -.015em; }
.article-content a { color: var(--green); font-weight: 800; text-decoration: underline; text-decoration-thickness: .11em; text-underline-offset: .16em; }
.article-section { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1.6rem; margin-top: clamp(4.5rem, 9vw, 8rem); padding-top: 1.4rem; border-top: 1px solid var(--line); scroll-margin-top: 1.5rem; }
.section-marker { color: var(--orange); font: 800 .78rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.section-body { min-width: 0; }
.section-body .section-tag { margin-bottom: .8rem; }
h2 { max-width: 730px; margin: 0 0 1.5rem; color: var(--green-dark); font-size: clamp(2rem, 4.2vw, 4.4rem); line-height: .98; letter-spacing: -.075em; }
.section-body p:not(.section-tag), .faq-item p { max-width: 735px; margin: 0 0 1.15rem; color: #4f5d5c; font-size: 1.04rem; line-height: 1.82; }
.section-body p:last-child, .faq-item p:last-child { margin-bottom: 0; }

.sequence-list, .check-list { padding: 0; margin: 1.25rem 0 1.35rem; list-style: none; }
.sequence-list li, .check-list li { position: relative; max-width: 730px; padding: .72rem 0 .72rem 2.2rem; border-bottom: 1px solid var(--line); color: #4f5d5c; font-size: 1.01rem; line-height: 1.65; }
.sequence-list li::before { content: counter(list-item, decimal-leading-zero); position: absolute; left: 0; top: .78rem; color: var(--orange); font: 800 .72rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.check-list li::before { content: ""; position: absolute; top: 1.18rem; left: .15rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--yellow); }
.sequence-list strong { color: var(--green-dark); }
.maintenance-list li { padding-left: 1.7rem; }

.faq-section { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(2.5rem, 9vw, 9rem); margin-top: clamp(4.5rem, 9vw, 8rem); padding: clamp(4rem, 8vw, 7rem) 0 0; border-top: 1px solid var(--line); scroll-margin-top: 1.5rem; }
.faq-heading h2 { margin-top: .8rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { padding: 1.55rem 0 1.7rem; border-bottom: 1px solid var(--line); }
h3 { margin: 0 0 .9rem; color: var(--green-dark); font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.2; letter-spacing: -.035em; }
.faq-item p { font-size: .98rem; line-height: 1.72; }

.site-footer { display: flex; justify-content: space-between; width: min(1320px, calc(100% - 4rem)); margin: 0 auto; padding: 1.2rem 0 2rem; border-top: 1px solid var(--line); color: var(--muted); font: .7rem ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: var(--green); font: inherit; text-transform: none; letter-spacing: 0; }

@media (max-width: 900px) {
  .article-shell { grid-template-columns: 1fr; gap: 2.5rem; }
  .article-index { position: static; }
  .article-index ol { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 1.5rem; }
  .faq-section { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 620px) {
  .site-header, .article-hero, .article-shell, .site-footer { width: min(100% - 2rem, 1320px); }
  .site-header { padding-top: 1rem; padding-bottom: 1rem; }
  .site-header nav { gap: .75rem; }
  .site-header nav a { font-size: .64rem; }
  .wordmark { font-size: .82rem; }
  .article-hero { padding-top: 4rem; }
  h1 { font-size: clamp(3.15rem, 15.5vw, 5.3rem); }
  .hero-foot { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .article-index ol { display: block; }
  .article-section { grid-template-columns: 1fr; gap: .75rem; margin-top: 4rem; }
  .section-marker { padding-bottom: .1rem; }
  h2 { font-size: clamp(2rem, 11vw, 3.5rem); }
  .article-content > p, .section-body p:not(.section-tag), .faq-item p { font-size: 1rem; line-height: 1.75; }
  .sequence-list li, .check-list li { font-size: .98rem; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
