:root {
  color-scheme: light dark;
  --background: #f4f4f5;
  --surface: #fff;
  --text: #141416;
  --secondary: #5c5c63;
  --border: #e4e4e7;
  --accent: #216943;
  --soft: #e1f3e8;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--background);
  font-synthesis: none;
  line-height: 1.65;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.site-header, main, footer { width: min(100% - 48px, 1080px); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 24px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 1.25rem; font-weight: 650; text-decoration: none; }
.brand img { border-radius: 10px; }
.open-app { display: inline-block; padding-block: 10px; min-height: 44px; font-size: .875rem; }
.hero { padding-block: 64px 48px; max-width: 760px; }
.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 600; margin: 0 0 16px; }
h1 { font-size: clamp(2rem, 1.25rem + 3vw, 3.5rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 650; margin: 0; }
.description { font-size: 1.125rem; color: var(--secondary); margin: 24px 0 16px; max-width: 55ch; }
.updated { color: var(--secondary); font-size: .8125rem; margin: 0; }
.layout { display: grid; grid-template-columns: 192px minmax(0, 1fr); gap: 48px; align-items: start; }
aside { position: sticky; top: 24px; }
aside nav { display: flex; flex-direction: column; gap: 4px; }
aside a { display: flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 10px; color: var(--secondary); text-decoration: none; font-size: .875rem; }
aside a[aria-current="page"] { color: var(--accent); background: var(--soft); font-weight: 600; }
article { background: var(--surface); border: 1px solid var(--border); padding: 32px; border-radius: 18px; min-width: 0; }
section + section { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 32px; }
h2 { font-size: 1.25rem; line-height: 1.35; letter-spacing: -.015em; margin: 0 0 16px; scroll-margin-top: 24px; }
p { margin: 0 0 16px; }
section > :last-child { margin-bottom: 0; }
article p, article li { max-width: 68ch; }
ul, ol { padding-left: 24px; }
li + li { margin-top: 8px; }
.contents { margin-bottom: 32px; color: var(--secondary); font-size: .875rem; }
summary { cursor: pointer; min-height: 44px; align-content: center; color: var(--accent); }
.contents ol { margin-bottom: 0; }
footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 64px; padding-block: 24px; border-top: 1px solid var(--border); font-size: .8125rem; color: var(--secondary); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
.skip { position: absolute; top: -100px; left: 16px; background: var(--surface); padding: 16px; z-index: 1; }
.skip:focus { top: 16px; }
@media (prefers-color-scheme: dark) {
  :root { --background: #0e0e10; --surface: #18181b; --text: #f2f2f3; --secondary: #a1a1aa; --border: #2b2b30; --accent: #4dbb7c; --soft: #183327; }
}
@media (max-width: 700px) {
  .site-header, main, footer { width: calc(100% - 32px); }
  .hero { padding-block: 48px 32px; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  aside { position: static; }
  aside nav { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  aside a { padding-inline: 12px; }
  article { padding: 24px; }
  footer { margin-top: 48px; }
}
@media print {
  :root { --background: white; --surface: white; --text: black; --secondary: #444; --border: #ddd; --accent: black; }
  .site-header, aside, footer, .contents, .skip { display: none; }
  main { width: 100%; }
  .hero { padding-block: 0 32px; }
  .layout { display: block; }
  article { border: 0; padding: 0; }
}
