/* Mobile-first hero and centered four-step demonstration. */
.arrow-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.play-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.mobile-lead,
.mobile-after-phone,
.detail-note {
  display: none;
}
.scene {
  top: var(--scene-top, 90px) !important;
  height: var(--scene-height, 700px) !important;
  min-height: 0 !important;
  max-height: none !important;
}
.scene-track {
  padding: 0;
  margin: 0;
}
.scene-visual {
  inset: 0 0 0 auto;
  width: 46%;
  height: 100% !important;
}
.scene .unified-phone {
  height: var(--phone-height, 530px) !important;
  min-height: 0 !important;
  max-height: none !important;
  max-width: none !important;
  width: auto !important;
  aspect-ratio: 254/468;
  left: 50% !important;
  right: auto !important;
  top: var(--phone-center, 50%) !important;
  transform: translate(-50%, -50%) rotateY(calc(-12deg * (1 - var(--transfer))))
    rotateZ(var(--phone-angle, 8deg)) scale(calc(1 - var(--transfer) * 0.12)) !important;
  transition: transform 0.22s ease-out;
  transform-origin: center;
  z-index: 3;
}
.scene .scene-orb {
  width: 95%;
  left: 2.5%;
  right: auto;
  top: 50%;
  transform: translateY(-50%) scale(calc(1 - var(--transfer) * 0.12));
}
.scene .scene-note {
  bottom: 85px;
  left: 0;
  right: 0;
  text-align: center;
  line-height: 1.4;
}
.scene[data-phase="detail"] .intro-note {
  display: none;
}
.scene[data-phase="detail"] .detail-note {
  display: inline;
}
.scene-controls {
  bottom: 8px;
  gap: 14px;
}
.scene-controls > p {
  margin-top: -8px;
}
.scene .scene-detail {
  top: 18%;
  width: 51%;
  pointer-events: auto;
}
.scene-description {
  margin-top: 30px;
  gap: 15px;
}
.scene-description > span {
  width: 48px;
  height: 48px;
  font-size: 18px;
}
.scene-description strong {
  font-size: 25px;
  line-height: 1.2;
}
.scene-description p {
  font-size: 14px;
  max-width: 390px;
}
.scene .insight-card {
  top: 4%;
  left: -8%;
  z-index: 4;
}
.scene .production-card {
  bottom: 15%;
  left: -4%;
  z-index: 4;
}
.scene .phone-top {
  z-index: 20;
}
.scene .unified-phone .script-sheet {
  position: absolute;
  inset: 0;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 52px 22px 20px !important;
  border: 0;
  border-radius: 0;
  background: #faf9f5;
  box-shadow: none;
  transform: none !important;
  opacity: 0;
  z-index: 10;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.35s;
  display: block !important;
}
.scene[data-phase="detail"][data-stage="0"] .unified-phone .script-sheet {
  opacity: 1;
}
.scene .unified-phone .script-sheet .sheet-heading {
  font-size: 10px;
  margin-bottom: 24px;
}
.scene .unified-phone .script-sheet small {
  font-size: 10px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.scene .unified-phone .script-sheet strong {
  font-size: 24px;
  line-height: 1.22;
}
.scene .unified-phone .script-sheet p {
  font-size: 14px;
  line-height: 1.6;
}
.scene .unified-phone .script-sheet > div:not(.sheet-heading) {
  display: block !important;
  margin-top: 18px;
  padding-top: 15px;
}
.scene[data-phase="detail"][data-stage="0"] .phone-top {
  color: #25202f;
  background: transparent;
}
.scene[data-phase="detail"][data-stage="0"] .phone-tag {
  opacity: 0;
}
.scene[data-phase="detail"] .phone-caption {
  display: none;
}
.scene .publish-layer {
  z-index: 12;
}
.scene .edit-tracks {
  z-index: 5;
}
.scene .assembled-caption {
  z-index: 5;
}
.scene .video-controls {
  z-index: 25;
}
.scene:not([data-phase="detail"]) .script-sheet {
  visibility: hidden;
}
.hero-copy .motion-toggle {
  width: 22px;
  height: 22px;
  font-size: 9px;
  opacity: 0.65;
}
.hero-conversion .actions {
  margin-top: 25px;
}
.hero-conversion {
  position: relative;
}
.calculator-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 24px;
  padding: 22px 0;
}
.calculator-controls > label {
  font-size: 17px;
}
.calculator-controls > output {
  font-size: 26px;
  font-weight: 650;
  color: var(--purple);
  letter-spacing: -0.04em;
}
.calculator-controls .slider-wrap {
  display: block;
  grid-column: 1/-1;
  min-width: 0;
  width: 100%;
}
.slider-wrap input {
  display: block;
  width: 100%;
  margin: 0;
  height: 28px;
  accent-color: var(--purple);
  cursor: pointer;
}
.slider-limits {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 11px;
  color: #887d95;
}
.calculation-assumptions {
  font-size: 11px;
  line-height: 1.7;
  color: #877e90;
  margin-top: 18px;
  max-width: 1050px;
}
.savings-summary > div > span {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.045em;
  color: #3b4519;
}
.savings-summary > div > strong {
  font-size: 44px;
}
.savings-summary > div > p {
  font-size: 12px;
}
.scene .scene-controls .stage-buttons button {
  font-size: 13px;
}
.intro-home .hero-copy {
  padding-bottom: 10px;
}
@media (max-width: 1100px) and (min-width: 761px) {
  .scene-description strong {
    font-size: 22px;
  }
  .scene .scene-detail h2 {
    font-size: 36px;
  }
  .scene .unified-phone .script-sheet {
    padding: 44px 17px 15px !important;
  }
  .scene .unified-phone .script-sheet strong {
    font-size: 21px;
  }
  .scene .unified-phone .script-sheet p {
    font-size: 12px;
  }
  .scene .unified-phone .script-sheet > div:not(.sheet-heading) {
    margin-top: 12px;
    padding-top: 11px;
  }
  .scene .production-card {
    bottom: 13%;
  }
}
@media (max-width: 760px) {
  .header {
    padding: 10px 16px;
    min-height: 52px;
    border-radius: 16px;
    gap: 14px;
  }
  .header .logo img {
    width: 105px;
    height: auto;
  }
  .header .nav-cta {
    display: none;
  }
  .header .menu {
    margin-left: auto;
  }
  .header nav {
    top: calc(100% + 8px);
  }
  .mobile-intro {
    padding-top: 23px;
    padding-bottom: 0;
  }
  .mobile-intro .hero-copy {
    padding: 0;
  }
  .mobile-intro .eyebrow {
    font-size: 9px;
    margin-bottom: 14px;
    gap: 8px;
  }
  .mobile-intro .k-symbol {
    width: 20px;
    height: 20px;
    font-size: 0;
    border-radius: 5px;
  }
  .mobile-intro .k-symbol svg {
    width: 8px;
    height: 8px;
  }
  .mobile-intro h1 {
    font-size: clamp(32px, 8.4vw, 42px);
    line-height: 1.06;
  }
  .mobile-intro .rotating-line {
    height: 1.38em;
    padding-top: 4px;
  }
  .mobile-intro .rotating-line em {
    font-size: 0.81em;
    line-height: 1.18;
  }
  .mobile-intro .lead {
    font-size: 13px;
    line-height: 1.6;
    margin-top: 4px;
  }
  .desktop-lead {
    display: none;
  }
  .mobile-lead {
    display: inline;
  }
  .mobile-intro .audience {
    display: none;
  }
  .mobile-intro .motion-toggle {
    top: 0;
    right: 0;
    width: 19px;
    height: 19px;
    font-size: 8px;
  }
  .scene .intro-home {
    display: none;
  }
  .scene-visual {
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .scene .insight-card,
  .scene .production-card,
  .scene .reach-card {
    display: block;
  }
  .scene .scene-orb {
    width: min(320px, 92%);
    left: 50%;
    top: var(--phone-center);
    transform: translate(-50%, -50%) scale(calc(1 - var(--transfer) * 0.12));
  }
  .scene .unified-phone {
    border-width: 5px;
    border-radius: 31px;
    box-shadow:
      5px 4px 0 #403b46,
      15px 18px 30px #25222b20;
  }
  .scene .phone-caption {
    font-size: 16px;
    bottom: 32px;
    left: 14px;
    right: 10px;
  }
  .scene .phone-tag {
    top: 35px;
    font-size: 8px;
    padding: 4px 7px;
    left: 12px;
  }
  .scene .phone-top {
    font-size: 8px;
    padding: 8px 12px;
  }
  .scene .island {
    width: 58px;
    height: 15px;
  }
  .scene .scene-note {
    top: calc(var(--phone-height) + 33px);
    bottom: auto;
    font-size: 9px;
  }
  .scene[data-phase="detail"] .scene-note {
    top: auto;
    bottom: 88px;
    font-size: 8px;
  }
  .mobile-after-phone {
    display: block;
    position: absolute;
    top: calc(var(--phone-height) + 58px);
    left: 0;
    right: 0;
    z-index: 7;
    opacity: var(--intro-opacity);
  }
  .scene[data-phase="detail"] .mobile-after-phone {
    visibility: hidden;
  }
  .mobile-after-phone .actions {
    display: block;
    margin: 0;
  }
  .mobile-after-phone .demo-link {
    display: none;
  }
  .mobile-after-phone .button {
    display: flex;
    width: 100%;
    min-height: 45px;
    font-size: 14px;
    padding: 13px 18px;
    gap: 15px;
    border-radius: 11px;
  }
  .mobile-after-phone .micro {
    font-size: 9px;
    line-height: 1.5;
    text-align: center;
    margin: 8px auto 0;
    max-width: 340px;
  }
  .scene .scene-detail {
    top: 12px !important;
    left: 0;
    width: 100%;
    text-align: center;
    transform: translateY(calc((1 - var(--transfer)) * 12px));
    z-index: 6;
  }
  .scene-detail > .kicker {
    font-size: 8px;
    margin-bottom: 8px;
  }
  .scene-detail > h2,
  .scene-detail > .detail-lead {
    display: none;
  }
  .scene .scene-description {
    justify-content: center;
    gap: 10px;
    margin-top: 0;
    align-items: flex-start;
  }
  .scene-description > span {
    width: 32px;
    height: 32px;
    font-size: 12px;
    flex-shrink: 0;
  }
  .scene-description > div {
    text-align: left;
  }
  .scene-description strong {
    font-size: 22px;
    line-height: 1.25;
    display: block;
  }
  .scene-description p {
    font-size: 11px;
    line-height: 1.45;
    max-width: 245px;
    margin-top: 4px;
  }
  .scene .scene-controls {
    bottom: 3px;
    gap: 8px;
  }
  .scene .scene-controls .stage-buttons {
    gap: 5px;
  }
  .scene .scene-controls .stage-buttons button {
    font-size: 9px;
    min-height: 43px;
    padding: 7px 4px;
    gap: 2px;
  }
  .scene .scene-controls .stage-buttons button > span {
    font-size: 8px;
  }
  .scene-controls > p {
    margin: 0;
    font-size: 8px;
  }
  .scene-timeline {
    height: 3px;
  }
  .scene .unified-phone .script-sheet {
    padding: 35px 13px 13px !important;
  }
  .scene .unified-phone .script-sheet .sheet-heading {
    font-size: 7px;
    margin-bottom: 11px;
    gap: 3px;
  }
  .scene .unified-phone .script-sheet small {
    font-size: 8px;
    line-height: 1.2;
    margin-bottom: 5px;
  }
  .scene .unified-phone .script-sheet strong {
    font-size: 17px;
    line-height: 1.18;
  }
  .scene .unified-phone .script-sheet p {
    font-size: 10px;
    line-height: 1.45;
  }
  .scene .unified-phone .script-sheet > div:not(.sheet-heading) {
    margin-top: 10px;
    padding-top: 9px;
  }
  .scene .unified-phone .script-sheet strong br {
    display: none;
  }
  .scene .publish-layer {
    padding: 15px;
  }
  .scene .publish-check {
    width: 40px;
    height: 40px;
    font-size: 23px;
    margin-bottom: 15px;
  }
  .scene .publish-layer h3 {
    font-size: 23px;
    line-height: 1.1;
  }
  .scene .publish-layer p {
    font-size: 10px;
    line-height: 1.5;
    margin-top: 12px;
  }
  .scene .channel-list {
    gap: 5px;
    margin-top: 16px;
  }
  .scene .channel-list span {
    font-size: 8px;
    padding: 5px 7px;
  }
  .scene .assembled-caption {
    font-size: 14px;
    bottom: 58px;
    left: 9px;
    right: 9px;
  }
  .scene .edit-tracks {
    bottom: 22px;
    left: 12px;
    right: 12px;
  }
  .calculator-controls {
    padding: 18px 0;
    gap: 12px;
    flex-wrap: unset;
  }
  .calculator-controls > label {
    font-size: 13px;
    max-width: 185px;
  }
  .calculator-controls > output {
    font-size: 23px;
    white-space: nowrap;
  }
  .slider-limits {
    font-size: 10px;
  }
  .savings-summary > div > span {
    font-size: 10px;
    line-height: 1.4;
    display: block;
  }
  .savings-summary > div > strong {
    font-size: 30px;
  }
  .savings-summary > div > p {
    font-size: 11px;
  }
  .calculation-assumptions {
    font-size: 10px;
    line-height: 1.65;
  }
  .rate-note {
    font-size: 10px;
  }
}
@media (max-width: 370px) {
  .mobile-intro h1 {
    font-size: 32px;
  }
  .mobile-intro .lead {
    font-size: 12px;
  }
  .mobile-intro .rotating-line em {
    font-size: 0.77em;
  }
  .scene-description strong {
    font-size: 20px;
  }
  .scene-description p {
    max-width: 220px;
    font-size: 10px;
  }
  .scene .scene-description {
    gap: 8px;
  }
  .scene .phone-caption {
    font-size: 14px;
  }
  .scene .unified-phone .script-sheet strong {
    font-size: 16px;
  }
  .savings-summary > div > strong {
    font-size: 27px;
  }
  .savings-summary > div > span {
    font-size: 9px;
  }
  .calculator-controls > label {
    font-size: 12px;
  }
  .calculator-controls > output {
    font-size: 21px;
  }
}
@media (max-height: 590px) and (max-width: 760px) {
  .scene .scene-detail {
    top: 3px !important;
  }
  .scene-detail > .kicker {
    display: none;
  }
  .scene-description strong {
    font-size: 17px;
  }
  .scene-description p {
    font-size: 9px;
    max-width: 230px;
  }
  .scene .unified-phone {
    height: calc(var(--phone-height) * 0.8) !important;
  }
  .scene .unified-phone .script-sheet .sheet-heading {
    display: none;
  }
  .scene .unified-phone .script-sheet strong {
    font-size: 15px;
  }
  .scene .unified-phone .script-sheet p {
    font-size: 9px;
  }
  .scene .unified-phone .script-sheet > div:not(.sheet-heading) {
    margin-top: 6px;
    padding-top: 6px;
  }
  .scene[data-phase="detail"] .scene-note {
    display: none;
  }
  .scene .scene-controls {
    bottom: 0;
  }
  .scene .scene-controls .stage-buttons button {
    min-height: 36px;
  }
  .scene .publish-check {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
  }
  .scene .publish-layer h3 {
    font-size: 18px;
  }
  .scene .publish-layer p {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scene {
    position: relative !important;
    top: 0 !important;
  }
  .scene .unified-phone {
    transform: translate(-50%, -50%) !important;
    transition: none !important;
  }
  .scene-track {
    height: var(--scene-height) !important;
  }
  .scene .intro-home {
    visibility: visible !important;
    opacity: 1 !important;
  }
  .scene[data-phase="detail"] .intro-home {
    visibility: visible !important;
  }
  .scene .scene-detail {
    opacity: 1;
    transform: none;
  }
  .scene .scene-controls {
    opacity: 1;
  }
  .scene .script-sheet {
    display: block !important;
  }
  .scene .mobile-after-phone {
    display: none;
  }
  .scene .scene-detail > h2 {
    display: none;
  }
  .scene .scene-detail {
    top: 12px !important;
  }
  .scene-description {
    margin-top: 0;
  }
  .scene .scene-visual {
    top: 0 !important;
  }
  .scene .scene-note {
    display: none;
  }
  .scene[data-phase="detail"] .insight-card,
  .scene[data-phase="detail"] .production-card,
  .scene[data-phase="detail"] .reach-card {
    display: none;
  }
  @media (min-width: 761px) {
    .scene .scene-detail {
      top: auto !important;
      bottom: 100px;
      width: 50%;
    }
  }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .hero-conversion .actions {
    display: block;
    margin-top: 18px;
  }
  .hero-conversion .demo-link {
    display: none;
  }
  .hero-conversion .button {
    width: 100%;
  }
  .hero-conversion .micro {
    font-size: 10px;
    margin-bottom: 20px;
  }
}
/* v6: a larger mobile product demonstration, with compact grouped controls. */
.mobile-brand-caption,
.selfie-note {
  display: none;
}
.hero-button {
  gap: 24px !important;
  text-align: left;
}
.hero-button .arrow-icon {
  box-sizing: content-box;
  flex: 0 0 auto;
  background: var(--lime, #ddff62);
  color: #18181c;
  padding: 10px;
  border-radius: 50%;
  transition: transform 0.2s;
}
.hero-button:hover .arrow-icon {
  transform: translate(3px, -2px);
}
.hero-button:active {
  transform: scale(0.98);
}
.scene .unified-phone .script-sheet strong {
  word-spacing: normal;
  letter-spacing: -0.025em;
}
.scene .unified-phone {
  transform: translate(-50%, -50%) rotateY(calc(-12deg * (1 - var(--transfer))))
    rotateZ(var(--phone-angle, 8deg)) scale(calc(1 - var(--transfer) * 0.06)) !important;
}
@media (max-width: 760px) {
  .header {
    position: relative !important;
    top: auto !important;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 16px 0 8px;
    min-height: 54px;
    border-radius: 0;
    gap: 9px;
    z-index: 40;
  }
  .header .logo img {
    width: 92px;
  }
  .mobile-brand-caption {
    display: block;
    font-size: 10px;
    line-height: 1.25;
    max-width: 100px;
    color: #57545f;
  }
  .header .menu {
    width: 44px;
    height: 44px;
    background: #ffffff8c;
    border: 1px solid #e6e3df;
    border-radius: 50%;
  }
  .header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #faf9f5;
    border-radius: 18px;
    box-shadow: 0 14px 35px #24212c20;
    padding: 20px;
  }
  .mobile-intro {
    padding-top: 20px;
  }
  .mobile-intro .eyebrow {
    display: none;
  }
  .mobile-intro h1 {
    font-size: clamp(34px, 9vw, 44px);
  }
  .mobile-intro .lead {
    font-size: 15px;
    line-height: 1.55;
    margin-top: 13px;
  }
  .mobile-intro .lead strong {
    font-weight: 600;
    color: #26242b;
  }
  .mobile-intro .motion-toggle {
    top: 0;
    right: 0;
    width: 22px;
    height: 22px;
  }
  .mobile-intro .hero-conversion .actions {
    display: block;
    margin-top: 20px;
  }
  .mobile-intro .hero-conversion .demo-link {
    display: none;
  }
  .hero-button {
    width: 100%;
    font-size: 16px !important;
    min-height: 60px;
    padding: 10px 13px 10px 20px !important;
    justify-content: space-between;
    border-radius: 16px;
  }
  .hero-button .arrow-icon {
    width: 19px;
    height: 19px;
    padding: 10px;
  }
  .mobile-intro .micro {
    font-size: 10px;
    line-height: 1.55;
    margin: 10px 0 12px;
    color: #716d78;
  }
  .mobile-after-phone {
    display: none !important;
  }
  .scene .unified-phone {
    left: var(--phone-x, 58%) !important;
    max-width: 85% !important;
  }
  .scene .scene-orb {
    left: 40%;
    width: 95%;
    top: var(--phone-center);
    opacity: 0.85;
  }
  .selfie-note {
    display: block;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 4;
    opacity: var(--intro-opacity);
    transform: rotate(-5deg);
    pointer-events: none;
    background: #fffefbe8;
    border: 1px solid white;
    padding: 13px 14px;
    border-radius: 14px;
    box-shadow: 0 8px 24px #25222b0d;
  }
  .selfie-note span {
    font-size: 8px;
    letter-spacing: 0.08em;
    color: #7851ff;
  }
  .selfie-note strong {
    display: block;
    font-size: 18px;
    line-height: 1.1;
    margin-top: 6px;
  }
  .selfie-note i {
    display: block;
    font-size: 24px;
    color: #7851ff;
    text-align: right;
    margin-top: 3px;
  }
  .scene[data-phase="detail"] .selfie-note {
    visibility: hidden;
  }
  .scene .phone-caption {
    font-size: clamp(22px, 6vw, 29px);
    bottom: 45px;
    left: 16px;
  }
  .scene .scene-note {
    top: calc(var(--phone-height) + 54px);
    font-size: 10px;
  }
  .scene[data-phase="detail"] .scene-note {
    display: none;
  }
  .scene .scene-detail {
    top: 15px !important;
  }
  .scene-detail > .kicker {
    display: none;
  }
  .scene-description strong {
    font-size: 23px;
  }
  .scene-description p {
    font-size: 12px;
    max-width: 285px;
  }
  .scene .scene-controls {
    top: calc(100px + var(--phone-height) * 0.94 + 24px);
    bottom: auto;
    gap: 9px;
  }
  .scene .scene-controls .stage-buttons button {
    font-size: 11px;
    min-height: 46px;
  }
  .scene-controls > p {
    font-size: 10px;
  }
  .scene .unified-phone .script-sheet {
    padding: 44px 18px 18px !important;
  }
  .scene .unified-phone .script-sheet .sheet-heading {
    font-size: 9px;
    margin-bottom: 20px;
  }
  .scene .unified-phone .script-sheet small {
    font-size: 10px;
  }
  .scene .unified-phone .script-sheet strong {
    font-size: clamp(20px, 5.8vw, 26px);
    line-height: 1.13;
  }
  .scene .unified-phone .script-sheet p {
    font-size: 14px;
    line-height: 1.45;
  }
  .scene .unified-phone .script-sheet > div:not(.sheet-heading) {
    margin-top: 16px;
    padding-top: 13px;
  }
  .scene .assembled-caption {
    font-size: 20px;
  }
  .scene .publish-layer h3 {
    font-size: 30px;
  }
  .scene .publish-layer p {
    font-size: 14px;
  }
  .scene .channel-list span {
    font-size: 10px;
  }
}
@media (max-width: 370px) {
  .mobile-brand-caption {
    font-size: 9px;
    max-width: 85px;
  }
  .header .logo img {
    width: 83px;
  }
  .mobile-intro h1 {
    font-size: 32px;
  }
  .hero-button {
    font-size: 14px !important;
  }
  .scene-description strong {
    font-size: 20px;
  }
  .scene-description p {
    font-size: 11px;
    max-width: 230px;
  }
  .scene .unified-phone .script-sheet {
    padding: 38px 14px 14px !important;
  }
  .scene .unified-phone .script-sheet strong {
    font-size: 20px;
  }
  .scene .unified-phone .script-sheet p {
    font-size: 12px;
  }
  .selfie-note {
    padding: 10px;
  }
  .selfie-note strong {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scene .unified-phone {
    transform: translate(-50%, -50%) !important;
  }
  .hero-button .arrow-icon {
    transition: none;
  }
}

@media (max-width: 760px) {
  .scene .scene-detail {
    top: var(--stage-top, 12px) !important;
  }
  .scene .scene-controls {
    top: calc(var(--stage-top, 12px) + 90px + var(--phone-height) * 0.94 + 18px);
  }
  .selfie-note {
    top: 35px;
    padding: 10px 12px;
  }
  .selfie-note strong {
    font-size: 16px;
  }
  .selfie-note i {
    font-size: 19px;
  }
  .mobile-intro {
    padding-top: 12px;
  }
  .mobile-brand-caption {
    font-size: 11px;
    max-width: 125px;
  }
}

/* Equal label rows keep the two savings figures aligned. */
.savings-summary > div:nth-child(-n + 2) > span {
  display: flex;
  align-items: flex-end;
  min-height: 2.8em;
  line-height: 1.4;
}
/* Subscription cards: consistent rows and a focused Author recommendation. */
.plans-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 28px 0;
  color: #aaaab3;
  font-size: 14px;
  line-height: 1.6;
}
.plans-intro strong {
  color: #f7f6f2;
}
.plans-intro a {
  color: var(--lime);
  font-size: 14px;
  white-space: nowrap;
}
.pricing-v2 {
  gap: 20px !important;
  border: 0 !important;
  background: transparent !important;
  align-items: stretch;
  margin-top: 20px !important;
}
.pricing-v2 .price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 24px !important;
  border: 1px solid #38383e;
  border-radius: 22px !important;
  min-width: 0;
  background: #222226;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.pricing-v2 .price-card:hover {
  border-color: #797481;
  transform: translateY(-3px);
}
.pricing-v2 .featured {
  background: #f8f7f2;
  color: #18181c;
  border: 2px solid var(--purple);
  box-shadow: 0 0 0 4px #734bff18;
}
.pricing-v2 .plan-purpose {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #b2a0ff;
  margin: 0 0 12px;
  min-height: 18px;
}
.pricing-v2 .featured .plan-purpose {
  color: #6841db;
}
.pricing-v2 h3 {
  font-size: 30px;
  margin: 0 0 16px;
  line-height: 1.2;
}
.plan-price {
  font-size: 36px;
  font-weight: 750;
  letter-spacing: -0.045em;
  white-space: nowrap;
  line-height: 1.2;
}
.plan-price small {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: #aaaab3;
}
.featured .plan-price small {
  color: #6b6775;
}
.plan-rhythm {
  min-height: 110px;
  margin-top: 20px;
}
.plan-rhythm strong {
  font-size: 18px;
  line-height: 1.3;
  display: block;
}
.pricing-v2 .plan-rhythm p {
  font-size: 13px;
  line-height: 1.5;
  margin: 8px 0;
  color: #adadb6;
}
.pricing-v2 .featured .plan-rhythm p {
  color: #6b6775;
}
.plan-rhythm > span {
  font-size: 14px;
  color: var(--lime);
}
.featured .plan-rhythm > span {
  color: #6841db;
}
.plan-resources {
  display: flex;
  gap: 14px;
  border-top: 1px solid #3c3b42;
  border-bottom: 1px solid #3c3b42;
  padding: 14px 0;
  font-size: 12px;
  color: #aaaab3;
}
.plan-resources b {
  font-size: 16px;
  display: block;
  color: #f7f6f2;
  margin-bottom: 3px;
}
.featured .plan-resources {
  border-color: #dedce5;
  color: #6b6775;
}
.featured .plan-resources b {
  color: #19191f;
}
.pricing-v2 ul {
  margin: 22px 0 !important;
  padding: 0;
  min-height: 136px;
}
.pricing-v2 li {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 10px;
}
.pricing-v2 .button {
  margin-top: auto !important;
  font-size: 14px;
  min-height: 48px;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
}
.pricing-v2 .plan-note {
  font-size: 12px;
  line-height: 1.5;
  color: #aaaab3;
  margin: 14px 0 0;
  min-height: 54px;
}
.pricing-v2 .featured .plan-note {
  color: #6b6775;
}
.plan-badge {
  position: absolute;
  top: -13px;
  right: 20px;
  background: var(--lime);
  color: #16171b;
  font-size: 10px;
  font-weight: 750;
  padding: 7px 12px;
  border-radius: 30px;
  letter-spacing: 0.03em;
}
.plans-common {
  padding: 26px 0;
  border-bottom: 1px solid #3a3941;
  line-height: 1.6;
}
.plans-common strong {
  font-size: 18px;
}
.plans-common p {
  font-size: 14px;
  color: #dedde3;
  margin: 9px 0;
}
.plans-common > span {
  font-size: 12px;
  color: #a6a4af;
  display: block;
  max-width: 850px;
}
.plans-details {
  margin: 20px 0;
  border: 1px solid #42404a;
  border-radius: 16px;
  overflow: hidden;
}
.plans-details summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  padding: 22px;
  list-style: revert;
}
.plans-details > p {
  font-size: 13px;
  line-height: 1.6;
  color: #bdbac6;
  margin: 18px 22px;
}
.plans-table {
  overflow: auto;
  padding: 0 22px 12px;
}
.plans-table table {
  width: 100%;
  min-width: 750px;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
.plans-table caption {
  text-align: left;
  font-size: 12px;
  color: #aaa6b6;
  padding: 0 0 15px;
}
.plans-table th,
.plans-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #3d3a47;
  white-space: nowrap;
}
.plans-table thead th {
  color: #dfd5ff;
}
.plans-table tbody th {
  font-weight: 400;
  color: #c4c0cd;
}
.plans-table td:nth-child(4),
.plans-table thead th:nth-child(4) {
  background: #734bff14;
}
.subscription-terms {
  padding: 6px 0 20px;
  max-width: 1000px;
}
.subscription-terms strong {
  font-size: 14px;
}
.subscription-terms p {
  font-size: 13px;
  line-height: 1.6;
  color: #aba7b6;
  margin: 9px 0;
}
#plan-author {
  scroll-margin-top: 110px;
}
#self-pricing[hidden] {
  display: none !important;
}
@media (max-width: 1000px) and (min-width: 761px) {
  .pricing-v2 .price-card {
    padding: 26px 18px 20px !important;
  }
  .plan-price {
    font-size: 30px;
  }
  .plan-rhythm strong {
    font-size: 16px;
  }
  .plan-resources {
    gap: 9px;
  }
  .plans-intro {
    align-items: flex-start;
  }
  .plans-intro a {
    white-space: normal;
    max-width: 200px;
  }
}
@media (max-width: 760px) {
  .plans-intro {
    display: block;
    margin: 24px 0;
    font-size: 14px;
  }
  .plans-intro a {
    display: inline-block;
    margin-top: 12px;
  }
  .pricing-v2 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .pricing-v2 .price-card {
    padding: 28px 23px 22px !important;
  }
  .plan-price {
    font-size: 38px;
  }
  .plan-rhythm {
    min-height: 0;
    margin-bottom: 20px;
  }
  .pricing-v2 ul {
    min-height: 0;
    margin: 20px 0 !important;
  }
  .pricing-v2 .plan-note {
    min-height: 0;
  }
  .plan-resources {
    gap: 35px;
  }
  .plans-common p {
    font-size: 14px;
  }
  .plans-details summary {
    padding: 18px;
  }
  .plans-table {
    padding: 0 14px 10px;
  }
  .plans-details > p {
    margin: 16px;
  }
  .subscription-terms p {
    font-size: 13px;
  }
  #plan-author {
    scroll-margin-top: 24px;
  }
  .pricing-switch {
    width: 100%;
    display: flex;
  }
  .pricing-switch button {
    flex: 1;
    font-size: 12px;
    padding: 12px 9px;
  }
}
.pricing-v2 .plan-purpose {
  min-height: 18px !important;
}
.pricing-v2 .plan-resources > span {
  flex: 1;
}
.pricing-v2 .plan-rhythm p {
  min-height: 0 !important;
}
.pricing-v2 .plan-note {
  min-height: 54px !important;
}
@media (max-width: 760px) {
  .pricing-v2 .plan-note {
    min-height: 0 !important;
  }
}
/* v9: visible pricing options and deliberate scroll choreography. */
.pricing-v2 .price-card:not(.featured) {
  background: #34343d;
  border-color: #595963;
}
.pricing-v2 .price-card:not(.featured):hover {
  border-color: #91859e;
}
.pricing-v2 .price-card:not(.featured) .plan-purpose,
.pricing-v2 .price-card:not(.featured) .plan-note,
.pricing-v2 .price-card:not(.featured) .plan-rhythm p,
.pricing-v2 .price-card:not(.featured) .plan-resources,
.pricing-v2 .price-card:not(.featured) .plan-price small {
  color: #d0cdd8;
}
.pricing-v2 .price-card:not(.featured) .plan-resources {
  border-color: #62606c;
}
.pricing-v2 .price-card:not(.featured) .outline {
  background: #45444f;
  border-color: #76717f;
}
.resource-heading {
  font-size: 12px;
  color: #cfccd8;
  margin-bottom: 7px;
}
.featured .resource-heading {
  color: #6c6578;
}
.plan-rhythm {
  min-height: 130px;
}
.plan-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  border: 1px solid #b6afc7;
  color: inherit;
  background: transparent;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
  padding: 0;
  margin-left: 5px;
  cursor: pointer;
}
.plan-help:hover,
.plan-help[aria-expanded="true"] {
  background: #7850ff;
  color: #fff;
  border-color: #7850ff;
}
.plan-help:focus-visible {
  outline: 3px solid #c8b8ff;
  outline-offset: 3px;
}
.pricing-v2 li:has(.plan-help) {
  display: block !important;
  position: relative;
  padding-left: 21px;
}
.pricing-v2 li:has(.plan-help)::before {
  position: absolute;
  left: 0;
  top: 0;
}
.plan-popover {
  position: fixed;
  z-index: 1000;
  width: min(320px, calc(100vw - 24px));
  padding: 17px 18px;
  background: #fbfaf7;
  color: #24212c;
  border: 1px solid #d9d2e7;
  border-radius: 14px;
  box-shadow: 0 12px 40px #0004;
  font-size: 14px;
  line-height: 1.55;
  pointer-events: auto;
}
.plan-popover[hidden] {
  display: none;
}
.topup-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px 40px;
  margin: 30px 0 8px;
  padding: 30px;
  background: #302b3d;
  border: 1px solid #74618d;
  border-radius: 22px;
}
.topup-kicker {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #c7b3ff;
  margin: 0 0 13px;
}
.topup-block h3 {
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 15px;
}
.topup-block p:not(.topup-kicker) {
  font-size: 14px;
  line-height: 1.6;
  color: #d0c9db;
}
.topup-rates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-self: center;
}
.topup-rates > div {
  border-left: 2px solid #9871ff;
  padding-left: 18px;
}
.topup-rates span {
  font-size: 13px;
  color: #d3c6ef;
}
.topup-rates strong {
  display: block;
  font-size: 23px;
  line-height: 1.25;
  margin: 9px 0;
}
.topup-rates small {
  font-size: 14px;
  font-weight: 400;
  display: block;
  margin-top: 6px;
}
.topup-block .topup-note {
  grid-column: 1/-1;
  font-size: 12px !important;
  color: #b5adc4 !important;
  border-top: 1px solid #54495f;
  padding-top: 18px;
  margin: 0;
}
.scene .unified-phone {
  transform: translate(-50%, -50%) perspective(1100px) rotateY(var(--phone-yaw, -12deg))
    rotateX(var(--phone-pitch, 0deg)) rotateZ(var(--phone-angle, 8deg)) scale(var(--phone-scale, 1)) !important;
  transition: transform 0.12s linear;
}
.scene .scene-detail {
  transform: translateX(calc((1 - var(--text-enter, 0)) * -100px)) !important;
  opacity: var(--detail-opacity) !important;
}
.scene:not([data-phase="detail"]) .scene-description,
.scene:not([data-phase="detail"]) .scene-controls {
  opacity: 0 !important;
  pointer-events: none;
}
.scene[data-phase="detail"] .scene-description {
  opacity: 1;
}
.scene .scene-orb {
  opacity: calc(0.45 + var(--intro-opacity) * 0.4);
}
@media (max-width: 760px) {
  .plan-rhythm {
    min-height: 0;
  }
  .topup-block {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 22px;
  }
  .topup-block h3 {
    font-size: 25px;
  }
  .topup-rates {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .topup-rates small {
    display: inline;
  }
  .topup-rates strong {
    font-size: 23px;
  }
  .scene .scene-detail {
    transform: translateX(calc((1 - var(--text-enter, 0)) * -35px)) !important;
  }
  .scene:not([data-phase="detail"]) .scene-detail > h2 {
    display: block;
    font-size: 30px !important;
    line-height: 1.13;
  }
  .scene:not([data-phase="detail"]) .scene-detail > .kicker {
    display: block;
    font-size: 10px;
  }
  .scene[data-phase="detail"] .scene-detail > h2 {
    display: none;
  }
  .scene .unified-phone {
    max-width: 82% !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scene .unified-phone {
    transform: translate(-50%, -50%) !important;
    transition: none;
  }
  .scene .scene-detail {
    transform: none !important;
    opacity: 1 !important;
  }
  .scene .scene-description {
    opacity: 1 !important;
  }
}
.scene[data-phase="transfer"] .scene-note {
  visibility: hidden;
}
/* Solid rounded metal chassis; the screen remains a clipped front surface. */
.scene .unified-phone {
  overflow: visible !important;
  isolation: auto;
  transform-style: preserve-3d;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 42px;
  --shell-radius: 42px;
}
.phone-metal-layer {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: var(--shell-radius);
  transform: translateZ(calc(var(--depth) * 0.28));
  background: linear-gradient(
    115deg,
    #d2d3d5 0%,
    #747780 7%,
    #292c33 21%,
    #727780 44%,
    #d4d7dc 61%,
    #555a64 79%,
    #b1b4bc 96%
  );
  border: 1px solid #92959d;
  backface-visibility: visible;
  pointer-events: none;
}
.phone-metal-layer:first-child {
  background: linear-gradient(130deg, #41454e, #24272d 50%, #5d626d);
  border: 1px solid #a1a5ad;
  box-shadow: 12px 24px 38px #19172238;
}
.phone-metal-layer:nth-child(17) {
  background: linear-gradient(125deg, #e0e2e6, #6c707a 18%, #20242d 43%, #afb5be 70%, #444953);
  border-color: #b2b6bf;
}
.phone-screen {
  position: absolute;
  inset: 3px;
  transform: translateZ(1px);
  border: 6px solid #13151a;
  border-radius: calc(var(--shell-radius) - 3px);
  overflow: hidden;
  background: #17181e;
  box-shadow:
    0 0 0 1px #343842,
    inset 0 0 0 1px #737982;
  backface-visibility: hidden;
  isolation: isolate;
}
.phone-glass {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 24;
  pointer-events: none;
  background: linear-gradient(
    117deg,
    #ffffff13 0%,
    #ffffff04 28%,
    transparent 29%,
    transparent 68%,
    #ffffff0a 100%
  );
  box-shadow:
    inset 1px 1px 1px #ffffff6b,
    inset -1px -1px 2px #0008;
}
.phone-home-bar {
  position: absolute;
  bottom: 7px;
  left: 36%;
  width: 28%;
  height: 3px;
  border-radius: 5px;
  background: #f9f9fa99;
  z-index: 26;
  pointer-events: none;
}
.scene .island {
  top: 5px;
  height: 15px;
  width: 66px;
  border-radius: 14px;
  background: linear-gradient(180deg, #080a10, #171a23);
  box-shadow: 0 1px 1px #ffffff1c;
}
.scene .island::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #40516f, #101520 55%, #030509);
  box-shadow: 0 0 0 1px #242a36;
}
.phone-side-key {
  display: none !important;
  position: absolute;
  left: -2px;
  width: 11px;
  height: 43px;
  top: 24%;
  border-radius: 4px;
  background: linear-gradient(90deg, #343943, #d4d9e2 40%, #686f7b);
  border: 1px solid #6e747f;
  transform: translateZ(-8px) rotateY(90deg);
  transform-origin: center;
  pointer-events: none;
}
.phone-side-key.volume-down {
  top: 34%;
}
.phone-side-key.power-key {
  left: auto;
  right: -3px;
  top: 29%;
  height: 60px;
}
.scene[data-phase="detail"][data-stage="0"] .phone-home-bar {
  background: #30313955;
}
@media (max-width: 760px) {
  .scene .unified-phone {
    --shell-radius: 34px;
    border-radius: 34px;
  }
  .phone-screen {
    inset: 2px;
    border-width: 5px;
  }
  .scene .island {
    width: 54px;
    height: 13px;
    top: 4px;
  }
  .scene .island::after {
    height: 6px;
    width: 6px;
    top: 3px;
  }
  .phone-side-key {
    height: 32px;
  }
  .phone-side-key.power-key {
    height: 45px;
  }
}

/* Compact per-video price explanation, shared on desktop and mobile. */
.plan-rhythm .video-unit-price {
  display: block;
  line-height: 1.65;
}
.video-unit-price .plan-help {
  vertical-align: middle;
  flex-shrink: 0;
}
.plan-popover {
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
}

/* Approval walkthrough: stable card, visibly different outcomes. */
.approval-demo {
  min-height: 340px;
  display: flex;
  flex-direction: column;
}
.approval-demo .approval-message {
  align-items: center;
  gap: 16px;
  min-height: 110px;
  margin: 20px 0 12px;
}
.approval-demo .approval-message > div:last-child {
  flex: 1;
  min-width: 0;
}
.approval-demo .approval-message strong {
  font-size: 19px;
  line-height: 1.3;
}
.demo-thumbnail {
  flex: 0 0 64px;
  height: 96px;
  border-radius: 10px;
  background: linear-gradient(160deg, #7552ef, #272132);
  display: flex;
  align-items: flex-end;
  padding: 8px;
  box-shadow: 0 5px 15px #362b4722;
}
.demo-thumbnail span {
  color: #efffa4;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.25;
}
.demo-thumbnail.revised {
  background: linear-gradient(160deg, #bbdf78, #31574c);
}
.demo-thumbnail.revised span {
  color: white;
}
.demo-version {
  font-size: 12px;
  color: #82788e;
}
.demo-outcome {
  flex: 1;
  min-height: 142px;
}
.demo-hint {
  font-size: 14px;
  margin: 0 0 10px;
}
.demo-progress {
  height: 7px;
  background: #e7e1f4;
  border-radius: 8px;
  margin: 25px 0;
  overflow: hidden;
}
.demo-progress span {
  display: block;
  height: 100%;
  background: #7445ff;
  border-radius: 8px;
  transition: width 0.65s ease;
}
.demo-platforms {
  list-style: none;
  padding: 0;
  margin: 0;
}
.demo-platforms li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  font-size: 14px;
}
.demo-platforms li > span {
  margin-left: auto;
  font-size: 12px;
  color: #888;
}
.demo-platforms .is-published > span {
  color: #267147;
}
.platform-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: white;
  font-size: 11px;
}
.youtube {
  background: #d83131;
}
.vk {
  background: #0879ed;
}
.tiktok {
  background: #202026;
}
.approval-demo[data-state="published"] #approval-title {
  color: #267147;
}
.approval-demo .approval-actions {
  gap: 9px;
  margin-top: 15px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
}
.approval-demo .button {
  padding: 12px 9px;
  font-size: 13px;
  min-height: 44px;
  white-space: normal;
}
.approval-demo[data-state="published"] #approve {
  background: #e0f2de;
  color: #267147;
  opacity: 1;
}
.approval-status {
  font-size: 12px !important;
  line-height: 1.5;
}
.approval-demo [hidden] {
  display: none !important;
}
@media (max-width: 480px) {
  .approval-demo {
    min-height: 370px;
  }
  .approval-demo .approval-message strong {
    font-size: 17px;
  }
  .approval-demo .approval-actions {
    grid-template-columns: 1fr;
  }
  .approval-demo .approval-message {
    gap: 12px;
  }
  .demo-outcome {
    min-height: 142px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .demo-progress span {
    transition: none;
  }
}

/* Actual sample video: retain its own captions and keep controls clear. */
.scene:not([data-phase="detail"]) .phone-shade,
.scene:not([data-phase="detail"]) .phone-tag {
  display: none;
}
.scene .video-controls[hidden] {
  display: none !important;
}
.scene .video-controls {
  bottom: 22px;
  left: 8px;
  right: 8px;
  gap: 5px;
}
.scene .video-controls button {
  min-height: 36px;
  font-size: 11px;
  padding: 6px 9px;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.scene .phone-screen:has(.product-video:not([hidden])) .phone-top {
  opacity: 0.65;
}
.example-open,
.example-open body {
  overflow: hidden;
}
#example-dialog {
  border: 1px solid #ffffff30;
  border-radius: 20px;
  padding: 12px;
  background: #16151b;
  color: white;
  max-width: calc(100vw - 24px);
  width: min(470px, calc((100dvh - 100px) * 0.5625 + 24px));
  max-height: calc(100dvh - 24px);
  box-shadow: 0 24px 90px #0008;
}
#example-dialog::backdrop {
  background: #11101bdd;
  backdrop-filter: blur(9px);
}
.example-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px 10px;
  font-size: 14px;
}
#close-example {
  border: 0;
  border-radius: 50%;
  background: #34313e;
  color: white;
  width: 36px;
  height: 36px;
  font-size: 26px;
  cursor: pointer;
  flex-shrink: 0;
}
#full-example {
  display: block;
  width: 100%;
  aspect-ratio: 9/16;
  max-height: calc(100dvh - 100px);
  border-radius: 10px;
  background: #000;
  object-fit: contain;
}
#example-error {
  font-size: 13px;
}
#example-error a {
  color: #d2c2ff;
}
.plan-legal {
  font-size: 12px;
  line-height: 1.55;
  margin: 10px 0 0;
  color: #b9b5c4;
}
.featured .plan-legal {
  color: #6c6578;
}
.plan-legal .terms-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  min-height: 0;
}
.plan-legal .terms-link:hover {
  color: var(--lime);
  transform: none;
  box-shadow: none;
}
.featured .plan-legal .terms-link:hover {
  color: var(--purple);
}
.site-footer {
  display: grid;
  gap: 18px;
  width: 100%;
  padding: 36px 0 28px;
  border-top: 1px solid #36363e;
  font-size: 13px;
  color: #96949f;
}
.site-footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.site-footer .footer-legal a {
  color: #e8e6ef;
}
.site-footer .footer-legal a:hover {
  color: var(--lime);
}
.site-footer .footer-contacts {
  display: grid;
  gap: 6px;
  max-width: 640px;
  line-height: 1.55;
}
.site-footer .footer-contacts a {
  color: #e8e6ef;
}
#terms-dialog {
  max-width: 560px;
}
#terms-dialog .terms-points {
  margin: 18px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: #3f3f48;
  font-size: 15px;
  line-height: 1.55;
}
#terms-dialog .terms-doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 22px 0 8px;
}
#terms-dialog .terms-doc-links a {
  color: var(--purple);
  font-weight: 650;
}
@media (max-width: 760px) {
  .site-footer .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Vertical cover still: fill the phone instead of the old landscape crop. */
.scene .portrait img {
  width: 100%;
  height: 100%;
  max-width: none;
  left: 0;
  top: 0;
  object-fit: cover;
  object-position: center top;
  filter: none;
}
.scene[data-phase="detail"] .phone-shade {
  background: linear-gradient(transparent 78%, #17152066);
}

/* Stage 03: auto-edit HUD at the bottom of the phone, not over the face. */
.scene .assembled-caption {
  display: none;
}
.scene .edit-tracks {
  top: auto;
  bottom: 18px;
  left: 12px;
  right: 12px;
  padding: 8px 8px 9px;
  border-radius: 10px;
  background: #121018cc;
  border: 1px solid #ffffff24;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  gap: 6px;
}
.scene .edit-tracks::before {
  content: "Автомонтаж";
  display: block;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 2px;
}
.scene[data-phase="detail"][data-stage="2"] .edit-tracks::after {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 8px;
  left: 36%;
  width: 1.5px;
  background: #fff;
  box-shadow: 0 0 8px #dfff64aa;
  border-radius: 1px;
  pointer-events: none;
}
@media (max-width: 760px) {
  .scene .edit-tracks {
    top: auto;
    bottom: 16px;
  }
  .scene .edit-tracks::before {
    font-size: 8px;
  }
}

/* Format examples: real media inset in the gray preview, rounded, green orb kept. */
.format-preview {
  isolation: isolate;
  height: 500px;
}
.format-content {
  z-index: 1;
  padding: 26px 24px 20px;
  box-sizing: border-box;
}
.format-media-frame {
  position: relative;
  display: block;
  width: min(100%, 270px);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #111014;
  box-shadow: 0 14px 36px #25222b28;
  color: inherit;
  font: inherit;
  text-align: left;
}
.format-media-frame img,
.format-media-frame video {
  display: block;
  width: 100%;
  height: auto;
}
.format-video-frame {
  width: min(100%, 214px);
  cursor: pointer;
  background: #000;
  transform: none;
}
.format-video-frame video {
  aspect-ratio: 9/16;
  object-fit: cover;
  max-height: min(360px, calc(100%));
}
.format-play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 15px;
  pointer-events: none;
  box-shadow: 0 8px 22px #0005;
}
.format-carousel-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(100%, 336px);
}
.format-carousel-frame {
  width: 100%;
  transform: none;
}
.format-carousel-frame img {
  aspect-ratio: 1;
  object-fit: cover;
  max-height: 340px;
}
.format-carousel-stack .carousel-controls,
.format-reel-stack .carousel-controls {
  position: static;
  width: 100%;
  max-width: 220px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: #18181c;
  color: #fff;
  gap: 8px;
}
.format-carousel-stack .carousel-controls button,
.format-reel-stack .carousel-controls button {
  background: #ffffff22;
  color: #fff;
  flex: 0 0 32px;
}
.format-carousel-stack .carousel-controls button:disabled,
.format-reel-stack .carousel-controls button:disabled {
  opacity: 0.35;
}
.format-carousel-stack .carousel-controls span,
.format-reel-stack .carousel-controls span {
  font-size: 12px;
  font-weight: 650;
  color: #fff;
}
.format-post-frame {
  width: min(100%, 248px);
  background: #f4f6fb;
}
.format-post-frame img {
  object-fit: contain;
  max-height: 348px;
  background: #f4f6fb;
}
@media (max-width: 760px) {
  .format-preview {
    height: 470px;
  }
  .format-content {
    padding: 20px 16px 16px;
  }
  .format-carousel-stack {
    width: min(100%, 290px);
    gap: 12px;
  }
  .format-carousel-frame {
    transform: none;
  }
  .format-post-frame {
    width: min(100%, 230px);
  }
  .format-video-frame {
    width: min(100%, 190px);
    transform: none;
  }
}

