/* Priva — marketing + legal site. Styled to match the Meoa design system
   (meoa.space / later.meoa.space / commanddeck.meoa.space):
   Geist + Geist Mono, near-black teal-gray surfaces, cyan primary,
   purple secondary, glassmorphism panels. */

:root {
  --bg: #0c0e0f;
  --bg-2: #101415;
  --surface: #1f2526;
  --line: #ffffff14;
  --line-soft: #ffffff0d;

  --text: #ffffff;
  --muted: #c4c6d0;
  --faint: #859399;

  --cyan: #00d1ff;
  --cyan-deep: #00b7d7;
  --teal: #00d294;
  --purple: #9d50ff;
  --purple-soft: #c07eff;
  --amber: #f59e0b;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient glow background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 18% -5%, #00d1ff1f, transparent 70%),
    radial-gradient(50% 45% at 95% 0%, #9d50ff1c, transparent 70%),
    radial-gradient(40% 40% at 50% 110%, #00d2941a, transparent 70%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }

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

/* ---------- mono eyebrow label ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

/* ---------- nav ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: #0c0e0fcc;
  border-bottom: 1px solid var(--line-soft);
}
nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 600; letter-spacing: -0.01em; }
.brand .logo {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: grid; place-items: center;
  box-shadow: 0 0 22px #00d1ff44;
}
.brand .logo svg { width: 18px; height: 18px; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
@media (max-width: 640px) { .nav-links a.hide-sm { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 500;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
  color: #04181d;
  font-weight: 600;
  box-shadow: 0 8px 30px #00d1ff33;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 38px #00d1ff4d; }
.btn-ghost {
  background: var(--line-soft);
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-ghost:hover { background: #ffffff14; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

/* ---------- hero ---------- */
header.hero { padding: 92px 0 64px; }
.hero-grid { display: grid; gap: 40px; }
.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 22px 0 0;
}
.hero h1 .grad {
  background: linear-gradient(115deg, var(--cyan) 10%, var(--purple-soft) 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: clamp(17px, 2.3vw, 20px);
  color: var(--muted);
  max-width: 620px;
  margin: 22px 0 0;
}
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .assurance {
  display: flex; flex-wrap: wrap; gap: 18px 26px;
  margin-top: 30px; font-size: 13.5px; color: var(--faint);
  font-family: var(--font-mono);
}
.hero .assurance span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }

/* device mock */
.mock {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #ffffff0d, #ffffff03);
  padding: 18px;
  overflow: hidden;
}
.mock-bar { display: flex; gap: 7px; margin-bottom: 14px; }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ffffff1f; display: block; }
.mock-canvas {
  border-radius: 16px;
  aspect-ratio: 16/10;
  background:
    radial-gradient(circle at 32% 42%, #2a3942, transparent 38%),
    radial-gradient(circle at 68% 60%, #2a3942, transparent 36%),
    linear-gradient(160deg, #16303a, #0d171b);
  position: relative;
  overflow: hidden;
}
.redact {
  position: absolute; border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: 0 0 0 1px #ffffff22, 0 8px 24px #00000066;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px; color: #04181d; font-weight: 600;
}
.redact.r1 { left: 22%; top: 30%; width: 96px; height: 96px; }
.redact.r2 { left: 58%; top: 48%; width: 84px; height: 84px; filter: blur(0.2px); }
.scan {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: scan 3.4s ease-in-out infinite;
}
@keyframes scan { 0%,100% { top: 6%; opacity:.3 } 50% { top: 92%; opacity:1 } }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
}

/* ---------- sections ---------- */
section { padding: 76px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em; font-weight: 600; margin-top: 16px;
}
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

/* feature grid */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #ffffff0d, #ffffff03);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: #00d1ff44; }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: #00d1ff14; border: 1px solid #00d1ff33; color: var(--cyan);
}
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

/* steps */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.step { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; background: var(--bg-2); }
.step .n {
  counter-increment: s; font-family: var(--font-mono); font-size: 13px; color: var(--cyan);
  border: 1px solid #00d1ff33; border-radius: 8px; width: 34px; height: 34px;
  display: grid; place-items: center; margin-bottom: 16px;
}
.step .n::before { content: "0" counter(s); }
.step h3 { font-size: 17px; font-weight: 600; }
.step p { color: var(--muted); font-size: 14.5px; margin-top: 7px; }

/* styles chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  font-family: var(--font-mono); font-size: 13px;
  padding: 9px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--line-soft); color: var(--muted);
}
.chip b { color: var(--text); font-weight: 500; }

/* privacy banner */
.banner {
  border: 1px solid #00d1ff2e;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 140% at 0% 0%, #00d1ff14, transparent 60%),
    linear-gradient(135deg, #ffffff0d, #ffffff03);
  padding: 48px;
  text-align: center;
}
.banner h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.03em; font-weight: 600; }
.banner p { color: var(--muted); max-width: 560px; margin: 14px auto 0; }
.banner .cta { display: flex; justify-content: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* sibling apps */
.apps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.app-row {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 18px; background: var(--bg-2); transition: border-color .2s, transform .2s;
}
.app-row:hover { border-color: #9d50ff44; transform: translateY(-3px); }
.app-row .badge { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 600; color: #04181d; }
.app-row h4 { font-size: 15px; font-weight: 600; }
.app-row span { font-size: 13px; color: var(--faint); }

/* ---------- legal pages ---------- */
.legal { padding: 56px 0 80px; }
.legal .doc { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); letter-spacing: -0.03em; font-weight: 600; }
.legal .updated { font-family: var(--font-mono); font-size: 13px; color: var(--faint); margin-top: 12px; }
.legal h2 {
  font-size: 21px; font-weight: 600; letter-spacing: -0.01em;
  margin: 40px 0 12px; padding-top: 18px; border-top: 1px solid var(--line-soft);
}
.legal h3 { font-size: 16px; font-weight: 600; margin: 22px 0 8px; color: var(--cyan); }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; }
.legal p { margin: 10px 0; }
.legal ul { margin: 10px 0 10px 22px; }
.legal li { margin: 6px 0; }
.legal strong { color: var(--text); font-weight: 600; }
.legal .lede { font-size: 17px; color: var(--text); }
.legal a { color: var(--cyan); }
.legal a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line-soft); padding: 48px 0 60px; margin-top: 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
footer .f-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; color: var(--muted); }
footer .f-links a:hover { color: var(--text); }
footer .f-meta { font-size: 13px; color: var(--faint); font-family: var(--font-mono); }

.spacer-sm { height: 8px; }
