/* Lyvogo ministry presentation. Tokens mirror web/packages/tokens (Lyvogo light theme).
   Slides are authored on a 1280×720 canvas (same as the Figma page "Təqdimat — Nazirlik")
   and scaled to the viewport; below 900 px they stack into a scrolling page. */

@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-cyrillic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/inter-cyrillic-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 400;
  src: url(fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 400;
  src: url(fonts/jetbrains-mono-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --font: 'Inter', 'Segoe UI', 'Roboto', 'Noto Sans', 'Arial', sans-serif;
  --mono: 'JetBrains Mono', 'Consolas', 'Menlo', monospace;
  /* Theme / Light (tokens) */
  --canvas: #FFFFFF; --subtle: #FBF8F1; --muted: #F4EFE3; --emphasis: #E9E1CF;
  --text: #161A22; --text-2: #4F5868; --text-3: #5F6878; --text-inverse: #FFFFFF;
  --border-subtle: #E8ECF2; --border: #D9DFE7; --border-strong: #7B8596;
  --brand: #0B1B33; --brand-hover: #081426; --brand-subtle: #F4EFE3;
  --accent-deco: #C9A44C; --accent-text: #8A6A1F;
  --navy-200: #B9CCEB; --navy-400: #5F84C4; --navy-700: #173A73; --navy-900: #081D40; --gold-300: #E0BE55;
  --info-fg: #174F9E; --info-bg: #EAF2FD; --info-border: #CFE1FA;
  --warn-fg: #92400E; --warn-bg: #FFF5E0; --warn-border: #FFE6B3;
  --neutral-fg: #4F5868; --neutral-bg: #F1F4F8; --neutral-border: #D9DFE7;
  --focus: #1F64C4; --letterbox: #0C0F14;
  --shadow-2: 0 4px 12px -2px rgba(12, 15, 20, .12);
  --shadow-3: 0 12px 32px -4px rgba(12, 15, 20, .18);
  --scale: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--text); background: var(--letterbox); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: 'cv11', 'ss01'; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; }
