/* Shared styles for the static pages: landing, privacy, terms.
   The app itself is styled by Tailwind (src/index.css). */
:root {
  --paper: #f4ede2;
  --ink: #1a1614;
  --muted: #6b6258;
  --line: #d9cfbf;
  --seal: #9a3b26;
  --card: #fbf7ef;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171310;
    --ink: #f1e9dc;
    --muted: #a39a8c;
    --line: #342d27;
    --seal: #e0866c;
    --card: #1f1a16;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--seal); text-underline-offset: 3px; }
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }
header.site {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }
.brand img { width: 28px; height: 28px; border-radius: 6px; }
.brand span { font: 600 1.35rem/1 Georgia, "Fraunces", serif; letter-spacing: .01em; }
nav.site { display: flex; gap: 1.1rem; font-size: .95rem; flex-wrap: wrap; justify-content: flex-end; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover { color: var(--ink); text-decoration: underline; }
main { padding: 2.5rem 0 3rem; }
h1 { font: 600 2.2rem/1.2 Georgia, "Fraunces", serif; margin: 0 0 .75rem; }
h2 { font: 600 1.3rem/1.3 Georgia, "Fraunces", serif; margin: 2.2rem 0 .5rem; }
h3 { font-size: 1rem; margin: 1.4rem 0 .3rem; }
p, ul, ol { margin: .6rem 0; }
li { margin: .25rem 0; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36rem; }
.meta { color: var(--muted); font-size: .9rem; }
.cta {
  display: inline-block; margin: 1.2rem 0 .4rem; padding: .7rem 1.2rem;
  background: var(--ink); color: var(--paper); border-radius: 6px;
  text-decoration: none; font-weight: 500;
}
.cta:hover { opacity: .88; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: 1rem 1.15rem; margin: 1rem 0;
}
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; padding-left: 2.2rem; position: relative; margin: .9rem 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: .1rem;
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  border: 1px solid var(--seal); color: var(--seal);
  display: grid; place-items: center; font-size: .85rem;
}
table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 500; }
code { font: .9em "IBM Plex Mono", ui-monospace, Menlo, monospace; background: var(--card); padding: .08rem .3rem; border-radius: 4px; }
footer.site { border-top: 1px solid var(--line); padding: 1.4rem 0 2rem; color: var(--muted); font-size: .9rem; }
footer.site a { color: var(--muted); }
@media (max-width: 520px) {
  h1 { font-size: 1.8rem; }
  th, td { padding: .5rem .35rem; }
}
