@font-face { font-family: "Manrope"; src: url("fonts/manrope-cyr.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0400-045F, U+2116; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-lat.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
:root { --bg: #0b0b24; --text: #f7f7ff; --muted: rgba(247,247,255,.7); --line: rgba(247,247,255,.15); --brand: #f3cd46; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 450 15px/1.5 "Manrope", -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.ph-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 32px; border-bottom: 1px solid var(--line); }
.ph-brand { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 550; color: var(--muted); }
.ph-brand img { height: 28px; width: auto; }
.ph-brand img { background: #fff; border-radius: 8px; padding: 3px 6px; }
.ph-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ph-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 550; background: transparent; }
.ph-btn-primary { background: var(--brand); border-color: var(--brand); color: #0b0b24; }
.ph-note, .ph-warn { max-width: 860px; margin: 16px auto 0; padding: 0 32px; font-size: 13px; color: var(--muted); text-align: center; }
.ph-warn { color: #8A5506; font-weight: 550; }
.ph-stage { display: flex; justify-content: center; align-items: flex-start; gap: 48px; flex-wrap: wrap; padding: 32px 24px 64px; }
.device { margin: 0; display: grid; justify-items: center; gap: 12px; }
.device figcaption { font-size: 13px; color: var(--muted); font-weight: 500; }
.bezel { position: relative; padding: 14px; border-radius: 56px; background: #111116; box-shadow: 0 0 0 2px #2A2A33, 0 40px 80px -20px rgba(17,17,40,.45); }
.device-phone .screen { display: block; width: 390px; height: 844px; border: 0; border-radius: 42px; background: #F7F7FA; }
.notch { position: absolute; top: 5px; left: 50%; width: 64px; height: 5px; margin-left: -32px; border-radius: 3px; background: #2A2A33; z-index: 2; pointer-events: none; }
.device-tablet .scaler { width: calc((768px + 36px) * .6); height: calc((1024px + 36px) * .6); }
.device-tablet .bezel { width: calc(768px + 36px); padding: 18px; border-radius: 36px; transform: scale(.6); transform-origin: top left; }
.device-tablet .screen { display: block; width: 768px; height: 1024px; border: 0; border-radius: 20px; background: #F7F7FA; }
@media (max-width: 860px) { .device-tablet { display: none; } }
@media (max-width: 520px) {
  .ph-top { padding: 12px 16px; }
  .ph-stage { justify-content: flex-start; padding: 16px 0 32px; gap: 0; overflow: hidden; }
  .device-phone { width: 100%; justify-items: start; }
  .device-phone .bezel { margin-left: calc(50% - 209px); transform: scale(.82); transform-origin: top center; margin-bottom: -157px; }
  .device-phone figcaption { justify-self: center; }
}
@media (max-width: 358px) {
  .device-phone .bezel { transform: scale(.72); margin-bottom: -244px; }
}
