/* spendjot.stackframes.dev: same look as the app (Shared/Theme.swift): black and white, Geist, rounded, flat. */
@font-face { font-family: Geist; src: url(/fonts/geist.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root { color-scheme: light dark; --bg: #fff; --surface: #f3f3f3; --ink: #000; --ink2: #5f5f5f; --line: #e6e6e6;
  font-family: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
@media (prefers-color-scheme: dark) { :root { --bg: #000; --surface: #161616; --ink: #fff; --ink2: #a0a0a0; --line: #2a2a2a; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 24px; }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { border-radius: 8px; outline: 1px solid var(--line); outline-offset: -1px; }
nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
nav a { color: var(--ink2); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--ink); }
main { flex: 1; }
.hero { padding: 72px 0 56px; text-align: center; }
.hero h1 { font-size: clamp(40px, 8vw, 72px); line-height: 1.03; letter-spacing: -0.045em; font-weight: 700; margin: 0 auto 20px; max-width: 13ch; }
.hero p { color: var(--ink2); font-size: 20px; max-width: 34em; margin: 0 auto 28px; }
.pill { display: inline-block; background: var(--ink); color: var(--bg); font-weight: 500; border-radius: 999px; padding: 14px 26px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; padding-bottom: 80px; }
.card { background: var(--surface); border-radius: 24px; padding: 24px; }
.card h2, .card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; margin: 0 0 6px; }
.card p { margin: 0; color: var(--ink2); font-size: 16px; }
.doc { max-width: 720px; padding-top: 32px; padding-bottom: 80px; }
.doc h1 { font-size: clamp(34px, 6vw, 46px); letter-spacing: -0.04em; line-height: 1.1; margin: 0 0 8px; }
.doc h2 { font-size: 22px; letter-spacing: -0.025em; margin: 40px 0 8px; }
.doc .card { margin-bottom: 12px; }
.doc li { margin-bottom: 8px; }
.muted { color: var(--ink2); font-size: 15px; }
footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-top: 28px; padding-bottom: 36px; color: var(--ink2); font-size: 14px; }
footer nav a { font-size: 14px; }
