/* «الدليل» — the guide. A page of the shop notebook (ruled lines, the logo's amber bookmark) holding a real phone
   that plays a short clip of the feature; next to it big numbered steps and one «جرّبها الآن» button.
   Without a clip the phone shows an animated illustration (.gi) of the same rhythm: tap +, a sheet slides up, type,
   save, ✓. Tokens only; motion is 150–240 ms for the page, the illustration loops slowly, reduced motion = still. */

.guide-page { max-width: 1000px; padding-top: var(--sp-2); }

/* ----- the dropdown ----- */
.guide-pick {
  position: relative; display: flex; align-items: center; gap: var(--sp-3); max-width: 560px; min-height: 60px;
  padding: 0 var(--sp-3); border-radius: var(--r-lg); border: 1.5px solid var(--border-strong); background: var(--surface);
  box-shadow: var(--card-shadow); cursor: pointer; transition: border-color var(--dur), box-shadow var(--dur);
}
.guide-pick:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--border-strong)); }
.guide-pick:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow); }
.guide-select {
  flex: 1 1 auto; min-width: 0; min-height: 56px; padding: 0; padding-inline-end: 28px; margin-inline-end: -28px;
  border: 0; background: transparent; color: var(--text); font: inherit; font-size: var(--fs-lg); font-weight: 800;
  appearance: none; -webkit-appearance: none; cursor: pointer; text-overflow: ellipsis;
}
.guide-select:focus { outline: none; }
.guide-select option, .guide-select optgroup { font-size: 16px; font-weight: 600; color: var(--text); background: var(--surface); }
.guide-pick-chev { flex: 0 0 auto; color: var(--text-3); pointer-events: none; }

/* feature icon (cards, dropdown) */
.guide-ic { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 13px; }
.guide-pick .guide-ic { width: 38px; height: 38px; border-radius: 11px; }
.guide-ic.tone-brand, .guide-ic.tone-wa { background: var(--brand-soft); color: var(--brand-strong); }
.guide-ic.tone-pay { background: var(--payment-soft); color: var(--payment); }
.guide-ic.tone-debt { background: var(--debt-soft); color: var(--debt); }
.guide-ic.tone-amber { background: var(--accent-soft); color: var(--accent-strong); }
.guide-ic.tone-ink { background: var(--surface-3); color: var(--text-2); }

.guide-pro {
  display: inline-flex; align-items: center; gap: 3px; padding: 1px 8px; border-radius: var(--r-pill); vertical-align: middle;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 11px; font-weight: 800; line-height: 1.6; white-space: nowrap;
}
.guide-pro .icon { color: var(--accent-strong); }

/* ----- the grid of features ----- */
.guide-group { margin-top: var(--section-gap); }
.guide-group-title { margin: 0 2px var(--sp-3); font-size: var(--fs-md); font-weight: 800; color: var(--text-2); }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
@media (min-width: 600px) { .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .guide-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.guide-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-3); min-width: 0; min-height: 112px;
  padding: var(--sp-4); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow);
  color: var(--text); text-align: start; transition: border-color var(--dur), transform 90ms var(--ease), background var(--dur);
}
@media (hover: hover) { .guide-card:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); } }
.guide-card:active { transform: scale(.975); background: var(--surface-2); }
.guide-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.guide-card-name { margin-top: auto; font-size: var(--fs-md); font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
.guide-card .guide-pro { position: absolute; top: var(--sp-3); inset-inline-end: var(--sp-3); }

/* ----- one feature ----- */
.guide-detail { --gx: 28px; display: grid; gap: var(--sp-5); margin-top: var(--sp-6); animation: guide-fade 220ms var(--ease); }
[dir='rtl'] .guide-detail { --gx: -28px; }
.guide-detail.from-next { animation-name: guide-from-next; }
.guide-detail.from-prev { animation-name: guide-from-prev; }
@keyframes guide-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes guide-from-next { from { opacity: 0; transform: translateX(var(--gx)); } to { opacity: 1; transform: none; } }
@keyframes guide-from-prev { from { opacity: 0; transform: translateX(calc(var(--gx) * -1)); } to { opacity: 1; transform: none; } }

/* the stage: a notebook page with a phone on it */
.guide-stage {
  position: relative; display: flex; justify-content: center; padding: var(--sp-6) var(--sp-4); border-radius: var(--r-xl); overflow: hidden;
  background-color: var(--brand-softer);
  background-image: repeating-linear-gradient(to bottom, transparent 0 29px, color-mix(in srgb, var(--brand) 11%, transparent) 29px 30px);
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--border));
}
.guide-stage::before { /* soft light behind the phone */
  content: ''; position: absolute; left: 50%; top: 52%; width: 340px; height: 340px; margin: -170px 0 0 -170px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 22%, transparent), transparent 68%); pointer-events: none;
}
.guide-stage::after { /* the logo's amber bookmark */
  content: ''; position: absolute; top: -1px; inset-inline-end: 30px; width: 18px; height: 30px;
  background: linear-gradient(180deg, var(--gold), var(--gold-2)); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}
