

/* PAGE: password */

/* Visually-hidden utility (WCAG 4.1.2) */
body.page-password .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

body.page-password *, body.page-password *::before, body.page-password *::after, body.page-password { margin: 0; padding: 0; box-sizing: border-box; }

:root:has(body.page-password) {
  --blue-light: #4da6ff;
  --blue-dark: #0a1e3d;
  --bg: #050a14;
  --glass-border: rgba(255,255,255,0.25);
}

html:has(body.page-password) { overflow-x: hidden; }

body.page-password {
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: #fff;
  /* clip, not hidden: hidden made the body its own scroll container, so overflow
     scrolled inside it with its own scrollbar; clip never does. hidden stays first
     as the fallback for engines without clip (Safari before 16). */
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  max-width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── HERO ─── */
body.page-password .hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  /* 12vh more below than above: the content's middle sits at 44% of the screen. */
  padding: 80px 24px calc(80px + 12vh);
  /* Layout containment, not a clip: what the hero paints outside its box (orb glow,
     spinning .hero-orbs) still paints as ink overflow but cannot grow the
     scroll area. Do not clip .hero: its bottom edge is the footer seam and a clip
     cuts the glow. Needs Safari 15.4, as the :has() selectors do. */
  contain: layout;
}

/* Gradient blobs: the same five orbs as the index hero on the primaryLogo grid.
   Every value mirrors pageIndex.css; the drift keyframes are in shared.css. */
body.page-password .hero-gradient {
  position: absolute;
  width: 700px;
  height: 430px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-48deg);
  background: radial-gradient(
    ellipse at 25% 25%,
    #7cc4ff 0%, #4da6ff 15%, #2b8ae6 30%, #1a5bb5 45%, #0f3d80 60%, #0a1e3d 80%, transparent 100%
  );
  border-radius: 50%;
  filter: blur(78px);
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
  animation: gradientDrift1 30s linear infinite;
  will-change: transform;
}

body.page-password .hero-gradient-2 {
  position: absolute;
  width: 420px;
  height: 300px;
  top: 35%;
  left: 60%;
  transform: translate(-50%, -50%) rotate(20deg);
  background: radial-gradient(
    ellipse at 60% 30%,
    #c2f1f6 0%, #7ce4ee 20%, #2fbccb 40%, #0b4d57 70%, transparent 100%
  );
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
  animation: gradientDrift2 36s linear infinite;
  will-change: transform;
}

body.page-password .hero-gradient-3 {
  position: absolute;
  width: 330px;
  height: 235px;
  top: 60%;
  left: 37%;
  transform: translate(-50%, -50%) rotate(65deg);
  background: radial-gradient(
    circle at 50% 50%,
    #5fb8ff 0%, #1c6ecf 35%, #0b2a5e 70%, transparent 100%
  );
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  animation: gradientDrift3 40s linear infinite;
  will-change: transform;
}

body.page-password .hero-gradient-4 {
  position: absolute;
  width: 250px;
  height: 250px;
  top: 62%;
  left: 59%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle, #ffd98c 0%, #f5b342 45%, transparent 78%
  );
  border-radius: 50%;
  filter: blur(62px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: gradientDrift4 26s linear infinite;
}

body.page-password .hero-gradient-5 {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 33%;
  left: 38%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle, #b8e0ff 0%, #4da6ff 40%, transparent 75%
  );
  border-radius: 50%;
  filter: blur(68px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  /* drift2 is transform-only, so this orb's own opacity holds (drift3/4
     animate opacity and would pin it low). */
  animation: gradientDrift2 32s linear infinite;
}

/* Same mobile sizes as the index hero (its 640px breakpoint). */
@media (max-width: 640px) {
  body.page-password .hero-gradient { width: 420px; height: 300px; filter: blur(60px); }
  body.page-password .hero-gradient-2 { width: 280px; height: 200px; filter: blur(70px); }
  body.page-password .hero-gradient-3 { width: 220px; height: 160px; filter: blur(70px); }
  body.page-password .hero-gradient-4 { width: 130px; height: 130px; filter: blur(50px); }
}

