/* Antessia Relay Control - public landing page.
   Self-contained, offline-safe premium dark theme. No external fonts or assets;
   system font stack only (matches the admin shell's Inter-first stack). ASCII '-'
   only in this file. Motion is gated behind prefers-reduced-motion. */

:root {
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  --bg: #05070d;
  --bg-2: #0a0f1c;
  --panel: #0e1424;
  --panel-2: #121a2e;
  --line: #1e2942;
  --line-soft: #172038;
  --ink: #eef2fb;
  --ink-soft: #9aa7c2;
  --ink-mute: #64708c;
  --accent: #4f8cff;
  --accent-2: #22d3ee;
  --accent-3: #7c5cff;
  --good: #34d399;
  --glow: 0 0 0 1px rgba(79, 140, 255, 0.14), 0 24px 60px -24px rgba(34, 211, 238, 0.22);
  --radius: 16px;
  --radius-sm: 11px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.vx-landing {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
}

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

img, svg { display: block; }

::selection { background: rgba(79, 140, 255, 0.35); color: #fff; }

/* Focus ring - one accessible outline everywhere. */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.vx-skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}
.vx-skip:focus { left: 0; }

/* =============================== HERO =============================== */
.vx-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 72% 8%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(900px 600px at 12% 90%, rgba(124, 92, 255, 0.12), transparent 62%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}

.vx-hero-canvas,
.vx-hero-static {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Elegant static fallback: an abstract node-link grid, drawn purely in CSS so it
   is visible with no JS and under prefers-reduced-motion. Hidden once the canvas
   animation takes over (body gets .vx-anim-on from index.js). */
.vx-hero-static {
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(79, 140, 255, 0.55), transparent 60%),
    radial-gradient(2px 2px at 65% 22%, rgba(34, 211, 238, 0.5), transparent 60%),
    radial-gradient(2px 2px at 82% 62%, rgba(124, 92, 255, 0.5), transparent 60%),
    radial-gradient(2px 2px at 38% 74%, rgba(79, 140, 255, 0.5), transparent 60%),
    radial-gradient(2px 2px at 50% 48%, rgba(52, 211, 153, 0.5), transparent 60%),
    linear-gradient(115deg, transparent 0 49.6%, rgba(79, 140, 255, 0.06) 49.6% 50.4%, transparent 50.4%),
    linear-gradient(65deg, transparent 0 49.7%, rgba(34, 211, 238, 0.05) 49.7% 50.3%, transparent 50.3%);
  opacity: 0.9;
  transition: opacity 0.8s var(--ease);
}
.vx-anim-on .vx-hero-static { opacity: 0; }

/* fade the hero into the page */
.vx-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, var(--bg));
  z-index: 1;
  pointer-events: none;
}

.vx-topbar {
  position: relative;
  z-index: 3;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 22px clamp(18px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.vx-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.vx-amark { color: var(--accent-2); align-self: center; filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.5)); }
.vx-brand-name { font-size: 19px; }
.vx-brand-sub { color: var(--ink-soft); font-weight: 500; font-size: 13px; letter-spacing: 0.02em; }

.vx-topnav { display: flex; align-items: center; gap: 8px; }
.vx-topnav a {
  padding: 9px 14px;
  border-radius: 9px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.vx-topnav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.04); }
.vx-topcta {
  color: var(--ink) !important;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.vx-topcta:hover { border-color: var(--accent); }

.vx-hero-overlay {
  position: relative;
  z-index: 3;
  max-width: var(--maxw);
  width: 100%;
  margin: auto auto 0;
  padding: 0 clamp(18px, 4vw, 40px) clamp(70px, 12vh, 130px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.vx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 15, 28, 0.6);
  backdrop-filter: blur(6px);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.vx-pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: vx-pulse 2.4s var(--ease) infinite;
}
@keyframes vx-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.vx-hero-title {
  margin: 0;
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 16ch;
}
.vx-hero-grad {
  display: block;
  background: linear-gradient(100deg, var(--accent-2), var(--accent), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vx-hero-lede {
  margin: 26px 0 0;
  max-width: 60ch;
  font-size: clamp(1.02rem, 1.6vw, 1.28rem);
  color: var(--ink-soft);
}

.vx-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; }

.vx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  will-change: transform;
}
.vx-btn-primary {
  color: #04121f;
  background: linear-gradient(100deg, var(--accent-2), var(--accent));
  box-shadow: 0 12px 34px -14px rgba(34, 211, 238, 0.7);
}
.vx-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(34, 211, 238, 0.85); }
.vx-btn-ghost { color: var(--ink); border-color: var(--line); background: rgba(255, 255, 255, 0.03); }
.vx-btn-ghost:hover { border-color: var(--accent); transform: translateY(-2px); }

