/* RIVERSTONE Analytics — free model, matched to the v14 space theme */
:root{
  --bg: #05070b;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --line: rgba(255,255,255,.10);
  --blue: #2b7cff;
  --cyan: #00e5ff;
  --gold: rgba(255,209,102,.85);
  --shadow: 0 26px 110px rgba(0,0,0,.62);
  --radius: 18px;
  --wrap: 1180px;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; font-family:var(--sans); color:var(--text); background:var(--bg);
  font-size:16px; line-height:1.6; min-height:100vh;
}
body::before{
  content:""; position:fixed; inset:0;
  background:url("assets/space-bg.svg") center/cover no-repeat;
  opacity:.9; pointer-events:none; z-index:-2;
}
body::after{
  content:""; position:fixed; inset:0;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(43,124,255,.12), transparent 55%),
    radial-gradient(120% 90% at 50% 110%, rgba(0,229,255,.06), transparent 60%),
    linear-gradient(180deg, rgba(5,7,11,.70), rgba(5,7,11,.62));
  pointer-events:none; z-index:-1;
}
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; text-underline-offset:3px; }
.prose a, .link{ color:var(--cyan); }
img{ max-width:100%; display:block; }
.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 16px; }

/* NAV */
.nav{
  position:sticky; top:0; z-index:50; backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  background:rgba(6,10,16,.76); border-bottom:1px solid var(--line);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding:10px 0; }
