:root {
  --bg: #05070b;
  --navy: #061018;
  --cyan: #5ee7e0;
  --white: #f4f7fb;
  --muted: #9aa7b8;
  --card: rgba(8, 16, 28, 0.72);
  --line: rgba(94, 231, 224, 0.22);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--white);
  background: var(--bg);
  line-height: 1.55;
}
a { color: var(--cyan); }
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.55) 0%, rgba(0,0,0,0.22) 32%, rgba(0,0,0,0.08) 62%, rgba(0,0,0,0.02) 100%),
    url("/brand/hero-bg.jpg?v=3") center right / 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;
}
nav.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: 16px 0 6px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 8px;
}
nav.menu a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  opacity: 0.9;
  white-space: nowrap;
}
nav.menu a[aria-current="page"] {
  color: var(--cyan);
  opacity: 1;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand img {
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 8px;
}
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand small { color: #8aa0b5; font-weight: 400; font-size: 0.78rem; }

.actions { display: flex; align-items: center; gap: 12px; }
.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: var(--cyan);
  color: #041018;
  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: #d5deea; 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(--cyan); font-size: 0.95rem; margin: 0; }

.panel {
  background: #070b12;
  padding: 56px 0 28px;
}
.tagline {
  text-align: center;
  font-style: italic;
  color: #c5d0dc;
  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: var(--cyan); font-weight: 600; }
.card p { margin: 0; color: #c9d3df; }

.page { padding: 28px 0 64px; }
.page h1 { font-size: 2rem; margin: 0 0 12px; }
.page p { color: #c9d3df; 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: #05070b;
}
footer.site a { color: #c9d3df; text-decoration: none; }
footer.site a:hover { color: var(--cyan); }

@media (max-width: 800px) {
  .hero-shell::before {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.62) 42%, rgba(0,0,0,0.35) 100%),
      url("/brand/hero-bg.jpg?v=3") 78% center / cover no-repeat;
  }
  .btn-signup { min-width: min(280px, 100%); width: 100%; max-width: 360px; }
  .hero { max-width: none; }
  nav.menu { gap: 10px 16px; }
}
