/* ==========================================================================
   Marketing surfaces — Home + Services
   ========================================================================== */

/* ---- Hero -------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: clamp(40px, 7vw, 80px);
  padding-bottom: clamp(48px, 8vw, 96px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.hero h1 .grad { color: var(--accent-bright); }
.hero .lead { margin-top: var(--s-xl); }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-m);
  margin-top: var(--s-2xl);
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: var(--s-2xl);
  color: var(--ink-3);
  font-size: 13.5px;
  flex-wrap: wrap;
}
.hero-proof .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); }
.hero-proof b { color: var(--ink-2); font-weight: 600; }

/* ---- Phone mock (CSS-built product preview) ---------------------------- */

.device-stage {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.device-glow {
  position: absolute;
  inset: 8% 12%;
  background: radial-gradient(circle at 50% 40%, rgba(59, 103, 244, 0.5), transparent 66%);
  filter: blur(58px);
  z-index: -1;
}
.phone {
  width: min(300px, 78vw);
  aspect-ratio: 300 / 620;
  border-radius: 15% / 7.3%;
  padding: 3%;
  background: linear-gradient(145deg, #444954 0%, #191b22 20%, #272a33 50%, #14161c 80%, #3c414b 100%);
  box-shadow: 0 46px 94px -34px rgba(0, 0, 0, 0.78), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  position: relative;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 12.2% / 5.9%;
  background:
    radial-gradient(120% 80% at 50% -5%, #1d2742 0%, #141627 42%, #0f1825 100%);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 16px 16px;
  gap: 13px;
  box-shadow: inset 0 0 0 1.5px #05070c, inset 0 0 0 3px #23262f;
}
.phone-screen::before {                /* faint glass sheen, top-left */
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit;
  background: linear-gradient(122deg, rgba(255, 255, 255, 0.08), transparent 26%);
}
.phone-notch {                         /* Dynamic Island pill */
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 24px; border-radius: 999px;
  background: #05070c; z-index: 6;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.scr-head { display: flex; align-items: center; justify-content: space-between; }
.scr-greet { font-size: 11px; color: var(--ink-3); }
.scr-title { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.scr-av {
  width: 30px; height: 30px; border-radius: 50%;
  background: conic-gradient(from 200deg, var(--cat-shoulders), var(--accent), var(--cat-hamstrings));
}
.scr-routine {
  border-radius: 18px;
  padding: 13px 14px;
  background:
    linear-gradient(135deg, rgba(59, 103, 244, 0.92), rgba(89, 60, 230, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}
.scr-routine::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.22), transparent 46%);
}
.scr-next {
  font-size: 9px; font-weight: 700; letter-spacing: 0.08em;
  color: #fff; background: rgba(255, 255, 255, 0.22);
  padding: 3px 8px; border-radius: 999px; display: inline-block;
}
.scr-routine h4 { margin: 9px 0 2px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.scr-routine span { font-size: 11px; color: rgba(255, 255, 255, 0.8); }
.scr-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.scr-tile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 15px; padding: 11px 12px;
}
.scr-tile .k { font-size: 9.5px; color: var(--ink-3); font-weight: 600; }
.scr-tile .v { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; font-feature-settings: var(--num-feat); }
.scr-tile .v small { font-size: 11px; color: var(--ink-3); font-weight: 600; }
.scr-tile .v .up { color: var(--cat-quads); }
.scr-chart {
  flex: 1;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 12px 13px 8px;
  display: flex; flex-direction: column;
  min-height: 0;
}
.scr-chart .k { font-size: 9.5px; color: var(--ink-3); font-weight: 600; }
.scr-chart .v { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.scr-chart svg { margin-top: auto; width: 100%; height: 56px; display: block; }
.scr-chips { display: flex; gap: 6px; }
.scr-chip {
  font-size: 9.5px; font-weight: 600; padding: 5px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); color: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.scr-chip.sel { background: var(--accent); color: #fff; border-color: transparent; }

/* Floating stat chips around the phone */
.float-chip {
  position: absolute;
  display: flex; align-items: center; gap: 9px;
  padding: 11px 14px;
  background: rgba(20, 24, 38, 0.66);
  border: 1px solid var(--glass-line-2);
  border-radius: 15px;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  font-size: 13px;
  z-index: 4;
}
.float-chip .fi {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
}
.float-chip .ft { font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
.float-chip .fs { font-size: 11px; color: var(--ink-3); }
.float-a { top: 16%; left: -6%; }
.float-b { bottom: 13%; right: -7%; }
@media (max-width: 520px) {
  .float-a { left: -2%; }
  .float-b { right: -2%; }
}

@media (prefers-reduced-motion: no-preference) {
  .device-stage { animation: floaty 7s var(--ease-out-soft) infinite; }
  .float-a { animation: floaty 6s var(--ease-out-soft) infinite reverse; }
  .float-b { animation: floaty 8s var(--ease-out-soft) infinite; }
  @keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
}

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .device-stage { margin-top: var(--s-xl); order: 2; }
  .hero .lead { margin-inline: 0; }
}

/* ---- Feature rows ------------------------------------------------------ */

.sec-head { max-width: 60ch; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head h2 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 14px;
}
.sec-head p { margin-top: var(--s-l); }

.features {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-l);
}
.feature {
  padding: clamp(22px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.feature:hover { transform: translateY(-3px); border-color: var(--glass-line-2); background: var(--glass-2); }
.feature .fic {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; flex: none;
}
.feature h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.feature p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.feature .big { font-size: 16px; }
/* asymmetric layout */
.feature.span-7 { grid-column: span 7; }
.feature.span-5 { grid-column: span 5; }
.feature.span-4 { grid-column: span 4; }
.feature.span-6 { grid-column: span 6; }

.feature-wide { flex-direction: row; align-items: center; gap: clamp(20px, 3vw, 40px); }
.feature-wide .fw-copy { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.feature-mini-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; min-width: 0;
}
.mini {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-line);
  border-radius: 14px;
  padding: 14px;
}
.mini .mk { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.mini .mv { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; font-feature-settings: var(--num-feat); }
.mini .mv .up { color: var(--cat-quads); font-size: 14px; }

@media (max-width: 880px) {
  .features { grid-template-columns: 1fr; }
  .feature.span-7, .feature.span-5, .feature.span-4, .feature.span-6 { grid-column: 1 / -1; }
  .feature-wide { flex-direction: column; align-items: stretch; }
}

/* ---- Services teaser band on Home -------------------------------------- */

.svc-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-l);
}
.svc-pick {
  padding: clamp(22px, 2.4vw, 30px);
  display: flex; flex-direction: column;
  min-height: 240px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.svc-pick:hover { transform: translateY(-3px); border-color: var(--glass-line-2); }
.svc-pick.pop { border-color: rgba(51, 179, 166, 0.4); }
.svc-pick .tag {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.svc-pick .tag .badge-pop { text-transform: none; letter-spacing: 0; }
.svc-pick h3 { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem); font-weight: 700; letter-spacing: -0.025em; margin: 10px 0 0; }
.svc-pick p { color: var(--ink-2); margin-top: 10px; font-size: 14.5px; max-width: 34ch; }
.svc-pick .pp { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.svc-pick .pp b { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; font-feature-settings: var(--num-feat); }
.svc-pick .arrow-link { margin-top: auto; padding-top: 18px; }
.svc-pick .halo {
  position: absolute; width: 220px; height: 220px; border-radius: 50%;
  filter: blur(60px); opacity: 0.5; right: -60px; top: -60px; z-index: -1;
}
@media (max-width: 860px) { .svc-teaser { grid-template-columns: 1fr; } }

/* ---- CTA band ---------------------------------------------------------- */

.cta-band {
  text-align: center;
  padding: clamp(44px, 6vw, 76px) clamp(24px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(80% 140% at 50% 0%, rgba(59, 103, 244, 0.30), transparent 62%);
}
.cta-band h2 {
  font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem);
  font-weight: 700; letter-spacing: -0.03em;
  max-width: 18ch; margin-inline: auto;
}
.cta-band p { margin: var(--s-l) auto 0; color: var(--ink-2); max-width: 48ch; }
.cta-band .hero-cta { justify-content: center; margin-top: var(--s-xl); }

/* ==========================================================================
   Services page
   ========================================================================== */

.svc-hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(20px, 3vw, 36px); }
.svc-hero h1 {
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.2rem);
  font-weight: 700; letter-spacing: -0.035em; max-width: 16ch;
}
.svc-hero .lead { margin-top: var(--s-l); }

.svc-detail {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(36px, 5vw, 64px);
  border-top: 1px solid var(--glass-line);
}
.svc-detail.flip .svc-detail-media { order: -1; }
.svc-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 9px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-line-2);
  font-size: 13px; font-weight: 600;
  width: max-content;
}
.svc-badge .sd { width: 9px; height: 9px; border-radius: 50%; }
.svc-detail h2 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem);
  font-weight: 700; letter-spacing: -0.03em; margin-top: 18px;
}
.svc-detail .lead { margin-top: 16px; font-size: 1.1rem; }
.svc-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 13px; }
.svc-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.svc-list li b { color: var(--ink); font-weight: 600; }
.svc-list .ck {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; margin-top: 1px;
}
.svc-detail .btn { margin-top: 28px; align-self: flex-start; }
.svc-detail-copy { display: flex; flex-direction: column; align-items: flex-start; }

