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

:root {
  --black: #0a0a0a;
  --white: #f5f5f0;
  --cream: #eae6df;
  --gold: #c8a96e;
  --gold-light: #dcc49a;
  --gray: #888;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ——— Nav ——— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 24px;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.logo {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-dot {
  color: var(--gold);
}

/* ——— Hero ——— */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-inner {
  max-width: 720px;
}

.hero-tag {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--white);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ——— Signup form ——— */
.signup-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto 16px;
}

.signup-input {
  flex: 1;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.signup-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.signup-input:focus {
  border-color: var(--gold);
}

.signup-btn {
  padding: 16px 32px;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.signup-btn:hover {
  background: var(--gold-light);
}

.signup-btn:active {
  transform: scale(0.97);
}

.signup-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

/* ——— Recent dates ——— */
.recent {
  padding: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.recent-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.25);
  text-align: center;
  margin-bottom: 20px;
}

.recent-track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  animation: scroll 25s linear infinite;
  width: max-content;
}

.recent-item {
  font-size: 0.9rem;
  color: var(--cream);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.recent-divider {
  color: rgba(255, 255, 255, 0.15);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ——— How it works ——— */
.how-it-works {
  padding: 120px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 72px;
  letter-spacing: -0.02em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.step {
  text-align: center;
}

.step-number {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ——— Why section ——— */
.why {
  padding: 120px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.why-card {
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.why-card h3 {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
}

.why-card p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ——— Bottom CTA ——— */
.cta {
  padding: 120px 24px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cta h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta p {
  color: var(--gray);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

/* ——— Footer ——— */
.footer {
  padding: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ——— Confirmation state ——— */
.signup-form.submitted .signup-input,
.signup-form.submitted .signup-btn {
  display: none;
}

.signup-confirm {
  font-size: 1rem;
  color: var(--gold);
  font-weight: 500;
}

/* ——— Responsive ——— */
@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .signup-form {
    flex-direction: column;
  }

  .signup-btn {
    width: 100%;
  }

  .hero {
    padding: 100px 20px 60px;
  }
}
