/* "Install the app" bottom sheet (mobile, main website only).
   Colours follow the website: yellow, white and black. */
.ai-overlay { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s ease; }
.ai-overlay.is-open { opacity: 1; }
.ai-sheet { position: relative; width: 100%; max-width: 480px; background: #fff; color: #111; border-radius: 26px 26px 0 0; border: 2px solid #111; border-bottom: 0; padding: 12px 20px calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); transition: transform .32s cubic-bezier(.2,.8,.2,1); font-family: var(--font-body, "Inter", sans-serif); box-shadow: 0 -14px 40px rgba(0,0,0,.35); max-height: 92vh; max-height: 92dvh; overflow-y: auto; }
.ai-overlay.is-open .ai-sheet { transform: none; }
.ai-grip { width: 44px; height: 5px; border-radius: 999px; background: #d4d4d4; margin: 0 auto 14px; }
.ai-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #111; color: var(--yellow, #ffc629); display: grid; place-items: center; cursor: pointer; }

.ai-top { display: flex; gap: 14px; align-items: center; padding-right: 36px; }
.ai-icon { flex: none; width: 64px; height: 64px; border-radius: 16px; border: 2px solid #111; background: var(--yellow, #ffc629); object-fit: cover; box-shadow: 0 3px 0 #111; }
.ai-title { margin: 0; font-family: var(--font-display, "Archivo Black", sans-serif); font-size: 19px; line-height: 1.2; color: #111; }
.ai-sub { margin: 4px 0 0; font-size: 13.5px; line-height: 1.4; color: rgba(17,17,17,.7); }

.ai-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 16px; }
.ai-perk { border-radius: 14px; padding: 12px 6px; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.25; }
.ai-perk svg { display: block; margin: 0 auto 6px; }
.ai-perk:nth-child(1) { background: var(--yellow, #ffc629); color: #111; }
.ai-perk:nth-child(2) { background: #111; color: var(--yellow, #ffc629); }
.ai-perk:nth-child(3) { background: #f1f1f1; color: #111; border: 1.5px solid #111; }

.ai-cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 15px; border-radius: 14px; border: 2px solid #111; cursor: pointer; font-weight: 800; font-size: 16px; color: #111; background: var(--yellow, #ffc629); box-shadow: 0 4px 0 #111; font-family: inherit; }
.ai-cta:active { transform: translateY(2px); box-shadow: 0 2px 0 #111; }
.ai-later { display: block; width: 100%; margin-top: 14px; padding: 8px; border: 0; background: none; color: rgba(17,17,17,.6); font-size: 14.5px; font-weight: 600; cursor: pointer; font-family: inherit; }

.ai-steps { margin: 14px 0 0; padding: 14px 16px; background: #fff7dd; border: 1.5px solid var(--yellow, #ffc629); border-radius: 14px; font-size: 14.5px; line-height: 1.5; }
.ai-steps ol { margin: 0; padding-left: 0; list-style: none; counter-reset: s; }
.ai-steps li { counter-increment: s; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.ai-steps li:last-child { margin-bottom: 0; }
.ai-steps li::before { content: counter(s); flex: none; width: 24px; height: 24px; border-radius: 50%; background: #111; color: var(--yellow, #ffc629); font-weight: 800; font-size: 13px; display: grid; place-items: center; margin-top: 1px; }
.ai-steps .ai-ico { display: inline-block; vertical-align: -4px; margin: 0 2px; padding: 2px; border: 1.5px solid #111; border-radius: 6px; background: #fff; }
.ai-hidden { display: none !important; }

@media (prefers-reduced-motion: reduce) { .ai-overlay, .ai-sheet { transition: none; } }
