/* Replr website — shared base styles.
   Lean, no framework, mirrors src/assets/styles/tokens.css.
   Real landing-page CSS gets added when the hi-fi design lands. */

:root {
  --bg-page: #fdfbf7;
  --bg-card: #ffffff;
  --bg-soft: #f7f3eb;
  --bg-muted: #efe9dd;

  --ink-strong: #261810;
  --ink: #3a2b22;
  --ink-soft: #5c4b3f;
  --ink-mute: #8d7c70;

  --acc: #c97c3f;
  --acc-strong: #a85f2a;
  --acc-tint: #f5e9d7;

  --ok: #5a9a4b;
  --line: #e7e2d5;

  --shadow-md: 0 8px 24px rgba(38, 24, 16, 0.08);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-strong);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--acc-strong);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease;
}
a:hover { border-bottom-color: var(--acc-strong); }

/* Shared chrome — used by privacy + terms.
   The landing page (index.html) ships its own scoped styles
   inline once the design lands so it can override freely. */
.doc-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}
.doc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}
.doc-nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-strong);
  border: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.doc-nav .brand .mark {
  width: 24px; height: 24px;
}
.doc-nav .links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}
.doc-nav .links a {
  color: var(--ink-soft);
}

.doc-shell h1 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
}
.doc-shell .lede {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0 0 36px;
}
.doc-shell h2 {
  font-size: 20px;
  margin: 40px 0 12px;
  letter-spacing: -0.015em;
}
.doc-shell h3 {
  font-size: 16px;
  margin: 28px 0 8px;
}
.doc-shell p, .doc-shell li {
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.65;
}
.doc-shell ul, .doc-shell ol { padding-left: 22px; }
.doc-shell li + li { margin-top: 6px; }
.doc-shell code {
  font-family: var(--font-mono);
  font-size: 13.5px;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ink-strong);
}
.doc-shell hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}
.doc-shell .footer-note {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-mute);
}
.doc-shell .footer-note a { color: var(--ink-soft); }

@media (max-width: 540px) {
  .doc-shell { padding: 32px 18px 64px; }
  .doc-shell h1 { font-size: 28px; }
  .doc-nav { margin-bottom: 32px; }
}