/* Content */
/* Implode → big bang → settle hero intro (only when <html> has .bang-intro) */
/* Raised 6vh with the content, so the orbs stay centred behind it. */
body.page-password .hero-orbs { position: absolute; inset: -6vh 0 6vh; z-index: 0; transform-origin: 50% 50%; pointer-events: none; }
html.bang-intro body.page-password .hero-orbs {
  will-change: transform, opacity; backface-visibility: hidden;
  animation: heroBang 2.4s cubic-bezier(0.33, 1, 0.68, 1) 0s both;
}
html.bang-intro body.page-password .hero::before {
  content: ''; position: absolute; top: calc(50% - 6vh); left: 50%; width: 560px; height: 560px;
  transform: translate(-50%, -50%) scale(0.4); opacity: 0; z-index: 1;
  border-radius: 50%; pointer-events: none; filter: blur(36px);
  background: radial-gradient(circle, rgba(95,180,255,0.5) 0%, rgba(30,100,200,0.4) 38%, rgba(15,60,140,0.16) 60%, transparent 76%);
  animation: heroFlash 1.1s ease-out 0.2s forwards;
}
/* This page has no page veil, so unlike index and the product heroes nothing
   here is held at frame 0. */
body.page-password .hero-content { position: relative; z-index: 1; text-align: center; }

body.page-password .hero-title {
  font-size: clamp(56px, 10vw, 120px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

body.page-password .hero-title .laing { font-weight: 900; }
body.page-password .hero-title .logic { font-weight: 300; }

body.page-password .hero-subtitle {
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(255,255,255,0.5);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 56px;
}

/* Countdown */
body.page-password .countdown {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

body.page-password .countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 80px;
  padding: 20px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}

body.page-password .countdown-num {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}

body.page-password .countdown-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

body.page-password .launch-date {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.04em;
}

@media (max-width: 480px) {
  body.page-password .countdown { gap: 8px; }
  body.page-password .countdown-unit { min-width: 68px; padding: 16px 12px; border-radius: 12px; }
}

/* Footer */
body.page-password .light-only { display: none !important; }
[data-theme="light"] body.page-password .dark-only { display: none !important; }
[data-theme="light"] body.page-password .light-only { display: inline !important; }
body.page-password footer a:has(> .footer-logo) { display: inline-block; }
body.page-password .footer-logo {
  width: 48px; height: auto; margin-bottom: 14px;
  filter: drop-shadow(0 0 6px rgba(77,166,255,0.4));
}

body.page-password footer {
  text-align: center; padding: 48px 24px 32px; color: rgba(255,255,255,0.2);
  font-size: 13px;
  /* No top border: the hero's orb glow bleeds over the footer, so a hard line
     would draw a seam. */
  position: relative; z-index: 1;
}

body.page-password .footer-social { display: flex; justify-content: center; gap: 10px; margin-bottom: 24px; }
body.page-password .footer-social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.25s, border-color 0.25s, transform 0.25s; }
body.page-password .footer-social a:hover { color: var(--blue-light); border-color: rgba(77,166,255,0.3); transform: translateY(-2px); }
body.page-password .footer-social a svg { width: 14px; height: 14px; }
/* Cookie Preferences link, as in the other main-site footers. The only link here:
   this page offers no route to the cookie policy. */
body.page-password footer .footer-links { display: flex; justify-content: center; align-items: center; gap: 0; flex-wrap: wrap; row-gap: 4px; margin-bottom: 24px; }
body.page-password footer .footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; font-size: clamp(11px, 3vw, 13px);
  /* inline-block and padding lift these to a 24px target (WCAG 2.2 AA 2.5.8);
     they wrap to two rows on a phone. */
  display: inline-block; padding: 5px 0; }
