
:root {
  --black: #050505;
  --charcoal: #1a1a1d;
  --gunmetal: #3b3f45;
  --silver: #a7a7aa;
  --crimson: #8b0f0f;
  --red: #e10606;
  --white: #eeeeef;
  --panel: rgba(7, 7, 8, .86);
  --line: rgba(255,255,255,.14);
}

* { box-sizing: border-box; }

html { background: var(--black); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  background: #050505;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 18%, rgba(225,6,6,.08), transparent 32rem),
    linear-gradient(180deg, rgba(255,255,255,.015), transparent 30%);
  z-index: 10;
}

.page-shell {
  width: min(1800px, 100%);
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #050505;
}

.topbar {
  min-height: 58px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .23em;
  color: #b6b6ba;
  text-transform: uppercase;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 13px;
}

.red-rule {
  display: block;
  width: 34px;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 12px rgba(225,6,6,.65);
}

.muted { color: #626269; }

.hero {
  position: relative;
  min-height: clamp(620px, 77vh, 920px);
  overflow: hidden;
  isolation: isolate;
  background: #050505;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("remuxt-hero.webp");
  background-size: cover;
  background-position: center center;
  filter: saturate(.94) contrast(1.04);
  transform: scale(1.012);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.06) 48%, rgba(0,0,0,.74) 100%),
    linear-gradient(90deg, rgba(0,0,0,.22), transparent 18%, transparent 82%, rgba(0,0,0,.22));
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 0 32px 28px;
  display: flex;
  justify-content: center;
}

.signup-panel {
  width: min(1120px, 100%);
  min-height: 144px;
  display: grid;
  grid-template-columns: minmax(270px, .85fr) minmax(420px, 1.3fr);
  gap: 40px;
  align-items: center;
  padding: 24px 26px;
  background:
    linear-gradient(120deg, rgba(18,18,20,.95), rgba(4,4,5,.91)),
    radial-gradient(circle at 80% 50%, rgba(225,6,6,.08), transparent 24rem);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow:
    0 24px 60px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
  position: relative;
}

.signup-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 96px;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 18px rgba(225,6,6,.8);
}

.eyebrow {
  color: var(--red);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .3em;
  margin-bottom: 10px;
}

.signup-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -.02em;
}

.signup-copy p {
  margin: 9px 0 0;
  color: #8d8d93;
  font-size: .92rem;
  line-height: 1.5;
}

.signup-wrap {
  min-width: 0;
}

.signup {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.signup input {
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 0;
  background: rgba(255,255,255,.055);
  color: #f3f3f4;
  padding: 15px 16px;
  outline: none;
  font: inherit;
  letter-spacing: .01em;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.signup input::placeholder { color: #6c6c72; }

.signup input:focus {
  border-color: rgba(225,6,6,.8);
  background: rgba(255,255,255,.07);
  box-shadow: 0 0 0 3px rgba(225,6,6,.08);
}

.signup button {
  border: 1px solid #ef1717;
  border-radius: 0;
  padding: 0 22px;
  min-height: 52px;
  background:
    linear-gradient(180deg, #f00f0f, #b60606);
  color: white;
  font: inherit;
  font-weight: 800;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow:
    0 0 22px rgba(225,6,6,.18),
    inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

.signup button:hover {
  filter: brightness(1.08);
  box-shadow:
    0 0 28px rgba(225,6,6,.28),
    inset 0 1px 0 rgba(255,255,255,.2);
}

.signup button:active { transform: translateY(1px); }

.signup button:disabled {
  cursor: default;
  opacity: .72;
}

.form-note {
  margin: 10px 0 0;
  color: #77777d;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 64px;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, #0b0b0d, #070708);
}

.capability-strip div {
  display: grid;
  place-items: center;
  color: #6f6f75;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .26em;
  border-right: 1px solid rgba(255,255,255,.06);
}

.capability-strip div:last-child { border-right: 0; }

.capability-strip div::before {
  content: "";
  width: 16px;
  height: 1px;
  margin-bottom: -13px;
  background: rgba(225,6,6,.55);
}

footer {
  min-height: 66px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  color: #6d6d73;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .23em;
  text-transform: uppercase;
}

.footer-rule {
  width: 30px;
  height: 1px;
  background: var(--red);
}

.footer-accent { color: #b8b8bc; }

.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;
}

@media (max-width: 900px) {
  .hero {
    min-height: 760px;
  }

  .hero-image {
    background-position: 48% center;
  }

  .signup-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(680px, 100%);
  }

  .capability-strip {
    grid-template-columns: repeat(5, minmax(115px, 1fr));
    overflow-x: auto;
  }
}

@media (max-width: 620px) {
  .topbar {
    min-height: 52px;
    padding: 0 16px;
  }

  .topbar-right, .muted {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-image {
    background-size: auto 720px;
    background-position: center top;
  }

  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.15) 46%, rgba(0,0,0,.9) 78%, #050505 100%);
  }

  .hero-overlay {
    padding: 0 14px 16px;
  }

  .signup-panel {
    padding: 21px 18px;
    gap: 16px;
  }

  .signup {
    grid-template-columns: 1fr;
  }

  .signup button {
    min-height: 50px;
  }

  .capability-strip {
    min-height: 56px;
  }

  footer {
    padding: 0 16px;
    justify-content: center;
  }

  footer > div:first-child,
  .footer-rule {
    display: none;
  }
}