/* Price + "most popular" tag */
.svc-price {
  display: flex; align-items: baseline; gap: 9px;
  margin-top: 22px; padding-top: 22px;
  border-top: 1px solid var(--glass-line);
  width: 100%;
}
.svc-price .amt {
  font-size: 2.1rem; font-weight: 700; letter-spacing: -0.03em;
  font-feature-settings: var(--num-feat);
}
.svc-price .per { font-size: 14px; color: var(--ink-3); }
.badge-pop {
  font-size: 11px; font-weight: 700; letter-spacing: 0.01em;
  color: #c9b6ff; background: rgba(125, 92, 242, 0.18);
  border: 1px solid rgba(125, 92, 242, 0.35);
  padding: 3px 9px; border-radius: 999px; margin-left: 4px;
}

/* Feature panel visual */
.svc-panel {
  padding: clamp(20px, 2.4vw, 28px);
  display: flex; flex-direction: column; gap: 12px;
}
.svc-panel-row {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 15px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-line);
  border-radius: 16px;
}
.svc-panel-row .ri {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
}
.svc-panel-row .rt { font-weight: 600; font-size: 15px; }
.svc-panel-row .rs { font-size: 12.5px; color: var(--ink-3); }
.svc-panel-row .rv {
  margin-left: auto; font-weight: 700; font-feature-settings: var(--num-feat);
  font-size: 17px; letter-spacing: -0.01em;
}
.svc-panel-row .rv small { color: var(--ink-3); font-weight: 600; font-size: 12px; }