body.page-password footer .footer-links a:hover { color: rgba(255,255,255,0.6); }
body.page-password footer .footer-sep { color: rgba(255,255,255,0.3); margin: 0 clamp(4px, 1.5vw, 10px); }
body.page-password footer .address { color: rgba(255,255,255,0.48); margin-bottom: 8px; }
body.page-password footer .footer-copy { color: rgba(255,255,255,0.46); }

/* Skeleton */
body.page-password .skeleton-text { height: 12px; margin-bottom: 8px; width: 80%; }
body.page-password .skeleton-text.short { width: 40%; }
body.page-password .skeleton-text.medium { width: 60%; }
body.page-password .skeleton-heading { height: 28px; width: 50%; margin-bottom: 12px; border-radius: 8px; }
body.page-password .skeleton-pill { height: 28px; width: 100px; border-radius: 999px; }
body.page-password .skeleton-bar { height: 4px; width: 100%; border-radius: 999px; }
body.page-password .skeleton-circle { width: 30px; height: 30px; border-radius: 50%; }
body.page-password .skeleton-amount { height: 36px; width: 120px; margin: 0 auto 8px; border-radius: 8px; }
body.page-password .skeleton-btn { height: 48px; width: 100%; border-radius: 14px; }
body.page-password .skeleton-input { height: 44px; width: 100%; border-radius: 12px; }
body.page-password .skeleton-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; gap: 12px; }
body.page-password .skeleton-row .skeleton-text { margin-bottom: 0; }
body.page-password .skeleton-dot { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
body.page-password .skeleton-dots-row { display: flex; justify-content: center; gap: 24px; margin-top: 12px; }
body.page-password .skeleton-content { opacity: 0; transition: opacity 0.2s; }
body.page-password.show-skeleton .skeleton-content { opacity: 1; }
body.page-password.loaded .skeleton-content { display: none !important; }
body.page-password:not(.loaded) .real-content { display: none; }
body.page-password.loaded .real-content { display: contents; }

body.page-password .skeleton-heading.large { height: 42px; width: 70%; }
body.page-password .skeleton-card { border-radius: 20px; padding: 24px; min-height: 80px; border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.025); }
/* Match real .hero-title clamp(56px, 10vw, 120px) so the swap is invisible */
body.page-password .hero-title-sk { height: clamp(56px, 10vw, 120px); }
/* Match real .hero-subtitle clamp(14px, 2vw, 18px) */
body.page-password .hero-sub-sk { height: clamp(14px, 2vw, 18px); }
/* Match real .countdown-unit dimensions: min-width 80px, padding 20px 16px, border-radius 16px (mobile 68px / 12px) */
body.page-password .cd-card-sk { min-width: 80px; width: 96px; min-height: 80px; border-radius: 16px; }
@media (max-width: 480px) {
  body.page-password .cd-card-sk { min-width: 68px; width: 80px; min-height: 72px; border-radius: 12px; }
}
[data-theme="light"] body.page-password .footer-social a { border-color: rgba(0,0,0,0.1); color: rgba(0,0,0,0.6); }
[data-theme="light"] body.page-password .footer-social a:hover { color: var(--blue-light); border-color: rgba(77,166,255,0.3); }
[data-theme="light"] body.page-password footer .footer-links a { color: rgba(0,0,0,0.6); }
[data-theme="light"] body.page-password footer .footer-links a:hover { color: #1a1a2e; }
[data-theme="light"] body.page-password footer .footer-sep { color: rgba(0,0,0,0.45); }
[data-theme="light"] body.page-password footer .footer-copy { color: rgba(0,0,0,0.6); }

/* Respect prefers-reduced-motion (WCAG 2.2 AA 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  body.page-password *, body.page-password *::before, body.page-password *::after, body.page-password {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body.page-password .skip-link {position:fixed;top:-48px;left:0;background:#2b7fd4;color:#fff;padding:10px 16px;z-index:99999;text-decoration:none;font-weight:600;border-radius:0 0 4px 0;transition:top .2s ease,opacity .2s ease;font-size:14px;opacity:0;pointer-events:none;white-space:nowrap}
body.page-password .skip-link:focus, body.page-password .skip-link:focus-visible {top:0;opacity:1;pointer-events:auto;outline:2px solid #fff;outline-offset:-4px}

/* Password gate (opens on footer-logo click): the content-submission form's grid
   background and glass card, input and button. Fades and scales in; reduced
   motion via the global rule above. */
body.page-password .footer-logo-trigger {
  display: inline-block;
  padding: 0;
  /* Stands in for .footer-logo's margin-bottom: inside the inline-block button the
     image's margin makes no gap, so it goes on the wrapper. */
  margin: 0 0 14px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: inherit;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}
body.page-password .footer-logo-trigger:focus { outline: none; }
body.page-password .footer-logo-trigger:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 4px; }
body.page-password .footer-logo-trigger .footer-logo { display: block; margin: 0; }

