/* Studio Lucid marketing page — /studio */

.studio-page main {
  position: relative;
  z-index: 1;
}

.studio-hero {
  padding: clamp(7.5rem, 14vw, 10.5rem) 0 clamp(3rem, 7vw, 4.5rem);
}

.studio-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 26.5rem);
  grid-template-areas: "intro frame";
  column-gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.studio-hero__intro {
  grid-area: intro;
}

.studio-hero__rest {
  margin-top: clamp(4.5rem, 8vw, 6.5rem);
}

.studio-frame-col {
  grid-area: frame;
}

.studio-hero__eyebrow,
.studio-access__eyebrow,
.studio-card__kicker {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c4b5fd;
}

.studio-hero__title {
  margin: 0;
  max-width: 12ch;
  font-family: var(--v2-font-body);
  font-weight: 700;
  font-size: clamp(2.7rem, 5.4vw, 4.35rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: #fff;
}

.studio-hero__lede {
  margin: 1.35rem 0 0;
  max-width: 38rem;
  color: rgba(228, 228, 234, 0.78);
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  line-height: 1.6;
}

.studio-hero__actions,
.studio-access__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.studio-hero__note {
  margin: 1rem 0 0;
  color: rgba(200, 200, 206, 0.55);
  font-size: 0.88rem;
}

.studio-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.studio-store {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 13.5rem;
  padding: 0.55rem 0.85rem 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.72);
  font-family: inherit;
  text-align: left;
  cursor: not-allowed;
  opacity: 0.72;
}

.studio-store:disabled {
  opacity: 0.72;
}

.studio-store__icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: none;
}

.studio-store__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.studio-store__soon {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0c36a;
}

.studio-store__name {
  margin-top: 0.15rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.88);
}

.studio-frame {
  margin: 0;
}

.studio-frame__bezel {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  border-radius: 1rem 1rem 0 0;
  background: #0c0c0f;
}

.studio-frame__dots {
  display: inline-flex;
  gap: 0.3rem;
}

