:root {
  color-scheme: light;
  --ink: #19362d;
  --muted: #4a6056;
  --paper: #fff;
  --soft: #edf4ef;
  --line: #cbd9cf;
  --green: #164b38;
  --yellow: #f6d46b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--green); text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #987000; outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1.25rem; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -.025em; margin: 0 0 1.25rem; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); }
h3 { font-size: 1.4rem; }
.header, .section, .hero, .article-heading, .article-layout, footer { max-width: 1200px; margin: auto; padding-left: 32px; padding-right: 32px; }
.header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 1.25rem; font-weight: 850; text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 9px; }
.brand b { color: #806000; }
nav { display: flex; align-items: center; gap: 26px; }
.header nav a { font-size: .95rem; font-weight: 650; text-decoration: none; padding-block: 10px; }
.header nav a:hover { text-decoration: underline; }
.header .nav-download { background: var(--green); color: white; padding: 9px 18px; border-radius: 4px; }
.language { border-left: 1px solid var(--line); padding-left: 22px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding-top: 45px; padding-bottom: 48px; }
.hero h1 { font-size: clamp(3.2rem, 6vw, 5.2rem); margin-bottom: 22px; }
.hero h1 span { display: block; font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1.2; margin-top: 12px; font-weight: 650; max-width: 29rem; }
.hero-copy > p:not(.eyebrow) { max-width: 31rem; }
.hero-copy > p:not(.intro) { color: var(--muted); }
.eyebrow { font-size: .875rem; font-weight: 650; color: var(--muted); margin-bottom: 16px; }
.intro { font-size: 1.18rem; line-height: 1.65; max-width: 47rem; }
.hero-art img { width: 100%; border-radius: 6px; }
figcaption { font-size: .875rem; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.store-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.button { display: flex; flex-direction: column; justify-content: center; min-height: 64px; min-width: 166px; padding: 9px 22px; text-decoration: none; font-weight: 750; font-size: 1.2rem; line-height: 1.3; border-radius: 5px; border: 1px solid var(--green); }
.primary { background: var(--green); color: #fff; }
.secondary { background: #fff; color: var(--green); }
.button:hover { box-shadow: inset 0 0 0 1px currentColor; }
.store-caption { font-size: .8rem; font-weight: 500; }
.fine { color: var(--muted); font-size: .875rem; }
.section { padding-top: 70px; padding-bottom: 70px; border-top: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.12rem; }
.mechanics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-bottom: 24px; }
.mechanics article { border-top: 3px solid var(--green); padding-top: 20px; }
.mechanics p { color: var(--muted); }
.text-link { font-weight: 650; }
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.feature figure img { border-radius: 6px; }
.feature p { color: var(--muted); }
.offline > p { max-width: 850px; }
.table-scroll { overflow-x: auto; margin: 24px 0 30px; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 1rem; }
caption { text-align: left; font-weight: 700; margin-bottom: 12px; }
th, td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--soft); }
tbody th { font-weight: 600; width: 45%; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.guide-card { display: flex; flex-direction: column; text-decoration: none; border-top: 2px solid var(--green); padding: 22px 0; }
.guide-card:hover h3 { text-decoration: underline; text-underline-offset: .15em; }
.guide-card p { color: var(--muted); font-size: 1rem; }
.read-link { font-size: .95rem; font-weight: 650; margin-top: auto; text-decoration: underline; text-underline-offset: .25em; }
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }
details { border-bottom: 1px solid var(--line); }
summary { padding: 20px 0; cursor: pointer; font-weight: 650; list-style-position: outside; margin-left: 20px; }
details p { color: var(--muted); padding: 0 0 12px 20px; }
.download { padding: 50px 24px; text-align: center; background: var(--green); color: white; }
.download h2 { font-size: 2rem; }
.download p { margin-bottom: 12px; }
.download .fine { color: #d7e5dc; }
.download .store-links { justify-content: center; }
.download .button { border-color: var(--yellow); }
.download .primary { background: var(--yellow); color: #19362d; }
.download .secondary { background: transparent; color: var(--yellow); }
.download a:focus-visible { outline-color: white; }
footer { padding-top: 40px; padding-bottom: 35px; color: var(--muted); font-size: .95rem; }
.wordmark { font-size: 1.5rem; font-weight: 800; color: var(--ink); text-decoration: none; }
footer div { display: flex; gap: 24px; flex-wrap: wrap; margin-block: 20px; }
footer small { font-size: .875rem; }
.skip { position: absolute; left: 15px; top: -100px; background: var(--yellow); color: var(--ink); padding: 12px; z-index: 10; }
.skip:focus { top: 12px; }
.guide-index { min-height: 60vh; }
.guide-index .guide-grid { margin-top: 50px; }
.article-heading { padding-top: 35px; padding-bottom: 24px; }
.breadcrumbs { font-size: .9rem; gap: 12px; margin-bottom: 35px; }
.article-heading h1 { max-width: 950px; font-size: clamp(2.4rem, 4.5vw, 4rem); }
.byline { font-size: .875rem; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 260px); gap: 70px; padding-bottom: 70px; }
.prose p, .prose li { color: #2f473c; }
.prose h2 { font-size: 1.65rem; margin-top: 42px; line-height: 1.25; }
.prose .answer { font-size: 1.2rem; color: var(--ink); }
.prose li { padding-left: 6px; margin-bottom: 12px; }
.article-aside { border-top: 2px solid var(--line); padding-top: 20px; }
.article-aside h2 { font-size: 1.15rem; }
.article-aside nav { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 30px; font-size: 1rem; }
.toc { display: block; padding: 20px 24px; background: var(--soft); margin-bottom: 30px; font-size: .95rem; }
.toc p { font-weight: 650; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 22px; }
.toc li { margin-bottom: 5px; }
.layout-example { background: var(--soft); padding: 24px; margin-block: 28px; }
.layout-example figcaption { color: var(--ink); font-weight: 700; font-size: 1rem; margin: 0 0 18px; }
.tile-row { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 0 0 16px; }
.prose .tile-row li { background: white; border: 2px solid var(--green); padding: 20px 10px; margin: 0; text-align: center; font-weight: 650; font-size: .9rem; }
.prose .tile-row li + li { border-left: 0; }
.layout-example p { font-size: .95rem; margin-bottom: 0; }
@media (max-width: 850px) {
  .header, .section, .hero, .article-heading, .article-layout, footer { padding-left: 24px; padding-right: 24px; }
  .header { gap: 14px; }
  .header nav { gap: 18px; }
  .language { padding-left: 16px; }
  .hero { gap: 28px; }
  .button { min-width: 145px; padding-inline: 16px; }
  .feature { gap: 35px; }
  .guide-grid { gap: 22px; }
  .faq { gap: 30px; }
  .article-layout { gap: 35px; grid-template-columns: minmax(0, 1fr) 210px; }
}
@media (max-width: 620px) {
  .header { flex-wrap: wrap; gap: 8px 20px; padding-block: 14px; }
  .brand { font-size: 1.05rem; }
  .brand img { width: 32px; height: 32px; }
  .header nav { width: 100%; justify-content: space-between; gap: 10px; }
  .header nav a { font-size: .875rem; }
  .header .nav-download { padding: 8px 12px; }
  .language { padding-left: 12px; }
  .hero { grid-template-columns: 1fr; padding-top: 30px; padding-bottom: 40px; gap: 24px; }
  .hero h1 { font-size: 3.7rem; }
  .hero h1 span { font-size: 1.85rem; }
  .hero .intro { max-width: none; }
  .section { padding-block: 48px; }
  .mechanics, .feature, .guide-grid, .faq, .article-layout { grid-template-columns: 1fr; }
  .mechanics { gap: 16px; }
  .mechanics article { border-top-width: 1px; }
  .feature { gap: 28px; }
  .feature figure { max-width: 460px; }
  .guide-grid { gap: 4px; }
  .faq { gap: 8px; }
  th, td { padding: 12px 10px; }
  .article-heading { padding-top: 25px; }
  .breadcrumbs { margin-bottom: 24px; }
  .article-layout { gap: 40px; }
  .prose ul, .prose ol { padding-left: 24px; }
  .prose .tile-row { padding-left: 0; }
  .layout-example { padding: 16px; }
  .prose .tile-row li { font-size: .8rem; padding: 14px 5px; overflow-wrap: anywhere; }
  .store-links { gap: 10px; }
  .button { min-width: 142px; }
  .article-heading h1 { overflow-wrap: break-word; }
  footer div { flex-direction: column; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 360px) {
  .header { padding-inline: 16px; }
  .header nav { gap: 8px; }
  .header nav a { white-space: nowrap; }
  .button { min-width: 0; flex: 1; padding-inline: 12px; font-size: 1.05rem; }
}
.guide-card h2 { font-size: 1.4rem; }

.language-picker { position: relative; border: 0; flex-shrink: 0; }
.language-picker summary { margin: 0; padding: 10px 4px; font-size: .875rem; white-space: nowrap; list-style-position: inside; }
.language-picker > div { position: absolute; z-index: 5; top: 100%; right: 0; min-width: 190px; padding: 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); box-shadow: 0 6px 18px #19362d20; }
.header .language-picker a { display: block; padding: 8px 12px; }
.language-picker [aria-current] { background: var(--soft); }
@media (max-width: 360px) {
  .header nav { gap: 5px; }
  .header nav a { font-size: .8rem; }
  .header .nav-download { padding-inline: 8px; }
  .tile-row { grid-template-columns: 1fr; }
  .prose .tile-row li + li { border-left: 2px solid var(--green); border-top: 0; }
}