body.page-password .pw-gate {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 10, 20, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
body.page-password .pw-gate.pw-gate-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.35s ease, visibility 0s linear 0s;
}
/* Grid background: the same SVG pattern as the content-submission form */
body.page-password .pw-gate::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='160' height='160' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='160' height='160' fill='none'/%3E%3Cline x1='40' y1='0' x2='40' y2='160' stroke='rgba(77,166,255,0.04)' stroke-width='1'/%3E%3Cline x1='80' y1='0' x2='80' y2='160' stroke='rgba(77,166,255,0.04)' stroke-width='1'/%3E%3Cline x1='120' y1='0' x2='120' y2='160' stroke='rgba(77,166,255,0.04)' stroke-width='1'/%3E%3Cline x1='0' y1='40' x2='160' y2='40' stroke='rgba(77,166,255,0.04)' stroke-width='1'/%3E%3Cline x1='0' y1='80' x2='160' y2='80' stroke='rgba(77,166,255,0.04)' stroke-width='1'/%3E%3Cline x1='0' y1='120' x2='160' y2='120' stroke='rgba(77,166,255,0.04)' stroke-width='1'/%3E%3Cline x1='0' y1='0' x2='0' y2='160' stroke='rgba(77,166,255,0.07)' stroke-width='1'/%3E%3Cline x1='160' y1='0' x2='160' y2='160' stroke='rgba(77,166,255,0.07)' stroke-width='1'/%3E%3Cline x1='0' y1='0' x2='160' y2='0' stroke='rgba(77,166,255,0.07)' stroke-width='1'/%3E%3Cline x1='0' y1='160' x2='160' y2='160' stroke='rgba(77,166,255,0.07)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  pointer-events: none;
}

body.page-password .pw-gate-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.04) 100%);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}
body.page-password .pw-gate-close:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.2);
  background: linear-gradient(135deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 50%, rgba(255,255,255,0.08) 100%);
}
body.page-password .pw-gate-close:active { transform: scale(0.94); }
body.page-password .pw-gate-close:focus { outline: none; }
body.page-password .pw-gate-close:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 2px; }
body.page-password .pw-gate-close svg { width: 14px; height: 14px; }
[data-theme="light"] body.page-password .pw-gate-close {
  background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.5) 100%);
  border-color: rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.5);
}
[data-theme="light"] body.page-password .pw-gate-close:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.65) 100%);
  border-color: rgba(0,0,0,0.2);
  color: #1a1a2e;
}

body.page-password .pw-gate-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 36px 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow:
    0 24px 64px rgba(0,0,0,0.5),
    0 0 32px rgba(77,166,255,0.08),
    inset 0 1px 0 rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.23,1,0.32,1), opacity 0.35s ease;
}
body.page-password .pw-gate.pw-gate-open .pw-gate-card { transform: scale(1); opacity: 1; }

body.page-password .pw-gate-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0;
  text-align: center;
}
body.page-password .pw-gate-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: -10px 0 4px;
  text-align: center;
  line-height: 1.5;
}

body.page-password .pw-gate-form { display: flex; flex-direction: column; gap: 14px; margin: 0; }