.vx-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 5vw, 56px);
  margin: 48px 0 0;
}
.vx-hero-metrics div { display: flex; flex-direction: column; gap: 4px; }
.vx-hero-metrics dt { order: 2; margin: 0; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); }
.vx-hero-metrics dd { order: 1; margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -0.02em; }

.vx-scroll-hint {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
}
.vx-scroll-hint span {
  position: absolute; left: 50%; top: 8px;
  width: 3px; height: 7px; border-radius: 2px;
  background: var(--ink-soft);
  transform: translateX(-50%);
  animation: vx-scroll 1.9s var(--ease) infinite;
}
@keyframes vx-scroll { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 100% { opacity: 0; top: 20px; } }

/* =============================== SECTIONS =============================== */
.vx-section {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 11vh, 130px) clamp(18px, 4vw, 40px);
}

.vx-section-head { max-width: 62ch; margin: 0 0 clamp(34px, 5vh, 60px); }
.vx-kicker {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.vx-section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.vx-section-lede { margin: 16px 0 0; font-size: clamp(1rem, 1.4vw, 1.16rem); color: var(--ink-soft); }

/* ---- login role cards ---- */
.vx-role-grid, .vx-feature-grid, .vx-mile-grid, .vx-dl-grid {
  display: grid;
  gap: 20px;
}
.vx-role-grid { grid-template-columns: repeat(3, 1fr); }
.vx-role-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  overflow: hidden;
  transition: transform 0.28s var(--ease), border-color 0.28s, box-shadow 0.28s;
}
.vx-role-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 180px at 80% -10%, rgba(79, 140, 255, 0.16), transparent 70%);
  opacity: 0; transition: opacity 0.3s;
}
.vx-role-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--glow); }
.vx-role-card:hover::before { opacity: 1; }
.vx-role-ic {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(79, 140, 255, 0.12);
  border: 1px solid var(--line);
  color: var(--accent-2);
}
.vx-role-ic svg { width: 24px; height: 24px; }
.vx-role-name { font-size: 1.28rem; font-weight: 700; letter-spacing: -0.01em; }
.vx-role-desc { color: var(--ink-soft); font-size: 0.97rem; flex: 1; }
.vx-role-go { color: var(--accent-2); font-weight: 600; font-size: 0.95rem; }
.vx-role-card:hover .vx-role-go { color: var(--ink); }

/* ---- capabilities ---- */
.vx-feature-grid { grid-template-columns: repeat(3, 1fr); }
.vx-feature {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform 0.28s var(--ease), border-color 0.28s, background 0.28s;
}
.vx-feature:hover { transform: translateY(-4px); border-color: var(--line); background: var(--panel-2); }
.vx-feat-ic {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.16), rgba(124, 92, 255, 0.14));
  color: var(--accent-2);
  margin-bottom: 16px;
}
.vx-feat-ic svg { width: 22px; height: 22px; }
.vx-feature h3 { margin: 0 0 8px; font-size: 1.16rem; letter-spacing: -0.01em; }
.vx-feature p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* ---- roadmap timeline ---- */
.vx-timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vx-tl-year {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
}
.vx-tl-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--accent-2);
}
.vx-tl-badge span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--good);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
}
.vx-tl-next { color: var(--accent-3); }
.vx-tl-next span { color: var(--accent); background: rgba(79, 140, 255, 0.1); border-color: rgba(79, 140, 255, 0.28); }
.vx-tl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.vx-tl-list li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.vx-tl-dot {
  position: absolute; left: 2px; top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}