.guide-phone {
  position: relative; z-index: 1; width: clamp(196px, 56vw, 250px); aspect-ratio: 360 / 772; padding: 7px; border-radius: 38px;
  background: #0E1E1B; box-shadow: 0 34px 50px -26px rgba(11, 60, 54, .6), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
:root[data-theme='dark'] .guide-phone { background: #050B0C; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 34px 50px -26px rgba(0, 0, 0, .8); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .guide-phone { background: #050B0C; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 34px 50px -26px rgba(0, 0, 0, .8); } }
.guide-phone-notch { position: absolute; z-index: 3; top: 12px; left: 50%; width: 64px; height: 17px; margin-left: -32px; border-radius: 10px; background: inherit; }
.guide-phone-screen { position: relative; width: 100%; height: 100%; border-radius: 31px; overflow: hidden; background: var(--bg); }
/* the clip sits under a small status bar (the recording has none), so the notch never covers the app */
.guide-status { position: absolute; z-index: 2; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 2px 18px 0 22px; direction: ltr; font-size: 10px; font-weight: 800; color: var(--text); pointer-events: none; }
.guide-status-icons { display: inline-flex; align-items: center; gap: 4px; }
.guide-status-icons i { display: block; width: 3px; border-radius: 1px; background: currentColor; }
.guide-status-icons i:nth-child(1) { height: 4px; } .guide-status-icons i:nth-child(2) { height: 6px; } .guide-status-icons i:nth-child(3) { height: 8px; }
.guide-status-icons b { display: block; width: 17px; height: 8px; margin-inline-start: 3px; border-radius: 2.5px; border: 1.5px solid currentColor; box-shadow: inset 9px 0 0 -1px currentColor; }
.guide-video-wrap { position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 360 / 740; }
.guide-video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--bg); }
.guide-play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; padding-left: 4px;
  background: rgba(14, 30, 27, .74); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); transition: transform 90ms var(--ease);
}
.guide-play:active { transform: scale(.94); }

/* the words */
.guide-head, .guide-copy { min-width: 0; }
.guide-title { font-size: var(--fs-2xl); font-weight: 800; line-height: 1.35; letter-spacing: -0.01em; text-wrap: balance; }
.guide-title .guide-pro { margin-inline-start: 6px; font-size: 12px; }
.guide-text { margin-top: var(--sp-2); max-width: 46ch; font-size: var(--fs-lg); line-height: 1.75; color: var(--text-2); text-wrap: pretty; }
.guide-platform { max-width: 360px; }
.guide-steps { display: flex; flex-direction: column; gap: var(--sp-4); margin: var(--sp-2) 0 0; padding: 0; list-style: none; }
.guide-platform + .guide-steps { margin-top: var(--sp-5); }
.guide-steps li { display: flex; align-items: flex-start; gap: var(--sp-3); }
.guide-n {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: var(--brand-ink); font-size: var(--fs-md); font-weight: 800;
}
.guide-step { padding-top: 3px; font-size: var(--fs-lg); font-weight: 700; line-height: 1.55; color: var(--text); overflow-wrap: anywhere; }
.guide-pay { margin-top: var(--sp-5); }
.guide-pay .copy-box .grow { min-width: 0; }
.guide-action { margin-top: var(--sp-6); max-width: 420px; }
.guide-installed { display: flex; align-items: center; gap: 8px; margin-bottom: var(--sp-3); font-weight: 800; color: var(--brand-strong); }

/* previous · all · next */
.guide-pager {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--sp-2);
  padding-top: var(--sp-5); border-top: 1px dashed var(--border-strong);
}
.guide-nav {
  display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 60px; padding: 8px 10px; border-radius: var(--r-md);
  color: var(--text); text-align: start; transition: background var(--dur);
}
.guide-nav.next { justify-content: flex-end; text-align: end; }
@media (hover: hover) { .guide-nav:hover, .guide-all-btn:hover { background: var(--surface-2); } }
.guide-nav:active, .guide-all-btn:active { background: var(--surface-3); }
.guide-nav > .icon { flex: 0 0 auto; color: var(--brand); }
.guide-chev-prev { transform: scaleX(-1); }
[dir='rtl'] .guide-chev-prev { transform: none; }
.guide-nav-text { display: flex; flex-direction: column; min-width: 0; }
.guide-nav-k { font-size: var(--fs-xs); font-weight: 700; color: var(--text-3); }
.guide-nav-t { font-size: var(--fs-sm); font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guide-all-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 56px; min-height: 56px; padding: 6px 8px; border-radius: var(--r-md); color: var(--text-2); font-size: var(--fs-xs); font-weight: 700; }