@media (max-width: 880px) {
  .svc-detail { grid-template-columns: 1fr; gap: var(--s-xl); }
  .svc-detail.flip .svc-detail-media { order: 0; }
}

/* ---- Comparison table -------------------------------------------------- */

.compare { padding: clamp(20px, 2.6vw, 34px); overflow: hidden; }
.compare h2 {
  font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem);
  font-weight: 700; letter-spacing: -0.025em; margin-bottom: 8px;
}
.compare-sub { color: var(--ink-2); margin-bottom: 24px; }
.ctable { width: 100%; border-collapse: collapse; }
.ctable th, .ctable td { text-align: left; padding: 14px 16px; }
.ctable thead th {
  font-size: 13px; color: var(--ink-3); font-weight: 600;
  border-bottom: 1px solid var(--glass-line);
  vertical-align: bottom;
}
.ctable thead th.plan { text-align: center; color: var(--ink); font-size: 15px; width: 17%; position: relative; }
.ctable thead th.plan small { display: block; font-weight: 600; color: var(--accent-bright); font-size: 12px; margin-top: 3px; font-feature-settings: var(--num-feat); }
.ctable tbody td { border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 15px; }
.ctable tbody td.feat { color: var(--ink-2); }
.ctable tbody td.mark { text-align: center; }
.ctable tbody tr:last-child td { border-bottom: none; }
.ck-yes { color: var(--accent-bright); }
.ck-no { color: var(--ink-3); }

/* Group sub-headers inside the table */
.ctable tbody tr.grp td {
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-3); padding: 20px 16px 8px; border-bottom: none;
}

