/* Terms page. Same look as the main website: flat colours, ink outlines, hard shadows, yellow highlighter.
   Fonts: headings = Outfit, text = Inter, small labels / numbers = Space Grotesk, buttons names / code = JetBrains Mono. */

:root {
    color-scheme: light;
    --bg: #f6f2ea; --card: #fffdfa; --ink: #1b1813; --muted: #6a6356; --line: #e5ddcf; --soft: #f1ebe0; --band: #efe8da;
    --tint: #fbe8da; --tint-line: #f0cdb3; --hl: #ffd75e;
    --brand: #c94a06; --brand-ink: #b8450a; --brand-rgb: 201, 74, 6;
    --blue: #2f5bd0; --teal: #0e7c78; --amber: #d98e00; --rose: #cf3a6b; --green: #1c9a62; --crimson: #d6264a;
    --info-bg: #eaf0fd; --info-line: #b9caf3;
    --ok-bg: #e5f6ec; --ok-line: #a9dcc0; --ok-ink: #17724a;
    --warn-bg: #fff3d6; --warn-line: #f0d082; --warn-ink: #8a5a00;
    --err-bg: #fdecee; --err-line: #f3b6c0; --err-ink: #a3142f;
    --shadow: 0 1px 0 rgba(27, 24, 19, .04), 0 10px 24px -16px rgba(27, 24, 19, .22);
    --spring: cubic-bezier(.2, .9, .3, 1.1);
    --head: 'Outfit', system-ui, sans-serif;
    --text: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --num: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #14120e; --card: #1d1a15; --ink: #f3eee4; --muted: #a9a190; --line: #322d25; --soft: #26221b; --band: #1a1712;
    --tint: #3a2515; --tint-line: #5c3a20; --hl: rgba(255, 176, 32, .4);
    --brand: #e0580f; --brand-ink: #ff9a5c; --brand-rgb: 255, 122, 47;
    --blue: #7ea0ff; --teal: #3dd6c8; --amber: #ffbf3c; --rose: #ff7ba5; --green: #3ccf91; --crimson: #ff6382;
    --info-bg: #18213b; --info-line: #2c3b69;
    --ok-bg: #16322a; --ok-line: #25503f; --ok-ink: #62dba4;
    --warn-bg: #3a2e12; --warn-line: #66511c; --warn-ink: #ffcd6b;
    --err-bg: #3a1a20; --err-line: #6b2c38; --err-ink: #ff9aa9;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 12px 28px -16px rgba(0, 0, 0, .7);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body { font-family: var(--text); background: var(--bg); color: var(--ink); min-height: 100vh; overflow-x: hidden; line-height: 1.65; font-size: 16px; transition: background .3s, color .3s; }
a { color: var(--brand-ink); font-weight: 600; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; letter-spacing: -.02em; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid rgba(var(--brand-rgb), .5); outline-offset: 2px; border-radius: 6px; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

@keyframes lnin { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pen { to { background-size: 100% .38em; } }
@keyframes shine { 0% { transform: translateX(-160%) skewX(-18deg); } 30%, 100% { transform: translateX(340%) skewX(-18deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.label { display: inline-block; font-family: var(--num); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); }
.hl, mark { color: inherit; background: linear-gradient(var(--hl), var(--hl)) 0 90% / 0% .38em no-repeat; padding: 0 .08em; margin: 0 -.08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
mark { font-weight: 700; }
.hero .hl { animation: pen .9s .8s cubic-bezier(.2, .8, .2, 1) forwards; }
.in .hl, .in mark, .hero mark, .glance mark { background-size: 100% .38em; transition: background-size .9s .3s cubic-bezier(.2, .8, .2, 1); }
.glance mark, .hero mark { animation: pen .9s 1s cubic-bezier(.2, .8, .2, 1) forwards; }

/* ---------- progress ---------- */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--brand); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- header (nav + index) ---------- */
.head { position: sticky; top: 0; z-index: 100; padding: calc(8px + env(safe-area-inset-top)) 12px 0; pointer-events: none; }
.head-in { max-width: 1120px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); pointer-events: auto; overflow: hidden; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 8px 12px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: var(--ink); }
.logo { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--brand); color: #fff; font-size: 18px; border: 1.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.bn { font-family: var(--head); font-weight: 800; font-size: 16px; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nm { font-family: var(--head), 'Noto Sans Math', 'Noto Sans Egyptian Hieroglyphs', 'Noto Sans Arabic', 'Noto Sans Symbols', 'Segoe UI Symbol', sans-serif; font-weight: 700; }
.nav-r { display: flex; align-items: center; gap: 8px; flex: none; }
.theme-btn { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 18px; cursor: pointer; transition: border-color .2s, transform .2s; }
.theme-btn:hover { border-color: var(--ink); }
.theme-btn:active { transform: scale(.94); }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }

.index { display: flex; gap: 6px; overflow-x: auto; padding: 8px 10px 10px; border-top: 1px solid var(--line); scrollbar-width: none; background: var(--soft); scroll-snap-type: x proximity; }
.index::-webkit-scrollbar { display: none; }
.index a { flex: none; scroll-snap-align: start; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font-family: var(--num); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.index a:hover { color: var(--ink); border-color: var(--ink); }
.index a.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- buttons ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 12px; font-family: var(--text); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; border: 1.5px solid var(--ink); transition: transform .15s, box-shadow .15s; }
.btn .ic { font-size: 17px; }
.btn-fill { background: var(--brand); color: #fff; box-shadow: 2px 2px 0 var(--ink); }
.btn-fill:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn-fill:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); border-width: 1.5px; }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-lg { min-height: 52px; padding: 0 22px; font-size: 15px; border-radius: 14px; }
.btn-fill::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45), transparent); transform: translateX(-160%) skewX(-18deg); animation: shine 6.5s ease-in-out infinite; pointer-events: none; z-index: 2; }