.format-content:has(.format-reel-stack) {
  display: flex;
  min-width: 0;
  padding: 12px 0 16px;
}
.format-reel-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
}
.format-reel-viewport {
  container-type: inline-size;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  touch-action: pan-y;
}
.format-reel-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  flex: none;
}
.format-reel-stack .format-video-frame {
  width: min(42cqi, 200px);
  flex: 0 0 min(42cqi, 200px);
  max-width: none;
  transform: none;
}
.format-reel-stack .format-video-frame video {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

/* First-screen hero matching the KOINET mock: copy, phone overlay, floating cards. */
.hero-copy h1,
.mobile-intro h1,
.scene .hero-copy h1 {
  font-size: clamp(28px, 2.85vw, 42px) !important;
  line-height: 1.1;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: normal;
}
.hero-copy h1 .h1-line,
.mobile-intro h1 .h1-line {
  display: block;
  white-space: nowrap;
}
.hero-copy h1 em.h1-line,
.mobile-intro h1 em.h1-line {
  font-size: 0.94em;
  font-style: italic;
  white-space: nowrap;
}
.scene .hero-copy .lead,
.mobile-intro .lead {
  max-width: 460px;
  margin-top: 14px;
}
.hero-copy .audience,
.mobile-intro .audience {
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 0;
  padding-left: 0;
  max-width: 280px;
}
.hero-copy .audience svg,
.mobile-intro .audience svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  fill: none;
  stroke: var(--purple);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.k-symbol {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border-width: 1.5px;
  box-shadow: none;
  padding: 0;
  font-size: 0;
  line-height: 0;
}
.k-symbol svg {
  width: 9px;
  height: 9px;
  display: block;
  fill: var(--purple);
  margin-left: 1px;
}
.insight-card .k-symbol {
  width: 20px;
  height: 20px;
  font-size: 0;
}
.insight-card .k-symbol svg {
  width: 8px;
  height: 8px;
}
.hero-button {
  border-radius: 14px !important;
  padding-right: 8px !important;
}
.scene .intro-note {
  display: none;
}
.scene .phone-caption {
  right: 52px;
  bottom: 72px;
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  z-index: 6;
}
.scene .phone-caption mark {
  color: #18181e;
}
.reel-stats {
  position: absolute;
  right: 10px;
  bottom: 78px;
  z-index: 6;
  display: grid;
  gap: 12px;
  color: #fff;
  text-align: center;
}
.reel-stats span {
  display: grid;
  justify-items: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 700;
}
.reel-stats svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linejoin: round;
}
.reel-stats b {
  font-weight: 700;
}
.scene[data-phase="detail"] .reel-stats,
.scene[data-phase="detail"] .reach-card {
  display: none;
}
.scene:not([data-phase="detail"]) #video-play {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  background: #ffffffd0;
  color: #18181e;
  border: 0;
  font-size: 12px;
}
.scene:not([data-phase="detail"]) #video-sound {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.scene .insight-card {
  width: 250px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  transform: rotate(-6deg) translateY(calc(var(--transfer) * -30px));
}
.scene .insight-card .float-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.scene .insight-card .float-head b {
  margin-left: auto;
  color: #9a93a6;
  letter-spacing: 0.12em;
}
.scene .insight-card ul {
  margin: 12px 0 0;
  gap: 0;
}
.scene .insight-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #3c3844;
  border: 0;
  border-top: 1px solid #efeaf6;
  padding: 8px 0 0;
  margin-top: 8px;
}
.scene .insight-card li i {
  margin-left: auto;
  color: var(--purple);
  font-style: normal;
  font-weight: 700;
}
.scene .production-card {
  left: -4%;
  bottom: 14%;
  width: 230px;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid #fff;
  background: #ffffffee;
  border-radius: 16px;
  transform: rotate(-4deg);
}
.scene .production-card img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  object-position: 20% 20%;
  flex: 0 0 36px;
}
.scene .production-card .gen-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}
.scene .production-card .gen-head span {
  color: var(--purple);
  font-weight: 700;
}
.scene .production-card ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.scene .production-card li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #4a4553;
}
.scene .production-card li i,
.scene .production-card li span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 9px;
  color: #fff;
  background: var(--purple);
}
.scene .production-card li span {
  background: transparent;
  border: 1.5px solid #c9c2d4;
}
.reach-card {
  position: absolute;
  right: -6%;
  top: 28%;
  z-index: 5;
  width: 168px;
  display: flex;
  gap: 8px;
  padding: 12px;
  background: #ffffffee;
  border: 1px solid #fff;
  border-radius: 16px;
  box-shadow: 0 14px 36px #25222b14;
  transform: rotate(4deg);
  opacity: var(--intro-opacity);
}
.reach-card .reach-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f3eeff;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
}
.reach-card svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--purple);
  stroke-width: 1.8;
  stroke-linecap: round;
}
.reach-card span {
  display: block;
  font-size: 11px;
  color: #6d6678;
}
.reach-card strong {
  display: block;
  margin-top: 2px;
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.reach-card p {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.25;
  color: #6d6678;
}
.reach-arrow {
  position: absolute;
  left: -28px;
  bottom: -36px;
  width: 64px;
  height: 42px;
  stroke: #9a93a8;
  stroke-width: 1.4;
  fill: none;
}
@media (max-width: 1100px) and (min-width: 761px) {
  .scene .insight-card {
    width: 210px;
    left: 0;
  }
  .reach-card {
    width: 140px;
    right: 0;
  }
  .reach-card strong {
    font-size: 22px;
  }
  .scene .production-card {
    width: 200px;
  }
}
@media (max-width: 760px) {
  .mobile-intro .eyebrow {
    display: inline-flex;
  }
  .mobile-intro h1,
  .mobile-intro .hero-copy h1 {
    font-size: clamp(24px, 6.2vw, 30px) !important;
    line-height: 1.12;
  }
  .mobile-intro h1 .h1-line {
    white-space: nowrap;
  }
  .mobile-intro h1 em.h1-line {
    font-size: 0.9em;
    white-space: nowrap;
  }
  .mobile-intro .lead {
    font-size: 14px;
    max-width: none;
  }
  .mobile-intro .hero-conversion .actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .mobile-intro .hero-conversion .demo-link {
    display: flex;
    justify-content: center;
  }
  .mobile-intro .audience {
    display: flex;
    margin-top: 16px;
  }
  .selfie-note {
    display: none !important;
  }
  .scene .insight-card {
    display: block;
    width: min(220px, 62vw);
    left: 0;
    top: 8px;
    padding: 10px;
  }
  .scene .production-card,
  .scene .reach-card {
    display: flex;
  }
  .scene[data-phase="detail"] .insight-card,
  .scene[data-phase="detail"] .production-card,
  .scene[data-phase="detail"] .reach-card {
    display: none !important;
  }
  .scene .insight-card li {
    font-size: 10px;
  }
  .scene .production-card {
    width: min(200px, 56vw);
    left: 0;
    bottom: auto;
    top: calc(var(--phone-height) - 20px);
  }
  .reach-card {
    width: 132px;
    right: auto;
    left: 54%;
    top: 6%;
    padding: 8px;
    transform: none;
    z-index: 6;
  }
  .reach-card span,
  .reach-card p {
    font-size: 10px;
  }
  .reach-card strong {
    font-size: 22px;
  }
  .reach-arrow {
    display: none;
  }
  .scene .phone-caption {
    font-size: 11px;
    right: 36px;
    bottom: 48px;
  }
  .reel-stats {
    right: 6px;
    bottom: 52px;
    gap: 8px;
  }
  .reel-stats svg {
    width: 14px;
    height: 14px;
  }
}

/* Active stage tab growth + final hero CTA / icon polish (keep scroll JS untouched). */
.scene .scene-controls .stage-buttons {
  align-items: stretch;
}
.scene .scene-controls .stage-buttons button {
  flex: 1 1 0;
  min-width: 0;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  transform: none;
}
.scene .scene-controls .stage-buttons button[aria-pressed="true"] {
  flex: 1 1 0;
  transform: none;
  font-size: inherit;
  box-shadow: 0 8px 18px #18181e18;
  z-index: 2;
}
@media (max-width: 760px) {
  .scene .scene-controls .stage-buttons button,
  .scene .scene-controls .stage-buttons button[aria-pressed="true"] {
    flex: 1 1 0;
    transform: none;
    white-space: nowrap;
    hyphens: none;
    font-size: clamp(8px, 2.45vw, 10px);
    line-height: 1.15;
    padding: 8px 3px;
    overflow: hidden;
  }
  .mobile-intro .k-symbol {
    width: 20px;
    height: 20px;
    border-radius: 5px;
  }
  .mobile-intro .k-symbol svg {
    width: 8px;
    height: 8px;
  }
  .hero-button {
    border-radius: 14px !important;
  }
}

/* Desktop hero: drop side cards, enlarge phone/orb, lower + scale left copy. */
@media (min-width: 761px) {
  .scene .insight-card,
  .scene .production-card {
    display: none !important;
  }
  .scene[data-phase="intro"] .intro-home,
  .scene .intro-home {
    top: 14%;
    width: 50%;
  }
  .scene .hero-copy h1 {
    font-size: clamp(40px, 4vw, 62px) !important;
    line-height: 1.06;
  }
  .scene .hero-copy .lead {
    font-size: 20px;
    line-height: 1.55;
    max-width: 540px;
    margin-top: 18px;
  }
  .scene .hero-copy .lead strong {
    font-weight: 800;
    color: #111111;
  }
  .scene .eyebrow {
    margin-bottom: 18px;
    font-size: 13px;
  }
  .scene .hero-button {
    min-height: 66px;
    font-size: 18px;
    padding: 18px 14px 18px 26px !important;
  }
  .scene .hero-copy .micro {
    font-size: 13px;
  }
  .scene .hero-copy .audience {
    font-size: 13px;
    max-width: 320px;
    margin-top: 22px;
  }
  .scene[data-phase="intro"] .scene-orb,
  .scene:not([data-phase="detail"]) .scene-orb {
    width: 118%;
    left: -4%;
    opacity: 0.92;
  }
  .scene[data-phase="intro"] .reach-card {
    right: -2%;
    top: 24%;
    width: 178px;
  }
}

@media (max-width: 760px) {
  .scene .insight-card,
  .scene .production-card {
    display: none !important;
  }
}

/* AI content department block before pricing */
.department-section {
  padding: 72px 0 88px;
  background: linear-gradient(180deg, #f7f6f1 0%, #f3f1ea 100%);
}
.department-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}
.department-heading .eyebrow {
  justify-content: center;
  margin-bottom: 18px;
}
.department-heading h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  margin-bottom: 16px;
}
.department-heading p {
  font-size: 16px;
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto;
}
.department-flow {
  list-style: none;
  margin: 0 auto 36px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
  position: relative;
}
.department-flow li {
  background: #fff;
  border: 1px solid #fff;
  border-radius: 18px;
  padding: 22px 16px 18px;
  text-align: center;
  box-shadow: 0 14px 36px #25222b10;
  position: relative;
}
.department-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -14px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--purple);
  border-right: 2px solid var(--purple);
  transform: rotate(45deg);
  z-index: 1;
}
.department-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #8b6bff, #7048ff);
  color: #fff;
}
.department-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.department-flow strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.department-result {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px) 1fr;
  gap: 18px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}
