/* Landing page */
.hero {
  position: relative; overflow: hidden;
  min-height: 560px; display: flex; align-items: center;
  background: #070720 url('/img/hero.jpg') center 40% / cover no-repeat;
  border-bottom: 1px solid #1c1c3d;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 35, 0.96) 0%, rgba(10, 10, 35, 0.82) 45%, rgba(10, 10, 35, 0.45) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 10, 35, 0) 40%);
}
.hero-inner { position: relative; width: 100%; padding-top: 56px; padding-bottom: 64px; }
.hero-brand { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-brand .wordmark { font: 800 clamp(3.4rem, 8vw, 5.6rem) var(--font-display); color: #fff; line-height: 0.9; letter-spacing: -0.01em; }
.hero-brand .wordmark b { color: var(--accent); }
.hero-brand .tagline h2 { font-size: 1.6rem; margin: 0 0 10px; }
.hero-brand .tagline .row { gap: 14px; }
.hero-brand .tagline .compliant { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-size: 0.85rem; }

.codebar { display: flex; max-width: 640px; margin-top: 36px; }
.codebar input.code-input {
  flex: 1; height: 58px; border-radius: 4px 0 0 4px; border: 0; background: #fff; color: #11112a;
  font: 700 1.3rem var(--mono); letter-spacing: 0.2em; text-transform: uppercase; padding: 0 20px;
}
.codebar input.code-input::placeholder { color: #8b8bab; letter-spacing: 0.08em; font: 500 1rem var(--font); text-transform: none; }
.codebar input.code-input:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.codebar button { height: 58px; border-radius: 0 4px 4px 0; padding: 0 26px; font-size: 0.95rem; }
.form-error { color: var(--red); margin: 12px 0 0; font-weight: 600; }
.hero .hint { color: var(--muted); margin-top: 12px; font-size: 0.88rem; }
.hero .hint code { background: rgba(50, 115, 250, 0.16); color: #fff; padding: 2px 6px; border-radius: 3px; }
.logged-in { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats { margin-top: 36px; max-width: 640px; }

.steps .card { display: flex; gap: 14px; align-items: flex-start; }
.steps .step-n {
  width: 40px; height: 40px; border-radius: 6px; background: var(--accent); color: #fff; flex-shrink: 0;
  display: grid; place-items: center; font: 800 1.2rem var(--font-display);
}
.steps h3 { margin: 2px 0 4px; }
.steps p { margin: 0; }

.mode-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.mode-card .mode-thumb { aspect-ratio: 16 / 8; }
.mode-card .mode-body { padding: 22px 16px 16px; position: relative; }
.mode-card h3 { margin: 0; }
.mode-card p { color: var(--muted); margin: 6px 0 0; }
section { scroll-margin-top: 80px; }
@media (max-width: 700px) {
  .hero { min-height: 0; }
  .codebar { flex-direction: column; gap: 8px; }
  .codebar input.code-input, .codebar button { border-radius: 4px; }
}
