/* SoloFleet: dark space-industrial console */

:root {
  --bg: #0A0E12;
  --cyan: #35D0E0;
  --nullbright-gold: #F2C64F;
  --amber: #E0A335;
  --red: #E04A4A;
  --green: #3FBF6F;
  --gray: #8A97A3;
  --panel: #0E141B;
  --line: rgba(53, 208, 224, 0.16);
  --mono: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -10%, rgba(53, 208, 224, 0.07), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 100% 100%, 44px 44px, 44px 44px;
  color: #E8EEF2;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
}

/* CRT scanline overlay + vignette, CSS only */
.crt {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.025) 0,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 3px
  );
}

.crt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.45) 100%);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: var(--cyan);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 0.85rem;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus-visible {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.site-header {
  padding: 1.25rem 1.25rem 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  color: var(--cyan);
}

.wordmark-glyph {
  flex: none;
  filter: drop-shadow(0 0 6px rgba(53, 208, 224, 0.5));
}

.wordmark-text {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.42em;
}

main {
  flex: 1;
  width: min(100% - 2.5rem, 46rem);
  margin-inline: auto;
  padding: 3rem 0 4rem;
}

.hero {
  position: relative;
  padding: 2rem 0 0;
}

.hud-tag {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  color: var(--amber);
}

h1 {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(1.9rem, 7.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.06em;
  color: #F2F7F9;
  text-shadow: 0 0 24px rgba(53, 208, 224, 0.28);
}

.subhead {
  max-width: 38rem;
  margin: 1.4rem 0 0;
  font-size: 1.05rem;
  color: var(--gray);
}

.directives {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.directives li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.4rem;
  border: 1px solid var(--line);
  background: rgba(14, 20, 27, 0.72);
  font-family: var(--mono);
  font-size: 0.92rem;
  color: #C6D2DA;
}

.directives li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  translate: 0 -50%;
  width: 0;
  height: 0;
  border-left: 7px solid var(--cyan);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.enlist {
  margin-top: 3.5rem;
  padding: 1.6rem 1.25rem;
  border: 1px solid var(--line);
  background: rgba(14, 20, 27, 0.72);
  position: relative;
}

/* HUD corner brackets */
.enlist::before,
.enlist::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--cyan);
  pointer-events: none;
}

.enlist::before {
  top: -2px;
  left: -2px;
  border-right: 0;
  border-bottom: 0;
}

.enlist::after {
  bottom: -2px;
  right: -2px;
  border-left: 0;
  border-top: 0;
}

h2 {
  margin: 0 0 1.1rem;
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--gray);
}

.field-row {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

input[type="email"] {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg);
  color: #E8EEF2;
  font-family: var(--mono);
  font-size: 0.95rem;
}

input[type="email"]::placeholder {
  color: rgba(138, 151, 163, 0.55);
}

input[type="email"]:focus-visible {
  border-color: var(--cyan);
  outline-offset: 0;
}

button {
  padding: 0.75rem 1.6rem;
  border: 1px solid var(--cyan);
  border-radius: 0;
  background: transparent;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

button:hover {
  background: var(--cyan);
  color: var(--bg);
  box-shadow: 0 0 18px rgba(53, 208, 224, 0.35);
}

button:disabled {
  border-color: var(--gray);
  color: var(--gray);
  cursor: wait;
  box-shadow: none;
  background: transparent;
}

.microcopy {
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
  color: var(--gray);
}

.form-status {
  margin: 0.9rem 0 0;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--amber);
}

.form-status[hidden] {
  display: none;
}

.form-status.is-ok {
  color: var(--green);
}

.form-status.is-error {
  color: var(--red);
}

.site-footer {
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--gray);
}

.site-footer p {
  margin: 0;
}

@media (min-width: 40rem) {
  .field-row {
    flex-direction: row;
    align-items: stretch;
  }

  .field-row input[type="email"] {
    flex: 1;
  }

  .enlist {
    padding: 2rem 2.25rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero > *,
  .enlist {
    animation: rise 0.55s ease both;
  }

  .hero > *:nth-child(2) { animation-delay: 0.08s; }
  .hero > *:nth-child(3) { animation-delay: 0.16s; }
  .directives li:nth-child(1) { animation-delay: 0.24s; }
  .directives li:nth-child(2) { animation-delay: 0.32s; }
  .directives li:nth-child(3) { animation-delay: 0.4s; }
  .enlist { animation-delay: 0.48s; }

  .directives li {
    animation: rise 0.55s ease both;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.studio-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.studio-mark { display:inline-block; width:16px; height:16px; background:url(/studio-mark.svg) center/contain no-repeat; vertical-align:middle; margin-right:.4rem; }

.site-header { display:flex; justify-content:space-between; align-items:center; padding:1rem 1.25rem; }
.site-nav a { margin-left:1rem; font-family:var(--mono); font-size:.85rem; }
.header-enlist { border:1px solid var(--nullbright-gold); color:var(--nullbright-gold); padding:.3rem .7rem; text-decoration:none; }
.hero-media { max-height:55vh; overflow:hidden; }
.hero-video { display:block; width:100%; height:auto; max-height:55vh; object-fit:cover; object-position:center; }
.hero { text-align:center; padding:0 1rem 2rem; }
.signup { display:flex; flex-wrap:wrap; gap:.5rem; justify-content:center; align-items:end; max-width:40rem; margin:1rem auto 0; }
.signup label { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.signup input, .signup select { background:var(--panel); color:#E8EEF2; border:1px solid #2a3540; padding:.6rem; font-size:1rem; }
.signup input { flex:1 1 14rem; }
.signup button { background:var(--nullbright-gold); color:var(--bg); font-family:var(--mono); font-weight:700; padding:.6rem 1rem; border:0; cursor:pointer; }
.hp { position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden; }
.proof-points { list-style:none; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
.proof-points li { border-left:2px solid var(--cyan); padding-left:.75rem; }
.proof-points b { display:block; color:#fff; }
@media (max-width: 600px) {
  .proof-points { grid-template-columns:1fr; }
  .signup { flex-direction:column; align-items:stretch; }
  .signup input, .signup select, .signup button { width:100%; }
}
@media (prefers-reduced-motion: reduce) { .hero-video { animation:none; } }

/* Compact hero so the H1 and the form sit inside a 1366x768 viewport */
.hero { padding: 0 1rem 1.25rem; }
.hero-media, .hero-video { max-height: 42vh; }
.hero .hud-tag { margin: .75rem 0 .25rem; }
.hero h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; margin: .25rem 0 .5rem; letter-spacing: .04em; }
.hero .subhead { font-size: 1.05rem; line-height: 1.4; margin: 0 auto .75rem; max-width: 40rem; }
.hero .signup { margin-top: .5rem; }
.hero .microcopy { margin: .5rem 0 0; font-size: .9rem; }