.department-side {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: center;
  padding: 10px 14px;
  border: 1.5px solid #c9b8ff;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #3a3450;
  box-shadow: 0 8px 22px #4230630c;
}
.department-side svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--purple);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 16px;
}
.department-outcome {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 18px;
  background: #e8f8c8;
  box-shadow: 0 16px 40px #2d3a120f;
}
.department-spark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  font-size: 16px;
  flex: 0 0 36px;
  color: #18181e;
}
.department-outcome strong {
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.department-status {
  position: absolute;
  top: -14px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 650;
  box-shadow: 0 8px 20px #25222b14;
}
.department-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 0 3px #4caf5022;
}
@media (max-width: 900px) {
  .department-flow {
    grid-template-columns: 1fr 1fr;
  }
  .department-flow li:not(:last-child)::after {
    display: none;
  }
  .department-result {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .department-side {
    order: 2;
  }
  .department-outcome {
    order: 1;
    width: min(100%, 520px);
  }
}
@media (max-width: 760px) {
  .department-section {
    padding: 48px 0 56px;
  }
  .department-heading h2 {
    font-size: clamp(26px, 7vw, 34px);
  }
  .department-heading p {
    font-size: 14px;
  }
  .department-flow {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }
  .department-outcome {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 16px 16px;
  }
  .department-outcome strong {
    font-size: 15px;
  }
  .department-status {
    position: static;
    margin-top: 4px;
  }
  .department-side {
    width: 100%;
    justify-content: center;
  }
}

/* Department journey: animated route and compact responsive cards. */
.department-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 70%, #dfff6420 0, transparent 34%),
    linear-gradient(180deg, #f7f6f1 0%, #f2f0e9 100%);
}
.department-section::before,
.department-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}
.department-section::before {
  width: 280px;
  height: 280px;
  left: -140px;
  top: 44%;
  border: 1px solid #7048ff26;
}
.department-section::after {
  width: 220px;
  height: 220px;
  right: -110px;
  top: 28%;
  border: 1px solid #7048ff1f;
}
.department-section .wrap {
  position: relative;
  z-index: 1;
}
.department-heading .eyebrow {
  color: #4c4658;
}
.department-flow {
  counter-reset: department-step;
  gap: 34px;
  max-width: 1080px;
  margin-bottom: 54px;
}
.department-flow li {
  counter-increment: department-step;
  min-height: 164px;
  padding: 24px 18px 20px;
  border: 1px solid #ffffffd9;
  background: linear-gradient(145deg, #fffffffa, #fbf9ffed);
  box-shadow:
    0 20px 55px #2e253f12,
    inset 0 1px #fff;
  isolation: isolate;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.department-flow li::before {
  content: "0" counter(department-step);
  position: absolute;
  top: 12px;
  left: 14px;
  color: #8e7dc5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.department-flow li::after {
  display: none;
}
.department-flow li:hover {
  transform: translateY(-8px);
  border-color: #cabaff;
  box-shadow:
    0 26px 65px #2e253f1b,
    0 0 0 5px #7048ff09;
}
.department-icon {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  background:
    radial-gradient(circle at 72% 25%, #dfff64 0 7%, transparent 8%),
    linear-gradient(145deg, #8f71ff, #6540ed);
  box-shadow:
    0 12px 28px #7048ff38,
    inset 0 1px #ffffff65;
  transform: rotate(-3deg);
  transition: transform 0.35s ease;
}
.department-flow li:nth-child(even) .department-icon {
  transform: rotate(3deg);
}
.department-flow li:hover .department-icon {
  transform: rotate(0) scale(1.08);
}
.department-flow strong {
  font-size: 16px;
}
.flow-connector {
  position: absolute;
  top: 76px;
  left: calc(100% + 1px);
  width: 34px;
  height: 22px;
  pointer-events: none;
  z-index: 3;
}
.flow-connector i {
  position: absolute;
  top: 10px;
  left: 0;
  width: 28px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: #cabdff;
}
.flow-connector i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #7048ff, var(--lime));
  transform: translateX(-100%);
}
.flow-connector b {
  position: absolute;
  top: 6px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--purple);
  border-right: 2px solid var(--purple);
  transform: rotate(45deg);
}
.department-result {
  position: relative;
  max-width: 1080px;
}
.department-result::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a88fff, transparent);
  z-index: -1;
}
.department-outcome {
  min-height: 88px;
  padding: 24px 28px;
  background: linear-gradient(110deg, #efffc6, #ddff64 55%, #efffc6);
  border: 1px solid #fff;
  box-shadow:
    0 22px 55px #6c812820,
    inset 0 1px #fff;
}
.department-outcome strong {
  font-size: 20px;
}
.department-spark {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  background: #fff;
  box-shadow: 0 8px 18px #5060151c;
}
.department-side {
  backdrop-filter: blur(10px);
  background: #ffffffd9;
}

.department-ready .department-heading,
.department-ready .department-flow li,
.department-ready .department-result {
  opacity: 0;
  transform: translateY(22px);
}
.department-ready.is-visible .department-heading {
  animation: departmentReveal 0.65s ease forwards;
}
.department-ready.is-visible .department-flow li {
  animation: departmentReveal 0.55s ease forwards;
}
.department-ready.is-visible .department-flow li:nth-child(1) {
  animation-delay: 0.12s;
}
.department-ready.is-visible .department-flow li:nth-child(2) {
  animation-delay: 0.25s;
}
.department-ready.is-visible .department-flow li:nth-child(3) {
  animation-delay: 0.38s;
}
.department-ready.is-visible .department-flow li:nth-child(4) {
  animation-delay: 0.51s;
}
.department-ready.is-visible .department-result {
  animation: departmentReveal 0.65s 0.68s ease forwards;
}
.department-ready.is-visible .flow-connector i::after {
  animation: departmentRoute 1.1s 0.45s ease-in-out infinite;
}
.department-ready.is-visible .department-icon svg {
  animation: departmentIcon 2.4s 1s ease-in-out infinite;
}
@keyframes departmentReveal {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes departmentRoute {
  0% {
    transform: translateX(-100%);
  }
  70%,
  100% {
    transform: translateX(100%);
  }
}
@keyframes departmentIcon {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.09);
  }
}

