:root {
  /* Approved INDEX:80 palette — mirrors public_html/assets/css/site.css */
  --paper: #f3f0e8;
  --paper-2: #fbfaf6;
  --ink: #101318;
  --muted: #617086;
  --line: #9aa7b5;
  --navy: #041426;
  --navy-2: #09233b;

  --blue: #1557ff;
  --cyan: #00cbe8;
  --amber: #f5b82e;
  --green: #10b981;
  --coral: #ff5a45;

  --shadow: 3px 3px 0 var(--ink);
  --shadow-lg: 6px 6px 0 var(--ink);

  --font-pixel: "Silkscreen", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--navy); color: var(--ink); }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  background: linear-gradient(180deg, #0a2a44 0%, #041426 60%, #030d19 100%);
  color: var(--ink);
}

/* Faint scanline texture over the whole screen — CRT-boot-screen feel, never
   so strong it hurts legibility. */
.crt-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035) 0px,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
}

.status-bar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1.1rem;
  background: var(--navy);
  color: #d7e6f7;
  font: 700 0.72rem/1.2 var(--font-pixel);
  letter-spacing: 0.09em;
  border-bottom: 1px solid #1c3550;
}

.status-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.5rem;
  background: var(--cyan);
  box-shadow: 0 0 0 2px rgba(0, 203, 232, 0.25), 0 0 0.5rem rgba(0, 203, 232, 0.7);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.page {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 1.6rem);
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem);
}

.launch { width: 100%; display: flex; justify-content: center; }

/* Full-bleed atmospheric hero: the illustration fills the whole cream
   frame; copy sits over it on a soft translucent scrim rather than
   beside it in its own boxed image. */
.launch__panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  max-width: 980px;
  width: 100%;
  min-height: clamp(380px, 46vw, 560px);
  background: var(--paper-2);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-lg);
}

.launch__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 35%;
  z-index: 0;
}

.launch__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  width: min(100%, 600px);
  padding: clamp(1.4rem, 3.5vw, 2.6rem);
  background: linear-gradient(
    100deg,
    rgba(251, 250, 246, 0.8) 0%,
    rgba(251, 250, 246, 0.64) 35%,
    rgba(251, 250, 246, 0.22) 60%,
    rgba(251, 250, 246, 0) 82%
  );
}

.eyebrow {
  margin: 0 0 0.4rem;
  display: inline-block;
  font: 700 0.72rem/1 var(--font-pixel);
  letter-spacing: 0.22em;
  color: var(--navy);
  background: rgba(0, 203, 232, 0.18);
  border: 1px solid var(--navy);
  padding: 0.2rem 0.5rem;
}

.wordmark {
  margin: 0.3rem 0 0.7rem;
  font: 700 clamp(2.1rem, 5.5vw, 3.4rem)/1 var(--font-pixel);
  letter-spacing: -0.02em;
  color: #090b0e;
}

.wordmark b { color: var(--blue); }

.wordmark small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.34em;
  letter-spacing: 0.14em;
  color: #657289;
}

.tagline {
  margin: 0 0 0.8rem;
  max-width: 46ch;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.5;
  color: var(--ink);
}

.strap {
  margin: 0 0 0.9rem;
  max-width: 48ch;
  font: 700 0.82rem/1.6 var(--font-pixel);
  letter-spacing: 0.02em;
  color: var(--muted);
  border-left: 3px solid var(--cyan);
  padding-left: 0.7rem;
}

.spirit {
  margin: 0 0 1.3rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-style: italic;
  color: var(--muted);
}

.launching {
  margin: 0 0 1.4rem;
  font: 700 1.1rem/1 var(--font-pixel);
  letter-spacing: 0.06em;
  color: var(--ink);
}

.launching span::after {
  content: "_";
  color: var(--blue);
  animation: blink 1.1s step-end infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }

