/* Behind the Curtain — pricing page + state banner. */

.curtain-hero {
  text-align: center;
  padding: 3rem 1rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}
.curtain-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin: 0 0 0.6rem;
}
.curtain-hero .lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.curtain-status {
  max-width: 720px;
  margin: 1.25rem auto;
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.curtain-status-line { margin: 0 0 0.85rem; font-size: 1.05rem; }
.curtain-status .pill {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.55rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Pricing — two cards side by side, stacks on narrow screens. */
.curtain-pricing {
  max-width: 960px;
  margin: 1rem auto 2rem;
  padding: 0 1rem;
}
.curtain-tiers {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 320px) 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 900px) {
  .curtain-tiers { grid-template-columns: 1fr; }
}

.tier-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  box-shadow: var(--shadow);
}
.tier-card-featured {
  border-color: var(--accent);
  /* Subtle gold halo so the eye lands on the recommended tier first. */
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}
.tier-badge {
  position: absolute;
  top: -0.7rem;
  right: 1.25rem;
  background: var(--accent);
  color: var(--bg);
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tier-header h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  margin: 0 0 0.3rem;
  font-size: 1.75rem;
}
.tier-price {
  margin: 0 0 0.3rem;
  font-family: "Playfair Display", Georgia, serif;
}
.tier-price .amount {
  font-size: 2.4rem;
  color: var(--accent);
  font-weight: 400;
}
.tier-price .cadence {
  color: var(--muted);
  font-size: 1rem;
  margin-left: 0.2rem;
}
.tier-tagline {
  margin: 0;
  color: var(--fg-dim);
  font-size: 0.95rem;
}

.tier-features {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.97rem;
  line-height: 1.55;
  flex: 1;
}
.tier-features li {
  padding: 0.35rem 0 0.35rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
}
.tier-features li:last-child { border-bottom: 0; }
.tier-features li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.9rem;
  top: 0.4rem;
}

.tier-cta {
  width: 100%;
  font-size: 1rem;
  padding: 0.7rem 1rem;
}
.tier-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* TOS reiteration on the subscribe path. The Subscribe button is
 * disabled until the matching tier's checkbox is ticked. */
.tier-tos {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--fg-dim);
  cursor: pointer;
  margin: 0.25rem 0 0;
}
.tier-tos input[type="checkbox"] {
  margin-top: 0.18rem;
  accent-color: var(--accent);
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}
.tier-tos a {
  color: var(--accent);
  text-decoration: underline;
}

.curtain-fineprint {
  text-align: center;
  font-size: 0.85rem;
  margin: 1.25rem auto 0;
  max-width: 600px;
}

.curtain-what {
  max-width: 720px;
  margin: 1.25rem auto 2.5rem;
  padding: 1.5rem 1.75rem;
}
.curtain-what h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  margin: 0 0 0.8rem;
}
.curtain-what ul {
  margin: 0.5rem 0 0 1.2rem;
  padding: 0;
  line-height: 1.6;
}
.curtain-what li { margin-bottom: 0.4rem; }
.curtain-cadence {
  margin: 0 0 1rem;
  padding: 0.65rem 0.9rem;
  background: rgba(200, 161, 90, 0.08);
  border-left: 3px solid var(--gold, #c8a15a);
  border-radius: 0 0.3rem 0.3rem 0;
  color: var(--fg);
  font-size: 0.95rem;
}
.curtain-cadence strong { color: var(--gold, #c8a15a); }

/* ── Intro video — sits between the two tier cards on desktop, stacks on mobile. */
.curtain-intro-video {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.civ-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  background: #000;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}
.civ-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
@media (max-width: 900px) {
  .civ-frame { max-width: 280px; margin: 0 auto; }
}
