/* Koveli, coming soon: the look of the home page's design 3 (mission control): near-black navy, cyan and lime,
   Koveli gold. One screen, the radar behind the words. */
:root {
  color-scheme: dark;
  --bg: #030812;
  --line: rgba(110, 210, 255, .13);
  --text: #e2f4ff;
  --muted: #8ea7c2;
  --dim: #5d7894;
  --cyan: #2de2ff;
  --lime: #b6ff3b;
  --gold: #f5b942;
  --gold-2: #ffd27a;
  --mono: "Cascadia Code", "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --cond: "Bahnschrift", "DIN Condensed", "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", sans-serif-condensed, var(--sans);
  --gut: clamp(18px, 4vw, 52px);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { position: relative; min-height: 100vh; min-height: 100svh; overflow-x: hidden; isolation: isolate;
  color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse 60% 55% at 64% 55%, rgba(45, 226, 255, .10), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(182, 255, 59, .05), transparent 70%),
    linear-gradient(180deg, #030812, #040b18 60%, var(--bg)); }
/* faint scan lines over everything */
body::after { content: ""; position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px); }

/* ---- the radar on its tilted plane */
.stage { position: fixed; inset: 0; z-index: 0; perspective: 1500px; perspective-origin: 64% 30%; pointer-events: none; }
.pivot { position: absolute; left: 64%; top: 54%; width: 0; height: 0; transform-style: preserve-3d; }
.plane { --s: min(1150px, 135vh); position: absolute; left: calc(var(--s) / -2); top: calc(var(--s) / -2); width: var(--s); height: var(--s);
  transform: rotateX(56deg) rotateZ(-24deg); will-change: transform;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.plane canvas { width: 100%; height: 100%; display: block; }
.frame i { position: fixed; z-index: 3; width: 26px; height: 26px; border: 1.5px solid rgba(45, 226, 255, .5); pointer-events: none; }
.frame i:nth-child(1) { left: 20px; top: 80px; border-right: 0; border-bottom: 0; }
.frame i:nth-child(2) { right: 20px; top: 80px; border-left: 0; border-bottom: 0; }
.frame i:nth-child(3) { left: 20px; bottom: 20px; border-right: 0; border-top: 0; }
.frame i:nth-child(4) { right: 20px; bottom: 20px; border-left: 0; border-top: 0; }

/* ---- the bar */
.bar { position: fixed; z-index: 5; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gut); }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 600 15px var(--sans); letter-spacing: .32em; text-transform: uppercase; }
.brand img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(245, 185, 66, .45), 0 0 18px rgba(45, 226, 255, .25); }
.clock { display: inline-flex; align-items: baseline; gap: 8px; font: 600 15px var(--mono); color: var(--cyan); letter-spacing: .08em; }
.clock small { color: var(--dim); font-size: 11px; letter-spacing: .16em; }

/* ---- the words */
.copy { position: relative; z-index: 4; max-width: 700px; padding: max(120px, 22vh) var(--gut) 90px calc(var(--gut) + 12px); }
.kicker { margin: 0 0 16px; font: 600 12px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.sep { color: var(--dim); margin: 0 .35em; }
.blink { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-right: 10px;
  box-shadow: 0 0 10px var(--lime); vertical-align: 1px; animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { to { opacity: .25; } }
h1 { margin: 0; font: 800 clamp(54px, 7.2vw, 112px)/.88 var(--cond); font-stretch: 75%; letter-spacing: -.01em; text-transform: uppercase;
  text-shadow: 0 0 40px rgba(3, 8, 18, .9); }
h1 em { font-style: normal; color: var(--lime); text-shadow: 0 0 30px rgba(182, 255, 59, .35); white-space: nowrap; }
.caret { display: inline-block; width: .42em; height: .1em; margin-left: .08em; background: var(--lime); vertical-align: baseline;
  animation: blink 1.1s steps(2, start) infinite; }
.lede { margin: 26px 0 34px; max-width: 520px; color: #bcd3ea; font-size: 18px; line-height: 1.55; text-shadow: 0 1px 12px rgba(3, 8, 18, .9); }

/* the last words, decoded as the page opens (main.js) */
.decode { color: var(--lime); font-family: var(--mono); font-size: .92em; letter-spacing: .02em; white-space: nowrap;
  text-shadow: 0 0 14px rgba(182, 255, 59, .35); }

/* the launch status: a bar that keeps loading */
.status { display: grid; grid-template-columns: auto minmax(120px, 260px) auto; align-items: center; gap: 14px;
  font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.status .lbl { color: var(--dim); }
.status .val { color: var(--gold-2); }
.track { position: relative; height: 6px; border-radius: 3px; overflow: hidden; background: rgba(45, 226, 255, .1);
  box-shadow: inset 0 0 0 1px var(--line); }
.track i { position: absolute; left: 0; top: 0; bottom: 0; width: 86%; border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--lime)); box-shadow: 0 0 12px rgba(182, 255, 59, .45); }
.track i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: translateX(-100%); animation: shine 2.4s ease-in-out infinite; }
@keyframes shine { to { transform: translateX(100%); } }

/* ---- the sweep's readout, and the foot */
.scan { position: fixed; z-index: 4; right: calc(var(--gut) + 8px); bottom: 26px; margin: 0; display: flex; gap: 10px; align-items: baseline;
  font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.scan span { color: var(--dim); }
.scan b { color: var(--lime); min-width: 9ch; }
.scan em { font-style: normal; color: var(--cyan); }
.foot { position: fixed; z-index: 4; left: calc(var(--gut) + 12px); bottom: 26px; color: var(--dim); font: 12px var(--mono); letter-spacing: .08em; }

/* ---- smaller screens: the words above, the radar below them */
@media (max-width: 900px) {
  .pivot { left: 50%; top: 72%; }
  .stage { perspective: 900px; perspective-origin: 50% 40%; }
  .plane { --s: 640px; }
  .copy { padding-top: 120px; }
  .frame i:nth-child(n+3) { display: none; }
}
@media (max-width: 900px) {
  .foot { position: relative; left: auto; bottom: auto; padding: 0 var(--gut) 26px calc(var(--gut) + 12px); }
  .copy { padding-bottom: 36px; }
}
@media (max-width: 560px) {
  h1 { font-size: clamp(42px, 13vw, 64px); }
  .lede { font-size: 16px; margin: 18px 0 24px; }
  .plane { --s: 520px; }
  .pivot { top: 76%; }
  .status { grid-template-columns: auto 1fr; }
  .status .val { grid-column: 1 / -1; }
  .scan { display: none; }
  .frame i { display: none; }
  .brand { letter-spacing: .24em; }
}
@media (prefers-reduced-motion: reduce) {
  .blink, .caret, .track i::after { animation: none; }
}
