@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@500;600&display=swap');

:root {
  --fc-ink: #07111f;
  --fc-navy: #0b192b;
  --fc-raised: #11243a;
  --fc-paper: #f4f0e6;
  --fc-paper-muted: #d8d4c9;
  --fc-lime: #c7ff2e;
  --fc-cyan: #55dcd3;
  --fc-muted: #aab9c8;
  --fc-line: rgba(218, 235, 242, .15);
  --fc-shadow: 0 24px 52px rgba(0, 0, 0, .28);
  --fc-ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--fc-ink);
  color: var(--fc-paper);
  font-family: Manrope, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.has-dialog { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.sm-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

.page-container { width: min(1360px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 9999; padding: 12px 16px; background: var(--fc-lime); color: var(--fc-ink); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--fc-cyan); outline-offset: 4px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; padding: 24px 0; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.site-brand__mark { display: grid; width: 44px; height: 44px; place-items: center; background: var(--fc-lime); color: var(--fc-ink); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.site-brand__name { font-size: 13px; font-weight: 800; letter-spacing: .16em; }
.site-nav { display: flex; align-items: center; gap: 30px; color: var(--fc-muted); font-size: 14px; }
.site-nav a { text-decoration: none; transition: color .2s; }
.site-nav a:hover { color: var(--fc-paper); }
.header-cta { display: inline-flex; align-items: center; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--fc-cyan); color: var(--fc-paper); font-weight: 700; text-decoration: none; }

.hero { position: relative; min-height: 820px; padding: 154px 0 34px; overflow: hidden; background: var(--fc-ink); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 77% 35%, rgba(85, 220, 211, .14), transparent 32%), radial-gradient(circle at 7% 82%, rgba(199, 255, 46, .07), transparent 25%); pointer-events: none; }
.hero__orb { position: absolute; border-radius: 50%; border: 1px solid rgba(85, 220, 211, .16); pointer-events: none; }
.hero__orb--one { width: 640px; height: 640px; right: -310px; top: 80px; }
.hero__orb--two { width: 320px; height: 320px; left: -210px; bottom: 60px; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr); gap: clamp(70px, 8vw, 140px); align-items: center; }
.section-kicker { display: flex; align-items: center; gap: 13px; margin: 0 0 26px; color: var(--fc-cyan); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-kicker span { width: 34px; height: 2px; background: currentColor; }
.hero h1, .section-heading h2, .ear-feature h2 { margin: 0; font-family: Unbounded, sans-serif; font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 { max-width: 860px; font-size: clamp(3.25rem, 6.6vw, 6rem); line-height: .99; }
.hero h1 em, .ear-feature h2 em { color: var(--fc-lime); font-style: normal; }
.hero__lead { max-width: 680px; margin: 30px 0 0; color: #c1ced9; font-size: clamp(1.08rem, 1.8vw, 1.35rem); line-height: 1.65; }
.hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.primary-action { display: inline-flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 34px; padding: 0 20px 0 26px; border: 0; background: var(--fc-lime); color: var(--fc-ink); font-weight: 800; text-decoration: none; box-shadow: 9px 11px 0 rgba(85, 220, 211, .18); cursor: pointer; transition: transform .25s var(--fc-ease), box-shadow .25s var(--fc-ease); }
.primary-action:hover { transform: translate(-2px, -2px); box-shadow: 12px 14px 0 rgba(85, 220, 211, .21); }
.hero__note { color: var(--fc-muted); font-size: 13px; line-height: 1.45; }

.hero-visual { position: relative; width: min(100%, 500px); aspect-ratio: 1; justify-self: end; }
.hero-visual__ring { position: absolute; inset: 8%; border: 1px solid rgba(85, 220, 211, .35); border-radius: 50%; box-shadow: 0 0 0 42px rgba(85, 220, 211, .025), 0 0 0 84px rgba(85, 220, 211, .018); animation: route-breathe 7s var(--fc-ease) infinite alternate; }
.hero-visual__ring::before, .hero-visual__ring::after { content: ""; position: absolute; border-radius: 50%; background: var(--fc-cyan); }
.hero-visual__ring::before { width: 12px; height: 12px; top: 14%; left: 8%; box-shadow: 0 0 0 10px rgba(85, 220, 211, .08); }
.hero-visual__ring::after { width: 9px; height: 9px; right: 7%; bottom: 23%; background: var(--fc-lime); box-shadow: 0 0 0 9px rgba(199, 255, 46, .08); }
.hero-visual__center { position: absolute; inset: 30%; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--fc-cyan); color: var(--fc-ink); box-shadow: 18px 20px 0 rgba(85, 220, 211, .09); }
.hero-visual__center span, .hero-visual__center small { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-visual__center strong { font-family: Unbounded, sans-serif; font-size: clamp(3rem, 6vw, 5rem); line-height: 1; }
.topic { position: absolute; padding: 10px 15px; border-radius: 999px; background: var(--fc-raised); color: var(--fc-paper); font-size: 12px; font-weight: 800; box-shadow: 7px 8px 0 rgba(0,0,0,.22); }
.topic--one { top: 8%; left: 18%; }.topic--two { top: 18%; right: 3%; }.topic--three { bottom: 12%; left: 2%; }.topic--four { bottom: 3%; right: 20%; }.topic--five { top: 47%; right: -5%; background: var(--fc-lime); color: var(--fc-ink); }
.hero__foot { position: relative; display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 78px; color: var(--fc-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.hero__foot i { width: 4px; height: 4px; border-radius: 50%; background: var(--fc-cyan); }

.library { padding: 118px 0 130px; background: var(--fc-paper); color: var(--fc-ink); }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: end; margin-bottom: 58px; }
.section-heading h2 { font-size: clamp(2.7rem, 5vw, 5.2rem); line-height: 1.02; }
.section-heading > p { max-width: 48ch; margin: 0 0 8px; color: #56616b; font-size: 1.05rem; line-height: 1.7; }
.library .section-kicker { color: #087f7a; }
.library-tools { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 38px; padding: 16px 0; border-top: 1px solid rgba(7,17,31,.16); border-bottom: 1px solid rgba(7,17,31,.16); }
.filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filter-button { min-height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: #45515d; cursor: pointer; transition: background .2s, color .2s; }
.filter-button span { margin-left: 5px; font-size: 11px; opacity: .65; }
.filter-button:hover, .filter-button.is-active { background: var(--fc-ink); color: var(--fc-paper); }
.course-search { display: flex; align-items: center; gap: 10px; min-width: 250px; padding: 0 12px; border-bottom: 1px solid #6d767d; }
.course-search svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.course-search input { width: 100%; min-height: 42px; border: 0; outline: 0; background: transparent; color: var(--fc-ink); }
.course-search input::placeholder { color: #626d75; }

.course-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.course-card { grid-column: span 4; overflow: hidden; background: #e8e2d7; box-shadow: 10px 12px 0 rgba(7,17,31,.08); transition: transform .3s var(--fc-ease), box-shadow .3s var(--fc-ease); }
.course-card:nth-child(6n+2), .course-card:nth-child(6n+5) { margin-top: 48px; }
.course-card--featured { grid-column: span 8; display: grid; grid-template-columns: 1.08fr .92fr; background: var(--fc-ink); color: var(--fc-paper); }
.course-card:hover { transform: translateY(-5px); box-shadow: 14px 17px 0 rgba(7,17,31,.1); }
.course-card[hidden] { display: none !important; }
.course-card__media { position: relative; min-height: 240px; overflow: hidden; background: var(--fc-navy); }
.course-card--featured .course-card__media { min-height: 430px; }
.course-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--fc-ease); }
.course-card:hover .course-card__media img { transform: scale(1.035); }
.course-card__index, .course-card__type { position: absolute; top: 16px; z-index: 1; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.course-card__index { left: 16px; display: grid; width: 38px; height: 38px; place-items: center; background: var(--fc-lime); color: var(--fc-ink); }
.course-card__type { right: 16px; padding: 10px 12px; border-radius: 999px; background: rgba(7,17,31,.88); color: var(--fc-paper); }
.course-card__body { display: flex; min-height: 310px; flex-direction: column; padding: 28px; }
.course-card--featured .course-card__body { min-height: 430px; justify-content: center; padding: clamp(32px, 4vw, 58px); }
.course-card__category { color: #087f7a; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.course-card--featured .course-card__category { color: var(--fc-cyan); }
.course-card h3 { margin: 14px 0 12px; font-family: Unbounded, sans-serif; font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.16; letter-spacing: -.03em; }
.course-card p { margin: 0; color: #58636b; line-height: 1.62; }
.course-card--featured p { color: var(--fc-muted); }
.course-card__actions { display: flex; gap: 10px; align-items: stretch; margin-top: auto; padding-top: 26px; }
.course-card__email { display: flex; min-height: 52px; flex: 1; align-items: center; justify-content: space-between; gap: 12px; padding: 0 17px; border: 0; background: var(--fc-ink); color: var(--fc-paper); font-weight: 800; cursor: pointer; transition: background .2s, color .2s; }
.course-card--featured .course-card__email { background: var(--fc-lime); color: var(--fc-ink); }
.course-card__email:hover { background: #17314b; }.course-card--featured .course-card__email:hover { background: var(--fc-cyan); }
.course-card__email svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.course-card__vk { display: grid; width: 52px; place-items: center; border: 1px solid rgba(7,17,31,.24); color: var(--fc-ink); font-weight: 800; text-decoration: none; transition: background .2s, color .2s; }
.course-card--featured .course-card__vk { border-color: var(--fc-line); color: var(--fc-paper); }
.course-card__vk:hover { background: #2787f5; color: #fff; border-color: #2787f5; }
.no-results { margin: 40px 0 0; padding: 28px; background: #e8e2d7; color: #394650; }

.ear-feature { position: relative; padding: 120px 0; overflow: hidden; background: var(--fc-navy); }
.ear-feature::after { content: ""; position: absolute; width: 560px; height: 560px; right: -260px; top: -190px; border: 1px solid rgba(85,220,211,.18); border-radius: 50%; }
.ear-feature__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(320px,.75fr) minmax(0,1.25fr); gap: clamp(70px, 9vw, 150px); align-items: center; }
.ear-feature__cover { position: relative; width: min(390px, 90%); justify-self: center; }
.ear-feature__cover img { position: relative; z-index: 1; width: 100%; max-height: 610px; object-fit: contain; filter: drop-shadow(18px 24px 22px rgba(0,0,0,.38)); }
.ear-feature__halo { position: absolute; inset: 13% -14% 3%; border-radius: 50%; background: rgba(85,220,211,.11); filter: blur(1px); }
.ear-feature h2 { max-width: 780px; font-size: clamp(2.7rem, 5vw, 5rem); line-height: 1.04; }
.ear-feature__content > p:not(.section-kicker) { max-width: 65ch; color: #bdcbd6; font-size: 1.07rem; line-height: 1.75; }
.ear-feature ul { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; padding: 0; margin: 34px 0; list-style: none; }
.ear-feature li { padding: 16px 0; border-top: 1px solid var(--fc-line); color: var(--fc-paper); font-size: 14px; line-height: 1.45; }
.ear-feature__actions { display: flex; align-items: center; gap: 26px; }
.text-action { color: var(--fc-cyan); font-weight: 700; text-underline-offset: 5px; }

.how { padding: 112px 0; background: #101e31; }
.section-heading--light > p { color: var(--fc-muted); }
.steps { display: grid; grid-template-columns: 1.1fr .95fr .95fr; gap: 0; margin: 0; padding: 0; list-style: none; }
.steps li { min-height: 230px; padding: 28px 34px; border-top: 1px solid var(--fc-line); border-right: 1px solid var(--fc-line); }
.steps li:first-child { background: var(--fc-lime); color: var(--fc-ink); border: 0; box-shadow: 11px 13px 0 rgba(85,220,211,.12); }
.steps li:last-child { border-right: 0; }
.steps span { display: block; margin-bottom: 55px; color: var(--fc-cyan); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.steps li:first-child span { color: #315024; }
.steps strong { display: block; font-family: Unbounded, sans-serif; font-size: 1.35rem; letter-spacing: -.03em; }
.steps p { max-width: 36ch; margin: 12px 0 0; color: var(--fc-muted); line-height: 1.55; }
.steps li:first-child p { color: #30402a; }

.site-footer { padding: 68px 0 30px; background: #050c16; }
.site-footer__top { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding-bottom: 44px; }
.site-footer__top p { max-width: 53ch; margin: 22px 0 0; color: var(--fc-muted); line-height: 1.6; }
.footer-contact { display: grid; gap: 8px; text-align: right; }
.footer-contact span { color: var(--fc-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.footer-contact a { color: var(--fc-cyan); font-size: 1.1rem; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 15px 26px; align-items: center; padding-top: 26px; border-top: 1px solid var(--fc-line); color: var(--fc-muted); font-size: 12px; }
.site-footer__links span { margin-left: auto; }

.cookie-banner { position: fixed; z-index: 80; right: 18px; bottom: 18px; display: grid; width: min(620px, calc(100% - 36px)); grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 15px 16px; background: #f4f0e6; color: #26323c; box-shadow: 9px 11px 0 rgba(0,0,0,.22); font-size: 12px; }
.cookie-banner p { margin: 0; line-height: 1.45; }.cookie-banner a { color: #086e6a; }
.cookie-banner > div { display: flex; gap: 8px; }
.cookie-banner button { min-height: 38px; padding: 0 13px; border: 0; cursor: pointer; font-weight: 800; }
.cookie-secondary { background: #dcd6ca; color: #26323c; }.cookie-primary { background: var(--fc-lime); color: var(--fc-ink); }

@keyframes route-breathe { from { transform: rotate(-2deg) scale(.98); } to { transform: rotate(3deg) scale(1.015); } }

@media (max-width: 1080px) {
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr .72fr; gap: 40px; }
  .hero-visual { transform: scale(.88); transform-origin: right center; }
  .course-card { grid-column: span 6; }
  .course-card--featured { grid-column: 1 / -1; }
  .course-card:nth-child(6n+2), .course-card:nth-child(6n+5) { margin-top: 0; }
  .ear-feature ul { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .page-container { width: min(100% - 28px, 640px); }
  .site-header { padding: 16px 0; }.site-nav, .header-cta { display: none; }
  .hero { padding: 112px 0 30px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .hero__lead { font-size: 1rem; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .primary-action { width: 100%; }
  .hero__note br { display: none; }
  .hero-visual { width: min(90vw, 440px); justify-self: center; transform: none; }
  .hero__foot { justify-content: flex-start; flex-wrap: wrap; margin-top: 42px; gap: 10px 14px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .library { padding: 84px 0; }
  .library-tools { align-items: stretch; flex-direction: column; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .filter-button { flex: 0 0 auto; }
  .course-search { min-width: 0; }
  .course-grid { grid-template-columns: 1fr; gap: 22px; }
  .course-card, .course-card--featured { grid-column: auto; display: block; }
  .course-card__media, .course-card--featured .course-card__media { min-height: 0; aspect-ratio: 16/10; }
  .course-card__body, .course-card--featured .course-card__body { min-height: 290px; padding: 24px; }
  .ear-feature { padding: 88px 0; }
  .ear-feature__grid { grid-template-columns: 1fr; gap: 54px; }
  .ear-feature__cover { width: min(70vw, 330px); }
  .ear-feature__actions { align-items: stretch; flex-direction: column; }
  .text-action { text-align: center; }
  .how { padding: 84px 0; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .steps li, .steps li:last-child { min-height: 190px; border: 0; border-top: 1px solid var(--fc-line); }
  .steps span { margin-bottom: 35px; }
  .site-footer__top { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }
  .site-footer__links span { width: 100%; margin: 8px 0 0; }
  .cookie-banner { right: 10px; bottom: 10px; width: calc(100% - 20px); grid-template-columns: 1fr; }
  .cookie-banner > div { justify-content: stretch; }.cookie-banner button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