.studio-frame__dots i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.studio-frame__url {
  color: rgba(228, 228, 231, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.studio-shell {
  display: grid;
  grid-template-columns: 8.6rem minmax(0, 1fr);
  min-height: 28rem;
  border: 1px solid rgb(45, 50, 56);
  border-radius: 0 0 1rem 1rem;
  overflow: hidden;
  background: rgb(18, 18, 18);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-family: "DM Sans", "Segoe UI", system-ui, sans-serif;
  color: rgb(228, 228, 231);
}

.studio-shell__side {
  display: flex;
  flex-direction: column;
  background: rgb(9, 9, 11);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-shell__brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-shell__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: none;
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 0.55rem;
  background: rgba(124, 58, 237, 0.14);
}

.studio-shell__mark img {
  width: 1.45rem;
  height: 1.45rem;
  object-fit: contain;
}

.studio-shell__brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.studio-shell__brand-text strong {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.studio-shell__brand-text em {
  margin-top: 0.12rem;
  color: rgb(113, 113, 122);
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 500;
}

.studio-shell__nav {
  margin: 0;
  padding: 0.55rem 0.4rem;
  list-style: none;
}

.studio-shell__nav li {
  margin: 0.12rem 0;
  padding: 0.38rem 0.5rem;
  border-radius: 0.45rem;
  color: rgb(161, 161, 170);
  font-size: 0.68rem;
  font-weight: 500;
}

.studio-shell__nav li.is-current,
.studio-shell__nav li[data-demo="battles"] {
  background: rgb(124, 58, 237);
  color: rgb(244, 244, 245);
}

.studio-shell__nav li[data-demo] {
  animation: studio-nav 24s linear infinite;
}

.studio-shell__nav li[data-demo] img {
  width: 0.95rem;
  height: 0.95rem;
  margin-right: 0.22rem;
  vertical-align: -0.22rem;
  object-fit: contain;
}

.studio-shell__nav li[data-demo="metrics"] { animation-delay: 6s; }
.studio-shell__nav li[data-demo="lumen"] { animation-delay: 12s; }
.studio-shell__nav li[data-demo="chat"] { animation-delay: 18s; }

.studio-shell__main {
  position: relative;
  min-height: 23.5rem;
  padding: 0;
}

.studio-pane {
  position: absolute;
  inset: 0;
  padding: 0.9rem 0.8rem 1rem;
  opacity: 0;
  animation: studio-show 24s linear infinite;
}

.studio-pane--metrics { animation-delay: 6s; }
.studio-pane--lumen { animation-delay: 12s; }
.studio-pane--chat { animation-delay: 18s; }

@keyframes studio-show {
  0% { opacity: 0; }
  2% { opacity: 1; }
  23% { opacity: 1; }
  25%, 100% { opacity: 0; }
}

@keyframes studio-nav {
  0%, 23% {
    background: rgb(124, 58, 237);
    color: rgb(244, 244, 245);
  }
  25%, 100% {
    background: transparent;
    color: rgb(161, 161, 170);
  }
}

.studio-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.studio-metrics li {
  padding: 0.45rem 0.4rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.03);
}

.studio-metrics b {
  display: block;
  color: rgb(244, 244, 245);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.studio-metrics span {
  display: block;
  margin-top: 0.12rem;
  color: rgb(113, 113, 122);
  font-size: 0.58rem;
}

.studio-metrics--mini {
  grid-template-columns: 1fr 1fr;
  width: calc(100% - 2.05rem);
  margin-top: 0.4rem;
  margin-left: 2.05rem;
}

.studio-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 0.35rem;
  height: 7.5rem;
  margin-top: 0.9rem;
  padding: 0.35rem 0.15rem 0;
}

.studio-bars i {
  display: block;
  height: var(--h);
  border-radius: 0.35rem 0.35rem 0.15rem 0.15rem;
  background: linear-gradient(180deg, rgb(167, 139, 250), rgb(124, 58, 237));
  opacity: 0.85;
}

.studio-bars i:nth-child(5) {
  opacity: 1;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.45);
}

.studio-thread {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.studio-msg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 78%;
}

.studio-msg--you {
  align-self: flex-end;
  align-items: flex-end;
}

.studio-msg span {
  display: block;
  margin-bottom: 0.16rem;
  padding: 0 0.35rem;
  color: rgb(113, 113, 122);
  font-size: 0.55rem;
  font-weight: 600;
}

.studio-msg p {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem 1rem 1rem 0.32rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgb(228, 228, 231);
  font-size: 0.68rem;
  line-height: 1.4;
}

.studio-msg--you p {
  border-color: rgba(168, 85, 247, 0.32);
  border-radius: 1rem 1rem 0.32rem 1rem;
  background: rgba(168, 85, 247, 0.2);
}

.studio-msg--lumen {
  max-width: 94%;
}

.studio-msg__row {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
}

.studio-msg__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.studio-lumen-mark {
  width: 1.7rem;
  height: 1.7rem;
  flex: none;
  object-fit: contain;
}

.studio-shell__title .studio-lumen-mark {
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 0.28rem;
  vertical-align: -0.22rem;
}

@media (prefers-reduced-motion: reduce) {
  .studio-pane,
  .studio-shell__nav li[data-demo] {
    animation: none;
  }

  .studio-pane--battles {
    opacity: 1;
  }
}

.studio-shell__title {
  margin: 0;
  color: rgb(244, 244, 245);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.studio-shell__head p {
  margin: 0.2rem 0 0;
  color: rgb(113, 113, 122);
  font-size: 0.68rem;
}

.studio-heroes {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  margin-top: 0.7rem;
}

.studio-hero-card {
  padding: 0.48rem 0.55rem 0.52rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
}

.studio-hero-card--scheduled {
  border-color: rgba(16, 185, 129, 0.38);
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.55), rgba(76, 29, 149, 0.22));
}

.studio-hero-card__kicker {
  margin: 0;
  color: rgb(167, 243, 208);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-hero-card:not(.studio-hero-card--scheduled) .studio-hero-card__kicker {
  color: rgb(196, 181, 253);
}

.studio-hero-card__title {
  margin: 0.1rem 0 0;
  color: rgb(244, 244, 245);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.studio-hero-card > p:not(.studio-hero-card__kicker):not(.studio-hero-card__title) {
  margin: 0.18rem 0 0;
  color: rgb(161, 161, 170);
  font-size: 0.6rem;
  line-height: 1.35;
}

.studio-vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.38rem;
}

.studio-vs span {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  color: rgb(244, 244, 245);
  font-size: 0.62rem;
  font-weight: 600;
}

.studio-vs span:last-child {
  justify-content: flex-end;
}

.studio-vs i {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgb(167, 139, 250), rgb(91, 33, 182));
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.35);
}

.studio-vs b {
  color: rgb(244, 244, 245);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.studio-hero-card__action {
  display: inline-block;
  margin-top: 0.32rem;
  padding: 0.2rem 0.48rem;
  border-radius: 999px;
  background: rgb(124, 58, 237);
  color: #fff;
  font-size: 0.56rem;
  font-weight: 600;
}

.studio-hero-card--stats .studio-metrics {
  margin-top: 0.38rem;
}

.studio-hero-card--stats .studio-metrics li {
  padding: 0.32rem 0.32rem 0.36rem;
}

.studio-hero-card--stats .studio-metrics b {
  font-size: 0.72rem;
}

.studio-shell__tabs {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.studio-shell__tabs span {
  padding: 0.28rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.4rem;
  color: rgb(161, 161, 170);
  font-size: 0.62rem;
  font-weight: 600;
}

.studio-shell__tabs span.is-on {
  border-color: transparent;
  background: rgb(5, 150, 105);
  color: #fff;
}

.studio-shell__week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-top: 0.75rem;
}

.studio-shell__week span {
  display: grid;
  place-items: center;
  height: 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.03);
  color: rgb(113, 113, 122);
  font-size: 0.58rem;
  font-weight: 600;
}

