/* SNVPC Remote — design tokens lifted from snvpc.com brand */
:root {
  --ink:          #0a0f1a;
  --ink2:         #0e1628;
  --surface:      #131d30;
  --surface2:    #192540;
  --border:       hsla(0,0%,100%,.07);
  --border-light: hsla(0,0%,100%,.12);
  --accent:       #00c8ff;
  --accent2:      #07c;
  --accent-hi:    #33d4ff;
  --accent-light: #60efff;
  --accent-glow:  rgba(0,200,255,.15);
  --accent-glow2: rgba(0,200,255,.06);
  --warm:         #ff7c35;
  --warm-glow:    rgba(255,124,53,.12);
  --text:         #e8edf5;
  --text-muted:   #7a8fa8;
  --text-dim:     #4a5e78;
  --white:        #fff;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    32px;
  --ease:         cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { color-scheme: dark; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  overflow-x: clip;
}

/* Subtle ambient cyan radial behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(70% 55% at 50% 12%, rgba(0,200,255,.18) 0%, rgba(0,200,255,0) 60%),
    radial-gradient(60% 50% at 90% 100%, rgba(255,124,53,.10) 0%, rgba(255,124,53,0) 70%),
    var(--ink);
}

/* Faint dot grid for "dashboard" texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,.7) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,.7) 60%, rgba(0,0,0,0) 100%);
}

a { color: var(--accent); text-decoration: none; }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute;
  left: -9999px; top: 8px;
  background: var(--accent);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: var(--radius);
  font-weight: 700;
}
.skip:focus { left: 12px; z-index: 10; }

/* ---------- top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(14px, 3vw, 28px);
  background: rgba(10, 15, 26, 0.7);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.brand-mark {
  width: 36px; height: auto; display: block;
  border-radius: 8px;
}
.brand-word {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .01em;
  line-height: 1;
}
.brand-word-cyan { color: var(--accent); }
.brand-word-thin { font-weight: 500; color: var(--text-muted); margin-left: 2px; }

.topnav { display: flex; gap: 4px; }
.topnav-link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.topnav-link:hover { color: var(--text); background: var(--border); }

/* ---------- stage ---------- */
.stage {
  display: grid;
  gap: clamp(28px, 5vh, 56px);
  padding: clamp(24px, 5vh, 56px) clamp(16px, 3vw, 32px);
  align-content: center;
  justify-items: center;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

/* ---------- hero ---------- */
.hero {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 720px;
}

.chip {
  display: inline-flex;
  align-items: center;
  background: var(--accent-glow2);
  border: 1px solid rgba(0,200,255,.2);
  color: var(--accent);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.hero-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 5.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.grad {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0;
  max-width: 56ch;
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-muted);
  text-wrap: balance;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding: 16px 28px;
  min-height: 56px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 17px);
  letter-spacing: .01em;
  border: 1px solid transparent;
  box-shadow: 0 0 0 0 var(--accent-glow);
  transition: background .2s var(--ease), box-shadow .25s var(--ease), transform .15s var(--ease);
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--accent-hi);
  box-shadow: 0 0 30px var(--accent-glow), 0 4px 16px rgba(0,200,255,.3);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary svg { color: var(--ink); }

.cta-foot {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: .02em;
}

/* ---------- tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
  width: 100%;
  max-width: 980px;
}

.tile {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  padding: 22px 22px 20px;
  text-align: left;
  color: var(--text);
  background: linear-gradient(180deg, var(--surface) 0%, var(--ink2) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: transform .2s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(80% 60% at 0% 0%, rgba(0,200,255,.08) 0%, rgba(0,200,255,0) 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.tile:hover {
  transform: translateY(-3px);
  border-color: rgba(0,200,255,.45);
  box-shadow:
    0 0 0 1px rgba(0,200,255,.25),
    0 18px 60px -20px rgba(0,200,255,.35);
}
.tile:hover::before { opacity: 1; }

.tile-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-glow2);
  border: 1px solid rgba(0,200,255,.2);
  color: var(--accent);
}
.tile-title {
  margin: 4px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: var(--text);
}
.tile-body {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}
.tile-cta {
  display: inline-block;
  margin-top: 6px;
  padding: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--accent);
  transition: color .2s var(--ease), letter-spacing .2s var(--ease);
}
.tile:hover .tile-cta { letter-spacing: .07em; color: var(--accent-light); }

/* ---------- bottom bar ---------- */
.botbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px clamp(14px, 3vw, 28px);
  background: rgba(10, 15, 26, 0.7);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
}
.copy { margin: 0; }

.social { display: flex; gap: 8px; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  color: var(--text-muted);
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.social a:hover {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .tiles { grid-template-columns: 1fr; max-width: 480px; }
  .botbar { flex-direction: column-reverse; gap: 10px; padding-bottom: max(14px, env(safe-area-inset-bottom)); }
}
@media (max-width: 460px) {
  .brand-word-thin { display: none; }
  .topbar { padding: 10px 14px; }
  .btn-primary { width: 100%; justify-content: center; }
  .topnav-link { padding: 8px 10px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
