/* ==========================================================================
   INVERNOVAK - DESIGN TOKENS & AIUX SYSTEM
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --bg: #030817;
  --bg-2: #07122A;
  --card: #0B1730;
  --card-2: #0E1D3B;
  --line: #143052;
  --fg: #FFFFFF;
  --muted: #9AA8C2;
  --cyan: #00AEEF;
  --cyan-bright: #38C6FF;
  --cyan-soft: rgba(0, 174, 239, 0.12);
  --purple: #A78BFA;
  --ok: #25D366;
  --warn: #F5B942;
  --danger: #FF5C6C;
  --f: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px;

  /* AIUX Glassmorphism & Elevation */
  --glass-bg: rgba(11, 23, 48, 0.72);
  --glass-bg-hover: rgba(14, 29, 59, 0.85);
  --glass-border: rgba(0, 174, 239, 0.22);
  --glass-border-bright: rgba(0, 174, 239, 0.55);
  --glass-blur: blur(16px);

  /* Neon Ambient Glows */
  --glow-cyan: 0 0 25px rgba(0, 174, 239, 0.35);
  --glow-cyan-strong: 0 0 40px rgba(0, 174, 239, 0.6);
  --glow-purple: 0 0 25px rgba(167, 139, 250, 0.35);
  --glow-ok: 0 0 20px rgba(37, 211, 102, 0.4);

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: env(safe-area-inset-top, 0px);
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  padding-inline: 20px;
  padding-block: 0;
  overflow-x: hidden;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

body.locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

[hidden]:not([hidden="until-found" i]) {
  display: none !important;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--bg-2);
  color: var(--fg);
  border: 1px solid var(--glass-border-bright);
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 20px;
}

#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.wrap {
  max-width: 1320px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
h1, h2, h3, h4 {
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.2rem, 5.8vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  text-shadow: 0 0 40px rgba(2, 149, 195, 0.4), 0 0 15px rgba(2, 149, 195, 0.3);
}

h2 {
  font-size: clamp(1.6rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
}

h3 {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.c {
  color: var(--cyan);
}

.glow {
  text-shadow: var(--glow-cyan);
}

.muted {
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--glass-border);
  background: var(--cyan-soft);
  backdrop-filter: var(--glass-blur);
  border-radius: 999px;
  padding: 6px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}
