/* /ai: the app concept promo as a section (tools/build_concept.py ai_section). The sheet's
   language from promo.css, in the page flow: a black card, the Beta tag, one orange word,
   the orange button, five phones rising out of a purple glow when the card scrolls in. */
/* .x-ovl wrappers are hidden by default; this one is on wherever it is placed (/ai, and
   any page that calls build_concept.ai_section). Same 1200px column as /ai's sections. */
#x-ai-concept { display: block; }
html[data-x-page="ai"] #x-ai-concept { margin: 30px 0 447px; }
/* The page's rhythm is ~410px from one section's last line to the next heading (~320px
   on phones). The block after this one pulls itself up by a negative margin and the one
   before ends in tall padding, so these margins set the card to that same rhythm. */
@media (max-width: 809px) { html[data-x-page="ai"] #x-ai-concept { margin: -37px 0 227px; } }
#x-ai-concept .x-container { width: 1200px; max-width: calc(100vw - 48px); margin: 0 auto; padding: 0; }
@media (max-width: 809px) { #x-ai-concept .x-container { max-width: calc(100vw - 32px); } }
.acg-ai { font-family: Montserrat, "Montserrat Placeholder", sans-serif; -webkit-font-smoothing: antialiased; }
.acg-ai * { box-sizing: border-box; }
.acg-ai-card { position: relative; height: 730px; overflow: hidden; border-radius: 32px; background: #000;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); }
.acg-ai-copy { position: relative; z-index: 2; padding: 64px 40px 0; text-align: center; }
.acg-ai-tag { display: inline-flex; align-items: center; margin-bottom: 18px; padding: 6px 13px; border-radius: 999px;
  background: rgba(133,62,255,.2); color: #bd96ff; font-size: 13px; line-height: 1; font-weight: 500; }
.acg-ai-h { margin: 0 auto; max-width: 720px; font-size: 54px; line-height: 1.04; font-weight: 600; letter-spacing: -1.62px; color: #fff; text-wrap: balance; }
.acg-ai-h .kw { color: #ff4a2a; }
.acg-ai-b { margin: 18px auto 0; max-width: 540px; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.62); }
.acg-ai-cta { display: inline-flex; align-items: center; gap: 10px; height: 50px; margin-top: 28px; padding: 0 28px; border-radius: 30px;
  border: 1.5px solid #ff4400; background: linear-gradient(180deg, #ff4a2a 0%, #ff4400 100%); color: #fff;
  font-size: 15px; font-weight: 500; letter-spacing: -0.3px; text-decoration: none; transition: transform .15s ease, filter .15s ease; }
.acg-ai-cta:hover { transform: scale(1.03); filter: brightness(1.06); }
.acg-ai-cta img { width: 12px; height: 12px; filter: brightness(0) invert(1); }
.acg-ai-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.acg-ai-stage { position: absolute; left: 0; right: 0; bottom: 0; height: 50%; pointer-events: none; }
.acg-ai-glow { position: absolute; left: 50%; bottom: -34%; width: 110%; height: 120%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(133,62,255,.75), rgba(133,62,255,.22) 55%, transparent); }
.acg-ai-phone { position: absolute; left: 50%; bottom: 0; height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.55));
  opacity: 0; transform: var(--t) translateY(90px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.acg-ai-phone.p2 { z-index: 3; width: 236px; margin-left: -118px; --t: translateY(42%); }
.acg-ai-phone.p1 { z-index: 2; width: 212px; margin-left: -106px; --t: translate(-206px, 52%) rotate(-5deg); }
.acg-ai-phone.p3 { z-index: 2; width: 212px; margin-left: -106px; --t: translate(206px, 52%) rotate(5deg); }
.acg-ai-phone.p0 { z-index: 1; width: 192px; margin-left: -96px; --t: translate(-392px, 64%) rotate(-10deg); }
.acg-ai-phone.p4 { z-index: 1; width: 192px; margin-left: -96px; --t: translate(392px, 64%) rotate(10deg); }
/* in once the card is seen; without the bundle's observer (no JS) they simply stand */
.acg-ai-card.in .acg-ai-phone, html:not(.x-js) .acg-ai-phone { opacity: 1; transform: var(--t); }
.acg-ai-card.in .acg-ai-phone.p2 { transition-delay: .15s; }
.acg-ai-card.in .acg-ai-phone.p1, .acg-ai-card.in .acg-ai-phone.p3 { transition-delay: .25s; }
.acg-ai-card.in .acg-ai-phone.p0, .acg-ai-card.in .acg-ai-phone.p4 { transition-delay: .35s; }

@media (max-width: 1199px) {
  .acg-ai-phone.p0 { --t: translate(-350px, 66%) rotate(-10deg); }
  .acg-ai-phone.p4 { --t: translate(350px, 66%) rotate(10deg); }
}
@media (max-width: 809px) {
  .acg-ai-card { height: 640px; border-radius: 28px; }
  .acg-ai-copy { padding: 48px 22px 0; }
  .acg-ai-h { font-size: 34px; letter-spacing: -1px; }
  .acg-ai-b { font-size: 15px; }
  .acg-ai-cta { margin-top: 22px; }
  .acg-ai-stage { height: 44%; }
  .acg-ai-phone.p2 { width: 170px; margin-left: -85px; --t: translateY(30%); }
  .acg-ai-phone.p1 { width: 150px; margin-left: -75px; --t: translate(-122px, 42%) rotate(-6deg); }
  .acg-ai-phone.p3 { width: 150px; margin-left: -75px; --t: translate(122px, 42%) rotate(6deg); }
  .acg-ai-phone.p0, .acg-ai-phone.p4 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .acg-ai-phone { transition: opacity .2s linear; transform: var(--t); }
}