/* Highlighted "popular" column (Lifty One) — a continuous tinted band */
.ctable .col-pop { background: rgba(51, 179, 166, 0.08); }
.ctable thead th.plan.col-pop { color: var(--ink); }
.ctable thead th.plan.col-pop small { color: #5fd3c6; }
.ctable thead th.plan.col-pop { border-top-left-radius: 12px; border-top-right-radius: 12px; }
.ctable tbody tr:last-child td.col-pop { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }
.th-pop {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap;
  color: #07120f; background: #5fd3c6;
  padding: 2px 9px; border-radius: 999px;
}

@media (max-width: 680px) {
  .compare { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ctable { min-width: 520px; }
  .ctable th, .ctable td { padding: 12px 10px; font-size: 13px; }
  .ctable thead th.plan { font-size: 13.5px; }
}

/* ============ The App page ============================================== */
/* Reuse the site device frame, but fill the screen with a real screenshot. */
/* Realistic iPhone — titanium rail + thin uniform bezel + side buttons. The
   screenshot is a native device capture, so it fills the screen at its own
   aspect ratio and nothing is cropped. */
.ashot { perspective: 1500px; }
.device {
  position: relative;
  width: min(300px, 78vw);
  border-radius: 15% / 7.3%;
  padding: 2.7%;
  background: linear-gradient(145deg, #444954 0%, #191b22 20%, #272a33 50%, #14161c 80%, #3c414b 100%);
  box-shadow: 0 46px 94px -34px rgba(0,0,0,0.78), inset 0 0 0 1px rgba(255,255,255,0.12);
  transition: transform 0.5s var(--ease-out-soft);
  will-change: transform;
}
.device-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 1320 / 2868;   /* exact screenshot ratio → the capture fills it, no crop */
  border-radius: 12.2% / 5.9%;
  background: #05070c;
  overflow: hidden;
  box-shadow: inset 0 0 0 1.5px #05070c, inset 0 0 0 3px #23262f;
}
.device-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.device-screen::after {                /* faint diagonal screen gloss */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: linear-gradient(122deg, rgba(255,255,255,0.10), transparent 30%, transparent 84%, rgba(255,255,255,0.05));
}
.dev-btn { position: absolute; z-index: 1; border-radius: 2px; background: linear-gradient(90deg, #0f1116, #3c414b); }
.dev-silent { left: -1.5px; top: 15%; width: 3px; height: 3.2%; }
.dev-volup  { left: -1.5px; top: 22.5%; width: 3px; height: 6.6%; }
.dev-voldn  { left: -1.5px; top: 31%; width: 3px; height: 6.6%; }
.dev-power  { right: -1.5px; top: 25%; width: 3px; height: 10%; }
.tilt-r .device { transform: rotateY(-17deg) rotateX(4deg) rotateZ(1.5deg); }
.tilt-l .device { transform: rotateY(17deg) rotateX(4deg) rotateZ(-1.5deg); }
.tilt-r:hover .device, .tilt-l:hover .device { transform: rotateY(0) rotateX(0) rotateZ(0); }

/* Soft accent halo behind the phones. */
.app-glow { position: absolute; inset: 6% 8%; z-index: -1;
  background: radial-gradient(circle at 50% 42%, rgba(59,103,244,0.5), transparent 66%); filter: blur(62px); }
.app-glow-sm { inset: 10% 4%; background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--gc) 42%, transparent), transparent 66%); }
.app-glow-wide { inset: 12% -6%; filter: blur(80px); }

/* Hero — two overlapping, tilted phones. */
.app-hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s-2xl); align-items: center; }
.app-hero-stage { position: relative; perspective: 1600px; display: flex; justify-content: center; align-items: center; min-height: 540px; }
.app-hero-stage .ashot { position: absolute; }
.hero-a { z-index: 2; transform: translateX(-30px); }
.hero-a .device { width: min(280px, 66vw); transform: rotateY(18deg) rotateX(3deg) rotateZ(-2deg); }
.hero-b { z-index: 1; transform: translate(90px, -46px); }
.hero-b .device { width: min(248px, 58vw); transform: rotateY(18deg) rotateX(3deg) rotateZ(-2deg); opacity: 0.96; }
.app-hero-stage .ashot .device { transition: none; }      /* fixed pose in the hero */

