

:root {

  --bg: #f6f7fb;
  --bg-soft: #eef0f8;
  --surface: #ffffff;
  --surface-2: #fbfcfe;

  --ink-900: #0b0e1d;
  --ink-700: #2a2f48;
  --ink-500: #5b6480;
  --ink-400: #7c849c;
  --ink-300: #a8aec3;

  --border: rgba(11, 14, 29, 0.08);
  --border-strong: rgba(11, 14, 29, 0.16);

  --accent: #6366f1;
  --accent-2: #06b6d4;
  --accent-3: #ec4899;
  --accent-4: #22c55e;

  --c-youtube: #ff3b3b;
  --c-kick: #53fc18;
  --c-discord: #5865f2;

  --r-sm: 0.55rem;
  --r-md: 0.85rem;
  --r-lg: 1.1rem;
  --r-xl: 1.4rem;

  --shadow-sm: 0 1px 2px rgba(11, 14, 29, 0.04), 0 1px 0 rgba(11, 14, 29, 0.02);
  --shadow-md: 0 8px 24px -10px rgba(11, 14, 29, 0.12), 0 2px 6px -2px rgba(11, 14, 29, 0.06);
  --shadow-lg: 0 24px 60px -20px rgba(11, 14, 29, 0.18), 0 8px 20px -10px rgba(11, 14, 29, 0.08);
  --shadow-accent: 0 16px 40px -16px rgba(99, 102, 241, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
*::selection { background: rgba(99, 102, 241, 0.22); color: var(--ink-900); }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink-900);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@media (hover: hover) and (pointer: fine) {
  html, body, * { cursor: none !important; }
}

@view-transition { navigation: auto; }
::view-transition-old(root) {
  animation: vt-out 0.28s cubic-bezier(0.4, 0, 0.6, 1) both;
}
::view-transition-new(root) {
  animation: vt-in 0.42s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes vt-out {
  to { opacity: 0; transform: translateY(-8px) scale(0.99); filter: blur(2px); }
}
@keyframes vt-in {
  from { opacity: 0; transform: translateY(12px) scale(1.01); filter: blur(2px); }
}

input, textarea, select, [data-selectable] {
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
img, svg { display: block; max-width: 100%; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { filter: brightness(1.1); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .container { padding: 0 1.75rem; } }

.bg-grid, .bg-blob {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
}
.bg-grid {
  background-image:
    linear-gradient(rgba(11, 14, 29, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 14, 29, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 30%, transparent 80%);
}
.bg-blob { z-index: -11; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
  pointer-events: none;
}
.blob--a {
  top: -10%; left: -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.55), transparent 70%);
  animation: float-a 22s ease-in-out infinite alternate;
}
.blob--b {
  top: 20%; right: -15%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.45), transparent 70%);
  animation: float-b 28s ease-in-out infinite alternate;
}
.blob--c {
  bottom: -10%; left: 25%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.35), transparent 70%);
  animation: float-c 30s ease-in-out infinite alternate;
}
@keyframes float-a { to { transform: translate(40px, 60px) scale(1.08); } }
@keyframes float-b { to { transform: translate(-60px, 40px) scale(1.05); } }
@keyframes float-c { to { transform: translate(40px, -40px) scale(0.95); } }

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

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1rem 0;
  transition: padding 0.3s ease;
}
.nav.is-scrolled { padding: 0.55rem 0; }
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav.is-scrolled .nav-shell {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--border-strong);
}
.nav-brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-900);
}
.logo-mark {
  display: inline-flex;
  align-items: center; justify-content: center;
  height: 38px; width: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.2),
    0 6px 18px -6px rgba(99, 102, 241, 0.45);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  transition: transform 0.5s ease;
}
.logo-mark::before {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  z-index: -1;
  opacity: 0;
  animation: rotate 5s linear infinite;
  transition: opacity 0.3s ease;
}
.logo-mark:hover::before { opacity: 1; }
.logo-mark:hover { box-shadow: 0 10px 28px -8px rgba(99, 102, 241, 0.7); }
.logo-mark:hover img { transform: scale(1.08); }
.logo-mark::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shine 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine { 0%, 60% { transform: translateX(-100%); } 75%, 100% { transform: translateX(100%); } }
@keyframes rotate { to { transform: rotate(360deg); } }

.footer .logo-mark { height: 32px; width: 32px; }
.brand-dot { color: var(--accent-2); }

