/* ─────────────────────────────────────────────────────────────────────────
   Shared styling for vado.run's content pages (privacy, support).

   The landing page keeps its own inlined styles — it is a single-screen brand
   moment with a splash and an animation, and nothing here should touch it.
   These are the long-form, read-it-properly pages, so the priorities differ:
   measure, line-height and contrast come first, brand second.

   Founder-locked palette only (docs/superpowers/specs/brand/): the ink
   gradient (#141A22 → #090C11) and the lime gradient (#DAFF67 → #A6E016).
   ───────────────────────────────────────────────────────────────────────── */
:root {
  --ink-top: #141A22;
  --ink-bottom: #090C11;
  --lime-a: #DAFF67;
  --lime-b: #A6E016;
  --text: #EAF0F2;
  --text-dim: #8B97A0;
  --rule: rgba(255, 255, 255, 0.10);
  --panel: rgba(255, 255, 255, 0.045);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, var(--ink-top) 0%, var(--ink-bottom) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* long-form body copy wants more air than the landing page's display type */
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 700px; margin: 0 auto; padding: 32px 24px 80px; }

/* ── masthead: the A1 mark at reading scale, always a way home ── */
.top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  text-decoration: none;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  width: fit-content;
}
.top svg { width: 26px; height: 26px; display: block; }
.top:hover { color: var(--text); }

h1 {
  margin: 0 0 6px;
  font-size: clamp(1.75rem, 6vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--lime-a), var(--lime-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h2 {
  margin: 44px 0 10px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
h3 { margin: 28px 0 6px; font-size: 1.02rem; color: var(--text); }

p { margin: 0 0 15px; }
ul { margin: 0 0 15px; padding-left: 22px; }
li { margin: 0 0 9px; }
strong { color: #FFFFFF; font-weight: 600; }

a { color: var(--lime-a); text-underline-offset: 3px; }
a:hover { color: #FFFFFF; }
/* the same lime focus ring the landing page's field and button use */
a:focus-visible, .top:focus-visible {
  outline: 2px solid var(--lime-a);
  outline-offset: 3px;
  border-radius: 3px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 5px;
  padding: 1px 5px;
}

.effective {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 11px 16px;
  margin: 20px 0 26px;
  font-size: 15px;
  color: var(--text-dim);
}
.effective strong { color: var(--text); }

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

/* contact block — the one thing most people arrive looking for */
.contact {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 26px 0;
}
.contact p:last-child { margin-bottom: 0; }
.contact .addr {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
/* The support address is the primary action on that page and gets tapped on a
   phone, so give it a 44px-tall target instead of the ~22px a bare inline link
   would leave. */
.contact .addr a {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
  padding-right: 4px;
}

footer {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  color: var(--text-dim);
  font-size: 14px;
}
footer a { color: var(--text-dim); text-decoration: none; }
footer a:hover { color: var(--lime-a); text-decoration: underline; }
footer .sep { opacity: 0.4; margin: 0 8px; }

@media (prefers-reduced-motion: reduce) {
  body { background-attachment: scroll; }
}
