/* ============================================================
   marketing.css — the three public pages only (index.html, signup.html,
   forgot-password.html): hero carousel + watermark, the access-pass panel's
   copy and auth forms, plan pickers and the Stripe payment dialog.
   Requires main.css (tokens + .stage/.pass-panel primitives) loaded first.
   The console never loads this file.
   ============================================================ */

/* ---- Plan picker + payment dialog (signup) ---- */

.plan-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.3rem;
  text-align: center;
}

.plan-options button {
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 0.9rem;
  color: var(--paper-dim);
}

#payment-dialog article {
  width: 100%;
  max-width: 30rem;
}

#checkout-container {
  min-height: 20rem;
}

/* ---- Access-pass panel copy + auth forms ---- */

.pass-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 0.75rem;
}

.pass-headline {
  font-family: "Fraunces", "Avenir Next", serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.pass-subhead {
  color: var(--paper-dim);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 22rem;
  margin: 0 0 2.25rem;
}

.pass-cta {
  width: 100%;
  margin: 0;
}

.pass-auth {
  position: relative;
}

.pass-login-form {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.pass-login-form.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pass-login-error {
  color: var(--error-text);
  font-size: 0.875rem;
  margin: 0;
}

/* Explanatory line inside a login/reset form — the neutral twin of
   .pass-login-error, which is the same paragraph in the failure color. */
.pass-login-note {
  color: var(--paper-dim);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0 0 0.35rem;
}

.pass-login-note strong {
  color: var(--paper);
  font-weight: 600;
}

.pass-login-note--success {
  color: var(--teal-ink);
}

/* The 6-digit reset code. Spaced out so digits are read individually, which is
   what makes a transcription slip visible before it's submitted. */
.pass-code-input {
  text-align: center;
  font-size: 1.35rem;
  letter-spacing: 0.5em;
  /* letter-spacing trails the last character too — pull the text back so the
     digits look centered rather than sitting half a space to the left. */
  text-indent: 0.5em;
}

.pass-forgot {
  align-self: center;
  font-size: 0.8rem;
  color: var(--paper-dim);
  text-underline-offset: 3px;
}

.pass-forgot:hover {
  color: var(--teal-ink);
}

.pass-signup {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--paper-dim);
  text-align: left;
}

.pass-signup a {
  color: var(--paper);
  text-underline-offset: 3px;
}

.pass-signup a:hover {
  color: var(--teal-ink);
}

/* ---- Hero carousel + watermark ---- */

.carousel-panel {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
  background: var(--ink);
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-layer.is-active {
  opacity: 1;
}

.everyone-in-layer {
  display: none;
  position: absolute;
  inset: -15% -20%;
  z-index: 1;
  overflow: hidden;
  transform: rotate(-6deg);
  color: rgba(var(--wash-rgb), 0.10);
  font-family: "Fraunces", "Avenir Next", serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  line-height: 1.2;
  text-align: center;
  word-spacing: 0.4em;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 900px) {
  .carousel-panel {
    display: none; /* main.css makes the pass panel the whole page here */
  }
}
