/* HE. Cut for Premiere Pro: the app page, in the studio site's identity (tokens, type and parts come from /css/site.css). */

body.app { background: var(--ink); }
body.app .nav { background: rgba(7, 7, 7, .8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
body.app code { font-family: var(--mono); font-size: .86em; direction: ltr; unicode-bidi: isolate; background: rgba(242, 237, 228, .06); border: 1px solid var(--line); padding: 1px 6px; border-radius: 2px; color: var(--bone); }
.ap-sub { margin-top: 18px; color: var(--mute); }
.ap-mute { color: var(--mute); margin-top: 8px; }
.ap-mute b { color: var(--bone); font-weight: 600; }

/* ===== hero: copy + the real panel in a program monitor ===== */
.ap-hero { position: relative; overflow: hidden; padding: 150px 0 90px; border-bottom: 1px solid var(--line); }
.ap-hero::before { content: ""; position: absolute; inset: -10% -10% auto; height: 820px; background: radial-gradient(42% 46% at 72% 36%, rgba(233, 180, 76, .13), transparent 70%); pointer-events: none; }
html[dir="ltr"] .ap-hero::before { background: radial-gradient(42% 46% at 28% 36%, rgba(233, 180, 76, .13), transparent 70%); }
.ap-hero .grain { opacity: .08; }
.ap-hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: center; }
.ap-copy h1 { font-size: clamp(48px, 6.4vw, 104px); margin-bottom: 26px; }
.ap-copy .lead { max-width: 30em; }
.ap-dl { margin-top: 36px; }
.ap-dl .btn { gap: 12px; }
.ap-dl svg { width: 20px; height: 20px; flex: none; }
.ap-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--mute); direction: ltr; justify-content: flex-end; }
html[dir="ltr"] .ap-facts { justify-content: flex-start; }
.ap-facts li { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.ap-facts li::before { content: ""; width: 5px; height: 5px; background: var(--gold); }

.ap-viewer { display: grid; grid-template-columns: 360px 250px; gap: 22px; align-items: stretch; }
.ap-monitor { position: relative; background: #000; border: 1px solid var(--line2); padding: 34px 26px; box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .6); }
.ap-monitor .screen { position: relative; aspect-ratio: 800 / 1520; overflow: hidden; background: #0b0b0a; }
.ap-monitor .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transform: scale(1.02); transition: opacity .55s var(--ease), transform 1.2s var(--ease); }
.ap-monitor .screen img.on { opacity: 1; transform: none; }
.ap-monitor .hud { inset: 8px; opacity: 1; animation: none; }
.ap-monitor .hud .c { width: 18px; height: 18px; }
.ap-monitor .hud-t { top: 2px; } .ap-monitor .hud-b { bottom: 2px; }
.ap-monitor .hud .l { left: 28px; } .ap-monitor .hud .r { right: 28px; }
.ap-monitor .hud-t, .ap-monitor .hud-b { font-size: 10px; letter-spacing: .12em; }

.picker { display: flex; flex-direction: column; border-top: 1px solid var(--line); align-self: center; }
.pick { position: relative; text-align: start; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--mute); padding: 11px 14px 12px; cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: 2px; transition: color .25s, background .25s; }
.pick b { font-family: var(--display); font-weight: 700; font-size: 16px; color: rgba(242, 237, 228, .8); line-height: 1.3; }
.pick span { font-size: 13px; line-height: 1.5; }
.pick:hover { background: rgba(242, 237, 228, .03); }
.pick[aria-selected="true"] { color: var(--bone); background: rgba(233, 180, 76, .06); }
.pick[aria-selected="true"] b { color: var(--gold); }
.pick .bar { position: absolute; inset: auto 0 -1px; height: 2px; overflow: hidden; }
.pick[aria-selected="true"]::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 2px; background: var(--gold); }
.pick .bar u { display: block; height: 100%; width: 0; background: var(--gold); text-decoration: none; }
.pick[aria-selected="true"] .bar u { animation: apFill 4.5s linear forwards; }
.ap-viewer.paused .pick[aria-selected="true"] .bar u { animation-play-state: paused; }
@keyframes apFill { to { width: 100%; } }

/* ===== numbers ===== */
.ap-nums { padding: 90px 0 70px; border-bottom: 1px solid var(--line); position: relative; z-index: 2; background: var(--ink); }
.ap-nums .stat b { font-size: clamp(64px, 8vw, 140px); }