body.page-password .pw-gate-field { display: flex; flex-direction: column; gap: 8px; }
body.page-password .pw-gate-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
  padding-left: 2px;
}
body.page-password .pw-gate-input {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  /* 16px is the iOS Safari minimum that prevents auto-zoom on focus. Smaller
     values trigger a viewport zoom into the input which feels broken. */
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  outline: none;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), inset 0 -1px 0 rgba(255,255,255,0.02);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
  letter-spacing: 0.04em;
}
body.page-password .pw-gate-input::placeholder { color: rgba(255,255,255,0.3); letter-spacing: 0.2em; }
body.page-password .pw-gate-input:focus {
  border-color: rgba(77,166,255,0.4);
  background: linear-gradient(135deg, rgba(77,166,255,0.08) 0%, rgba(77,166,255,0.03) 50%, rgba(77,166,255,0.05) 100%);
  box-shadow: 0 0 0 3px rgba(77,166,255,0.08), inset 0 1px 0 rgba(255,255,255,0.08);
}

body.page-password .pw-gate-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 12px;
  border: 1px solid rgba(77,166,255,0.18);
  background: linear-gradient(135deg, rgba(77,166,255,0.10) 0%, rgba(77,166,255,0.04) 50%, rgba(77,166,255,0.08) 100%);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
  min-height: 44px;
  margin-top: 4px;
}
body.page-password .pw-gate-submit:hover {
  border-color: rgba(77,166,255,0.35);
  background: linear-gradient(135deg, rgba(77,166,255,0.16) 0%, rgba(77,166,255,0.06) 50%, rgba(77,166,255,0.12) 100%);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 24px rgba(77,166,255,0.18);
}
body.page-password .pw-gate-submit:active { transform: translateY(0); }
body.page-password .pw-gate-submit svg { width: 14px; height: 14px; flex-shrink: 0; }
/* Checking: a spinner takes the arrow's place while the gate answers; the
   label and the width stay put. */
body.page-password .pw-gate-submit.is-sending { pointer-events: none; transform: none; }
body.page-password .pw-gate-submit.is-sending svg { display: none; }
body.page-password .pw-gate-submit.is-sending::after {
  content: ''; width: 14px; height: 14px; flex-shrink: 0; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: pwGateSpin 0.7s linear infinite;
}
@keyframes pwGateSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  body.page-password .pw-gate-submit.is-sending::after { animation-duration: 1.6s; }
}
body.page-password .pw-gate.pw-gate-open .pw-gate-card.pw-shake { animation: pwGateShake 0.5s ease-in-out both; }
body.page-password .pw-gate-input.pw-error {
  border-color: rgba(255,107,107,0.55);
  box-shadow: 0 0 0 3px rgba(255,107,107,0.10), inset 0 1px 0 rgba(255,255,255,0.08);
}
body.page-password .pw-gate-error {
  font-size: 12px;
  font-weight: 500;
  color: #ff6b6b;
  text-align: center;
  line-height: 1.4;
  margin: -4px 0 0;
}
@media (prefers-reduced-motion: reduce) {
  body.page-password .pw-gate.pw-gate-open .pw-gate-card.pw-shake { animation: none; }
}