.studio-shell__rows {
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}

.studio-shell__rows li {
  display: grid;
  grid-template-columns: 1.15rem 1fr 2.2rem;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.4rem;
  padding: 0.45rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.025);
}

.studio-shell__rows i,
.studio-shell__rows b {
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.studio-shell__rows i {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
}

.studio-shell__rows b {
  height: 0.38rem;
}

.studio-shell__rows b:last-child {
  width: 70%;
  justify-self: end;
}

.studio-shell__empty {
  margin: 0.85rem 0 0;
  color: rgb(113, 113, 122);
  font-size: 0.68rem;
}

.studio-audiences,
.studio-features {
  padding: 0;
}

.studio-features {
  margin-top: clamp(3.5rem, 7vw, 5rem);
}

.studio-section-head {
  max-width: 44rem;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  text-wrap: balance;
}

.studio-audiences__grid,
.studio-features__grid {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.studio-audiences__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.studio-audiences__grid li,
.studio-card {
  padding: 1.2rem 1.1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.15rem;
  background: rgba(12, 10, 18, 0.72);
}

.studio-audiences__grid h3,
.studio-card h3,
.studio-battle h3 {
  margin: 0 0 0.55rem;
  font-family: var(--v2-font-body);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.studio-audiences__grid h3,
.studio-card h3 {
  font-size: 1.25rem;
}

.studio-audiences__grid p,
.studio-card p,
.studio-battle p {
  margin: 0;
  color: rgba(214, 214, 220, 0.74);
  line-height: 1.55;
}

.studio-features__grid {
  grid-template-columns: 1fr 1fr;
}

.studio-features__grid + .studio-features__grid {
  margin-top: 0.85rem;
}

.studio-card--wide {
  grid-column: 1 / -1;
}

.studio-card__kicker {
  margin-bottom: 0.45rem;
  color: #f0c36a;
}

.studio-battle {
  margin: 0.85rem 0;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 1.25rem;
  background:
    radial-gradient(ellipse 80% 80% at 0% 0%, rgba(16, 185, 129, 0.14), transparent 55%),
    rgba(8, 14, 12, 0.88);
}

.studio-battle .studio-card__kicker {
  color: #6ee7b7;
}

.studio-battle h3 {
  max-width: 18ch;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.05;
}

.studio-battle__lead {
  margin-top: 0.85rem;
  max-width: 40rem;
  color: rgba(236, 253, 245, 0.86);
  font-size: 1.05rem;
}

.studio-battle__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  margin-top: 1.35rem;
}

.studio-battle__split h4 {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a7f3d0;
}

.studio-battle__beats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.studio-battle__beats li {
  padding: 0.85rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.22);
}

.studio-battle__beats strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.studio-battle__beats span {
  color: rgba(214, 214, 220, 0.7);
  font-size: 0.86rem;
  line-height: 1.4;
}

.studio-access {
  padding: clamp(1rem, 3vw, 2rem) 1.25rem clamp(4.5rem, 8vw, 6rem);
}

.studio-access__panel {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid rgba(240, 195, 106, 0.28);
  border-radius: 1.35rem;
  background:
    radial-gradient(ellipse 80% 80% at 100% 0%, rgba(79, 20, 248, 0.22), transparent 55%),
    rgba(12, 10, 18, 0.88);
}

.studio-access__panel h2 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--v2-font-body);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.studio-partner {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  max-width: 22rem;
  margin: 1.25rem auto 0;
  padding: 0.4rem 0.8rem 0.4rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  color: rgba(228, 228, 234, 0.82);
  text-decoration: none;
}

.studio-partner:hover {
  border-color: rgba(161, 57, 255, 0.45);
  color: #fff;
}

.studio-partner img {
  width: 1.85rem;
  height: 1.85rem;
  flex: none;
}

.studio-access__panel > p {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: rgba(214, 214, 220, 0.78);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .studio-audiences__grid,
  .studio-battle__beats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .studio-hero__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "frame";
  }

  .studio-frame {
    max-width: 28rem;
  }

  .studio-hero__title {
    max-width: 14ch;
  }

  .studio-battle__split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .studio-hero {
    padding-top: 11.25rem;
  }

  .studio-features__grid {
    grid-template-columns: 1fr;
  }

  .studio-hero__actions,
  .studio-access__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .studio-hero__actions .v2-btn,
  .studio-access__actions .v2-btn {
    width: 100%;
  }

  .studio-stores {
    flex-direction: column;
    align-items: stretch;
  }

  .studio-store {
    width: 100%;
  }

  .studio-shell__main {
    min-height: 23.5rem;
  }
}