/* ===== sections ===== */
.ap-sec { padding: 140px 0; position: relative; z-index: 2; background: var(--ink); }
.ap-sec + .ap-sec { border-top: 1px solid var(--line); }
.ap-sec h2.display, .faq-sec h2.display, .ap-final h2.display { font-size: clamp(42px, 5.6vw, 96px); }
.ap-h2s { font-size: clamp(38px, 4.4vw, 72px) !important; }

/* what's new: numbered like shots in a list */
.ap-news { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: nw; border-top: 1px solid var(--line); }
.ap-news li { counter-increment: nw; padding: 28px 26px 30px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; position: relative; }
.ap-news li:nth-child(3n+2), .ap-news li:nth-child(3n+3) { border-inline-start: 1px solid var(--line); }
.ap-news li:nth-child(3n+1) { padding-inline-start: 0; }
.ap-news li::before { content: counter(nw, decimal-leading-zero); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--gold); }
.ap-news b { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.35; }
.ap-news span { color: var(--mute); font-size: 16px; }

/* why: comparison */
.ap-why { border-top: 1px solid var(--line2); }
.ap-why-r { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ap-why-r span { color: rgba(242, 237, 228, .9); font-weight: 500; }
.ap-why-r b { color: var(--bone); font-weight: 600; display: flex; gap: 10px; align-items: baseline; }
.ap-why-r:not(.ap-why-h) b::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--gold); clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%); transform: translateY(1px); }
.ap-why-r em { font-style: normal; color: var(--dim); }
.ap-why-h { padding: 0 0 16px; }
.ap-why-h b { font-family: var(--latin); font-weight: 400; font-size: 30px; color: var(--gold); letter-spacing: .02em; }
.ap-why-h em { font-family: var(--display); font-weight: 700; color: var(--mute); font-size: 18px; }

/* glass */
.ap-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.ap-bul { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.ap-bul li { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.ap-bul b { font-family: var(--display); font-weight: 700; font-size: 19px; }
.ap-bul span { color: var(--mute); font-size: 16px; }
.ap-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ap-shot { margin: 0; position: relative; background: #000; border: 1px solid var(--line2); padding: 10px; overflow: hidden; }
.ap-shot::after { content: ""; position: absolute; inset: 10px; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); }
.ap-shot img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.ap-shot:hover img { transform: scale(1.02); }

/* gallery */
.ap-gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.ap-gal figure { margin: 0; }
.ap-gal figcaption { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.ap-gal figcaption b { font-family: var(--display); font-weight: 700; font-size: 20px; }
.ap-gal figcaption span { color: var(--mute); font-size: 15px; }

/* time calculator */
.ap-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.ap-card { border: 1px solid var(--line2); background: var(--ink2); padding: 34px; }
.ap-card > b { font-family: var(--display); font-weight: 700; font-size: 20px; display: block; }
.ap-seg { display: flex; margin: 18px 0 26px; border: 1px solid var(--line2); direction: ltr; width: max-content; }
.ap-seg button { width: 54px; height: 46px; background: transparent; border: 0; border-inline-start: 1px solid var(--line2); color: var(--mute); font: 600 15px var(--mono); cursor: pointer; transition: background .2s, color .2s; }
.ap-seg button:first-child { border-inline-start: 0; }
.ap-seg button:hover { color: var(--bone); }
.ap-seg button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); }
.ap-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--mute); }
.ap-rows b { color: var(--bone); font-size: 15px; letter-spacing: .04em; }
.ap-big { display: flex; align-items: baseline; gap: 12px; }
.ap-big span { font-family: var(--latin); font-size: clamp(96px, 10vw, 168px); line-height: .85; color: var(--gold); text-shadow: 0 0 40px rgba(233, 180, 76, .25); font-variant-numeric: tabular-nums; }
.ap-big small { font-family: var(--display); font-weight: 700; font-size: 26px; }
.ap-cmp { margin-top: 28px; display: grid; gap: 14px; }
.ap-cmp div { display: grid; grid-template-columns: 90px 1fr 56px; gap: 14px; align-items: center; color: var(--mute); font-size: 15px; }
.ap-cmp i { height: 8px; background: rgba(242, 237, 228, .06); display: block; overflow: hidden; }
.ap-cmp u { display: block; height: 100%; background: var(--dim); text-decoration: none; transition: width .6s var(--ease); }
.ap-cmp div:last-child u { background: var(--gold); }
.ap-cmp em { font-style: normal; color: var(--bone); text-align: end; font-size: 13px; }
.ap-note { margin-top: 22px; color: var(--dim); font-size: 14px; }

