/* Moral Kombat — coming-soon landing.
   Standalone static port of the app's coming-soon design. Typography uses the
   app-wide standard: Archivo (display) + Inter (body), loaded in index.html. */

:root {
  --font-display: "Archivo", sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #050507;
}

.root {
  --bg: #050507;
  --bg-card: rgba(10, 11, 16, 0.78);
  --ink: #ffffff;
  --muted: #b0b2b8;
  --dim: #74767e;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --cyan: #15c2e8;
  --magenta: #ed1e79;
  --purple: #9b5de5;
  --gold: #f0a93c;

  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

.root * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.display {
  font-family: var(--font-display), "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.cy { color: var(--cyan); }
.mg { color: var(--magenta); }
.gd { color: var(--gold); }

/* fixed arena behind everything */
.arenaFixed {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #050507 url("/images/landing/empty-arena.webp") center center / cover no-repeat;
}
.arenaFixed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.45) 0%, rgba(5, 5, 7, 0.6) 50%, rgba(5, 5, 7, 0.82) 100%);
}

.root section,
.root header,
.root footer {
  position: relative;
  z-index: 1;
}
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* topbar */
.topbar { padding: 24px 0; }
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display), sans-serif;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.logo .k {
  background: linear-gradient(100deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffd9c7;
  background: rgba(237, 30, 121, 0.14);
  border: 1px solid rgba(237, 30, 121, 0.45);
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(237, 30, 121, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(237, 30, 121, 0); }
  100% { box-shadow: 0 0 0 0 rgba(237, 30, 121, 0); }
}

/* hero */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 40px 0 90px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 7, 0.9) 0%, rgba(5, 5, 7, 0.45) 48%, rgba(5, 5, 7, 0.05) 78%, transparent 100%);
}
.heroInner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  text-align: left;
}
.headline {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.98;
  margin-bottom: 24px;
  text-shadow: 0 2px 50px rgba(0, 0, 0, 0.7);
}
.sub {
  font-size: clamp(16px, 4vw, 22px);
  font-weight: 600;
  margin-bottom: 32px;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.7);
}
.sub .sep {
  color: var(--gold);
  margin: 0 10px;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 38px;
}
.pills span {
  padding-right: 14px;
  margin-right: 14px;
}
.pills span:not(:last-child) {
  border-right: 1px solid var(--line-strong);
}
.pills .a { color: var(--cyan); }
.pills .b { color: var(--purple); }
.pills .c { color: var(--magenta); }
.ctaPrimary {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #04141a;
  background: linear-gradient(100deg, var(--cyan), var(--magenta));
  border: none;
  border-radius: 12px;
  padding: 16px 38px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 36px rgba(237, 30, 121, 0.4);
  transition: transform 0.12s ease, filter 0.18s ease, box-shadow 0.2s ease;
}
.ctaPrimary:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 52px rgba(237, 30, 121, 0.55);
}
.ctaPrimary:active { transform: scale(0.98); }

/* statement band (hero-arena image) */
.statement {
  min-height: 88vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  background: #050507 url("/images/landing/hero-arena.jpg") center center / cover no-repeat;
}
.statement::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.78) 0%, rgba(5, 5, 7, 0.32) 32%, rgba(5, 5, 7, 0.2) 60%, rgba(5, 5, 7, 0.7) 100%);
}
.statement .inner {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 12vh, 130px) 24px 60px;
  max-width: 860px;
}
.statement h2 {
  font-family: var(--font-display), sans-serif;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.04;
  text-transform: uppercase;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.9);
}
.statement h2 .line {
  display: block;
  white-space: nowrap;
}
.statement p {
  font-size: clamp(15px, 3.6vw, 19px);
  color: var(--ink);
  font-weight: 500;
  margin-top: 16px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.95);
}