.nav-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  font-size: 0.88rem;
}
.nav-links a {
  position: relative;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: var(--ink-500);
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--ink-900); background: rgba(11, 14, 29, 0.04); }
.nav-links a.is-active {
  color: var(--ink-900);
  background: rgba(99, 102, 241, 0.08);
}
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 6px;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
}
@media (min-width: 800px) { .nav-links { display: flex; } .nav-toggle { display: none; } }

.nav-cta {
  display: none;
  align-items: center; gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--border-strong);
  background: white;
  color: var(--ink-700);
  transition: all 0.2s ease;
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent); }
.nav-cta .live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-4);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
}
@media (min-width: 800px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  align-items: center; justify-content: center;
  height: 38px; width: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: white;
  color: var(--ink-700);
}
.nav-mobile {
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.4rem;
  box-shadow: var(--shadow-lg);
  display: none;
}
.nav-mobile.is-open { display: block; }
.nav-mobile a {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: 0.6rem;
  color: var(--ink-700);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-mobile a:hover, .nav-mobile a.is-active { background: rgba(99, 102, 241, 0.08); color: var(--accent); }

.section { padding: 6rem 0 4rem; position: relative; }
.section--hero { padding: 8.5rem 0 4rem; min-height: 100svh; display: flex; align-items: center; }
@media (min-width: 768px) { .section { padding: 7rem 0 5rem; } }

.eyebrow {
  display: inline-flex;
  align-items: center; gap: 0.55rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink-900);
}
.h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}
.lead {
  font-size: 1.05rem;
  color: var(--ink-500);
  max-width: 38rem;
  line-height: 1.6;
}
@media (min-width: 768px) { .lead { font-size: 1.15rem; } }

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 8s ease infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.scramble { font-variant-numeric: tabular-nums; }

.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--ink-900), #1a1f3a);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -16px rgba(11, 14, 29, 0.4);
}
.btn--primary::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}
.btn--primary:hover::before { transform: translateX(100%); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-strong);
  color: var(--ink-900);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: white;
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: var(--shadow-accent);
}
.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 60px -18px rgba(99, 102, 241, 0.65);
}

.btn .btn-spinner {
  display: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-loading .btn-icon { display: none; }
.btn.is-loading .btn-spinner { display: inline-block; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.card::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 70%);
  top: var(--mx, 50%); left: var(--my, 50%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.card:hover::after { opacity: 1; }

.card--tilt { transform-style: preserve-3d; transition: transform 0.15s ease, box-shadow 0.35s ease, border-color 0.3s ease; }

.svc-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  height: 46px; width: 46px;
  border-radius: 0.7rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.12));
  color: var(--accent);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}
.card:hover .svc-icon {
  transform: scale(1.08) rotate(-3deg);
}
.svc-tags {
  display: flex; flex-wrap: wrap; gap: 0.3rem;
  margin-top: 1.1rem;
  list-style: none;
}
.svc-tags li {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.06);
  color: var(--ink-500);
  border: 1px solid var(--border);
}