/* tools: the rail groups */
.ap-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line2); }
.ap-grp { padding: 34px 28px 30px; border-bottom: 1px solid var(--line); }
.ap-grp:nth-child(3n+2), .ap-grp:nth-child(3n+3) { border-inline-start: 1px solid var(--line); }
.ap-grp:nth-child(3n+1) { padding-inline-start: 0; }
.ap-grp h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 18px; font-family: var(--display); font-weight: 800; font-size: 30px; }
.ap-grp h3 small { color: var(--gold); font-size: 11px; letter-spacing: .16em; }
.ap-grp ul { list-style: none; padding: 0; margin: 0; }
.ap-grp li { padding: 12px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.ap-grp li b { font-weight: 600; color: var(--bone); }
.ap-grp li span { color: var(--mute); font-size: 15px; line-height: 1.6; }

/* install */
.ap-steps { grid-template-columns: repeat(4, 1fr); }
.ap-steps p { line-height: 1.8; }
.ap-os { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 80px; }
.ap-os h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-family: var(--latin); font-weight: 400; font-size: 34px; letter-spacing: .02em; }
.ap-os h3 svg { width: 22px; height: 22px; color: var(--gold); }
.ap-os ul { list-style: none; padding: 0; margin: 0; }
.ap-os li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--mute); font-size: 16px; }
.ap-os li b { color: var(--bone); font-weight: 600; }

/* final download */
.ap-final { position: relative; overflow: hidden; padding: 170px 0 180px; text-align: center; border-top: 1px solid var(--line); background: #000; }
.ap-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 55%, rgba(233, 180, 76, .14), transparent 70%); pointer-events: none; }
.ap-final .grain { opacity: .1; }
.ap-final-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.ap-final .kicker { justify-content: center; }
.ap-final .lead { margin: 22px 0 40px; color: var(--mute); }

/* ===== responsive ===== */
@media (max-width: 1100px) {
  .ap-hero-in, .ap-split { grid-template-columns: 1fr; gap: 56px; }
  .ap-viewer { justify-content: center; }
  .ap-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-news, .ap-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-news li:nth-child(n), .ap-grp:nth-child(n) { border-inline-start: 0; padding-inline-start: 0; padding-inline-end: 26px; }
  .ap-news li:nth-child(2n), .ap-grp:nth-child(2n) { border-inline-start: 1px solid var(--line); padding-inline-start: 26px; }
  .ap-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 760px) {
  .ap-hero { padding: 116px 0 60px; }
  .ap-sec { padding: 96px 0; }
  .ap-final { padding: 110px 0 120px; }
  .ap-viewer { grid-template-columns: 1fr; }
  .ap-monitor { max-width: 340px; margin-inline: auto; width: 100%; }
  .picker { display: flex; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .picker::-webkit-scrollbar { display: none; }
  .pick { flex: 0 0 62%; scroll-snap-align: center; border-inline-start: 1px solid var(--line); }
  .ap-monitor { padding: 32px 12px 26px; }
  .ap-monitor .hud-b.l { display: none; }
  .ap-news, .ap-groups, .ap-calc, .ap-os, .ap-steps { grid-template-columns: 1fr; }
  .ap-gal { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .ap-news li:nth-child(n), .ap-grp:nth-child(n) { border-inline-start: 0; padding-inline: 0; }
  .ap-why-r { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  .ap-why-r span { grid-column: 1 / -1; }
  .ap-why-h span { display: none; }
  .ap-card { padding: 24px; }
  .ap-steps li { border: 0 !important; padding: 0 !important; }
  .ap-dl .btn { flex: 1 1 100%; }
}

/* figures: keep their own case and direction */
.ap-rows b.mono, .ap-cmp em.mono { text-transform: none; direction: ltr; unicode-bidi: isolate; letter-spacing: .04em; }

/* install steps read in the page's direction (01 first) */
.ap-steps { direction: inherit; }
.ap-steps li { border: 0 !important; border-inline-start: 1px solid var(--line) !important; padding: 0 22px !important; }
.ap-steps li:first-child { border-inline-start: 0 !important; padding-inline-start: 0 !important; }
@media (max-width: 760px) { .ap-steps li { border: 0 !important; padding: 0 !important; } }

/* pricing */
.pr-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pr-head .kicker { justify-content: center; }
.pr-head .lead { max-width: 42em; }
.pr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 980px; margin: 0 auto; }
.pr-card { position: relative; border: 1px solid var(--line2); background: var(--ink2); padding: 40px 36px 36px; display: flex; flex-direction: column; }
.pr-card.hot { border-color: var(--gold); background: linear-gradient(180deg, rgba(233, 180, 76, .1), rgba(233, 180, 76, .02) 60%), var(--ink2); box-shadow: 0 0 80px -30px rgba(233, 180, 76, .45); }
.pr-badge { position: absolute; top: -13px; inset-inline-start: 28px; font-size: 13px; font-weight: 600; background: var(--gold); color: var(--gold-ink); padding: 4px 12px; }
.pr-badge.alt { background: var(--bone); color: var(--ink); }
.pr-card h3 { font-family: var(--display); font-weight: 800; font-size: 26px; margin: 0 0 14px; }
.pr-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; direction: rtl; }
html[dir="ltr"] .pr-price { direction: ltr; }
.pr-price b { font-family: var(--latin); font-weight: 400; font-size: clamp(84px, 9vw, 128px); line-height: .85; color: var(--gold); }
.pr-card:not(.hot) .pr-price b { color: var(--bone); }
.pr-price s { font-family: var(--latin); font-size: 44px; color: var(--dim); text-decoration-thickness: 2px; text-decoration-color: var(--rec); }
.pr-price span { font-size: 16px; color: var(--mute); }
.pr-then { color: var(--mute); margin: 10px 0 22px; font-size: 15px; }
.pr-card ul { list-style: none; padding: 0; margin: 0 0 30px; border-top: 1px solid var(--line); flex: 1; }
.pr-card li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
.pr-card li::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--gold); clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%); }
.pr-card .btn { align-self: stretch; }
.pr-facts { list-style: none; padding: 0; margin: 48px auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line2); }
.pr-facts li { padding: 22px 20px 0; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.pr-facts li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.pr-facts b { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--gold); }
.pr-facts span { color: var(--mute); font-size: 15px; }
@media (max-width: 760px) {
  .pr-grid, .pr-facts { grid-template-columns: 1fr; }
  .pr-facts li { border-inline-start: 0; padding-inline-start: 0; }
  .pr-card { padding: 34px 22px 26px; }
}
/* launch offer: live places left (premiere/app.js ← stats ?a=promo) */
.pr-left { display: flex; align-items: center; gap: 8px; margin: -6px 0 18px; font-size: 14px; color: var(--gold); }
.pr-left i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: prPulse 1.6s ease-in-out infinite; }
@keyframes prPulse { 50% { opacity: .35; } }