.nav-brand{ display:flex; align-items:center; gap:12px; min-width:0; }
.nav-brand:hover{ text-decoration:none; }
.nav-logo{
  width:34px; height:34px; border-radius:999px; object-fit:cover;
  border:1px solid rgba(255,255,255,.12); box-shadow:0 18px 70px rgba(0,0,0,.55);
}
.nav-name{ font-weight:800; letter-spacing:.4px; font-size:15px; white-space:nowrap; }
.thin{ font-weight:600; opacity:.85; }
.nav-tag{ font-size:12px; color:var(--muted); margin-top:2px; }
.nav-links{ display:flex; align-items:center; gap:16px; white-space:nowrap; font-size:14px; }
.nav-links a{ color:var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"]{ color:var(--text); }
.nav-links .btn{ color:#06111a; }

/* CARDS */
.card{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.11); border-radius:var(--radius); box-shadow:var(--shadow);
}
.hero-card{ margin-top:14px; overflow:hidden; }
.hero-img{ width:100%; height:auto; max-height:300px; object-fit:cover; object-position:center; }

.strip{
  margin-top:12px; padding:14px 16px; display:flex; align-items:center; justify-content:space-between; gap:14px;
  background:
    radial-gradient(140% 160% at 15% 50%, rgba(43,124,255,.16), transparent 55%),
    radial-gradient(140% 160% at 85% 45%, rgba(0,229,255,.08), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
}
.strip-left{ display:flex; align-items:center; gap:14px; min-width:0; }
.strip-logo{ width:44px; height:44px; border-radius:999px; border:1px solid rgba(255,255,255,.12); object-fit:cover; }
.strip-name{ font-weight:900; letter-spacing:.5px; }
.strip-sub{ color:rgba(255,255,255,.75); font-size:13px; margin-top:2px; }
.strip-tag{ color:var(--gold); font-style:italic; margin-top:6px; font-size:14px; }

/* HERO GRID */
.grid{ margin-top:18px; display:grid; grid-template-columns:1.05fr .95fr; gap:14px; align-items:start; }
h1{ margin:10px 0 12px; font-size:clamp(28px, 3.4vw, 46px); line-height:1.12; letter-spacing:-0.6px; }
.lead{ margin:0 0 18px; color:var(--muted); font-size:17px; max-width:640px; }
.eyebrow{
  margin:0; font-size:12px; font-weight:800; letter-spacing:.14em; text-transform:uppercase;
  background:linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.cta{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
.pills{ display:flex; gap:10px; flex-wrap:wrap; }
.pill{
  font-size:12px; color:rgba(255,255,255,.72); padding:7px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.10); background:rgba(0,0,0,.18);
}

/* QR */
.qr-card{ padding:14px; }
.qr-title{ font-weight:800; margin-bottom:10px; }
.qr-wrap{
  display:flex; align-items:center; justify-content:center; width:100%; padding:14px;
  border-radius:14px; background:rgba(0,0,0,.22); border:1px solid rgba(255,255,255,.10);
}
.qr{ width:200px; height:200px; background:#fff; padding:8px; border-radius:8px; }
.qr img, .qr canvas{ width:100% !important; height:100% !important; }
.qr-row{ margin-top:12px; display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.qr-label{ font-size:12px; color:var(--muted); }
.qr-url{ font-family:var(--mono); font-size:12px; color:rgba(255,255,255,.78); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.qr-actions{ margin-top:12px; display:flex; gap:10px; flex-wrap:wrap; }

/* BUTTONS */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px; border-radius:12px; font-weight:800; font-size:15px; cursor:pointer;
  border:1px solid rgba(255,255,255,.10); box-shadow:0 14px 40px rgba(0,0,0,.28);
  font-family:inherit;
}
.btn:hover{ text-decoration:none; filter:brightness(1.08); }
.btn-small{ padding:9px 12px; border-radius:10px; font-size:13px; }
.btn-primary{
  background:linear-gradient(135deg, rgba(43,124,255,1), rgba(0,229,255,.35));
  color:#06111a; border-color:rgba(0,0,0,.18);
}
.btn-ghost{ background:rgba(255,255,255,.05); color:rgba(255,255,255,.90); border:1px solid rgba(255,255,255,.12); }

/* SECTIONS */
.section{ margin-top:34px; }
.section h2{ margin:0 0 10px; font-size:24px; letter-spacing:-.2px; }
.sub{ margin:0 0 14px; color:var(--muted); }
.page-head{ margin-top:18px; padding:28px 24px; }
.page-head h1{ margin-bottom:8px; }
.page-head .lead{ margin-bottom:0; }
.page-head .cta{ margin:18px 0 0; }

.tiles{ display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; }
.tiles.two{ grid-template-columns:repeat(2, 1fr); }
.tile{ padding:16px; background:rgba(255,255,255,.04); }
.tile h3{ margin:0 0 8px; font-size:16px; }
.tile p{ margin:0; color:var(--muted); font-size:14px; }
.num{
  width:30px; height:30px; border-radius:999px; display:grid; place-items:center;
  font-weight:900; font-size:14px; color:#06111a; margin-bottom:10px;
  background:linear-gradient(135deg, var(--blue), var(--cyan));
}

.panel{ padding:18px 20px; background:rgba(255,255,255,.04); }
.prose{ color:var(--muted); max-width:760px; }
.prose p{ margin:0 0 14px; }
.prose p:last-child{ margin-bottom:0; }
.prose strong{ color:var(--text); }
ol.steps{ margin:0 0 14px; padding-left:20px; }
ol.steps li{ margin:8px 0; }

.shot{
  min-height:240px; display:grid; place-items:center; text-align:center; padding:20px;
  color:var(--muted); font-size:14px; border-style:dashed;
}

.signal-demo{
  max-width:520px; padding:16px 18px; background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.10); border-left:4px solid #5865f2; border-radius:12px; font-size:14px;
}
.signal-demo .who{ font-weight:800; }
.signal-demo .who small{
  margin-left:6px; padding:1px 5px; border-radius:4px; font-size:10px; font-weight:800;
  background:#5865f2; color:#fff; vertical-align:middle;
}
.signal-demo dl{ display:grid; grid-template-columns:auto 1fr; gap:4px 14px; margin:10px 0 0; }
.signal-demo dt{ color:var(--muted); }
.signal-demo dd{ margin:0; font-weight:700; font-family:var(--mono); }

.notice{
  padding:16px 18px; font-size:14px; color:var(--muted);
  background:radial-gradient(140% 160% at 0% 50%, rgba(255,209,102,.10), transparent 60%), rgba(255,255,255,.04);
  border-color:rgba(255,209,102,.22);
}
.notice strong{ display:block; color:var(--gold); margin-bottom:4px; }

/* FOOTER */
.footer{
  margin:40px 0 18px; padding:16px 2px; border-top:1px solid var(--line);
  color:rgba(255,255,255,.66); font-size:13px; display:flex; flex-direction:column; gap:10px;
}
.footer nav{ display:flex; gap:16px; flex-wrap:wrap; }
.footer a{ color:rgba(255,255,255,.78); }
.footer .fine{ margin:0; max-width:820px; font-size:12px; color:rgba(255,255,255,.55); }

@media (max-width:980px){
  .grid{ grid-template-columns:1fr; }
  .tiles, .tiles.two{ grid-template-columns:1fr; }
  .hero-img{ max-height:none; }
}
@media (max-width:700px){
  .nav-inner{ flex-wrap:wrap; row-gap:8px; padding:10px 0 12px; }
  .nav-brand{ flex:1 0 100%; }
  .nav-links{ flex:1 0 100%; justify-content:flex-start; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .strip{ flex-direction:column; align-items:flex-start; }
  .strip .btn, .cta .btn{ width:100%; }
}

/* CONTACT FORM */
.contact-form{ display:grid; gap:14px; max-width:640px; }
.contact-form label{ display:grid; gap:6px; font-size:14px; font-weight:700; }
.contact-form input, .contact-form textarea{
  width:100%; padding:11px 12px; border-radius:10px; font:inherit; font-weight:400; font-size:15px;
  color:var(--text); background:rgba(0,0,0,.28); border:1px solid rgba(255,255,255,.14);
}
.contact-form input:focus, .contact-form textarea:focus{ outline:none; border-color:var(--cyan); box-shadow:0 0 0 3px rgba(0,229,255,.15); }
.contact-form textarea{ resize:vertical; }
.contact-form .btn{ width:fit-content; }
.fine-note{ margin:0; font-size:12px; color:rgba(255,255,255,.55); }
.hp{ position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
#status{ margin-bottom:12px; }
@media (max-width:700px){ .contact-form .btn{ width:100%; } }

/* SCREENSHOT */
.shot-fig{ margin:0; padding:10px; overflow:hidden; }
.shot-fig img{ width:100%; height:auto; border-radius:10px; }
.shot-fig figcaption{ padding:10px 4px 2px; font-size:12px; color:rgba(255,255,255,.60); }
