/* Owner12934: one approved hero and one continuous, quiet city backdrop.
   Scoped layer; the published-site snapshot and all original styles stay intact. */
body.night-city.night-unified {
  --ink: #070b0e;
  --paper: #f0f5f4;
  --acid: #5ce0da;
  --cyan: #5ce0da;
  --yellow: #5ce0da;
  --red: #ee5751;
  --panel: #0d171c;
  --panel-2: #102127;
  --muted: #bdccce;
  --line: rgba(188, 220, 221, .2);
  isolation: isolate;
  background: var(--ink);
}
.night-city.night-unified::before { display: none; }
.night-unified .site-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(7,11,14,.28), rgba(7,11,14,.4)),
    url("assets/red-teal/unified-city.webp") center / cover no-repeat,
    #070b0e;
}

/* One environment across the whole page, not a new picture per chapter. */
body.night-city.night-unified main > section:not(.hero),
body.night-city.night-unified main > section:is(#proof, #demo, #economy, #orders, #course, #ai-clients, #pricing, #choose-plan, #care),
body.night-city.night-unified .foot {
  background: transparent !important;
  background-attachment: scroll !important;
  border-color: rgba(150, 195, 198, .15);
}
body.night-city.night-unified main > section:not(.hero)::before,
body.night-city.night-unified main > section:not(.hero)::after,
body.night-city.night-unified main > section:is(#proof, #demo, #economy, #orders, #course, #ai-clients, #pricing, #choose-plan, #care)::before,
body.night-city.night-unified main > section:is(#proof, #demo, #economy, #orders, #course, #ai-clients, #pricing, #choose-plan, #care)::after {
  background: none !important;
}
.night-unified .nav {
  background: rgba(7, 11, 14, .94);
  border-color: rgba(92, 224, 218, .18);
}
.night-unified .benefit,
.night-unified .price-card,
.night-unified .price-card.featured,
.night-unified .review-redesigned,
.night-unified #student-reviews .student-card {
  background-color: rgba(8, 17, 22, .9);
}
.night-unified #proof .proof-layout,
.night-unified #course .course-shell,
.night-unified #ai-clients .ai-shell {
  background: transparent;
}
.night-city.night-unified .pricing-grid .price-card,
.night-city.night-unified .pricing-grid .price-card:nth-child(2),
.night-city.night-unified .pricing-grid .price-card:nth-child(3) {
  --tariff-bg: rgba(8, 17, 22, .94);
  --tariff-ink: #f0f5f4;
  --tariff-muted: #bdccce;
  --tariff-accent: #5ce0da;
  background: var(--tariff-bg);
  color: var(--tariff-ink);
}
.night-city.night-unified .pricing-grid .price-card:nth-child(2) {
  --tariff-bg: rgba(12, 32, 37, .96);
}
.night-city.night-unified .pricing-grid .price-card:nth-child(2) h3,
.night-city.night-unified .pricing-grid .price-card:nth-child(2) h3 small {
  color: var(--paper);
}
.night-city.night-unified #care { color: var(--paper); }
.night-city.night-unified #care :is(h2, .care-status, .care-copy, .care-action small) { color: var(--paper); }
.night-city.night-unified #care { min-height: 0; }
.night-city.night-unified #care .care-grid {
  min-height: 0;
  padding-top: 0;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr);
  gap: 40px;
}
.night-city.night-unified #care .care-grid > div {
  grid-column: auto;
  padding: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}
@media (max-width: 700px) {
  .night-city.night-unified #care .care-action { margin-top: 28px; }
}

