/* Dropwall — "the page is the object": the program's own window, journal and licence as stationery */
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-cyrillic-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; 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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; src: url("fonts/onest-cyrillic-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("fonts/onest-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; 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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f1f1ec;          /* paper */
  --alt: #e6e6e0;         /* alternate band */
  --card: #fbfbf8;
  --line: #d9d8d1;
  --ink: #181715;
  --muted: #55544e;
  --accent: #bfb21a;      /* brass */
  --accent-ink: #181715;
  --bronze: #c99a58;
  --field: #181715; --field-ink: #e8e8e3; --field-muted: #a9a8a0;
  --surface: #e6e6e0; --sheet-3: #d6d5ce;
  --display: "Unbounded", "Arial Black", sans-serif;
  --text: "Onest", "Segoe UI", Arial, sans-serif;
  --step-small: 0.875rem;
  --step-body: 1rem;
  --step-lead: 1.125rem;
  --step-h3: 1.1875rem;
  --step-h2: clamp(1.5rem, 1.2rem + 0.9vw, 1.875rem);
  --box: 1200px;
  --m: clamp(16px, 3vw, 24px);
  --section: clamp(48px, 5vw, 64px);
  --r: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: var(--step-body); line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
html[lang="ru"] .en, html[lang="en"] .ru { display: none !important; }

.box { max-width: var(--box); margin-inline: auto; padding-inline: var(--m); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px;
  background: var(--accent); color: var(--accent-ink); font: 600 var(--step-body)/1 var(--text); text-decoration: none; cursor: pointer; transition: background-color 150ms, transform 150ms; }
.btn:hover { background: #d1c42a; }
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: #f1f1ec; }
.btn--ink:hover { background: #2e2c28; }
.btn--line { background: transparent; color: var(--field-ink); box-shadow: inset 0 0 0 1.5px #55534d; } /* taste-skill-ignore: outline button on the dark hero */
.btn--line:hover { background: #26241f; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: var(--step-small); }
.tick { width: 18px; height: 18px; flex: none; color: #8a7d10; margin-top: 3px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: var(--field); color: var(--field-ink); }
.top__in { max-width: var(--box); margin-inline: auto; padding: 10px var(--m); display: flex; align-items: center; gap: 12px 28px; }
.mark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 800 17px/1 var(--display); text-transform: uppercase; letter-spacing: -0.02em; }
.mark svg { width: 20px; height: 26px; }
.nav { display: flex; gap: 4px 22px; flex: 1; font-size: 15px; }
.nav a { color: var(--field-muted); text-decoration: none; padding: 12px 0; white-space: nowrap; transition: color 150ms; }
.nav a:hover { color: var(--field-ink); }
.top__end { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: #26241f; }
.lang button { min-width: 40px; min-height: 38px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--field-muted); font: 600 13px/1 var(--text); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--field-ink); color: var(--ink); }

/* ---------- hero ---------- */
.hero { background: var(--field); color: var(--field-ink); background-image: radial-gradient(90% 120% at 85% 0%, #2a2620, var(--field) 60%); } /* taste-skill-ignore: soft gradient requested by the owner */
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: clamp(40px, 5vw, 64px); }
.hero__brand { display: flex; align-items: center; gap: 16px; font: 800 clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem)/1 var(--display); text-transform: uppercase; letter-spacing: -0.03em; }
.hero__icon { width: 1.5em; height: 1.5em; border-radius: 0.3em; flex: none; }
.hero__q { margin-top: 22px; font-size: 1.25rem; font-weight: 600; line-height: 1.35; }
.hero__sub { margin-top: 10px; font-size: var(--step-lead); color: #c9c8c1; max-width: 56ch; }
.hero__tag { margin-top: 14px; font-weight: 600; color: var(--accent); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__meta { margin-top: 14px; font-size: var(--step-small); color: var(--field-muted); }
.hero__meta a { color: var(--field-ink); }
.ss { padding: 10px 12px; border-radius: 10px; background: var(--alt); color: var(--ink); }

/* ---------- program window (interface fragment) ---------- */
.win { background: #fafafa; color: #181715; font: 400 14px/1.4 var(--text); border: 1px solid #d6d5cf; border-radius: 14px; overflow: hidden; } /* taste-skill-ignore: interface fragment / scalloped paper edge (mask, not a fill) */
.win__bar { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 14px; border-bottom: 1px solid #e3e2dc; font-weight: 600; } /* taste-skill-ignore: interface fragment / scalloped paper edge (mask, not a fill) */
.win__bar span:last-child { color: #6b6a64; font-weight: 400; font-size: 13px; } /* taste-skill-ignore: interface fragment / scalloped paper edge (mask, not a fill) */
.win__status { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 14px; border-bottom: 1px solid #e3e2dc; } /* taste-skill-ignore: interface fragment / scalloped paper edge (mask, not a fill) */
.win__state { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #1d5fbf; flex: none; }
.win[data-state="down"] .dot--conn { background: #b42318; }
.win__toggle { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: #181715; color: #fafafa; font: 600 14px/1 var(--text); cursor: pointer; transition: background-color 150ms, transform 150ms; }
.win__toggle:hover { background: #33312c; }
.win__toggle:active { transform: translateY(1px); }
.win__label { padding: 12px 16px 6px; color: #6b6a64; font-size: 13px; }
.win__rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 16px; border-top: 1px solid #efeee9; } /* taste-skill-ignore: interface fragment / scalloped paper edge (mask, not a fill) */
.win__rows li:first-child { border-top: 0; } /* taste-skill-ignore: interface fragment / scalloped paper edge (mask, not a fill) */
.win__rows .app { display: flex; align-items: center; gap: 10px; }
.win__rows .exe { color: #6b6a64; font-size: 13px; }
.win__rows .st { font-size: 13px; color: #1d5fbf; font-weight: 500; transition: color 200ms; }
.win[data-state="down"] .win__rows .st { color: #b42318; }
.st .down, .win[data-state="down"] .st .up, .conn .down, .win[data-state="down"] .conn .up, .win__toggle .down, .win[data-state="down"] .win__toggle .up { display: none; }
.win[data-state="down"] .st .down, .win[data-state="down"] .conn .down, .win[data-state="down"] .win__toggle .down { display: inline; }
.win__log { border-top: 1px solid #e3e2dc; padding: 10px 16px 14px; background: #f2f2f0; } /* taste-skill-ignore: interface fragment / scalloped paper edge (mask, not a fill) */
.win__log li { display: flex; gap: 14px; font-size: 13px; color: #3d3c37; padding: 3px 0; font-variant-numeric: tabular-nums; }
.win__log time { color: #6b6a64; flex: none; }
.win__log li.new { animation: logIn 360ms var(--ease); }
@keyframes logIn { from { opacity: 0; transform: translateY(-6px); } }
.chk { display: inline-block; width: 16px; height: 16px; border: 2px solid #8a8983; flex: none; }
.chk.on { border-color: #181715; background: #181715; box-shadow: inset 0 0 0 3px #fafafa; } /* taste-skill-ignore: interface fragment / scalloped paper edge (mask, not a fill) */

/* ---------- facts strip ---------- */
.facts { background: #201e1b; color: var(--field-ink); }
.facts__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 22px; }
.facts b { display: block; font-weight: 700; font-size: var(--step-lead); }
.facts span { font-size: var(--step-small); color: var(--field-muted); }

/* ---------- sections ---------- */
.sec { padding-block: var(--section); }
.sec--alt { background: var(--alt); }
.sec__head { max-width: 68ch; margin-bottom: 28px; }
.sec__head h2 { font: 800 var(--step-h2)/1.15 var(--display); text-transform: uppercase; letter-spacing: -0.02em; }
.sec__head p { margin-top: 10px; color: var(--muted); font-size: var(--step-lead); }
.sec__head--row { max-width: none; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.more { white-space: nowrap; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.sub { margin: 40px 0 16px; font-size: var(--step-h3); font-weight: 700; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.step, .feat, .mode, .plan, .mcard { background: var(--card); border-radius: var(--r); padding: 22px; }
.sec--alt .step, .sec--alt .feat, .sec--alt .mode, .sec--alt .mcard { background: #f7f7f3; }
.step h3, .feat h3 { font-size: var(--step-h3); font-weight: 700; line-height: 1.3; }
.step p:last-child, .feat p { margin-top: 6px; color: var(--muted); }
.step__st { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: var(--step-small); font-weight: 700; }
.step__st .n { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 800 13px/1 var(--display); color: #fff; }
.step--ok .step__st { color: #1d5fbf; } .step--ok .step__st .n { background: #1d5fbf; }
.step--drop .step__st { color: #b42318; } .step--drop .step__st .n { background: #b42318; }
.step--back .step__st { color: #7a5a22; } .step--back .step__st .n { background: var(--bronze); }
.who { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; }
.who li { display: flex; gap: 8px; font-size: 15px; }

.feat__ic { width: 40px; height: 40px; border-radius: 10px; background: var(--field); color: var(--bronze); display: grid; place-items: center; margin-bottom: 14px; }
.feat__ic svg { width: 20px; height: 20px; }

.modes { margin-top: 32px; }
.modes h3 { font-size: var(--step-h3); font-weight: 700; margin-bottom: 14px; }
.modes__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mode b { font-size: var(--step-lead); }
.mode__def { white-space: nowrap; display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--accent); vertical-align: 2px; }
.mode p { margin-top: 8px; color: var(--muted); }

/* ---------- price ---------- */
.price { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; align-items: start; }
.plan { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.plan--main { background: var(--card); box-shadow: inset 0 0 0 2px var(--accent); } /* taste-skill-ignore: brass rim marks the main plan */
.plan__name { font-weight: 700; color: var(--muted); }
.plan__cost { font: 800 2.25rem/1 var(--display); letter-spacing: -0.02em; }
.plan__cost span { font: 500 var(--step-body) var(--text); color: var(--muted); letter-spacing: 0; }
.plan__list { display: flex; flex-direction: column; gap: 8px; }
.plan__list li { display: flex; gap: 10px; }
.plan .btn { align-self: flex-start; }
.plan__note { font-size: var(--step-small); color: var(--muted); }
.plan__note a { color: var(--ink); font-weight: 600; }
.sha { font-size: 12px; word-break: break-all; }
.sums { font-size: var(--step-small); color: var(--muted); }
.sums summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.sums p { margin-top: 6px; }
.buy { margin-top: 10px; padding: 22px; margin-inline: -6px; background: var(--alt); border-radius: 14px; display: flex; flex-direction: column; gap: 14px; }
.buy h3 { font-size: var(--step-h3); font-weight: 700; }
.buy__lead { color: var(--muted); font-size: 15px; }
.buy__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.buy__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: var(--step-small); }
.field input { min-height: 46px; padding: 0 16px; border: 1px solid #a9a8a1; border-radius: 10px; background: #fff; color: var(--ink); font: 400 var(--step-body) var(--text); }
.field input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.buy__hint { min-height: 1.5em; font-size: var(--step-small); color: #8a2a1e; }
.check { display: flex; gap: 10px; font-size: 15px; align-items: flex-start; max-width: 70ch; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.check a { font-weight: 600; }
.buy__actions { display: flex; flex-wrap: wrap; gap: 16px 20px; margin-top: 6px; }
.buy button[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.buy__note { font-size: var(--step-small); color: var(--muted); }
.paytrust { display: flex; gap: 10px; align-items: flex-start; margin-top: 2px; padding: 12px 14px; border-radius: 12px; background: var(--paper, #fff); border: 1px solid rgba(0,0,0,.08); font-size: var(--step-small); color: var(--muted); }
.paytrust svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; color: currentColor; }
.paytrust b { color: inherit; font-weight: 700; }

/* ---------- materials ---------- */
.mcard { display: flex; flex-direction: column; gap: 6px; text-decoration: none; transition: transform 160ms var(--ease), background-color 160ms; }
.mcard:hover { transform: translateY(-3px); background: #fff; }
.mcard__tag { font-size: 13px; color: var(--muted); font-weight: 600; }
.mcard b { font-size: var(--step-h3); line-height: 1.3; }
.mcard__d { color: var(--muted); font-size: 15px; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; align-items: start; }
.faq__col { display: flex; flex-direction: column; gap: 12px; }
.q { background: var(--card); border-radius: 14px; }
.q summary { list-style: none; cursor: pointer; padding: 16px 20px; min-height: 44px; }
.q summary::-webkit-details-marker { display: none; }
.q__q { display: flex; justify-content: space-between; gap: 16px; font-weight: 600; }
.q__q::after { content: "+"; font: 800 18px/1.2 var(--display); flex: none; transition: transform 200ms var(--ease); }
.q[open] .q__q::after { transform: rotate(45deg); }
.q__a { padding: 0 20px 18px; color: var(--muted); }

/* ---------- footer ---------- */
.foot { background: var(--field); color: var(--field-ink); padding-top: 48px; }
.foot__in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot__brand p { margin-top: 12px; font-size: var(--step-small); color: var(--field-muted); max-width: 32ch; }
.foot__h { font-weight: 700; margin-bottom: 10px; }
.foot ul { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.foot ul a { color: var(--field-muted); text-decoration: none; }
.foot ul a:hover { color: var(--field-ink); }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-block: 18px 24px; font-size: 13px; color: var(--field-muted); }

/* ---------- back to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 999px; background: var(--ink); color: #e2c48d; box-shadow: 0 6px 18px rgba(0,0,0,.25), inset 0 0 0 1.5px rgba(226,196,141,.55); text-decoration: none; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 200ms var(--ease), transform 200ms var(--ease); } /* taste-skill-ignore: floating control needs a lift off any section colour */
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }

/* ---------- news page ---------- */
.news { padding-block: 40px var(--section); }
.news__body { max-width: var(--box); margin-inline: auto; padding-inline: var(--m); display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.news__side { position: sticky; top: 84px; }
.news__label { font-size: var(--step-body); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--alt); color: var(--ink); font: 600 13px/1 var(--text); cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.nlist { margin-top: 14px; }
.nlist li[hidden] { display: none; }
.nlist a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.nlist a:hover { background: var(--alt); }
.nlist a[aria-current] { background: var(--sheet-3); }
.nlist .t { display: block; font-size: 12px; color: var(--muted); }
.nlist b { display: block; margin-top: 2px; font-weight: 600; font-size: 15px; line-height: 1.3; }
.news__home { margin-top: 14px; }
.news__back { font-weight: 600; text-decoration: none; }
.news__follow { margin-top: 10px; font-size: 13px; color: var(--muted); }
.post__title { font: 800 clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem)/1.1 var(--display); text-transform: uppercase; letter-spacing: -0.02em; }
.post__lead { margin-top: 14px; font-size: var(--step-lead); max-width: 60ch; }
.post__tag { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.post__video { margin-top: 26px; }
.video { aspect-ratio: 16 / 9; border-radius: var(--r); background: var(--field); color: var(--field-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.video__play { width: 64px; height: 64px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.video__play svg { width: 26px; height: 26px; margin-left: 3px; }
.video__name { font-weight: 700; }
.post__video figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.post__text { margin-top: 32px; max-width: 66ch; }
.post__text h3 { font-size: var(--step-h3); font-weight: 700; margin-top: 28px; }
.post__text h3:first-child { margin-top: 0; }
.post__text p { margin-top: 10px; }
.steps { counter-reset: s; margin-top: 12px; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; min-height: 28px; }
.steps li + li { margin-top: 10px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 999px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font: 800 12px/1 var(--display); }
.dl { margin-top: 32px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px 16px; align-items: center; padding: 20px; border-radius: var(--r); background: var(--alt); }
.dl__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--accent); display: grid; place-items: center; }
.dl__icon svg { width: 22px; height: 22px; }
.dl__file b { display: block; }
.dl__file span, .dl__note { font-size: 13px; color: var(--muted); }
.dl__note { grid-column: 1 / -1; }
.share { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.share span { color: var(--muted); }
.share a, .share__copy { min-height: 44px; display: inline-flex; align-items: center; font: 600 var(--step-body)/1 var(--text); color: var(--ink); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.share a:hover, .share__copy:hover { color: #8a7d10; }

/* ---------- documents ---------- */
.doc { padding-block: 40px var(--section); }
.doc__in { max-width: 820px; }
.doc__title { font: 800 clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem)/1.15 var(--display); text-transform: uppercase; letter-spacing: -0.02em; }
.doc__meta { margin-top: 6px; color: var(--muted); }
.doc__meta + p:not(.doc__meta) { margin-top: 24px; }
.doc h2 { margin-top: 32px; font-size: var(--step-h3); font-weight: 700; }
.doc article p { margin-top: 10px; }
.doc article ul { margin: 8px 0 0 20px; list-style: disc; }
.doc article li + li { margin-top: 4px; }
.doc .num { font-weight: 600; }
.doc article a { word-break: break-word; }
.doc__en:has(.en) { margin-bottom: 20px; }
html[lang="ru"] .doc__en { display: none; }
html[lang="en"] .doc__en { padding: 12px 16px; border-radius: 12px; background: var(--alt); }
.doc__back { margin-top: 40px; font-weight: 600; }
.doc__back a { text-decoration: none; }

/* ---------- payment result pages ---------- */
.pay__box { margin-top: 24px; padding: 22px; border-radius: var(--r); background: var(--card); }
.pay__state { display: flex; align-items: center; gap: 12px; }
.spin { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 3px solid var(--alt); border-top-color: var(--ink); animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay__label { font-weight: 600; color: var(--muted); }
.pay__key { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.pay__key code { font: 700 clamp(1.05rem, .9rem + .8vw, 1.5rem)/1.2 ui-monospace, Consolas, monospace; letter-spacing: .02em; padding: 10px 14px; border-radius: 10px; background: var(--alt); word-break: break-all; }
.pay__mail { margin-top: 10px; color: var(--muted); }
.pay .steps { margin-top: 18px; }
.pay__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.pay__help { margin-top: 28px; color: var(--muted); }
.pay a:not(.btn) { color: var(--ink); font-weight: 600; }

/* motion */
.js [data-in] { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js [data-in].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-in] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
}

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  .nav { order: 3; flex-basis: 100%; overflow-x: auto; gap: 20px; scrollbar-width: none; }
  .top__in { flex-wrap: wrap; padding-bottom: 0; }
  .hero__in { grid-template-columns: 1fr; gap: 32px; }
  .facts__in { grid-template-columns: 1fr 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .price { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .news__body { grid-template-columns: 1fr; }
  .news__side { position: static; order: 2; }
}
/* ---------- phone ---------- */
@media (max-width: 640px) {
  .top .long { display: none; }
  .top__in { column-gap: 10px; }
  .mark { font-size: 15px; }
  .lang button { min-width: 36px; padding: 0 8px; }
  .grid3, .modes__row, .faq, .buy__fields { grid-template-columns: 1fr; }
  .faq__col + .faq__col { margin-top: 0; }
  .facts__in { gap: 14px; }
  .hero__brand { font-size: 2.1rem; }
  .win__rows .exe { display: none; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .dl { grid-template-columns: auto 1fr; }
  .dl .btn { grid-column: 1 / -1; }
  .to-top { right: 14px; bottom: 14px; }
}

/* ---------- real screenshots (2.6.13) ---------- */
.shot { margin: 0; }
.shot__frame { border-radius: 10px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); background: #f0f0f0; } /* taste-skill-ignore: a real app window needs a lift off the dark hero */
.shot__frame img { display: block; width: 100%; height: auto; }
.shot--hero[data-state="up"] .down, .shot--hero[data-state="down"] .up { display: none; }
.shot__cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 14px; font-size: var(--step-small); color: var(--field-muted); }
.shot__toggle { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--field-ink); color: var(--ink); font: 600 14px/1 var(--text); cursor: pointer; transition: background-color 150ms; }
.shot__toggle:hover { background: #fff; }
.shot--hero[data-state="down"] .shot__toggle { background: #e5484d; color: #fff; }
.shot__toggle .down, .shot--hero[data-state="down"] .shot__toggle .up { display: none; }
.shot--hero[data-state="down"] .shot__toggle .down { display: inline; }
.looks { margin-top: 40px; }
.looks h3 { margin-bottom: 16px; }
.look { margin: 0; }
.look__link { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #f0f0f0; aspect-ratio: 746 / 521; cursor: zoom-in; transition: transform 150ms var(--ease), box-shadow 150ms var(--ease); }
.look__link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.look__link img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.look figcaption { margin-top: 8px; font-size: var(--step-small); color: var(--muted); }
.looks__note { margin-top: 14px; font-size: var(--step-small); color: var(--muted); }
.look--faq { margin: 0 20px 18px; max-width: 520px; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10,10,9,.82); }
.lightbox img { display: block; max-width: min(96vw, 1100px); max-height: 90vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__x { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--field-ink); color: var(--ink); font: 600 24px/1 var(--text); cursor: pointer; }
@media (max-width: 640px) {
  .lightbox__x { top: 6px; right: 6px; }
  .look--faq { margin-inline: 16px; }
}
