/* ZeroMDroid website. One stylesheet, no frameworks, no external fonts. Light by default, dark by system setting or by the toggle. */
:root {
  --bg: #fafaff;
  --bg-2: #f1f2fb;
  --card: #ffffff;
  --text: #14172b;
  --text-2: #464b69;
  --text-3: #6a6f8c;
  --line: rgba(20, 24, 70, 0.1);
  --line-2: rgba(20, 24, 70, 0.16);
  --accent: #4f5bff;
  --accent-2: #3b7bff;
  --accent-text: #3a45e6;
  --accent-soft: rgba(79, 91, 255, 0.1);
  --grad: linear-gradient(135deg, #6a6dff 0%, #3b7bff 100%);
  --ok: #0f7a57;
  --ok-soft: rgba(15, 122, 87, 0.1);
  --warn: #8a5a00;
  --warn-soft: rgba(255, 176, 0, 0.16);
  --err: #bd2b2b;
  --err-soft: rgba(189, 43, 43, 0.09);
  --radius: 14px;
  --radius-l: 22px;
  --shadow: 0 1px 2px rgba(20, 24, 70, 0.06), 0 10px 34px rgba(20, 24, 70, 0.09);
  --shadow-l: 0 2px 6px rgba(20, 24, 70, 0.08), 0 26px 70px rgba(30, 40, 120, 0.2);
  --wrap: 1160px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI Variable', 'Segoe UI', Inter, Roboto, 'Helvetica Neue', Arial, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) { --bg: #0c0e1b; --bg-2: #11142a; --card: #151934; --text: #eceefb; --text-2: #b5b9d6; --text-3: #8b90b0; --line: rgba(190, 200, 255, 0.12); --line-2: rgba(190, 200, 255, 0.2); --accent: #7280ff; --accent-text: #a3adff; --accent-soft: rgba(114, 128, 255, 0.16); --ok: #4cd6a1; --ok-soft: rgba(76, 214, 161, 0.12); --warn: #ffc65c; --warn-soft: rgba(255, 190, 70, 0.14); --err: #ff8585; --err-soft: rgba(255, 120, 120, 0.12); --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 34px rgba(0, 0, 0, 0.35); --shadow-l: 0 2px 6px rgba(0, 0, 0, 0.5), 0 26px 70px rgba(0, 0, 0, 0.55); color-scheme: dark; }
}
:root[data-theme='dark'] { --bg: #0c0e1b; --bg-2: #11142a; --card: #151934; --text: #eceefb; --text-2: #b5b9d6; --text-3: #8b90b0; --line: rgba(190, 200, 255, 0.12); --line-2: rgba(190, 200, 255, 0.2); --accent: #7280ff; --accent-text: #a3adff; --accent-soft: rgba(114, 128, 255, 0.16); --ok: #4cd6a1; --ok-soft: rgba(76, 214, 161, 0.12); --warn: #ffc65c; --warn-soft: rgba(255, 190, 70, 0.14); --err: #ff8585; --err-soft: rgba(255, 120, 120, 0.12); --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 34px rgba(0, 0, 0, 0.35); --shadow-l: 0 2px 6px rgba(0, 0, 0, 0.5), 0 26px 70px rgba(0, 0, 0, 0.55); color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
code, kbd, pre { font-family: var(--mono); font-size: 0.88em; }
code { padding: 0.1em 0.38em; border-radius: 6px; background: var(--accent-soft); color: var(--text); word-break: break-word; }
kbd { padding: 0.1em 0.45em; border-radius: 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; background: var(--card); }
pre { margin: 0 0 1em; padding: 14px 16px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); overflow-x: auto; }
pre code { padding: 0; background: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; background: var(--card); border-radius: 8px; }
.skip:focus { left: 12px; }
.i { flex: none; vertical-align: -0.2em; }
.muted { color: var(--text-3); }
.center { text-align: center; }
.mono { font-family: var(--mono); font-size: 0.85rem; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 40px, 800px); }