@media (max-width: 900px) {
  .department-flow {
    gap: 24px;
  }
  .flow-connector {
    display: none;
  }
}

@media (max-width: 760px) {
  .department-section {
    padding: 56px 0 64px;
  }
  .department-heading {
    margin-bottom: 32px;
  }
  .department-heading .eyebrow {
    display: inline-flex;
  }
  .department-heading h2 {
    line-height: 1.08;
    margin-bottom: 18px;
  }
  .department-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 34px;
    padding-left: 0;
  }
  .department-flow li {
    min-height: 96px;
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    text-align: left;
    border-radius: 18px;
  }
  .department-flow li::before {
    left: auto;
    right: 14px;
    top: 12px;
  }
  .department-icon,
  .department-flow li:nth-child(even) .department-icon {
    width: 52px;
    height: 52px;
    margin: 0;
    border-radius: 15px;
    transform: none;
  }
  .department-flow strong {
    font-size: 16px;
    padding-right: 24px;
  }
  .flow-connector {
    display: block;
    width: 22px;
    height: 26px;
    top: calc(100% + 1px);
    left: 31px;
    transform: rotate(90deg);
    transform-origin: center;
  }
  .flow-connector i {
    top: 10px;
    width: 20px;
  }
  .flow-connector b {
    top: 6px;
    right: 0;
  }
  .department-result {
    gap: 12px;
  }
  .department-result::before {
    display: none;
  }
  .department-outcome {
    min-height: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 20px;
    border-radius: 18px;
  }
  .department-spark {
    width: 40px;
    height: 40px;
    grid-row: 1 / span 2;
  }
  .department-outcome strong {
    font-size: 17px;
  }
  .department-status {
    width: fit-content;
    margin-top: 2px;
  }
  .department-side {
    min-height: 46px;
    border-radius: 14px;
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .department-ready .department-heading,
  .department-ready .department-flow li,
  .department-ready .department-result {
    opacity: 1;
    transform: none;
  }
  .department-ready.is-visible .department-heading,
  .department-ready.is-visible .department-flow li,
  .department-ready.is-visible .department-result,
  .department-ready.is-visible .flow-connector i::after,
  .department-ready.is-visible .department-icon svg {
    animation: none;
  }
}

