/* Shared styling for the standalone content pages (privacy, support).
   Design tokens mirror the inline styles in index.html. */

:root {
  --ink: #0f172a;
  --body: #43506a;
  --muted: #6b7690;
  --paper: #ffffff;
  --tint: #f5f6fb;
  --line: #e4e7f0;
  --accent: #4f46e5;
  --accent-ink: #4338ca;
  --accent-soft: #eef0fe;
  --card-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -16px rgba(36, 31, 107, .18);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eceef8;
    --body: #aab2c8;
    --muted: #7e87a3;
    --paper: #0d1021;
    --tint: #131731;
    --line: #262c4d;
    --accent: #4f46e5;
    --accent-ink: #a5b0fc;
    --accent-soft: #1c2046;
    --card-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -16px rgba(0, 0, 0, .5);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--body);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { color: var(--ink); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); letter-spacing: -0.02em; }
h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.02rem, 1.6vw, 1.15rem); max-width: 34em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 4px 5px,
    linear-gradient(currentColor, currentColor) 5px 100% / 4px 9px,
    linear-gradient(currentColor, currentColor) 10px 100% / 4px 13px;
  background-repeat: no-repeat;
}

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: .92rem; font-weight: 600; }
.nav-links a { color: var(--body); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* ---- Page head ---- */
.page-head { background: var(--tint); border-bottom: 1px solid var(--line); padding: 64px 0 56px; }
.page-head .eyebrow { margin-bottom: 14px; }
.page-head p { margin-top: 16px; }
.updated { display: block; margin-top: 20px; font-size: .88rem; color: var(--muted); }

/* ---- Prose ---- */
.prose { padding: 56px 0 72px; max-width: 44em; }
.prose h2 { margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 8px; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 16px 1.15em; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }

.callout {
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 24px 0;
  box-shadow: var(--card-shadow);
}
.callout p:last-child { margin-bottom: 0; }

.contact-card {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 24px 0;
}
.contact-card p:last-child { margin-bottom: 0; }

/* ---- Footer ---- */
footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: .9rem; color: var(--muted); }
.foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot .brand { font-size: 1rem; }
.foot .spacer { margin-left: auto; display: flex; gap: 20px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .foot .spacer { margin-left: 0; }
}