a { color: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 50; background: #fff; color: var(--brand); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.icon { display: inline-flex; width: 20px; height: 20px; flex: none; }
.icon svg { width: 100%; height: 100%; }

/* ---------- Progress */
#progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 30; background: rgba(255, 255, 255, .08); }
#progress-bar { height: 100%; background: var(--accent-deco); transform-origin: left center; transform: scaleX(0); transition: transform .28s cubic-bezier(.2, 0, 0, 1); }

/* ---------- Slide canvas (1280×720) */
.slide { width: 1280px; height: 720px; display: flex; flex-direction: column; padding: 56px 64px 40px; background: var(--canvas); color: var(--text); overflow: hidden; position: relative; }
.slide.is-dark { background: var(--brand); color: var(--text-inverse); }
.slide-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 24px; }
.sl-foot { flex: none; height: 24px; margin-top: 24px; display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--text-3); }
.sl-foot .mark { width: 20px; height: 20px; }
.foot-brand { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); }
.foot-sep { width: 1px; height: 14px; background: var(--border); }
.foot-spacer { flex: 1; }
.sl-foot.is-dark { color: var(--navy-200); }
.sl-foot.is-dark .foot-brand { color: #fff; }
.sl-foot.is-dark .foot-sep { background: var(--navy-700); }

.mark { display: inline-flex; width: 32px; height: 32px; flex: none; }
.mark svg { width: 100%; height: 100%; }
.mark-tile { fill: var(--brand); }
.mark-bar { fill: #fff; }
.mark-base { fill: var(--accent-deco); }
.is-dark .mark-tile { stroke: var(--navy-400); stroke-width: 1.5; }
.mark--lg { width: 48px; height: 48px; }

/* Text roles (Figma text styles: display 36, h1 24, h2 20, h3 16, body-lg 16, body 14, body-sm 13, caption 12) */
.kicker { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .02em; color: var(--accent-text); }
.is-dark .kicker { color: var(--gold-300); }
.title { font-size: 36px; line-height: 44px; font-weight: 600; letter-spacing: -.01em; color: var(--text); text-wrap: balance; }
.lead { font-size: 16px; line-height: 24px; color: var(--text-2); max-width: 1000px; }
.sl-head { display: flex; flex-direction: column; gap: 12px; }
.footnote { font-size: 13px; line-height: 18px; color: var(--text-3); }

/* Cover */
.slide--cover .slide-body { justify-content: space-between; gap: 0; }
.cover-top { display: flex; align-items: center; justify-content: space-between; }
.lockup { display: inline-flex; align-items: center; gap: 16px; }
.lockup-word { font-size: 24px; line-height: 32px; font-weight: 600; color: #fff; }
.cover-mid { display: flex; flex-direction: column; gap: 20px; max-width: 900px; }
.cover-title { font-size: 36px; line-height: 44px; font-weight: 600; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.cover-meta { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--gold-300); }
.cover-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.cover-note { font-size: 14px; line-height: 20px; color: var(--navy-200); max-width: 560px; }
.app-icons { display: flex; gap: 16px; }
.app-icons img { width: 72px; height: 72px; border-radius: 16px; outline: 1px solid var(--navy-400); outline-offset: -1px; }

/* Divider */
.divider-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.divider-accent { width: 64px; height: 4px; border-radius: 2px; background: var(--accent-deco); }
.divider-num { font-size: 30px; line-height: 38px; font-weight: 600; color: var(--gold-300); }
.divider-title { font-size: 36px; line-height: 44px; font-weight: 600; color: #fff; }
.divider-sub { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--navy-200); max-width: 820px; }
.divider-contents { font-size: 16px; line-height: 24px; color: var(--navy-200); max-width: 900px; }

/* Feature items */
.feat { display: flex; gap: 16px; align-items: flex-start; }
.feat-tile { width: 40px; height: 40px; border-radius: 8px; background: var(--brand-subtle); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.feat-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.feat-title { font-size: 16px; line-height: 24px; font-weight: 600; }
.feat-text { font-size: 14px; line-height: 20px; color: var(--text-2); }

.grid4 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-top: 8px; }
.grid4 .feat { padding: 28px; gap: 20px; border-radius: 12px; background: var(--subtle); border: 1px solid var(--border-subtle); }
.grid4 .feat-tile { width: 48px; height: 48px; }
.grid4 .feat-tile .icon { width: 24px; height: 24px; }
.grid4 .feat-title { font-size: 24px; line-height: 32px; }
.grid4 .feat-copy { gap: 8px; }
.grid4 .feat-text { font-size: 18px; line-height: 26px; }
.grid4--muted .feat-tile { background: var(--muted); color: var(--text-2); }

.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; margin-top: 8px; }
.grid6 .feat-title { font-size: 18px; line-height: 26px; }
.grid6 .feat-text { font-size: 15px; line-height: 22px; }

/* Bullets */
.bullets { display: flex; flex-direction: column; gap: 12px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 20px; color: var(--text); }
.bullet-check { color: var(--accent-deco); width: 20px; height: 20px; }

/* Feature + screenshot */
.feature { flex: 1; display: grid; grid-template-columns: 480px 1fr; gap: 48px; align-items: center; min-height: 0; }
.feature--flip { grid-template-columns: 1fr 480px; }
.feature--flip .feature-copy { order: 2; }
.feature--flip .shot { order: 1; }
.feature-copy { display: flex; flex-direction: column; gap: 24px; }
.shot { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.shot-frame { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--canvas); box-shadow: var(--shadow-2); }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot figcaption { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--text-3); }
.shot-source { color: var(--accent-text); }
.feature--phone { grid-template-columns: 1fr auto; gap: 72px; padding-inline: 24px 48px; }
.feature--phone.feature--flip { grid-template-columns: auto 1fr; padding-inline: 48px 24px; }
.shot--phone { align-items: center; }
.shot--phone .shot-frame { height: 504px; aspect-ratio: 390 / 844; border: 7px solid var(--brand); border-radius: 34px; box-shadow: var(--shadow-2); }
.shot--phone .shot-frame img { width: 100%; height: 100%; object-fit: cover; }
.shot--phone figcaption { max-width: 280px; text-align: center; }

/* Badge (DS Badge, Subtle) */
.badge { display: inline-flex; align-items: center; align-self: flex-start; height: 22px; padding: 0 8px; border-radius: 4px; font-size: 12px; line-height: 16px; font-weight: 500; white-space: nowrap; border: 1px solid transparent; }
.badge--brand { background: var(--brand-subtle); color: var(--brand); border-color: #DCE6F5; }
.badge--neutral { background: var(--neutral-bg); color: var(--neutral-fg); border-color: var(--neutral-border); }
.badge--info { background: var(--info-bg); color: var(--info-fg); border-color: var(--info-border); }
.badge--warning { background: var(--warn-bg); color: var(--warn-fg); border-color: var(--warn-border); }

/* Map */
.map { display: grid; grid-template-columns: 250px 24px 1fr 24px 280px; gap: 12px; align-items: stretch; }
.map-arrow { display: flex; align-items: center; justify-content: center; color: var(--text-3); }
.map-a { background: var(--brand-subtle); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.map-b, .map-c { background: var(--canvas); border: 1px solid var(--border); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.cap { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--accent-text); }
.map-h { font-size: 16px; line-height: 24px; font-weight: 600; }
.map-h--sm { font-size: 14px; line-height: 20px; }
.map-t { font-size: 13px; line-height: 18px; color: var(--text-2); }
.map-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.map-panel { background: var(--subtle); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.map-feds { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.map-feds .badge { align-self: center; }
.map-app { display: flex; gap: 12px; align-items: center; }
.map-app img { width: 36px; height: 36px; border-radius: 8px; flex: none; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; background: var(--subtle); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 16px 20px; }
.flow-title { font-size: 14px; line-height: 20px; font-weight: 600; }
.flow-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; }
.flow-steps li { display: inline-flex; align-items: center; gap: 6px; }
.flow-steps .badge { height: 26px; font-size: 13px; }
.flow-chev { color: var(--text-3); width: 18px; height: 18px; }

/* Apps */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; min-height: 0; }
.app { display: grid; grid-template-columns: 176px 1fr; gap: 16px; align-items: start; }
.app-phone, .phone { border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: var(--canvas); box-shadow: var(--shadow-2); }
.app-phone img, .phone img { display: block; width: 100%; height: auto; }
.app-copy { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.app-head { display: flex; align-items: center; gap: 10px; }
.app-head img { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.app-name { font-size: 16px; line-height: 24px; font-weight: 600; }
.app-tag { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--accent-text); }
.app-list { display: flex; flex-direction: column; gap: 8px; }
.app-list li, .card-list li, .step-list li { position: relative; padding-left: 14px; font-size: 13px; line-height: 18px; color: var(--text-2); }
.app-list li::before, .card-list li::before, .step-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-deco); }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px 18px; }
.role { border: 1px solid var(--border); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--canvas); }
.role-name { font-size: 14px; line-height: 20px; font-weight: 600; }
.role-text { font-size: 13px; line-height: 18px; color: var(--text-2); }
.roles .badge { white-space: normal; height: auto; min-height: 22px; padding: 2px 8px; }