/* ---------- header ---------- */
.head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.head[data-scrolled] { border-bottom-color: var(--line); }
.head__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.logo:hover { text-decoration: none; }
.nav { display: flex; gap: 6px; margin-left: 8px; flex: 1; }
.nav a { padding: 8px 14px; border-radius: 99px; color: var(--text-2); text-decoration: none; font-size: 0.97rem; font-weight: 500; }
.nav a:hover { background: var(--accent-soft); color: var(--text); }
.nav a[aria-current='page'] { color: var(--accent-text); background: var(--accent-soft); }
.head__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.iconbtn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--text-2); cursor: pointer; }
.iconbtn:hover { color: var(--text); border-color: var(--line-2); }
.nav__toggle { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 99px; font: inherit; font-weight: 600; font-size: 0.97rem; line-height: 1.2; color: var(--text); background: var(--card); border: 1px solid var(--line-2); text-decoration: none; cursor: pointer; transition: transform 0.12s, box-shadow 0.15s, background 0.15s, filter 0.15s; }
.btn:hover { text-decoration: none; background: var(--bg-2); }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.55; cursor: default; }
.btn--primary { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 6px 20px rgba(70, 90, 240, 0.35); }
.btn--primary:hover { background: var(--grad); filter: brightness(1.07); box-shadow: 0 8px 26px rgba(70, 90, 240, 0.45); }
.btn--light { color: #2a35cc; background: #fff; border-color: transparent; }
.btn--light:hover { background: #fff; filter: brightness(0.96); }
.btn--sm { padding: 8px 14px; font-size: 0.9rem; }
.btn--lg { padding: 15px 28px; font-size: 1.05rem; }
.linkbtn { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border: 0; border-radius: 6px; background: var(--accent-soft); color: var(--accent-text); font: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer; }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--bg-2); }
.section--tight { padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 8vw, 96px); }
.section__head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.eyebrow { margin: 0 0 12px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--text-2); line-height: 1.55; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pagehead { padding: clamp(48px, 7vw, 88px) 0 clamp(16px, 3vw, 32px); text-align: center; background: radial-gradient(60% 120% at 50% -20%, var(--accent-soft), transparent 70%); }
.pagehead h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.pagehead .lead { max-width: 720px; margin: 0 auto; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 8vw, 96px); background: radial-gradient(70% 90% at 80% -10%, var(--accent-soft), transparent 65%), radial-gradient(50% 60% at 0% 20%, rgba(59, 123, 255, 0.07), transparent 70%); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__text .lead { max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); color: var(--text-2); font-size: 0.86rem; font-weight: 500; }
.chips .i { color: var(--accent-text); }
.hero__art { position: relative; }
.hero__phone { position: absolute; right: -10px; bottom: -34px; width: 27%; transform: rotate(3deg); }