@media (min-width: 900px) {
  .guide-detail {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto 1fr auto;
    grid-template-areas: 'stage head' 'stage copy' 'pager pager'; column-gap: var(--sp-8); row-gap: var(--sp-6); align-items: start;
  }
  .guide-head { grid-area: head; padding-top: var(--sp-4); }
  .guide-stage { grid-area: stage; position: sticky; top: calc(var(--topbar-h) + var(--safe-t) + 12px); padding-block: var(--sp-7); }
  .guide-copy { grid-area: copy; }
  .guide-pager { grid-area: pager; }
  .guide-title { font-size: var(--fs-3xl); }
}

/* ===================== the illustration (no clip yet) ===================== */
.gi { position: absolute; inset: 0; padding: 36px 12px 0; background: var(--bg); overflow: hidden; --gi-dur: 8s; }
.gi-line { display: block; height: 7px; border-radius: 4px; background: var(--surface-3); }
.gi-line.thin { height: 5px; }
.gi-line.fat { height: 11px; }
.w35 { width: 35%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; }
.gi-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.gi-chip { width: 22px; height: 22px; border-radius: 7px; background: var(--brand); }
.gi-card { display: flex; flex-direction: column; justify-content: center; gap: 8px; height: 64px; padding: 0 12px; border-radius: 14px; background: linear-gradient(150deg, #128A80, #0B5E57); }
.gi-card .gi-line { background: rgba(255, 255, 255, .5); }
.gi-card .gi-line.fat { background: rgba(255, 255, 255, .92); }
.gi-rows { margin-top: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.gi-row { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px; }
.gi-row + .gi-row { border-top: 1px solid var(--border); }
.gi-av { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); }
.gi-lines { flex: 1 1 auto; display: flex; flex-direction: column; gap: 5px; }
.gi-amt { flex: 0 0 auto; width: 34px; height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--debt) 55%, transparent); }
.gi-row.r1 .gi-amt { background: color-mix(in srgb, var(--payment) 55%, transparent); }
.gi-row.r0 { animation: gi-row var(--gi-dur) var(--ease) infinite; }
.gi-fab {
  position: absolute; left: 50%; bottom: 14px; width: 42px; height: 42px; margin-left: -21px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--brand); color: var(--brand-ink);
  box-shadow: 0 6px 12px -4px rgba(11, 94, 87, .55); animation: gi-fab var(--gi-dur) var(--ease) infinite;
}
.gi-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; height: 56%; z-index: 2; border-radius: 18px 18px 0 0;
  background: var(--bg-elevated); box-shadow: 0 -10px 24px -12px rgba(14, 40, 36, .4);
  transform: translateY(105%); animation: gi-sheet var(--gi-dur) var(--ease) infinite;
}
.gi-grip { position: absolute; top: 7px; left: 50%; width: 30px; height: 4px; margin-left: -15px; border-radius: 2px; background: var(--border-strong); }
.gi-icon { position: absolute; top: 12%; left: 50%; width: 46px; height: 46px; margin-left: -23px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.tone-brand .gi-icon, .tone-wa .gi-icon { background: var(--brand-soft); color: var(--brand-strong); }
.tone-pay .gi-icon { background: var(--payment-soft); color: var(--payment); }
.tone-debt .gi-icon { background: var(--debt-soft); color: var(--debt); }
.tone-amber .gi-icon { background: var(--accent-soft); color: var(--accent-strong); }
.tone-ink .gi-icon { background: var(--surface-3); color: var(--text-2); }
.gi-field {
  position: absolute; top: 42%; left: 10%; right: 10%; height: 40px; border-radius: 10px; border: 1.5px solid var(--border-strong);
  background: var(--surface); display: flex; align-items: center; justify-content: center; padding: 0 10px; overflow: hidden;
  animation: gi-field var(--gi-dur) var(--ease) infinite;
}
.gi-field .gi-line { width: 70%; }
.gi-type { font-size: 15px; font-weight: 800; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; animation: gi-type var(--gi-dur) steps(9, end) infinite; }
.gi-btn {
  position: absolute; top: 72%; left: 10%; right: 10%; height: 36px; border-radius: 10px; background: var(--brand); color: var(--brand-ink);
  display: flex; align-items: center; justify-content: center; animation: gi-btn var(--gi-dur) var(--ease) infinite;
}
.gi-done {
  position: absolute; z-index: 3; left: 50%; top: 44%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--brand); color: var(--brand-ink);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand) 18%, transparent); opacity: 0; transform: scale(0);
  animation: gi-done var(--gi-dur) var(--ease) infinite;
}
.gi-finger {
  position: absolute; z-index: 4; left: 72%; top: 64%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%;
  background: rgba(15, 118, 110, .32); border: 2.5px solid rgba(255, 255, 255, .95); box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
  opacity: 0; animation: gi-finger var(--gi-dur) var(--ease) infinite;
}

