/* The purchase, comparison, and two featured demonstrations lead the storefront. */
.hero-copy .studio-hero-dek {
  max-width: 38ch;
  margin: 16px 0 0;
  color: #39332c;
  font: 600 clamp(17px, 2vw, 22px)/1.4 Barlow, sans-serif;
}
.hero .hero-copy > .studio-price-card { margin-top: 19px; }
.studio-price-card .studio-buy-note strong {
  display: block;
  margin-bottom: 3px;
  color: #fff8e9;
}
.hero-surface .hero { row-gap: 0; }
.hero .hero-details { grid-column: 1; grid-row: 2; padding-top: 24px; }
.hero-details .class-invite--hero { margin-top: 16px; }
.hero-details .skill-link { margin-top: 14px; }
.hero .hero-compare {
  width: min(100%, 460px);
  max-width: none;
  margin-inline: auto;
  grid-column: 2;
  grid-row: 1 / span 2;
}
.hero-compare .playground-heading { margin-inline: 0; }
.hero .hero-compare .playground-stage {
  --split: 50%;
  position: relative;
  isolation: isolate;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 2px solid #161616;
  border-radius: 14px;
  background: #141414;
}
.hero .hero-compare .playground-stage video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}
.hero-compare-raw { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.hero-compare-tag {
  position: absolute;
  z-index: 1;
  bottom: 14px;
  padding: 5px 8px;
  border-radius: 5px;
  background: #141414e6;
  color: #fff8e9;
  font: 800 12px/1 Barlow, sans-serif;
  letter-spacing: .08em;
  pointer-events: none;
}
.hero-compare-before { left: 12px; }
.hero-compare-after { right: 12px; background: #ba1714; }
.hero-compare-divider {
  position: absolute;
  z-index: 2;
  inset-block: 0;
  left: var(--split);
  width: 2px;
  background: #fff8e9;
  pointer-events: none;
}
.hero-compare-divider span {
  position: absolute;
  top: 48%;
  left: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 2px solid #fff8e9;
  border-radius: 50%;
  background: #b71d16;
  color: #fff;
  font: 800 20px/1 Barlow, sans-serif;
}
.hero-compare #hero-split {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
  appearance: none;
}
.hero-compare #hero-split::-webkit-slider-thumb { appearance: none; width: 2px; height: 44px; }
.hero-compare #hero-split::-moz-range-thumb { width: 2px; height: 44px; border: 0; }
.hero-compare .playground-stage:has(#hero-split:focus-visible) {
  outline: 3px solid #b71d16;
  outline-offset: 3px;
}
.hero-compare .playground-video-controls { z-index: 4; }
.hero-compare .effect-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-compare .effect-picker button[aria-pressed="true"] {
  border-color: #b91b17;
  background: #f4cac1;
}
.hero-compare .drop-instruction { z-index: 5; pointer-events: none; }

.studio-showcase { background: #141414; }
.studio-showcase h2 em { color: #ff6358; font-style: normal; }
.studio-showcase .studio-demo-copy > p { color: #f3ecdf; }
.studio-showcase .studio-demo-copy a { color: #ff8c81; }
.studio-command { background: #1a1919; border-color: #54423e; }
.studio-chat-badge { color: #ff8c81; border-color: #d34a42; }
.studio-chat-bubble { background: #392325; border-color: #894841; }
.studio-chat-result { background: #331e20; border-color: #99453e; }
.studio-chat-result strong { color: #ff8c81; }

.studio-styles {
  margin: 0;
  padding-block: clamp(52px, 7vw, 92px);
  border: 0;
  background: #f3ecdf;
  color: #161616;
}
.studio-styles h2 {
  margin: 0;
  color: #161616;
  font: 800 clamp(40px, 5vw, 72px)/.92 'Barlow Condensed', sans-serif;
  letter-spacing: -.02em;
}
.studio-styles h2 em { color: #bd221a; font-style: normal; }
.studio-styles-heading p { color: #453a32; }
.studio-styles .studio-style-controls button { background: #fff7eb; color: #241a16; border-color: #9e7e71; }
.studio-styles .studio-style-controls button:hover { background: #f4cac1; }
.studio-style-track { scrollbar-color: #b7251e #e8d8c8; }
.studio-style-track li { border-color: #3b2721; background: #221a17; }
.studio-style-track li.is-current { border-color: #bd221a; }
.studio-style-track video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.studio-styles :is(a,button,[tabindex]):focus-visible { outline: 2px solid #b91b17; }
.studio-style-more { color: #53463d; }
.studio-style-more a { color: #9f211a; }

.studio-banner { background: #171616; color: #f3ecdf; }
.studio-banner .viral-callout h2 { color: #f3ecdf; }
.studio-banner .viral-callout h2 em { color: #ff645a; }

.free-effects-section {
  padding-block: clamp(48px, 7vw, 86px);
  background: #f3ecdf;
  color: #161616;
}
.free-effects-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(26px, 6vw, 86px);
}
.free-effects-copy h2 {
  margin: 8px 0 14px;
  color: #161616;
  font: 800 clamp(44px, 6vw, 84px)/.9 'Barlow Condensed', sans-serif;
}
.free-effects-copy h2 em { color: #b91b17; font-style: normal; }
.free-effects-copy p { max-width: 34ch; color: #453a32; font-size: clamp(17px, 2vw, 20px); }
.free-effects-copy .free-effects-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-top: 7px;
  color: #92221b;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.free-effects-copy .free-effects-note { margin-top: 2px; font-size: 15px; }
.free-effects-clips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(5px, 1.3vw, 14px);
}
.free-effects-clips figure {
  margin: 0;
  overflow: hidden;
  border: 2px solid #171616;
  border-radius: 12px;
  background: #171616;
  color: #fff7e9;
}
.free-effects-clips figure:nth-child(2) { border-color: #c7231b; }
.free-effects-clips video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.free-effects-clips figcaption { padding: 8px 4px; font: 800 clamp(12px, 1.5vw, 16px)/1.2 Barlow, sans-serif; text-align: center; }
.free-effects-motion {
  min-height: 44px;
  padding-inline: 4px;
  border: 0;
  background: transparent;
  color: #72201a;
  font: 700 14px Barlow, sans-serif;
  text-decoration: underline;
  cursor: pointer;
}
.free-effects-motion[hidden], .studio-styles [hidden] { display: none; }

.final-section { background: #171616; }
.final-section .final-grid h2, .final-section .final-grid > div:first-child p { color: #f3ecdf; }
.faq-surface { background: #f3ecdf; color: #1b1816; }
.faq-surface :is(h2, summary) { color: #1b1816; }
.faq-surface h2 em { color: #b91b17; }
.faq-surface .faq-list p { color: #453a32; }
.faq-surface .faq-list details { border-color: #a99585; }
.hero-sub .studio-feature-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 420px) {
  .hero-sub .studio-feature-list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero .hero-compare { width: min(100%, 390px); }
  .free-effects-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .hero-surface .hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero .hero-compare { grid-column: 1; grid-row: auto; margin-block: 30px 0; }
  .hero .hero-details { grid-row: auto; padding-top: 28px; }
}
