/* Shared look for the static text pages (privacy policy, sync guide). Same tokens as index.html. */
:root {
  --bg: #f5f5f4; --panel: #ffffff; --text: #1c1917; --muted: #57534e; --line: #e7e5e4;
  --accent: #1f3f94; --on-accent: #ffffff; --hl: rgb(31 63 148 / .1); --gold: #9a752b; --gold-hl: rgb(154 117 43 / .12);
  --shadow: 0 1px 2px rgb(0 0 0 / .05), 0 14px 30px -14px rgb(70 50 30 / .35);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #161412; --panel: #211e1b; --text: #f5f5f4; --muted: #b8b2ac; --line: #35302c; --accent: #86a8f5; --on-accent: #12100f; --hl: rgb(134 168 245 / .13); --gold: #d8b868; --gold-hl: rgb(216 184 104 / .13); --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 14px 30px -14px rgb(0 0 0 / .8); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
.wrap { width: min(760px, 100% - 32px); margin-inline: auto; }

header.top { display: flex; align-items: center; gap: 12px; padding: 18px 0; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 34px; height: 34px; }
.wordmark { font-family: Palatino, 'Palatino Linotype', 'Book Antiqua', Georgia, 'Times New Roman', serif; font-size: 25px; letter-spacing: .01em; }
.wordmark b { font-weight: inherit; color: var(--gold); }
.top nav { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.top nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-size: 15px; }
.top nav a:hover, .top nav a[aria-current="page"] { background: var(--hl); color: var(--text); }

main { padding: 24px 0 48px; }
.eyebrow { display: inline-block; padding: 4px 12px; border-radius: 99px; background: var(--gold-hl); color: var(--gold); font-weight: 600; font-size: 14px; }
h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.1; letter-spacing: -.02em; margin: 14px 0 12px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; }
h2 { font-size: 24px; letter-spacing: -.01em; line-height: 1.2; margin: 40px 0 10px; }
h3 { font-size: 18px; margin: 24px 0 6px; }
p, li { max-width: 42em; }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
li::marker { color: var(--gold); }
.muted { color: var(--muted); }
code { font-size: .92em; background: var(--hl); padding: 1px 6px; border-radius: 6px; }

.box { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); margin: 20px 0; }
.box > :first-child { margin-top: 0; }
.box > :last-child { margin-bottom: 0; }
.box.note { background: var(--hl); border-color: transparent; box-shadow: none; }

/* Numbered steps in the guide */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 14px; }
.steps > li { counter-increment: step; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px 18px 70px; position: relative; box-shadow: var(--shadow); margin: 0; max-width: none; }
.steps > li::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 700; }
.steps h3 { margin: 4px 0 6px; }
.steps p { margin: 0 0 8px; }
.steps p:last-child { margin-bottom: 0; }

/* Plain table for the overview of stored data */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 14px; }

footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 15px; display: flex; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 700px) {
  body { font-size: 16px; }
  .top nav { margin-left: 0; width: 100%; }
  .steps > li { padding: 62px 16px 16px; }
  .steps > li::before { left: 16px; top: 16px; }
}
