/* JumpRisk landing — dark base + orange accent, threaded from rvol.alpha-gen.io */

:root {
  --bg: #0e1117;
  --panel: #161a23;
  --border: #3a4250;
  --fg: #f3f5f8;
  --muted: #9aa4b2;
  --accent: #ff8c00;
  --accent-dark: #cc7000;
  --maxw: 40rem;
  --radius: 14px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica,
          Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  /* soft orange glow, top-centre */
  background-image:
    radial-gradient(60rem 32rem at 50% -8%,
                    rgba(255, 140, 0, 0.10), transparent 70%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 3rem);
}

.card {
  width: 100%;
  max-width: var(--maxw);
  text-align: center;
}

/* Brand lockup — JumpRisk wordmark (reversed, for dark bg), matches the webapp */
.brand {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 2rem;
}
.brand-logo {
  height: clamp(34px, 7vw, 44px);
  width: auto;
  display: block;
}

/* Hero copy */
.tagline {
  font-size: clamp(2rem, 6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  font-weight: 700;
}
.lede {
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  line-height: 1.6;
  color: var(--muted);
  margin: 0 auto 2.25rem;
  max-width: 34rem;
}

/* Waitlist form */
.waitlist { margin: 0 auto; max-width: 30rem; }
.field {
  display: flex;
  gap: 0.5rem;
}
.field input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--fg);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder { color: #6b7686; }
.field input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.25);
}

.field button {
  flex: 0 0 auto;
  padding: 0.85rem 1.4rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: #1a1206;
  background: var(--accent);
  border: 1px solid var(--accent-dark);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}
.field button:hover { background: #ffa12e; }
.field button:active { transform: translateY(1px); }
.field button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.35);
}
.field button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.status {
  min-height: 1.25rem;
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.status.ok { color: var(--accent); }
.status.err { color: #ff6b6b; }
.status a { color: var(--accent); }

/* Footer */
.foot {
  margin-top: 3rem;
  color: #6b7686;
  font-size: 0.8rem;
  line-height: 1.5;
}
.foot p { margin: 0.35rem 0; }
.disclaimer { max-width: 32rem; margin-left: auto; margin-right: auto; }

/* Honeypot + screen-reader-only helpers */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.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: 28rem) {
  .field { flex-direction: column; }
  .field button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
