/* restricted.html — the password gate.
   Extracted from the page's <style> block; the <link> replaces it in place. */

:root {
  --bg:         #000000;
  --purple-mid: #7B2FFF;
  --purple-hi:  #B264FF;
  --pink:       #D44EFF;
  --white:      #FFFFFF;
  --muted:      rgba(255,255,255,0.55);
  --line:       rgba(255,255,255,0.10);
}

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

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: -30%;
  background:
    radial-gradient(38% 38% at 22% 28%, rgba(46,110,255,0.13), transparent 72%),
    radial-gradient(36% 36% at 82% 78%, rgba(30,80,200,0.11), transparent 72%),
    radial-gradient(28% 28% at 62% 18%, rgba(90,150,255,0.07), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 7rem) clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── Gate ── */
.gate {
  max-width: 380px;
  margin: 0 auto;
  text-align: center;
}
.gate .eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--purple-hi);
  margin-bottom: 1.1rem;
}
.gate h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}
.gate p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.gate form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.gate input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s;
}
.gate input:focus {
  outline: none;
  border-color: rgba(178,100,255,0.55);
  background: rgba(255,255,255,0.06);
}
.gate button {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(178,100,255,0.4);
  background: rgba(123,47,255,0.18);
  color: var(--white);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
}
.gate button:hover {
  background: rgba(123,47,255,0.30);
  border-color: rgba(178,100,255,0.7);
}
.gate button:active { transform: scale(0.98); }
.gate .error {
  min-height: 1.2rem;
  font-size: 0.82rem;
  color: var(--pink);
  opacity: 0;
  transition: opacity 0.2s;
}
.gate .error.show { opacity: 1; }
.back {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
.back:hover { color: var(--white); }

/* ── Protected content ── */
.protected { display: none; }
.protected.show { display: block; }
.protected header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}
.protected .eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--purple-hi);
  margin-bottom: 1.1rem;
}
.protected h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
