* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
}

.bgfx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 18% 0%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 60%),
    radial-gradient(900px 500px at 82% 10%, color-mix(in oklab, var(--accent2) 14%, transparent), transparent 55%),
    radial-gradient(900px 700px at 50% 115%, color-mix(in oklab, var(--bad) 10%, transparent), transparent 62%);
  opacity: 0.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: -webkit-sticky;
  position: sticky;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--panel) 92%, transparent);
  border-radius: calc(var(--radius, 18px) + 6px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  top: 14px;
  z-index: 100;
}

.topbar .brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-left: 6px;
}

.topbar .brand-title {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.topbar .brand span {
  font-size: 12px;
  color: var(--muted);
}

.btn {
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--panel) 96%, transparent);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  transition: transform 0.08s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn:hover {
  border-color: color-mix(in oklab, var(--accent) 40%, var(--border));
}

.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  border-color: color-mix(in oklab, var(--accent) 40%, var(--border));
  background: linear-gradient(
    135deg,
    color-mix(in oklab, var(--accent) 60%, transparent),
    color-mix(in oklab, var(--accent-2, var(--accent2)) 35%, transparent)
  );
}

.btn.ghost {
  background: transparent;
}

.card {
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--panel) 92%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.site-footer {
  padding: 40px 20px 60px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: grid;
  gap: 6px;
}

.site-footer a {
  color: #7aa8ff;
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
}

.site-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a::after {
  content: "↗";
  font-size: 0.8em;
  margin-left: 0.3em;
  vertical-align: text-top;
  opacity: 0.7;
}

.center-title {
  text-align: center;
  margin: 0;
  font-size: clamp(24px, 3.6vw, 32px);
  letter-spacing: -0.01em;
}

.center-title .protect-cta {
  position: relative;
  display: inline-block;
  padding: 0 6px;
  border-radius: 12px;
  transition: color 0.15s ease, transform 0.18s ease;
}

.center-title .protect-cta::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  border: 1px solid color-mix(in oklab, var(--accent) 60%, transparent);
  opacity: 0;
  transform: scale(0.9);
}

.who-title:hover .protect-cta,
.who-title:focus .protect-cta,
.who-title:focus-visible .protect-cta {
  color: color-mix(in oklab, var(--accent) 90%, var(--text));
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: no-preference) {
  .who-title .protect-cta::after {
    animation: protect-click 1.6s ease infinite;
  }

  .who-title .protect-cta {
    animation: protect-pop 1.6s ease infinite;
  }
}

@keyframes protect-click {
  0% {
    opacity: 0.35;
    transform: scale(0.92);
    box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 35%, transparent);
  }
  60% {
    opacity: 0.22;
    transform: scale(1.12);
    box-shadow: 0 0 0 10px color-mix(in oklab, var(--accent) 18%, transparent);
  }
  100% {
    opacity: 0;
    transform: scale(1.25);
    box-shadow: 0 0 0 16px transparent;
  }
}

@keyframes protect-pop {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}

.who-title {
  cursor: pointer;
  position: relative;
  width: 100%;
  height: 100vh;
  margin: 40px 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.who-title .qband {
  position: absolute;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  height: 200px;
  overflow: hidden;
  pointer-events: none;
}

.who-title .qband .qm {
  position: absolute;
  font-size: clamp(40px, 6vw, 74px);
  font-weight: 700;
  color: color-mix(in oklab, var(--accent) 28%, var(--text) 18%);
  text-shadow:
    0 6px 18px rgba(0, 0, 0, 0.25),
    0 0 18px color-mix(in oklab, var(--accent2) 18%, transparent);
  opacity: 0.62;
  animation: qmPulse 3s ease-in-out infinite;
}

.who-title .qband .q1 {
  top: 16px;
  left: 12%;
  animation-delay: 0s;
}

.who-title .qband .q2 {
  top: 40px;
  left: 32%;
  animation-delay: 0.5s;
}

.who-title .qband .q3 {
  top: -4px;
  left: 52%;
  animation-delay: 1s;
}

.who-title .qband .q4 {
  top: 50px;
  left: 68%;
  animation-delay: 1.5s;
}

.who-title .qband .q5 {
  top: 12px;
  left: 82%;
  animation-delay: 2s;
}

.who-title .qband .q6 {
  top: 72px;
  left: 24%;
  animation-delay: 2.4s;
}

@keyframes qmPulse {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translateY(-6px) scale(1.03);
    opacity: 0.75;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.55;
  }
}
:root {
  color-scheme: dark light;
  --bg: #0b0f14;
  --panel: rgba(255, 255, 255, 0.04);
  --panel2: rgba(255, 255, 255, 0.02);
  --panel-alt: var(--panel2);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.64);
  --border: rgba(255, 255, 255, 0.12);
  --line: var(--border);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --accent: #7c5cff;
  --accent-2: #00e5a8;
  --accent2: var(--accent-2);
  --good: #2ee59d;
  --warn: #ffcc66;
  --bad: #ff5c7a;
  --info: #7aa8ff;
  --radius: 18px;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f8fb;
    --panel: rgba(0, 0, 0, 0.04);
    --panel2: rgba(0, 0, 0, 0.02);
    --text: rgba(0, 0, 0, 0.9);
    --muted: rgba(0, 0, 0, 0.6);
    --border: rgba(0, 0, 0, 0.12);
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.1);
    --info: #356ad6;
  }
}
