/* Night theme ("Movie Night", page A) and its server-rendered pages. */
body.night {
  --bg: #10172A; --surface: #1E2A47; --line: #2E3B60; --text: #FFF8EC; --muted: #B7C0D6;
  --primary: #FFD27A; --on-primary: #1E2A47; --focus: #FFD27A; --error: #FFE7C2;
  --link: #FFD27A; --link-hover: #FFE7C2; --ok-bg: #1F3B35; --ok-text: #CDEBDD;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.night input::placeholder { color: #8E99B8; }

/* Header */
.a-header { max-width: 1240px; margin: 0 auto; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.a-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.a-brand img { width: 48px; height: 48px; object-fit: contain; }
.a-brand-words { display: flex; flex-direction: column; gap: 2px; }
.a-brand-name { font-family: "Fredoka", "Nunito", sans-serif; font-weight: 700; font-size: 24px; line-height: 1; color: #FFD27A; }
.a-brand-sub { font-weight: 800; font-size: 10px; letter-spacing: 0.24em; color: #E8604C; }
.a-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.a-nav-link { color: #FFF8EC; text-decoration: none; font-weight: 700; font-size: 16px; }
.a-nav-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid #B7C0D6; color: #FFF8EC; text-decoration: none; font-weight: 800; font-size: 15px; }
.a-nav-link:hover, .a-nav-pill:hover { color: #FFD27A; }

/* Hero */
.a-hero { max-width: 1240px; margin: 0 auto; padding: 40px 24px 80px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.a-hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.a-eyebrow { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: #1E2A47; color: #FFD27A; font-weight: 800; font-size: 12px; letter-spacing: 0.1em; }
.a-h1 { margin: 0; font-size: clamp(42px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -0.01em; }
.a-lede { margin: 0; max-width: 32em; font-size: 20px; line-height: 1.5; color: #B7C0D6; }

.swap { display: inline-grid; justify-items: start; color: #FFD27A; }
.swap > span { grid-area: 1 / 1; }
.s1 { animation: fs-sym 5s ease-in-out infinite; }
.s2 { animation: fs-wrd 5s ease-in-out infinite; }
@keyframes fs-sym { 0%, 40% { opacity: 1; filter: blur(0); transform: none } 48%, 92% { opacity: 0; filter: blur(10px); transform: translateY(-.2em) scale(.85) } 100% { opacity: 1; filter: blur(0); transform: none } }
@keyframes fs-wrd { 0%, 44% { opacity: 0; filter: blur(10px); transform: translateY(.2em) scale(.85) } 52%, 90% { opacity: 1; filter: blur(0); transform: none } 98%, 100% { opacity: 0; filter: blur(10px) } }

.a-join { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.a-join input {
  flex: 1 1 240px; min-width: 0; height: 58px; padding: 0 22px; border-radius: 999px;
  border: 1.5px solid #6B7A9E; background: #1E2A47; color: #FFF8EC; font-weight: 600; font-size: 17px;
}
.a-btn {
  display: inline-flex; align-items: center; justify-content: center; height: 58px; padding: 0 30px; border-radius: 999px; border: 0;
  background: #FFD27A; color: #1E2A47; font-weight: 800; font-size: 17px; cursor: pointer; text-decoration: none;
}
.a-btn:hover { background: #FFE7C2; color: #1E2A47; }
.a-btn:disabled { opacity: 0.7; cursor: wait; }
.fs-a .note-offer { color: #FFD27A; }

/* Before / after */
.a-compare { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.a-room { margin: 0; position: relative; aspect-ratio: 3 / 2; border-radius: 28px; overflow: hidden; border: 1px solid #2E3B60; background: #172038; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.a-room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease; }
#room-on, .a-room.on #room-off { opacity: 0; }
.a-room.on #room-on { opacity: 1; }
.a-subtitle {
  position: absolute; left: 51%; top: 41%; transform: translateX(-50%); padding: 6px 14px; border-radius: 8px;
  background: rgba(16, 23, 42, 0.85); color: #FFF8EC; font-weight: 800; font-size: clamp(12px, 1.3vw, 17px); white-space: nowrap;
}
.a-compare-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.a-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #1E2A47; }
.a-seg button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 800; font-size: 15px; background: transparent; color: #FFF8EC; }
.a-seg button[aria-pressed="true"] { background: #FFD27A; color: #1E2A47; }
.a-status { display: inline-flex; align-items: center; gap: 8px; color: #B7C0D6; font-weight: 700; font-size: 14px; }

/* Why band */
.a-why-band { background: #172038; border-top: 1px solid #2E3B60; border-bottom: 1px solid #2E3B60; }
.a-why { max-width: 1240px; margin: 0 auto; padding: 48px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.a-why-item { display: flex; gap: 16px; align-items: flex-start; }
.a-why-item > div { display: flex; flex-direction: column; gap: 6px; }
.a-why-item h2 { margin: 0; font-size: 21px; }
.a-why-item p { margin: 0; color: #B7C0D6; font-size: 16px; line-height: 1.5; }
.a-icon { flex: none; width: 48px; height: 48px; border-radius: 16px; background: #1E2A47; color: #FFD27A; display: grid; place-items: center; }

/* How it works */
.a-how { max-width: 1240px; margin: 0 auto; padding: 96px 24px; display: flex; flex-direction: column; gap: 40px; }
.a-how-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.a-kicker { color: #FFD27A; font-weight: 800; font-size: 12px; letter-spacing: 0.1em; }
.a-how-head h2 { margin: 0; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; }
.a-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.a-step { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 24px; background: #1E2A47; }
.a-step h3 { margin: 0; font-size: 24px; }
.a-step p { margin: 0; color: #B7C0D6; font-size: 16px; line-height: 1.5; }
.a-num { width: 44px; height: 44px; border-radius: 999px; background: #FFD27A; color: #1E2A47; display: grid; place-items: center; font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 22px; }

.a-tiers { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding: 32px; border-radius: 28px; border: 1px solid #2E3B60; }
.a-tiers-copy { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; }
.a-tiers-copy h3 { margin: 0; font-size: 26px; }
.a-tiers-copy p { margin: 0; color: #B7C0D6; font-size: 16px; line-height: 1.5; }
.a-pills { flex: 1 1 420px; display: flex; flex-wrap: wrap; gap: 10px; }
.a-pills button {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer; font-weight: 800; font-size: 15px;
  border: 1.5px solid #6B7A9E; background: transparent; color: #B7C0D6; text-decoration: line-through;
}
.a-pills button[aria-pressed="true"] { border-color: #FFD27A; background: #FFD27A; color: #1E2A47; text-decoration: none; }

/* Call to action band */
.a-cta-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px 96px; }
.a-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; padding: 48px; border-radius: 32px; background: #FFD27A; color: #1E2A47; }
.a-cta img { flex: none; width: 168px; height: 168px; object-fit: contain; }
.a-cta-copy { flex: 1 1 360px; display: flex; flex-direction: column; gap: 12px; }
.a-cta-copy h2 { margin: 0; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; }
.a-cta-copy p { margin: 0; font-size: 18px; line-height: 1.5; }
.a-cta-btn { display: inline-flex; align-items: center; min-height: 58px; padding: 0 30px; border-radius: 999px; background: #1E2A47; color: #FFF8EC; text-decoration: none; font-weight: 800; font-size: 17px; }
.a-cta-btn:hover { color: #FFD27A; }
.a-cta :focus-visible { outline-color: #1E2A47; }

/* Footer */
.a-footer { border-top: 1px solid #2E3B60; }
.a-footer > div { max-width: 1240px; margin: 0 auto; padding: 28px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #B7C0D6; font-size: 14px; font-weight: 600; }

@media (max-width: 600px) {
  .a-header, .a-hero, .a-why, .a-how, .a-cta-wrap, .a-footer > div { padding-left: 16px; padding-right: 16px; }
  .a-hero { padding-top: 16px; gap: 40px; }
  .a-btn { width: 100%; }
  .a-cta { padding: 32px 24px; }
  .a-cta img { width: 120px; height: 120px; }
  .a-tiers { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .s2 { opacity: 0; }
}
