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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #111;
  color: #e8e4df;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}

.container {
  text-align: center;
  padding: 2rem;
  max-width: 480px;
  width: 100%;
}

.logo {
  width: 220px;
  margin-bottom: 1.5rem;
}

.tagline {
  font-size: 1.1rem;
  color: #9a9590;
  margin-bottom: 3rem;
  letter-spacing: 0.14em;
  font-weight: 300;
  text-transform: uppercase;
}

.countdown {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.countdown-value {
  font-size: 3.6rem;
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b6560;
  margin-top: 0.5rem;
}

.subscribe-section {
  margin-bottom: 1rem;
}

.subscribe-form {
  display: flex;
  gap: 0;
  max-width: 380px;
  margin: 0 auto;
  border: 1px solid #333;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.subscribe-form:focus-within {
  border-color: #555;
}

.subscribe-form input[type="email"] {
  flex: 1;
  padding: 1.1rem 1rem;
  background: transparent;
  border: none;
  color: #e8e4df;
  font-size: 0.85rem;
  outline: none;
  min-width: 0;
}

.subscribe-form input[type="email"]::placeholder {
  color: #555;
}

.subscribe-form button {
  padding: 1.1rem 1.4rem;
  background: #e8e4df;
  color: #111;
  border: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.subscribe-form button:hover {
  background: #fff;
}

.subscribe-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.message {
  margin-top: 1rem;
  font-size: 0.85rem;
  min-height: 1.3em;
  transition: opacity 0.3s;
}

.message.success {
  color: #8ab885;
}

.message.error {
  color: #c47a6a;
}

@media (max-width: 480px) {
  .logo {
    width: 170px;
  }

  .countdown-value {
    font-size: 2.4rem;
  }

  .subscribe-form {
    flex-direction: column;
    border-radius: 6px;
  }

  .subscribe-form button {
    border-top: 1px solid #333;
  }
}
