/* Ctrl Alt Go — app pages (apps/<brand>/). Loaded after orbit.css; --accent / --accent2 are set per app on <body>. */
:root {
  /* Apple's app icon shape, from the App Store marketing toolbox's icon embed */
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 230.5 230.5'%3E%3Cpath fill-rule='evenodd' d='M158.2 230H64.1a320 320 0 0 1-7-.1c-5 0-10-.5-15-1.3a50.8 50.8 0 0 1-14.4-4.8 48.2 48.2 0 0 1-21-21 50.9 50.9 0 0 1-4.8-14.4 100.7 100.7 0 0 1-1.3-15v-7l-.1-8.2V64.1a320 320 0 0 1 .1-7c0-5 .5-10 1.3-15a50.7 50.7 0 0 1 4.8-14.4 48.2 48.2 0 0 1 21-21 51 51 0 0 1 14.4-4.8c5-.8 10-1.2 15-1.3a320 320 0 0 1 7 0l8.2-.1h94.1a320 320 0 0 1 7 .1c5 0 10 .5 15 1.3a52 52 0 0 1 14.4 4.8 48.2 48.2 0 0 1 21 21 50.9 50.9 0 0 1 4.8 14.4c.8 5 1.2 10 1.3 15a320 320 0 0 1 .1 7v102.3l-.1 7c0 5-.5 10-1.3 15a50.7 50.7 0 0 1-4.8 14.4 48.2 48.2 0 0 1-21 21 50.8 50.8 0 0 1-14.4 4.8c-5 .8-10 1.2-15 1.3a320 320 0 0 1-7 0l-8.2.1z'/%3E%3C/svg%3E");
  --wrap: 1320px;
}
.ap-icon, .ap-card--get > img, .ap-grid img { -webkit-mask: var(--icon-mask) center / 100% 100% no-repeat; mask: var(--icon-mask) center / 100% 100% no-repeat; }
.ap .eyebrow .dot { background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 0 14px var(--accent); }