/* generic block */
.block { padding: clamp(70px, 13vh, 120px) 0; }
.secTitle {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1;
  text-align: center;
  margin-bottom: 16px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.7);
}
.secIntro {
  max-width: 52ch;
  margin: 0 auto clamp(44px, 8vh, 68px);
  text-align: center;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* journey */
.journey { position: relative; }
.jRail {
  position: absolute;
  top: 27px;
  left: 4%;
  right: 4%;
  height: 5px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--magenta));
  box-shadow: 0 0 22px rgba(155, 93, 229, 0.5);
}
.jGrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
  align-items: stretch;
}
.jCol {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.jNode {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display), sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  background: #0a0b10;
  border: 2px solid var(--purple);
  margin-bottom: 22px;
}
.jCol:first-child .jNode { border-color: var(--cyan); }
.jCol:last-child .jNode { border-color: var(--magenta); }
.jCard {
  flex: 1;
  width: 100%;
  min-height: 160px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.jCard h4 {
  font-family: var(--font-display), sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
  background: linear-gradient(100deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.jCard p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* value props */
.props {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.prop {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 30px;
}
.prop.debater { border-top: 3px solid var(--gold); }
.prop.crowd { border-top: 3px solid var(--cyan); }
.prop .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.prop.debater .eyebrow { color: var(--gold); }
.prop.crowd .eyebrow { color: var(--cyan); }
.prop h3 {
  font-family: var(--font-display), sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 24px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.prop p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}
.prop .fine {
  font-size: 12px;
  color: var(--dim);
  margin-top: 12px;
}

/* signup band (cta-arena-banner image) */
.signupBand {
  padding: clamp(70px, 13vh, 120px) 0;
  background: #050507 url("/images/landing/cta-arena-banner.jpg") center center / cover no-repeat;
}
.signupBand::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 90% at 50% 50%, rgba(5, 5, 7, 0.35), rgba(5, 5, 7, 0.78));
}
.signup {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: clamp(36px, 6vw, 56px);
  text-align: center;
  overflow: hidden;
}
.signup::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(120deg, var(--cyan), var(--magenta));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.signup .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.signup h2 {
  font-family: var(--font-display), sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4.5vw, 42px);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.signup .lead {
  font-size: 15.5px;
  color: var(--muted);
  max-width: 44ch;
  margin: 0 auto 26px;
}
.roles {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
}
.role:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.36);
}
.role[aria-pressed="true"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}
.formRow {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
.formRow input {
  flex: 1;
  font-size: 15px;
  color: var(--ink);
  background: rgba(5, 5, 7, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0 16px;
  height: 52px;
  outline: none;
  transition: border-color 0.18s ease;
  font-family: inherit;
}
.formRow input::placeholder { color: var(--dim); }
.formRow input:focus { border-color: var(--cyan); }
.formRow input.invalid { border-color: var(--magenta); }
.notify {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #04141a;
  background: linear-gradient(100deg, var(--cyan), var(--magenta));
  border: none;
  border-radius: 12px;
  padding: 0 26px;
  height: 52px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 0 24px rgba(237, 30, 121, 0.3);
  transition: transform 0.12s ease, filter 0.18s ease, box-shadow 0.2s ease;
  font-family: inherit;
}
.notify:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 38px rgba(237, 30, 121, 0.5);
}
.notify:active { transform: scale(0.97); }
.notify:disabled {
  cursor: default;
  filter: saturate(0.5) brightness(0.8);
  box-shadow: none;
}
.microcopy {
  font-size: 12.5px;
  color: var(--dim);
  margin-top: 14px;
}
.microcopy.error { color: var(--magenta); }
.success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--cyan);
  min-height: 52px;
}
.success.show { display: flex; }

.footer {
  padding: 48px 0 56px;
  text-align: center;
}
.socials {
  display: inline-flex;
  gap: 18px;
  margin-bottom: 14px;
}
.socials a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.18s ease;
}
.socials a:hover { color: var(--ink); }
.copyright {
  font-size: 12px;
  color: var(--dim);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.27s; }
@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* floating section chevron */
.chevron {
  position: fixed;
  bottom: 22px;
  left: 50%;
  z-index: 50;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: rgba(10, 11, 16, 0.6);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  cursor: pointer;
  animation: bob 1.9s ease-in-out infinite;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.chevron:hover {
  background: rgba(21, 194, 232, 0.18);
  border-color: rgba(21, 194, 232, 0.6);
}
.chevron svg { transition: transform 0.25s ease; }
.chevron.atEnd svg { transform: rotate(180deg); }
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}

@media (max-width: 760px) {
  .arenaFixed { background-position: 64% center; }
  /* Archivo is wider than the original Anton — let the statement phrases wrap
     on narrow screens instead of forcing one (overflowing) line. */
  .statement h2 .line { white-space: normal; }
  .statement {
    background-image: url("/images/landing/hero-arena-mobile.jpg"),
      url("/images/landing/hero-arena.jpg");
  }
  .hero { text-align: center; }
  .hero::before {
    background: linear-gradient(180deg, rgba(5, 5, 7, 0.55), rgba(5, 5, 7, 0.78));
  }
  .heroInner {
    text-align: center;
    max-width: none;
    margin: 0 auto;
  }
  .pills { justify-content: center; }
  .jRail { display: none; }
  .jGrid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .jNode { margin-bottom: 12px; }
  .jCard { min-height: auto; }
  .props { grid-template-columns: 1fr; }
  .formRow { flex-direction: column; }
  .formRow input,
  .notify { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .dot,
  .chevron { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
