/* Numero 2. Design tokens first, then base, layout, blocks, lecture, access, utilities. Mobile-first, 4 breakpoints. */
@import url('../fonts/fonts.css');

:root {
	--c-bg: #000000;
	/* palette: blue 7 of the colour variants of 08.10.2026 (owner 09.10.2026), with the glass look at the end of this file;
	   history: variant 10 #a8b8cf (28.09), one blue family (08.10); the pink originals are in deploy/palette-preview/originals */
	--c-media-bg: #1f304c; /* behind posters and the player */
	--c-text: #ffffff;
	--c-muted: rgba(255, 255, 255, .7);
	--c-line: rgba(255, 255, 255, .1);
	--c-accent: #b3cbea;
	--c-accent-rgb: 179 203 234;
	--c-baby-rgb: 199 217 240;
	--c-deep: #82a2ce;
	--c-on-accent: #090909;
	--c-btn: #82a2ce; /* buttons: the deeper blue with white text */
	--c-btn-rgb: 130 162 206;
	--c-btn-hover: #93b0dc;
	--c-on-btn: #ffffff;
	--c-glow: 179 203 234; /* hero glow colour, r g b */
	--glow: radial-gradient(circle closest-side, rgb(var(--c-glow) / 1) 0%, rgb(var(--c-glow) / 0.97) 10%, rgb(var(--c-glow) / 0.89) 20%, rgb(var(--c-glow) / 0.76) 30%, rgb(var(--c-glow) / 0.59) 40%, rgb(var(--c-glow) / 0.4) 50%, rgb(var(--c-glow) / 0.23) 60%, rgb(var(--c-glow) / 0.11) 70%, rgb(var(--c-glow) / 0.04) 80%, rgb(var(--c-glow) / 0.006) 90%, rgb(var(--c-glow) / 0) 100%);
	--c-ink: #090909;
	--f-body: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
	--f-display: Unbounded, Manrope, system-ui, sans-serif;
	--w-container: 1154px;
	--gutter: 15px;
	--r-card: 20px;
	--header-h: 90px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.is-locked { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
s { opacity: .55; font-weight: 400; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; padding: 8px 12px; background: var(--c-accent); color: var(--c-on-accent); border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

.container { width: 100%; max-width: var(--w-container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 760px; }
.container--calc { max-width: 792px; }
.section { padding: 56px 0; }
.section--inner { padding-top: calc(var(--header-h) + 32px); min-height: 70vh; }
.section__title { font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1.15; color: var(--c-text); }
.section__title--center { text-align: center; }
.section__title--sm { font-size: 20px; margin-bottom: 16px; }

/* ---------------------------------------------------------------- buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 16px 20px; border: 1px solid var(--c-btn); border-radius: 12px; box-shadow: 0 0 28px rgb(var(--c-btn-rgb) / .46);
	background: var(--c-btn); color: var(--c-on-btn); font-weight: 700; font-size: 15px; line-height: 20px; text-decoration: none; text-align: center;
	transition: background .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--c-btn-hover); border-color: var(--c-btn-hover); color: var(--c-on-btn); }
.btn:active { transform: translateY(1px); }
.btn--outline { background: transparent; border-color: #fff; color: #fff; box-shadow: none; }
.btn--outline:hover { background: #fff; color: var(--c-ink); border-color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 28px; font-size: 16px; }
.btn--sm { padding: 10px 14px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------------------------------------------------------------- header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 20px 0; background: transparent; } /* no background transition: with fast scrolling it froze half-transparent over the content */
.site-header.is-scrolled, body:not(.home) .site-header { background: #000; }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 50px; }
.site-header__logo img { width: 136px; height: auto; }
.site-nav { display: none; margin-left: auto; }
.site-nav__list { display: flex; gap: 10px; line-height: 1; }
.site-nav__list a { color: #fff; text-decoration: none; font-size: 16px; line-height: 1; border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-nav__list a:hover, .site-nav__list a:focus-visible { border-bottom-color: var(--c-accent); }
.site-header__tools { display: flex; align-items: center; gap: 10px; }
.burger { display: inline-flex; padding: 6px; color: #fff; }

.mobile-menu { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); }
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu__panel { position: absolute; top: 0; right: 0; width: min(320px, 88vw); height: 100%; padding: 64px 24px 32px; background: rgb(var(--c-accent-rgb) / .1); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-left: 1px solid rgba(255, 255, 255, .14); box-shadow: -20px 0 50px rgba(0, 0, 0, .5); transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; }
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__close { position: absolute; top: 14px; right: 14px; padding: 6px; color: #fff; }
.mobile-menu__list { display: grid; gap: 4px; margin-bottom: 24px; }
.mobile-menu__list a { display: block; padding: 12px 8px; color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; border-radius: 10px; }
.mobile-menu__list a:hover { background: rgba(255, 255, 255, .06); color: var(--c-accent); }

/* language switcher */
.lang { position: relative; font-family: var(--f-body); }
.lang__toggle { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .06); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .06em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .2s, background .2s; }
.lang__toggle:hover, .lang.is-open .lang__toggle { border-color: var(--c-accent); background: rgb(var(--c-accent-rgb) / .16); }

.lang .ico-chevron { transition: transform .2s; }
.lang.is-open .ico-chevron { transform: rotate(180deg); }
.lang__menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 184px; padding: 6px; background: rgb(var(--c-accent-rgb) / .1); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s linear .18s; z-index: 20; }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; } /* opens by click only: hover kept it open after a second click on the toggle (owner 09.10.2026) */
.lang__item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; line-height: 1; white-space: nowrap; }
.lang__item:hover { background: rgb(var(--c-accent-rgb) / .16); }
.lang__code { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 22px; padding: 0 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.lang__item.is-active .lang__code { background: var(--c-accent); color: var(--c-on-accent); }
.lang__name { flex: 1; opacity: .82; }
.lang__item .ico-check { margin-left: auto; color: var(--c-accent); opacity: 0; }
.lang__item.is-active .ico-check { opacity: 1; }

/* ================================================================ landing: sizes of the original numeroloya.com theme
   Phones are ≤768px like on the original (its breakpoints: max-width 768 and 991): desktop rules from 769px, header menu from 992px. */
:is(.calc, .benefits, .packages, .reviews, .lecture-block) { margin: 50px 0; }
:is(.calc, .benefits, .packages, .reviews, .lecture-block) .section__title { font-size: 22px; line-height: 1; margin-bottom: 20px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 400px 0 50px; overflow: hidden; isolation: isolate; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 80px; background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000); pointer-events: none; }
.hero__media { position: absolute; inset: 0; z-index: -1; display: block; pointer-events: none; }
/* phone glow ends where the kicker fade ends (400px - 12px), so photo and glow dissolve together; a full circle ran on below the fade and showed a stripe */
.hero::before { content: ''; position: absolute; left: 50%; top: 59px; z-index: -2; width: 400px; height: 329px; transform: translateX(-50%); background: var(--glow) no-repeat center top / 400px 400px; pointer-events: none; }
.hero__photo { position: absolute; top: 0; left: 50%; width: 475px; max-width: none; height: auto; transform: translateX(-50%); }
.hero__content { position: relative; z-index: 2; max-width: 645px; }
.hero__kicker { position: relative; font-family: var(--f-display); font-weight: 400; font-size: 16px; line-height: 1; color: rgba(255, 255, 255, .7); margin-bottom: 16px; }
.hero__kicker::before { content: ''; position: absolute; left: 0; top: -27px; width: 100%; height: 15px; background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000); }
.hero__title { font-family: var(--f-display); font-weight: 500; font-size: 32px; line-height: 1; text-transform: uppercase; margin-bottom: 16px; }
.hero__text { font-size: 12px; line-height: 1.6; color: #fff; margin-bottom: 40px; text-wrap: pretty; }
/* typed line under the title: the words are typed and erased one at a time by main.js, no cursor (owner 08.10.2026). The hidden sizer stacks every phrase
   in one grid cell, so the line keeps the height of the longest one and the text below never jumps */
.hero__typed { display: grid; margin: -8px 0 8px; font-family: var(--f-display); font-weight: 400; font-size: 16px; line-height: 1.25; letter-spacing: .02em; text-transform: uppercase; color: var(--c-accent); white-space: pre-line; }
.hero__typed-sizer, .hero__typed-line { grid-area: 1 / 1; }
.hero__typed-sizer { display: grid; visibility: hidden; }
.hero__typed-sizer > span { grid-area: 1 / 1; }
/* one compact paragraph: the line breaks typed in the field are dropped, the lines run the full width under the title (owner 07.10.2026) */
.hero__text br { display: none; }
.hero .btn { width: 100%; }

/* ---------------------------------------------------------------- stats */
.stats { padding: 20px 0; }
.stats__list { display: grid; grid-template-columns: 1fr; gap: 12px; }
.stats__item { display: block; padding-bottom: 12px; border-bottom: 1px solid var(--c-line); }
.stats__item:last-child { padding-bottom: 0; border-bottom: 0; }
.stats__number { display: block; font-family: var(--f-display); font-weight: 500; font-size: 22px; line-height: 1; margin-bottom: 12px; }
.stats__text { display: block; padding-right: 10px; font-size: 14px; line-height: 1.6; color: var(--c-muted); }

/* ---------------------------------------------------------------- calculator */
.container--calc { max-width: 760px; margin: 0; padding: 0; }
/* glass on black (owner 09.10.2026): translucent panels with blur and a light edge, a blue glow behind the calculator and the packages;
   the 1px edge is taken out of the padding, so inner widths and heights match the sizes of the original theme */
.calc, .packages { position: relative; isolation: isolate; }
.calc::before, .packages::before { content: ''; position: absolute; left: 20%; right: 20%; top: 10%; bottom: 10%; z-index: -1; background: radial-gradient(ellipse at center, rgb(var(--c-btn-rgb) / .34), transparent 65%); pointer-events: none; }
.calc__panel { position: relative; margin-bottom: 15px; padding: 29px 19px; background: rgb(var(--c-accent-rgb) / .07); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-card); }
.calc__panel .section__title { text-align: center; }
.calc__intro { margin: 0 0 30px; text-align: center; font-size: 12px; line-height: 1.6; color: #fff; }
.calc__form { display: flex; flex-direction: column; gap: 16px; }
.calc__input { width: 100%; height: 51px; padding: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; color: #fff; font: inherit; font-size: 18px; line-height: 1; text-align: center; outline: none; transition: border-color .2s; }
.calc__input::placeholder { color: rgba(255, 255, 255, .5); }
.calc__input:focus { border-color: var(--c-accent); }
.calc__input.is-invalid { border-color: #ff5674; }
/* browser autofill paints a filled field yellow (Safari) or blue (Chrome): an inset shadow keeps the field colour */
.calc__input:-webkit-autofill, .calc__input:-webkit-autofill:hover, .calc__input:-webkit-autofill:focus { -webkit-text-fill-color: #fff; box-shadow: inset 0 0 0 60px #1b2230; caret-color: currentColor; transition: background-color 600000s 0s, color 600000s 0s; }
.calc__form .btn { display: block; width: 100%; margin: 24px 0; padding: 14px 55px; }
.calc__error { flex-basis: 100%; margin: 0; color: #ff8aa0; font-size: 14px; line-height: 1.4; text-align: center; }
.calc__result { margin: 26px 0 13px; font-family: var(--f-display); font-weight: 700; font-size: 16px; line-height: 1.6; text-align: center; }
.calc__result span { color: var(--c-accent); }
.matrix-wrap { position: relative; max-width: 530px; margin: 0 auto; }
.matrix-wrap__star { position: absolute; z-index: 2; color: #fff; }
.matrix-wrap__star--tl { top: -7px; left: -7px; } .matrix-wrap__star--tr { top: -7px; right: -7px; }
/* bottom stars live inside the corner cells of the 4th row (td is position: relative) */
.matrix td > .matrix-wrap__star--bl { bottom: -8px; left: -8px; } .matrix td > .matrix-wrap__star--br { bottom: -8px; right: -8px; }
.matrix { width: 100%; border-collapse: collapse; table-layout: fixed; }
.matrix td { position: relative; padding: 19px 3px; border: 1px solid var(--c-accent); text-align: center; vertical-align: middle; }
.matrix td.matrix__cell--empty { border: 0; }
.matrix td.matrix__cell--dark { background: rgba(255, 255, 255, .05); }
.matrix__label { display: block; margin-bottom: 10px; font-size: 10px; line-height: 1.6; color: #fff; }
.matrix__num { display: block; font-family: var(--f-display); font-weight: 500; font-size: 16px; line-height: normal; }
.matrix.is-filled .matrix__num { color: #fff; }
/* shown after a calculation, under the calculator panel and above its two buttons */
.calc__cta-title { margin: 0 0 20px; padding: 0 15px; text-align: center; font-family: var(--f-display); font-weight: 500; font-size: 16px; line-height: 1.35; color: var(--c-text); text-wrap: balance; }
.calc__buttons { display: grid; gap: 12px; padding: 0 15px; }
.calc__buttons .btn { width: 100%; }

/* ---------------------------------------------------------------- benefits */
.benefits .section__title { text-align: left; }
.benefits__list { display: grid; grid-template-columns: 1fr; }
.benefits__card { display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border-radius: var(--r-card); background: rgb(var(--c-accent-rgb) / .07); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .18); }
.benefits__card--1 { background: rgb(var(--c-accent-rgb) / .55); color: #fff; }
.benefits__card--3 { background: rgba(255, 255, 255, .12); color: #fff; }
.benefits__card--4 { background: rgb(var(--c-baby-rgb) / .35); color: #fff; }
.benefits__num { font-family: var(--f-display); font-weight: 500; font-size: 32px; line-height: 1; margin-bottom: 20px; }
.benefits__text { font-size: 16px; line-height: 1.4; }

/* ---------------------------------------------------------------- packages */
.packages .section__title { text-align: left; }
.packages__scroller { margin: 0 calc(-1 * var(--gutter)); padding: 40px var(--gutter) 0; scroll-padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.packages__scroller::-webkit-scrollbar { display: none; }
.packages__grid { display: flex; gap: 24px; width: max-content; }
.package { display: flex; flex-direction: column; justify-content: space-between; width: 290px; padding: 30px 16px; background: rgb(var(--c-accent-rgb) / .07); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-card); scroll-snap-align: start; transition: background .3s linear, border-color .3s linear; }
.package:hover, .package--featured { background: rgb(var(--c-accent-rgb) / .14); border-color: rgb(var(--c-accent-rgb) / .45); }
.package__title { font-family: var(--f-display); font-weight: 500; font-size: 22px; line-height: 1; text-align: center; margin-bottom: 30px; }
.package__intro { margin: 15px 0; font-size: 16px; line-height: 1.6; color: #fff; }
.package__list { margin-top: 30px; min-height: 337px; }
.package__list li { position: relative; padding-left: 25px; font-size: 14px; line-height: 1.6; }
.package__list li:not(:last-child) { margin-bottom: 16px; }
.package__list .ico-star { position: absolute; left: 0; top: 6px; color: var(--c-accent); }
.package__foot { display: contents; }
.package__price { font-family: var(--f-display); font-weight: 500; font-size: 22px; line-height: 1; text-align: center; margin-top: 25px; }
.package .btn { width: 100%; margin-top: 20px; }

/* ---------------------------------------------------------------- reviews */
.reviews .section__title { margin-bottom: 30px; }
.slider { position: relative; margin: 40px 0 30px; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__arrow { display: none; position: absolute; top: 50%; z-index: 2; width: 62px; height: 62px; transform: translateY(-50%); border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgb(var(--c-accent-rgb) / .07); color: #fff; align-items: center; justify-content: center; transition: border-color .2s, color .2s, background .2s; }
.slider__arrow:hover { border-color: var(--c-accent); color: var(--c-accent); background: rgb(var(--c-accent-rgb) / .16); }
.slider__arrow[disabled] { opacity: .3; cursor: default; }
.slider__arrow--prev { left: 0; }
.slider__arrow--next { right: 0; }
.slider__dots { position: absolute; left: 0; right: 0; bottom: -25px; display: flex; justify-content: center; gap: 3px; }
.slider__dot { width: 14px; height: 14px; padding: 0; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; background: transparent; }
.slider__dot.is-active { background: var(--c-accent); }
.review { position: relative; display: flex; flex-direction: column-reverse; padding: 79px 15px 15px; background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .18); color: #fff; border-radius: var(--r-card); scroll-snap-align: start; }
.review__quote { position: absolute; left: 24px; top: 24px; color: var(--c-deep); }
.review__person { display: flex; align-items: center; }
.review__photo { flex: none; width: 54px; height: 54px; margin-right: 8px; border-radius: 50%; object-fit: cover; }
.review__who { display: grid; }
.review__name { font-size: 15px; line-height: 1.7; font-weight: 400; color: #fff; }
.review__handle { font-size: 15px; line-height: 1.7; color: var(--c-deep); text-decoration: none; }
.review__label { font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1; margin-bottom: 20px; color: #fff; }
.review__text { margin-bottom: 20px; font-size: 16px; line-height: 1.7; color: #fff; }

/* ---------------------------------------------------------------- lecture cards (shared base; the landing block overrides below) */
.lecture-card { display: grid; gap: 16px; padding: 15px; background: rgb(var(--c-accent-rgb) / .07); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-card); }
.lecture-card__media { display: block; border-radius: 12px; overflow: hidden; background: var(--c-media-bg); }
.lecture-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s var(--ease); }
.lecture-card__media:hover img { transform: scale(1.03); }
.lecture-card__body { display: grid; gap: 12px; text-align: center; }
.lecture-card__title { font-family: var(--f-display); font-weight: 500; font-size: 18px; line-height: 1.2; }
.lecture-card__title a { color: inherit; text-decoration: none; }
.lecture-card__text { font-size: 14px; line-height: 1.5; color: var(--c-muted); }

/* ---------------------------------------------------------------- lecture block (landing) */
.lecture-block__grid { display: grid; }
.lecture-block__cards { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 15px; scrollbar-width: none; }
.lecture-block__cards::-webkit-scrollbar { display: none; }
.lecture-block .lecture-card { flex: none; width: 100%; max-width: 312px; grid-template-columns: 1fr; gap: 24px; align-items: center; padding: 19px; }
.lecture-block .lecture-card__media, .lecture-block .lecture-card__media img { border-radius: var(--r-card); }
.lecture-block .lecture-card__media img { aspect-ratio: 1024 / 572; } /* the poster ratio of the original; keeps the box while the lazy image loads */
.lecture-block .lecture-card__body { display: block; }
.lecture-block .lecture-card__title { font-size: 16px; line-height: 1.2; margin-bottom: 20px; }
.lecture-block .lecture-card__text { font-size: 10px; line-height: 1.4; color: #fff; margin-bottom: 16px; }
.lecture-block .lecture-card .btn { width: 100%; }
.lecture-block__note { margin-top: 12px; font-size: 13px; color: var(--c-muted); }

/* ---------------------------------------------------------------- footer */
/* the end of the page as a block of its own (owner 07.10.2026): a line above it and above the copyright bar */
.site-footer { padding: 0; background: #000; border-top: 1px solid rgba(255, 255, 255, .24); } /* lines a touch clearer than --c-line (owner 09.10.2026) */
.site-footer__grid { display: grid; gap: 24px; padding-top: 50px; }
.site-footer__logo img { width: 122px; height: 50px; margin-bottom: 20px; }
.site-footer__text { font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, .8); }
.site-footer__menu { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.site-footer__menu li:not(:last-child) { margin-bottom: 20px; }
.site-footer__menu a { color: rgba(255, 255, 255, .8); font-weight: 700; font-size: 14px; line-height: 18px; text-decoration: none; transition: color .3s linear; }
.site-footer__menu a:hover { color: var(--c-accent); }
.socials { display: flex; margin-top: 20px; }
.socials__item { display: block; width: 40px; height: 42px; color: #fff; transition: opacity .3s linear; }
.socials__item svg { display: inline-block; vertical-align: baseline; }
.socials__item:hover { opacity: .8; }
.site-footer__copy { margin-top: 40px; padding: 18px var(--gutter) 17px; border-top: 1px solid rgba(255, 255, 255, .24); text-align: center; font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, .5); }

/* ---------------------------------------------------------------- appear step by step (owner 08.10.2026), hover stays as it was
   "What a consultation gives": the cards are dealt one after another and land at their tilt.
   Packages: the cards rise one after another and fill up: list lines come in one by one, their stars flash like sparkles,
   the price comes last. main.js puts .js-reveal on <html> (not with reduced motion) and .is-in on the cards in turn */
.js-reveal :is(.benefits__card, .package):not(.is-in) { opacity: 0; }
.js-reveal .benefits__card.is-in { animation: nl-deal 1s cubic-bezier(.16, 1, .3, 1) backwards; }
.benefits__card { --deal: 8deg; }
.benefits__card:nth-child(even) { --deal: -8deg; }
@keyframes nl-deal { from { opacity: 0; translate: 0 110px; rotate: var(--deal); scale: .9; } 45% { opacity: 1; } }
.js-reveal .package.is-in { animation: nl-rise .9s cubic-bezier(.16, 1, .3, 1) backwards; }
.package { --rise: 0px; --shrink: .94; } /* below 992px the packages are a swipe row: a card rising from below would overflow it, so it grows instead */
@keyframes nl-rise { from { opacity: 0; translate: 0 var(--rise); scale: var(--shrink); } }
.js-reveal .package:not(.is-in) :is(.package__intro, .package__list li, .package__price) { opacity: 0; }
.js-reveal .package.is-in :is(.package__intro, .package__list li) { animation: nl-line .55s var(--ease) backwards; animation-delay: calc(.3s + var(--i, 0) * .09s); }
.js-reveal .package.is-in .package__list .ico-star { transform-origin: 50% 50%; animation: nl-sparkle .7s cubic-bezier(.34, 1.56, .64, 1) backwards; animation-delay: calc(.38s + var(--i, 0) * .09s); }
.js-reveal .package.is-in .package__price { animation: nl-line-up .6s var(--ease) .95s backwards; }
.package__list li:nth-child(2) { --i: 1; } .package__list li:nth-child(3) { --i: 2; } .package__list li:nth-child(4) { --i: 3; }
.package__list li:nth-child(5) { --i: 4; } .package__list li:nth-child(6) { --i: 5; } .package__list li:nth-child(7) { --i: 6; } .package__list li:nth-child(8) { --i: 7; }
@keyframes nl-line { from { opacity: 0; translate: -12px 0; } }
@keyframes nl-line-up { from { opacity: 0; translate: 0 14px; } }
@keyframes nl-sparkle { from { opacity: 0; scale: 0; rotate: -120deg; } }
@media print { .js-reveal :is(.benefits__card, .package, .package__intro, .package__list li, .package__price) { opacity: 1 !important; animation: none !important; } }

@media (min-width: 769px) {
	:is(.calc, .benefits, .packages, .reviews, .lecture-block) { margin: 100px 0; }
	:is(.calc, .benefits, .packages, .reviews, .lecture-block) .section__title { font-size: 40px; }
	.benefits { margin-bottom: 200px; }
	.hero { padding: 200px 0 185px; }
	.hero::before { inset: 0; width: auto; height: auto; transform: none; background: var(--glow) no-repeat right center / 1000px 984px; }
	.hero__photo { top: 40px; left: auto; right: 0; width: 100%; height: 100%; transform: none; object-fit: contain; object-position: right top; }
	.hero__kicker { font-size: 30px; }
	.hero__kicker::before { content: none; }
	.hero__title { font-size: 64px; margin-bottom: 18px; }
	.hero__typed { margin: 0 0 12px; font-size: 24px; white-space: normal; } /* 12px: with the typed line the first screen stays 731px tall like the live site, the photo (height 100%) keeps its size and place */
	.hero__text { font-size: 17px; line-height: 1.6; }
	.hero .btn { width: auto; }
	.stats__list { grid-template-columns: repeat(4, 1fr); gap: 24px; }
	.stats__item { padding-bottom: 0; border-bottom: 0; border-right: 1px solid var(--c-line); }
	.stats__item:last-child { border-right: 0; }
	.stats__number { font-size: 30px; }
	.stats__text { font-size: 16px; }
	.container--calc { margin: 0 auto; }
	.calc__panel { margin-bottom: 30px; padding: 29px; }
	.calc__intro { font-size: 16px; }
	.calc__form { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; }
	.calc__input { flex: 1 1 0; min-width: 0; }
	.calc__form .btn { flex: none; width: auto; margin: 0; }
	.matrix td { padding: 31px 10px; }
	.matrix__label { font-size: 13px; }
	.matrix__num { font-size: 25px; }
	.calc__buttons { grid-template-columns: 1fr 1fr; gap: 30px; padding: 0 30px; }
	.calc__cta-title { margin-bottom: 30px; font-size: 20px; }
	.benefits .section__title { text-align: center; }
	.benefits__list { grid-template-columns: repeat(4, 1fr); margin-top: 85px; }
	.benefits__num { font-size: 40px; margin-bottom: 80px; }
	.benefits__card--1 { transform: rotate(-5.7deg); }
	.benefits__card--2 { position: relative; top: 70px; left: -15px; transform: rotate(9.3deg); }
	.benefits__card--3 { position: relative; top: -25px; left: -70px; }
	.benefits__card--4 { position: relative; top: 70px; left: -75px; transform: rotate(10deg); z-index: -1; }
	.packages .section__title { text-align: center; }
	.package__title, .package__price { font-size: 30px; }
	.package__list li { font-size: 16px; }
	.slider { margin: 40px 0 0; padding: 0 95px; }
	.slider__arrow { display: inline-flex; }
	.slider__dots { display: none; }
	.review { flex-direction: row; align-items: flex-start; padding: 79px 29px 29px; }
	.review__person { flex: none; flex-direction: column; width: 170px; margin-right: 20px; text-align: center; }
	.review__photo { width: 170px; height: 170px; margin: 0; }
	.review__name { margin-top: 8px; }
	.review__label { font-size: 30px; }
	.review__text { margin-bottom: 0; }
	.lecture-block__grid { grid-template-columns: 360px 1fr; gap: 70px; }
	.lecture-block__cards { display: block; overflow: visible; padding-bottom: 0; }
	.lecture-block .lecture-card { max-width: none; grid-template-columns: 1fr 1fr; }
	.lecture-block .lecture-card:not(:last-child) { margin-bottom: 20px; }
	.lecture-block .lecture-card__title { font-size: 22px; line-height: 1; }
	.lecture-block .lecture-card__text { font-size: 16px; margin-bottom: 40px; }
	.site-footer { padding-top: 70px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 55px; padding-top: 0; }
	.site-footer__menu { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-end; row-gap: 14px; }
	.site-footer__menu li:not(:last-child) { margin: 0 20px 0 0; }
	.site-footer__menu a { font-weight: 500; font-size: 13px; }
	.site-footer__links { display: flex; flex-direction: column; align-items: flex-end; }
	.site-footer__copy { margin-top: 60px; padding-top: 20px; padding-bottom: 20px; }
}

@media (min-width: 992px) {
	/* packages: three columns only from 992px; on tablets they stay a swipe row like on phones (the grid overflowed 769-991px) */
	.packages__scroller { margin: 40px 0 0; padding: 0; overflow: visible; }
	.packages__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: auto; }
	.package { width: auto; padding: 48px 24px; --rise: 70px; --shrink: 1; }
	/* footer: the links column takes the width of its menu, so the longer UA items stay on one line */
	.site-footer__grid { grid-template-columns: minmax(0, 1fr) auto; }
	.site-footer__menu { flex-wrap: nowrap; }

	.site-nav { display: block; }
	.burger { display: none; }
	.package .btn { margin-top: 95px; }
}

/* ---------------------------------------------------------------- modal + forms */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s var(--ease); }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.modal__dialog { position: relative; width: 100%; max-height: 92vh; overflow-y: auto; padding: 56px 20px 24px; background: rgb(var(--c-accent-rgb) / .1); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .18); color: #fff; border-radius: 20px 20px 0 0; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transform: translateY(24px); transition: transform .25s var(--ease); }
.modal.is-open .modal__dialog { transform: none; }
.modal__close { position: absolute; top: 12px; right: 12px; padding: 6px; color: #fff; }
.modal__title { font-family: var(--f-display); font-weight: 700; font-size: 24px; line-height: 1.2; text-align: center; margin-bottom: 8px; }
.modal__text { font-size: 14px; text-align: center; margin-bottom: 20px; }
.lead-form__grid { display: grid; gap: 14px; margin-bottom: 18px; }
.lead-form__hp { position: absolute; left: -9999px; }
.field { display: grid; gap: 4px; }
.field__label { font-size: 13px; color: rgba(255, 255, 255, .7); }
.field__input { width: 100%; padding: 9px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font: inherit; font-size: 15px; outline: none; transition: border-color .2s; }
.field__input::placeholder { color: rgba(255, 255, 255, .45); }
.field__input:focus { border-bottom-color: var(--c-accent); }
.field__input.is-invalid { border-bottom-color: #ff8aa0; }
.field__input--area { resize: none; }
.field__input:-webkit-autofill, .field__input:-webkit-autofill:hover, .field__input:-webkit-autofill:focus { -webkit-text-fill-color: #fff; box-shadow: inset 0 0 0 60px #1b2230; transition: background-color 600000s 0s, color 600000s 0s; }
.lead-form__consent { margin-top: 10px; font-size: 12px; color: rgba(255, 255, 255, .55); text-align: center; }
.lead-form__status { margin-top: 12px; font-size: 14px; text-align: center; min-height: 1.4em; }
.lead-form__status.is-ok { color: #8fe0a8; }
.lead-form__status.is-error { color: #ff8aa0; }

/* ---------------------------------------------------------------- lecture page: sales */
.lecture__hero { padding: calc(var(--header-h) + 16px) 0 32px; }
.lecture__hero-grid { display: grid; gap: 24px; }
.lecture__video, .lecture__poster { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-card); background: var(--c-media-bg); }
.lecture__title { font-family: var(--f-display); font-weight: 500; font-size: 26px; line-height: 1.15; margin: 8px 0 16px; }
.lecture__facts { display: grid; gap: 8px; margin-bottom: 20px; font-size: 14px; color: var(--c-muted); }
.lecture__facts li { display: flex; align-items: center; gap: 8px; }
.lecture__facts .ico-play, .lecture__facts .ico-check { color: var(--c-accent); }
.buybox { display: grid; gap: 12px; padding: 19px; background: rgb(var(--c-accent-rgb) / .07); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-card); }
.buybox__price { font-family: var(--f-display); font-weight: 500; font-size: 28px; line-height: 1; }
.buybox__price s { font-size: 18px; margin-left: 8px; }
.buybox__note { font-size: 13px; line-height: 1.5; color: var(--c-muted); }
.buybox__login { font-size: 14px; color: var(--c-accent); }
.lecture__grid { display: grid; gap: 32px; padding-top: 8px; padding-bottom: 56px; }
.prose { font-size: 16px; line-height: 1.7; }
.prose p { margin: 0 0 14px; }
.prose h2, .prose h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.25; margin: 24px 0 12px; }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 14px; list-style: disc; }
.prose a { color: var(--c-accent); }
.program { display: grid; gap: 8px; }
.program__item { display: flex; align-items: center; gap: 12px; padding: 11px 13px; background: rgb(var(--c-accent-rgb) / .07); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; font-size: 15px; }
.program__link { display: flex; align-items: center; gap: 12px; width: 100%; color: inherit; text-decoration: none; }
.program__num { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--c-accent); font-family: var(--f-display); font-size: 12px; }
.program__title { flex: 1; }
.program__meta { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 12px; color: var(--c-muted); }
.program__item--locked .ico-lock { color: var(--c-muted); }
.program__item.is-current { background: rgb(var(--c-accent-rgb) / .16); box-shadow: inset 3px 0 0 var(--c-accent); }
.program__item.is-done .program__num { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }
.program__item .ico-check { opacity: 0; color: var(--c-accent); }
.program__item.is-done .ico-check { opacity: 1; }
.program__hint { margin-top: 12px; font-size: 13px; color: var(--c-muted); }

/* ---------------------------------------------------------------- lecture page: learning */
.learn { padding-top: var(--header-h); }
.learn__bar { position: relative; border-bottom: 1px solid var(--c-line); background: #0a0a0a; }
.learn__bar-track { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: rgba(255, 255, 255, .08); }
.learn__bar-fill { display: block; height: 100%; background: var(--c-accent); transition: width .4s var(--ease); }
.learn__bar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; padding-top: 12px; padding-bottom: 12px; }
.learn__back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--c-muted); text-decoration: none; }
.learn__back .ico-arrow { transform: rotate(180deg); }
.learn__back:hover { color: #fff; }
.learn__title { grid-column: 1 / -1; min-width: 0; overflow-wrap: anywhere; font-family: var(--f-display); font-weight: 500; font-size: 16px; line-height: 1.3; }
.learn__progress { grid-column: 2; grid-row: 1; font-size: 13px; font-weight: 700; color: var(--c-accent); white-space: nowrap; }
.learn__notice { padding: 12px var(--gutter); background: rgb(var(--c-accent-rgb) / .15); font-size: 14px; text-align: center; }
.learn__grid { display: grid; gap: 28px; padding-top: 20px; padding-bottom: 56px; }
.player { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--c-media-bg); }
.player__video { width: 100%; aspect-ratio: 16 / 9; }
.player__mark { position: absolute; right: 12px; bottom: 56px; padding: 4px 8px; font-size: 11px; color: rgba(255, 255, 255, .55); background: rgba(0, 0, 0, .35); border-radius: 6px; pointer-events: none; }
.player__empty { display: grid; place-items: center; aspect-ratio: 16 / 9; color: var(--c-muted); }
.learn__lesson-head { display: grid; gap: 10px; margin: 20px 0 16px; }
.learn__lesson-title { font-family: var(--f-display); font-weight: 500; font-size: 22px; line-height: 1.2; }
.learn__done { justify-self: stretch; justify-content: center; }
.learn__done.is-done { border-color: var(--c-accent); color: var(--c-accent); }
.learn__text { padding: 19px 15px; background: rgb(var(--c-accent-rgb) / .07); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-card); font-size: 17px; line-height: 1.75; }
.learn__text p { margin: 0 0 16px; }
.learn__text p:last-child { margin-bottom: 0; }
.learn__text strong { color: var(--c-accent); }
.learn__text em { color: var(--c-muted); }
.learn__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.learn__nav .btn { flex: 1; }
.learn__to-list { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--c-muted); }
.learn__to-list:hover { color: #fff; }

/* ---------------------------------------------------------------- access page */
.access__head { display: grid; gap: 8px; margin-bottom: 24px; }
.access__who { font-size: 14px; color: var(--c-muted); }
.access__who a { color: var(--c-accent); }
.access__intro { margin: 12px 0 24px; color: var(--c-muted); }
.access-form { display: grid; gap: 16px; padding: 19px; background: rgb(var(--c-accent-rgb) / .07); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-card); }
.access__legacy { margin-top: 20px; }
.access__legacy summary { cursor: pointer; color: var(--c-muted); font-size: 14px; margin-bottom: 12px; }
.access__list { display: grid; gap: 16px; }
.lecture-card--row .lecture-card__body { text-align: left; justify-items: start; }
.lecture-card__progress { display: grid; gap: 6px; font-size: 13px; color: var(--c-muted); width: 100%; }
.bar { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.bar__fill { display: block; height: 100%; background: var(--c-accent); }
.access__empty { color: var(--c-muted); }
.access__empty a { color: var(--c-accent); }
.notice { padding: 12px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 20px; }
.notice--warn { background: rgb(var(--c-accent-rgb) / .15); color: #fff; }

/* ---------------------------------------------------------------- 768 */
@media (min-width: 768px) {
	.section__title { font-size: 36px; }
	.section__title--sm { font-size: 24px; }
	.lecture-card { grid-template-columns: 1fr 1fr; align-items: center; padding: 20px; gap: 24px; }
	.lecture-card__title { font-size: 22px; }
	.modal { align-items: center; padding: 20px; }
	.modal__dialog { max-width: 520px; padding: 60px 30px 24px; border-radius: 20px; }
	.lead-form__grid { grid-template-columns: 1fr 1fr; }
	.field--wide { grid-column: 1 / -1; }
	.lecture__hero { padding: calc(var(--header-h) + 24px) 0 40px; }
	.lecture__hero-grid { grid-template-columns: 1.15fr 1fr; align-items: start; gap: 40px; }
	.lecture__title { font-size: 34px; }
	.lecture__grid { grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
	.learn__bar-row { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
	.learn__title { grid-column: auto; font-size: 20px; }
	.learn__progress { grid-column: auto; grid-row: auto; }
	.learn__grid { grid-template-columns: 1fr 320px; gap: 32px; align-items: start; padding-top: 28px; }
	.learn__lesson-head { grid-template-columns: 1fr auto; align-items: end; }
	.learn__lesson-head .hero__kicker { grid-column: 1; margin-bottom: 4px; }
	.learn__lesson-title { font-size: 28px; }
	.learn__done { grid-column: 2; grid-row: 1 / 3; align-self: end; justify-self: end; }
	.learn__text { padding: 29px 33px; font-size: 17px; }
	.learn__nav .btn { flex: 0 0 auto; min-width: 200px; }
	.learn__to-list { display: none; }
	.learn__aside { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; scrollbar-width: thin; }
	.lecture-card--row { grid-template-columns: 260px 1fr; }
}

/* ---------------------------------------------------------------- 1024 */
@media (min-width: 1024px) {
	.section__title { font-size: 40px; }
}
