:root {
  --bg: #000000;
  --navy: #1a2744;
  --steel: #6b8cae;
  --slate: #4a5568;
  --white: #f7fafc;
  --muted: #a0aec0;
  --card: #111827;
  --line: rgba(107, 140, 174, 0.28);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--white);
  background: #000;
  line-height: 1.55;
}
a { color: var(--steel); }
img { max-width: 100%; height: auto; display: block; }

.hero-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}
.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.28) 36%, rgba(0,0,0,0.08) 70%, rgba(0,0,0,0.04) 100%),
    url("/brand/hero-bg.jpg?v=11") center / cover no-repeat;
}
.hero-shell.stage-1 {
  min-height: 72vh;
}
.hero-shell.stage-1::before {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.28) 48%, rgba(0,0,0,0.12) 100%),
    url("/brand/stage-1-bg.jpg?v=3") center / cover no-repeat;
}
.hero-shell.stage-2 {
  min-height: 72vh;
}
.hero-shell.stage-2::before {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.32) 46%, rgba(0,0,0,0.16) 100%),
    url("/brand/stage-2-bg.jpg?v=3") center / cover no-repeat;
}
.hero-shell > * { position: relative; z-index: 1; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

header.site { padding: 18px 0 0; }
.site-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 1.08rem;
  white-space: nowrap;
}
.brand img {
  width: 42px;
  height: 42px;
  background: #eef2f6;
  border-radius: 7px;
  padding: 2px;
  box-sizing: border-box;
}
.brand span { display: block; line-height: 1; }

.actions { display: flex; align-items: center; gap: 12px; }

.nav-drop { position: relative; }
.nav-drop > summary {
  list-style: none;
  cursor: pointer;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  background: rgba(0,0,0,0.25);
}
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop > summary::after { content: " ▾"; font-weight: 400; }
.nav-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 260px;
  background: #0b0f14;
  border: 1px solid rgba(107, 140, 174, 0.35);
  border-radius: 12px;
  padding: 8px 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  z-index: 20;
}
.nav-panel a {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 12px 18px;
  font-size: 0.95rem;
}
.nav-panel a:hover,
.nav-panel a[aria-current="page"] {
  background: rgba(107, 140, 174, 0.16);
  color: #d6e2ef;
}

.btn-login {
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
}
.btn-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  padding: 16px 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3d5a80, #6b8cae);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.55);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.hero { padding: 8vh 0 10vh; max-width: 36rem; }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  font-weight: 500;
}
.hero .lead { font-size: 1.12rem; color: #e2e8f0; margin: 0 0 14px; }
.hero .sub { color: var(--muted); margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 8px 0 22px; }
.early { color: var(--steel); font-size: 0.95rem; margin: 0; }

.panel {
  background: #000;
  padding: 56px 0 28px;
}
.tagline {
  text-align: center;
  font-style: italic;
  color: #cbd5e0;
  max-width: 34rem;
  margin: 0 auto 36px;
  font-size: 1.15rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  padding-bottom: 48px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
  background: var(--card);
}
.card h2 { margin: 0 0 8px; font-size: 1.12rem; color: #d6e2ef; font-weight: 600; }
.card p { margin: 0; color: #a0aec0; }

.page { padding: 28px 0 64px; }
.page h1 { font-size: 2rem; margin: 0 0 12px; }
.page p { color: #a0aec0; max-width: 40rem; }

footer.site {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
  background: #000;
}
footer.site a { color: #cbd5e0; text-decoration: none; }
footer.site a:hover { color: var(--steel); }

@media (max-width: 800px) {
  .hero-shell::before {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.42) 42%, rgba(0,0,0,0.22) 100%),
      url("/brand/hero-bg.jpg?v=11") center / cover no-repeat;
  }
  .hero-shell.stage-1::before {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.28) 100%),
      url("/brand/stage-1-bg.jpg?v=3") center / cover no-repeat;
  }
  .hero-shell.stage-2::before {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 100%),
      url("/brand/stage-2-bg.jpg?v=3") center / cover no-repeat;
  }
  .btn-signup { min-width: min(280px, 100%); width: 100%; max-width: 360px; }
  .hero { max-width: none; }
}
