/* dx-wallet.com: one stylesheet for both pages. Same-origin only; no fonts or images from elsewhere. */
:root {
  --paper: #F4F1E8;
  --ink: #18221F;
  --muted: #5B6662;
  --rule: #D9D3C3;
  --accent: #0F5E4E;
  --accent-soft: #DCE9E2;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0E1513;
    --ink: #E7EFEA;
    --muted: #9DABA5;
    --rule: #26322E;
    --accent: #5CC3A4;
    --accent-soft: #15302A;
  }
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  padding: 40px 16px 56px;
}
main, .page { max-width: 640px; margin: 0 auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.brand svg { width: 30px; height: 30px; }
.mark-body { fill: var(--accent); }
.mark-clasp { fill: var(--paper); }

.hero { margin-top: 56px; }
h1 {
  font-family: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(2.3rem, 8vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.lead { margin-top: 18px; font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.status {
  display: inline-block;
  margin-top: 26px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
}

.ledger { margin-top: 56px; padding: 0; list-style: none; border-top: 1px solid var(--rule); counter-reset: point; }
.ledger li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 4px 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  counter-increment: point;
}
.ledger li::before {
  content: counter(point, decimal-leading-zero);
  grid-row: 1 / span 2;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-weight: 600;
}
.ledger h2 { grid-column: 2; font-size: 1rem; font-weight: 650; line-height: 1.5; }
.ledger p { grid-column: 2; color: var(--muted); }

footer { margin-top: 48px; font-size: 0.88rem; color: var(--muted); }
footer a { color: inherit; }

/* privacy page */
.page h1 { margin-top: 40px; font-size: clamp(2rem, 7vw, 2.6rem); }
.updated { margin-top: 6px; color: var(--muted); }
.summary {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--accent-soft);
}
.page h2 {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 1.2rem;
  line-height: 1.3;
}
.page p, .page ul { margin-top: 10px; }
.page ul { padding-left: 1.3em; }
.page li + li { margin-top: 6px; }
