@font-face {
  font-family: 'Manrope';
  src: url('/fonts/Manrope/Manrope-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('/fonts/Manrope/Manrope-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('/fonts/Manrope/Manrope-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('/fonts/Manrope/Manrope-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('/fonts/Manrope/Manrope-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/JetBrainsMono/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/JetBrainsMono/JetBrainsMono-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/JetBrainsMono/JetBrainsMono-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root { --bg: #040a07; --bg-soft: #f2faf6; --ink: #071410; --ink-soft: #47584f; --ink-muted: #7a8b82; --line: #e2ece6; --accent: #00b862; --accent-2: #00e07a; --accent-3: #7dffb0; --accent-soft: #e4fbee; --accent-glow: rgba(0, 224, 122, 0.45); --danger: #a84c46; --danger-hover: #94403b; --danger-active: #803732; --danger-soft: #fceee9; --danger-glow: rgba(168, 76, 70, 0.28); --wa: #25D366; --wa-hover: #1fb457; --tg: #29A9EB; --tg-hover: #1e8fc9; --radius: 16px; --radius-lg: 22px; --shadow-sm: 0 2px 8px rgba(4, 20, 12, 0.05); --shadow: 0 10px 30px rgba(4, 20, 12, 0.09); --shadow-lg: 0 26px 60px rgba(4, 20, 12, 0.16); --container: 1200px; --gutter: 24px; --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { margin: 0; font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 16px; line-height: 1.65; color: var(--ink); background: #ffffff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
button, a { font-family: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #041208; }

.cursor { display: none; position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0; transition: opacity 0.25s ease; }
.cursor.is-active { opacity: 1; }
.cursor__dot { position: absolute; top: 0; left: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-glow); }
.cursor__ring { position: absolute; top: 0; left: 0; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%; border: 1.5px solid rgba(0, 224, 122, 0.7); transition: width 0.25s, height 0.25s, margin 0.25s, background 0.25s, border-color 0.25s; }
.cursor.is-hover .cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(0, 224, 122, 0.12); border-color: var(--accent-2); }
@media (hover: hover) and (pointer: fine) { html.has-custom-cursor, html.has-custom-cursor * { cursor: none !important; } html.has-custom-cursor .cursor { display: block; } }
@media (hover: none), (pointer: coarse) { .cursor { display: none !important; } }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.grad { background: linear-gradient(120deg, #00e07a 0%, #7dffb0 45%, #00b862 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--ink-soft); }
.muted--mb { margin-bottom: 18px; }
.h3 { font-size: 20px; font-weight: 700; margin-bottom: 18px; letter-spacing: -0.01em; }
.h3--mt { margin-top: 48px; }
.u-mb-0 { margin-bottom: 0 !important; }
.u-mb-16 { margin-bottom: 16px; }
.u-mb-24 { margin-bottom: 24px; }
.u-mt-16 { margin-top: 16px; }
.u-mt-24 { margin-top: 24px; }
.u-mt-32 { margin-top: 32px; }
.u-mt-40 { margin-top: 40px; }
.u-text-center { text-align: center; }
.u-hidden { display: none !important; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow--light { color: var(--accent-3); }
.section { padding: 96px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section__head h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 16px; }
.section__lead { font-size: 17px; color: var(--ink-soft); line-height: 1.7; }
.section__more { margin-top: 40px; text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; font-size: 15px; font-weight: 700; border-radius: 12px; transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition); white-space: nowrap; border: 1px solid transparent; line-height: 1; }
.btn svg { flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--full { width: 100%; }
.btn--primary { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); color: #041208; box-shadow: 0 10px 24px var(--accent-glow); }
.btn--primary:hover { box-shadow: 0 14px 32px var(--accent-glow); }
.btn--danger { background: var(--danger); color: #fff; box-shadow: 0 10px 24px var(--danger-glow); }
.btn--danger:hover { background: var(--danger-hover); box-shadow: 0 14px 32px var(--danger-glow); }
.btn--danger:active { background: var(--danger-active); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35); }
.btn--wa:hover { background: var(--wa-hover); box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45); }
.btn--tg { background: var(--tg); color: #fff; box-shadow: 0 10px 24px rgba(41, 169, 235, 0.32); }
.btn--tg:hover { background: var(--tg-hover); box-shadow: 0 14px 32px rgba(41, 169, 235, 0.42); }
.btn--ghost { background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--accent-soft); color: var(--accent); border-color: #b6f0cf; }
.btn--right { margin-left: auto; }

.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition), padding var(--transition); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__login-text { display: inline; }
.header.is-scrolled { background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 rgba(4, 20, 12, 0.06), 0 8px 26px rgba(4, 20, 12, 0.07); padding: 10px 0; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); transition: color var(--transition); flex-shrink: 0; }
.logo__mark { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex-shrink: 0; filter: drop-shadow(0 6px 16px var(--accent-glow)); }
.logo__mark svg { width: 42px; height: 42px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text strong { font-size: 15px; font-weight: 800; }
.logo__text small { font-size: 11.5px; opacity: 0.7; font-weight: 500; }
.header--on-dark:not(.is-scrolled) .logo { color: #fff; }
.header--on-dark:not(.is-scrolled) .nav > a, .header--on-dark:not(.is-scrolled) .nav__toggle { color: rgba(255, 255, 255, 0.85); }
.header--on-dark:not(.is-scrolled) .nav > a:hover, .header--on-dark:not(.is-scrolled) .nav__toggle:hover { color: #fff; background: rgba(0, 224, 122, 0.14); }
.header--on-dark:not(.is-scrolled) .btn--ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.16); }
.header--on-dark:not(.is-scrolled) .btn--ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(0, 224, 122, 0.5); }
.header--on-dark:not(.is-scrolled) .burger { background: rgba(255, 255, 255, 0.12); }
.header--on-dark:not(.is-scrolled) .burger span { background: #fff; }
.header--on-dark:not(.is-scrolled) .burger:hover { background: var(--accent); }
.header--on-dark:not(.is-scrolled) .burger:hover span { background: #fff; }
.header--on-dark:not(.is-scrolled) .notification-badge { border-color: var(--bg); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav__toggle { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; font-size: 14px; font-weight: 600; font-family: inherit; color: var(--ink-soft); border-radius: 9px; transition: color var(--transition), background var(--transition); white-space: nowrap; background: none; border: none; line-height: 1.2; }
.nav > a:hover, .nav__toggle:hover { color: var(--ink); background: var(--accent-soft); }
.nav__group { position: relative; }
.nav__toggle svg { transition: transform var(--transition); flex-shrink: 0; opacity: 0.7; }
.nav__sub { position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px rgba(4, 20, 12, 0.16), 0 4px 12px rgba(4, 20, 12, 0.06); display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease; z-index: 60; }
.nav__sub a { padding: 10px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); border-radius: 9px; transition: color var(--transition), background var(--transition); white-space: nowrap; text-align: left; }
.nav__sub a:hover { color: var(--accent); background: var(--accent-soft); }
.nav__sub .nav__sub-all { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--accent); font-weight: 700; }
@media (hover: hover) and (min-width: 861px) { .nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); } .nav__group:hover .nav__toggle svg, .nav__group:focus-within .nav__toggle svg { transform: rotate(180deg); } }
.nav__login-mobile { display: none; }

.burger { display: none; width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); flex-direction: column; align-items: center; justify-content: center; gap: 5px; transition: background var(--transition), transform var(--transition); }
.burger span { width: 20px; height: 2px; background: var(--accent); border-radius: 2px; transition: transform var(--transition), opacity var(--transition), background var(--transition); }
.burger:hover { background: var(--accent); }
.burger:hover span { background: #fff; }
.burger.is-active { background: var(--accent); }
.burger.is-active span { background: #fff; }
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header .btn--sm { height: 40px; padding-top: 0; padding-bottom: 0; }
.header .burger { width: 40px; height: 40px; }

.header__login { position: relative; }
.notification-badge { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 100px; background: #ef4444; color: #fff; font-size: 10.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4); pointer-events: none; line-height: 1; z-index: 2; }
.header:not(.is-scrolled) .notification-badge { border-color: rgba(255, 255, 255, 0.25); }
.notif-trigger { position: relative; display: inline-flex; }

.hero { position: relative; background: radial-gradient(1200px 600px at 12% 0%, #0b241a 0%, transparent 60%), radial-gradient(900px 500px at 92% 100%, #0a2d1c 0%, transparent 60%), var(--bg); color: #fff; padding: 168px 0 120px; overflow: hidden; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.5; pointer-events: none; }
.hero__glow--1 { width: 480px; height: 480px; background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%); top: -120px; left: -80px; }
.hero__glow--2 { width: 540px; height: 540px; background: radial-gradient(circle, #7dffb0 0%, transparent 70%); bottom: -200px; right: -120px; opacity: 0.32; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 255, 136, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 136, 0.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, black 30%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 78%); pointer-events: none; }
.hero__rain { position: absolute; inset: 0; pointer-events: none; overflow: hidden; opacity: 0.18; }
.hero__rain span { position: absolute; font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--accent-2); white-space: nowrap; letter-spacing: 0.14em; animation: rainFade 7s ease-in-out infinite; }
.hero__rain span:nth-child(1) { top: 18%; left: 4%; }
.hero__rain span:nth-child(2) { top: 42%; left: 78%; animation-delay: 1.6s; }
.hero__rain span:nth-child(3) { top: 74%; left: 6%; animation-delay: 3.2s; }
.hero__rain span:nth-child(4) { top: 88%; left: 60%; animation-delay: 4.8s; }
.hero__rain span:nth-child(5) { top: 8%; left: 68%; animation-delay: 6s; }
@keyframes rainFade { 0%, 100% { opacity: 0; transform: translateY(-8px); } 50% { opacity: 0.55; transform: translateY(0); } }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.hero__content { max-width: 620px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; background: rgba(0, 255, 136, 0.06); border: 1px solid rgba(0, 255, 136, 0.18); border-radius: 100px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.92); margin-bottom: 28px; backdrop-filter: blur(8px); }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(0, 224, 122, 0.22); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(0, 224, 122, 0.22); } 50% { box-shadow: 0 0 0 9px rgba(0, 224, 122, 0.05); } }
.hero__title { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; margin-bottom: 24px; }
.hero__lead { font-size: clamp(16px, 1.4vw, 18px); color: rgba(255, 255, 255, 0.74); line-height: 1.7; margin-bottom: 36px; max-width: 560px; }
.hero__lead strong { color: #fff; font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; max-width: 560px; }
.hero__points li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: rgba(255, 255, 255, 0.84); font-weight: 500; }
.ico--check { width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; background: rgba(0, 224, 122, 0.16); position: relative; }
.ico--check::after { content: ''; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border-right: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2); transform: rotate(45deg); }
.hero__visual { position: relative; height: 460px; perspective: 1400px; }
.window { position: absolute; inset: 40px 0 40px 20px; background: linear-gradient(160deg, #061510 0%, #030c08 100%); border: 1px solid rgba(0, 255, 136, 0.16); border-radius: var(--radius-lg); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(0, 255, 136, 0.08); overflow: hidden; transform: rotateY(-8deg) rotateX(4deg); transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.hero__visual:hover .window { transform: rotateY(-4deg) rotateX(2deg); }
.window__bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; background: rgba(0, 255, 136, 0.03); border-bottom: 1px solid rgba(0, 255, 136, 0.08); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #ff5f57; }
.dot--y { background: #febc2e; }
.dot--g { background: var(--accent-2); }
.window__url { margin-left: 12px; font-size: 12px; color: rgba(125, 255, 176, 0.6); font-family: 'JetBrains Mono', monospace; background: rgba(0, 255, 136, 0.06); padding: 4px 12px; border-radius: 6px; }
.window__body { padding: 26px 24px; }
.code { margin: 0; font-family: 'JetBrains Mono', Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.9; color: #c8f7dc; white-space: pre-wrap; }
.c-key { color: #7dffb0; }
.c-fn { color: #4ade80; }
.c-prop { color: #a7f3d0; }
.c-com { color: #4a6f5b; font-style: italic; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: rgba(6, 21, 16, 0.9); border: 1px solid rgba(0, 255, 136, 0.2); border-radius: 14px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); animation: floaty 6s ease-in-out infinite; }
.float-card--1 { top: 10px; left: -20px; }
.float-card--2 { bottom: 20px; right: -20px; animation-delay: 3s; }
.float-card strong { display: block; font-size: 14px; color: #fff; font-weight: 700; }
.float-card small { font-size: 11.5px; color: rgba(125, 255, 176, 0.65); }
.float-card__icon { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; flex-shrink: 0; }
.float-card__icon--ok { background: rgba(0, 224, 122, 0.18); color: var(--accent-2); }
.float-card__icon--shield { background: rgba(125, 255, 176, 0.15); color: #7dffb0; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.about { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.about__main, .about__side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.about__side { display: flex; flex-direction: column; gap: 8px; background: linear-gradient(160deg, #ffffff 0%, #f3fbf7 100%); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--ai { margin-top: 16px; }
.chip { display: inline-block; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--ink-soft); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 100px; transition: all var(--transition); }
.chip:hover { background: var(--accent-soft); color: var(--accent); border-color: #b6f0cf; transform: translateY(-1px); }
.chip--ai { background: linear-gradient(135deg, rgba(0, 224, 122, 0.12), rgba(125, 255, 176, 0.08)); border-color: rgba(0, 224, 122, 0.3); color: #067a44; font-weight: 700; }
.chip--ai::before { content: '◆ '; color: var(--accent-2); margin-right: 2px; }
.profiles { display: grid; gap: 12px; }
.profile { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); transition: all var(--transition); }
.profile:not(.profile--note):hover { background: #fff; border-color: #b6f0cf; box-shadow: var(--shadow); transform: translateY(-2px); }
.profile--note { cursor: default; }
.profile__logo { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; color: #fff; flex-shrink: 0; }
.profile__logo--fl { background: linear-gradient(135deg, #22a0ff, #0067ff); }
.profile__logo--wz { background: linear-gradient(135deg, #ff8a3d, #ff5f2e); }
.profile__meta { flex-grow: 1; }
.profile strong { display: block; font-size: 15px; font-weight: 700; }
.profile small { display: block; font-size: 13px; color: var(--ink-muted); line-height: 1.5; margin-top: 4px; }
.profile__arrow { font-size: 20px; color: var(--ink-muted); transition: transform var(--transition), color var(--transition); }
.profile:not(.profile--note):hover .profile__arrow { transform: translateX(4px); color: var(--accent); }
.stat { padding: 20px 0; border-bottom: 1px solid var(--line); }
.stat:last-child { border-bottom: none; padding-bottom: 0; }
.stat:first-child { padding-top: 0; }
.stat__num { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; margin-bottom: 6px; }
.stat__label { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

.cards--services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(0, 224, 122, 0.06), transparent 60%); opacity: 0; transition: opacity var(--transition); }
.card:hover { transform: translateY(-6px); border-color: #b6f0cf; box-shadow: 0 24px 50px rgba(4, 20, 12, 0.11); }
.card:hover::before { opacity: 1; }
.card__icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 20px; flex-shrink: 0; }
.card__title { position: relative; font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.card__text { position: relative; font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.card__price { position: relative; font-size: 14px; font-weight: 700; color: var(--accent); padding-top: 16px; border-top: 1px dashed var(--line); }
.card--accent { background: linear-gradient(160deg, #041208 0%, #0b2418 100%); border-color: rgba(0, 255, 136, 0.15); color: #fff; }
.card--accent .card__icon { background: rgba(0, 224, 122, 0.16); color: var(--accent-2); }
.card--accent .card__text { color: rgba(230, 255, 240, 0.75); }
.card--accent .card__price { color: #7dffb0; border-top-color: rgba(0, 255, 136, 0.16); }
.card--accent::before { background: linear-gradient(160deg, rgba(0, 224, 122, 0.18), transparent 60%); }
.cards--features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); position: relative; overflow: hidden; color: inherit; }
.feature::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(0, 224, 122, 0.07), transparent 60%); opacity: 0; transition: opacity var(--transition); }
.feature:hover { transform: translateY(-6px); border-color: #b6f0cf; box-shadow: 0 24px 50px rgba(4, 20, 12, 0.11); }
.feature:hover::before { opacity: 1; }
.feature__icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; flex-shrink: 0; }
.feature__title { position: relative; font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.feature__text { position: relative; font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 18px; flex-grow: 1; }
.feature__footer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line); }
.feature__price { font-size: 14px; font-weight: 700; color: var(--accent); }
.feature__link { font-size: 13px; font-weight: 700; color: var(--ink-soft); transition: color var(--transition), transform var(--transition); }
.feature:hover .feature__link { color: var(--accent); transform: translateX(3px); }
.cards--why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.why:hover { transform: translateY(-4px); border-color: #b6f0cf; box-shadow: var(--shadow); }
.why__num { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; font-family: 'JetBrains Mono', monospace; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 8px; margin-bottom: 18px; }
.why h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.why p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 26px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.step:hover { transform: translateY(-4px); border-color: #b6f0cf; box-shadow: var(--shadow); }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); color: #041208; font-weight: 800; font-size: 17px; font-family: 'JetBrains Mono', monospace; margin-bottom: 20px; box-shadow: 0 8px 20px var(--accent-glow); }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #b6f0cf; }

.post__main-link { display: flex; flex-direction: column; color: inherit; text-decoration: none; height: 100%; }
.post__main-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.post__main-link:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--radius-lg); }

.post__cover { position: relative; height: 180px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.post__cover::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 0, 0, 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.14) 1px, transparent 1px); background-size: 26px 26px; opacity: 0.4; }
.post__cover--1 { background: linear-gradient(135deg, #00b862 0%, #00e07a 100%); }
.post__cover--2 { background: linear-gradient(135deg, #047857 0%, #10b981 100%); }
.post__cover--3 { background: linear-gradient(135deg, #064e3b 0%, #00b862 100%); }
.post__cover--image { background: none; }
.post__cover--image img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; }

.post__tags { position: absolute; top: 16px; left: 16px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 32px); }
.post__tag { padding: 6px 12px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; background: rgba(4, 20, 12, 0.4); backdrop-filter: blur(8px); border-radius: 8px; }
.post__glyph { position: relative; z-index: 1; font-family: 'JetBrains Mono', monospace; font-size: 72px; font-weight: 700; color: rgba(4, 20, 12, 0.85); text-shadow: 0 8px 30px rgba(0, 0, 0, 0.18); }

.post__body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; position: relative; z-index: 2; }
.post__title { font-size: 17px; font-weight: 700; margin: 0 0 10px; line-height: 1.35; color: var(--ink); transition: color var(--transition); }
.post:hover .post__title { color: var(--accent); }
.post__excerpt { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 18px; flex-grow: 1; }
.post__link { font-size: 14px; font-weight: 700; color: var(--accent); transition: color var(--transition), transform var(--transition); align-self: flex-start; display: inline-block; }
.post:hover .post__link { color: var(--accent-2); transform: translateX(3px); }

.post .post__tag--link,
.post .post__meta a,
.post .post__meta button { position: relative; z-index: 3; }

.related-posts { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.related-posts__title { font-size: 22px; font-weight: 800; margin: 0 0 24px; letter-spacing: -0.02em; color: var(--ink); }
.related-posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.review:hover { transform: translateY(-4px); border-color: #b6f0cf; box-shadow: var(--shadow); }
.review__stars { font-size: 16px; color: var(--accent-2); letter-spacing: 3px; margin-bottom: 16px; }
.review__text { font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 24px; flex-grow: 1; }
.review__author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); color: #041208; font-weight: 800; font-size: 16px; flex-shrink: 0; }
.review__author strong { display: block; font-size: 15px; font-weight: 700; }
.review__author small { font-size: 13px; color: var(--ink-muted); }
.review__source { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--accent); transition: color var(--transition), transform var(--transition); align-self: flex-start; }
.review__source:hover { color: var(--accent-2); transform: translateX(3px); }

.faq__list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color var(--transition), box-shadow var(--transition); overflow: hidden; }
.faq__item:hover { border-color: #b6f0cf; }
.faq__item[open] { border-color: #b6f0cf; box-shadow: 0 12px 34px rgba(4, 20, 12, 0.07); }
.faq__question { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; cursor: pointer; font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.4; list-style: none; transition: color var(--transition); }
.faq__question::-webkit-details-marker { display: none; }
.faq__question::marker { content: ''; }
.faq__question:hover { color: var(--accent); }
.faq__item[open] .faq__question { color: var(--accent); }
.faq__icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; transition: transform 0.25s ease, background var(--transition), color var(--transition); }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--accent); color: #041208; }
.faq__answer-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.faq__item[open] .faq__answer-wrap { grid-template-rows: 1fr; }
.faq__answer { overflow: hidden; padding: 0 24px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; }
.faq__item[open] .faq__answer { padding-bottom: 22px; }
.faq__answer p { margin-bottom: 10px; }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__answer ul, .faq__answer ol { margin: 8px 0 12px; }
.faq__answer ul li, .faq__answer ol li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.faq__answer ul li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.faq__answer a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq__answer a:hover { color: var(--accent-2); }
.faq__answer strong { color: var(--ink); font-weight: 700; }
.faq__answer code { font-family: 'JetBrains Mono', monospace; font-size: 13.5px; background: var(--bg-soft); padding: 2px 6px; border-radius: 5px; color: #067a44; }
.faq__more { margin-top: 32px; text-align: center; }

.cards--payment { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.payment-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.payment-card:hover { transform: translateY(-4px); border-color: #b6f0cf; box-shadow: var(--shadow); }
.payment-card--primary { background: linear-gradient(160deg, #ffffff 0%, #f3fbf7 100%); border-color: #b6f0cf; }
.payment-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.payment-card__text { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 20px; }
.payment-card__note { font-size: 13px; color: var(--ink-muted); line-height: 1.6; margin-top: 16px; }
.requisites { display: flex; flex-direction: column; gap: 8px; }
.requisites li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.requisites li:last-child { border-bottom: none; }
.requisites span { color: var(--ink-muted); flex-shrink: 0; }
.requisites strong { color: var(--ink); font-weight: 700; text-align: right; word-break: break-word; }
.docs-list { display: flex; flex-direction: column; gap: 14px; }
.docs-list li { font-size: 14px; color: var(--ink-soft); line-height: 1.6; padding-left: 24px; position: relative; }
.docs-list li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.docs-list strong { color: var(--ink); font-weight: 700; }

.donate { margin-top: 24px; }
.donate__inner { display: flex; align-items: center; gap: 24px; padding: 28px 32px; background: linear-gradient(135deg, #041208 0%, #0b2418 100%); border-radius: var(--radius-lg); color: #fff; box-shadow: 0 20px 50px rgba(4, 20, 12, 0.18); flex-wrap: wrap; }
.donate__icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(0, 224, 122, 0.16); color: var(--accent-2); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.donate__text { flex: 1; min-width: 240px; }
.donate__text strong { display: block; font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.donate__text p { font-size: 14px; color: rgba(230, 255, 240, 0.72); line-height: 1.6; }
.donate__actions { flex-shrink: 0; }
.donate__actions .btn--ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.16); }
.donate__actions .btn--ghost:hover { background: rgba(0, 224, 122, 0.2); border-color: rgba(0, 224, 122, 0.5); color: #7dffb0; }

.contacts { position: relative; background: radial-gradient(1000px 500px at 50% 0%, #0b2418 0%, transparent 60%), var(--bg); color: #fff; padding: 100px 0; overflow: hidden; }
.contacts__glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 224, 122, 0.35) 0%, transparent 70%); filter: blur(110px); top: -200px; left: 50%; transform: translateX(-50%); pointer-events: none; }
.contacts__inner { position: relative; }
.contacts__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.contacts__head h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 16px; }
.contacts__head p { font-size: 17px; color: rgba(255, 255, 255, 0.72); line-height: 1.7; }
.contacts__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; margin-bottom: 48px; }
.contact-card { background: rgba(0, 255, 136, 0.04); border: 1px solid rgba(0, 255, 136, 0.14); border-radius: var(--radius-lg); padding: 32px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color var(--transition), background var(--transition), transform var(--transition); }
.contact-card:hover { border-color: rgba(0, 224, 122, 0.4); background: rgba(0, 255, 136, 0.06); transform: translateY(-3px); }
.contact-card--primary { background: linear-gradient(160deg, rgba(0, 224, 122, 0.09) 0%, rgba(0, 255, 136, 0.03) 100%); border-color: rgba(0, 224, 122, 0.28); }
.contact-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.contact-card__note { font-size: 14px; color: rgba(255, 255, 255, 0.62); line-height: 1.65; margin-bottom: 24px; }
.contact-card__note--sm { font-size: 13px; margin-top: 20px; margin-bottom: 0; }
.contact-card__buttons { display: flex; flex-direction: column; gap: 12px; }
.contact-card__label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #7dffb0; margin-bottom: 8px; }
.contact-card__nick { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(0, 255, 136, 0.14); font-size: 13.5px; color: rgba(255, 255, 255, 0.7); }
.contact-card__nick strong { color: #7dffb0; font-family: 'JetBrains Mono', monospace; font-weight: 700; }
.phone { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.01em; margin-bottom: 24px; padding: 0; text-align: left; flex-wrap: wrap; transition: color var(--transition); }
.phone:hover { color: #7dffb0; }
.phone__copy { font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, 0.5); padding: 3px 8px; background: rgba(0, 255, 136, 0.1); border-radius: 6px; text-transform: uppercase; letter-spacing: 0.08em; transition: all var(--transition); }
.phone__copy.is-copied { background: rgba(0, 224, 122, 0.22); color: #7dffb0; }
.schedule { display: flex; flex-direction: column; gap: 12px; }
.schedule li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(0, 255, 136, 0.1); font-size: 14px; }
.schedule li:last-child { border-bottom: none; padding-bottom: 0; }
.schedule span { color: rgba(255, 255, 255, 0.6); }
.schedule strong { color: #fff; font-weight: 700; }
.schedule strong small { font-size: 11px; color: rgba(255, 255, 255, 0.5); font-weight: 600; margin-left: 4px; letter-spacing: 0.06em; }
.contacts__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px; background: rgba(0, 255, 136, 0.05); border: 1px solid rgba(0, 255, 136, 0.16); border-radius: var(--radius-lg); }
.contacts__cta p { font-size: 17px; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.contacts__cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.footer { background: #020805; color: rgba(255, 255, 255, 0.6); padding: 64px 0 32px; border-top: 1px solid rgba(0, 255, 136, 0.08); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(0, 255, 136, 0.1); }
.logo--footer { margin-bottom: 16px; color: #fff; }
.footer__descr { font-size: 14px; line-height: 1.65; color: rgba(255, 255, 255, 0.5); max-width: 320px; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav-title { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #7dffb0; margin-bottom: 8px; }
.footer__nav a { font-size: 14px; color: rgba(255, 255, 255, 0.6); transition: color var(--transition), transform var(--transition); align-self: flex-start; }
.footer__nav a:hover { color: #7dffb0; transform: translateX(3px); }
.footer__docs { display: flex; flex-direction: column; gap: 10px; }
.doc-link { font-size: 14px; color: rgba(255, 255, 255, 0.6); text-align: left; padding: 0; transition: color var(--transition); align-self: flex-start; }
.doc-link:hover { color: #7dffb0; text-decoration: underline; }
.doc-link--inline { color: #7dffb0; text-decoration: underline; font-size: 13px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; flex-wrap: wrap; font-size: 13px; }
.footer__note { color: rgba(255, 255, 255, 0.35); }
.footer__copyright { max-width: 520px; font-size: 12.5px; color: rgba(255, 255, 255, 0.42); line-height: 1.55; }
.footer--minimal { background: var(--bg); color: rgba(255, 255, 255, 0.4); padding: 24px 0; border-top: 1px solid rgba(0, 255, 136, 0.08); }
.footer--minimal .footer__bottom { padding-top: 0; border: none; justify-content: center; font-size: 12.5px; }

.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal[hidden] { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(2, 8, 5, 0.75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal__dialog { position: relative; background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 760px; max-height: 86vh; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.4); transform: translateY(16px) scale(0.98); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.modal.is-open .modal__dialog { transform: translateY(0) scale(1); }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft); color: var(--ink-soft); font-size: 24px; line-height: 1; display: flex; align-items: center; justify-content: center; transition: background var(--transition), color var(--transition), transform var(--transition); }
.modal__close:hover { background: var(--accent-soft); color: var(--accent); transform: rotate(90deg); }
.modal__title { font-size: 22px; font-weight: 800; padding: 28px 32px 20px; margin: 0; border-bottom: 1px solid var(--line); letter-spacing: -0.02em; flex-shrink: 0; }
.modal__content { padding: 28px 32px 36px; overflow-y: auto; font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }
.modal__content h3 { font-size: 15.5px; font-weight: 700; color: var(--ink); margin: 24px 0 10px; }
.modal__content h3:first-child { margin-top: 0; }
.modal__content p { margin-bottom: 12px; }
.modal__content ul { margin: 12px 0 16px; }
.modal__content ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.modal__content ul li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.modal__content em { color: var(--ink-muted); font-style: normal; font-size: 13px; }

.cookie { position: fixed; bottom: 20px; left: 20px; right: 20px; z-index: 150; transform: translateY(140%); opacity: 0; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s ease; }
.cookie.is-visible { transform: translateY(0); opacity: 1; }
.cookie[hidden] { display: block; }
.cookie__inner { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 18px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(4, 20, 12, 0.22); }
.cookie__text { flex-grow: 1; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.cookie__text strong { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 4px; }
.cookie__text p { margin: 0; }
.cookie__actions { display: flex; gap: 10px; flex-shrink: 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .float-card { animation: none; } .hero__rain span { animation: none; opacity: 0.15; } * { scroll-behavior: auto !important; } }

.page { background: var(--bg-soft); min-height: 100vh; padding: 128px 0 80px; }
.page--home { padding: 0; background: #ffffff; }
.page--dark { background: var(--bg); color: #fff; }
.page__head { max-width: 800px; margin-bottom: 40px; }
.page__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.page__title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; line-height: 1.15; }
.page__lead { font-size: 17px; color: var(--ink-soft); line-height: 1.7; }
.page--dark .page__lead { color: rgba(255, 255, 255, 0.72); }

.page-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-header__title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; line-height: 1.2; color: var(--ink); }
.page-header__subtitle { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.6; max-width: 640px; }
.page-header__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-muted); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--ink-soft); transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { color: var(--ink-muted); }
.page--dark .breadcrumbs, .page--dark .breadcrumbs a { color: rgba(255, 255, 255, 0.6); }
.page--dark .breadcrumbs a:hover { color: var(--accent-2); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.filters__group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters__label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-right: 8px; }
.filter-chip { padding: 8px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 100px; transition: all var(--transition); }
.filter-chip:hover { color: var(--accent); border-color: #b6f0cf; }
.filter-chip.is-active { color: #041208; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; box-shadow: 0 6px 16px var(--accent-glow); }
.filters__spacer { flex: 1; }
.filters__select { padding: 8px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; cursor: pointer; }

.article { max-width: 780px; margin: 0 auto; }
.article--wide { max-width: none; }
.article__cover { height: 280px; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 14px; position: relative; display: flex; align-items: center; justify-content: center; }
.article__cover::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 0, 0, 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.14) 1px, transparent 1px); background-size: 30px 30px; opacity: 0.4; }
.article__cover--1 { background: linear-gradient(135deg, #00b862 0%, #00e07a 100%); }
.article__cover--2 { background: linear-gradient(135deg, #047857 0%, #10b981 100%); }
.article__cover--3 { background: linear-gradient(135deg, #064e3b 0%, #00b862 100%); }
.article__glyph { position: relative; z-index: 1; font-family: 'JetBrains Mono', monospace; font-size: 96px; font-weight: 700; color: rgba(4, 20, 12, 0.85); }
.article__meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; color: var(--ink-muted); margin-bottom: 24px; }
.article__meta strong { color: var(--ink-soft); font-weight: 600; }
.article__body { font-size: 16px; line-height: 1.8; color: var(--ink-soft); }
.article__body h2 { font-size: 26px; font-weight: 800; color: var(--ink); margin: 40px 0 16px; letter-spacing: -0.02em; }
.article__body h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 32px 0 12px; }
.article__body p { margin-bottom: 16px; }
.article__body strong { color: var(--ink); font-weight: 700; }
.article__body em { font-style: italic; }
.article__body a { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--transition); }
.article__body a:hover { color: var(--accent-2); }
.article__body hr { border: none; height: 1px; background: var(--line); margin: 36px 0; }
.article__body img { display: block; max-width: 100%; height: auto; border-radius: 12px; margin: 24px 0; box-shadow: 0 12px 34px rgba(4, 20, 12, 0.09); }
.article__body figure { margin: 24px 0; }
.article__body figcaption { font-size: 13.5px; color: var(--ink-muted); text-align: center; margin-top: 10px; line-height: 1.55; }
.article__body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14.5px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.article__body .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.article__body .table-wrap > table { margin: 0; border: none; border-radius: 0; }
.article__body .table-wrap::-webkit-scrollbar { height: 8px; }
.article__body .table-wrap::-webkit-scrollbar-track { background: var(--bg-soft); }
.article__body .table-wrap::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.article__body .table-wrap::-webkit-scrollbar-thumb:hover { background: var(--ink-muted); }
.article__body thead { background: var(--bg-soft); }
.article__body th { padding: 14px 18px; text-align: left; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
.article__body td { padding: 14px 18px; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.article__body tbody tr:last-child td { border-bottom: none; }
.article__body td code { font-size: 13px; }
.article__body mark { background: var(--accent-soft); color: var(--ink); padding: 2px 6px; border-radius: 5px; }
.article__body abbr { border-bottom: 1px dashed var(--ink-muted); cursor: help; }
.article__body iframe { display: block; width: 100%; max-width: 100%; border: 0; border-radius: 12px; margin: 24px 0; }
.article__body .btn { margin: 16px 0; }
.article__body ul, .article__body ol { margin: 16px 0 20px; }
.article__body ul li, .article__body ol li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.article__body ul li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.article__body ol { counter-reset: item; }
.article__body ol li::before { content: counter(item); counter-increment: item; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.article__body blockquote { margin: 24px 0; padding: 20px 24px; background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 8px; color: var(--ink); font-size: 15.5px; }
.article__body code { font-family: 'JetBrains Mono', monospace; font-size: 13.5px; background: var(--bg-soft); padding: 2px 6px; border-radius: 5px; color: #067a44; }
.article__body details { padding: 14px 18px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; margin: 12px 0; }
.article__body details summary { font-weight: 700; cursor: pointer; color: var(--ink); }
.article__body details > *:not(summary) { margin-top: 10px; }

.article__toc { margin: 32px 0; padding: 22px 26px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; }
.article__toc-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-muted); margin-bottom: 14px; }
.article__toc-list { display: flex; flex-direction: column; gap: 6px; counter-reset: toc; list-style: none; padding: 0; margin: 0; }
.article__toc-item { position: relative; }
.article__toc-item a { display: inline-block; padding: 4px 0; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); text-decoration: none; border-bottom: 1px dashed transparent; transition: color var(--transition), border-color var(--transition); }
.article__toc-item a:hover { color: var(--accent); border-bottom-color: #b6f0cf; }
.article__toc-item--h3 { padding-left: 20px; }
.article__toc-item--h3 a { font-size: 13.5px; font-weight: 500; }

.article__cover--image { background: none; }
.article__cover--image img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.post__cover--image { background: none; }
.post__cover--image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.article__body h2[id],
.article__body h3[id] { scroll-margin-top: 100px; }

.article__body a.library,
.article__body a.library:hover,
.article__body a.library:focus { transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition); }
.article__body .library,
.article__body .library:hover,
.article__body .library:focus,
.article__body .library__link,
.article__body .library__link:hover,
.article__body .library__link:focus { text-decoration: none; }

.article__note { padding: 16px 22px; background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; margin: 22px 0; font-size: 15px; color: var(--ink); line-height: 1.65; }
.article__warning { padding: 16px 22px; background: rgba(251, 191, 36, 0.12); border-left: 3px solid #fbbf24; border-radius: 0 12px 12px 0; margin: 22px 0; font-size: 15px; color: var(--ink); line-height: 1.65; }
.article__body--boxed { background: #fff; padding: 32px; border: 1px solid var(--line); border-radius: 16px; }

.article__revisions { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.article__revisions h2 { font-size: 22px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; }
.article__revisions > p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 20px; line-height: 1.65; }
.article__revisions-list { display: flex; flex-direction: column; gap: 10px; }
.article__revisions-item { padding: 16px 20px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; transition: border-color var(--transition), background var(--transition); }
.article__revisions-item:hover { border-color: #b6f0cf; }
.article__revisions-item.is-current { background: var(--accent-soft); border-color: #b6f0cf; }
.article__revisions-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--ink); }
.article__revisions-meta strong { font-weight: 700; }
.article__revisions-meta span { color: var(--ink-muted); font-size: 13px; }
.article__revisions-note { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; line-height: 1.55; }
.article__revisions-actions { margin-top: 8px; }
.article__revisions-actions a { font-size: 13.5px; font-weight: 700; color: var(--accent); }
.article__revisions-actions a:hover { color: var(--accent-2); }

.code-block { position: relative; background: #041208; border: 1px solid rgba(0, 255, 136, 0.15); border-radius: 14px; overflow: hidden; margin: 24px 0; }
.code-block__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; background: rgba(0, 255, 136, 0.05); border-bottom: 1px solid rgba(0, 255, 136, 0.1); }
.code-block__name { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #7dffb0; letter-spacing: 0.05em; }
.code-block__copy { font-size: 12px; font-weight: 700; color: #7dffb0; padding: 6px 12px; border-radius: 8px; background: rgba(0, 255, 136, 0.1); transition: all var(--transition); }
.code-block__copy:hover { background: rgba(0, 255, 136, 0.2); color: #fff; }
.code-block__copy.is-copied { background: rgba(0, 224, 122, 0.28); color: #fff; }
.code-block pre { margin: 0; padding: 22px 24px; overflow-x: auto; font-family: 'JetBrains Mono', monospace; font-size: 13.5px; line-height: 1.7; color: #c8f7dc; }

.example-preview { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 24px 0; background: #fff; }
.example-preview__bar { padding: 10px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.example-preview__body { padding: 24px; }

.libraries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0; }
.library { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); text-decoration: none; }
.library:hover { border-color: #b6f0cf; box-shadow: 0 20px 40px rgba(4, 20, 12, 0.10); transform: translateY(-4px); }
.library__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.library__name { font-size: 15px; font-weight: 700; color: var(--ink); }
.library__size { font-size: 11.5px; font-weight: 700; color: var(--accent); padding: 3px 8px; border-radius: 100px; background: var(--accent-soft); }
.library__desc { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }
.library__link { font-size: 13px; font-weight: 600; color: var(--accent); margin-top: 4px; display: inline-flex; align-items: center; gap: 4px; }
.library:hover .library__link { color: var(--accent-2); }

.code-note { display: flex; gap: 14px; padding: 18px 22px; background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; margin: 20px 0 24px; font-size: 14.5px; color: var(--ink); line-height: 1.65; }
.code-note svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.code-note strong { color: var(--ink); font-weight: 700; }

.auth { max-width: 440px; margin: 0 auto; padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.auth__logo { display: flex; justify-content: center; margin-bottom: 24px; }
.auth__title { text-align: center; font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.auth__subtitle { text-align: center; font-size: 14.5px; color: var(--ink-soft); margin-bottom: 32px; }
.auth__form { display: flex; flex-direction: column; gap: 18px; }
.auth__note { text-align: center; font-size: 13.5px; color: var(--ink-muted); margin-top: 24px; }
.auth__link { color: var(--accent); font-weight: 700; }
.auth__link:hover { text-decoration: underline; }
.auth__divider { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--ink-muted); margin: 24px 0; text-transform: uppercase; letter-spacing: 0.1em; }
.auth__divider::before, .auth__divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth__socials { display: flex; flex-direction: column; gap: 10px; }
.auth__socials a.is-disabled { opacity: 0.5; cursor: not-allowed; }
.auth__socials a.is-disabled:hover { transform: none; box-shadow: none; background: var(--bg-soft); }
.social-consent { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; padding: 16px 18px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; }
.social-consent .field__hint { margin-top: 4px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field__hint { font-size: 12.5px; color: var(--ink-muted); }
.field__error { font-size: 12.5px; color: #dc2626; line-height: 1.4; margin-top: -4px; }
.field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="tel"], .field input[type="number"], .field input[type="date"], .field input[type="datetime-local"], .field textarea, .field select { width: 100%; padding: 13px 16px; font-family: inherit; font-size: 14.5px; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; transition: border-color var(--transition), background var(--transition), box-shadow var(--transition); outline: none; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 224, 122, 0.12); }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.checkbox { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }
.checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.checkbox__box { width: 20px; height: 20px; flex-shrink: 0; border-radius: 6px; border: 1.5px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; transition: all var(--transition); margin-top: 1px; }
.checkbox__box::after { content: ''; width: 5px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg) scale(0); transition: transform var(--transition); margin-top: -2px; }
.checkbox input:checked + .checkbox__box { background: var(--accent); border-color: var(--accent); }
.checkbox input:checked + .checkbox__box::after { transform: rotate(45deg) scale(1); }
.checkbox a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.checkbox-list { display: flex; flex-direction: column; gap: 12px; }

.radio-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.radio-card { position: relative; display: block; padding: 18px 16px; background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: all var(--transition); }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card:hover { border-color: #b6f0cf; }
.radio-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.radio-card input:checked ~ * { color: var(--accent); }
.radio-card__title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.radio-card__text { font-size: 12.5px; color: var(--ink-muted); line-height: 1.5; }

.upload { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 32px 20px; text-align: center; background: var(--bg-soft); border: 1.5px dashed var(--line); border-radius: 12px; cursor: pointer; transition: all var(--transition); }
.upload:hover { border-color: var(--accent); background: var(--accent-soft); }
.upload svg { color: var(--accent); }
.upload__title { font-size: 14px; font-weight: 700; color: var(--ink); }
.upload__text { font-size: 12.5px; color: var(--ink-muted); }
.upload input { display: none; }

.form-stack { display: flex; flex-direction: column; gap: 22px; }
.form-card { display: flex; flex-direction: column; gap: 18px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.form-card--plain { padding: 0; background: transparent; border: none; border-radius: 0; }
.form-card__title { font-size: 16px; font-weight: 700; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.form-card__title:last-child { border-bottom: none; padding-bottom: 0; }
.form-card__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.form-card__actions .btn { flex: 1; min-width: 180px; }

.admin-list { display: flex; flex-direction: column; gap: 10px; }
.admin-list + .pagination { margin-top: 24px; }
.admin-list__item { display: grid; grid-template-columns: auto 1fr auto auto; gap: 16px; align-items: center; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color var(--transition), box-shadow var(--transition); }
.admin-list__item:hover { border-color: #b6f0cf; box-shadow: var(--shadow-sm); }
.admin-list__id { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; color: var(--ink-muted); white-space: nowrap; }
.admin-list__title { font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.admin-list__meta { font-size: 12px; color: var(--ink-muted); line-height: 1.55; margin-top: 2px; }
.admin-list__meta code { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; background: var(--bg-soft); padding: 1px 6px; border-radius: 4px; color: var(--ink-soft); }
.admin-list__actions { display: flex; gap: 4px; flex-wrap: wrap; }
.admin-list__btn { padding: 6px 10px; font-size: 12px; font-weight: 600; color: var(--ink-soft); border-radius: 8px; transition: color var(--transition), background var(--transition); white-space: nowrap; }
.admin-list__btn:hover { color: var(--accent); background: var(--accent-soft); }
.admin-list__btn--danger { color: var(--danger); }
.admin-list__btn--danger:hover { color: var(--danger-hover); background: var(--danger-soft); }
.admin-list__btn--primary { color: var(--accent); background: var(--accent-soft); }
.admin-list__btn--primary:hover { color: #041208; background: var(--accent); }

.list-group-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-muted); margin: 32px 0 12px; }
.list-group-title:first-child { margin-top: 0; }

.tag { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.tag--success { background: rgba(0, 224, 122, 0.15); color: #067a44; }
.tag--warning { background: rgba(251, 191, 36, 0.15); color: #b48000; }
.tag--danger { background: var(--danger-soft); color: var(--danger); }
.tag--info { background: rgba(41, 169, 235, 0.12); color: #1e8fc9; }
.tag--neutral { background: var(--bg-soft); color: var(--ink-muted); border: 1px solid var(--line); }
.tag--reset { color: inherit; text-decoration: none; font-weight: 900; margin-left: 4px; }
.tag--lg { padding: 6px 12px; font-size: 12.5px; border-radius: 8px; }
.tag--xs { font-size: 10px; padding: 2px 6px; margin-left: 6px; }

.empty { padding: 60px 20px; text-align: center; color: var(--ink-muted); }
.empty__icon { font-size: 48px; line-height: 1; margin-bottom: 12px; opacity: 0.5; }
.empty__title { font-size: 17px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.empty__text { font-size: 14px; line-height: 1.55; }
.empty__actions { margin-top: 20px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }


.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.pagination__link { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; font-size: 14px; font-weight: 700; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; transition: all var(--transition); }
.pagination__link:hover { color: var(--accent); border-color: #b6f0cf; transform: translateY(-2px); }
.pagination__link.is-active { color: #041208; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; box-shadow: 0 6px 16px var(--accent-glow); cursor: default; }
.pagination__link.is-disabled { opacity: 0.4; cursor: not-allowed; }
.pagination__dots { display: inline-flex; align-items: center; padding: 0 6px; color: var(--ink-muted); font-weight: 700; }

@media (max-width: 1200px) {
  .nav > a, .nav__toggle { font-size: 13px; padding: 8px 9px; }
  .cards--features { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
  .cards--services { grid-template-columns: repeat(2, 1fr); }
  .cards--features { grid-template-columns: repeat(2, 1fr); }
  .cards--why { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards--payment { grid-template-columns: 1fr; }
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero__visual { height: 380px; max-width: 560px; }
  .about { grid-template-columns: 1fr; }
  .contacts__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
  .footer__docs { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .hero { padding: 140px 0 80px; }
  .hero__points { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__docs { grid-column: 1 / -1; }

  .nav { position: fixed; inset: 0; background: rgba(255, 255, 255, 0.99); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 100px 24px 40px; z-index: 998; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; gap: 4px; }
  .nav.is-open { opacity: 1; visibility: visible; height: 100vh; }
  .nav > a, .nav__toggle { width: 100%; padding: 16px 20px; font-size: 17px; font-weight: 700; color: var(--ink); text-align: left; justify-content: space-between; border-radius: 12px; }
  .nav > a:hover, .nav__toggle:hover { color: var(--accent); background: var(--accent-soft); }
  .nav__toggle svg { transform: none !important; }
  .nav__toggle.is-open svg { transform: rotate(180deg) !important; }
  .nav__toggle.is-open { color: var(--accent); background: var(--accent-soft); }
  .nav__group { position: static; }
  .nav__sub { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; padding: 0 0 0 12px; max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1); gap: 0; }
  .nav__sub.is-open { max-height: 700px; }
  .nav__sub a { padding: 12px 20px; font-size: 15px; font-weight: 600; color: var(--ink-soft); border-left: 2px solid var(--line); border-radius: 0 10px 10px 0; margin-left: 8px; white-space: normal; text-align: left; }
  .nav__sub a:hover { color: var(--accent); background: var(--accent-soft); border-color: var(--accent); }
  .nav__sub .nav__sub-all { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); border-left: none; color: var(--accent); text-align: center; margin-left: 0; }
  .nav__login-mobile { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; padding: 16px 20px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #041208 !important; font-weight: 700; font-size: 16px; border-radius: 12px; box-shadow: 0 10px 24px var(--accent-glow); text-align: center; }
  .nav__login-mobile:hover { color: #041208 !important; background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
  .header { z-index: 1000; }
  .modal { z-index: 1200; }
  .header--on-dark:not(.is-scrolled) .nav > a, .header--on-dark:not(.is-scrolled) .nav__toggle { color: var(--ink); }
  .header__actions { gap: 8px; }
  .burger { display: flex; position: relative; z-index: 999; }
  .header__cta { display: none; }
  .header__login-text { display: none; }
  .header__login--auth .header__login-text { display: inline; }
  .header__login[href*="notifications"] .header__login-text { display: none; }
  .libraries { grid-template-columns: 1fr; }


  .article__body .table-wrap table { min-width: 560px; }
  .related-posts__grid { grid-template-columns: 1fr; }
  .related-posts__title { font-size: 20px; }
  .article__body .table-wrap table { min-width: 560px; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .header__inner { gap: 12px; }
  .header__actions { gap: 6px; flex-shrink: 0; }
  .header__actions .btn--sm { padding: 8px 10px; font-size: 13px; }
  .header__actions .btn svg { width: 16px; height: 16px; }
  .header__login { flex-shrink: 0; }
  .header__login[href*="notifications"] { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .notif-trigger { position: relative; }
  .notification-badge { min-width: 16px; height: 16px; padding: 0 4px; font-size: 10px; top: -5px; right: -5px; border-width: 1.5px; }
  .burger { width: 40px; height: 40px; flex-shrink: 0; }
  .section { padding: 60px 0; }
  .section__head { margin-bottom: 40px; }
  .hero { padding: 128px 0 64px; }
  .hero__title { font-size: 32px; }
  .hero__lead { font-size: 15.5px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .posts { grid-template-columns: 1fr; }
  .cards--services { grid-template-columns: 1fr; }
  .cards--features { grid-template-columns: 1fr; }
  .cards--why { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .about__main, .about__side { padding: 24px; }
  .review { padding: 24px; }
  .contact-card { padding: 24px; }
  .payment-card { padding: 24px; }
  .donate__inner { padding: 22px; gap: 18px; }
  .donate__actions { width: 100%; }
  .donate__actions .btn { width: 100%; }
  .contacts__cta { flex-direction: column; padding: 28px 20px; align-items: stretch; }
  .contacts__cta p { text-align: center; }
  .contacts__cta-buttons { flex-direction: column; }
  .contacts__cta-buttons .btn { width: 100%; }
  .cookie__inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px; }
  .cookie__actions { flex-direction: column-reverse; align-items: stretch; width: 100%; flex-shrink: 1; }
  .cookie__actions .btn { width: 100%; }
  .modal { padding: 0; }
  .modal__dialog { max-height: 100vh; border-radius: 0; height: 100%; max-width: 100%; }
  .modal__title { padding: 22px 20px 16px; font-size: 19px; }
  .modal__content { padding: 22px 20px 28px; }
  .footer__inner { grid-template-columns: 1fr; }
  .page { padding: 116px 0 60px; }
  .page--home { padding: 0; }
  .auth { padding: 28px 20px; }
  .field__row { grid-template-columns: 1fr; }
  .radio-group { grid-template-columns: 1fr; }
  .article__cover { height: 200px; }
  .article__glyph { font-size: 64px; }
  .article__body table { font-size: 13.5px; }
  .article__body th, .article__body td { padding: 10px 12px; }
  .article__body img { margin: 18px 0; border-radius: 10px; }
  .article__body iframe { margin: 18px 0; }
  .faq__question { padding: 16px 18px; font-size: 15px; gap: 14px; }
  .faq__answer { padding: 0 18px; font-size: 14px; }
  .faq__item[open] .faq__answer { padding-bottom: 18px; }
  .faq__icon { width: 24px; height: 24px; }
  .pagination__link { min-width: 36px; height: 36px; padding: 0 8px; font-size: 13px; }
  .pagination { margin-top: 32px; }
}