/* First-screen copy and the sound play control. Scroll path is unchanged. */
.scene-detail > .kicker,
.scene-detail > h2,
.scene-detail > .detail-lead {
  display: none !important;
}
.hero-copy > .eyebrow {
  display: none !important;
}
.nav-cta-mobile {
  display: none;
}
.header .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  color: #8a8494;
  border: 0;
  box-shadow: none;
  min-height: 0;
  padding: 4px 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}
.header .nav-cta:hover {
  background: transparent;
  color: #18181c;
  transform: none;
  box-shadow: none;
}
.header .nav-cta .arrow-icon {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}
.example-caption {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  color: #2c2933;
}
.hero-button {
  white-space: normal;
  max-width: 100%;
}
@media (min-width: 761px) {
  .hero-conversion {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 18px;
    align-items: center;
  }
  .hero-conversion .actions {
    grid-column: 1;
    grid-row: 1;
    margin-top: 25px;
  }
  .hero-conversion .example-caption {
    display: none;
  }
  .hero-conversion .micro {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
.scene:not([data-phase="detail"]) .video-controls {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  pointer-events: none;
  z-index: 26;
}
.scene:not([data-phase="detail"]) #video-play {
  display: none !important;
}
.scene:not([data-phase="detail"]) #video-sound.phone-watch {
  position: static;
  width: auto;
  height: auto;
  min-height: 0;
  overflow: visible;
  clip: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 1px 8px #00000080;
  backdrop-filter: none;
  pointer-events: auto;
  cursor: pointer;
}
.phone-watch-label {
  display: none;
}
.phone-watch-play {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff59;
  color: #fff;
  border: 1px solid #ffffff80;
  box-shadow: none;
  backdrop-filter: blur(2px);
  animation: phone-play-pulse 1.7s ease-out infinite;
}
.phone-watch-play .play-icon {
  width: 22px;
  height: 22px;
  margin: 0;
  transform: translateX(-2px);
}
@keyframes phone-play-pulse {
  0% {
    box-shadow: 0 0 0 0 #ffffff73;
  }
  100% {
    box-shadow: 0 0 0 14px #ffffff00;
  }
}
@media (prefers-reduced-motion: reduce) {
  .phone-watch-play {
    animation: none;
  }
}
@media (max-width: 760px) {
  html,
  body {
    overflow-x: clip;
    max-width: 100%;
  }
  .mobile-brand-caption {
    display: none !important;
  }
  .header .nav-cta {
    display: inline-flex !important;
    align-items: center;
    margin-left: auto;
    background: transparent;
    color: #8a8494;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    min-height: 0;
    padding: 4px 0;
    font-size: 14px;
    font-weight: 550;
    gap: 4px;
    white-space: nowrap;
    text-decoration: none;
  }
  .header .nav-cta:hover {
    background: transparent;
    color: #18181c;
  }
  .nav-cta-desktop {
    display: none;
  }
  .nav-cta-mobile {
    display: inline;
  }
  .header .menu {
    margin-left: 8px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .header .menu span {
    width: 18px;
  }
  .mobile-intro .eyebrow,
  .mobile-intro .audience {
    display: none !important;
  }
  .mobile-intro h1,
  .mobile-intro .hero-copy h1 {
    font-size: clamp(34px, 12.8vw, 52px) !important;
    line-height: 0.84;
    letter-spacing: -0.045em;
  }
  .mobile-intro h1 .h1-line,
  .mobile-intro h1 em.h1-line {
    display: block;
    font-size: 1em;
    white-space: nowrap;
  }
  .mobile-intro {
    position: relative;
    z-index: 4;
  }
  .mobile-intro .lead {
    font-size: 13.5px;
    line-height: 1.45;
  }
  .mobile-intro .lead strong,
  .hero-copy .lead strong {
    font-weight: 800;
    color: #111111;
  }
  .mobile-intro .hero-button {
    position: relative;
    min-height: 52px;
    font-size: 15px !important;
    white-space: normal;
    overflow: hidden;
    justify-content: flex-start;
    text-align: left;
    padding: 10px 52px 10px 16px !important;
  }
  .mobile-intro .hero-button .arrow-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 8px;
    transform: translateY(-50%);
  }
  .mobile-intro .hero-button:hover .arrow-icon {
    transform: translateY(-50%);
  }
  .mobile-intro .example-caption {
    margin-top: 10px;
    font-size: 14px;
  }
  .scene {
    z-index: 1;
  }
  .scene .unified-phone {
    border-radius: 22px !important;
    --shell-radius: 22px;
    z-index: 4 !important;
  }
  .scene .scene-orb {
    width: calc(132vw * (1 - var(--transfer)) + 230px * var(--transfer));
    height: calc(132vw * (1 - var(--transfer)) + 230px * var(--transfer));
    left: calc(8vw * (1 - var(--transfer)) + 50% * var(--transfer));
    top: calc(
      (var(--phone-center, 50%) - 52vw) * (1 - var(--transfer)) + var(--phone-center, 50%) *
        var(--transfer)
    );
    transform: translate(-50%, -50%);
    z-index: 0;
  }
  .scene .unified-phone .script-sheet {
    padding: 28px 14px 12px !important;
  }
  .scene .unified-phone .script-sheet .sheet-heading {
    margin-bottom: 8px !important;
    font-size: 8px !important;
  }
  .scene .unified-phone .script-sheet strong {
    font-size: 15px !important;
    line-height: 1.2;
  }
  .scene .unified-phone .script-sheet p {
    font-size: 11px !important;
    line-height: 1.3;
  }
  .scene .unified-phone .script-sheet small {
    font-size: 8px !important;
  }
  .scene .unified-phone .script-sheet > div:not(.sheet-heading) {
    margin-top: 8px !important;
    padding-top: 7px !important;
  }
  .scene .publish-layer {
    padding: 16px 12px !important;
  }
  .scene .publish-check {
    width: 32px !important;
    height: 32px !important;
    font-size: 18px !important;
    margin-bottom: 8px !important;
  }
  .scene .publish-layer h3 {
    font-size: 22px !important;
    line-height: 1.12 !important;
  }
  .scene .publish-layer p {
    font-size: 12px !important;
    line-height: 1.35 !important;
    margin-top: 8px !important;
  }
  .scene .channel-list {
    margin-top: 10px !important;
  }
  .scene .scene-detail {
    top: 36px !important;
  }
  .scene-description {
    margin-top: 8px;
  }
  .scene-description strong {
    font-size: 20px !important;
  }
  .scene-description p {
    font-size: 13px !important;
    line-height: 1.35;
    max-width: none;
  }
  .scene .scene-controls {
    top: auto !important;
    bottom: 6px !important;
    z-index: 3;
  }
  .scene .scene-controls > p {
    margin-top: 2px;
  }
  .scene:not([data-phase="detail"]) .reach-card {
    right: auto;
    left: calc(var(--phone-x, 40%) + var(--phone-height, 340px) * 0.18);
    top: calc(var(--phone-center, 50%) - var(--phone-height, 340px) * 0.3);
    width: 150px;
    transform: rotate(2deg);
    z-index: 6;
  }
}
@media (min-width: 761px) {
  .scene .scene-controls {
    z-index: 6;
  }
  .scene-description {
    margin-top: 18px;
    max-width: 520px;
  }
  .scene-description > span {
    width: 58px;
    height: 58px;
    font-size: 22px;
  }
  .scene-description strong {
    font-size: 40px !important;
    line-height: 1.12;
  }
  .scene-description p {
    font-size: 20px !important;
    line-height: 1.45;
    max-width: 480px;
    margin-top: 10px;
  }
}
.phone-ripple {
  position: absolute;
  left: var(--phone-x, 50%);
  top: var(--phone-center, 50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid #d7ff73;
  transform: translate(-50%, -50%) scale(0.35);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}
.scene.phone-landed .phone-ripple {
  animation: phone-land-wave 0.5s ease-out forwards;
}
.scene.phone-landed .phone-ripple-late {
  animation-delay: 0.1s;
}
@keyframes phone-land-wave {
  0% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(0.35);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.2);
  }
}
@media (prefers-reduced-motion: reduce) {
  .scene.phone-landed .phone-ripple {
    animation: none;
  }
}