@keyframes gi-finger {
  0% { left: 72%; top: 64%; opacity: 0; transform: scale(1); }
  6% { opacity: 1; }
  15% { left: 50%; top: 92%; transform: scale(1); }
  18% { left: 50%; top: 92%; transform: scale(.72); }
  21% { left: 50%; top: 92%; transform: scale(1); }
  31% { left: 50%; top: 68%; transform: scale(1); }
  34% { left: 50%; top: 68%; transform: scale(.72); }
  37% { left: 50%; top: 68%; transform: scale(1); }
  45% { left: 80%; top: 82%; }
  56% { left: 80%; top: 82%; }
  63% { left: 50%; top: 86.5%; transform: scale(1); }
  66% { left: 50%; top: 86.5%; transform: scale(.72); }
  69% { left: 50%; top: 86.5%; transform: scale(1); opacity: 1; }
  76%, 100% { left: 50%; top: 86.5%; opacity: 0; }
}
@keyframes gi-fab { 0%, 16% { transform: scale(1); } 18% { transform: scale(.88); } 21%, 100% { transform: scale(1); } }
@keyframes gi-sheet { 0%, 20% { transform: translateY(105%); } 26%, 69% { transform: translateY(0); } 75%, 100% { transform: translateY(105%); } }
@keyframes gi-field { 0%, 33% { border-color: var(--border-strong); box-shadow: none; } 35%, 66% { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow); } 70%, 100% { border-color: var(--border-strong); box-shadow: none; } }
@keyframes gi-type { 0%, 38% { clip-path: inset(0 100% 0 0); } 54%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes gi-btn { 0%, 65% { transform: scale(1); } 67% { transform: scale(.95); } 70%, 100% { transform: scale(1); } }
@keyframes gi-done { 0%, 71% { opacity: 0; transform: scale(0); } 76% { opacity: 1; transform: scale(1.1); } 80% { transform: scale(1); } 90% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
@keyframes gi-row { 0%, 76% { background: transparent; } 80%, 92% { background: var(--brand-softer); } 98%, 100% { background: transparent; } }

/* offline: the amber "no internet" strip on top */
.gi-offline { display: flex; align-items: center; gap: 6px; height: 20px; margin: -6px -12px 10px; padding: 0 12px; background: var(--warn-soft); color: var(--warn-ink); }
.gi-offline .gi-line { background: color-mix(in srgb, var(--accent) 40%, transparent); }

/* install: browser → menu → the icon on the home screen */
.gi-install { --kx: 88%; --tx: 66%; padding-top: 30px; }
[dir='rtl'] .gi-install { --kx: 12%; --tx: 34%; }
.gi-url { display: flex; align-items: center; gap: 6px; height: 26px; margin-bottom: 12px; padding: 0 10px; border-radius: 13px; background: var(--surface-3); color: var(--text-2); font-size: 10.5px; font-weight: 700; }
.gi-url-text { flex: 1 1 auto; text-align: center; }
.gi-lock { display: inline-flex; color: var(--text-3); }
.gi-kebab { font-size: 15px; font-weight: 800; line-height: 1; color: var(--text); padding: 0 2px; }
.gi-toolbar { position: absolute; left: 0; right: 0; bottom: 0; height: 36px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; justify-items: center; background: var(--bg-elevated); border-top: 1px solid var(--border); }
.gi-share { display: inline-flex; color: #0A84FF; animation: gi-i-share var(--gi-dur) var(--ease) infinite; }
.gi-menu { position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 2px; padding: 6px; background: var(--bg-elevated); box-shadow: 0 10px 24px -8px rgba(14, 40, 36, .45); }
.is-ios .gi-menu { left: 0; right: 0; bottom: 0; height: 44%; padding: 18px 10px 0; border-radius: 16px 16px 0 0; transform: translateY(105%); animation: gi-i-menu-ios var(--gi-dur) var(--ease) infinite; }
.is-android .gi-menu { top: 40px; inset-inline-end: 8px; width: 64%; border-radius: 10px; transform-origin: top right; opacity: 0; transform: scale(.6); animation: gi-i-menu-and var(--gi-dur) var(--ease) infinite; }
[dir='rtl'] .is-android .gi-menu { transform-origin: top left; }
.gi-menu-row { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 8px; border-radius: 8px; }
.gi-menu-ic { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 6px; background: var(--surface-3); color: var(--text-2); flex: 0 0 auto; }
.gi-menu-row.is-target { animation: gi-i-target var(--gi-dur) var(--ease) infinite; }
.gi-menu-row.is-target .gi-menu-ic { background: var(--brand); color: var(--brand-ink); }
.gi-home {
  position: absolute; inset: 0; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); align-content: start; justify-items: center; gap: 16px 0;
  padding: 52px 12px 0; background: linear-gradient(160deg, #1E3A3F, #0E1E1B); opacity: 0; animation: gi-i-home var(--gi-dur) var(--ease) infinite;
}
.gi-app { width: 34px; height: 34px; border-radius: 9px; background: rgba(255, 255, 255, .16); }
.gi-app-daftar { display: flex; align-items: center; justify-content: center; background: var(--brand); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .6); transform: scale(0); animation: gi-i-app var(--gi-dur) var(--ease) infinite; }
:root[data-theme='dark'] .gi-app-daftar { background: #0F766E; }
.gi-install .gi-finger { animation-name: gi-i-finger-ios; }
.gi-install.is-android .gi-finger { animation-name: gi-i-finger-and; }
@keyframes gi-i-finger-ios {
  0% { left: 70%; top: 60%; opacity: 0; transform: scale(1); }
  6% { opacity: 1; }
  16% { left: 50%; top: 95%; transform: scale(1); }
  19% { left: 50%; top: 95%; transform: scale(.72); }
  22% { left: 50%; top: 95%; transform: scale(1); }
  38% { left: 50%; top: 77%; transform: scale(1); }
  41% { left: 50%; top: 77%; transform: scale(.72); }
  44% { left: 50%; top: 77%; transform: scale(1); opacity: 1; }
  52%, 100% { left: 50%; top: 77%; opacity: 0; }
}
@keyframes gi-i-finger-and {
  0% { left: 50%; top: 55%; opacity: 0; transform: scale(1); }
  6% { opacity: 1; }
  16% { left: var(--kx); top: 11%; transform: scale(1); }
  19% { left: var(--kx); top: 11%; transform: scale(.72); }
  22% { left: var(--kx); top: 11%; transform: scale(1); }
  38% { left: var(--tx); top: 25%; transform: scale(1); }
  41% { left: var(--tx); top: 25%; transform: scale(.72); }
  44% { left: var(--tx); top: 25%; transform: scale(1); opacity: 1; }
  52%, 100% { left: var(--tx); top: 25%; opacity: 0; }
}
@keyframes gi-i-share { 0%, 17% { transform: scale(1); } 19% { transform: scale(.8); } 22%, 100% { transform: scale(1); } }
@keyframes gi-i-menu-ios { 0%, 21% { transform: translateY(105%); } 27%, 50% { transform: none; } 56%, 100% { transform: translateY(105%); } }
@keyframes gi-i-menu-and { 0%, 21% { opacity: 0; transform: scale(.6); } 25%, 50% { opacity: 1; transform: none; } 54%, 100% { opacity: 0; transform: scale(.9); } }
@keyframes gi-i-target { 0%, 39% { background: transparent; } 41%, 50% { background: var(--brand-softer); } 56%, 100% { background: transparent; } }
@keyframes gi-i-home { 0%, 52% { opacity: 0; } 58%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes gi-i-app { 0%, 60% { transform: scale(0); } 66% { transform: scale(1.18); } 70%, 92% { transform: scale(1); } 98%, 100% { transform: scale(0); } }

@media (prefers-reduced-motion: reduce) {
  .gi-install .gi-home { opacity: 1; }
  .gi-install .gi-app-daftar { transform: none; }
  .guide-detail { animation: none !important; }
  .gi *, .gi { animation: none !important; }
  .gi-sheet { transform: none; }
  .gi-field { border-color: var(--brand); }
  .gi-finger, .gi-done { display: none; }
}
@media print { .guide-stage, .guide-pager, .guide-pick, .guide-action { display: none !important; } }