/* The exact selected frame; no recoloring, regenerated face, or UI replacement. */
.night-city.night-unified .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #070b0e;
}
.night-city.night-unified .hero::before,
.night-city.night-unified .hero::after,
.night-city.night-unified .hero .stage,
.night-city.night-unified .hero-grid::before,
.night-city.night-unified .hero-grid::after,
.night-city.night-unified .hero-copy::after { display: none; }
.night-city.night-unified .hero-media img {
  width: 100%;
  height: 100%;
  inset: 0;
  opacity: 1;
  filter: none;
  transform: none;
  animation: chosen-city-arrival 1.1s cubic-bezier(.16,1,.3,1) both;
}
.night-city.night-unified .hero-media::after {
  background: linear-gradient(180deg,transparent 85%,#070b0e 100%);
}
.night-city.night-unified .hero-copy {
  background: rgba(6, 11, 14, .87);
  border-color: rgba(92, 224, 218, .26);
  backdrop-filter: none;
}
/* Keep the label in normal flow. The 82px accent is a background, not
   a four-pixel text container, so the two text lines cannot overlap it. */
.night-city.night-unified .hero-copy::before {
  width: fit-content;
  max-width: 100%;
  height: auto;
  padding-top: 12px;
  white-space: pre-line;
  background: linear-gradient(var(--cyan), var(--cyan)) left top / 82px 4px no-repeat;
}
.night-city.night-unified .hero-copy .intro-note {
  color: var(--cyan);
  background: transparent;
}
.night-city.night-unified .hero h1 {
  color: var(--paper);
  letter-spacing: -.025em;
}
.night-city.night-unified .hero-copy .hero-description { color: #deebeb; }
.night-city.night-unified .hero-copy .actions { gap: 10px; }
.night-city.night-unified .hero-copy .button {
  min-height: 46px;
  font-size: 12px;
  white-space: normal;
  text-align: center;
}
.night-unified .hero-copy .button.ghost { background: transparent; }
@keyframes chosen-city-arrival {
  from { transform: scale(1.015); }
  to { transform: none; }
}
@media (min-width: 1200px) {
  .night-city.night-unified .hero {
    min-height: max(740px, 100svh);
    height: auto;
    padding: 102px 0 62px;
    align-items: center;
  }
  .night-city.night-unified .hero-media { inset: 64px 0 0; height: auto; }
  .night-city.night-unified .hero-media img {
    object-fit: cover;
    object-position: 62% center;
  }
  .night-city.night-unified .hero-grid { width: calc(100% - 64px); }
  .night-city.night-unified .hero-copy {
    width: clamp(308px, 26.8vw, 430px);
    max-width: none;
    padding: 24px;
  }
  .night-city.night-unified .hero-copy .intro-note {
    margin-bottom: 16px;
    font-size: 12px;
    line-height: 1.5;
  }
  .night-city.night-unified .hero h1 {
    font-size: clamp(30px, 2.35vw, 44px);
    line-height: 1.05;
    margin: 0 0 18px;
    overflow-wrap: normal;
  }
  .night-city.night-unified .hero-copy .hero-description {
    font-size: clamp(13px, .88vw, 16px);
    line-height: 1.56;
    margin-bottom: 22px;
  }
  .night-city.night-unified .hero-copy .actions {
    display: flex;
    flex-direction: column;
  }
  .night-city.night-unified .hero-copy .button { width: 100%; }
}
@media (max-width: 1199px) {
  .night-city.night-unified .hero {
    display: block;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 64px 0 58px;
    overflow: hidden;
  }
  .night-city.night-unified .hero-media {
    position: relative;
    inset: auto;
    z-index: -1;
    height: auto;
    width: 100%;
    aspect-ratio: 1672 / 941;
    background: none;
  }
  .night-city.night-unified .hero-media picture,
  .night-city.night-unified .hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .night-city.night-unified .hero-media img {
    object-fit: cover;
    object-position: center;
  }
  .night-city.night-unified .hero-grid { width: min(880px,calc(100% - 40px)); }
  .night-city.night-unified .hero-copy {
    width: 100%;
    max-width: none;
    padding: 26px 0 0;
    border: 0;
    background: transparent;
    clip-path: none;
  }
  .night-city.night-unified .hero-copy::before { display: none; }
  .night-city.night-unified .hero h1 {
    margin: 0 0 22px;
    font-size: clamp(30px,4.9vw,48px);
    line-height: 1.1;
  }
  .night-city.night-unified .hero-copy .intro-note { margin-bottom: 18px; }
  .night-city.night-unified .hero-copy .hero-description {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 26px;
  }
  .night-city.night-unified .hero-copy .actions { display: flex; flex-wrap: wrap; }
  .night-city.night-unified .hero-copy .button { width: auto; padding-inline: 20px; }
}
@media (max-width: 600px) {
  .night-city.night-unified .hero-media { aspect-ratio: 4 / 3; }
  .night-city.night-unified .hero-media img { object-position: right center; }
  .night-city.night-unified .hero h1 { font-size: clamp(27px,7.5vw,39px); }
  .night-city.night-unified .hero-copy .hero-description { font-size: 15px; }
  .night-city.night-unified .hero-copy .actions { display: grid; grid-template-columns: 1fr; }
  .night-city.night-unified .hero-copy .button { width: 100%; min-height: 48px; }
}
@media (max-width: 800px) {
  .night-city.night-unified .hero { padding-top: 0; }
}
@media (min-width: 1200px) and (max-width: 1350px) {
  .night-city.night-unified .hero { padding-block: 86px 30px; }
  .night-city.night-unified .hero-copy { padding: 20px; }
  .night-city.night-unified .hero-copy .intro-note { font-size: 11px; line-height: 1.4; margin-bottom: 12px; }
  .night-city.night-unified .hero-copy .hero-description { line-height: 1.45; margin-bottom: 18px; }
}

/* Remove only decorative full-section scenes, not evidence/product photographs.
   Their real headings and explanation text are laid out normally on the shared city. */
.night-city.night-unified .texture-scene,
.night-city.night-unified .texture-transition-scene,
.night-city.night-unified .speed-scene,
.night-city.night-unified .demo-scene { display: none; }
.night-city.night-unified .texture {
  padding: clamp(72px,8vw,116px) 0 !important;
}
.night-city.night-unified .texture-frame,
.night-city.night-unified .texture-copy,
.night-city.night-unified .texture-transition-copy,
.night-city.night-unified .texture-transition-screen {
  position: relative;
  inset: auto;
  display: block;
  width: auto;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  padding: 0;
  margin: 0;
  transform: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.night-city.night-unified .texture-frame,
.night-city.night-unified .texture-transition-copy {
  width: min(1060px,calc(100% - 72px));
  margin-inline: auto;
}
.night-city.night-unified .texture-copy h2 {
  position: static;
  display: block;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  transform: none;
  font-size: clamp(32px,5.8vw,72px);
  line-height: 1.08;
  letter-spacing: -.025em;
  text-shadow: none;
}
.night-city.night-unified .texture-copy h2 span br { display: none; }
.night-city.night-unified .texture-copy h2 mark { margin-bottom: 8px; }
.night-city.night-unified .texture-transition-copy { margin-top: 36px; }
.night-city.night-unified .texture-transition-copy::before { display: none; }
.night-city.night-unified .texture-transition-copy p {
  max-width: 68ch;
  font-size: clamp(18px,1.6vw,23px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  text-shadow: none;
}
.night-city.night-unified .speed-section {
  min-height: 0;
  aspect-ratio: auto;
  padding-block: clamp(72px,8vw,116px) !important;
}
.night-city.night-unified .speed-section .speed-layout {
  position: relative;
  inset: auto;
  display: grid;
  width: min(1060px,calc(100% - 72px));
  min-height: 0;
  margin-inline: auto;
}
.night-city.night-unified .speed-layout h2,
.night-city.night-unified .speed-layout h2 span,
.night-city.night-unified .speed-layout p {
  position: static;
  inset: auto;
  width: auto;
  transform: none;
  filter: none;
  text-shadow: none;
}
.night-city.night-unified .speed-layout h2 {
  display: block;
  margin: 0 0 26px;
  font-size: clamp(40px,7vw,86px);
  line-height: 1.05;
  letter-spacing: -.025em;
}
.night-city.night-unified .speed-layout h2 span { display: inline; }
.night-city.night-unified .speed-layout h2 span + span::before { content: " "; }
.night-city.night-unified .speed-layout p {
  max-width: 40ch;
  color: var(--paper);
  font-size: clamp(19px,2vw,28px);
  line-height: 1.5;
}
.night-city.night-unified #demo {
  min-height: 0;
  aspect-ratio: auto;
  padding: clamp(72px,8vw,116px) 0 !important;
}
.night-city.night-unified #demo .demo-layout {
  width: min(1060px,calc(100% - 72px));
  min-height: 0;
  aspect-ratio: auto;
}
.night-city.night-unified #demo .copy-heading {
  position: static;
  width: auto;
  padding: 0;
  margin: 0 0 36px;
}
.night-city.night-unified #demo .copy-heading h2 {
  font-size: clamp(32px,5vw,68px);
  line-height: 1.1;
  letter-spacing: -.025em;
  text-shadow: none;
}
.night-city.night-unified #demo .demo-laptop-screen {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  border: 1px solid rgba(92,224,218,.28);
  box-shadow: none;
}
.night-city.night-unified #demo .demo-laptop-screen iframe {
  position: absolute;
  inset: 0;
}
@media (max-width: 700px) {
  .night-city.night-unified .texture-frame,
  .night-city.night-unified .texture-transition-copy,
  .night-city.night-unified .speed-section .speed-layout,
  .night-city.night-unified #demo .demo-layout { width: calc(100% - 40px); }
}
@media (prefers-reduced-motion: reduce) {
  .night-city.night-unified .hero-media img { animation: none; }
  .night-city.night-unified { scroll-behavior: auto; }
}