/* Feature rows. */
.app-rowsec { padding-block: clamp(40px, 7vw, 84px); }
.app-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.app-row.flip .app-row-copy { order: 2; }
.app-row-copy h2 { margin-top: 10px; }
.app-row-copy .lead { margin-top: 14px; }
.app-row-media { position: relative; display: grid; place-items: center; }
.app-row-media .device { width: min(300px, 74vw); }
.app-points { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.app-points li { display: flex; align-items: flex-start; gap: 11px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.app-points li svg { color: var(--accent-bright); flex: none; margin-top: 3px; }

/* Social — fanned cluster of phones. */
.app-social { position: relative; }
.app-fan { position: relative; perspective: 1800px; display: flex; justify-content: center; align-items: center; gap: -30px; min-height: 620px; margin-top: 8px; }
.app-fan .ashot { position: absolute; transition: transform 0.5s var(--ease-out-soft); }
.app-fan .device { width: min(232px, 60vw); transition: transform 0.5s var(--ease-out-soft); }
.fan-1 { z-index: 1; transform: translateX(-330px) rotate(-9deg); }
.fan-1 .device { transform: rotateY(20deg); }
.fan-2 { z-index: 2; transform: translateX(-130px) translateY(24px) rotate(-3deg); }
.fan-2 .device { transform: rotateY(10deg); }
.fan-3 { z-index: 3; transform: translateX(130px) translateY(24px) rotate(3deg); }
.fan-3 .device { transform: rotateY(-10deg); }
.fan-4 { z-index: 2; transform: translateX(330px) rotate(9deg); }
.fan-4 .device { transform: rotateY(-20deg); }
.app-fan:hover .fan-1 { transform: translateX(-360px) translateY(-6px) rotate(-9deg); }
.app-fan:hover .fan-4 { transform: translateX(360px) translateY(-6px) rotate(9deg); }

/* App Store button. */
.app-store { display: inline-flex; align-items: center; gap: 10px; }
.app-store svg { flex: none; }

@media (max-width: 900px) {
  .app-hero-inner { grid-template-columns: 1fr; text-align: left; }
  .app-hero-stage { min-height: 460px; margin-top: var(--s-2xl); order: 2; }
  .app-row { grid-template-columns: 1fr; }
  .app-row.flip .app-row-copy { order: 0; }
  .app-row-media { order: -1; }
  .app-fan { min-height: 420px; }
  .fan-1, .fan-4 { display: none; }        /* keep two phones on small screens */
  .fan-2 { transform: translateX(-92px) rotate(-4deg); }
  .fan-3 { transform: translateX(92px) rotate(4deg); }
}
@media (max-width: 520px) {
  .app-hero-stage { min-height: 400px; }
  .hero-b { transform: translate(72px, -36px); }
}

/* ---- Shimmer sweep on the gradient headline word --------------------- */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .grad, .app-hero-copy h1 .grad {
    background: linear-gradient(100deg, var(--accent-bright) 0 42%, #c2d0ff 50%, var(--accent-bright) 58% 100%);
    background-size: 260% 100%; background-position: 120% 0;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: grad-shimmer 2.6s var(--ease-out) 0.35s 1 both;
  }
}
@keyframes grad-shimmer { to { background-position: -30% 0; } }
@media (prefers-reduced-motion: reduce) { .hero h1 .grad, .app-hero-copy h1 .grad { animation: none; background-position: 0 0; } }

/* ---- Pointer spotlight on glass cards (site.js sets --mx / --my) ------ */
.feature, .svc-pick, .cta-band { position: relative; isolation: isolate; }
.feature::after, .svc-pick::after, .cta-band::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(260px circle at var(--mx, -300px) var(--my, -300px), rgba(106,141,255,0.16), transparent 62%);
  opacity: 0; transition: opacity 0.35s var(--ease-out);
}
.feature:hover::after, .svc-pick:hover::after, .cta-band:hover::after { opacity: 1; }
.feature > *, .svc-pick > *, .cta-band > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .feature::after, .svc-pick::after, .cta-band::after { transition: none; } }
