/* Zaviro Live — public site.
 *
 * One stylesheet for the landing page and every legal page, because Google's
 * reviewer opens the policy URLs directly and they must not look like orphaned
 * text files.
 *
 * Palette is taken from the launcher icon: gold on near-black, with the magenta
 * and blue neon as accents. Nothing here is theme-switchable — the site is
 * dark-only, unlike the Miva build. */

:root {
  --bg: #08060d;
  --bg-raised: #12101c;
  --bg-card: #171426;
  --line: #2a2540;

  --gold: #f0d060;
  --gold-bright: #ffe07a;
  --magenta: #e055c8;
  --blue: #4aa3ff;

  --ink: #f4f2fa;
  --ink-muted: #a9a3c2;

  --radius: 16px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); text-decoration: underline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------- header */

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 6, 13, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 19px; color: var(--ink); }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 10px; display: block; }

nav.site { margin-left: auto; display: flex; flex-wrap: wrap; gap: 22px; }
nav.site a { color: var(--ink-muted); font-size: 15px; }
nav.site a:hover { color: var(--gold); text-decoration: none; }

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  text-align: center;
}

/* Two soft radial washes rather than an image: the page has to load fast on a
 * phone and there is no marketing artwork yet. */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .30;
  pointer-events: none;
}
.hero::before { background: var(--magenta); top: -280px; left: -180px; }
.hero::after  { background: var(--blue);    top: -220px; right: -200px; }

.hero .inner { position: relative; z-index: 1; }

.hero img.mark {
  width: 128px; height: 128px;
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(240, 208, 96, .28);
  margin-bottom: 28px;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.1;
  letter-spacing: -.02em;
  background: linear-gradient(100deg, var(--gold-bright), var(--gold) 45%, var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 0 auto 14px;
  max-width: 640px;
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--ink);
}

.sub { margin: 0 auto; max-width: 620px; color: var(--ink-muted); }

.pill {
  display: inline-block;
  margin-bottom: 26px;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-raised);
  color: var(--ink-muted);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cta-row { margin-top: 36px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 16px;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(100deg, var(--gold-bright), var(--gold));
  color: #1a1405;
}
.btn-primary:hover { color: #1a1405; text-decoration: none; filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--bg-raised); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }

/* --------------------------------------------------------------- sections */

section { padding: 76px 0; border-top: 1px solid var(--line); }

h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 34px);
  letter-spacing: -.01em;
}
.section-sub { margin: 0 0 44px; color: var(--ink-muted); max-width: 620px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--ink-muted); font-size: 15px; }
.card .glyph { font-size: 26px; display: block; margin-bottom: 14px; }

/* ---------------------------------------------------------------- footer */

footer.site {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
  color: var(--ink-muted);
  font-size: 14px;
}
footer.site .cols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 38px; }
footer.site h4 { margin: 0 0 14px; color: var(--ink); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
footer.site ul { margin: 0; padding: 0; list-style: none; }
footer.site li { margin-bottom: 9px; }
footer.site a { color: var(--ink-muted); }
footer.site a:hover { color: var(--gold); }
footer.site .base { padding-top: 26px; border-top: 1px solid var(--line); }

/* ------------------------------------------------------------ legal pages */

.legal { padding: 60px 0 96px; }
.legal .wrap { max-width: 800px; }

.legal h1 {
  font-size: clamp(28px, 4vw, 40px);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--ink);
  margin-bottom: 8px;
}
.legal .updated { color: var(--ink-muted); font-size: 14px; margin: 0 0 44px; }
.legal h2 { font-size: 21px; margin: 44px 0 12px; color: var(--gold); }
.legal h3 { font-size: 17px; margin: 28px 0 8px; }
.legal p, .legal li { color: #d9d5ea; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 8px; }

.legal .callout {
  margin: 32px 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  background: var(--bg-card);
}
.legal .callout p:last-child { margin-bottom: 0; }
.legal .callout strong { color: var(--ink); }

/* Contact addresses written without a mailto:, so Cloudflare's Email Address
 * Obfuscation cannot swap them for "[email protected]". Styled like a link so
 * they still read as something you are meant to write to. The inner span holds
 * only the @ — that split is what defeats the rewriter, so do not collapse it. */
.mail { color: var(--gold); white-space: nowrap; }
.mail span { color: inherit; }

table.legal-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
table.legal-table th, table.legal-table td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
table.legal-table th { background: var(--bg-card); color: var(--ink); font-weight: 650; }
table.legal-table td { color: #d9d5ea; }

.back { display: inline-block; margin-bottom: 28px; color: var(--ink-muted); font-size: 14px; }

@media (max-width: 640px) {
  .hero { padding: 64px 0 56px; }
  section { padding: 56px 0; }
  nav.site { gap: 14px; width: 100%; }
  header.site .wrap { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
}
