/* App Growth AI (redesign): the activation funnel as a falling chart. The ribbon falls behind the bars from left to
   right, the shape of the story itself. Below, the chosen step's screen and the reading. */
.ag-hero{padding-bottom:var(--s9)}
.ag-desk{margin-top:var(--s8);display:grid;gap:var(--s6)}
.ag-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 20px}
.ag-q{font-size:clamp(22px,2vw,28px);font-weight:800;letter-spacing:-.015em;color:var(--ink)}
.ag-chart{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;align-items:end;height:460px;padding-top:30px}
.ag-chart li{position:relative;display:grid;align-items:end;height:100%}
.ag-s{display:grid;grid-template-rows:auto auto;gap:12px;width:100%;text-align:left}
.ag-col{display:flex;align-items:flex-start;height:calc(var(--h) * 3.6px);min-height:70px;padding:14px 16px;border-radius:14px 14px 4px 4px;background:var(--ice);box-shadow:inset 0 0 0 1.5px var(--pale);transition:background-color .35s ease,box-shadow .35s ease}
.ag-n{font-size:clamp(22px,2.2vw,32px);font-weight:800;letter-spacing:-.02em;color:var(--deep);font-variant-numeric:tabular-nums}
.ag-t{font-size:16.5px;font-weight:700;color:var(--ink)}
.ag-s[aria-pressed=true] .ag-col{background:var(--cobalt);box-shadow:var(--sh-ui)}.ag-s[aria-pressed=true] .ag-n{color:#fff}
.ag-s.worst .ag-col{box-shadow:inset 0 0 0 2px var(--ma-coral)}
.ag-s.worst[aria-pressed=true] .ag-col{background:var(--t-coral);box-shadow:var(--sh-ui)}
@media (hover:hover){.ag-s:not([aria-pressed=true]):hover .ag-col{background:#fff}}
.ag-drop{position:absolute;left:-9px;top:auto;bottom:calc(var(--h) * 3.6px + 52px);transform:translateX(-50%);font-size:15px;font-weight:800;color:var(--text);background:#fff;padding:4px 10px;border-radius:6px;box-shadow:var(--sh-ui);white-space:nowrap;z-index:1}
.ag-drop.worst{color:#fff;background:var(--t-coral)}
.ag-detail{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:var(--s7);align-items:start;margin-top:var(--s5)}
.ag-phone{display:grid;justify-items:center}
.ph{width:340px;max-width:100%;height:560px;border-radius:38px;padding:12px;background:#fff;box-shadow:0 0 0 1px #D5E3F6,0 30px 60px -36px rgba(11,42,102,.55);display:grid}
.ph-scr{grid-area:1/1;border-radius:28px;background:#F7FAFF;box-shadow:inset 0 0 0 1px #EEF3FA;padding:24px 18px;display:flex;flex-direction:column;gap:14px}
.ph-store b{display:block;font-size:20px;color:var(--ink)}.ph-store small{font-size:14.5px;color:var(--text)}
.ph-btn{align-self:stretch;text-align:center;padding:12px;border-radius:12px;background:#0870E6;color:#fff;font-size:15px;font-weight:700}
.ph-shot{padding:30px 14px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1px #D5E3F6;font-size:15px;font-weight:800;color:var(--ink)}.ph-shot.s{padding:20px 14px}
.ph-h{margin-top:20px;font-size:26px;font-weight:800;letter-spacing:-.02em;color:var(--ink)}.ph-p{font-size:16px;line-height:1.5;color:var(--text)}
.ph-f{padding:14px;border-radius:10px;background:#fff;box-shadow:inset 0 0 0 1.5px #C9D6EA;font-size:15px;color:var(--text)}
.ag-read{display:grid;gap:12px;align-content:start;padding-top:20px}
.ag-big{font-size:clamp(26px,2.4vw,34px);line-height:1.2;letter-spacing:-.02em;font-weight:800;color:var(--ink);font-variant-numeric:tabular-nums}
.ag-note{font-size:18px;line-height:1.55;color:var(--text)}
.ag-fix{margin-top:10px;padding:22px 24px;display:grid;gap:8px;box-shadow:0 0 0 2px #FFE9EC,var(--sh-ui)}
.ag-fix p:not(.x-k){font-size:17px;line-height:1.55;color:var(--ink)}
.ag-fix .x-k:not(:first-child){margin-top:8px}

/* after the install */
.ag-after-head{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:var(--s5) var(--s9);align-items:end}
.ag-stages{margin-top:var(--s8);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.ag-stages li{display:grid;gap:8px;align-content:start;padding:22px 22px 26px;border-radius:var(--r-ui);background:#fff;box-shadow:var(--sh-ui)}
.ag-day{font-size:14.5px;font-weight:700;color:var(--deep)}
.ag-stages b{font-size:21px;letter-spacing:-.012em;color:var(--ink)}
.ag-stages li>span:last-child{font-size:16px;line-height:1.5;color:var(--text)}
.ag-src{margin-top:var(--s5);font-size:15px;color:var(--text)}.ag-src a{color:var(--deep);font-weight:700;text-decoration:underline;text-underline-offset:3px}

@media (max-width:1100px){.ag-detail,.ag-after-head{grid-template-columns:1fr}.ag-stages{grid-template-columns:1fr 1fr}}
@media (max-width:760px){
  .ag-chart{grid-template-columns:1fr;height:auto;gap:10px;padding-top:0}
  .ag-chart li{height:auto}
  .ag-s{grid-template-columns:1fr auto;grid-template-rows:auto;align-items:center}
  .ag-col{height:auto;min-height:0;width:calc(var(--h) * 1%);min-width:84px;order:2;justify-content:flex-end;padding:10px 12px;border-radius:10px}
  .ag-n{font-size:19px}.ag-t{order:1}
  .ag-drop{position:static;transform:none;justify-self:start;margin-bottom:4px}
  .ag-s{grid-template-columns:1fr}.ag-col{order:0}
  .ag-stages{grid-template-columns:1fr}.ph{width:300px;height:580px}
}
