:root {
  font-family: var(--font-body);
  color: #223c32;
  background: #f6f7f2;
  font-synthesis: weight;
  color-scheme: light;
  --ink: #223c32;
  --muted: #52645b;
  --accent: #285441;
  --line: #d6ded4;
  --paper: #ffffff;
  --focus: #a34016;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
}
a {
  color: var(--accent);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
main:focus {
  outline: none;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 20;
  padding: 12px 20px;
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--accent);
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1320px;
  margin: auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.06em;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-mark {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #173d32 url('/favicon.svg') center / 24px 24px no-repeat;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.primary-nav a {
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border-radius: 6px;
  white-space: nowrap;
}
.primary-nav [aria-current] {
  background: #eaf0e8;
}
.primary-nav a:hover {
  background: #f1f4ed;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.language-link {
  font-size: 14px;
  padding: 10px 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.button:hover {
  text-decoration: none;
}
.button-primary {
  color: white;
  background: var(--accent);
}
.button-primary:hover {
  background: #193e2e;
}
.button-outline {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}
.button-outline:hover {
  background: #eaf0e8;
}
.button-small {
  padding: 9px 15px;
  min-height: 44px;
  font-size: 14px;
}
.scene {
  --hue: 170;
  --step: 24px;
  --angle: 15deg;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #071013;
  color: #f4f8f2;
}
.fence,
canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
}
.fence {
  background:
    repeating-linear-gradient(
      var(--angle),
      transparent 0 calc(var(--step) - 2px),
      hsl(var(--hue) 30% 48% / 0.4) calc(var(--step) - 2px) var(--step)
    ),
    repeating-linear-gradient(
      calc(180deg - var(--angle)),
      #081211 0 calc(var(--step) - 2px),
      hsl(var(--hue) 30% 29%) calc(var(--step) - 2px) var(--step)
    );
}
.scene::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, #071013 0%, #071013f5 35%, #0710138a 64%, #07101335 100%);
}
.hero-inner {
  max-width: 1240px;
  margin: auto;
  padding: 76px 40px 70px;
}
.eyebrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.07em;
  margin: 0 0 18px;
}
.hero .eyebrow {
  color: #d0dfd6;
}
h1,
h2,
h3 {
  line-height: 1.5;
  color: var(--ink);
}
.hero h1 {
  color: #f4f8f2;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 550;
  line-height: 1.35;
  letter-spacing: -0.045em;
  margin: 0 0 24px;
}
.hero-lead {
  color: #dae4df;
  font-size: 19px;
  line-height: 1.9;
  margin: 0;
  max-width: 40em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero .button-primary {
  background: #e1eddc;
  color: #173b2c;
}
.hero .button-primary:hover {
  background: #f3faed;
}
.button-hero {
  color: #f4f8f2;
  border-color: #a6b9af;
  background: #0b1c16e8;
}
.button-hero:hover {
  background: #214334;
}
.hero-status {
  display: block;
  width: fit-content;
  margin-top: 25px;
  color: #d0dfd6;
  font-size: 14px;
}
.motion-control {
  display: block;
  margin-top: 22px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #96aea1;
  border-radius: 6px;
  color: #e4eee7;
  background: #0b1c16f2;
  font-size: 13px;
}
.motion-control[aria-pressed='true'] {
  background: #d5e4d4;
  color: #173b2c;
}
.motion-control:disabled {
  cursor: default;
}
.scene :focus-visible {
  outline-color: #ffcd9e;
}
.home-content {
  max-width: 1240px;
  margin: auto;
  padding: 64px 40px 72px;
}
.home-intro {
  max-width: 68ch;
  margin-bottom: 34px;
}
.home-intro p {
  margin: 0;
  font-size: 18px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.guide-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.guide-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: -0.025em;
}
.guide-card p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 20px;
}
.guide-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.guide-card li {
  margin: 0;
  border-top: 1px solid #e7ece3;
}
.guide-card li a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
}
.home-contact {
  margin-top: 32px;
  padding: 28px 32px;
  background: #e8eee3;
  border-radius: 10px;
}
.home-contact h2 {
  margin: 0 0 10px;
  font-size: 22px;
}
.home-contact p {
  margin: 8px 0;
  max-width: 72ch;
}
.breadcrumbs {
  max-width: 1240px;
  margin: auto;
  padding: 24px 40px 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px 12px;
}
.breadcrumbs li {
  display: flex;
  gap: 12px;
}
.breadcrumbs li + li::before {
  content: '/';
  color: #65766c;
}
.article-layout {
  max-width: 1240px;
  margin: auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  padding: 32px 40px 72px;
  align-items: start;
}
.article-layout.no-sidebar {
  grid-template-columns: minmax(0, 1fr);
  max-width: 960px;
}
.guide-sidebar {
  padding-top: 8px;
}
.section-label {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 650;
  color: var(--muted);
}
.section-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.section-nav a {
  display: block;
  min-height: 44px;
  padding: 10px 14px;
  border-left: 3px solid transparent;
  text-decoration: none;
  font-size: 15px;
  border-radius: 0 6px 6px 0;
}
.section-nav [aria-current='page'] {
  background: #e6eee2;
  border-left-color: var(--accent);
  color: #163a29;
  font-weight: 650;
}
.section-nav a:hover {
  background: #edf2e8;
}
.sidebar-support {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 18px;
  font-size: 14px;
}
.sidebar-support p {
  margin: 0 0 8px;
  color: var(--muted);
}
.article-main {
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px 42px 42px;
}
.article-header {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.article-header .eyebrow {
  margin-bottom: 12px;
}
.article-title {
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 650;
  letter-spacing: -0.025em;
  margin: 0;
  overflow-wrap: anywhere;
}
.prose {
  max-width: 76ch;
  line-height: 1.9;
}
.prose p {
  margin: 1em 0;
}
.prose > :first-child {
  margin-top: 0;
}
.prose h2 {
  margin: 2.4em 0 1em;
  padding-top: 0.2em;
  font-size: 24px;
  scroll-margin-top: 24px;
}
.prose h3 {
  margin-top: 1.8em;
  font-size: 20px;
  scroll-margin-top: 24px;
}
.prose h2:target,
.prose h3:target {
  text-decoration: underline;
  text-underline-offset: 7px;
}
.prose ul,
.prose ol {
  padding-left: 1.5em;
}
.prose li {
  margin: 0.5em 0;
}
.prose a {
  overflow-wrap: anywhere;
}
.prose strong {
  font-weight: 700;
}
.prose pre {
  overflow: auto;
  padding: 20px;
  border: 1px solid #d5e0d4;
  border-radius: 6px;
  background: #f1f5ed;
  color: #183c2b;
  font-size: 14px;
  line-height: 1.65;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.88em;
  overflow-wrap: anywhere;
}
.prose :not(pre) > code {
  background: #edf2e8;
  border-radius: 3px;
  padding: 0.15em 0.3em;
}
.prose blockquote {
  margin-left: 0;
  padding: 8px 20px;
  border-left: 3px solid #65856f;
  background: #f1f5ed;
}
.prose img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin: 24px 0;
}
.prose .heading-anchor {
  margin-left: 0.4em;
  font-size: 0.7em;
  font-weight: 400;
  color: #526b5d;
  text-decoration: none;
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.75;
}
th,
td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
th {
  color: var(--ink);
  background: #edf3e8;
  font-weight: 650;
}
tr:last-child td {
  border-bottom: 0;
}
.table-scroll th,
.table-scroll td {
  min-width: 9em;
}
.table-scroll code {
  white-space: normal;
}
.contents-disclosure {
  margin: 24px 0 32px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f6f8f1;
}
.contents-disclosure summary {
  min-height: 30px;
  cursor: pointer;
  font-weight: 600;
  color: var(--accent);
  font-size: 15px;
}
.contents ul {
  margin: 14px 0 0;
  padding-left: 1.2em;
  columns: 2;
  column-gap: 30px;
}
.contents li {
  break-inside: avoid;
  font-size: 15px;
  margin: 0 0 8px;
}
.site-footer {
  background: #eaf0e5;
  border-top: 1px solid #cbd7c7;
  color: var(--ink);
}
.footer-inner {
  max-width: 1320px;
  margin: auto;
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 56px;
}
.footer-intro p {
  font-size: 14px;
  margin: 18px 0 0;
  color: #445c4d;
}
.footer-intro .footer-status {
  font-size: 12px;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.footer-nav h2 {
  font-size: 14px;
  font-weight: 650;
  margin: 0 0 12px;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav a {
  display: inline-block;
  padding: 7px 0;
  font-size: 14px;
}
.footer-bottom {
  max-width: 1240px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 40px;
  border-top: 1px solid #cbd7c7;
  font-size: 12px;
  color: #445c4d;
}
.app-main {
  max-width: 880px;
  margin: auto;
  padding: 60px 40px 72px;
}
.app-main h1 {
  font-size: clamp(30px, 4vw, 42px);
  margin: 0 0 24px;
}
.app-main .prose {
  max-width: 68ch;
}
@media (max-width: 1100px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 16px 32px;
  }
  .header-tools {
    margin-left: auto;
  }
  .primary-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }
  .primary-nav a {
    flex: 1;
    text-align: center;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-intro p {
    display: inline-block;
    margin: 0 24px;
    vertical-align: middle;
  }
  .article-layout {
    gap: 28px;
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .article-main {
    padding: 30px;
  }
}
@media (max-width: 800px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .article-layout {
    display: flex;
    flex-direction: column;
    padding-top: 24px;
    gap: 24px;
  }
  .guide-sidebar {
    width: 100%;
  }
  .section-label {
    margin-bottom: 8px;
  }
  .section-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .section-nav a {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 8px 14px;
    background: #fff;
  }
  .section-nav [aria-current='page'] {
    border-color: var(--accent);
  }
  .sidebar-support {
    display: none;
  }
  .article-main {
    width: 100%;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .header-inner {
    padding: 16px 20px 12px;
  }
  .header-tools {
    gap: 14px;
  }
  .primary-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }
  .primary-nav a {
    padding: 9px 8px;
    font-size: 14px;
    text-align: left;
  }
  .button-small {
    padding: 9px 12px;
  }
  .brand {
    font-size: 23px;
  }
  .brand-mark {
    width: 26px;
    height: 26px;
  }
  .hero-inner {
    padding: 44px 24px 42px;
  }
  .hero h1 {
    font-size: clamp(32px, 8.5vw, 42px);
  }
  .hero-lead {
    font-size: 17px;
  }
  .hero .actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 360px;
  }
  .hero-status {
    font-size: 13px;
  }
  .home-content {
    padding: 36px 20px 44px;
  }
  .home-intro p {
    font-size: 17px;
  }
  .guide-card {
    padding: 24px;
  }
  .home-contact {
    padding: 24px;
  }
  .breadcrumbs {
    padding: 20px 20px 0;
  }
  .article-layout,
  .article-layout.no-sidebar {
    padding: 20px 20px 44px;
  }
  .article-main {
    padding: 24px 20px;
    border-radius: 8px;
  }
  .article-title {
    font-size: 27px;
  }
  .prose h2 {
    font-size: 22px;
  }
  .prose pre {
    padding: 14px;
    font-size: 13px;
  }
  .contents ul {
    columns: 1;
  }
  .contents-disclosure {
    padding: 12px 14px;
  }
  .footer-inner {
    padding: 36px 24px;
  }
  .footer-intro p {
    display: block;
    margin: 12px 0;
  }
  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    padding: 18px 24px;
    gap: 4px;
  }
  .app-main {
    padding: 40px 24px 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media (forced-colors: active) {
  .scene::after,
  .fence,
  canvas {
    display: none;
  }
  .scene {
    background: Canvas;
    color: CanvasText;
  }
  .hero h1,
  .hero p,
  .hero a,
  .motion-control {
    color: CanvasText;
  }
  .button,
  .motion-control,
  .guide-card,
  .article-main {
    border: 1px solid ButtonText;
  }
  :focus-visible {
    outline-color: Highlight;
  }
  .primary-nav [aria-current],
  .section-nav [aria-current='page'] {
    outline: 1px solid Highlight;
  }
}
@media print {
  .site-header,
  .site-footer,
  .guide-sidebar,
  .skip-link,
  .motion-control,
  .fence,
  canvas,
  .scene::after {
    display: none !important;
  }
  body,
  .scene {
    background: white;
    color: black;
  }
  .hero h1,
  .hero p,
  .hero a {
    color: black;
  }
  .article-layout {
    display: block;
    padding: 0;
  }
  .article-main {
    border: 0;
    padding: 0;
  }
  .prose,
  .home-content {
    max-width: none;
  }
  .table-scroll,
  .prose pre {
    overflow: visible;
  }
}

.home-content.prose {
  max-width: 1240px;
}
.home-prose .guide-card h2,
.home-prose .home-contact h2 {
  margin: 0 0 14px;
  padding: 0;
  font-size: 22px;
}
.home-prose .guide-card p {
  font-size: 16px;
}
.prose .heading-anchor {
  display: inline-flex;
  min-width: 24px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
}

.primary-nav a {
  min-height: 44px;
}
.primary-nav [aria-current] {
  box-shadow: inset 0 -3px #285441;
}
.footer-nav a {
  min-height: 44px;
}

.prose .heading-anchor {
  opacity: 0;
}
.prose h2:hover .heading-anchor,
.prose h3:hover .heading-anchor,
.prose .heading-anchor:focus-visible {
  opacity: 1;
}

.scene{--hue:125;--step:24.5px;--angle:4deg}