/* my.ehlel.com/pwa-guide — «Аппаар суулгах заавар» (Claude Design «Ehlel Clients — веб дизайн» → PWA-guide, 2026-11-10).
   Статик CSS (build-гүй), өнгө энд л (Blade-д hex бичихгүй); системийн харанхуй горимд дагана. Blade: public/apps/portal-pwa-guide.blade.php */
:root { --bg: #FFFFFF; --fg: #0A0A0A; --muted: #525252; --faint: #6B6B6B; --line: #E5E5E5; --soft: #F5F5F5; --soft2: #EDEDED; --mock: #F2F2F2; --btn: #0A0A0A; --btn-fg: #FFFFFF; --ring: rgba(10,10,10,.12); --shadow: 0 18px 40px rgba(0,0,0,.14); --logo-invert: 0; }
/* Анхдагч = цагаан (дизайн; хэрэглэгч 2026-11-10). Харанхуй зөвхөн порталд сонгосон бол (localStorage portal_theme=dark → <html data-theme="dark">, blade-ийн толгойн скрипт) */
:root[data-theme="dark"] { --bg: #000000; --fg: #FFFFFF; --muted: #A3A3A3; --faint: #8C8C8C; --line: #262626; --soft: #0E0E0E; --soft2: #1A1A1A; --mock: #141414; --btn: #FFFFFF; --btn-fg: #000000; --ring: rgba(255,255,255,.18); --shadow: 0 18px 40px rgba(0,0,0,.6); --logo-invert: 1; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body { font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { color: inherit; }
img { display: block; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: clamp(20px, 4vw, 40px); padding-right: clamp(20px, 4vw, 40px); }
.logo { height: 26px; width: auto; filter: invert(var(--logo-invert)); }
.logo--text { font-weight: 700; font-size: 18px; text-decoration: none; }

/* толгой + хэл */
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: calc(env(safe-area-inset-top) + 20px); padding-bottom: 20px; }
.hdr__ctl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.theme { display: flex; gap: 2px; padding: 4px; border-radius: 12px; background: var(--soft); }
.theme button { height: 30px; padding: 0 9px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); display: flex; align-items: center; gap: 6px; font-size: 13px; }
.theme button[aria-pressed="true"] { background: var(--bg); color: var(--fg); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.theme button span { display: none; }
@media (min-width: 640px) { .theme button span { display: inline; } }
.langs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--soft); font-size: 13px; }
.langs a { padding: 7px 12px; border-radius: 9px; color: var(--muted); text-decoration: none; }
.langs a[aria-current="true"] { background: var(--bg); color: var(--fg); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 16px; padding-bottom: 64px; }
.hero__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--faint); text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(32px, 5vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -.025em; }
.hero__sub { margin: 0; font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 520px; }
.perks { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.perks li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.perks span { width: 36px; height: 36px; border-radius: 10px; background: var(--soft); display: flex; align-items: center; justify-content: center; flex: none; }
.btn { height: 52px; padding: 0 24px; border-radius: 14px; border: 0; background: var(--btn); color: var(--btn-fg); font-size: 16px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.btn--sm { height: 48px; padding: 0 22px; border-radius: 12px; font-size: 15px; }
.hero__art { flex: 1 1 320px; display: flex; justify-content: center; padding: 24px 0; border-radius: 32px; background: radial-gradient(closest-side, var(--soft2), var(--bg)); }

/* утасны mockup */
.phone { width: 196px; height: 372px; border-radius: 32px; background: #0A0A0A; padding: 7px; flex: none; box-shadow: var(--shadow); }
.phone--lg { width: 270px; height: 540px; }
.phone__scr { width: 100%; height: 100%; border-radius: 26px; background: #FFFFFF; color: #0A0A0A; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.phone__notch { position: absolute; top: 8px; left: 50%; margin-left: -28px; width: 56px; height: 16px; border-radius: 8px; background: #0A0A0A; z-index: 3; }
.scr-pad { padding: 40px 14px 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.skel { border-radius: 4px; background: #E5E5E5; height: 7px; }
.skel--t { height: 12px; width: 70%; } .skel--w { width: 90%; background: #EDEDED; } .skel--s { width: 60%; background: #EDEDED; }
.skel--in { height: 30px; border-radius: 8px; border: 1px solid #E5E5E5; background: transparent; margin-top: 6px; }
.skel--btn { height: 30px; border-radius: 8px; background: #0A0A0A; }
.tile { width: 34px; height: 34px; border-radius: 9px; background: #000000; display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden; }
.tile img { width: 100%; height: 100%; }
.tile--44 { width: 44px; height: 44px; border-radius: 11px; } .tile--48 { width: 48px; height: 48px; border-radius: 12px; border: 1px solid #333333; } .tile--64 { width: 64px; height: 64px; border-radius: 15px; }
.wall { flex: 1; background: linear-gradient(160deg, #D9D9D9, #B8B8B8); padding: 44px 14px 0; }
.wall--sm { padding: 40px 10px 0; }
.toast { background: rgba(255,255,255,.92); border-radius: 16px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.toast__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.toast__h { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; } .toast__h b { font-weight: 700; } .toast__h span { font-size: 9px; color: #6B6B6B; }
.toast__b { font-size: 10.5px; line-height: 1.35; }
.icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 8px; margin-top: 26px; }
.icons i { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.7); justify-self: center; display: block; }
.icons .app { justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9px; font-weight: 600; color: #0A0A0A; }
.ring { box-shadow: 0 0 0 2px #0A0A0A, 0 0 0 7px var(--ring); }
.dim { position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #F2F2F2; border-radius: 16px 16px 0 0; padding: 10px 10px 16px; display: flex; flex-direction: column; gap: 6px; font-size: 9.5px; color: #0A0A0A; }
.sheet__grip { width: 30px; height: 4px; border-radius: 2px; background: #C4C4C4; align-self: center; }
.sheet__app { display: flex; gap: 8px; align-items: center; padding: 4px 2px 6px; }
.sheet__row { background: #FFFFFF; border-radius: 8px; padding: 7px 9px; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.sheet__row small { color: #6B6B6B; font-size: 8px; }
.sheet__host { color: #6B6B6B; }
.ios-bar { position: absolute; left: 0; right: 0; bottom: 0; background: #F5F5F5; border-top: 1px solid #E5E5E5; padding: 8px 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.ios-bar__url { height: 24px; border-radius: 8px; background: #FFFFFF; border: 1px solid #E5E5E5; font-size: 9px; color: #525252; display: flex; align-items: center; justify-content: center; }
.ios-bar__btns { display: flex; justify-content: space-around; color: #0A0A0A; }
.ios-bar__btns span { width: 26px; height: 26px; border-radius: 13px; display: flex; align-items: center; justify-content: center; }
.add { padding: 34px 12px 0; display: flex; flex-direction: column; gap: 14px; background: #F2F2F2; flex: 1; font-size: 10px; color: #0A0A0A; }
.add__nav { display: flex; justify-content: space-between; align-items: center; } .add__nav .ok { font-weight: 700; padding: 4px 8px; border-radius: 8px; }
.add__card { background: #FFFFFF; border-radius: 12px; padding: 12px; display: flex; gap: 10px; align-items: center; }
.add__card div { display: flex; flex-direction: column; gap: 6px; flex: 1; } .add__card b { font-size: 11px; border-bottom: 1px solid #E5E5E5; padding-bottom: 6px; } .add__card small { font-size: 9px; color: #6B6B6B; }
.add__hint { font-size: 9px; color: #6B6B6B; line-height: 1.4; padding: 0 4px; }
.chrome { padding: 30px 8px 6px; display: flex; align-items: center; gap: 6px; background: #F5F5F5; border-bottom: 1px solid #E5E5E5; }
.chrome__url { flex: 1; height: 26px; border-radius: 13px; background: #FFFFFF; border: 1px solid #E5E5E5; display: flex; align-items: center; gap: 4px; padding: 0 10px; font-size: 9.5px; color: #525252; }
.chrome__btn { width: 26px; height: 26px; border-radius: 13px; display: flex; align-items: center; justify-content: center; color: #0A0A0A; }
.chrome__install { height: 22px; padding: 0 8px; border-radius: 11px; background: #0A0A0A; color: #FFFFFF; font-size: 9px; font-weight: 600; display: flex; align-items: center; }
.menu { position: absolute; top: 56px; right: 8px; width: 118px; background: #FFFFFF; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.18); padding: 6px 0; font-size: 9.5px; color: #0A0A0A; }
.menu div { padding: 6px 12px; } .menu .on { font-weight: 700; }
.dlg { position: absolute; left: 14px; right: 14px; top: 120px; background: #FFFFFF; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); padding: 12px; font-size: 10px; color: #0A0A0A; display: flex; flex-direction: column; gap: 10px; }
.dlg__t { font-weight: 700; font-size: 11px; } .dlg__app { display: flex; gap: 8px; align-items: center; } .dlg__app small { color: #6B6B6B; font-size: 8.5px; display: block; }
.dlg__btns { display: flex; justify-content: flex-end; gap: 10px; } .dlg__btns span { padding: 5px 10px; border-radius: 7px; } .dlg__btns .ok { background: #0A0A0A; color: #FFFFFF; font-weight: 600; }
.prof { padding: 36px 12px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; font-size: 10px; color: #0A0A0A; }
.prof__t { font-size: 15px; font-weight: 700; }
.prof__card { border: 1px solid #E5E5E5; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.prof__card b { font-size: 10px; display: flex; align-items: center; gap: 5px; } .prof__card small { font-size: 8.5px; color: #6B6B6B; }
.prof__btn { height: 26px; border-radius: 7px; background: #0A0A0A; color: #FFFFFF; font-size: 9.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.prof__row { height: 26px; border-radius: 8px; background: #F5F5F5; }
.perm { position: absolute; left: 22px; right: 22px; top: 130px; background: #F2F2F2; border-radius: 14px; overflow: hidden; text-align: center; color: #0A0A0A; }
.perm__t { padding: 12px 10px 10px; display: flex; flex-direction: column; gap: 4px; } .perm__t b { font-size: 10px; line-height: 1.3; } .perm__t small { font-size: 8px; color: #6B6B6B; }
.perm__btns { display: flex; border-top: 1px solid #D4D4D4; font-size: 10px; } .perm__btns span { flex: 1; padding: 8px 0; color: #525252; } .perm__btns span + span { border-left: 1px solid #D4D4D4; color: #0A0A0A; font-weight: 700; border-radius: 0 0 14px 0; }
.desk { width: 100%; max-width: 300px; border-radius: 12px; background: #FFFFFF; color: #0A0A0A; box-shadow: var(--shadow); overflow: hidden; font-size: 10px; }
.desk__bar { height: 30px; background: #F5F5F5; border-bottom: 1px solid #E5E5E5; display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.desk__dots { display: flex; gap: 4px; } .desk__dots i { width: 8px; height: 8px; border-radius: 4px; background: #D4D4D4; display: block; }
.desk__url { flex: 1; height: 20px; border-radius: 10px; background: #FFFFFF; border: 1px solid #E5E5E5; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; font-size: 9px; color: #525252; }
.desk__body { padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 120px; position: relative; }
.desk__menu { display: flex; gap: 10px; font-size: 9px; color: #525252; padding: 0 10px; height: 20px; align-items: center; background: #F5F5F5; }
.desk__menu .on { color: #0A0A0A; font-weight: 600; }
.desk__menu-on { border-radius: 4px; padding: 0 4px; color: #0A0A0A; font-weight: 600; }

/* алхмууд */
.steps { padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; }
.steps__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.steps__head h2 { margin: 0; font-size: 32px; font-weight: 700; letter-spacing: -.015em; }
.steps__head p { margin: 6px 0 0; font-size: 15px; color: var(--muted); } .steps__head b { color: var(--fg); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 16px; background: var(--soft); }
.tabs button { height: 44px; padding: 0 16px; border-radius: 12px; border: 0; background: transparent; color: var(--muted); font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.tabs button[aria-selected="true"] { background: var(--btn); color: var(--btn-fg); }
.panel[hidden] { display: none; }
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-radius: 20px; background: #0A0A0A; color: #FFFFFF; margin-bottom: 20px; }
.callout__l { display: flex; align-items: center; gap: 14px; } .callout__l div { display: flex; flex-direction: column; gap: 4px; }
.callout b { font-size: 17px; font-weight: 600; } .callout small { font-size: 14px; color: #A3A3A3; }
.callout .btn { background: #FFFFFF; color: #000000; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; background: var(--bg); }
.card__art { background: var(--soft); min-height: 300px; padding: 28px 20px; display: flex; align-items: center; justify-content: center; }
.card__txt { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.card__h { display: flex; align-items: center; gap: 10px; }
.card__n { width: 28px; height: 28px; border-radius: 14px; background: var(--btn); color: var(--btn-fg); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.card h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; }
.card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.note { font-size: 15px; color: var(--muted); margin: 20px 0 0; } .note b { color: var(--fg); }

/* FAQ */
.faq { padding-top: 56px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 40px; border-top: 1px solid var(--line); }
.faq__intro { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.faq__intro span { width: 48px; height: 48px; border-radius: 14px; background: var(--btn); color: var(--btn-fg); display: flex; align-items: center; justify-content: center; }
.faq__intro h2 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.01em; }
.faq__intro p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.faq__list { flex: 999 1 480px; border-bottom: 1px solid var(--line); }
.faq__list details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq__list summary { cursor: pointer; font-size: 16px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list details[open] summary svg { transform: rotate(180deg); }
.faq__list p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 720px; }

/* footer */
.ftr { padding-top: 40px; padding-bottom: calc(env(safe-area-inset-bottom) + 56px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 14px; color: var(--muted); }
.ftr__co { display: flex; flex-direction: column; gap: 8px; } .ftr b { color: var(--fg); } .ftr a { color: var(--fg); } .ftr small { color: var(--faint); font-size: 14px; }
.ftr nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-content: flex-start; } .ftr nav a { color: var(--muted); text-decoration: none; }
@media (max-width: 480px) { .hero { gap: 28px; padding-bottom: 40px; } .steps__head h2 { font-size: 26px; } .tabs button { padding: 0 12px; font-size: 14px; } }
