:root { --ink: #18222d; --muted: #64717d; --line: #dce2e7; --action: #17643f; }
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; padding: 18px; display: grid; place-items: center; background: #f3f5f7; color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.installCard { width: min(100%, 440px); padding: 28px 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-align: center; }
.installLogo { display: block; width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 20px; -webkit-user-drag: none; }
.installStep { color: var(--action); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.installCard h1 { margin: 8px 0 12px; font-size: 25px; line-height: 1.2; }
.installCard p { margin: 0 0 20px; color: var(--muted); line-height: 1.55; }
.installPrimary, .installSecondary { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; border-radius: 6px; font: inherit; font-weight: 800; text-decoration: none; }
.installPrimary { border: 0; background: var(--action); color: #fff; cursor: pointer; }
.installSecondary { margin-top: 10px; border: 1px solid var(--line); background: #fff; color: #2c4e70; }
.installSecurity { margin: 18px 0 0 !important; font-size: 12px; }
.installStores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.installStore { display: flex; min-height: 50px; padding: 8px 10px; align-items: center; justify-content: center; border-radius: 6px; color: #fff; text-decoration: none; font-size: 13px; font-weight: 800; }
.installStoreIos { background: #111827; }
.installStoreAndroid { background: #17643f; }
.installStoreUnavailable, .installStoreDisabled { background: #e4e8ec; color: #66717c; }
.installEmail { margin: -8px 0 18px !important; overflow-wrap: anywhere; color: var(--ink) !important; font-weight: 800; }
.installCloseHint { margin: 16px 0 0 !important; font-size: 12px; }
.installDivider { display: flex; align-items: center; gap: 10px; margin: 18px 0; color: var(--muted); font-size: 12px; }
.installDivider::before, .installDivider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.installCompleteMark { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: #e1f3e9; color: var(--action); font-size: 38px; line-height: 64px; font-weight: 900; }
.installComplete .installPrimary { color: #fff; }
#installConfirmForm { margin-top: 20px; }
@media (max-width: 360px) { body { padding: 10px; } .installCard { padding: 22px 16px; } .installCard h1 { font-size: 22px; } .installStores { grid-template-columns: 1fr; } }

/* Standalone app download page */
.downloadLanding { position: relative; width: min(100%, 520px); padding: 38px 34px 24px; overflow: hidden; border: 1px solid rgba(220, 226, 231, .82); border-radius: 24px; box-shadow: 0 24px 70px rgba(24, 34, 45, .12); text-align: left; }
.downloadGlow { position: absolute; z-index: 0; top: -150px; right: -145px; width: 330px; height: 330px; border-radius: 50%; background: radial-gradient(circle, rgba(23, 100, 63, .17), rgba(23, 100, 63, 0) 68%); pointer-events: none; }
.downloadHero, .downloadAccess, .downloadActions, .downloadFooter { position: relative; z-index: 1; }
.downloadHero { text-align: center; }
.downloadLogoWrap { width: 86px; height: 86px; margin: 0 auto 18px; padding: 5px; border: 1px solid rgba(23, 100, 63, .13); border-radius: 24px; background: linear-gradient(145deg, #fff, #edf6f1); box-shadow: 0 12px 32px rgba(23, 100, 63, .15); }
.downloadLanding .installLogo { width: 74px; height: 74px; margin: 0; border-radius: 19px; }
.downloadBadge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 99px; background: #eaf5ef; color: #17643f; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.downloadBadge i { width: 7px; height: 7px; border-radius: 50%; background: #20a464; box-shadow: 0 0 0 4px rgba(32, 164, 100, .12); }
.downloadLanding h1 { max-width: 420px; margin: 16px auto 12px; font-size: clamp(28px, 7vw, 38px); line-height: 1.08; letter-spacing: -.035em; }
.downloadHero > p { max-width: 390px; margin: 0 auto; font-size: 15px; }
.downloadAccess { display: grid; gap: 9px; margin: 28px 0 24px; }
.downloadAccessItem { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 14px; border: 1px solid #e5e9ec; border-radius: 14px; background: #fafbfc; }
.downloadAccessItemRequired { border-color: #cfe5d8; background: #f2f8f5; }
.downloadAccessItem .downloadAccessIcon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: #fff; color: #17643f; box-shadow: 0 4px 14px rgba(24, 34, 45, .08); font-size: 11px; font-weight: 900; }
.downloadAccessItem div { min-width: 0; }
.downloadAccessItem strong, .downloadAccessItem span { display: block; }
.downloadAccessItem strong { margin-bottom: 3px; color: #18222d; font-size: 14px; }
.downloadAccessItem div span { color: #64717d; font-size: 12px; line-height: 1.4; }
.downloadActionsLabel { display: block; margin: 0 0 9px 2px; color: #7a858f; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.downloadLanding .installStores { margin: 0; }
.downloadLanding .installStore { min-height: 62px; gap: 10px; border-radius: 12px; box-shadow: 0 8px 20px rgba(17, 24, 39, .12); transition: transform .2s ease, box-shadow .2s ease; }
.downloadLanding a.installStore:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(17, 24, 39, .17); }
.downloadLanding .installStore > span:last-child { display: flex; flex-direction: column; align-items: flex-start; font-size: 14px; line-height: 1.15; }
.downloadLanding .installStore small { margin-bottom: 3px; font-size: 9px; font-weight: 600; opacity: .74; }
.storeSymbol { font-size: 19px; line-height: 1; }
.storeSymbolPlay { font-size: 16px; }
.downloadLanding .installStoreDisabled { box-shadow: none; }
.downloadFooter { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 20px; color: #73808a; font-size: 11px; text-align: center; }
.downloadShield { display: grid; flex: 0 0 20px; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: #eaf5ef; color: #17643f; font-weight: 900; }
@media (max-width: 520px) {
  body { padding: 12px; background: linear-gradient(180deg, #edf3f0 0, #f5f7f8 48%, #f3f5f7 100%); }
  .downloadLanding { padding: 28px 18px 20px; border-radius: 20px; }
  .downloadLogoWrap { width: 76px; height: 76px; border-radius: 21px; }
  .downloadLanding .installLogo { width: 64px; height: 64px; border-radius: 16px; }
  .downloadLanding h1 { font-size: 29px; }
  .downloadHero > p { font-size: 14px; }
  .downloadAccess { margin: 23px 0 20px; }
  .downloadLanding .installStores { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .downloadLanding .installStore { transition: none; } }

.downloadDiscovery{position:relative;z-index:1;min-width:0;letter-spacing:0}
.downloadDiscovery--brands{margin-bottom:28px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.downloadDiscovery--stories{margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}
.downloadDiscovery h2{margin:0 0 14px;font-size:16px;line-height:1.3;letter-spacing:0}
.downloadDiscoveryHeading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.downloadDiscoveryHeading>a{color:var(--action);font-size:12px;text-decoration:none}
.downloadStrip{display:flex;gap:14px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior-x:contain;padding:4px 2px 8px;scroll-snap-type:x proximity}
.downloadStrip::-webkit-scrollbar{display:none}
.downloadStrip a{flex-shrink:0;color:var(--ink);text-decoration:none;scroll-snap-align:start}
.downloadStrip a:focus-visible,.downloadStrip:focus-visible{outline:2px solid var(--action);outline-offset:2px}
.downloadBrand{flex:0 0 76px;width:76px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:8px;font-size:11px;line-height:1.35}
.downloadBrandLogo{width:64px;height:64px;padding:2px;border:1px solid #92b8a4;border-radius:50%;background:white;display:grid;place-items:center}
.downloadBrandLogo img{width:58px;height:58px;border-radius:50%;object-fit:contain;background:#fff}
.downloadBrand>span:last-child{width:100%;height:30px;overflow:hidden;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.downloadStory{width:144px;display:flex;flex-direction:column;gap:6px}
.downloadStory img{width:144px;height:90px;object-fit:cover;border-radius:6px;background:#edf1f3}
.downloadStoryBrand{color:var(--muted);font-size:10px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.downloadStory strong{font-size:12px;line-height:1.45;min-height:35px;max-height:35px;overflow:hidden;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.downloadBrandMore{flex:0 0 40px;align-self:center;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--action);font-size:22px;cursor:pointer}
.downloadBrandMore:focus-visible{outline:2px solid var(--action);outline-offset:2px}
.downloadBrandMore:disabled{opacity:.5;cursor:wait}
.downloadBrandStatus{display:block;min-height:16px;font-size:11px;color:var(--muted)}