/* free: one card, centred */
.pr-grid.pr-free { grid-template-columns: minmax(0, 460px) !important; justify-content: center; }
.btn svg { width: 18px; height: 18px; vertical-align: -3px; margin-inline-end: 8px; }

/* other editors (DaVinci / Final Cut) under the download buttons */
.pr-hosts { margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); }
.pr-hosts-t { margin: 0 0 14px; color: var(--muted, #9a9a9a); font-size: 15px; }
.pr-hosts-n { margin: 14px auto 0; max-width: 560px; color: var(--muted, #8a8a8a); font-size: 13px; line-height: 1.8; }
.pr-hosts a.is-soon { opacity: .45; pointer-events: none; }

/* "works with" logos (hero) and the three host cards (download) */
.works-with { display: flex; align-items: center; gap: 10px; color: var(--muted, #9a9a9a); font-size: 14px; }
.works-with .host-logo { width: 34px; height: 34px; }
.host-logo { width: 52px; height: 52px; flex: none; }
.host-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; text-align: start; }
.host-card { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 18px; justify-content: space-between; }
.host-card:hover { border-color: rgba(233,180,76,.45); }
.host-top { display: flex; align-items: center; gap: 14px; }
.host-top h3 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.host-top p { margin: 4px 0 0; color: var(--muted, #9a9a9a); font-size: 13px; }
.host-beta { font: 600 11px Inter, sans-serif; color: #1a1306; background: #e9b44c; border-radius: 99px; padding: 2px 9px; }
.host-btns { display: flex; gap: 10px; }
.host-btns .btn { flex: 1; justify-content: center; text-align: center; }
.host-btns a.is-soon { opacity: .45; pointer-events: none; }
.host-note { margin: 18px auto 0; color: var(--muted, #8a8a8a); font-size: 13px; }
@media (max-width: 860px) { .host-grid { grid-template-columns: 1fr; } }
.host-logo { object-fit: contain; border-radius: 12px; }