/* ---------- layout ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px calc(48px + env(safe-area-inset-bottom)); }
@media (min-width: 760px) { .wrap { padding-left: 28px; padding-right: 28px; } }
.block { margin-top: 56px; }
.block-h { margin-bottom: 26px; }
.block-h h2 { margin-top: 8px; font-size: clamp(28px, 6vw, 44px); font-weight: 800; letter-spacing: -.03em; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 40px 0 8px; align-items: center; }
@media (min-width: 940px) { .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; padding: 64px 0 16px; } }
.hero-t > * { opacity: 0; animation: lnin .8s cubic-bezier(.2, .8, .2, 1) forwards; }
.hero-t > :nth-child(2) { animation-delay: .1s; } .hero-t > :nth-child(3) { animation-delay: .22s; } .hero-t > :nth-child(4) { animation-delay: .32s; } .hero-t > :nth-child(5) { animation-delay: .42s; }
.hero h1 { margin: 12px 0 16px; font-size: clamp(36px, 10vw, 66px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
.sub { max-width: 520px; color: var(--muted); font-size: clamp(16px, 4vw, 18px); }
.sub b { color: var(--ink); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; list-style: none; font-size: 14px; color: var(--muted); }
.facts li { display: inline-flex; align-items: center; gap: 7px; }
.facts .ic { color: var(--teal); font-size: 16px; }
.facts b { color: var(--ink); font-family: var(--num); }
.hero-btns { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 24px; }
.hero-btns .btn { width: 100%; }
@media (min-width: 560px) { .hero-btns { display: flex; flex-wrap: wrap; } .hero-btns .btn { width: auto; } }

/* key points (dark Telegram-style quote) */
.glance { position: relative; margin: 0; padding: 20px 20px 20px 26px; border-radius: 22px; background: #1b1813; color: #f3eee4; box-shadow: 6px 6px 0 var(--brand); overflow: hidden; opacity: 0; animation: lnin .9s .3s cubic-bezier(.2, .8, .2, 1) forwards; }
:root[data-theme="dark"] .glance { background: #0c0a07; border: 1px solid var(--line); }
.glance::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--brand); }
.glance::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .08), transparent); transform: translateX(-160%) skewX(-18deg); animation: shine 7s ease-in-out infinite; pointer-events: none; }
.glance-h { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-family: var(--num); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ffb020; }
.glance-h .ic { font-size: 16px; }
.glance ul { list-style: none; display: grid; gap: 12px; }
.glance li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.5; overflow-wrap: anywhere; }
.glance li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 3px; background: var(--brand); }
.glance mark { background-image: linear-gradient(rgba(255, 215, 94, .38), rgba(255, 215, 94, .38)); }

