/* =====================================================
   AuctionOS Coming Soon
   ===================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background: #080B14;
  font-family: 'Inter', system-ui, sans-serif;
  color: #F8FAFC;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── Background layers ── */

.mesh {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(16,185,129,0.09) 0%, transparent 55%),
    radial-gradient(ellipse 30% 30% at 15% 90%,  rgba(16,185,129,0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── Nav ── */

.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav__wordmark {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #F8FAFC;
  text-decoration: none;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 13px;
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.nav__link:hover {
  color: #94A3B8;
}

/* ── Hero ── */

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 66px);
  padding: 64px 24px 72px;
  text-align: center;
}

.hero__eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #10B981;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(16, 185, 129, 0.35);
}

.hero__h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #F8FAFC;
  max-width: 660px;
  margin-bottom: 20px;
}

.hero__rule {
  width: 40px;
  height: 2px;
  background: #10B981;
  border: none;
  margin: 0 auto 20px;
  border-radius: 1px;
}

.hero__sub {
  font-size: 15px;
  color: #5A6E85;
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 36px;
}

/* ── Email form ── */

#form-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 440px;
  margin-bottom: 14px;
}

.sub-form {
  display: flex;
  gap: 8px;
  width: 100%;
}

.sub-input {
  flex: 1;
  background: rgba(13, 20, 33, 0.85);
  border: 1px solid #1E293B;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #F8FAFC;
  outline: none;
  min-width: 0;
  backdrop-filter: blur(4px);
  transition: border-color 0.15s;
}

.sub-input:focus {
  border-color: rgba(16, 185, 129, 0.45);
}

.sub-input::placeholder {
  color: #2D3F55;
}

.sub-btn {
  background: #10B981;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
  transition: background 0.15s;
}

.sub-btn:hover {
  background: #0EA272;
}

.sub-btn.htmx-request {
  opacity: 0.7;
  cursor: wait;
}

.sub-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #10B981;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  width: 100%;
  background: rgba(16, 185, 129, 0.04);
}

.sub-error {
  font-size: 13px;
  color: #F87171;
  margin-top: 8px;
  text-align: center;
}

/* ── Microcopy ── */

.hero__micro {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #2D3F55;
  margin-bottom: 52px;
  white-space: nowrap;
}

/* ── Feature chips ── */

.hero__feats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 680px;
}

.hero__feat {
  font-size: 12px;
  color: #4A6070;
  padding: 7px 14px;
  border: 1px solid #1A2535;
  border-radius: 6px;
  font-weight: 500;
  background: rgba(13, 20, 33, 0.4);
  letter-spacing: 0.01em;
}

/* ── Responsive ── */

@media (max-width: 640px) {
  .nav {
    padding: 18px 24px;
  }
  .nav__links {
    display: none;
  }
  .sub-form {
    flex-direction: column;
  }
  .hero__micro {
    white-space: normal;
    text-align: center;
  }
}
