/* Spooner Systems - one page. Pure black, white type, the app's own cyan. */
:root {
  --bg: #000;
  --text: #eaf6fb;
  --white: #fff;
  --muted: #a9bcc3;
  --faint: #8fa6ae;
  --cyan: #5fd8f5;
  --cyan-rgb: 95, 216, 245;
  --red: #ff4c5f;
  --font: "Barlow", "Segoe UI", system-ui, sans-serif;
  --cond: "Barlow Semi Condensed", "Barlow", "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.no-tip .tip-only { display: none !important; }

/* ------------------------------------------------------------ header */
.top { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 34px 16px 0; }
.brandrow { display: flex; align-items: center; gap: 18px; width: 100%; max-width: 1200px; }
.wing { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(var(--cyan-rgb), 0), rgba(var(--cyan-rgb), .55)); }
.wing.r { background: linear-gradient(90deg, rgba(var(--cyan-rgb), .55), rgba(var(--cyan-rgb), 0)); }
.brand { display: flex; align-items: baseline; gap: 12px; font-family: var(--cond); white-space: nowrap; text-decoration: none; color: var(--white); }
.brand .slashes { width: 36px; height: 18px; align-self: center; fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; }
.brand b { font-size: 28px; letter-spacing: .16em; font-weight: 700; }
.brand i { font-style: normal; font-size: 26px; color: var(--cyan); font-weight: 600; }
.brand span { font-size: 28px; letter-spacing: .18em; font-weight: 300; color: #cfe6ef; }
.nav { display: flex; align-items: center; gap: 28px; font-family: var(--cond); font-size: 15px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.nav a { color: #d9e6eb; text-decoration: none; padding: 8px 0; transition: color .2s; display: inline-flex; align-items: center; gap: 8px; }
.nav a:hover { color: var(--cyan); }
.nav .sep { width: 1px; height: 14px; background: rgba(var(--cyan-rgb), .4); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 1.6s ease-in-out infinite; }

/* ------------------------------------------------------------ hero */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 88px 16px 0; overflow: hidden; }
h1 { margin: 0; font-size: clamp(40px, 6.2vw, 78px); line-height: 1.03; font-weight: 700; letter-spacing: -.015em; color: var(--white); }
.sub { margin: 20px 0 0; max-width: 780px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: #b9cbd2; }
.ctas { display: flex; align-items: center; gap: 16px; margin-top: 38px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 54px; padding: 0 28px; border-radius: 6px;
  font-family: var(--font); font-size: 17px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .heart, h2 .heart { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--cyan); color: #001218; box-shadow: 0 0 0 rgba(var(--cyan-rgb), 0); }
.btn.primary:hover { box-shadow: 0 0 34px rgba(var(--cyan-rgb), .45); }
.btn.ghost { border: 1.5px solid var(--cyan); color: var(--text); font-weight: 500; }
.btn.ghost:hover { background: rgba(var(--cyan-rgb), .08); color: var(--white); }
.btn.small { height: 48px; padding: 0 24px; font-size: 16px; }
.btn.small svg { width: 16px; height: 16px; }
.meta { margin: 16px 0 0; font-family: var(--cond); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
/* the 3D XENEON EDGE (hero3d.js draws into a canvas here) */
.stage { position: relative; width: 100%; max-width: 1320px; aspect-ratio: 2.35 / 1; margin-top: 18px; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* until the 3D is up (or without it): the demo in a plain dark frame */
.stage .flat { position: absolute; left: 50%; top: 50%; width: 82%; transform: translate(-50%, -50%); aspect-ratio: 2560 / 720;
  border: 10px solid #0b0d10; border-radius: 12px; background: #000; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 80px rgba(var(--cyan-rgb), .12); }
/* once 3D, the video keeps playing (it feeds the screen) but isn't seen itself */
.stage.is-3d .flat { opacity: 0; pointer-events: none; }

.divider { display: flex; align-items: center; gap: 18px; max-width: 1100px; margin: 24px auto 0; padding: 0 24px; }
.divider span { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(var(--cyan-rgb), 0), rgba(var(--cyan-rgb), .45)); }
.divider span:last-child { background: linear-gradient(90deg, rgba(var(--cyan-rgb), .45), rgba(var(--cyan-rgb), 0)); }
.divider b { font-family: var(--cond); color: var(--cyan); letter-spacing: .1em; font-weight: 600; }

/* ------------------------------------------------------------ the two screens */
.huds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; max-width: 1280px; margin: 0 auto; padding: 72px 40px 0; }
.huds figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.huds img { width: 100%; }
figcaption { display: flex; align-items: center; gap: 10px; font-family: var(--cond); font-size: 20px; font-weight: 500; letter-spacing: .04em; color: var(--text); }
figcaption i { font-style: normal; color: var(--cyan); font-weight: 700; }

/* ------------------------------------------------------------ support */
.support { max-width: 1100px; margin: 0 auto; padding: 112px 40px 0; }
.card { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px 40px; border: 1px solid rgba(var(--cyan-rgb), .18); border-radius: 10px;
  background: linear-gradient(180deg, rgba(var(--cyan-rgb), .05), rgba(var(--cyan-rgb), 0)); }
h2 { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 600; color: var(--white); }
h2 svg { width: 24px; height: 24px; color: var(--cyan); flex: none; }
.card p { margin: 8px 0 0; font-size: 17px; color: var(--muted); }

/* ------------------------------------------------------------ live */
.live { max-width: 1100px; margin: 0 auto; padding: 96px 40px 0; }
.livehead { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; border-radius: 4px; background: rgba(255, 76, 95, .14); color: #ff8593;
  font-family: var(--cond); font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.badge .dot { width: 8px; height: 8px; }
.live .title { font-size: 22px; flex: 1 1 320px; min-width: 0; overflow-wrap: anywhere; }
.chan { font-size: 15px; text-decoration: none; }
.chan:hover { text-decoration: underline; }
.player { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: 10px; overflow: hidden; border: 1px solid rgba(var(--cyan-rgb), .18); background: #03070a; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ------------------------------------------------------------ footer */
.foot { max-width: 1100px; margin: 0 auto; padding: 110px 40px 48px; }
.foot .line { display: block; height: 1px; background: linear-gradient(90deg, rgba(var(--cyan-rgb), 0), rgba(var(--cyan-rgb), .35), rgba(var(--cyan-rgb), 0)); }
.foot p { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 28px 0 0; font-size: 14px; color: var(--faint); text-align: center; }
.foot i { font-style: normal; color: rgba(var(--cyan-rgb), .6); }

/* ------------------------------------------------------------ motion */
.rise { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.rise.d1 { animation-delay: .12s; }
.rise.d2 { animation-duration: 1.2s; animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.huds figure:nth-child(2) { transition-delay: .12s; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .dot { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------------------ smaller screens */
@media (max-width: 900px) {
  .huds { gap: 36px; padding: 56px 24px 0; }
  .support, .live { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 760px) {
  .huds { grid-template-columns: minmax(0, 1fr); gap: 44px; padding: 48px 16px 0; }
  .wing { display: none; }
  .brand { gap: 9px; }
  .brand b, .brand span { font-size: 21px; }
  .brand i { font-size: 19px; }
  .brand .slashes { width: 28px; height: 14px; }
  .nav { gap: 20px; }
  .hero { padding-top: 56px; }
  .ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .stage { aspect-ratio: 2.1 / 1; width: 124%; max-width: none; flex: none; margin-top: 0; }   /* bigger on a phone; .hero clips the sides */
  .stage .flat { width: 88%; border-width: 6px; }
  .support { padding: 80px 16px 0; }
  .card { flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 22px; }
  .live { padding: 72px 16px 0; }
  .foot { padding: 80px 16px 40px; }
  .foot p i { display: none; }
  .foot p { flex-direction: column; gap: 4px; }
}