/* ---------- channels ---------- */
.chan { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 30px; }
@media (min-width: 760px) { .chan { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ch { --c: var(--brand); display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--c); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s var(--spring), border-color .2s; min-width: 0; }
.ch:hover { transform: translateY(-3px); border-color: var(--c); }
.c-upd { --c: var(--blue); } .c-suc { --c: var(--teal); } .c-sup { --c: var(--brand); }
.ch-i { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 13px; background: var(--c); color: #fff; font-size: 22px; }
.ch-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ch-t small { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.ch-t b { font-family: var(--num); font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch .go { font-size: 18px; color: var(--muted); transition: transform .2s, color .2s; }
.ch:hover .go { transform: translateX(4px); color: var(--c); }

/* ---------- how to use ---------- */
.steps { list-style: none; position: relative; display: grid; gap: 14px; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 12px); }
.steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.num { position: relative; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--card); border: 1.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); font-family: var(--num); font-size: 17px; font-weight: 700; }
.steps li:nth-child(odd) .num { background: #ffd75e; color: #1b1813; }
.st-b { padding: 4px 0 8px; min-width: 0; }
.st-b h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.st-b p { color: var(--muted); overflow-wrap: anywhere; }
.st-b p b { color: var(--ink); }
.key { display: inline-block; margin: 2px 1px; padding: 1px 9px; border-radius: 8px; background: var(--soft); border: 1px solid var(--line); border-bottom-width: 2px; color: var(--ink); font-family: var(--text); font-size: .86em; font-weight: 600; white-space: nowrap; line-height: 1.5; }
code { font-family: var(--mono); font-size: .88em; padding: 1px 7px; border-radius: 7px; background: var(--soft); border: 1px solid var(--line); color: var(--ink); }
@media (min-width: 900px) {
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 36px; }
    .steps::before { display: none; }
    .steps li { padding: 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
    .steps li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- terms rows (document style, not boxes) ---------- */
.terms { }
.row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 28px 0; border-top: 2px solid var(--ink); }
.row:last-child { border-bottom: 2px solid var(--ink); }
.row-n span { font-family: var(--num); font-size: 15px; font-weight: 700; letter-spacing: .1em; color: var(--brand-ink); }
.row-b h3 { margin-bottom: 14px; font-size: clamp(24px, 5vw, 32px); font-weight: 800; letter-spacing: -.03em; }
.txt { min-width: 0; }
.txt > * + * { margin-top: 14px; }
.txt p { overflow-wrap: anywhere; }
@media (min-width: 800px) {
    .row { grid-template-columns: 110px minmax(0, 1fr); gap: 24px; padding: 34px 0; }
    .row-n span { font-size: 44px; font-weight: 700; letter-spacing: -.02em; color: var(--line); transition: color .3s; }
    .row:hover .row-n span, .row:target .row-n span { color: var(--brand); }
}

/* lists */
ul.tick, ul.cross { list-style: none; display: grid; gap: 10px; }
ul.tick li, ul.cross li { position: relative; padding-left: 30px; overflow-wrap: anywhere; }
ul.tick li::before, ul.cross li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 12px; }
ul.tick li::before { background-color: var(--ok-bg); border: 1px solid var(--ok-line); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c9a62' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
ul.cross li::before { background-color: var(--err-bg); border: 1px solid var(--err-line); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6264a' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }

/* quote boxes (Telegram style) */
.q { position: relative; padding: 14px 16px 14px 20px; border-radius: 14px; border: 1px solid var(--ql); background: var(--qb); overflow: hidden; --qb: var(--info-bg); --ql: var(--info-line); --qa: var(--blue); }
.q::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--qa); }
.q-h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-family: var(--num); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--qa); }
.q-h .ic { font-size: 16px; }
.q-b > * + * { margin-top: 8px; }
.q-ok { --qb: var(--ok-bg); --ql: var(--ok-line); --qa: var(--green); }
.q-warn { --qb: var(--warn-bg); --ql: var(--warn-line); --qa: var(--amber); }
.q-danger { --qb: var(--err-bg); --ql: var(--err-line); --qa: var(--crimson); }
.q-warn .q-h { color: var(--warn-ink); } .q-danger .q-h { color: var(--err-ink); } .q-ok .q-h { color: var(--ok-ink); }
.q-warn mark { background-image: linear-gradient(rgba(217, 142, 0, .35), rgba(217, 142, 0, .35)); }
.q-danger mark { background-image: linear-gradient(rgba(214, 38, 74, .25), rgba(214, 38, 74, .25)); }
.q-ok mark { background-image: linear-gradient(rgba(28, 154, 98, .3), rgba(28, 154, 98, .3)); }

