:root {
  --bg: #07090d;
  --panel: #10151d;
  --card: #151c26;
  --line: #283341;
  --text: #f0f4f9;
  --muted: #9aa8b9;
  --ice: #a8e2ff;
  --cyan: #7ee0ff;
  --silver: #d5dee8;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(168, 226, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 226, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(#000, transparent 88%);
}
.glow {
  position: fixed;
  width: 52vw;
  height: 52vw;
  right: -12vw;
  top: -18vw;
  pointer-events: none;
  background: radial-gradient(circle, rgba(126, 224, 255, 0.16), transparent 68%);
  animation: drift 18s ease-in-out infinite alternate;
}
.glow.alt {
  left: -20vw;
  right: auto;
  top: 40vh;
  background: radial-gradient(circle, rgba(168, 226, 255, 0.08), transparent 70%);
}
@keyframes drift { to { transform: translate3d(-6vw, 8vh, 0); } }
.dots span {
  position: fixed;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ice);
  opacity: 0.35;
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; position: relative; }
header.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: 0.08em; }
.mark {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ice); font-size: 13px; background: #0c121a;
}
nav.links { display: flex; gap: 18px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
}
.btn.primary { background: #123044; border-color: #3d6d86; color: var(--ice); }
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; padding: 28px 0 64px; }
h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; margin: 0 0 16px; font-weight: 640; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 38rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.screen {
  background: linear-gradient(180deg, rgba(16, 21, 29, 0.92), rgba(7, 9, 13, 0.92));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.screen .label { color: var(--muted); font-size: 13px; letter-spacing: 0.12em; }
.clock {
  font-size: clamp(64px, 8vw, 104px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 12px 0 8px;
  text-shadow: 0 0 24px rgba(168, 226, 255, 0.25);
}
.level { color: var(--ice); margin: 0 0 18px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stat { background: #0d131b; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.stat span { display: block; color: var(--muted); font-size: 12px; }
.stat b { font-size: 18px; font-weight: 600; }
section { padding: 18px 0 42px; }
h2 { font-size: 28px; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 18px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card {
  background: rgba(16, 21, 29, 0.86);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p, .card li { color: var(--muted); line-height: 1.65; }
.card ul { margin: 0; padding-left: 18px; }
footer { color: var(--muted); padding: 28px 0 48px; border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 860px) {
  .hero, .grid, .stats { grid-template-columns: 1fr; }
  header.nav { align-items: flex-start; flex-direction: column; }
}
