/* Server-rendered money pages (src/money-pages.ts). The landing's design 12
   "Baize" tokens (frontend/src/pages/public/landing/baize.css), mobile-first
   from 280px. No JavaScript. */
:root {
  --bg: #0f1f10; --surface: #162a17; --stage: #1e4a23; --ink: #fff; --muted: #a9b3a9;
  --accent: #c6f19d; --accent-ink: #0f1f10; --line: rgba(255, 255, 255, .14);
  --m: 16px; --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 "Geist", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
a { color: inherit; text-underline-offset: .2em; }
img { max-width: 100%; height: auto; }

.mp-skip { position: absolute; left: var(--m); top: -60px; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; z-index: 10; }
.mp-skip:focus { top: 12px; }

.mp-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 20px var(--m); max-width: 1200px; margin: 0 auto; }
.mp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.mp-brand img { width: 44px; }
.mp-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: .9375rem; }
.mp-nav a:not(.mp-btn) { color: var(--muted); text-decoration: none; white-space: nowrap; }
.mp-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

.mp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; background: var(--accent); color: var(--accent-ink); font-weight: 500; text-decoration: none; transition: background-color 150ms ease, transform 160ms var(--ease-out); }
.mp-btn:active { transform: scale(0.97); }
.mp-btn-sm { min-height: 40px; padding: 0 16px; }
.mp-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.mp-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .mp-btn:hover { background: var(--ink); color: var(--accent-ink); }
  .mp-nav a:not(.mp-btn):hover { color: var(--ink); }
}

.mp-main { max-width: 820px; margin: 0 auto; padding: 24px var(--m) 72px; }
.mp-crumbs { font-size: .875rem; color: var(--muted); }
.mp-crumbs a { color: var(--muted); }
h1 { margin: 20px 0 0; font-weight: 500; font-size: clamp(2rem, 1.4rem + 3vw, 3.5rem); line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
.mp-lead { margin: 24px 0 0; font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem); line-height: 1.55; max-width: 62ch; }
.mp-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 32px 0 0; }

section { margin-top: 64px; }
h2 { margin: 0 0 16px; font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
h3 { margin: 28px 0 6px; font-weight: 500; font-size: 1.1875rem; }
p { margin: 0 0 12px; max-width: 68ch; }
ul, ol { margin: 0; padding-left: 1.3em; max-width: 68ch; }
li { margin: 8px 0; }
li::marker { color: var(--accent); }

/* Tables scroll inside their own box on narrow screens; the page never does. */
.mp-table { overflow-x: auto; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; }
thead th { color: var(--muted); font-weight: 500; background: var(--stage); }
tbody tr + tr > * { box-shadow: inset 0 1px 0 var(--line); } /* row separation inside a real table */
tbody th { font-weight: 500; }

.mp-faq h3:first-of-type { margin-top: 0; }
.mp-go { background: var(--stage); padding: 28px 20px; }
.mp-go .mp-ctas { margin-top: 20px; }
.mp-related { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.mp-related h2 { flex-basis: 100%; font-size: 1.25rem; margin-bottom: 4px; }
.mp-related a { color: var(--ink); text-decoration-color: var(--accent); }

.mp-foot { max-width: 1200px; margin: 0 auto; padding: 24px var(--m) 32px; color: var(--muted); font-size: .875rem; box-shadow: inset 0 1px 0 var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.mp-foot p { margin: 0; }
.mp-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.mp-foot a { color: var(--muted); text-decoration: none; }

@media (min-width: 768px) {
  :root { --m: 32px; }
  .mp-main { padding-top: 40px; }
  .mp-go { padding: 40px; }
  th, td { padding: 14px 18px; }
}
@media (max-width: 360px) {
  th, td { padding: 10px 8px; font-size: .875rem; }
  .mp-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .mp-btn { transition: none; } }
