/* LiveWatch legal pages (privacy + terms) — shared stylesheet.
   External rather than inline because CLAUDE.md forbids inline styles that
   are shared across two or more pages. Served from /apps/humblewatches/css/,
   referenced by absolute path so the /livewatch/* rewrite still resolves it.
   Palette + chrome copied from apps/app_001-notary/index.html so the pages
   match the rest of the site exactly. */

@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 300 600; font-display: optional; src: url('/fonts/dm-sans-latin.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: optional; src: url('/fonts/jb-mono-latin.woff2') format('woff2'); }

:root {
  --bg:        #f6f5f1;
  --bg-card:   #ffffff;
  --border:    #e5e3dd;
  --text:      #111110;
  --text-muted:#4a4844;
  --text-faint:#5a5854;
  --accent:    #e8531a;
  --accent-text:#b84415;
  --accent-bg: #fef0ea;
  --accent-border:#fad4c0;
  --font-body: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Monaco, monospace;
}
[data-dark="true"] {
  --bg:        #0e0d0b;
  --bg-card:   #211f1b;
  --border:    #2e2b26;
  --text:      #f0ede6;
  --text-muted:#a8a59d;
  --text-faint:#8c8985;
  --accent:    #f06535;
  --accent-text:#ff8a50;
  --accent-bg: #1c0e07;
  --accent-border:#3a1a0a;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s, color 0.25s;
}

/* ── Nav (matches CLAUDE.md spec) ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  flex-wrap: nowrap;
  gap: 1rem;
}
.nav-brand { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.nav-brand img { width: 20px; height: 20px; opacity: 0.7; flex-shrink: 0; }
.exp-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-text);
  border: 1px solid var(--accent-border);
  background: var(--accent-bg);
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.nav-brand a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-brand a:hover { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.donate-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-text);
  text-decoration: none;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--accent-border);
  background: var(--accent-bg);
  border-radius: 100px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.donate-link:hover { background: var(--accent); color: #fff; }
.dark-toggle {
  width: 44px;
  height: 24px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.dark-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text-faint);
  transition: transform 0.22s cubic-bezier(.4,0,.2,1), background 0.2s;
}
[data-dark="true"] .dark-toggle::after { transform: translateX(20px); background: var(--accent); }

/* ── Document body ── */
main { max-width: 720px; margin: 0 auto; padding: clamp(2rem, 6vw, 4rem) 1.5rem; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 1rem;
}
h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
h2 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
h2:first-of-type { border-top: none; padding-top: 0; margin-top: 2rem; }
p { margin: 0 0 1rem; color: var(--text-muted); text-wrap: pretty; }
p.lede { font-size: 1.05rem; line-height: 1.65; max-width: 56ch; }
ul { margin: 0 0 1rem; padding-left: 1.25rem; color: var(--text-muted); }
li { margin-bottom: 0.5rem; text-wrap: pretty; }
strong { color: var(--text); font-weight: 600; }
code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: 6px;
  padding: 0.1rem 0.35rem;
  overflow-wrap: anywhere;
}
a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { color: var(--accent); }
.meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  padding: 0.4rem 0.85rem;
  border: 1px dashed var(--border);
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.callout {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
}
.callout p:last-child { margin-bottom: 0; }
.placeholder {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--accent-text);
  background: var(--accent-bg);
  border: 1px dashed var(--accent-border);
  border-radius: 6px;
  padding: 0.1rem 0.4rem;
}
.back-link {
  display: inline-block;
  margin-top: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.back-link:hover { color: var(--accent); }

/* ── Donation block (matches CLAUDE.md spec) ── */
.donation-block {
  margin: 3rem auto 0;
  padding: 2rem 1.5rem;
  max-width: 560px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.donation-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-wrap: pretty;
}
.donation-btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-text);
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border: 1.5px solid var(--accent);
  background: var(--accent-bg);
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}
.donation-btn:hover { background: var(--accent); color: #fff; }

/* ── Focus + reduced motion ── */
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ── Mobile (down to 320px) ── */
@media (max-width: 540px) {
  nav { padding: 0.75rem 1rem; gap: 0.5rem; }
  .nav-brand a { font-size: 0.78rem; }
  .donate-link { font-size: 0.72rem; padding: 0.3rem 0.65rem; }
  main { padding: 2rem 1rem; }
  .donation-block { padding: 1.5rem 1rem; }
}
