:root {
	--bg: #14151a;
	--mid: #1a1c23;
	--card: #191b22;
	--card-head: #23262f;
	--input: #23262f;
	--border: #34384a;
	--border-ui: #6b7080;
	--accent: #4338ca;
	--accent-hover: #6366f1;
	--accent-hi: #b4bdf3;
	--text: #e6e9f2;
	--text-main: #cfd4e3;
	--muted: #cbd0dd;
	--faint: #b8bfcf;
	--ok: #4ade80;
	--warn: #fbbf24;
	--bad: #fca5a5;
	--severe: #991b1b;
	--sky: #7dd3fc;
	--violet: #c4b5fd;
	--glow: rgba(67, 56, 202, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	background: radial-gradient(ellipse 1200px 700px at 70% -10%, #1f2030 0%, var(--bg) 62%) no-repeat, var(--bg);
	color: var(--text-main);
	font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.65;
	overflow-x: hidden;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

main { flex: 1 0 auto; }

h1, h2, h3 { color: var(--text); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; }

a { color: var(--accent-hi); }
a:hover { color: #d4d9fa; }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 6px; }

img, svg { max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip, .skip:visited { color: #14151a !important; }
.skip:focus { top: 12px; }

.bn { white-space: nowrap; }
.bi { display: inline-block; width: 1.05em; height: 1.05em; border-radius: 0.24em; vertical-align: -0.17em; margin-right: 0.3em; }
.btn .bi { margin-right: 0.35em; }

.nav { position: sticky; top: 0; z-index: 20; background: rgba(20, 21, 26, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav .wrap { max-width: 1280px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand img { width: 36px; height: 36px; border-radius: 9px; display: block; }
.sentinel { color: var(--accent-hi); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 6px 2px; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }
.nav-back { white-space: nowrap; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-app { white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.btn-primary { background: var(--accent); border-color: #6f66ee; color: #fff; }
.btn-primary:hover { background: #3730a3; color: #fff; }
.btn-outline { border-color: var(--border-ui); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-outline:hover { border-color: var(--accent-hi); color: var(--text); }
.btn-sm { padding: 8px 16px; font-size: 14px; }

.eyebrow, .kicker { display: inline-block; color: var(--accent-hi); background: rgba(67,56,202,0.18); border: 1px solid rgba(180,189,243,0.35); font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; padding: 5px 14px; }

.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); margin-bottom: 20px; }
.hero h1 .accent { color: var(--accent-hi); }
.hero .lede { color: var(--muted); font-size: 17.5px; max-width: 560px; margin-bottom: 28px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; margin-top: 26px; color: var(--muted); font-size: 14.5px; }
.hero-pills li { display: inline-flex; align-items: center; gap: 8px; }
.hero-art { display: flex; justify-content: center; }

.dot { width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto; display: inline-block; }
.dot.ok { background: var(--ok); }
.dot.sky { background: var(--sky); }
.dot.violet { background: var(--violet); }
.dot.warn { background: var(--warn); }
.dot.bad { background: var(--bad); }

.phone { width: 100%; max-width: 300px; background: #0a0b10; border: 3px solid var(--border); border-radius: 34px; padding: 10px; box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 120px var(--glow); }
.phone img { display: block; width: 100%; height: auto; border-radius: 24px; }

.section { padding: 64px 0; }
.section.alt { background: linear-gradient(180deg, var(--mid) 0%, var(--bg) 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 700px; margin: 0 auto 40px; text-align: center; }
.section-head .kicker { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16.5px; }

.fn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 26px 24px; min-width: 0; }
.card h3 { font-size: 20px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.card p { color: var(--muted); font-size: 15px; }
.card ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; display: grid; gap: 6px; }
.card ul strong { color: var(--text); font-weight: 600; }
.card.sos { border-color: rgba(252,165,165,0.45); }
.sev { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { font-size: 13px; font-weight: 600; border-radius: 7px; padding: 3px 12px; border: 1px solid var(--border-ui); background: var(--input); }
.chip.info { color: var(--accent-hi); }
.chip.warn { color: var(--warn); }
.chip.bad { color: var(--bad); }
.chip.severe { color: #fff; background: var(--severe); border-color: var(--bad); }

.flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; position: relative; }
.flow li { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 22px 20px; min-width: 0; }
.flow li + li::before { content: ""; position: absolute; left: -30px; top: 50%; width: 24px; height: 2px; background: var(--accent-hi); }
.flow li + li::after { content: ""; position: absolute; left: -12px; top: calc(50% - 5px); border-left: 8px solid var(--accent-hi); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.flow .tag { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 6px; }
.flow h3 { font-size: 18px; margin-bottom: 8px; }
.flow p { color: var(--muted); font-size: 14.5px; }
.flow li.hl { border-color: var(--accent-hi); background: rgba(67,56,202,0.14); }
.flow-note { max-width: 820px; margin: 28px auto 0; display: grid; gap: 10px; }
.note { background: rgba(67,56,202,0.12); border-left: 3px solid var(--accent-hi); border-radius: 8px; padding: 14px 18px; color: var(--text-main); font-size: 15.5px; }
.note strong { color: var(--text); }

.states { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.st { font-size: 13px; font-weight: 600; border-radius: 999px; padding: 3px 12px; border: 1px solid; }
.st.q { color: var(--muted); border-color: var(--border-ui); }
.st.s { color: var(--accent-hi); border-color: rgba(180,189,243,0.6); }
.st.ok { color: var(--ok); background: rgba(74,222,128,0.1); border-color: rgba(74,222,128,0.6); }
.st.bad { color: var(--bad); background: rgba(252,165,165,0.1); border-color: rgba(252,165,165,0.6); }

.shots { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.shots figure { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.shots .phone { max-width: 220px; padding: 7px; border-radius: 26px; border-width: 2px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.shots .phone img { border-radius: 19px; }
.shots figcaption { text-align: center; font-size: 14px; color: var(--muted); }
.shots figcaption strong { display: block; color: var(--text); font-size: 15px; }

.req { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 980px; margin: 0 auto; }
.req li { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; color: var(--muted); font-size: 15px; }
.req li strong { color: var(--text); display: block; font-size: 16px; }
.tick { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: rgba(74,222,128,0.14); color: var(--ok); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.tick svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.badge { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); background: rgba(255,255,255,0.08); border: 1px solid var(--border); border-radius: 999px; padding: 3px 11px; }
.badge-live { color: var(--ok); background: rgba(74,222,128,0.12); border-color: rgba(74,222,128,0.45); }

.dl-card { max-width: 640px; margin: 0 auto; background: var(--card); border: 1px solid var(--accent-hi); border-radius: 18px; padding: 34px 30px; text-align: center; box-shadow: 0 0 60px var(--glow); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.dl-card .badge { align-self: center; }
.dl-card .and { width: 64px; height: 64px; border-radius: 16px; background: rgba(74,222,128,0.14); border: 1px solid rgba(74,222,128,0.5); color: var(--ok); display: flex; align-items: center; justify-content: center; }
.dl-card .and svg { width: 36px; height: 36px; fill: currentColor; }
.dl-card h3 { font-size: 24px; }
.dl-card p { color: var(--muted); font-size: 16px; }
.dl-meta { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 0; text-align: left; }
.dl-meta div { background: var(--input); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; min-width: 0; }
.dl-meta dt { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.dl-meta dd { margin: 2px 0 0; color: var(--text); font-size: 15px; }
.dl-meta .dl-sha { grid-column: 1 / -1; }
.dl-meta code { font-size: 13px; overflow-wrap: anywhere; word-break: break-all; color: var(--text); }
.dl-steps { width: 100%; text-align: left; margin: 4px 0 0; padding-left: 22px; color: var(--muted); font-size: 16px; display: grid; gap: 6px; }
.dl-steps strong { color: var(--text); font-weight: 600; }
.dl-card .dl-play { font-size: 15px; }
.dl-card .cta-row { justify-content: center; }
.dl-card .dl-web { font-size: 15px; max-width: 520px; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16.5px; color: var(--text); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--accent-hi); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding: 0 0 18px; font-size: 15.5px; }
.support { max-width: 820px; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: 15.5px; }

footer { border-top: 1px solid var(--border); padding: 30px 0; margin-top: 40px; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
footer .brand { font-size: 16px; }
footer .brand img { width: 30px; height: 30px; }
footer .fine { color: var(--muted); font-size: 14px; }
footer .fine a { color: var(--muted); }
footer .fine a:hover { color: var(--text); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { color: var(--muted); font-size: 14px; text-decoration: none; }
.foot-links a:hover { color: var(--text); }

.err-page { padding: 88px 0 72px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.err-page .code { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bad); }
.err-page h1 { font-size: clamp(32px, 6vw, 52px); margin: 8px 0 14px; }
.err-page p { color: var(--muted); margin-bottom: 26px; font-size: 17px; max-width: 520px; }
.err-page .phone { max-width: 200px; }

section[id] { scroll-margin-top: 76px; }

html.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
html.js .rv.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
	.shots { grid-template-columns: repeat(3, 1fr); }
	.flow { grid-template-columns: 1fr 1fr; gap: 20px; }
	.flow li + li::before, .flow li + li::after { display: none; }
}

@media (max-width: 860px) {
	.hero { padding: 44px 0 40px; }
	.hero-grid { grid-template-columns: 1fr; gap: 36px; }
	.section { padding: 48px 0; }
	.fn-grid, .req { grid-template-columns: 1fr; }
	.nav .wrap { flex-wrap: wrap; row-gap: 6px; }
	.nav-links { order: 3; width: 100%; gap: 18px; flex-wrap: wrap; }
	.nav-cta { margin-left: auto; }
	.err-page { grid-template-columns: 1fr; text-align: center; }
	.err-page p { margin-left: auto; margin-right: auto; }
	.err-page .phone { margin: 0 auto; max-width: 160px; }
}

@media (max-width: 600px) {
	.wrap { padding: 0 16px; }
	.nav-links { gap: 14px; }
	.nav-links a { font-size: 14px; }
	.nav-links .hide-sm { display: none; }
	section[id] { scroll-margin-top: 112px; }
	.hero .lede { font-size: 16.5px; }
	.cta-row .btn { flex: 1 1 100%; }
	.phone { max-width: 250px; }
	.card { padding: 22px 18px; }
	.flow { grid-template-columns: 1fr; gap: 26px; }
	.flow li + li::before { display: block; left: calc(50% - 1px); top: -22px; width: 2px; height: 16px; }
	.flow li + li::after { display: block; left: calc(50% - 6px); top: -9px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--accent-hi); border-bottom: 0; }
	.shots { grid-template-columns: 1fr 1fr; gap: 16px; }
	.shots .phone { max-width: 170px; }
	.dl-card { padding: 28px 18px; }
	.dl-meta { grid-template-columns: 1fr; }
}

@media (max-width: 480px) { .nav-back { display: none; } .nav-app { padding: 8px 12px; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn { transition: none; }
	html.js .rv { opacity: 1; transform: none; transition: none; }
}