.grid { display: grid; gap: 1.1rem; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.social {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.1rem 0.85rem 0.85rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-700);
  font-size: 0.9rem;
  font-weight: 500;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease,
              color 0.3s ease;
}
.social-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  height: 32px; width: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  transition: background 0.3s ease, transform 0.35s ease;
}
.social-label {
  display: inline-flex; flex-direction: column;
  line-height: 1.1;
}
.social-name { font-weight: 600; font-size: 0.92rem; color: var(--ink-900); }
.social-handle {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--ink-400);
  transition: color 0.3s ease;
}
.social-arrow {
  margin-left: 0.4rem;
  color: var(--ink-300);
  transform: translateX(-4px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}
.social:hover { transform: translateY(-3px); }
.social:hover .social-arrow { transform: translateX(0); opacity: 1; }

.social--youtube:hover {
  border-color: var(--c-youtube);
  color: var(--c-youtube);
  box-shadow: 0 14px 30px -14px rgba(255, 59, 59, 0.5);
}
.social--youtube:hover .social-icon { background: var(--c-youtube); transform: scale(1.08) rotate(-6deg); }
.social--youtube:hover .social-icon svg { color: white; }
.social--youtube:hover .social-arrow { color: var(--c-youtube); }

.social--kick:hover {
  border-color: var(--c-kick);
  color: #1a8c0a;
  box-shadow: 0 14px 30px -14px rgba(83, 252, 24, 0.55);
}
.social--kick:hover .social-icon { background: var(--c-kick); transform: scale(1.08) rotate(6deg); }
.social--kick:hover .social-icon svg { color: #07320c; }
.social--kick:hover .social-arrow { color: #1a8c0a; }

.social--discord:hover {
  border-color: var(--c-discord);
  color: var(--c-discord);
  box-shadow: 0 14px 30px -14px rgba(88, 101, 242, 0.55);
}
.social--discord:hover .social-icon { background: var(--c-discord); transform: scale(1.08) rotate(-6deg); }
.social--discord:hover .social-icon svg { color: white; }
.social--discord:hover .social-arrow { color: var(--c-discord); }

.social::after {
  content: "";
  position: absolute;
  width: 0; height: 0;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  left: var(--rx, 50%); top: var(--ry, 50%);
}
.social.is-ripple::after {
  animation: ripple 0.6s ease-out;
}
@keyframes ripple {
  0%   { width: 0; height: 0; opacity: 0.18; }
  100% { width: 380px; height: 380px; opacity: 0; }
}

.social-card {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1.6rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.social-card .social-icon { height: 48px; width: 48px; }
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.social-card .social-name { font-size: 1.1rem; }
.social-card .social-desc { color: var(--ink-500); font-size: 0.92rem; }

.step {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.step:hover { border-color: var(--accent); transform: translateY(-3px); }
.step-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.9rem;
  display: block;
}

.terminal {
  background: linear-gradient(180deg, #0f1129, #0a0c1f);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.terminal-bar {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.terminal-bar .tdot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.terminal-bar .tdot--r { background: #ff5f57; }
.terminal-bar .tdot--y { background: #febc2e; }
.terminal-bar .tdot--g { background: #28c840; }
.terminal-bar .tpath {
  margin-left: 0.6rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}
.terminal-body {
  padding: 1.2rem 1.4rem 1.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
}
.t-key { color: #a78bfa; }
.t-str { color: #5ce1ff; }
.t-ok  { color: #b4ff39; }
.t-cur { display: inline-block; width: 8px; height: 14px; background: #5ce1ff; vertical-align: middle; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--ink-700);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  transition: all 0.2s ease;
}
.chip:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

.contact-shell {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.contact-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 7fr; } }

.contact-info { padding: 2rem; position: relative; overflow: hidden; }
.contact-info::before {
  content: "";
  position: absolute;
  top: -80px; left: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 70%);
  pointer-events: none;
}
.contact-info > * { position: relative; }
@media (min-width: 900px) {
  .contact-info { padding: 2.5rem; border-right: 1px solid var(--border); }
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--r-md);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}
.info-row:hover { background: var(--surface); border-color: var(--accent); transform: translateX(4px); }
.info-row__icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  height: 34px; width: 34px;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  flex-shrink: 0;
}
.info-row__title { font-size: 0.92rem; font-weight: 600; color: var(--ink-900); }
.info-row__sub { font-size: 0.78rem; color: var(--ink-500); }

.contact-form { padding: 2rem; }
@media (min-width: 900px) { .contact-form { padding: 2.5rem; } }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-700);
  letter-spacing: -0.005em;
}
.req { color: var(--accent-3); }
.field-input, .field-select, .field-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--ink-900);
  font: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  outline: none;
}
.field-input::placeholder, .field-textarea::placeholder { color: var(--ink-400); }
.field-input:hover, .field-select:hover, .field-textarea:hover { border-color: var(--border-strong); }
.field-input:focus, .field-select:focus, .field-textarea:focus {
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}
.field-input:invalid:not(:placeholder-shown) { border-color: rgba(236, 72, 153, 0.45); }
.field-textarea { resize: vertical; min-height: 130px; }
.field-hint { font-size: 0.75rem; color: var(--ink-400); }

.select-wrap { position: relative; }
.field-select { appearance: none; padding-right: 2.4rem; cursor: pointer; }
.select-chevron {
  position: absolute;
  right: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--ink-400);
  pointer-events: none;
}

.consent {
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: 0.84rem;
  color: var(--ink-500);
  cursor: pointer;
}
.consent input { margin-top: 0.18rem; accent-color: var(--accent); }

#formStatus { font-size: 0.88rem; color: var(--ink-500); }
#formStatus.ok { color: var(--accent-4); }
#formStatus.err { color: var(--accent-3); }

.footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
}
.footer-inner {
  display: flex; flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
@media (min-width: 700px) { .footer-inner { flex-direction: row; justify-content: space-between; } }
.footer-socials { display: flex; gap: 0.55rem; }
.footer-socials a {
  display: inline-flex;
  align-items: center; justify-content: center;
  height: 36px; width: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--ink-500);
  background: white;
  transition: all 0.25s ease;
}
.footer-socials a:hover { transform: translateY(-3px); }
.footer-socials a[data-platform="youtube"]:hover { color: var(--c-youtube); border-color: var(--c-youtube); }
.footer-socials a[data-platform="kick"]:hover { color: #1a8c0a; border-color: var(--c-kick); }
.footer-socials a[data-platform="discord"]:hover { color: var(--c-discord); border-color: var(--c-discord); }
.footer-copy { font-size: 0.82rem; color: var(--ink-400); font-family: "JetBrains Mono", monospace; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="100"] { transition-delay: 0.1s; }
.reveal[data-delay="200"] { transition-delay: 0.2s; }
.reveal[data-delay="300"] { transition-delay: 0.3s; }
.reveal[data-delay="400"] { transition-delay: 0.4s; }
.reveal[data-delay="500"] { transition-delay: 0.5s; }

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.stagger.is-visible > * { opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }

.cursor {
  position: absolute;
  pointer-events: none;
  z-index: 999999;
  left: 0; top: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 0 14px rgba(99, 102, 241, 0.55),
    0 0 0 14px rgba(99, 102, 241, 0.10),
    0 0 28px 8px rgba(99, 102, 241, 0.35);
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  transition:
    background 0.22s ease,
    box-shadow 0.25s ease,
    opacity 0.2s ease;
  display: none;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
}
.cursor.is-active {
  background: var(--accent-3);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.75),
    0 0 0 7px rgba(236, 72, 153, 0.18),
    0 0 22px 6px rgba(236, 72, 153, 0.5),
    0 0 0 26px rgba(236, 72, 153, 0.08),
    0 0 60px 16px rgba(236, 72, 153, 0.32);
}
.cursor.is-press {
  background: var(--accent-2);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8),
    0 0 10px rgba(6, 182, 212, 0.6),
    0 0 0 8px rgba(6, 182, 212, 0.10);
}
.cursor.is-hidden { opacity: 0; }

