/* ==========================================================================
   Coming Soon Landing Page — compact, fits one viewport, no scrolling
   ========================================================================== */
html, body.coming-soon-body { height: 100%; }

.coming-soon-body {
  margin: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  background: linear-gradient(160deg, #4F6B49 0%, #7D9B76 45%, #C9A66B 130%);
  font-family: var(--font-body);
}

.coming-soon-wrap {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  max-height: 100vh;
}

.coming-soon-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem 1.75rem;
  width: 100%;
  text-align: center;
}

.coming-soon-logo {
  height: auto;
  width: 220px;
  max-width: 85%;
  margin: 0 auto 0.6rem auto;
}

.coming-soon-card .eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  margin-bottom: 0.35rem;
}

.coming-soon-card h1 {
  font-size: clamp(1.3rem, 3.2vw, 1.65rem);
  margin-bottom: 0.4rem;
  line-height: 1.15;
}

.coming-soon-subtitle {
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
}

.coming-soon-message {
  color: var(--color-text-light);
  margin-bottom: 0.9rem;
  font-size: 0.85rem;
  line-height: 1.45;
}

.coming-soon-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
  margin-bottom: 0.9rem;
}
/* Without this, the `display: flex` rule above (same specificity, declared
   later) beats the browser's default [hidden] rule, so setting
   form.hidden = true in JS after a successful submit would not actually
   hide the button/form. */
.coming-soon-form[hidden] { display: none; }

.coming-soon-form .form-row { gap: 0.25rem; }
.coming-soon-form .form-row label { font-size: 0.8rem; }
.coming-soon-form .form-row input,
.coming-soon-form .form-row textarea {
  padding: 0.5rem 0.75rem;
  /* 16px minimum prevents iOS Safari from auto-zooming the page when a
     field is focused on mobile. */
  font-size: 1rem;
}
.coming-soon-form textarea { min-height: 2.4rem; }
.coming-soon-form .btn { padding: 0.6rem 1rem; font-size: 0.92rem; }

.optional-label {
  font-weight: 400;
  color: var(--color-text-light);
  font-size: 0.75rem;
}

.coming-soon-card .form-success {
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
}

.coming-soon-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.coming-soon-contact i { color: var(--color-primary); }

.coming-soon-social {
  justify-content: center;
}
.coming-soon-social a { width: 2rem; height: 2rem; font-size: 0.9rem; }

.coming-soon-footer {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  text-align: center;
  margin: 0;
}

/* Short viewports (small laptops, landscape phones): shrink further */
@media (max-height: 740px) {
  .coming-soon-card { padding: 1.1rem 1.5rem; }
  .coming-soon-logo { width: 170px; margin-bottom: 0.4rem; }
  .coming-soon-message { margin-bottom: 0.6rem; }
  .coming-soon-form { gap: 0.4rem; margin-bottom: 0.6rem; }
}

@media (max-width: 480px) {
  .coming-soon-card { padding: 1.25rem 1.25rem; }
  .coming-soon-logo { width: 170px; }
}

/* Smaller phones (iPhone SE, small Android — roughly 640-700px tall):
   shrink everything further so the card still fits in one screen on most
   small phones. On the very smallest devices a few extra pixels of
   gentle page scroll are allowed rather than compressing text to an
   unreadable size — overflow is unlocked here so content is never
   clipped/hidden if it still doesn't quite fit. */
@media (max-height: 700px) {
  html, body.coming-soon-body { height: auto; min-height: 100%; }
  .coming-soon-body { height: auto; min-height: 100vh; overflow: visible; padding: 0.75rem 1rem; }
  .coming-soon-wrap { max-height: none; }
  .coming-soon-card { padding: 1rem 1.25rem; }
  .coming-soon-logo { width: 140px; margin-bottom: 0.3rem; }
  .coming-soon-card .eyebrow { margin-bottom: 0.2rem; }
  .coming-soon-card h1 { font-size: 1.2rem; margin-bottom: 0.25rem; }
  .coming-soon-subtitle { font-size: 0.86rem; margin-bottom: 0.2rem; }
  .coming-soon-message { font-size: 0.8rem; line-height: 1.35; margin-bottom: 0.5rem; }
  .coming-soon-form { gap: 0.4rem; margin-bottom: 0.5rem; }
  .coming-soon-form .form-row { gap: 0.2rem; }
  .coming-soon-form .form-row label { font-size: 0.76rem; }
  .coming-soon-form .form-row input,
  .coming-soon-form .form-row textarea { padding: 0.45rem 0.65rem; }
  .coming-soon-form textarea { min-height: 2.1rem; }
  .coming-soon-form .btn { padding: 0.55rem 1rem; }
  .coming-soon-contact { margin-bottom: 0.5rem; font-size: 0.8rem; }
  .coming-soon-social a { width: 1.8rem; height: 1.8rem; font-size: 0.8rem; }
  .coming-soon-footer { font-size: 0.7rem; }
}
