/* Trading Data Backup — public OAuth pages for rollerwatch.com
   Plain CSS, no tracking, no external fonts or scripts. */
:root {
  --bg: #f6f4ef;
  --card: #fffdf8;
  --ink: #1c1b16;
  --muted: #5c584e;
  --line: #d9d3c6;
  --accent: #1f4d3a;
  --accent-2: #16382b;
  --max: 42rem;
}
* { box-sizing: border-box; }
html { font-size: 18px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.65;
}
header, main, footer { width: min(var(--max), calc(100% - 2.5rem)); margin-left: auto; margin-right: auto; }
header {
  padding: 2.25rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
}
header p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.95rem; }
.brand {
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 1.65rem;
  letter-spacing: 0.01em;
  color: var(--accent-2);
  text-decoration: none;
}
nav { margin-top: 0.9rem; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 0.9rem; }
nav a { color: var(--accent); margin-right: 1.1rem; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; }
main { padding: 2rem 0 3rem; }
h1, h2, h3 { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.25; color: var(--accent-2); }
h1 { font-size: 1.85rem; margin: 0 0 1rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 0.6rem; }
h3 { font-size: 1.05rem; margin: 1.4rem 0 0.4rem; }
p, li { max-width: 65ch; }
ul { padding-left: 1.2rem; }
a { color: var(--accent); }
.lede { font-size: 1.08rem; }
.note {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  padding: 0.9rem 1rem;
  margin: 1.4rem 0;
}
footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 2.5rem;
  color: var(--muted);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.85rem;
}
footer a { color: var(--muted); }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; }
@media (max-width: 480px) {
  html { font-size: 17px; }
  h1 { font-size: 1.55rem; }
  .brand { font-size: 1.4rem; }
  header, main, footer { width: min(var(--max), calc(100% - 1.75rem)); }
  nav a { display: inline-block; margin: 0 1rem 0.35rem 0; }
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161513;
    --card: #1e1c19;
    --ink: #f3efe6;
    --muted: #b3ad9f;
    --line: #3a372f;
    --accent: #8fbfa8;
    --accent-2: #d7ece2;
  }
}