.vx-tl-next .vx-tl-dot { background: var(--accent-3); box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.12); }

/* ---- milestones ---- */
.vx-mile-grid { grid-template-columns: repeat(3, 1fr); }
.vx-mile {
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--good);
  border-radius: var(--radius-sm);
  background: var(--panel);
}
.vx-mile h3 { margin: 0 0 7px; font-size: 1.05rem; }
.vx-mile p { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }

/* ---- downloads ---- */
.vx-dl-grid { grid-template-columns: repeat(4, 1fr); }
.vx-dl-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform 0.26s var(--ease), border-color 0.26s;
}
.vx-dl-card:hover:not(.vx-dl-soon) { transform: translateY(-4px); border-color: var(--accent); }
.vx-dl-ic { width: 40px; height: 40px; color: var(--ink); }
.vx-dl-ic svg { width: 30px; height: 30px; }
.vx-dl-os { font-size: 1.12rem; font-weight: 700; }
.vx-dl-meta { color: var(--ink-mute); font-size: 0.86rem; flex: 1; }
.vx-dl-go { color: var(--accent-2); font-weight: 600; font-size: 0.92rem; }
.vx-dl-soon { opacity: 0.72; }
.vx-dl-badge {
  align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
  padding: 5px 12px; border-radius: 999px;
  color: var(--accent);
  background: rgba(79, 140, 255, 0.1);
  border: 1px solid rgba(79, 140, 255, 0.25);
}

/* ---- manifesto ---- */
.vx-manifesto {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.vx-manifesto-inner { max-width: 74ch; }
.vx-manifesto-inner h2 { margin: 0 0 22px; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.06; letter-spacing: -0.03em; font-weight: 800; }
.vx-manifesto-inner p { margin: 0 0 18px; font-size: clamp(1.05rem, 1.7vw, 1.32rem); color: var(--ink-soft); }
.vx-manifesto-sign { color: var(--ink) !important; font-weight: 600; }
.vx-manifesto-sign span { background: linear-gradient(100deg, var(--accent-2), var(--accent-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =============================== FOOTER =============================== */
.vx-foot {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 54px clamp(18px, 4vw, 40px) 60px;
}
.vx-foot-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
}
.vx-foot-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; }
.vx-foot-brand b { font-weight: 700; }
.vx-foot-links { display: flex; flex-wrap: wrap; gap: 6px; }
.vx-foot-links a { padding: 8px 12px; border-radius: 8px; color: var(--ink-soft); font-size: 14px; transition: color 0.2s, background 0.2s; }
.vx-foot-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.04); }
.vx-foot-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding-top: 22px;
  color: var(--ink-mute); font-size: 13.5px;
}
.vx-foot-powered b { color: var(--ink-soft); }

/* =============================== SCROLL REVEAL =============================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].vx-in { opacity: 1; transform: none; }

/* =============================== RESPONSIVE =============================== */
@media (max-width: 960px) {
  .vx-role-grid, .vx-feature-grid, .vx-mile-grid { grid-template-columns: repeat(2, 1fr); }
  .vx-dl-grid { grid-template-columns: repeat(2, 1fr); }
  .vx-timeline { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .vx-topnav a:not(.vx-topcta) { display: none; }
  .vx-role-grid, .vx-feature-grid, .vx-mile-grid, .vx-dl-grid { grid-template-columns: 1fr; }
  .vx-hero-metrics { gap: 26px; }
  .vx-brand-sub { display: none; }
}

/* =============================== REDUCED MOTION =============================== */
/* Respect the user's OS setting: kill all motion, keep the elegant static hero,
   and make every revealed block immediately visible. index.js reads the same
   query and skips the canvas animation entirely. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .vx-hero-static { opacity: 0.9 !important; }
  .vx-scroll-hint { display: none; }
}
</content>