/* ---------- screenshots ---------- */
.shot { margin: 0; position: relative; }
.shot img { width: 100%; }
.shot--desktop { border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-l); }
.shot__bar { display: flex; gap: 7px; padding: 10px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.shot__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.shot__bar i:nth-child(1) { background: #ff5f57; }
.shot__bar i:nth-child(2) { background: #febc2e; }
.shot__bar i:nth-child(3) { background: #28c840; }
.shot--phone { border-radius: 26px; overflow: hidden; border: 6px solid #12131c; background: #12131c; box-shadow: var(--shadow-l); max-width: 280px; margin-inline: auto; }
.shot--phone img { border-radius: 20px; }
.shot figcaption { padding: 10px 14px; font-size: 0.88rem; color: var(--text-3); }
.shot__missing { display: grid; place-items: center; min-height: 220px; padding: 20px; text-align: center; color: var(--text-3); font-size: 0.9rem; background: var(--bg-2); }
.shot img[data-zoomable] { cursor: zoom-in; }
.shot img { display: block; height: auto; }
/* a picture comes in the light and the dark theme of the app: the one that matches the page is shown */
.shot__img--dark { display: none !important; }
:root[data-theme="dark"] .shot__img--light { display: none !important; }
:root[data-theme="dark"] .shot__img--dark { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot__img--light { display: none !important; }
  :root:not([data-theme="light"]) .shot__img--dark { display: block !important; }
}
.shot__video { display: block; width: 100%; height: auto; background: #000; }
.shot--phone .shot__video { border-radius: 20px; }
.videos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 230px); gap: 22px; align-items: start; }
@media (max-width: 720px) { .videos { grid-template-columns: 1fr; } .videos .shot--phone { margin-inline: auto; } }
dialog.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
dialog.lightbox::backdrop { background: rgba(5, 8, 25, 0.82); }
dialog.lightbox img { max-width: 96vw; max-height: 92vh; width: auto; height: auto; border-radius: 12px; box-shadow: var(--shadow-l); }

/* ---------- cards and grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 24px; border-radius: var(--radius-l); background: var(--card); border: 1px solid var(--line); transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card h3 { margin: 14px 0 6px; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card { position: relative; }
.card p { margin: 0; color: var(--text-2); font-size: 0.97rem; }
.card__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(70, 90, 240, 0.32); }

/* ---------- tabs / split ---------- */
.tabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.tabs__list button { padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--card); color: var(--text-2); font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer; }
.tabs__list button[aria-selected='true'] { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 6px 18px rgba(70, 90, 240, 0.32); }
.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: rise 0.35s ease both; }
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split__text h2, .split__text h3 { margin-top: 0.3em; }
.split__text .lead { margin-top: 0; }
.split__art--phones { display: flex; gap: 16px; align-items: flex-start; justify-content: center; }
.split__art--phones .shot--phone { flex: 1 1 0; min-width: 0; max-width: 240px; }
.split__art--phones .shot--phone:nth-child(2) { margin-top: 28px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }
.feature { padding: clamp(40px, 6vw, 80px) 0; }
.feature:nth-of-type(even) { background: var(--bg-2); }
.feature--flip .split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.feature--flip .split__text { order: 2; }
.feature .card__icon { margin-bottom: 14px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 18px 0 8px; }
.jump a { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--text-2); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.jump a:hover { border-color: var(--accent); color: var(--accent-text); }

/* ---------- lists, steps, notes ---------- */
.ticks { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.ticks .i { color: var(--ok); margin-top: 0.22em; }
.steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: s; }
.steps li { padding: 24px; border-radius: var(--radius-l); background: var(--card); border: 1px solid var(--line); }
.steps__n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); font-weight: 800; }
.steps h3 { margin: 14px 0 6px; }
.steps p { margin: 0; color: var(--text-2); font-size: 0.97rem; }
.note { padding: 22px 24px; border-radius: var(--radius-l); background: var(--card); border: 1px solid var(--line); }
.note h2, .note h3 { font-size: 1.1rem; margin: 0 0 8px; }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.note--ok { background: var(--ok-soft); border-color: transparent; }
.note ul { margin: 0; padding-left: 1.2em; }
.platform { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 16px; border-radius: var(--radius-l); background: var(--card); border: 1px solid var(--line); text-align: center; text-decoration: none; color: var(--text); transition: transform 0.18s, box-shadow 0.18s; }
.platform:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.platform .i { color: var(--accent-text); }
.platform strong { font-size: 1.1rem; }
.platform span { color: var(--accent-text); font-size: 0.9rem; font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 880px; margin: 0 auto; }
.plan { padding: 30px; border-radius: var(--radius-l); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.plan h3 { font-size: 1.5rem; margin: 0; }
.plan__tag { margin: 0 0 12px; color: var(--text-3); font-weight: 600; }
.plan .ticks { flex: 1; margin-bottom: 20px; }
.plan .btn { align-self: flex-start; }
.plan--pro { border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 28px 18px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent-text); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p, .faq details ul { margin: 0 0 18px; color: var(--text-2); }
.cta { padding: clamp(56px, 8vw, 96px) 0; background: var(--grad); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { margin: 0 0 22px; opacity: 0.9; font-size: 1.15rem; }

/* ---------- guide ---------- */
.guide { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding: 32px 0 96px; align-items: start; }
.toc { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 2px; font-size: 0.92rem; }
.toc strong { margin-bottom: 8px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.toc a { padding: 6px 10px; border-radius: 8px; color: var(--text-2); text-decoration: none; }
.toc a:hover, .toc a[aria-current='true'] { background: var(--accent-soft); color: var(--accent-text); }
.prose { min-width: 0; }
.prose section { padding: 8px 0 36px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.prose section:last-child { border-bottom: 0; }
.prose h2 { font-size: 1.7rem; }
.prose ul, .prose ol { padding-left: 1.3em; color: var(--text-2); }
.prose li { margin-bottom: 0.45em; }
.prose p { color: var(--text-2); }
.prose .shot { margin: 18px 0; }
.prose details { margin: 8px 0; padding: 12px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.prose details summary { cursor: pointer; font-weight: 600; }
.pair { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 20px; align-items: center; margin: 18px 0; }
.pair .shot--phone { max-width: 200px; }
.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal__date { color: var(--text-3); font-size: 0.92rem; }
.legal .note h2 { margin-top: 0; }

/* ---------- downloads ---------- */
.dl { margin: 28px 0; padding: 28px; border-radius: var(--radius-l); background: var(--card); border: 1px solid var(--line); }
.dl__head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.dl__head h2 { font-size: 1.5rem; margin: 0; }
.dl__head p { margin: 0; }
.dl__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-text); }
.dl__list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.dl__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: var(--radius); background: var(--bg-2); }
.dl__what { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.dl__what span { color: var(--text-3); font-size: 0.9rem; }
.dl__sum { margin-top: 4px; font-size: 0.82rem; color: var(--text-3); }
.dl__sum summary { cursor: pointer; }
.dl__sum code { display: block; margin: 6px 0; word-break: break-all; }
.dl__how h3 { font-size: 1rem; margin: 0 0 4px; }
.dl__how p { margin: 0; color: var(--text-2); font-size: 0.96rem; }
.recommend { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 8px; padding: 20px 24px; border-radius: var(--radius-l); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.recommend[hidden] { display: none; }
.recommend div { display: flex; flex-direction: column; }
.recommend span { color: var(--text-2); font-size: 0.95rem; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 600; font-size: 0.93rem; }
.field i { font-weight: 400; color: var(--text-3); }
.field b { color: var(--err); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font: inherit; font-size: 1rem; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); border-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.4em; margin: 0; font-size: 0.95rem; }
.form__status[data-kind='ok'] { color: var(--ok); }
.form__status[data-kind='error'] { color: var(--err); }
.result { margin-top: 24px; padding: 24px; border-radius: var(--radius-l); background: var(--card); border: 1px solid var(--line); }
.result[hidden] { display: none; }
.result__head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.result__head div { display: flex; flex-direction: column; }
.result__head span { color: var(--text-2); font-size: 0.95rem; }
.result__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ok-soft); color: var(--ok); }
.result[data-state='bad'] .result__icon { background: var(--err-soft); color: var(--err); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 18px; }
.facts dt { color: var(--text-3); }
.facts dd { margin: 0; font-weight: 500; }
.devices { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.devices li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--bg-2); }
.devices li div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.devices li span { color: var(--text-3); font-size: 0.86rem; }
.cancel { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.cancel summary { cursor: pointer; font-weight: 600; color: var(--text-2); }
.cancel .form { margin-top: 12px; }

/* ---------- footer ---------- */
.foot { padding: 56px 0 40px; background: var(--bg-2); border-top: 1px solid var(--line); }
.foot__in { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot__brand p { margin: 12px 0 0; color: var(--text-2); font-size: 0.95rem; }
.foot__col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; font-size: 0.95rem; }
.foot__col h2 { margin: 0 0 6px; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.foot__col a { color: var(--text-2); text-decoration: none; }
.foot__col a:hover { color: var(--accent-text); text-decoration: underline; }
.foot__col p { margin: 0; }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal[data-in] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- small screens ---------- */
@media (max-width: 980px) {
  .hero__in, .split, .feature--flip .split { grid-template-columns: minmax(0, 1fr); }
  .feature--flip .split__text { order: 0; }
  .hero__art { max-width: 640px; margin-inline: auto; width: 100%; }
  .hero__phone { right: 4px; bottom: -22px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .guide { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .toc strong { width: 100%; }
  .toc a { border: 1px solid var(--line); }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .head__in { gap: 12px; height: 60px; }
  .nav__toggle { display: inline-grid; }
  .head__cta { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 60px; flex-direction: column; gap: 0; margin: 0; padding: 8px 20px 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav[data-open] { display: flex; }
  .nav a { padding: 14px 8px; border-radius: 10px; font-size: 1.05rem; }
  .plans, .field-row, .pair { grid-template-columns: minmax(0, 1fr); }
  .dl__row, .recommend { flex-direction: column; align-items: stretch; }
  .dl__row .btn, .recommend .btn { width: 100%; }
  .split__art--phones .shot--phone:nth-child(3) { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .pair .shot--phone { margin-inline: 0; }
}
@media (max-width: 480px) {
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
  .wrap, .wrap--narrow { width: min(100% - 32px, var(--wrap)); }
  .dl { padding: 20px; }
}
@media print { .head, .foot, .cta, .skip { display: none; } body { background: #fff; color: #000; } }

/* ---------- videos and the licence pictures ---------- */
.motion { display: grid; gap: 56px; }
.motion__item { display: grid; gap: 18px; }
.motion__text h3 { margin: 0 0 6px; }
.motion__text p { margin: 0; color: var(--text-2); max-width: 62ch; }
.grid--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 800px) { .grid--2 { grid-template-columns: 1fr; } }
.looks figcaption { text-align: center; }
.looks__phone { margin-top: 32px; }