.button {
  display: inline-block;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 0.62rem 1rem;
  text-decoration: none;
  color: var(--ink);
  font: 700 0.8rem/1 var(--font-pixel);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.button b { color: var(--blue); }

.button:hover,
.button:focus-visible {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button.primary {
  background: var(--blue);
  color: #fff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #0d47e0;
}

.foot-status {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  padding: 0.7rem 1.1rem;
  background: var(--navy);
  color: #7ebcd5;
  font: 600 0.66rem/1.4 var(--font-pixel);
  letter-spacing: 0.04em;
  border-top: 1px solid #1c3550;
}

/* Submission preview section — sits below the intro on the same page.
   Shares tokens, .button, .wordmark etc. with the block above. */

.submit-panel {
  position: relative;
  width: 100%;
  max-width: 980px;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  scroll-margin-top: 1.5rem;
}

/* Clipboard clip — plain CSS, no image asset needed */
.clip {
  position: absolute;
  top: -1.1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 34px;
  background: linear-gradient(180deg, #d7dee6 0%, #aeb9c4 100%);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.clip span {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  background: #7c8896;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transform: translateY(-50%);
}

.clip span:first-child { left: 16px; }
.clip span:last-child { right: 16px; }

.submit-panel__grid {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
}

.submit-art {
  margin: 0;
  display: flex;
  align-items: start;
  justify-content: center;
}

.submit-art img {
  width: 100%;
  height: auto;
  max-width: 220px;
}

.submit-panel__body { min-width: 0; }

.submit-panel__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.head-globe {
  width: 3.4rem;
  height: 3.4rem;
  flex: 0 0 auto;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}

.submit-panel__head h2 {
  margin: 0;
  font: 700 clamp(1.3rem, 3vw, 1.7rem)/1.15 var(--font-pixel);
  letter-spacing: -0.01em;
  color: #090b0e;
}

.brand-inline b { color: var(--blue); }

.submit-sub {
  margin: 0.3rem 0 0;
  font: 700 0.72rem/1 var(--font-pixel);
  letter-spacing: 0.08em;
  color: var(--muted);
}

.submit-explainer {
  margin: 0 0 1.1rem;
  padding: 0.7rem 0.9rem;
  background: #eef7fb;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink);
}

.field { margin-bottom: 0.85rem; }

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font: 700 0.82rem/1.3 var(--font-body);
  color: var(--ink);
}

.field label .req { color: var(--blue); }
.field label .optional {
  font-weight: 500;
  font-size: 0.78em;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0.6rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.4;
}

.field textarea { resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}

.turnstile-widget { margin: 0.9rem 0 0; }

.submit-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
}

.submit-actions .button.primary { font-size: 0.85rem; }

.submit-actions-note {
  margin: 0;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 30ch;
}

.submit-result {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border: 2px solid var(--line);
  background: #f3f5f7;
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink);
}

.submit-result strong {
  display: inline-block;
  margin-bottom: 0.15rem;
  font: 700 0.78rem/1 var(--font-pixel);
  letter-spacing: 0.04em;
}

.submit-result.is-success {
  border-color: var(--green);
  background: #eafdf2;
}

.submit-result.is-success strong { color: #0a7a45; }

.submit-result.is-error {
  border-color: var(--coral);
  background: #fff1ee;
}

.submit-result.is-error strong { color: #b23a28; }

.submit-footnote {
  margin: 1.4rem 0 0;
  text-align: center;
  font: 700 0.72rem/1 var(--font-pixel);
  letter-spacing: 0.12em;
  color: var(--muted);
}

@media (max-width: 720px) {
  .launch__panel { min-height: clamp(480px, 145vw, 620px); align-items: center; }
  .launch__bg { object-position: 16% 58%; }
  .launch__copy {
    width: 100%;
    align-self: center;
    text-align: center;
    padding: 1.6rem 1.2rem;
    background: linear-gradient(
      180deg,
      rgba(251, 250, 246, 0) 0%,
      rgba(251, 250, 246, 0.92) 18%,
      rgba(251, 250, 246, 0.92) 82%,
      rgba(251, 250, 246, 0) 100%
    );
  }
  .strap { border-left: none; border-top: 3px solid var(--cyan); padding-left: 0; padding-top: 0.6rem; }
  .actions { justify-content: center; }
  .status-bar { font-size: 0.62rem; }
  .foot-status { justify-content: center; text-align: center; }
  .submit-panel__grid { grid-template-columns: 1fr; }
  .submit-art { max-width: 260px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .clip { width: 76px; height: 28px; }
  .submit-panel { padding-top: 2.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .status-dot, .launching span::after { animation: none; }
}
