:root {
  color-scheme: light;
  --bg: #f4f4f2; --panel: #fcfcfb; --ink: #171d23; --secondary: #555e65;
  --muted: #677078; --line: #dcdedb; --accent: #236d59; --tint: #e9efea;
  --positive: #246547; --negative: #b03434;
}
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --bg: #111513; --panel: #1a201c; --ink: #f0f2ed;
    --secondary: #bdc5bf; --muted: #a1aea5; --line: #354039; --accent: #93cbb2;
    --tint: #202f27; --positive: #8bcca4; --negative: #f29a96; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.65 system-ui, -apple-system, "Segoe UI", "PingFang SC", sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, .scroll:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.skip { position: fixed; top: -80px; left: 16px; background: var(--panel); padding: 12px; z-index: 2; }
.skip:focus { top: 16px; }
.shell { max-width: 1248px; padding: 0 40px; margin: auto; }
.topbar { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 16px; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; background: var(--accent); color: var(--bg); border-radius: 5px; font-size: 22px; }
.brand-sub { font-weight: 400; color: var(--muted); }
.mode { font-size: 12px; color: var(--accent); border: 1px solid var(--line); padding: 4px 10px; border-radius: 4px; white-space: nowrap; }
.intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 96px; padding: 64px 0 56px; align-items: center; }
.eyebrow { font-size: 11px; letter-spacing: .12em; font-weight: 650; color: var(--accent); margin: 0; }
h1 { font-size: clamp(36px, 4.5vw, 54px); line-height: 1.22; letter-spacing: -.04em; font-weight: 650; margin: 20px 0; }
.lead { color: var(--secondary); font-size: 15px; max-width: 470px; margin: 0 0 28px; }
.primary { display: inline-flex; gap: 26px; padding: 10px 16px; background: var(--accent); color: var(--bg); border: 1px solid var(--accent); border-radius: 5px; font-weight: 600; }
.secondary { display: inline-flex; gap: 10px; margin-left: 20px; color: var(--accent); padding: 10px 0; }
.secondary:hover, .workflow a:hover { text-decoration: underline; text-underline-offset: 4px; }
.workflow { border-left: 1px solid var(--line); padding-left: 36px; }
.workflow ol { margin: 22px 0; padding: 0; list-style: none; display: grid; gap: 22px; }
.workflow li { display: flex; gap: 18px; align-items: baseline; }
.step { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.workflow a { font-weight: 600; font-size: 15px; }
.workflow li p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.workflow-note { padding-top: 16px; margin: 0; border-top: 1px solid var(--line); color: var(--secondary); font-size: 12px; }
h2 { margin: 0; font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.muted { color: var(--muted); font-size: 12px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-heading p { margin: 3px 0 0; }
.modules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.module { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 24px 26px 0; display: flex; flex-direction: column; transition: border-color .15s, background .15s; }
.module:hover { border-color: var(--accent); background: var(--tint); }
.module-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.arrow { color: var(--accent); font-size: 23px; line-height: 1; }
.module h3 { font-size: 22px; font-weight: 600; margin: 18px 0 8px; }
.module p { color: var(--secondary); max-width: 420px; margin: 0 0 22px; font-size: 13px; }
.module-meta { border-top: 1px solid var(--line); padding: 13px 0; font-size: 12px; color: var(--accent); margin-top: auto; }
.accounts-section { margin-top: 44px; }
button { font: inherit; font-size: 12px; background: var(--panel); color: var(--secondary); border: 1px solid var(--line); border-radius: 5px; padding: 8px 12px; cursor: pointer; white-space: nowrap; }
button:hover { border-color: var(--accent); color: var(--accent); }
button:disabled { cursor: wait; opacity: .6; }
#snapshot-status { min-height: 20px; margin: -3px 0 12px; }
.account-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; white-space: nowrap; font-size: 12px; font-variant-numeric: tabular-nums; }
th, td { padding: 13px 18px; text-align: right; border-bottom: 1px solid var(--line); }
th { font-weight: 500; color: var(--muted); background: var(--bg); }
th:first-child, td:first-child { text-align: left; }
tr:last-child td { border-bottom: 0; }
td a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; padding: 5px 0; display: inline-block; }
.positive { color: var(--positive); } .negative, .error { color: var(--negative); }
.archive { margin: 44px 0 40px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.archive h2 { margin: 5px 0; }
.archive p { margin: 0; }
.archive-links { display: grid; align-content: center; }
.archive-links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--secondary); }
.archive-links a:last-child { border-bottom: 0; }
.archive-links a:hover { color: var(--accent); }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-bottom: 30px; font-size: 11px; color: var(--muted); }
@media (max-width: 850px) {
  .shell { padding: 0 24px; } .intro { gap: 36px; } .workflow { padding-left: 24px; }
  .secondary { margin-left: 0; margin-top: 10px; display: flex; width: fit-content; }
}
@media (max-width: 600px) {
  .shell { padding: 0 18px; } .topbar { min-height: 72px; } .brand { font-size: 14px; gap: 7px; }
  .brand-sub { display: none; } .mode { font-size: 11px; }
  .intro { grid-template-columns: 1fr; gap: 30px; padding: 36px 0; }
  h1 br { display: none; } h1 { font-size: 36px; }
  .secondary { display: inline-flex; margin: 0 0 0 14px; } .primary { gap: 12px; padding: 10px 12px; font-size: 13px; }
  .workflow { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; }
  .workflow ol { gap: 16px; margin: 18px 0; } .workflow-note { padding-top: 12px; }
  .modules { grid-template-columns: 1fr; gap: 12px; } .module { padding: 20px 22px 0; }
  .module h3 { font-size: 21px; margin-top: 14px; } .section-heading { align-items: baseline; }
  .accounts-section { margin-top: 32px; } .archive { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) { .module { transition: none; } }
