/* Stralacart coming soon page
 * Minimal, focused, single-action layout
 */

:root {
  --navy: #0A2540;
  --navy-deep: #061A30;
  --coral: #E76F51;
  --coral-deep: #D65F43;
  --slate: #475569;
  --slate-soft: #64748B;
  --mist: #E5E7EB;
  --cloud: #F5F7FA;
  --white: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page shell */
.page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}

/* Subtle coral wash in the corner */
.page::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 540px;
  height: 540px;
  background: radial-gradient(closest-side, rgba(231, 111, 81, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.page::after {
  content: "";
  position: absolute;
  bottom: -240px;
  left: -200px;
  width: 480px;
  height: 480px;
  background: radial-gradient(closest-side, rgba(10, 37, 64, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Card */
.card {
  position: relative;
  z-index: 1;
  max-width: 640px;
  width: 100%;
  text-align: center;
  padding: 48px 32px;
}

/* Wordmark */
.logo {
  display: block;
  width: 320px;
  max-width: 80%;
  height: auto;
  margin: 0 auto 40px;
}

/* Eyebrow */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 24px;
  padding: 6px 14px;
  background: rgba(231, 111, 81, 0.10);
  border-radius: 100px;
}

/* Headline */
h1 {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--navy);
  margin-bottom: 28px;
}

/* Lead text */
.lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0 auto 36px;
  max-width: 520px;
}

/* Form */
.form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 16px;
}

.form input[type="email"] {
  flex-grow: 1;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  padding: 14px 18px;
  border: 1.5px solid var(--mist);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form input[type="email"]::placeholder {
  color: var(--slate-soft);
}
.form input[type="email"]:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(231, 111, 81, 0.15);
}

.form .btn {
  flex-shrink: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  background: var(--coral);
  color: var(--white);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.form .btn:hover {
  background: var(--coral-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(231, 111, 81, 0.32);
}
.form .btn:active {
  transform: translateY(0);
}

/* Honeypot (hidden from humans) */
.form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Privacy note */
.privacy {
  font-size: 13px;
  color: var(--slate-soft);
  margin: 0 auto;
  max-width: 480px;
}

/* Success state */
.success {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.30);
  color: var(--navy);
  padding: 20px 24px;
  border-radius: 10px;
  margin: 0 auto;
  max-width: 480px;
}
.success p { margin: 0; font-size: 16px; }
.success strong { color: #10B981; }

/* Footer */
.foot {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  text-align: center;
  font-size: 13px;
  color: var(--slate-soft);
}

/* Mobile */
@media (max-width: 600px) {
  .card { padding: 32px 20px; }
  .logo { width: 240px; margin-bottom: 32px; }
  h1 { font-size: clamp(28px, 7vw, 40px); }
  h1 br { display: none; }
  .lead { font-size: 16px; }
  .form { flex-direction: column; gap: 12px; }
  .form .btn { width: 100%; padding: 14px 20px; }
  .page { padding: 32px 20px; }
}

/* Skip animations for reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