.card[data-warp] {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease,
              border-color 0.3s ease,
              border-radius 0.4s ease;
}
.card[data-warp]:hover {
  border-radius: 1.6rem 0.6rem 1.6rem 0.6rem;
  transform: translateY(-6px) skew(-1.5deg, 0.5deg);
}
.card[data-warp]:hover .h3 {
  animation: warp-text 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.card[data-warp]:hover .svc-icon {
  animation: warp-icon 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes warp-text {
  0%   { transform: translateX(0) skew(0); letter-spacing: -0.01em; }
  40%  { transform: translateX(6px) skew(-3deg); letter-spacing: 0.03em; }
  70%  { transform: translateX(-2px) skew(1deg); letter-spacing: -0.005em; }
  100% { transform: translateX(0) skew(0); letter-spacing: -0.01em; }
}
@keyframes warp-icon {
  0%   { transform: scale(1) rotate(0); border-radius: 0.7rem; }
  50%  { transform: scale(1.18) rotate(-8deg); border-radius: 1.4rem 0.5rem; }
  100% { transform: scale(1.08) rotate(-3deg); border-radius: 0.7rem; }
}

.card[data-warp] .h3 {
  display: inline-block;
  transition: transform 0.3s ease, letter-spacing 0.3s ease;
}

.card[data-warp]:hover .svc-tags li:nth-child(1) { animation: tag-pop 0.5s ease both 0.05s; }
.card[data-warp]:hover .svc-tags li:nth-child(2) { animation: tag-pop 0.5s ease both 0.12s; }
.card[data-warp]:hover .svc-tags li:nth-child(3) { animation: tag-pop 0.5s ease both 0.19s; }
.card[data-warp]:hover .svc-tags li:nth-child(4) { animation: tag-pop 0.5s ease both 0.26s; }
@keyframes tag-pop {
  0%   { transform: translateY(0) scale(1); }
  50%  { transform: translateY(-4px) scale(1.06); background: rgba(99, 102, 241, 0.18); color: var(--accent); }
  100% { transform: translateY(0) scale(1); }
}

.title-wave { display: inline-block; }
.title-wave .char {
  display: inline-block;
  transform-origin: 50% 100%;
  will-change: transform;
  transition: transform 0.18s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.title-wave:hover .char { animation: wave-bob 1.3s ease-in-out infinite; }
.title-wave:hover .char:nth-child(2)  { animation-delay: 0.05s; }
.title-wave:hover .char:nth-child(3)  { animation-delay: 0.10s; }
.title-wave:hover .char:nth-child(4)  { animation-delay: 0.15s; }
.title-wave:hover .char:nth-child(5)  { animation-delay: 0.20s; }
.title-wave:hover .char:nth-child(6)  { animation-delay: 0.25s; }
.title-wave:hover .char:nth-child(7)  { animation-delay: 0.30s; }
.title-wave:hover .char:nth-child(8)  { animation-delay: 0.35s; }
.title-wave:hover .char:nth-child(9)  { animation-delay: 0.40s; }
.title-wave:hover .char:nth-child(10) { animation-delay: 0.45s; }
.title-wave:hover .char:nth-child(11) { animation-delay: 0.50s; }
.title-wave:hover .char:nth-child(12) { animation-delay: 0.55s; }
.title-wave:hover .char:nth-child(13) { animation-delay: 0.60s; }
@keyframes wave-bob {
  0%, 100% { transform: translateY(0) scale(1, 1) rotate(0); }
  20%      { transform: translateY(-10px) scale(0.92, 1.12) rotate(-3deg); }
  40%      { transform: translateY(2px) scale(1.08, 0.92) rotate(2deg); }
  60%      { transform: translateY(-2px) scale(0.98, 1.04) rotate(0); }
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-layout { grid-template-columns: 1.4fr 1fr; gap: 3.5rem; }
}

.orbit {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(99, 102, 241, 0.25);
  animation: orbit-spin 24s linear infinite;
}
.orbit-ring--mid {
  inset: 12%;
  border-color: rgba(6, 182, 212, 0.28);
  animation-duration: 16s;
  animation-direction: reverse;
}
.orbit-ring--inner {
  inset: 24%;
  border-color: rgba(236, 72, 153, 0.3);
  animation-duration: 10s;
}
@keyframes orbit-spin { to { transform: rotate(360deg); } }

.orbit-core {
  position: relative;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.5),
    0 20px 50px -10px rgba(99, 102, 241, 0.45);
  overflow: hidden;
  animation: orbit-float 5s ease-in-out infinite;
}
.orbit-core img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.orbit-core::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.5), transparent 40%),
    linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.18));
  mix-blend-mode: overlay;
  animation: orbit-shine 6s ease-in-out infinite;
}
@keyframes orbit-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes orbit-shine {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}