#service-dialog form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
#service-dialog form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
}
#service-dialog form input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
#service-dialog form .button {
  width: 100%;
  justify-content: center;
}
#service-dialog #service-lead-error:empty {
  display: none;
}
#service-dialog #service-lead-error {
  margin: 0;
  color: #b42318;
}

.cases {
  margin-bottom: 56px;
}
.cases-top {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
}
.cases-copy,
.case-feature,
.case-mini {
  min-width: 0;
}
.cases .kicker {
  color: #8b8494;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cases-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 3vw, 44px);
}
.cases-copy > p:not(.kicker) {
  max-width: 390px;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}
.cases-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
  margin-top: 22px;
}
.cases-cta {
  flex: 0 0 auto;
  gap: 10px;
  border-radius: 14px;
  padding: 12px 18px;
  min-height: 48px;
  font-size: 15px;
  white-space: nowrap;
}
.cases-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  max-width: 230px;
  font-size: 13px;
  line-height: 1.35;
  color: #5e5868;
}
.cases-faces {
  display: flex;
  flex: 0 0 auto;
}
.cases-faces img {
  width: 32px;
  height: 32px;
  margin-left: -8px;
  border: 2px solid #f7f6f2;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 24%;
}
.cases-faces img:first-child {
  margin-left: 0;
}
.case-feature,
.case-mini {
  display: grid;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  border-radius: 22px;
  box-shadow: 0 10px 30px #17171b0c;
}
.case-feature {
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  padding: 12px;
}
.case-feature:hover,
.case-mini:hover {
  transform: translateY(-2px);
}
.case-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #16141c;
  aspect-ratio: 3 / 4;
}
.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-feature .case-media img {
  object-position: center 42%;
}
.case-feature .case-media {
  aspect-ratio: 9 / 16;
}
.case-feature .case-play {
  top: 68%;
}
.case-mini .case-play {
  top: auto;
  bottom: 8px;
  width: 28px;
  height: 28px;
  transform: translateX(-50%);
}
.case-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 16px);
  padding: 6px 10px;
  border-radius: 999px;
  background: #6d4aff;
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}
.case-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffffd6;
  color: #1c1a22;
  transform: translate(-50%, -50%);
}
.case-feature-body,
.case-mini-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 8px 10px 6px;
}
.case-feature-body {
  justify-content: center;
  padding: 8px 16px 8px 12px;
}
.case-media-car {
  aspect-ratio: 215 / 314;
  background: transparent;
}
.case-media-car img {
  object-fit: cover;
  object-position: center top;
}
.case-platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
}
.case-platform svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #ff2d2d;
  stroke-width: 1.7;
}
.case-platform svg path:last-child {
  fill: #ff2d2d;
  stroke: none;
}
.case-mini .case-platform::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: #ff2d2d;
}
.case-mini .case-platform.ig::before {
  background: radial-gradient(circle at 30% 30%, #f9ce34, #ee2a7b 52%, #6228d7);
}
.case-title {
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.case-feature .case-title {
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.2;
}
.case-when {
  margin-top: 6px;
  color: #8b8494;
  font-size: 13px;
}
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.case-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 8px;
  border-radius: 14px;
  text-align: center;
}
.case-metric b {
  font-size: 18px;
  letter-spacing: -0.03em;
}
.case-feature .case-metrics {
  margin-top: 18px;
}
.case-feature .case-metric {
  padding: 16px 10px;
}
.case-feature .case-metric b {
  font-size: 24px;
  white-space: nowrap;
}
.case-feature .case-metric small {
  font-size: 13px;
}
.case-metric small {
  color: #6f6878;
  font-size: 11px;
}
.case-metric.views {
  background: #f3eeff;
}
.case-metric.subs {
  background: #eef3ff;
}
.case-metric.likes {
  background: #fff0f3;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.case-mini {
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 4px;
  padding: 10px;
  border-radius: 18px;
}
.case-mini .case-title {
  font-size: 15px;
}
.case-mini-stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  color: #6f6878;
  font-size: 12px;
}
.case-mini-stats b {
  color: var(--ink);
  font-size: 13px;
}
@media (max-width: 980px) {
  .cases-top,
  .cases-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .case-feature {
    max-width: 640px;
  }
}
@media (max-width: 760px) {
  .cases {
    margin-bottom: 36px;
  }
  .cases-copy h2 {
    font-size: 30px;
  }
  .cases-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cases-cta {
    width: 100%;
    white-space: normal;
  }
  .cases-social {
    max-width: none;
  }
  .case-feature {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .case-feature .case-media {
    max-height: 420px;
  }
  .case-feature .case-title {
    font-size: 22px;
  }
  .case-feature .case-metrics {
    gap: 6px;
  }
  .case-feature .case-metric {
    min-width: 0;
    padding: 10px 4px;
  }
  .case-feature .case-metric b {
    font-size: 15px;
    white-space: normal;
  }
  .case-feature .case-metric small {
    font-size: 11px;
  }
  .case-mini .case-title {
    font-size: 15px;
  }
  .case-mini {
    grid-template-columns: 112px minmax(0, 1fr);
  }
}

.cases .cases-copy {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}
.cases .cases-copy > p:not(.kicker) {
  max-width: 640px;
  margin: 12px auto 0;
}
.cases .cases-swipe-hint {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 10px;
  color: var(--purple, #7048ff);
  font-size: 13px;
  font-weight: 650;
}
.cases .cases-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 12px;
  scrollbar-width: none;
}
.cases .cases-strip::-webkit-scrollbar {
  display: none;
}
.cases .case-card {
  display: flex;
  flex: 0 0 280px;
  flex-direction: column;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid #deddd8;
  border-radius: 22px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 16px 40px -28px rgba(24, 24, 30, 0.45);
}
.cases .case-thumb {
  position: relative;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  background: #111;
}
.cases .case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cases .case-platform-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(16, 16, 20, 0.72);
  padding: 4px 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.cases .case-platform-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b30;
}
.cases .case-platform-pill i.ig {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
}
.cases .case-thumb .case-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #18181e;
  font-size: 16px;
}
.cases .case-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
}
.cases .case-body strong {
  font-size: 14px;
  line-height: 1.35;
}
.cases .case-when {
  color: #686872;
  font-size: 12px;
}
.cases .case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.cases .case-metrics span {
  border-radius: 10px;
  background: #f6f5f1;
  padding: 7px 4px;
  text-align: center;
}
.cases .case-metrics b,
.cases .case-metrics small {
  display: block;
}
.cases .case-metrics b {
  font-size: 12px;
}
.cases .case-metrics small {
  color: #686872;
  font-size: 10px;
}
.cases .cases-actions {
  justify-content: center;
  margin-top: 22px;
}
/* Free-start offer: hero note, header CTA, CTA after the department block. */
.scene .hero-copy .lead,
.mobile-intro .lead {
  max-width: 500px;
  font-size: 19px;
  line-height: 1.5;
  color: #3a3647;
}
.hero-copy .lead strong {
  font-weight: 700;
  color: var(--ink);
}
.hero-copy .lead mark {
  padding: 0 4px;
  border-radius: 4px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero-conversion .hero-free {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 470px;
  margin-top: 18px;
}
.offer-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 10px;
  background: #18181e;
  color: var(--lime);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.hero-free p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #4a4654;
}
.hero-free strong {
  color: var(--ink);
}
.header .nav-try {
  display: inline-flex;
  align-items: center;
  margin-right: -6px;
  padding: 9px 16px;
  border-radius: 11px;
  background: var(--purple);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: none;
}
.header .nav-try:hover {
  background: #5f36eb;
}
.header .nav-cta {
  color: #4a4654;
}
@media (min-width: 761px) {
  .header nav {
    margin-inline: auto;
  }
}
/* Department block: you → KOINET → result, with a one-video / autopilot switch. */
.flow-map {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 28px minmax(0, 1.25fr) 28px minmax(0, 1fr);
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}
.flow-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid #fff;
  border-radius: 24px;
  background: #ffffffd9;
  box-shadow: 0 20px 50px #2622380f;
}
.flow-label {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.flow-you ul,
.flow-koinet ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.flow-you li {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: #f6f4ef;
}
.flow-you i {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}
.flow-you strong,
.flow-result strong {
  display: block;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.flow-you small {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--muted);
}
.flow-koinet {
  background: linear-gradient(160deg, #7048ff, #5a34e6);
  border-color: #8b6bff;
  color: #fff;
  box-shadow: 0 24px 60px #7048ff38;
}
.flow-koinet .flow-label {
  color: #d9cfff;
}
.flow-koinet li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 13px;
  background: #ffffff1a;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.flow-koinet li b {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  color: var(--lime);
}
.flow-koinet li em {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ffffff26;
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0;
  font-weight: 700;
  white-space: nowrap;
}
.flow-koinet .flow-optional {
  border: 1px dashed #ffffff66;
  background: transparent;
  opacity: 0.72;
  transition:
    opacity 0.25s ease,
    background 0.25s ease;
}
.flow-map[data-mode="auto"] .flow-optional {
  border-style: solid;
  border-color: var(--lime);
  background: #dfff641f;
  opacity: 1;
}
.flow-map[data-mode="auto"] .flow-optional em {
  background: var(--lime);
  color: var(--ink);
}
.flow-arrow {
  position: relative;
  align-self: center;
  height: 2px;
  background: #c9b8ff;
}
.flow-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--purple);
  border-right: 2px solid var(--purple);
  transform: translate(-1px, -50%) rotate(45deg);
}
.flow-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 13px;
  background: #efedf4;
}
.flow-modes button {
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #4a4654;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}
.flow-modes button[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
}
.flow-panels {
  display: grid;
}
.flow-panel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
}
.flow-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}
/* Reveal: columns rise in turn, KOINET steps light up one by one, a dot runs along the arrows. */
.flow-anim .flow-col {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.flow-anim.is-visible .flow-col {
  opacity: 1;
  transform: none;
}
.flow-anim.is-visible .flow-koinet {
  transition-delay: 0.25s;
}
.flow-anim.is-visible .flow-result {
  transition-delay: 0.5s;
}
.flow-anim .flow-koinet li {
  opacity: 0.35;
  transform: translateX(-8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    background 0.25s ease;
}
.flow-anim.is-visible .flow-koinet li {
  opacity: 1;
  transform: none;
}
.flow-anim.is-visible .flow-koinet li:nth-child(1) {
  transition-delay: 0.45s;
}
.flow-anim.is-visible .flow-koinet li:nth-child(2) {
  transition-delay: 0.65s;
}
.flow-anim.is-visible .flow-koinet li:nth-child(3) {
  transition-delay: 0.85s;
}
.flow-anim.is-visible .flow-koinet li:nth-child(4) {
  transition-delay: 1.05s;
}
.flow-anim.is-visible .flow-koinet li:nth-child(5) {
  transition-delay: 1.25s;
}
.flow-anim.is-visible .flow-koinet li:nth-child(6) {
  transition-delay: 1.45s;
}
.flow-anim.is-visible .flow-koinet .flow-optional {
  opacity: 0.72;
}
.flow-map[data-mode="auto"].flow-anim.is-visible .flow-optional {
  opacity: 1;
}
.flow-koinet li:not(.flow-optional)::after {
  content: "✓";
  margin-left: auto;
  color: var(--lime);
  font-weight: 800;
}
.flow-anim .flow-koinet li:not(.flow-optional)::after {
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  transition-delay: inherit;
}
.flow-anim.is-visible .flow-koinet li:not(.flow-optional)::after {
  opacity: 1;
  transform: none;
}
.flow-anim.is-visible .flow-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px #dfff6455;
  transform: translate(-50%, -50%);
  animation: flow-dot-x 1.8s ease-in-out 0.8s infinite;
}
.flow-anim.is-settled .flow-col,
.flow-anim.is-settled .flow-koinet li,
.flow-anim.is-settled .flow-koinet li::after {
  transition-delay: 0s !important;
}
@keyframes flow-dot-x {
  from {
    left: 0;
  }
  to {
    left: 100%;
  }
}
@keyframes flow-dot-y {
  from {
    top: 0;
  }
  to {
    top: 100%;
  }
}
.flow-panel img {
  width: 100%;
  max-height: 170px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 16px;
}
.flow-panel p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #4a4654;
}
.flow-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.flow-channels span {
  padding: 8px 12px;
  border-radius: 10px;
  background: #e8f8c8;
  color: #2f5a07;
  font-size: 13px;
  font-weight: 700;
}
@media (max-width: 1000px) {
  .flow-map {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .flow-arrow {
    justify-self: center;
    width: 2px;
    height: 26px;
  }
  .flow-arrow::after {
    top: auto;
    right: 50%;
    bottom: 0;
    transform: translate(50%, -1px) rotate(135deg);
  }
  .flow-anim.is-visible .flow-arrow::before {
    top: 0;
    left: 50%;
    animation-name: flow-dot-y;
  }
}
@media (max-width: 760px) {
  .flow-col {
    padding: 16px;
    border-radius: 20px;
  }
  .flow-koinet li {
    font-size: 14px;
  }
}
/* Stage 02: what it takes to create the avatar. */
.avatar-steps {
  display: none;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.scene[data-stage="1"] .avatar-steps {
  display: flex;
}
.avatar-steps li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px 6px 6px;
  border: 1px solid #e3def5;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  color: var(--ink);
}
.avatar-steps b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--purple);
  color: #fff;
  font-size: 12px;
}
@media (max-width: 760px) {
  .avatar-steps li {
    padding: 5px 9px 5px 5px;
    font-size: 13px;
  }
}
/* Pricing: free start strip above the plans. */
.free-start {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 28px;
  padding: 16px 16px 16px 22px;
  border: 1px solid #d4ff5c55;
  border-radius: 18px;
  background: #d4ff5c14;
}
.free-start p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #d9d6e2;
}
.free-start strong {
  color: var(--lime);
  font-weight: 750;
}
.free-start .free-start-button {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 12px 18px;
  gap: 10px;
  background: var(--lime);
  color: #18181e;
}
@media (max-width: 760px) {
  .free-start {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  .free-start p {
    font-size: 14px;
  }
}
.department-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}
.department-cta p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 760px) {
  .scene .hero-copy .lead,
  .mobile-intro .lead {
    font-size: 16px !important;
    line-height: 1.45;
  }
  .hero-conversion .hero-free {
    align-items: flex-start;
    margin-top: 14px;
  }
  .hero-free p {
    font-size: 13px;
  }
  .header .nav-try {
    margin: 0 0 0 auto;
    padding: 7px 12px;
    font-size: 13px;
  }
  .header .nav-cta {
    margin-left: 10px !important;
    color: #4a4654;
  }
  .department-cta .button {
    width: 100%;
  }
}
/* The hero frame already carries its own title; the overlay caption only collided with it. */
.scene .phone-caption {
  display: none;
}
/* Phone script text scales with the phone itself: on short screens the phone is smaller,
   fixed px sizes overflowed it. Caps keep the current look on tall screens. */
