/* Shared styles for the static, crawlable pages (guide, privacy, 404). */

:root {
  --brand: #0b57d0;
  --brand-dark: #0a3d91;
  --ink: #0b1b2b;
  --muted: #55677a;
  --line: #dbe7f3;
  --card: #ffffff;
  --bg: #f3f7fb;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
}

a {
  color: var(--brand);
}

.site-header {
  background: var(--brand-dark);
  color: #fff;
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.site-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

main {
  padding: 2.4rem 0 3rem;
}

article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  box-shadow: 0 1px 2px rgba(8, 30, 60, 0.05), 0 2px 10px rgba(8, 30, 60, 0.05);
}

h1 {
  margin: 0 0 0.6rem;
  font-size: 1.7rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.2rem;
}

h3 {
  margin: 1.4rem 0 0.35rem;
  font-size: 1rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.3rem;
}

li {
  margin-bottom: 0.4rem;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
}

.updated {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.note {
  margin: 1.2rem 0;
  padding: 0.8rem 1rem;
  border-left: 4px solid var(--brand);
  background: #eef3ff;
  border-radius: 0 10px 10px 0;
  font-size: 0.94rem;
}

.back {
  display: inline-block;
  margin-top: 1.4rem;
  font-weight: 600;
}

footer.site {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.88);
  padding: 1.4rem 0;
  font-size: 0.86rem;
}

footer.site .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  justify-content: space-between;
}

footer.site a {
  color: rgba(255, 255, 255, 0.88);
}

footer.site a:hover {
  color: #fff;
}

.center {
  text-align: center;
}
