/* Ulbo's site. Same palette and type as the app, so the two feel like one
   thing — brand yellow, ink black, Inter for prose, Iosevka-ish mono for the
   receipt-flavoured details. */

:root {
  --brand: #ffff63;
  --sprout: #c2ff93;
  --mist: #b6ffec;
  --ink: #14130e;
  --muted: #666;
  --rule: #e4e2d6;
  --surface: #fff;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.5rem; }

/* ---- landing ---- */
.hero { background: var(--brand); padding: 5rem 0 4rem; }
.hero h1 { font-size: clamp(2rem, 7vw, 3rem); margin: 1.25rem 0 .5rem; letter-spacing: -.02em; }
.hero p { font-size: 1.15rem; margin: 0; max-width: 30rem; }
.mark { width: 84px; height: auto; display: block; }

.steps { list-style: none; padding: 0; margin: 3rem 0; display: grid; gap: 1.25rem; }
.steps li { display: grid; grid-template-columns: 2.4rem 1fr; align-items: baseline; }
.steps b { font-family: var(--mono); font-weight: 400; color: var(--muted); font-size: .95rem; }

.panel { background: var(--mist); padding: 2.5rem 0; margin: 3rem 0 0; }
.panel.green { background: var(--sprout); }
.panel h2 { margin-top: 0; }

/* ---- documents ---- */
.doc { padding: 3rem 0 5rem; }
.doc h1 { font-size: 2rem; letter-spacing: -.02em; margin-bottom: .25rem; }
.doc h2 { font-size: 1.15rem; margin-top: 2.5rem; border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.doc .updated { font-family: var(--mono); font-size: .9rem; color: var(--muted); margin-top: 0; }
.doc table { border-collapse: collapse; width: 100%; margin: 1rem 0; }
.doc th, .doc td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--rule); font-size: .95rem; }
.doc th { font-family: var(--mono); font-weight: 400; color: var(--muted); }

/* Anything still needing a real value before this goes live. Loud on purpose:
   publishing a policy with a placeholder in it is worse than not having one. */
.todo {
  background: #ffe08a;
  border-bottom: 2px solid #b26a00;
  padding: 0 .25em;
  font-family: var(--mono);
  font-size: .9em;
}

a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

nav { font-family: var(--mono); font-size: .9rem; }
nav a { margin-right: 1.25rem; }

footer {
  border-top: 1px solid var(--rule);
  margin-top: 4rem;
  padding: 2rem 0 3rem;
  font-family: var(--mono);
  font-size: .85rem;
  color: var(--muted);
}
footer a { color: var(--muted); }

@media (prefers-color-scheme: dark) {
  :root { --surface: #14130e; --ink: #f2efe4; --muted: #9a9584; --rule: #302d24; }
  .hero, .panel { color: #14130e; }
  .hero a, .panel a { color: #14130e; }
}