.orbit-chip {
  position: absolute;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-700);
  white-space: nowrap;
  z-index: 2;
  animation: chip-float 6s ease-in-out infinite;
}
.orbit-chip i {
  font-style: normal;
  margin-right: 0.35rem;
  font-size: 0.95rem;
  display: inline-block;
  vertical-align: -1px;
}
.orbit-chip--video    { top: 8%;  left: 50%; transform: translateX(-50%); color: var(--c-youtube); animation-delay: 0s; }
.orbit-chip--web      { top: 45%; right: -8%; color: var(--accent); animation-delay: 1.2s; }
.orbit-chip--graphic  { bottom: 12%; right: 10%; color: var(--accent-3); animation-delay: 2.4s; }
.orbit-chip--mc       { bottom: 8%; left: 8%; color: #15803d; animation-delay: 3.6s; }
.orbit-chip--bot      { top: 40%; left: -8%; color: var(--c-discord); animation-delay: 4.8s; }
@keyframes chip-float {
  0%, 100% { transform: translate(var(--tx, 0), 0) rotate(0); }
  25%      { transform: translate(var(--tx, 0), -6px) rotate(-2deg); }
  75%      { transform: translate(var(--tx, 0), 6px) rotate(2deg); }
}
.orbit-chip--video { --tx: -50%; }
@media (max-width: 600px) {
  .orbit-chip { font-size: 0.65rem; padding: 0.32rem 0.65rem; }
}

.orbit-particle {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  top: 50%; left: 50%;
  margin: -4px 0 0 -4px;
}
.orbit-particle--a {
  animation: orbit-anim-a 12s linear infinite;
}
.orbit-particle--b {
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
  animation: orbit-anim-b 9s linear infinite;
}
.orbit-particle--c {
  background: var(--accent-3);
  box-shadow: 0 0 12px var(--accent-3);
  animation: orbit-anim-c 14s linear infinite;
}
@keyframes orbit-anim-a {
  from { transform: rotate(0deg) translateX(180px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(180px) rotate(-360deg); }
}
@keyframes orbit-anim-b {
  from { transform: rotate(120deg) translateX(130px) rotate(-120deg); }
  to   { transform: rotate(480deg) translateX(130px) rotate(-480deg); }
}
@keyframes orbit-anim-c {
  from { transform: rotate(240deg) translateX(90px) rotate(-240deg); }
  to   { transform: rotate(-120deg) translateX(90px) rotate(120deg); }
}

.about-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 1rem;
}

.constellation {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  user-select: none;
}

.constellation-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.constellation-bg {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.10), transparent 60%),
    radial-gradient(circle at 30% 30%, rgba(6, 182, 212, 0.08), transparent 50%);
  filter: blur(20px);
  animation: constellation-pulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes constellation-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%      { transform: scale(1.05); opacity: 1; }
}

