:root {
  color-scheme: dark;
  --bg: #121a29;
  --ink: #eaf0f7;
  --muted: #a6b3c2;
  --line: rgba(234, 240, 247, 0.16);
  --accent: #4dd4ff;

  --radius: 18px;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.65);

  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Garamond, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 50% 0%, rgba(77, 212, 255, 0.22), transparent 62%),
    radial-gradient(circle at 100% 72%, rgba(86, 132, 255, 0.16), transparent 58%),
    radial-gradient(circle at 0% 100%, rgba(234, 240, 247, 0.06), transparent 52%),
    linear-gradient(180deg, rgba(234, 240, 247, 0.05), transparent 62%),
    var(--bg);
  font-family: var(--serif);
}

.wrap {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.panel {
  width: min(680px, 100%);
  padding: clamp(20px, 4vw, 30px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(12, 18, 32, 0.92);
  box-shadow: var(--shadow);
  animation: panelIn 650ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
  will-change: transform, opacity;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 94px rgba(0, 0, 0, 0.72);
  }
}

.panel:focus-within {
  transform: translateY(-1px);
}

.panel:focus-within,
.panel:hover {
  outline: none;
}

.panel:focus-within {
  box-shadow: 0 0 0 3px rgba(77, 212, 255, 0.26), var(--shadow);
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.topline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  width: 100%;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.wordmark {
  color: var(--ink);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(77, 212, 255, 0.28);
  animation: dotPulse 1.9s ease-in-out infinite;
}

@keyframes dotPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(77, 212, 255, 0.22);
  }
  55% {
    transform: scale(1.2);
    box-shadow: 0 0 0 10px rgba(77, 212, 255, 0);
  }
}

.headline {
  margin: 18px 0 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.subhead {
  margin: 14px 0 0;
  font-family: var(--mono);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 60ch;
}

.foot {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  color: var(--muted);
  font-size: 12px;
}

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