[data-theme="light"] body.page-password .pw-gate { background: rgba(238, 241, 246, 0.78); }
[data-theme="light"] body.page-password .pw-gate-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0.6) 100%);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 24px 64px rgba(10,30,61,0.18), 0 0 32px rgba(77,166,255,0.06), inset 0 1px 0 rgba(255,255,255,0.6);
}
[data-theme="light"] body.page-password .pw-gate-title { color: #1a1a2e; }
[data-theme="light"] body.page-password .pw-gate-sub { color: rgba(0,0,0,0.5); }
[data-theme="light"] body.page-password .pw-gate-label { color: rgba(0,0,0,0.55); }
[data-theme="light"] body.page-password .pw-gate-input {
  color: #1a1a2e;
  background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.5) 100%);
  border-color: rgba(0,0,0,0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
[data-theme="light"] body.page-password .pw-gate-input::placeholder { color: rgba(0,0,0,0.3); }
[data-theme="light"] body.page-password .pw-gate-input:focus {
  border-color: rgba(43,127,212,0.45);
  background: linear-gradient(135deg, rgba(77,166,255,0.10) 0%, rgba(77,166,255,0.04) 100%);
  box-shadow: 0 0 0 3px rgba(43,127,212,0.10), inset 0 1px 0 rgba(255,255,255,0.7);
}

/* Global :focus-visible - keyboard accessibility (WCAG 2.4.7) */
body.page-password a:focus-visible, body.page-password button:focus-visible, body.page-password [role="button"]:focus-visible, body.page-password input:focus-visible, body.page-password select:focus-visible, body.page-password textarea:focus-visible, body.page-password .btn:focus-visible, body.page-password .theme-toggle:focus-visible, body.page-password .theme-toggle-mobile:focus-visible {
  outline: 2px solid var(--blue-light, #4da6ff);
  outline-offset: 2px;
  border-radius: 4px;
}
body.page-password .btn:focus-visible { border-radius: 999px; }
/* Theme toggle (footer): this page has no nav, so the standard 34px sun/moon
   toggle sits in the footer social row. */

/* Light theme (page-wide): body, hero and countdown, mirroring pageIndex's light hero. */
[data-theme="light"]:has(body.page-password) { --bg: #eef1f6; --blue-light: #1a66b5; --glass-border: rgba(0,0,0,0.13); }
[data-theme="light"] body.page-password { background: var(--bg); color: #1a1a2e; }
[data-theme="light"] body.page-password .hero-gradient { opacity: 0.55; background: radial-gradient(ellipse at 25% 25%, #b8daf5 0%, #8ec4ef 15%, #6aade4 30%, #4d96d4 45%, #3a82c2 60%, #2b6fb3 80%, transparent 100%); }
[data-theme="light"] body.page-password .hero-gradient-2 { opacity: 0.48; background: radial-gradient(ellipse at 60% 30%, #cdeef3 0%, #a3e2ea 20%, #6cc9d6 40%, #3fa5b4 70%, transparent 100%); }
[data-theme="light"] body.page-password .hero-gradient-3 { opacity: 0.42; background: radial-gradient(circle at 50% 50%, #a8d4f5 0%, #7bbde8 35%, #4d9fd4 70%, transparent 100%); }
[data-theme="light"] body.page-password .hero-gradient-4 { opacity: 0.38; background: radial-gradient(circle, #ffe2a6 0%, #efae33 45%, transparent 78%); }
[data-theme="light"] body.page-password .hero-gradient-5 { opacity: 0.38; background: radial-gradient(circle, #d0ebfc 0%, #8ec8f0 40%, transparent 75%); }
[data-theme="light"] body.page-password .hero-title { color: #1a1a2e; }
[data-theme="light"] body.page-password .hero-title .laing, [data-theme="light"] body.page-password .hero-title .logic { color: #1a1a2e; }
[data-theme="light"] body.page-password .hero-subtitle { color: rgba(0,0,0,0.6); }
[data-theme="light"] body.page-password .countdown-unit { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.09); }
[data-theme="light"] body.page-password .countdown-num { color: #1a1a2e; }
[data-theme="light"] body.page-password .countdown-label { color: rgba(0,0,0,0.6); }
[data-theme="light"] body.page-password .launch-date { color: rgba(0,0,0,0.6); }
[data-theme="light"] body.page-password footer { color: rgba(0,0,0,0.6); }
[data-theme="light"] body.page-password footer .address { color: rgba(0,0,0,0.6); }
[data-theme="light"] body.page-password footer .footer-logo { filter: drop-shadow(0 0 6px rgba(43,127,212,0.3)); }
/* Footer placement: the toggle sits in the social row, so it wears the same
   bordered circle and lift-on-hover as the social links (border-box keeps it
   34px; no hover fill, the icons keep their own colours). */