@media (max-width: 760px) {
  .scene .unified-phone {
    container-type: inline-size;
  }
  .scene .unified-phone .script-sheet {
    padding: min(28px, 15.5cqw) min(14px, 7.7cqw) min(12px, 6.6cqw) !important;
  }
  .scene .unified-phone .script-sheet .sheet-heading {
    margin-bottom: min(8px, 4.4cqw) !important;
    font-size: min(8px, 4.4cqw) !important;
  }
  .scene .unified-phone .script-sheet small {
    font-size: min(8px, 4.4cqw) !important;
  }
  .scene .unified-phone .script-sheet strong {
    font-size: min(15px, 8.3cqw) !important;
  }
  .scene .unified-phone .script-sheet p {
    font-size: min(11px, 6.1cqw) !important;
  }
  .scene .unified-phone .script-sheet > div:not(.sheet-heading) {
    margin-top: min(8px, 4.4cqw) !important;
    padding-top: min(7px, 3.9cqw) !important;
  }
  .scene .publish-layer {
    padding: min(16px, 8.8cqw) min(12px, 6.6cqw) !important;
  }
  .scene .publish-check {
    width: min(32px, 17.7cqw) !important;
    height: min(32px, 17.7cqw) !important;
    font-size: min(18px, 10cqw) !important;
    margin-bottom: min(8px, 4.4cqw) !important;
  }
  .scene .publish-layer h3 {
    font-size: min(22px, 12.1cqw) !important;
  }
  .scene .publish-layer p {
    font-size: min(12px, 6.6cqw) !important;
    margin-top: min(8px, 4.4cqw) !important;
  }
  .scene .channel-list {
    margin-top: min(10px, 5.5cqw) !important;
  }
  .scene .channel-list span {
    font-size: min(10px, 5.5cqw);
    padding: min(5px, 2.8cqw) min(7px, 3.9cqw);
  }
  .avatar-steps {
    margin-top: 8px;
    gap: 4px;
  }
  .avatar-steps li {
    gap: 5px;
    padding: 3px 8px 3px 3px;
    border-radius: 10px;
    font-size: 12px;
  }
  .avatar-steps b {
    width: 20px;
    height: 20px;
    border-radius: 7px;
    font-size: 11px;
  }
}
@media (max-width: 380px) {
  .header .nav-try {
    padding: 6px 10px;
    font-size: 12px;
  }
  .header .nav-cta {
    margin-left: 8px !important;
    font-size: 13px;
  }
  .header .menu {
    margin-left: 6px;
  }
}