/* wallet stat tiles */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { --c: var(--brand); padding: 12px 14px 12px; border-radius: 12px; background: var(--soft); border-top: 4px solid var(--c); min-width: 0; }
.t1 { --c: var(--brand); } .t2 { --c: var(--blue); } .t3 { --c: var(--teal); } .t4 { --c: var(--amber); }
.tile small { display: block; font-family: var(--num); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tile b { display: block; margin-top: 2px; font-family: var(--num); font-size: clamp(20px, 5vw, 26px); line-height: 1.2; overflow-wrap: anywhere; }
.tile span { font-size: 12.5px; color: var(--muted); }

/* refund compare */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 700px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.side { padding: 18px; border-radius: 16px; border: 1.5px solid var(--ink); min-width: 0; }
.side.no { background: var(--err-bg); box-shadow: 4px 4px 0 var(--crimson); }
.side.yes { background: var(--ok-bg); box-shadow: 4px 4px 0 var(--green); }
.side h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 18px; font-weight: 800; color: #1b1813; }
.side.no h4 .ic { color: var(--crimson); } .side.yes h4 .ic { color: var(--green); }
.side li { color: #1b1813; }
.side mark { background-image: linear-gradient(rgba(214, 38, 74, .25), rgba(214, 38, 74, .25)); }
:root[data-theme="dark"] .side { border-color: var(--line); }
:root[data-theme="dark"] .side h4, :root[data-theme="dark"] .side li { color: var(--ink); }

/* ---------- end band ---------- */
.end { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding: 28px; border-radius: 24px; background: #1b1813; color: #f3eee4; box-shadow: 6px 6px 0 var(--brand); }
:root[data-theme="dark"] .end { background: #0c0a07; border: 1px solid var(--line); }
.end h2 { font-size: clamp(24px, 5vw, 34px); font-weight: 800; }
.end p { margin-top: 4px; color: #b3ab99; }
.end-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.end .btn-ghost { color: #f3eee4; border-color: #5a5345; }
.end .btn-ghost:hover { border-color: #f3eee4; }
.end .btn-fill { border-color: #f3eee4; box-shadow: 2px 2px 0 #f3eee4; }
.end .btn-fill:hover { box-shadow: 4px 4px 0 #f3eee4; }
@media (max-width: 560px) { .end { padding: 22px 18px; } .end-btns, .end-btns .btn { width: 100%; } }
.foot { margin-top: 28px; text-align: center; font-size: 13px; font-weight: 500; color: var(--muted); overflow-wrap: anywhere; }

.to-top { position: fixed; right: calc(14px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; border: 1.5px solid var(--ink); background: var(--brand); color: #fff; font-size: 22px; box-shadow: 2px 2px 0 var(--ink); cursor: pointer; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s, transform .3s var(--spring); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .7s var(--spring); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- small phones ---------- */
@media (max-width: 480px) {
    body { font-size: 15.5px; }
    .btn .lbl { display: none; }
    .btn-fill:has(.lbl) { width: 40px; padding: 0; }
    .bn { font-size: 15px; }
    .block { margin-top: 44px; }
    .glance { padding: 18px 16px 18px 22px; box-shadow: 4px 4px 0 var(--brand); }
    .glance li { font-size: 15px; }
    .steps::before { left: 19px; }
    .steps li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
    .num { width: 40px; height: 40px; font-size: 15px; }
    .st-b h3 { font-size: 18px; }
    .row { padding: 24px 0; }
}
@media (max-width: 340px) { .ch-t b { font-size: 14px; } .bn { font-size: 13.5px; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .hero-t > *, .glance { opacity: 1; }
    .reveal { opacity: 1; transform: none; }
    .hl, mark { background-size: 100% .38em; }
}

@media print {
    .head, .progress, .to-top, .end, .chan { display: none !important; }
    body { background: #fff; color: #000; font-size: 12px; }
    .reveal, .hero-t > *, .glance { opacity: 1 !important; transform: none !important; animation: none !important; }
    .hl, mark { background-size: 100% .38em !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .row, .steps li, .side { break-inside: avoid; }
}