.const-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84px;
  height: 84px;
  margin-left: -42px;
  margin-top: -42px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.7),
    0 0 0 8px rgba(99, 102, 241, 0.18),
    0 18px 40px -8px rgba(99, 102, 241, 0.45);
  z-index: 4;
  animation: core-breathe 4s ease-in-out infinite;
}
.const-core img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.const-core::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
@keyframes core-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

.const-node {
  position: absolute;
  width: 64px;
  height: 64px;
  margin-left: -32px;
  margin-top: -32px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-700);
  z-index: 3;
  cursor: grab !important;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
  will-change: transform;
}
.const-node:active { cursor: grabbing !important; }
.const-node:hover {
  transform: scale(1.18);
}
.const-node.is-dragging {
  cursor: grabbing !important;
  z-index: 10;
  box-shadow: 0 22px 50px -10px rgba(99, 102, 241, 0.55);
}
.const-node svg { width: 26px; height: 26px; }

.const-node--video    { color: var(--c-youtube); }
.const-node--video:hover    { border-color: var(--c-youtube); background: rgba(255, 59, 59, 0.08); box-shadow: 0 18px 40px -10px rgba(255, 59, 59, 0.4); }

.const-node--web      { color: var(--accent); }
.const-node--web:hover      { border-color: var(--accent); background: rgba(99, 102, 241, 0.08); box-shadow: 0 18px 40px -10px rgba(99, 102, 241, 0.45); }

.const-node--graphic  { color: var(--accent-3); }
.const-node--graphic:hover  { border-color: var(--accent-3); background: rgba(236, 72, 153, 0.08); box-shadow: 0 18px 40px -10px rgba(236, 72, 153, 0.4); }

.const-node--mc       { color: #15803d; }
.const-node--mc:hover       { border-color: #22c55e; background: rgba(34, 197, 94, 0.08); box-shadow: 0 18px 40px -10px rgba(34, 197, 94, 0.4); }

.const-node--bot      { color: var(--c-discord); }
.const-node--bot:hover      { border-color: var(--c-discord); background: rgba(88, 101, 242, 0.08); box-shadow: 0 18px 40px -10px rgba(88, 101, 242, 0.45); }

.const-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 0.3rem 0.65rem;
  border-radius: 0.5rem;
  background: var(--ink-900);
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.const-node:hover .const-tooltip,
.const-node.is-dragging .const-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.const-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  pointer-events: none;
  opacity: 0;
}

.const-hint {
  position: absolute;
  left: 50%;
  bottom: -1.8rem;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--ink-400);
  letter-spacing: 0.06em;
  white-space: nowrap;
  opacity: 0.85;
  pointer-events: none;
}
.const-hint .kbd {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 0.3rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  margin: 0 0.2rem;
  font-size: 0.66rem;
}