/* Alert (DS Inline alert, Info) */
.alert { display: flex; gap: 12px; align-items: flex-start; border-radius: 8px; padding: 14px 16px; border: 1px solid var(--info-border); background: var(--info-bg); }
.alert .icon { color: var(--info-fg); margin-top: 1px; }
.alert-title { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--info-fg); }
.alert-text { font-size: 14px; line-height: 20px; color: var(--text); }

/* Cards (privacy) */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.card { border: 1px solid var(--border); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 12px; background: var(--canvas); }
.card-title { font-size: 16px; line-height: 24px; font-weight: 600; }
.card-list { display: flex; flex-direction: column; gap: 10px; }
.card-list li { font-size: 15px; line-height: 22px; }
.card-list li::before { top: 8px; }

/* Rollout */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { border: 1px solid var(--border); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; background: var(--canvas); }
.step-head { display: flex; align-items: center; gap: 12px; }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; flex: none; }
.step-title { font-size: 20px; line-height: 28px; font-weight: 600; }
.step-list { display: flex; flex-direction: column; gap: 8px; }
.step-list li { font-size: 15px; line-height: 22px; }
.step-list li::before { top: 8px; }

/* Demo */
.demo { flex: 1; display: grid; grid-template-columns: 1fr auto; gap: 32px; min-height: 0; }
.demo-panels { display: flex; flex-direction: column; gap: 12px; }
.panel-card { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--canvas); }
.panel-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.panel-name { font-size: 16px; line-height: 24px; font-weight: 600; }
.panel-url { font-family: var(--mono); font-size: 13px; line-height: 18px; color: var(--brand); overflow-wrap: anywhere; }
.panel-roles { font-size: 13px; line-height: 18px; color: var(--text-2); }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; flex: none; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); }
.btn .icon { width: 18px; height: 18px; }
.demo-phones { display: flex; gap: 16px; align-items: flex-start; }
.demo-phone { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.phone--sm { width: 172px; }
.phone-cap { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--text-2); text-align: center; }

