.prolifik-home .hero .hero__sub {
  max-width: 51ch;
  margin: 0;
  text-wrap: balance;
}

/* The product window uses the dashboard's dark theme. Keep its contents
   inside the original parallax frame; the scene owns the frame's geometry. */
.hero__panel {
  --library-ink: #eaf0f8;
  --library-muted: #a4b4cd;
  --library-rule: rgb(234 240 248 / 12%);
  grid-template-columns: 22% minmax(0, 1fr);
  color: var(--library-ink);
  background: #0e182c;
}
.hero__panel svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-side {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-width: 0;
  margin: 10px 0 10px 10px;
  padding: 0 10px 10px;
  background: #19253a;
  border: 1px solid var(--library-rule);
  border-radius: 17px;
  overflow: hidden;
}
.library-brand, .library-mobilebar, .library-project, .library-create, .app-nav li,
.app-top, .library-actions, .library-actions span, .library-tabs,
.library-tabs span, .library-filters, .library-filters > span { display: flex; align-items: center; }
.library-brand { justify-content: space-between; padding: 9px 5px; border-bottom: 1px solid var(--library-rule); color: var(--library-muted); }
.library-logo { width: 100px; height: auto; }
.library-project, .library-create, .app-nav li { font-size: clamp(.7rem, .93vw, .84rem); }
.library-project { gap: 9px; border-radius: 9px; border: 1px solid var(--library-rule); background: #0e182c; padding: 7px; margin: 9px 0; }
.library-project b { width: 23px; line-height: 23px; text-align: center; background: #213b63; border-radius: 50%; color: #9bc5ff; }
.library-create { justify-content: center; gap: 5px; border-radius: 999px; padding: 7px; background: #3b82f6; color: white; font-weight: 650; }
.app-nav { flex: 1; min-height: 0; display: flex; flex-direction: column; margin-top: 9px; }
.app-nav ul { list-style: none; margin: 0; padding: 0; }
.app-nav .app-nav-heading {
  margin: 10px 0 2px; padding-inline: 11px; color: var(--library-muted);
  font-size: .62rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
}
.app-nav .app-nav-support { margin-top: auto; border-top: 1px solid var(--library-rule); }
.app-nav li { position: relative; gap: 10px; padding: 7px 11px; border-radius: 12px; color: var(--library-muted); }
.app-nav .is-active { background: #1c3151; color: var(--library-ink); }
.app-nav .is-active::before { content: ""; position: absolute; left: 0; height: 18px; width: 3px; border-radius: 2px; background: #3b82f6; }
.app-nav .is-active svg { color: #528fff; }
.library-mobilebar { display: none; }
.app-main { min-width: 0; padding: clamp(18px, 2vw, 32px); }
.app-top { justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.app-top h2 { margin: 0; font: 600 clamp(1.4rem, 2vw, 2rem)/1.05 var(--sc-font-display); letter-spacing: -.035em; }
.app-top p { margin: 5px 0 0; font-size: .86rem; color: var(--library-muted); }
.library-actions, .library-filters { gap: 6px; }
.library-actions span, .library-filters > span {
  gap: 5px; padding: 6px 11px; border: 1px solid var(--library-rule);
  border-radius: 999px; font-size: .73rem; white-space: nowrap;
}
.library-actions span:last-child { font-weight: 600; color: white; background: #3b82f6; }
.library-tabs { gap: 3px; margin: 16px 0 10px; padding: 3px; background: #19253a; border: 1px solid var(--library-rule); border-radius: 999px; overflow: hidden; }
.library-tabs span { gap: 5px; border-radius: 999px; padding: 4px 8px; white-space: nowrap; color: var(--library-muted); font-size: .73rem; font-weight: 600; }
.library-tabs .selected { color: white; background: #3b82f6; }
.library-tabs b { font: 500 .65rem/1.5 ui-monospace, monospace; padding: 0 4px; background: #ffffff13; border-radius: 8px; }
.library-tabs span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #eaf0f8; }
.library-tabs span:nth-child(2)::before { background: #94a3b8; }
.library-tabs span:nth-child(3)::before { background: #34d399; }
.library-tabs span:nth-child(4)::before { background: #fbbf24; }
.library-tabs span:last-child::before { display: none; }
.library-filters { margin-bottom: 15px; color: var(--library-muted); }
.library-search { flex: 1; }
.library-filters .library-search { gap: 0; }
.library-search svg { margin-right: 5px; }
.library-search-hint { white-space: pre; }
.app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.app-card { position: relative; min-width: 0; margin: 0; aspect-ratio: 9/16; overflow: hidden; border: 1px solid var(--library-rule); border-radius: 11px; background: #1a2740; }
.app-card video { width: 100%; height: 100%; display: block; object-fit: cover; }
.library-status, .app-card figcaption span { padding: 3px 7px; border-radius: 12px; color: white; font: 650 .62rem/1.4 var(--sc-font-text); }
.library-status { position: absolute; top: 7px; left: 7px; }
.library-status.ready { background: #087958; }
.library-status.draft { background: #52627b; }
.app-card figcaption { position: absolute; inset: auto 0 0; padding: 18px 7px 7px; background: linear-gradient(transparent, #000b); }
.app-card figcaption span { display: inline-block; background: #0009; }

@media (max-width: 860px) {
  .hero__panel {
    display: block;
    min-height: 0;
    aspect-ratio: auto;
    /* A phone needs room for the two posters. Grow continuously into the tablet frame. */
    height: max(min(102vw, 24rem), calc(6.5rem + 49vw));
  }
  .app-side { display: none; }
  .library-mobilebar { display: flex; justify-content: space-between; height: 38px; padding: 0 10px; border-bottom: 1px solid var(--library-rule); }
  .library-mobilebar > svg { width: 22px; height: 22px; padding: 3px; border: 1px solid var(--library-rule); border-radius: 6px; }
  .library-mobilebar .library-logo { width: 78px; }
  .app-main { padding: 12px; }
  .app-top h2 { font-size: 1.35rem; }
  .app-top p { font-size: .68rem; margin-top: 2px; }
  .library-actions span, .library-filters > span { font-size: .64rem; padding: 4px 6px; }
  .library-tabs { background: transparent; padding: 0; border: 0; border-radius: 0; margin: 8px 0; gap: 5px; }
  .library-tabs span { border: 1px solid var(--library-rule); background: #1a2740; font-size: .63rem; padding: 4px 7px; }
  .library-tabs .selected { background: #eaf0f8; color: #0e182c; }
  .library-tabs .selected::before { background: #0e182c; }
  .library-filters { margin-bottom: 8px; }
  .library-search { flex: none; }
  .library-search-hint { display: none; }
  .app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .app-card:nth-child(n + 4) { display: none; }
}
@media (max-width: 500px) {
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-card:nth-child(n + 3) { display: none; }
  .library-tabs span:nth-child(n + 4) { display: none; }
}

.campaign-spread {
  background: #f6f8fc;
  color: #14223a;
  padding: clamp(2.75rem, 5.1vw, 5.5rem) var(--sc-gutter);
}
.campaign-spread__inner {
  max-width: 78rem;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: start;
  gap: clamp(2rem, 3.2vw, 3.8rem);
}
.campaign-spread__status {
  margin: 0 0 clamp(1.35rem, 2.6vw, 2.65rem);
  color: #36518b;
  font: 650 .8rem/1.4 var(--sc-font-text);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.campaign-spread h2 {
  margin: 0;
  font: 650 clamp(2.25rem, 3.7vw, 3.65rem)/1.04 var(--sc-font-display);
  letter-spacing: -.052em;
  text-wrap: balance;
}
.campaign-spread__description, .campaign-spread__waitlist {
  font: 450 clamp(1rem, 1.28vw, 1.2rem)/1.52 var(--sc-font-text);
  color: #344965;
}
.campaign-spread__description {
  max-width: 44ch;
  margin: clamp(1rem, 1.65vw, 1.5rem) 0 clamp(1.35rem, 2.15vw, 2rem);
}
.campaign-spread .cta { margin: 0; color: white; }
.campaign-spread__waitlist { margin: clamp(1rem, 1.75vw, 1.7rem) 0 0; }
.campaign-spread__waitlist a { display: inline-block; color: #214fb9; text-decoration: underline; text-underline-offset: .17em; }
.campaign-spread a:focus-visible { outline: 3px solid #245ada; outline-offset: 4px; }
.campaign-spread figure { margin: 0; min-width: 0; }
.campaign-spread figure img { display: block; width: 100%; height: auto; border-radius: 14px; }
.campaign-spread figcaption { margin-top: .85rem; display: grid; gap: .2rem; }
.campaign-spread figcaption span { color: #4e5f75; font-size: .84rem; }
.campaign-spread figcaption strong { font: 650 clamp(1.15rem, 1.5vw, 1.45rem)/1.2 var(--sc-font-display); letter-spacing: -.035em; }
@media (max-width: 760px) {
  .campaign-spread__inner { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .campaign-spread__status { margin-bottom: 1rem; }
  .campaign-spread__copy { max-width: 33rem; }
  .campaign-spread h2 { max-width: 19ch; }
}
