/* ---------- fonts (self-hosted, same set as belarus.uzytak.com) ---------- */
@font-face { font-family: 'Cormorant'; font-display: swap; font-weight: 600; src: url('fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'Cormorant'; font-display: swap; font-weight: 600; src: url('fonts/cormorant-garamond-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02FF, U+1E00-1EFF; }
@font-face { font-family: 'Cormorant'; font-display: swap; font-weight: 600; src: url('fonts/cormorant-garamond-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+2116; }
@font-face { font-family: 'Cormorant'; font-display: swap; font-weight: 700; src: url('fonts/cormorant-garamond-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'Cormorant'; font-display: swap; font-weight: 700; src: url('fonts/cormorant-garamond-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02FF, U+1E00-1EFF; }
@font-face { font-family: 'Cormorant'; font-display: swap; font-weight: 700; src: url('fonts/cormorant-garamond-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+2116; }
@font-face { font-family: 'Inter Variable'; font-display: swap; font-weight: 100 900; src: url('fonts/inter-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+FEFF; }
@font-face { font-family: 'Inter Variable'; font-display: swap; font-weight: 100 900; src: url('fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02FF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Variable'; font-display: swap; font-weight: 100 900; src: url('fonts/inter-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter Variable'; font-display: swap; font-weight: 100 900; src: url('fonts/inter-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

:root {
  --cream: #faf6ee;
  --paper: #fffdf8;
  --parch: #f3ead9;
  --ink: #2b211a;
  --ink-soft: #5a4b3f;
  --muted: #8a7a6c;
  --line: #e6dccb;
  --gold: #b08d57;
  --gold-soft: #d9c39a;
  --red: #c8313e;
  --red-deep: #9b222d;
  --green: #3b7f4d;
  --night: #2a1d17;
  --serif: 'Cormorant', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter Variable', 'Segoe UI', system-ui, sans-serif;
  --shadow: 0 30px 70px -40px rgba(70, 40, 20, .45);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--red-deep); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(32px, 4.2vw, 50px); text-align: center; }
.sub { text-align: center; color: var(--ink-soft); max-width: 680px; margin: 14px auto 0; font-size: 18px; }

/* ---------- top bar ---------- */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(250, 246, 238, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 28px/1 var(--serif); letter-spacing: .01em; }
.logo img { width: 30px; height: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--red-deep); }
.tools { display: flex; align-items: center; gap: 10px; }
.bar-in .tools { margin-left: 8px; }
body[data-page]:not([data-page="main"]) .tools { margin-left: auto; }
.script { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); padding: 3px; }
.script button { border: 0; background: none; padding: 5px 11px; border-radius: 999px; cursor: pointer; font: 600 14px/1 var(--sans); color: var(--ink-soft); }
.script button[aria-pressed="true"] { background: var(--red); color: #fff; }
#lang { border: 1px solid var(--line); border-radius: 999px; background: var(--paper); padding: 7px 12px; font: 500 14px var(--sans); color: var(--ink); max-width: 215px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, #fff8ea 0%, var(--cream) 55%); }
.hero-bg { position: absolute; inset: 0 0 0 40%; background: url('img/bg-engraving.webp') center right / cover no-repeat; opacity: .22;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 72px 24px 64px; }
.kicker { margin: 0 0 14px; color: var(--red-deep); font: 600 14px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { font-size: clamp(64px, 10vw, 128px); letter-spacing: -.01em; color: var(--ink); }
.anniv { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 4px 0 0; }
.anniv b { font: 700 clamp(42px, 5.4vw, 68px)/1 var(--serif); font-variant-numeric: lining-nums; color: var(--red); text-transform: uppercase; letter-spacing: .03em; }
.anniv > span { max-width: 270px; padding-left: 16px; border-left: 2px solid var(--red); color: var(--red-deep); font: 600 13.5px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.anniv b .cyr-sub { font-size: .42em; letter-spacing: .06em; margin-top: .2em; }
.anniv > span .cyr-sub { font-size: .92em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); max-width: 560px; margin: 18px 0 0; }
.slogan { font: 600 italic clamp(24px, 2.6vw, 32px)/1.25 var(--serif); color: var(--red-deep); margin: 22px 0 0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-block; padding: 13px 24px; border-radius: 999px; text-decoration: none; font: 600 16px/1 var(--sans); transition: transform .2s, box-shadow .2s, background .2s; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 14px 30px -14px rgba(155, 34, 45, .7); }
.btn-red:hover { background: var(--red-deep); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--gold-soft); color: var(--ink); background: rgba(255, 253, 248, .7); }
.btn-ghost:hover { border-color: var(--gold); transform: translateY(-1px); }
.status { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; color: var(--muted); font-size: 14px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(200, 49, 62, .5); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(200, 49, 62, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 49, 62, 0); } }

.hero-art { position: relative; height: 460px; }
.years { position: absolute; left: 0; right: 0; top: 6px; display: flex; justify-content: space-between; font: 700 22px/1 var(--serif); color: var(--gold); letter-spacing: .06em; }
.years span { padding: 6px 14px; border: 1px solid var(--gold-soft); border-radius: 999px; background: rgba(255, 253, 248, .75); }
.years .now { color: #fff; background: var(--red); border-color: var(--red); }
.art-book { position: absolute; left: 6%; bottom: 40px; width: 74%; filter: drop-shadow(0 30px 30px rgba(70, 40, 20, .25)); }
.art-stork { position: absolute; right: 2%; bottom: 120px; width: 40%; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 18px 22px rgba(70, 40, 20, .25)); }
.art-lens { position: absolute; left: 0; top: 70px; width: 34%; animation: float 8s 1s ease-in-out infinite; transform-origin: center; }
.letters { position: absolute; left: 40%; top: 118px; display: flex; gap: 10px; }
.letters span { font: 700 34px/1 var(--serif); color: var(--red-deep); opacity: .85; animation: bob 5s ease-in-out infinite; }
.letters span:nth-child(2) { animation-delay: .4s; color: var(--gold); }
.letters span:nth-child(3) { animation-delay: .8s; }
.letters span:nth-child(4) { animation-delay: 1.2s; color: var(--gold); }
.letters span:nth-child(5) { animation-delay: 1.6s; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
@keyframes bob { 50% { transform: translateY(-8px); } }

.band { height: 51px; background: url('img/band-red.svg') repeat-x center / auto 51px; }
.band-hero { position: relative; height: 34px; background-size: auto 34px; clip-path: inset(0 100% 0 0); animation: stitch 2.6s .8s cubic-bezier(.6, 0, .3, 1) forwards; }
.band-small { height: 24px; background-size: auto 24px; }
@keyframes stitch { to { clip-path: inset(0 0 0 0); } }

/* ---------- sections ---------- */
.sec { padding: 96px 0; }
.sec-parch { background: var(--parch); }
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px; }
.cards3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 48px; }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px 26px; text-align: center; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 36px 70px -36px rgba(70, 40, 20, .55); }
.card img { height: 108px; width: auto; object-fit: contain; margin-bottom: 14px; }
.card h3 { font-size: 30px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
a.card { text-decoration: none; color: inherit; display: block; }
.fam .chip { margin-top: 16px; }

.levels { list-style: none; margin: 48px auto 0; padding: 0; display: grid; gap: 14px; max-width: 900px; }
.lvl { display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; }
.lvl .num { font: 700 30px/1 var(--serif); color: var(--gold); text-align: center; }
.lvl h3 { font-size: 28px; }
.lvl p { margin: 2px 0 0; color: var(--ink-soft); }
.lvl .age { color: var(--red-deep); font-weight: 600; font-size: 14px; letter-spacing: .04em; }
.lvl-first { border-color: var(--red); box-shadow: 0 20px 50px -30px rgba(155, 34, 45, .6); }
.chip { display: inline-block; padding: 6px 12px; border-radius: 999px; font: 600 12.5px/1 var(--sans); letter-spacing: .04em; color: var(--ink-soft); background: var(--cream); border: 1px solid var(--line); white-space: nowrap; }
.chip-red { color: #fff; background: var(--red); border-color: var(--red); }
.chip-green { color: #fff; background: var(--green); border-color: var(--green); }

.abc { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.abc h2 { text-align: left; }
.abc-text p { color: var(--ink-soft); font-size: 18px; }
.abc-text .note { font-size: 14px; color: var(--muted); }
.more { font-weight: 600; }
.abc-box { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.lbl { display: block; font: 600 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 6px 0 10px; }
#abcIn { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font: 600 26px/1.3 var(--serif); background: var(--cream); color: var(--ink); margin-bottom: 18px; }
#abcOut { display: block; min-height: 1.4em; font: 700 34px/1.3 var(--serif); color: var(--red-deep); word-break: break-word; }

.sec-dark { background: radial-gradient(120% 120% at 50% 0%, #3a2820 0%, var(--night) 70%); color: #f6ecd9; }
.sec-dark .sub { color: #d9c7aa; }
.timeline { list-style: none; margin: 56px auto 0; padding: 0; max-width: 860px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), rgba(176, 141, 87, .2)); }
.timeline li { display: grid; grid-template-columns: 100px 1fr; gap: 40px; padding: 14px 0; position: relative; }
.timeline li::before { content: ''; position: absolute; left: 112px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--night); border: 2px solid var(--gold); }
.timeline li.key::before { background: var(--gold); }
.timeline li.now::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 6px rgba(200, 49, 62, .25); }
.timeline b { font: 700 26px/1.2 var(--serif); color: var(--gold-soft); text-align: right; padding-top: 6px; }
.timeline li.key b { color: #fff; }
.timeline p { margin: 0; font-size: 17px; line-height: 1.65; }
.dedication { max-width: 760px; margin: 56px auto 0; padding: 28px 32px; border: 1px solid rgba(217, 195, 154, .4); border-radius: 18px; font: 600 italic 22px/1.5 var(--serif); color: #f6ecd9; text-align: center; }

.support { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; max-width: 900px; }
.support h2 { text-align: left; }
.support p { color: var(--ink-soft); font-size: 18px; }

.foot { background: var(--cream); padding-bottom: 36px; }
.foot-in { padding-top: 28px; text-align: center; }
.foot p { margin: 6px 0; }
.muted { color: var(--muted); font-size: 14px; }

/* ---------- both scripts: Cyrillic line under the Łacinka line ---------- */
.cyr-sub { display: block; margin-top: .3em; font-size: .78em; opacity: .66; font-style: normal; }
h1 .cyr-sub, h2 .cyr-sub, h3 .cyr-sub { font-weight: 600; }
.kicker .cyr-sub { letter-spacing: .1em; }

/* ---------- subdomain pages ---------- */
.hero-sub .sub-in { position: relative; text-align: center; padding: 90px 24px 80px; max-width: 820px; }
.hero-sub .hero-bg { inset: 0; opacity: .14; -webkit-mask-image: none; mask-image: none; }
.sub-icon { width: 170px; height: auto; margin-bottom: 18px; animation: float 7s ease-in-out infinite; }
.hero-sub h1 { font-size: clamp(56px, 8vw, 96px); }
.hero-sub .lead { margin: 18px auto 0; }
.hero-sub .status, .hero-sub .cta { justify-content: center; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .art-stork, .art-lens, .letters span, .sub-icon, .dot { animation: none; }
  .band-hero { animation: none; clip-path: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .nav { display: none; }
  .tools { margin-left: auto; }
  .cards4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-art { height: 340px; }
  .hero-bg { inset: 0; opacity: .12; -webkit-mask-image: none; mask-image: none; }
  .abc, .support { grid-template-columns: 1fr; gap: 28px; }
  .support img { width: 150px; }
  .cards3 { grid-template-columns: 1fr; }
  .sec { padding: 72px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero-in { padding: 36px 16px 44px; }
  .logo { font-size: 24px; }
  .script button { padding: 5px 9px; }
  #lang { max-width: 120px; }
  .cards4 { grid-template-columns: 1fr; }
  .lvl { grid-template-columns: 40px 1fr; padding: 18px; gap: 14px; }
  .lvl .chip { grid-column: 2; justify-self: start; }
  .timeline::before { left: 8px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 34px; }
  .timeline li::before { left: 2px; top: 22px; }
  .timeline b { text-align: left; }
  .years { font-size: 18px; }
  .dedication { padding: 22px 18px; font-size: 19px; }
}
@media (max-width: 430px) {
  .logo span { display: none; }
  .bar-in { gap: 10px; }
  #lang { max-width: 128px; }
}

/* "Сям'я праектаў" — the same project links on every UZYTAK educational site */
.fam-grid { grid-template-columns: repeat(2, 1fr); }
.familynav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; max-width: 900px; margin: 0 auto 14px; font-size: 14px; }
.familynav b { width: 100%; text-align: center; font: 700 18px var(--serif); color: var(--ink); margin-bottom: 2px; }
.familynav a { color: var(--red-deep); text-decoration: none; font-weight: 600; }
.familynav a:hover { text-decoration: underline; }
.familynav .here { color: var(--muted); font-weight: 600; }
.familynav i { color: var(--gold); font-style: normal; }

/* about page */
.why { list-style: none; margin: 0 auto; padding: 0; max-width: 880px; display: grid; gap: 18px; }
.why li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow); }
.why .n { width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font: 700 24px var(--serif); }
.why h3 { font-size: 27px; margin-bottom: 6px; }
.why p { margin: 0; color: var(--ink-soft); font-size: 17px; }
.how { max-width: 760px; margin: 28px auto 0; padding-left: 22px; font-size: 18px; color: var(--ink-soft); display: grid; gap: 10px; }
.fam .chip { display: none; }

/* ---------- main page = learning (index.html, owner 2026-10-21): premium hero, lesson steps, numbers, devices ---------- */
.lp-hero { position: relative; overflow: hidden; color: #fbf3e2;
  background: radial-gradient(90% 120% at 80% 0%, #b8343f 0%, #8e1d28 38%, #4c0e15 100%); }
.lp-orn { position: absolute; inset: 0; background: url('img/bg-engraving.webp') center / cover no-repeat; opacity: .10; mix-blend-mode: screen; }
.lp-hero-in { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding: 84px 24px 72px; }
.lp-kicker { color: #f3d27a; }
.lp-hero h1 { font-size: clamp(46px, 6.4vw, 88px); line-height: 1.02; color: #fff8e8; letter-spacing: -.01em; text-wrap: balance; }
.lp-hero h1 .cyr-sub, .lp-lead .cyr-sub, .lp-note .cyr-sub { color: rgba(255, 240, 215, .72); }
.lp-lead { margin: 22px 0 30px; max-width: 34em; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: #f6e6cc; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.lp-cta-center { justify-content: center; margin-top: 40px; }
.lp-btn-start { padding: 19px 34px; font-size: 19px; background: linear-gradient(180deg, #f7d77e, #d9a93c); color: #3a1208;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .6); }
.lp-btn-start::before { content: '▶'; margin-right: 10px; font-size: .8em; }
.lp-btn-start:hover { transform: translateY(-2px); box-shadow: 0 24px 46px -16px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .6); }
.sec .lp-btn-start { color: #3a1208; }
.lp-btn-ghost { padding: 18px 26px; font-size: 17px; color: #fff3dc; border: 1.5px solid rgba(255, 236, 200, .55); }
.lp-btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.lp-note { margin: 18px 0 0; font-size: 14px; color: rgba(255, 236, 205, .8); letter-spacing: .02em; }
.lp-letters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.lp-letters span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 50%;
  border: 1.5px solid rgba(243, 210, 122, .65); color: #f3d27a; font: 700 22px/1 var(--serif); background: rgba(0, 0, 0, .12); }
.lp-devices { position: relative; min-height: 470px; }
.lp-tv { position: absolute; right: 0; top: 10px; width: 92%; padding: 12px 12px 22px; border-radius: 18px; background: #17110e;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8); }
.lp-tv::after { content: ''; position: absolute; left: 50%; bottom: -26px; width: 28%; height: 14px; transform: translateX(-50%);
  border-radius: 0 0 10px 10px; background: #120c09; }
.lp-tv img { display: block; width: 100%; border-radius: 6px; }
.lp-phone { position: absolute; width: 30%; padding: 8px; border-radius: 30px; background: #120c09; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .85); }
.lp-phone img { display: block; width: 100%; border-radius: 22px; }
.lp-phone-a { left: 2%; bottom: -10px; transform: rotate(-6deg); }
.lp-phone-b { left: 30%; bottom: -40px; transform: rotate(4deg); }
.lp-stork { position: absolute; right: -10px; bottom: 6px; width: 120px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45)); }
.lp-h2 { font-size: clamp(34px, 4.2vw, 52px); text-align: center; margin-bottom: 40px; }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.lp-steps li { position: relative; padding: 30px 24px 26px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lp-steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px;
  border-radius: 50%; background: linear-gradient(180deg, #c8313e, #8e1d28); color: #fff3dc; font: 700 26px/1 var(--serif); }
.lp-steps h3 { font-size: 26px; margin-bottom: 8px; }
.lp-steps p { margin: 0; color: var(--ink-soft); }
.lp-dark { background: radial-gradient(120% 120% at 50% 0%, #3a2820 0%, var(--night) 70%); color: #f6ecd9; }
.lp-dark .lp-h2 { color: #fff3dc; }
.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.lp-stats div { padding: 26px 12px; border-radius: 20px; border: 1px solid rgba(243, 210, 122, .25); background: rgba(255, 255, 255, .03); }
.lp-stats b { display: block; font: 700 clamp(44px, 5vw, 68px)/1 var(--serif); color: #f3d27a; }
.lp-stats span { display: block; margin-top: 8px; color: #e7d6b8; }
.lp-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 46px; }
.lp-shots img { width: 100%; border-radius: 26px; border: 8px solid #120c09; box-shadow: 0 30px 60px -26px rgba(0, 0, 0, .9); }
.lp-shots img:nth-child(even) { transform: translateY(26px); }
.lp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.lp-card { display: block; padding: 32px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); color: inherit; text-decoration: none; }
.lp-card img { width: 84px; height: 84px; }
.lp-card h3 { font-size: 34px; margin: 10px 0 12px; }
.lp-card ul { margin: 0; padding-left: 20px; }
.lp-card li { margin: 7px 0; }
.lp-card p { margin: 0 0 14px; color: var(--ink-soft); }
.lp-link { transition: transform .2s, box-shadow .2s; }
.lp-link:hover { transform: translateY(-3px); box-shadow: 0 40px 70px -40px rgba(70, 40, 20, .6); }
.lp-more { color: var(--red-deep); font-weight: 600; }
.lp-more::after { content: ' →'; }
.lp-dev { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lp-dev div { padding: 24px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.lp-dev h3 { font-size: 26px; margin-bottom: 8px; }
.lp-dev p { margin: 0 0 14px; color: var(--ink-soft); font-size: 15px; }
.lp-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font: 600 13px/1.2 var(--sans); }
.lp-badge.now { background: #e3f1e6; color: var(--green); }
.lp-badge.soon { background: #f6ead2; color: #8a6420; }
@media (max-width: 1020px) {
  .lp-steps, .lp-dev, .lp-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .lp-hero-in { grid-template-columns: 1fr; padding: 54px 20px 64px; }
  .lp-devices { min-height: 0; aspect-ratio: 1 / .8; }
  .lp-two { grid-template-columns: 1fr; }
  .lp-shots { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .lp-steps, .lp-dev { grid-template-columns: 1fr; }
  .lp-btn-start { width: 100%; text-align: center; }
  .lp-stork { width: 80px; }
}

.lp-why { background: linear-gradient(180deg, #fffaf0, var(--cream)); }
.lp-why-lead { max-width: 760px; margin: -18px auto 34px; text-align: center; font: 600 clamp(20px, 2.2vw, 26px)/1.45 var(--serif); color: var(--red-deep); }
.lp-why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; counter-reset: w; }
.lp-why-list li { position: relative; padding: 24px 22px 20px 70px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.lp-why-list li::before { counter-increment: w; content: counter(w); position: absolute; left: 20px; top: 22px; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; border: 1.5px solid var(--gold); color: var(--red-deep); font: 700 20px/1 var(--serif); }
.lp-why-list h3 { font-size: 23px; margin-bottom: 6px; }
.lp-why-list p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* support: every way to help, the cheapest for us first */
.pay { display: grid; gap: 12px; margin-top: 18px; max-width: 620px; }
.pay-m { display: block; padding: 14px 18px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.pay-m:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -20px rgba(70, 40, 20, .5); }
.pay-m b { display: block; font-size: 18px; color: var(--red-deep); }
.pay-m span { display: block; color: var(--ink-soft); font-size: 14px; }
.pay-main { background: linear-gradient(180deg, #c8313e, #9b222d); border-color: transparent; }
.pay-main b, .pay-main span { color: #fff7e6; }
.pay-sol { display: flex; gap: 14px; align-items: center; }
.pay-sol img { flex: none; width: 96px; height: 96px; background: #fff; border-radius: 8px; padding: 4px; }
.pay-sol code { display: block; margin: 6px 0; font-size: 11.5px; word-break: break-all; color: var(--ink); }
.pay-copy { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--gold); background: transparent; color: var(--red-deep); font: 600 13px var(--sans); cursor: pointer; }
.bar-in .logo { flex: none; margin-right: 14px; }
@media (max-width: 1400px) { .nav { gap: 16px; } .nav a { font-size: 14px; } }

/* support window (pay.js): opens from the gift box / button; premium cherry & gold */
.pm-lock, .pm-lock body { overflow: hidden; }
.pay-gift { cursor: pointer; transition: transform .25s; }
.pay-gift:hover, .pay-gift:focus-visible { transform: rotate(-4deg) scale(1.05); }
.pm { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; background: rgba(32, 12, 10, .62); backdrop-filter: blur(6px); }
.pm[hidden] { display: none; }
.pm-panel { position: relative; width: min(1180px, 100%); max-height: calc(100vh - 36px); overflow: auto; padding: 34px 30px 30px; border-radius: 28px;
  background: radial-gradient(120% 80% at 50% 0%, #fffaf0, var(--cream)); border: 1.5px solid var(--gold-soft); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .7); animation: pm-in .25s ease-out; }
@keyframes pm-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.pm-panel h2 { font-size: clamp(30px, 3.6vw, 46px); }
.pm-sub { margin: 6px 0 24px; color: var(--ink-soft); }
.pm-x { position: absolute; right: 16px; top: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink-soft); }
.pm-goal { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 22px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid rgba(0,0,0,.08); border-left: 4px solid var(--red, #c8313e); }
.pm-goal h3 { margin: 0 0 6px; font-size: 17px; }
.pm-goal p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.pm-goal-ic { font-size: 26px; line-height: 1; }
.pm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: start; }
.pm-card { position: relative; padding: 22px 20px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pm-best { border: 2px solid var(--gold); }
.pm-head { display: flex; gap: 14px; }
.pm-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #f6ead2; font-size: 24px; }
.pm-head h3 { font: 700 22px/1.15 var(--serif); }
.pm-head p { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-soft); }
.pm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.pm-chips span { padding: 5px 10px; border-radius: 10px; background: var(--parch); font: 600 12.5px/1.2 var(--sans); }
.pm-body { display: grid; justify-items: center; gap: 10px; }
.pm-badge { justify-self: start; padding: 4px 10px; border-radius: 999px; background: #e3f1e6; color: var(--green); font: 700 12px/1.3 var(--sans); }
.pm-btn { display: block; width: 100%; padding: 14px 18px; border-radius: 999px; text-align: center; text-decoration: none; font: 700 16px/1.2 var(--sans);
  background: linear-gradient(180deg, #f7d77e, #d9a93c); color: #3a1208; box-shadow: 0 12px 26px -14px rgba(120, 70, 10, .8); transition: transform .15s; }
.pm-btn:hover { transform: translateY(-2px); }
.pm-btn-alt { background: linear-gradient(180deg, #c8313e, #9b222d); color: #fff7e6; }
.pm-qr { margin: 2px 0 8px; text-align: center; }
.pm-qr img { width: 132px; height: 132px; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.pm-qr figcaption { font-size: 12px; color: var(--muted); }
.pm-coin { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--parch); }
.pm-coin button { padding: 8px 20px; border: 0; border-radius: 999px; background: transparent; font: 700 15px var(--sans); color: var(--ink-soft); cursor: pointer; }
.pm-coin button.on { background: var(--red-deep); color: #fff7e6; }
.pm-addr { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--gold); background: #fffdf6; font-size: 12px; word-break: break-all; text-align: center; }
.pm-copy { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--gold); background: var(--paper); font: 600 14px var(--sans); color: var(--red-deep); cursor: pointer; }
.pm-warn { margin: 4px 0 0; padding: 10px 12px; border-radius: 12px; background: #fdf3dc; color: #7a4e10; font-size: 13px; }
@media (max-width: 900px) { .pm-goal { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 22px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid rgba(0,0,0,.08); border-left: 4px solid var(--red, #c8313e); }
.pm-goal h3 { margin: 0 0 6px; font-size: 17px; }
.pm-goal p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.pm-goal-ic { font-size: 26px; line-height: 1; }
.pm-grid { grid-template-columns: 1fr; } .pm-panel { padding: 26px 16px 20px; } }

/* thank-you after a payment (?dziakuj): hearts rise, Kore says thank you */
.ty { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 18px; background: rgba(32, 12, 10, .55); backdrop-filter: blur(4px); overflow: hidden; }
.ty-hearts i { position: absolute; bottom: -60px; font-style: normal; animation: ty-up 4.5s ease-in infinite; opacity: 0; }
@keyframes ty-up { 0% { transform: translateY(0) scale(.7); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(-115vh) rotate(25deg) scale(1.2); opacity: 0; } }
.ty-card { position: relative; max-width: 520px; padding: 34px 30px; border-radius: 28px; text-align: center; background: var(--paper); border: 2px solid var(--gold); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .7); animation: pm-in .4s ease-out; }
.ty-card h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--red-deep); margin: 8px 0; }
.ty-card p { color: var(--ink-soft); }
.ty-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