/* ---------- hero ---------- */
.ap-hero { position: relative; isolation: isolate; overflow: clip; padding: calc(var(--nav-h) + 6vh) var(--gutter) 8vh; min-height: min(100svh, 980px); display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  background: radial-gradient(120% 90% at 72% 40%, color-mix(in srgb, var(--accent) 16%, #0d0f22) 0%, #090a16 48%, var(--bg) 78%); }
.ap-glow { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.ap-glow--a { width: 70vmax; height: 70vmax; right: -20vmax; top: -24vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 40%, transparent), transparent); }
.ap-glow--b { width: 56vmax; height: 56vmax; left: -26vmax; bottom: -30vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent2) 22%, transparent), transparent); }
.ap-ghost { position: absolute; z-index: -1; left: 50%; bottom: -.18em; translate: -50% 0; font: 800 clamp(6rem, 22vw, 22rem)/1 var(--display); letter-spacing: -.06em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .06); pointer-events: none; }
.ap-hero-grid { width: 100%; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4vw; align-items: center; }
.ap-copy { display: grid; gap: 24px; justify-items: start; min-width: 0; }
.ap-crumbs { display: flex; gap: 10px; font: 500 .78rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #9aa2b8; }
.ap-crumbs a { color: #dfe3ef; text-decoration: none; }
.ap-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ap-id { display: flex; align-items: center; gap: 22px; }
.ap-icon { width: clamp(88px, 9vw, 128px); height: auto; aspect-ratio: 1; flex: none;
  filter: drop-shadow(0 18px 40px color-mix(in srgb, var(--accent) 45%, transparent)) drop-shadow(0 0 1px rgba(255, 255, 255, .3)); }
.ap-id .eyebrow { margin-bottom: 8px; }
.ap-title { font: 800 clamp(2.8rem, 6.6vw, 6rem)/.92 var(--display); letter-spacing: -.05em; padding-bottom: .06em; overflow-wrap: anywhere;
  background: linear-gradient(100deg, #fff 10%, color-mix(in srgb, var(--accent) 75%, #fff) 55%, var(--accent2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ap-name { color: var(--muted); font-size: 1.02rem; margin-top: 4px; }
.ap-head { font: 700 clamp(1.5rem, 2.5vw, 2.25rem)/1.15 var(--display); letter-spacing: -.025em; color: #fff; max-width: 22em; }
.ap-lead { color: #c2c8d7; font-size: clamp(1.05rem, 1.3vw, 1.18rem); line-height: 1.6; max-width: 36em; }
.ap-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.badge { display: inline-block; line-height: 0; border-radius: 10px; transition: transform .25s ease, filter .25s ease; }
.badge img { height: 54px; width: auto; }
.badge:hover { transform: translateY(-2px); filter: drop-shadow(0 10px 26px color-mix(in srgb, var(--accent) 50%, transparent)); }
.badge--sm img { height: 44px; }
.ap-price { display: grid; gap: 4px; font: 700 1.05rem/1.2 var(--display); color: #fff; }
.ap-price span { font: 500 .74rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #9aa2b8; }
.ap .plats--labels .ico { color: color-mix(in srgb, var(--accent) 70%, #fff); }

/* fanned screenshots */
.ap-fan { position: relative; height: min(74vh, 680px); min-width: 0; }
.ap-fan li { position: absolute; left: 50%; top: 50%; height: 92%; border-radius: clamp(18px, 2.2vw, 30px); overflow: hidden; background: #111;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 90px rgba(0, 0, 0, .65), 0 0 80px color-mix(in srgb, var(--accent) 20%, transparent);
  transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.ap-fan img { height: 100%; width: auto; }
.ap-fan .fan-0 { z-index: 3; transform: translate(-50%, -50%); }
.ap-fan .fan-1 { z-index: 2; transform: translate(-112%, -47%) rotate(-7deg) scale(.84); filter: brightness(.72); }
.ap-fan .fan-2 { z-index: 1; transform: translate(12%, -47%) rotate(7deg) scale(.84); filter: brightness(.72); }
.ap-hero-grid:hover .fan-1 { transform: translate(-122%, -48%) rotate(-10deg) scale(.86); }
.ap-hero-grid:hover .fan-2 { transform: translate(22%, -48%) rotate(10deg) scale(.86); }
.ap-fan--wide { height: min(60vh, 560px); }
.ap-fan--wide li { height: auto; width: 88%; }
.ap-fan--wide img { width: 100%; height: auto; }
.ap-fan--wide .fan-1 { transform: translate(-58%, -78%) rotate(-4deg) scale(.8); }
.ap-fan--wide .fan-2 { transform: translate(-42%, -22%) rotate(4deg) scale(.8); }
.ap-hero-grid:hover .ap-fan--wide .fan-1 { transform: translate(-62%, -84%) rotate(-5deg) scale(.8); }
.ap-hero-grid:hover .ap-fan--wide .fan-2 { transform: translate(-38%, -16%) rotate(5deg) scale(.8); }

/* ---------- section heads ---------- */
.ap-head2 { max-width: var(--wrap); margin: 0 auto; padding: 14vh var(--gutter) 5vh; display: grid; gap: 18px; justify-items: start; }
.ap-h2 { font: 800 clamp(2.2rem, 4.8vw, 4.2rem)/1 var(--display); letter-spacing: -.045em; padding-bottom: .06em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- screenshot reel ---------- */
.ap-reel { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 10px var(--gutter) 30px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); }
.ap-reel ul { display: flex; gap: 20px; width: max-content; align-items: center; }
.ap-reel:focus-visible { outline-offset: -4px; }
.shot2 { flex: none; scroll-snap-align: start; border-radius: 22px; overflow: hidden; background: #111;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 70px rgba(0, 0, 0, .55); transition: transform .35s ease; }
.shot2:hover { transform: translateY(-6px); }
.shot2 img { height: 100%; width: auto; }
.shot2--phone, .shot2--ipad { height: min(68vh, 620px); }
.shot2--mac { width: min(86vw, 760px); }
.shot2--mac img { width: 100%; height: auto; }

/* ---------- about ---------- */
.ap-about { max-width: var(--wrap); margin: 0 auto; padding: 14vh var(--gutter) 4vh; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 5vw; align-items: start; }
.ap-desc { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.ap-desc .ap-h2 { margin-bottom: 8px; }
.ap-text { display: grid; gap: 14px; color: #c4cad9; font-size: 1.08rem; line-height: 1.7; max-width: 68ch; }
.ap-text p { overflow-wrap: anywhere; }
.ap-text p:first-child { color: #fff; font: 600 clamp(1.2rem, 1.6vw, 1.4rem)/1.45 var(--display); letter-spacing: -.01em; }
.ap-sub { margin-top: 20px; font: 600 .8rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 65%, #fff); }
.ap-list { display: grid; gap: 10px; }
.ap-list li { position: relative; padding-left: 26px; }
.ap-list li::before { content: ""; position: absolute; left: 4px; top: .68em; width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 60%, transparent); }
.ap-list b { color: #fff; font-weight: 600; }
.ap-note { font: 500 .74rem/1.2 var(--mono); color: #8f97ad; }

.ap-side { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 14px; }
.ap-card { padding: 22px; border-radius: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)); border: 1px solid rgba(255, 255, 255, .11);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }
.ap-card-h { font: 600 .76rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #a6adc2; margin-bottom: 16px; }
.ap-card--get { display: grid; grid-template-columns: 64px 1fr; gap: 14px 16px; align-items: center;
  border-color: color-mix(in srgb, var(--accent) 45%, rgba(255, 255, 255, .12)); box-shadow: 0 0 60px color-mix(in srgb, var(--accent) 14%, transparent); }
.ap-card--get > img { width: 64px; height: 64px; }
.ap-card--get p { display: grid; gap: 2px; }
.ap-card--get b { font: 700 1.2rem/1.2 var(--display); letter-spacing: -.02em; }
.ap-card--get p span { color: var(--muted); font-size: .9rem; }
.ap-card--get .badge { grid-column: 1 / -1; justify-self: start; }
.ap-facts { margin: 0; display: grid; }
.ap-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .94rem; }
.ap-facts div:first-child { border-top: 0; padding-top: 0; }
.ap-facts dt { color: var(--muted); }
.ap-facts dd { margin: 0; color: #fff; font-weight: 500; text-align: right; }
.ap-links { display: grid; gap: 10px; }
.ap-links a { display: inline-flex; align-items: center; gap: 6px; color: #dfe3ef; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.ap-links a:hover { color: #fff; }

/* ---------- more apps ---------- */
.ap-more { padding-bottom: 14vh; }
.ap-grid { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.ap-grid a { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 22px 12px 18px; border-radius: 22px; text-decoration: none; height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); border: 1px solid rgba(255, 255, 255, .09);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s ease, box-shadow .3s ease; }
.ap-grid a:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 20px 50px rgba(0, 0, 0, .4), 0 0 40px color-mix(in srgb, var(--accent) 18%, transparent); }
.ap-grid img { width: 76px; height: 76px; margin-bottom: 8px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .5)); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.ap-grid a:hover img { transform: scale(1.07) rotate(-2deg); }
.ap-grid b { font: 700 1rem/1.2 var(--display); letter-spacing: -.01em; }
.ap-grid span { font: 500 .7rem/1.3 var(--mono); color: #9aa2b8; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .ap-copy > * { animation: ap-rise .9s cubic-bezier(.2, .8, .2, 1) both; }
  .ap-copy > :nth-child(2) { animation-delay: .06s; } .ap-copy > :nth-child(3) { animation-delay: .14s; }
  .ap-copy > :nth-child(4) { animation-delay: .22s; } .ap-copy > :nth-child(5) { animation-delay: .3s; }
  .ap-copy > :nth-child(6) { animation-delay: .38s; }
  .ap-fan li { animation: ap-fan 1.2s cubic-bezier(.2, .8, .2, 1) both; }
  .ap-fan .fan-1, .ap-fan .fan-2 { animation-delay: .25s; }
  .ap-ghost { animation: ap-fade 2s ease both .3s; }
}
@keyframes ap-rise { from { opacity: 0; translate: 0 28px; } }
@keyframes ap-fan { from { opacity: 0; translate: 0 70px; } }
@keyframes ap-fade { from { opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .ap-hero { min-height: 0; }
  .ap-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 7vh; }
  .ap-fan { height: min(64vh, 560px); }
  .ap-fan--wide { height: min(52vw, 420px); }
  .ap-about { grid-template-columns: minmax(0, 1fr); }
  .ap-side { position: static; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; }
}
@media (max-width: 760px) {
  .ap-id { gap: 16px; align-items: flex-start; }
  .ap-icon { width: 84px; }
  .ap-title { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .ap-fan { height: min(58vh, 460px); }
  .ap-fan .fan-1 { transform: translate(-100%, -47%) rotate(-7deg) scale(.8); }
  .ap-fan .fan-2 { transform: translate(0%, -47%) rotate(7deg) scale(.8); }
  .shot2--phone, .shot2--ipad { height: min(62vh, 480px); }
  .ap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-head2 { padding-top: 10vh; }
  .ap-about { padding-top: 10vh; }
}
/* phones: orbit.css hides the 2nd nav link (Frameworks on the home page); here keep Apps and hide IT services */
@media (max-width: 760px) {
  .ap .nav-links li:nth-child(2) { display: list-item; }
  .ap .nav-links li:nth-child(1) { display: none; }
}
.ap [id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

/* search copy: uses list + FAQ */
.ap-sub--first { margin-top: 4px; }
.ap-uses { font-size: 1.08rem; line-height: 1.6; color: #dfe3ef; max-width: 68ch; margin-bottom: 6px; }
.ap-faq-h { margin-top: 40px; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.ap-faq { margin: 0; display: grid; gap: 12px; max-width: 68ch; width: 100%; }
.ap-faq div { padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); }
.ap-faq dt { font: 700 1.08rem/1.3 var(--display); color: #fff; margin-bottom: 6px; }
.ap-faq dd { margin: 0; color: #c4cad9; line-height: 1.6; }
