/* /apps download page (mockup 2026-11-14). Uses the v3 variables from site.css; light and dark follow html[data-theme]. */
body.v3-apps main{padding-inline:var(--v3-g)}
.ap-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:40px;padding:clamp(18px,3vw,44px) 0 40px;min-height:560px}
.ap-hero-text{position:relative;z-index:2}
.ap-h1{font-size:clamp(46px,6.4vw,104px);line-height:.92;margin:20px 0 22px}
.ap-h1 em{font-style:normal;position:relative;display:inline-block;color:#04130a;padding:0 .12em 0 .08em;z-index:0}
.ap-h1 em::before{content:"";position:absolute;inset:.1em 0 -.01em 0;background:var(--v3g2);transform:skewX(-9deg);z-index:-1}
.ap-stage{position:relative;height:520px}
.ap-slab{position:absolute;inset:40px 0 30px 30px;background:var(--v3g2);border-radius:44px;transform:rotate(-4deg);opacity:.92}
.ap-dev{position:absolute;background:#0a1020;border:7px solid #0a1020;box-shadow:0 24px 50px rgba(5,12,30,.38)}
.ap-scr{width:100%;height:100%;background:linear-gradient(160deg,#0d2d6b,#061540);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;overflow:hidden}
.ap-scr img{max-width:58%;height:auto}
.ap-scr b{display:block;width:34%;height:5px;border-radius:5px;background:#22c55e}
.ap-mac{width:350px;height:224px;left:92px;top:78px;border-radius:16px;z-index:1}
.ap-macbase{position:absolute;left:70px;top:302px;width:402px;height:14px;background:#0a1020;border-radius:0 0 18px 18px;z-index:1}
.ap-ios{width:158px;height:326px;left:-26px;top:150px;border-radius:34px;z-index:2}.ap-ios .ap-scr{border-radius:26px}
.ap-and{width:146px;height:304px;right:-26px;top:180px;border-radius:26px;z-index:2}.ap-and .ap-scr{border-radius:18px}
.ap-get{padding:20px 0}
.ap-group{margin-top:36px}
.ap-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:16px}
.ap-card{background:var(--v3card);border:1px solid var(--line);border-radius:28px;padding:28px;display:grid;grid-template-columns:76px minmax(0,1fr);gap:22px;align-items:start}
.ap-tile{width:76px;height:76px;border-radius:19px;background:linear-gradient(160deg,#0d2d6b,#061540);display:grid;place-items:center}
.ap-tile img{width:52px;height:auto}
.ap-card h3{font-size:26px;line-height:1.1;margin:0}
.ap-pl{display:inline-block;margin:8px 0 10px;font:700 12.5px/1 "Instrument Sans",Inter,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--v3gi);border:1px solid var(--line);padding:5px 11px;border-radius:999px}
.ap-card p{margin:0 0 6px;color:var(--muted)}
.ap-meta{font-size:14px}
.ap-sha code{display:block;font-size:11.5px;word-break:break-all;color:var(--muted)}
.ap-sha span{font-size:12px;font-weight:700}
.ap-btn{margin-top:16px}
.ap-btn.is-off{opacity:.55;cursor:default}
.ap-note{font-size:13px;margin-top:10px!important}
.ap-help{margin:70px 0 60px}
.ap-help-in{background:var(--v3card);border:1px solid var(--line);border-radius:32px;padding:40px 44px;display:flex;justify-content:space-between;align-items:center;gap:30px}
@media(max-width:860px){
 .ap-hero{grid-template-columns:1fr;min-height:0}
 .ap-stage{zoom:.6;margin:10px 0 20px}
 .ap-grid{grid-template-columns:1fr}
 .ap-card{padding:22px;grid-template-columns:56px minmax(0,1fr);gap:16px}.ap-tile{width:56px;height:56px;border-radius:14px}.ap-tile img{width:38px}
 .ap-help-in{flex-direction:column;align-items:flex-start;padding:28px 24px}
}
[dir=rtl] .ap-h1 em{margin-inline-start:0}
