/* ==========================================================================
   The Praxius Protocol — holding page
   Standalone. Does not depend on styles.css or main.js (the full-site assets,
   preserved for restoration once TGA listing is complete).
   ========================================================================== */

:root {
  --navy-900: #070b1a;
  --navy-800: #0b1020;
  --navy-700: #111733;
  --text:      #eae6da;
  --text-muted:#a9a69a;
  --gold:      #c8a25a;
  --gold-hi:   #e0bd78;
  --line:      rgba(234, 230, 218, 0.12);

  --f-serif: "Fraunces", "Playfair Display", Georgia, serif;
  --f-brand: "Cormorant", "Fraunces", Georgia, serif;
  --f-sans:  "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--navy-900);
  color: var(--text);
  font-family: var(--f-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   Stage
   -------------------------------------------------------------------------- */

.stage {
  position: relative;
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 10vh, 120px) 24px 64px;
  overflow: hidden;
}

/* Soft gold light bloom behind the wordmark. */
.glow {
  position: absolute;
  top: 32%;
  left: 50%;
  width: min(1100px, 150vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle at center,
    rgba(200, 162, 90, 0.16) 0%,
    rgba(200, 162, 90, 0.06) 32%,
    rgba(7, 11, 26, 0) 62%
  );
  pointer-events: none;
}

.inner {
  position: relative;
  width: 100%;
  max-width: 720px;
  text-align: center;
  animation: rise 900ms var(--ease-out) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Masthead
   -------------------------------------------------------------------------- */

.eyebrow {
  margin: 0 0 clamp(20px, 4vh, 36px);
  color: var(--gold);
  font-size: clamp(0.68rem, 1.6vw, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.wordmark {
  margin: 0;
  color: #fff;
  font-family: var(--f-serif);
  font-size: clamp(2.4rem, 8.5vw, 5rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.tagline {
  margin: clamp(14px, 2.5vh, 22px) 0 0;
  color: var(--gold);
  font-family: var(--f-brand);
  font-size: clamp(1.15rem, 3.4vw, 1.6rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.lede {
  margin: clamp(28px, 5vh, 44px) auto 0;
  max-width: 34em;
  color: var(--text);
  font-size: clamp(0.98rem, 2.1vw, 1.08rem);
  opacity: 0.9;
}

.regulatory {
  margin: clamp(12px, 2vh, 18px) auto 0;
  max-width: 34em;
  color: var(--text-muted);
  font-size: clamp(0.86rem, 1.9vw, 0.94rem);
  opacity: 0.62;
}

.rule {
  width: 64px;
  margin: clamp(36px, 6vh, 56px) auto;
  border: 0;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Waitlist
   -------------------------------------------------------------------------- */

.waitlist-heading {
  margin: 0;
  color: var(--text);
  font-family: var(--f-serif);
  font-size: clamp(1.25rem, 3.2vw, 1.55rem);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.waitlist-lede {
  margin: 10px auto clamp(26px, 4vh, 36px);
  max-width: 30em;
  color: var(--text-muted);
  font-size: clamp(0.88rem, 1.9vw, 0.96rem);
}

.waitlist-form {
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  padding: 13px 15px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 220ms var(--ease-out), background 220ms var(--ease-out);
}

.field input:hover { border-color: rgba(234, 230, 218, 0.22); }

.field input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(200, 162, 90, 0.14);
}

/* Only flag invalid fields the user has actually engaged with. */
.field input:not(:placeholder-shown):invalid { border-color: rgba(214, 118, 96, 0.6); }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 24px;
  padding: 15px 22px;
  color: var(--navy-900);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  border: 0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), opacity 220ms var(--ease-out);
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -12px rgba(200, 162, 90, 0.65);
}

.btn:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
}

.btn:disabled { opacity: 0.6; cursor: default; }

.btn .arrow {
  font-style: normal;
  transition: transform 220ms var(--ease-out);
}

.btn:hover:not(:disabled) .arrow { transform: translateX(3px); }

.form-meta {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: center;
  opacity: 0.72;
}

.form-error {
  margin: 14px 0 0;
  color: #d67660;
  font-size: 0.84rem;
  text-align: center;
}

.form-success {
  padding: 22px 18px;
  border: 1px solid rgba(200, 162, 90, 0.34);
  border-radius: 8px;
  background: rgba(200, 162, 90, 0.07);
  text-align: center;
}

.form-success p {
  margin: 0;
  color: var(--gold-hi);
  font-size: 0.96rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-foot {
  flex-shrink: 0;
  padding: 40px 24px 48px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.79rem;
  text-align: center;
}

.site-foot p { margin: 0 0 6px; }

.brand-mark {
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  color: var(--gold);
  opacity: 0.75;
}

.entity {
  color: var(--text);
  font-family: var(--f-brand);
  font-size: 1rem;
  letter-spacing: 0.04em;
  opacity: 0.88;
}

.acn { letter-spacing: 0.04em; }

.foot-contact a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

.foot-contact a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.copyright { margin-top: 14px; opacity: 0.6; }

/* Placeholder awaiting real data — deliberately loud so it cannot ship unnoticed. */
.needs-input {
  padding: 1px 7px;
  border-radius: 3px;
  background: #b3261e;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 480px) {
  .eyebrow { letter-spacing: 0.2em; }
  .waitlist-form { max-width: 100%; }
}
