:root {
  --paper: #f5f4ed;
  --surface: #faf9f5;
  --ink: #202321;
  --muted: #6f716b;
  --brand: #315f54;
  --tint: #e3ebe7;
  --line: #d8d5c8;
  --serif: Georgia, "Times New Roman", serif;
  --ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--serif); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
.site-nav { max-width: 1200px; height: 82px; margin: 0 auto; padding: 0 42px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 116px; height: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-family: var(--ui); font-size: 12px; }
.nav-links a[aria-current="page"] { color: var(--brand); }
.nav-cta { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--brand); }
.page { max-width: 1200px; margin: 0 auto; padding: 74px 42px 100px; }
.hero { max-width: 850px; margin-bottom: 76px; }
.eyebrow { margin: 0 0 22px; color: var(--brand); font-family: var(--ui); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
h1 { max-width: 820px; margin: 0 0 22px; font-size: clamp(54px, 7vw, 88px); font-weight: 500; line-height: .98; letter-spacing: -.035em; }
.hero-lede { max-width: 720px; margin: 0; color: #4d504b; font-size: 20px; line-height: 1.55; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; font-family: var(--ui); font-size: 12px; }
.doc-actions a { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--brand); }
.notice { margin-top: 26px; padding: 14px 16px; border-left: 2px solid var(--brand); background: var(--tint); color: #4d625b; font-family: var(--ui); font-size: 12px; line-height: 1.5; }
.docs-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 70px; align-items: start; }
.toc { position: sticky; top: 24px; padding-top: 6px; font-family: var(--ui); }
.toc p { margin: 0 0 13px; color: var(--brand); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.toc a { display: block; padding: 7px 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.toc a:hover { color: var(--brand); }
.toc .toc-group { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.content { min-width: 0; }
.doc-section { padding: 0 0 62px; margin: 0 0 62px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.doc-section:last-child { border-bottom: 0; }
.section-num { margin: 0 0 15px; color: var(--brand); font-family: var(--ui); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
h2 { max-width: 760px; margin: 0 0 18px; font-size: clamp(32px, 4vw, 52px); font-weight: 500; line-height: 1.05; letter-spacing: -.02em; }
h3 { margin: 28px 0 9px; font-size: 22px; font-weight: 500; }
.content p, .content li { color: #565953; font-size: 16px; line-height: 1.65; }
.content ul, .content ol { padding-left: 20px; }
.manual-block { margin: 22px 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.manual-block h3 { margin: 0 0 12px; color: var(--brand); font-family: var(--ui); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.manual-block p:first-of-type, .manual-block ul:first-of-type, .manual-block ol:first-of-type { margin-top: 0; }
.manual-block p:last-child, .manual-block ul:last-child, .manual-block ol:last-child { margin-bottom: 0; }
.procedure { counter-reset: procedure; list-style: none; padding: 0 !important; }
.procedure li { position: relative; min-height: 34px; margin: 0 0 12px; padding-left: 42px; }
.procedure li::before { counter-increment: procedure; content: counter(procedure); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; color: var(--brand); font-family: var(--ui); font-size: 11px; line-height: 26px; text-align: center; }
.field-table { width: 100%; margin: 18px 0; border-collapse: collapse; font-family: var(--ui); }
.field-table th, .field-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); color: #565953; font-size: 13px; line-height: 1.5; text-align: left; vertical-align: top; }
.field-table th { color: var(--brand); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.machine-note { color: var(--muted); font-family: var(--ui); font-size: 12px !important; }
.steps { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps li { min-height: 170px; padding: 20px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.steps b { display: block; margin-bottom: 24px; color: var(--brand); font-family: var(--ui); font-size: 11px; }
.terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.term { padding: 20px; border: 1px solid var(--line); border-radius: 9px; }
.term h3 { margin-top: 0; }
.term p { margin-bottom: 0; font-size: 14px; }
code { padding: 2px 5px; border-radius: 4px; background: var(--tint); color: var(--brand); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; }
.timeline { max-width: 850px; }
.release { position: relative; padding: 0 0 74px 42px; border-left: 1px solid var(--line); }
.release::before { content: ""; position: absolute; left: -5px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.release:last-child { padding-bottom: 0; }
.release-head { margin-bottom: 26px; }
.release-date { margin: 0 0 8px; color: var(--brand); font-family: var(--ui); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.release h2 { margin-bottom: 9px; font-size: 38px; }
.release-state { color: var(--muted); font-family: var(--ui); font-size: 12px; }
.change-group { display: grid; grid-template-columns: 100px 1fr; gap: 22px; padding: 20px 0; border-top: 1px solid var(--line); }
.change-group h3 { margin: 2px 0 0; color: var(--brand); font-family: var(--ui); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.change-group ul { margin: 0; padding-left: 18px; }
.change-group li { margin-bottom: 7px; color: #565953; font-size: 15px; line-height: 1.55; }
.foot { max-width: 1200px; margin: 70px auto 0; padding: 36px 42px 54px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 30px; color: var(--muted); font-family: var(--ui); font-size: 11px; }
.foot img { width: 122px; height: auto; }
.foot-links { display: flex; gap: 16px; align-items: center; }
@media (max-width: 760px) {
  .site-nav { height: 70px; padding: 0 20px; }
  .nav-links a:not(.nav-lang):not(.nav-cta) { display: none; }
  .page { padding: 52px 20px 76px; }
  .hero { margin-bottom: 58px; }
  .docs-layout { grid-template-columns: 1fr; gap: 42px; }
  .toc { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 14px; padding: 16px; border: 1px solid var(--line); border-radius: 9px; }
  .toc p { grid-column: 1 / -1; }
  .steps, .terms { grid-template-columns: 1fr; }
  .release { padding-left: 28px; }
  .change-group { grid-template-columns: 1fr; gap: 8px; }
  .foot { margin-top: 40px; padding: 30px 20px; flex-direction: column; }
}