/* Live apps */
.slide--demoApps .sl-head { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 24px; }
.slide--demoApps .sl-head .kicker { flex-basis: 100%; }
.slide--demoApps .lead { flex: 1; min-width: 360px; font-size: 14px; line-height: 20px; }
.live-apps { flex: 1; display: flex; justify-content: center; gap: 56px; min-height: 0; }
.live-app { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.phone--live { --ps: .52; width: calc(390px * var(--ps)); height: calc(844px * var(--ps)); position: relative; border-radius: 22px; }
.phone--live iframe { position: absolute; top: 0; left: 0; width: 390px; height: 844px; border: 0; transform: scale(var(--ps)); transform-origin: top left; background: #fff; }
.phone--live.has-frame .phone-fallback { visibility: hidden; }
.live-cap { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.link { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--brand); }
.link .icon { width: 14px; height: 14px; }
.pending { font-size: 12px; line-height: 16px; color: var(--text-3); text-align: center; max-width: 280px; }

/* Closing */
.closing { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.closing-title { font-size: 36px; line-height: 44px; font-weight: 600; color: #fff; margin-top: 16px; }
.closing-sub { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--navy-200); max-width: 860px; }
.closing-q { font-size: 16px; line-height: 24px; color: var(--navy-200); }
.closing-site { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--gold-300); }

/* ---------- Chrome (toolbar) */
#chrome { position: fixed; z-index: 40; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 6px 8px 6px 14px; border-radius: 12px; background: rgba(12, 15, 20, .88); color: #fff; box-shadow: var(--shadow-3); transition: opacity .2s ease, transform .2s ease; font-size: 13px; }
body.is-idle #chrome { opacity: 0; transform: translateX(-50%) translateY(8px); pointer-events: none; }
body.is-idle { cursor: none; }
.chrome-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; padding-right: 6px; border-right: 1px solid rgba(255, 255, 255, .16); margin-right: 2px; }
.chrome-nav, .chrome-tools { display: flex; align-items: center; gap: 4px; }
.cbtn { width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cbtn:hover:not(:disabled) { background: rgba(255, 255, 255, .12); }
.cbtn:disabled { opacity: .4; cursor: default; }
.cbtn .icon { width: 20px; height: 20px; }
.cbtn--light { color: var(--text); }
.cbtn--light:hover { background: var(--muted) !important; }
.counter { min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 500; }
.lang { display: inline-flex; padding: 2px; border-radius: 8px; background: rgba(255, 255, 255, .1); margin-right: 4px; }
.lbtn { height: 36px; min-width: 40px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: #E7EBF1; font: 600 12px/1 var(--font); cursor: pointer; }
.lbtn[aria-pressed="true"] { background: #fff; color: var(--brand); }
.lbtn:hover:not([aria-pressed="true"]) { background: rgba(255, 255, 255, .14); }
#chrome :focus-visible { outline-color: #8AB4FF; }

/* ---------- Overview */
#overview { position: fixed; inset: 0; z-index: 60; background: rgba(12, 15, 20, .72); overflow: auto; --thumb: .2; }
.ov-inner { max-width: 1440px; margin: 24px auto; background: var(--subtle); border-radius: 16px; padding: 24px; }
.ov-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.ov-head h2 { font-size: 20px; line-height: 28px; font-weight: 600; }
.ov-keys { flex: 1; font-size: 13px; line-height: 18px; color: var(--text-3); }
.ov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(calc(1280px * var(--thumb)), 1fr)); gap: 20px 16px; }
.ov-item { display: flex; flex-direction: column; gap: 8px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: var(--text); }
.ov-thumb { width: calc(1280px * var(--thumb)); height: calc(720px * var(--thumb)); overflow: hidden; border-radius: 8px; border: 1px solid var(--border); position: relative; background: #fff; }
.ov-thumb .slide { position: absolute; top: 0; left: 0; transform: scale(var(--thumb)); transform-origin: top left; pointer-events: none; }
.ov-item[aria-current="true"] .ov-thumb { outline: 3px solid var(--accent-deco); outline-offset: 2px; }
.ov-item:hover .ov-thumb { border-color: var(--border-strong); }
.ov-label { display: flex; gap: 8px; font-size: 13px; line-height: 18px; color: var(--text-2); }
.ov-num { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
body.ov-open { overflow: hidden; }

/* ---------- Paged mode (screens ≥ 900 px) */
@media screen {
  html.paged, html.paged body { height: 100%; overflow: hidden; }
  html.paged #stage { position: fixed; inset: 0; overflow: hidden; outline: none; }
  html.paged #track { position: absolute; left: 50%; top: 50%; width: 1280px; height: 720px; transform: translate(-50%, -50%) scale(var(--scale)); }
  html.paged #track .slide { position: absolute; inset: 0; display: none; }
  html.paged #track .slide.is-current { display: flex; animation: fade .24s ease both; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  html.paged #track .slide.is-current { animation: none; }
  #progress-bar, #chrome { transition: none; }
}

/* ---------- Stacked mode (phones, narrow windows) */
@media screen {
  html:not(.paged) body { background: var(--muted); }
  html:not(.paged) #stage { outline: none; }
  html:not(.paged) #track { display: flex; flex-direction: column; gap: 12px; padding: 12px 0 104px; }
  html:not(.paged) #track .slide { width: auto; height: auto; padding: 32px 16px 20px; overflow: visible; scroll-margin-top: 8px; }
  html:not(.paged) #track .slide-body { gap: 20px; }
  html:not(.paged) #track .title, html:not(.paged) #track .cover-title, html:not(.paged) #track .divider-title, html:not(.paged) #track .closing-title { font-size: 28px; line-height: 34px; }
  html:not(.paged) #track .divider-sub, html:not(.paged) #track .closing-sub { font-size: 20px; line-height: 28px; }
  html:not(.paged) #track .lead { font-size: 16px; line-height: 24px; }
  html:not(.paged) #track .bullets li, html:not(.paged) #track .feat-text { font-size: 15px; line-height: 22px; }
  html:not(.paged) #track .slide--cover .slide-body { gap: 40px; }
  html:not(.paged) #track .cover-bottom { flex-direction: column; align-items: flex-start; }
  html:not(.paged) #track .app-icons img { width: 56px; height: 56px; border-radius: 12px; }
  html:not(.paged) #track .divider-body { padding: 24px 0; }
  html:not(.paged) #track .closing { padding: 24px 0; }
  html:not(.paged) #track .grid4, html:not(.paged) #track .grid6, html:not(.paged) #track .cards4, html:not(.paged) #track .steps, html:not(.paged) #track .roles, html:not(.paged) #track .map-panels { grid-template-columns: 1fr; }
  html:not(.paged) #track .grid4 .feat { padding: 16px; }
  html:not(.paged) #track .grid4 .feat-title { font-size: 18px; line-height: 26px; }
  html:not(.paged) #track .grid4 .feat-text, html:not(.paged) #track .grid6 .feat-text { font-size: 15px; line-height: 22px; }
  html:not(.paged) #track .feature, html:not(.paged) #track .feature--flip { grid-template-columns: 1fr; gap: 24px; }
  html:not(.paged) #track .feature--flip .feature-copy { order: 0; }
  html:not(.paged) #track .map { grid-template-columns: 1fr; }
  html:not(.paged) #track .map-arrow { transform: rotate(90deg); height: 20px; }
  html:not(.paged) #track .apps { grid-template-columns: 1fr; gap: 24px; }
  html:not(.paged) #track .app { grid-template-columns: 120px 1fr; }
  html:not(.paged) #track .demo { grid-template-columns: 1fr; }
  html:not(.paged) #track .panel-card { flex-direction: column; align-items: flex-start; }
  html:not(.paged) #track .demo-phones { justify-content: center; flex-wrap: wrap; }
  html:not(.paged) #track .phone--sm { width: 100px; }
  html:not(.paged) #track .live-apps { flex-direction: column; align-items: center; gap: 28px; }
  html:not(.paged) #track .phone--live { --ps: .7; }
  html:not(.paged) #track .slide--demoApps .lead { min-width: 0; }
  html:not(.paged) #track .flow-steps { flex-direction: column; align-items: flex-start; }
  html:not(.paged) #track .flow-steps .badge { white-space: normal; height: auto; min-height: 26px; padding: 3px 8px; }
  html:not(.paged) #track .flow-chev { transform: rotate(90deg); }
  html:not(.paged) #track .badge { white-space: normal; height: auto; min-height: 22px; padding: 2px 8px; }
  html:not(.paged) #track .shot-frame img { height: auto; }
  html:not(.paged) #track .feature--phone { padding-inline: 0; }
  html:not(.paged) #track .shot--phone .shot-frame { height: auto; width: min(260px, 72vw); }
  html:not(.paged) #track .desk--live { --ps: .26; }
  html:not(.paged) #track .live-apps--desktop { justify-content: center; }
  html:not(.paged) #chrome { left: 8px; right: 8px; bottom: 8px; transform: none; justify-content: space-between; padding: 4px 6px; gap: 4px; }
  html:not(.paged) .chrome-brand { display: none; }
  html:not(.paged) .cbtn { width: 44px; height: 44px; }
  html:not(.paged) .lbtn { height: 40px; min-width: 38px; padding: 0 6px; }
  html:not(.paged) #overview { --thumb: .125; }
  html:not(.paged) .ov-inner { margin: 8px; padding: 16px; }
}
@media screen and (max-width: 359px) {
  html:not(.paged) #overview { --thumb: .1; }
}

/* ---------- Print: one slide per A4 landscape page */
@page { size: A4 landscape; margin: 0; }
@media print {
  html, body { background: #fff !important; height: auto !important; overflow: visible !important; }
  #chrome, #progress, #overview, .skip, #live { display: none !important; }
  #stage { position: static !important; }
  #track { position: static !important; transform: none !important; width: auto !important; height: auto !important; display: block !important; padding: 0 !important; }
  #track .slide { display: flex !important; position: relative !important; inset: auto !important; width: 1280px !important; height: 720px !important; padding: 56px 64px 40px !important;
    zoom: .8769; margin: 92px auto 0 !important; break-after: page; page-break-after: always; break-inside: avoid; animation: none !important; box-shadow: none; }
  #track .slide:last-child { break-after: auto; page-break-after: auto; }
  .phone--live iframe { display: none !important; }
  .phone--live .phone-fallback { visibility: visible !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---- Sea Breeze Life adaptation ---- */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(fonts/cormorant-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(fonts/cormorant-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
:root { --serif: 'Cormorant Garamond', 'Times New Roman', serif; }
.title, .cover-title, .divider-title, .closing-title, .lockup-word { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
.mark-tile { fill: #0B1B33; }
.cover-star { font-size: 44px; color: #C9A44C; line-height: 1.3; }
.live-apps--desktop { align-items: flex-start; }
.desk--live { --ps: .52; width: calc(1280px * var(--ps)); height: calc(800px * var(--ps)); border-radius: 14px; }
.desk--live iframe { width: 1280px; height: 800px; }