.float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-700);
  z-index: 2;
  white-space: nowrap;
  animation: badge-float 5s ease-in-out infinite;
}
.float-badge svg { width: 13px; height: 13px; }
.float-badge--1 { top: -10px; right: 10%; animation-delay: 0s; color: var(--accent); }
.float-badge--2 { top: 30%; left: -16px; animation-delay: 1.2s; color: var(--c-youtube); }
.float-badge--3 { bottom: 18%; right: -12px; animation-delay: 2.4s; color: var(--c-discord); }
.float-badge--4 { bottom: -10px; left: 18%; animation-delay: 3.6s; color: var(--accent-4); }
@keyframes badge-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-10px) rotate(2deg); }
}
@media (max-width: 700px) {
  .float-badge { font-size: 0.65rem; padding: 0.32rem 0.65rem; }
  .float-badge--2 { left: -8px; } .float-badge--3 { right: -6px; }
}

.terminal-body .line { display: block; }
.terminal-body .line.is-typing::after {
  content: "▍";
  color: #5ce1ff;
  animation: blink 0.9s steps(2) infinite;
}

.devtools-overlay {
  position: fixed; inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(11, 14, 29, 0.96);
  backdrop-filter: blur(12px);
  color: white;
  font-family: "JetBrains Mono", monospace;
  text-align: center;
  padding: 2rem;
}
.devtools-overlay.is-visible { display: flex; }
.devtools-overlay .badge {
  display: inline-flex;
  align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.4);
  color: #ff7ab8;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.devtools-overlay h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.devtools-overlay p { color: rgba(255,255,255,0.6); max-width: 28rem; }

.page-fade {
  animation: page-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes page-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.text-mute { color: var(--ink-500); }
.text-strong { color: var(--ink-900); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-5 { margin-top: 2.5rem; } .mt-6 { margin-top: 3rem; } .mt-8 { margin-top: 4rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }

.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

/* ░░ Cookie banner ░░ */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 99998;
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 60px -20px rgba(11, 14, 29, 0.35);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
@media (min-width: 720px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
  }
}
.cookie-banner__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.88rem;
  color: var(--ink-700);
  line-height: 1.5;
}
.cookie-banner__text strong { color: var(--ink-900); font-weight: 600; }
.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
.cookie-banner__actions .btn { padding: 0.6rem 1rem; font-size: 0.85rem; }

/* ░░ Footer legal links ░░ */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1rem;
  font-size: 0.85rem;
}
.footer-legal a,
.footer-legal-btn {
  color: var(--ink-500);
  background: transparent;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.footer-legal a:hover,
.footer-legal-btn:hover { color: var(--accent); }
.footer-legal-btn::before {
  content: "·";
  margin-right: 0.85rem;
  color: var(--ink-300);
}
.footer-legal a + a::before,
.footer-legal a + .footer-legal-btn::before {
  content: "·";
  margin-right: 0.85rem;
  color: var(--ink-300);
}
.footer-legal > :first-child::before { content: none; margin: 0; }

/* ░░ Legal pages content ░░ */
.legal-wrap { max-width: 820px; }
.legal-content {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  padding: 2rem 2.2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@media (max-width: 640px) {
  .legal-content { padding: 1.4rem 1.2rem; }
}
.legal-content h2,
.legal-content h3 { color: var(--ink-900); }
.legal-content p,
.legal-content li {
  color: var(--ink-700);
  line-height: 1.65;
  font-size: 0.96rem;
}
.legal-content p + p { margin-top: 0.7rem; }
.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.84em;
  padding: 0.1rem 0.4rem;
  border-radius: 0.4rem;
  background: rgba(11, 14, 29, 0.05);
  color: var(--ink-900);
}
.legal-list {
  list-style: disc;
  padding-left: 1.4rem;
  margin-top: 0.6rem;
}
.legal-list li + li { margin-top: 0.4rem; }
.legal-table {
  margin-top: 0.8rem;
  overflow-x: auto;
  border-radius: 0.8rem;
  border: 1px solid var(--border);
}
.legal-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 480px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.legal-table thead th {
  background: rgba(11, 14, 29, 0.04);
  font-weight: 600;
  color: var(--ink-900);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.legal-table tbody tr:last-child td { border-bottom: none; }
.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.005em;
}

/* ░░ Form privacy checkbox ░░ */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--ink-700);
  line-height: 1.45;
}
.form-consent input[type="checkbox"] {
  margin-top: 0.18rem;
  accent-color: var(--accent);
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.form-consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.page-transition {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  background: var(--bg);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.page-transition.is-active { opacity: 1; }
