:root{color-scheme:light;--paper:#F6F9FF;--ink:#182A42;--blue:#1C6EF2;--muted:#5E7087;--line:#DFE8F4}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--blue);text-underline-offset:3px}a:focus-visible{outline:3px solid #E9AE31;outline-offset:5px}main{max-width:600px;margin:auto;padding:calc(24px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom))}.back{display:inline-block;font-size:14px}.brand{display:flex;align-items:center;justify-content:center;gap:26px;padding:36px 0 18px}.brand img{width:112px;height:112px;object-fit:contain;border-radius:27px;background:#fff}h1{margin:0;font-size:38px;line-height:1.04;letter-spacing:-1.5px}h1 span{display:block}.name-preposition{font-size:15px;line-height:1.8;letter-spacing:3px;color:var(--blue)}.intro{text-align:center;margin:0 0 36px;font-size:19px;line-height:1.45}section{padding:24px 0;border-top:1px solid var(--line)}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px}h2{font-size:24px;line-height:1.2;letter-spacing:-.6px;margin:0}.version{font-size:12px;color:var(--muted)}section p{margin:15px 0;color:var(--muted)}.download,.secondary{display:flex;align-items:center;justify-content:center;min-height:54px;border-radius:17px;font-size:17px;font-weight:650;text-decoration:none}.download{background:var(--blue);color:#fff;margin:20px 0}.secondary{background:#E5EEFE;color:#155ACD;margin:22px 0 0}ol{padding-left:25px;margin:22px 0}li{padding-left:6px;margin:14px 0}li::marker{color:var(--blue);font-weight:700}.note{font-size:13px;line-height:1.55}footer{padding-top:28px;border-top:1px solid var(--line);color:var(--muted);font-size:14px;line-height:2}@media(max-width:360px){main{padding-left:18px;padding-right:18px}.brand{gap:19px}.brand img{width:96px;height:96px}h1{font-size:34px}.version{max-width:135px;text-align:right}}@media(prefers-reduced-motion:no-preference){.download,.secondary{transition:background-color 120ms}.download:active{background:#125BCF}.secondary:active{background:#D5E3FB}}

/* iPhone instructions use the same picture as the in-app installation guide. */
.iphone-guide{margin:22px 0 16px}.iphone-guide img{display:block;width:100%;max-width:520px;height:auto;margin:0 auto;border:1px solid var(--line);border-radius:18px;background:#fff}.iphone-guide figcaption{margin-top:8px;color:var(--muted);font-size:12px;text-align:center}.iphone-steps strong{color:var(--ink)}.iphone-steps li{margin:16px 0}#iphone,#android{scroll-margin-top:20px}.section-title{flex-wrap:wrap} .iphone .section-title h2{max-width:100%}
.install-link-actions{margin:20px 0}
.install-link-actions .secondary{width:100%;border:0;padding:12px 16px;font-family:inherit}
.install-app-url{display:block;margin:14px 0;font-size:13px;color:var(--muted,#6e6e73)}
.install-app-url span{display:block;margin-bottom:7px}
.install-app-url input{display:block;box-sizing:border-box;width:100%;min-height:46px;padding:11px 12px;border:1px solid var(--line,#dedee3);border-radius:12px;background:var(--panel,#fff);color:var(--ink,#161617);font:16px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-user-select:text;user-select:text}
.install-app-url input:focus-visible{outline:3px solid #2865d9;outline-offset:2px}
.install-link-actions button{font-family:inherit;cursor:pointer}

/* App Store is the main iPhone choice; the existing Safari route stays available. */
main{max-width:1120px}.back,.brand,.intro,.iphone,.android,footer{max-width:600px;margin-left:auto;margin-right:auto}.back{display:block}.appstore-download{flex-direction:column;gap:3px;padding:14px 20px}.appstore-download small{font-size:12px;font-weight:500;opacity:.92}.safari-alternative{margin-top:18px;border:1px solid var(--line);border-radius:17px;padding:0 18px;background:#fff}.safari-alternative>summary{min-height:54px;display:list-item;cursor:pointer;padding:15px 4px;font-size:14px;color:var(--ink);font-weight:600}.safari-alternative>summary:focus-visible{outline:3px solid var(--blue);outline-offset:4px;border-radius:8px}.safari-alternative[open]{padding-bottom:8px}.safari-alternative .install-link-actions{margin-top:6px}.app-gallery{margin-top:8px;padding-top:30px}.app-gallery>h2{text-align:center;max-width:25ch;margin-left:auto;margin-right:auto}.gallery-intro{text-align:center;font-size:14px;max-width:60ch;margin-left:auto!important;margin-right:auto!important}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start;margin-top:28px}.feature-shot{min-width:0;margin:0}.feature-shot figcaption{min-height:148px;padding:0 4px}.feature-shot h3{font-size:21px;line-height:1.22;letter-spacing:-.45px;margin:0 0 12px}.feature-shot figcaption p{font-size:14px;line-height:1.5;margin:0;color:var(--muted)}.shot-frame{position:relative;border:1px solid #ccd9ea;border-radius:25px;overflow:hidden;background:#172637;box-shadow:0 10px 25px #182a4210}.shot-frame img{display:block;width:100%;height:auto}.shot-tag{position:absolute;top:11px;left:11px;max-width:calc(100% - 22px);padding:6px 9px;border-radius:8px;background:#f6f9fff0;border:1px solid #dbe5f3;color:#18324f;font-size:11px;font-weight:650;line-height:1.3;box-shadow:0 2px 9px #122c4514}.feature-shot .shot-note{font-size:12px;line-height:1.5;color:var(--muted);margin:12px 4px 0}.gallery-download{max-width:480px;margin:28px auto 4px}.download:focus-visible,.secondary:focus-visible{outline:3px solid #E9AE31;outline-offset:5px}
@media(max-width:760px){main{max-width:600px}.gallery-grid{display:flex;overflow-x:auto;gap:16px;scroll-snap-type:x mandatory;padding:0 0 16px;scrollbar-width:thin;overscroll-behavior-x:contain}.feature-shot{flex:0 0 min(82vw,318px);scroll-snap-align:start}.feature-shot figcaption{min-height:150px;padding:0 2px}.feature-shot h3{font-size:22px}.shot-frame{border-radius:24px}.app-gallery>h2{text-align:left;margin-left:0;max-width:23ch}.gallery-intro{text-align:left}.app-gallery{margin-top:2px}.gallery-download{font-size:15px}.safari-alternative{padding-left:15px;padding-right:15px}.safari-alternative>summary{font-size:13px}.gallery-intro:after{content:' Листай снимки вправо.';color:var(--blue)}}
@media(prefers-reduced-motion:reduce){.gallery-grid{scroll-behavior:auto;scroll-snap-type:none}}
