:root {
  --ink: #242b32;
  --muted: #686e76;
  --blue: #3c5cac;
  --red: #e83243;
  --line: #e5e6e8;
  --cream: #f5f3ee;
  --font: 'Manrope', sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 14px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
button,
a {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
.container {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: -60px;
  left: 20px;
  z-index: 50;
  padding: 10px;
  background: #fff;
}
.skip:focus {
  top: 10px;
}
.utility {
  background: #f7f7f5;
  font-size: 11px;
  color: #73777b;
}
.utility .container {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.utility a {
  display: flex;
  gap: 18px;
}
header {
  position: sticky;
  top: 0;
  z-index: 25;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.nav {
  height: 87px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.05;
}
.brand img {
  object-fit: contain;
}
.brand-blue {
  color: var(--blue);
}
.brand small {
  font-size: 9px;
  letter-spacing: 0.3px;
  font-weight: 500;
  display: block;
  margin-top: 6px;
  color: #777;
}
.desktop-nav {
  display: flex;
  gap: 28px;
  font-size: 12px;
  font-weight: 600;
}
.desktop-nav a:hover,
footer a:hover {
  color: var(--blue);
}
.nav-end {
  display: flex;
  align-items: center;
  gap: 24px;
}
.login {
  padding: 10px 0;
  background: none;
  font-weight: 600;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
}
.login:hover {
  color: var(--blue);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--blue);
  border: 1px solid var(--blue);
  color: #fff;
  border-radius: 7px;
  padding: 15px 22px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  transition: background 0.2s;
}
.button:hover {
  background: #2e4888;
}
.button > span {
  font-size: 19px;
  line-height: 1;
}
.button.small {
  padding: 12px 18px;
  font-size: 11px;
}
.button.light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.button.light:hover {
  background: #edf1ff;
}
.menu-button {
  display: none;
  background: transparent;
  padding: 12px;
}
.menu-button span {
  display: block;
  width: 21px;
  height: 1.5px;
  margin: 6px 0;
  background: var(--ink);
}
[hidden] {
  display: none !important;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding-top: 58px;
  padding-bottom: 66px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.025em;
  margin-bottom: 22px;
}
.eyebrow i {
  display: inline-block;
  background: var(--red);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 8px;
}
.hero h1 {
  font-size: clamp(40px, 4.25vw, 63px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -2.7px;
}
.hero h1 > span {
  color: var(--blue);
}
.lead {
  font-size: 13px;
  line-height: 1.95;
  margin-top: 26px;
  color: #697079;
  max-width: 460px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-top: 30px;
}
.text-link {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 12px;
  font-weight: 600;
}
.hero-proof {
  border-left: 2px solid #d4d8dd;
  padding-left: 16px;
  margin-top: 38px;
  font-size: 10px;
  line-height: 1.8;
}
.hero-proof b {
  font-size: 11px;
  font-weight: 700;
}
.hero-proof p > span {
  color: var(--muted);
}
.hero-photo {
  position: relative;
  min-width: 0;
  margin-top: 2px;
  display: flex;
  flex-direction: column;
}
.hero-photo > img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: 54% 50%;
  border-radius: 12px;
}
.photo-caption {
  position: absolute;
  bottom: 39px;
  left: 0;
  right: 0;
  padding: 50px 24px 21px;
  display: flex;
  align-items: center;
  gap: 17px;
  color: #fff;
  background: linear-gradient(transparent, rgba(20, 24, 25, 0.58));
  border-radius: 0 0 12px 12px;
  font-size: 13px;
  line-height: 1.6;
}
.photo-number {
  font-size: 11px;
  align-self: start;
  padding-top: 4px;
  opacity: 0.7;
}
.caption-arrow {
  margin-left: auto;
  font-size: 28px;
}
.hero-photo figcaption {
  height: 39px;
  display: flex;
  justify-content: flex-end;
  align-items: end;
  font-size: 10px;
  color: #71767d;
  letter-spacing: 0.02em;
}
.quick-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quick-paths > a {
  display: flex;
  align-items: center;
  padding: 28px 25px;
  gap: 16px;
  border-right: 1px solid var(--line);
  transition: background 0.2s;
}
.quick-paths > a:first-child {
  padding-left: 0;
}
.quick-paths > a:last-child {
  border: 0;
  padding-right: 0;
}
.quick-paths > a:hover {
  background: #fafbf9;
}
.path-number {
  color: #737b84;
  font-size: 10px;
  align-self: start;
  margin-top: 2px;
}
.quick-paths h2 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}
.quick-paths p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.path-arrow {
  margin-left: auto;
  font-size: 20px;
  color: var(--blue);
}
.section {
  padding-top: 102px;
  padding-bottom: 98px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}
h2 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -1.2px;
}
.section-heading .eyebrow {
  margin-bottom: 13px;
}
.section-aside {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  padding-bottom: 4px;
}
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  gap: 20px;
}
.filter-list {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.filter-list button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
  padding: 9px 14px;
  font-size: 11px;
  transition: background 0.18s;
}
.filter-list button[aria-pressed='true'] {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}
.filter-list button:hover {
  border-color: #aeb5bf;
}
.catalog-count {
  font-size: 10px;
  color: var(--muted);
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.course {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.course-cover {
  position: relative;
  width: 100%;
  height: 186px;
  text-align: left;
  border-radius: 8px;
  overflow: hidden;
  padding: 19px;
  transition: filter 0.2s;
}
.course-cover:hover {
  filter: brightness(0.96);
}
.cover-olympiad {
  background: #e9edf8;
  color: #334f96;
}
.cover-label {
  position: relative;
  z-index: 2;
  display: block;
  font-size: 8px;
  font-weight: 500;
}
.olymp-art {
  font-family: Georgia, serif;
  font-size: 58px;
  display: block;
  text-align: center;
  letter-spacing: -3px;
  line-height: 1.7;
}
.olymp-art > span {
  font-family: var(--font);
  font-size: 35px;
  padding-inline: 5px;
  color: #a6b5d9;
}
.cover-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.cover-bottom > span {
  font-size: 18px;
}
.photo-cover {
  padding: 0;
}
.photo-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.teacher-cover > img {
  object-position: 30% 50%;
}
.image-tag {
  position: absolute;
  bottom: 13px;
  left: 13px;
  background: white;
  color: var(--ink);
  font-size: 8px;
  padding: 5px 9px;
  border-radius: 3px;
}
.cover-modo {
  background: #ecefdc;
  color: #4d5534;
}
.modo-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 113px;
  gap: 0;
}
.modo-art > span {
  width: 67px;
  height: 67px;
  display: grid;
  place-items: center;
  font-size: 33px;
  background: #dae1c1;
  border-radius: 50%;
  margin-inline: -5px;
  mix-blend-mode: multiply;
  font-weight: 500;
}
.modo-art > span:nth-child(2) {
  background: #ead19c;
}
.modo-art > span:nth-child(3) {
  background: #bfcfad;
}
.course-meta {
  font-size: 9px;
  color: #72777e;
  margin: 19px 0 8px;
}
.course h3 {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.15px;
  font-weight: 700;
}
.course h3 button {
  padding: 0;
  background: none;
  text-align: left;
  font: inherit;
}
.course h3 button:hover {
  color: var(--blue);
}
.course > p {
  font-size: 11px;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 9px;
  min-height: 42px;
}
.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-weight: 600;
}
.course-footer > button {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #f5f6f7;
  font-size: 16px;
}
.course-footer > button:hover {
  background: #e7edfa;
}
.catalog-note {
  font-size: 10px;
  color: #70767d;
  margin-top: 29px;
}
.teacher-section {
  background: var(--cream);
  padding: 72px 0;
}
.teacher-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 90px;
  align-items: center;
}
.teacher-layout figure {
  position: relative;
}
.teacher-layout figure > img {
  width: 100%;
  height: 425px;
  object-fit: cover;
  object-position: 40% center;
  border-radius: 9px;
}
.teacher-layout figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 45px 24px 22px;
  background: linear-gradient(transparent, rgba(31, 30, 24, 0.5));
  color: #fff;
  font-size: 11px;
  border-radius: 0 0 9px 9px;
}
.teacher-copy .eyebrow {
  margin-bottom: 18px;
}
.teacher-copy h2 {
  font-size: 38px;
  line-height: 1.25;
}
.teacher-copy h2 > span {
  color: #737a60;
}
.teacher-copy > p:not(.eyebrow) {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 380px;
  margin-top: 23px;
}
.teacher-copy ul {
  padding: 0;
  margin: 24px 0 30px;
  list-style: none;
  font-size: 11px;
}
.teacher-copy li {
  display: flex;
  gap: 16px;
  margin-top: 13px;
}
.teacher-copy li span {
  color: #777e6b;
  font-size: 9px;
}
.about-intro {
  width: 430px;
  max-width: 48%;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.95;
}
.about-intro p + p {
  margin-top: 13px;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  margin-top: 50px;
}
.facts > div {
  border-right: 1px solid var(--line);
  padding: 0 34px;
}
.facts > div:first-child {
  padding-left: 0;
}
.facts > div:last-child {
  border: 0;
}
.facts span {
  display: block;
  color: #71777e;
  font-size: 9px;
}
.facts strong {
  display: block;
  font-size: 46px;
  letter-spacing: -1.5px;
  font-weight: 500;
  line-height: 1.2;
  margin: 22px 0 12px;
}
.facts > div:last-child strong {
  font-size: 32px;
  letter-spacing: -1px;
  padding-top: 12px;
}
.facts p {
  font-size: 11px;
  color: var(--muted);
}
.values-line {
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  font-size: 10px;
}
.values-line b {
  font-weight: 600;
}
.values-line > span {
  color: var(--muted);
}
.partners {
  padding-top: 0;
  padding-bottom: 66px;
}
.partner-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.partner-heading h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
}
.partner-heading p {
  color: var(--muted);
  font-size: 10px;
}
.partner-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 50px;
  min-height: 150px;
}
.partner-logos > img,
.ustaz-logo {
  width: 145px;
  height: 64px;
  object-fit: contain;
}
.partner-logos > .ministry-logo {
  width: 65px;
  height: 65px;
}
.ustaz-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #273349;
  border-radius: 5px;
  padding: 6px 21px;
}
.ustaz-logo img {
  height: 48px;
  max-width: 100%;
}
.tech-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.tech-logos span {
  font-size: 9px;
  color: #72777e;
}
.tech-logos img {
  width: 72px;
  height: 19px;
  object-fit: contain;
  opacity: 0.65;
}
.stories {
  border-top: 1px solid var(--line);
}
.demo-note {
  color: #737980;
  font-size: 10px;
}
.story-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  margin-top: 50px;
}
.story-main {
  padding-right: 80px;
  position: relative;
}
.quote-mark {
  color: var(--blue);
  font:
    66px/1 Georgia,
    serif;
  display: block;
  height: 50px;
}
.story-main blockquote {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.5px;
  margin: 0;
}
.story-secondary {
  border-left: 1px solid var(--line);
  padding: 13px 0 0 60px;
}
.story-secondary blockquote {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  font-weight: 500;
  letter-spacing: -0.3px;
}
.story-author {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 30px;
}
.initial {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e9edf7;
  font-size: 12px;
  color: #4b60a4;
}
.story-secondary .initial {
  background: #efefe5;
  color: #727853;
}
.story-author b {
  display: block;
  font-size: 11px;
  font-weight: 600;
}
.story-author div > span {
  display: block;
  font-size: 9px;
  color: #72777e;
  margin-top: 3px;
}
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  border-top: 1px solid var(--line);
}
.faq > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 11px;
  margin-top: 20px;
}
.faq-items details {
  border-bottom: 1px solid var(--line);
}
.faq-items details:first-child {
  border-top: 1px solid var(--line);
}
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 0;
  font-size: 12px;
  font-weight: 600;
}
summary::-webkit-details-marker {
  display: none;
}
summary > span {
  font-size: 20px;
  font-weight: 400;
  color: #777;
}
details[open] summary > span {
  transform: rotate(45deg);
}
details > p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
  padding: 0 35px 23px 0;
}
.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 53px 60px;
  background: #ecf0f9;
  border-radius: 10px;
}
.closing h2 {
  font-size: 34px;
}
.closing .eyebrow {
  margin-bottom: 15px;
  color: #667495;
}
.closing .button {
  border: 1px solid #dbe2ef;
}
footer {
  padding-top: 65px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-bottom: 36px;
}
.footer-top .brand {
  font-size: 26px;
}
.footer-top > p {
  font-size: 10px;
  color: #72777e;
  line-height: 1.8;
}
.footer-top nav {
  display: flex;
  gap: 27px;
  font-size: 11px;
}
.footer-bottom {
  padding: 20px 0 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  color: #72777e;
  border-top: 1px solid var(--line);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px;
  max-width: min(520px, calc(100% - 32px));
  color: var(--ink);
  box-shadow: 0 20px 90px #16244226;
}
dialog::backdrop {
  background: rgba(22, 29, 40, 0.35);
}
dialog h2 {
  font-size: 29px;
  padding-right: 20px;
}
dialog p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.9;
  margin-top: 20px;
}
dialog ul {
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.9;
}
dialog .dialog-note {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  color: var(--muted);
  font-size: 10px !important;
  margin-bottom: 24px;
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 12px;
  background: none;
  font-size: 25px;
}
.mobile-nav {
  padding-top: 8px;
  padding-bottom: 16px;
  display: grid;
  gap: 13px;
  font-size: 13px;
}
@media (min-width: 1500px) {
  .hero-photo > img {
    height: 505px;
  }
  .hero {
    gap: 80px;
  }
  .course-cover {
    height: 205px;
  }
}
@media (max-width: 1150px) {
  .container {
    width: calc(100% - 64px);
  }
  .nav {
    gap: 20px;
  }
  .desktop-nav {
    gap: 19px;
  }
  .nav-end {
    gap: 17px;
  }
  .brand {
    font-size: 25px;
  }
  .hero {
    gap: 36px;
  }
  .hero h1 {
    font-size: 46px;
    letter-spacing: -2px;
  }
  .hero-photo > img {
    height: 450px;
  }
  .hero-actions {
    gap: 19px;
  }
  .button {
    padding: 14px 16px;
    font-size: 11px;
  }
  .course-grid {
    gap: 18px;
  }
  .course-cover {
    height: 168px;
  }
  .olymp-art {
    font-size: 48px;
    line-height: 1.8;
  }
  .modo-art {
    height: 95px;
  }
  .modo-art > span {
    width: 55px;
    height: 55px;
    font-size: 28px;
  }
  .teacher-layout {
    gap: 60px;
  }
  .teacher-copy h2 {
    font-size: 34px;
  }
  .facts strong {
    font-size: 40px;
  }
  .facts > div:last-child strong {
    font-size: 28px;
  }
  .story-main {
    padding-right: 55px;
  }
  .story-secondary {
    padding-left: 45px;
  }
}
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
  .hero {
    gap: 26px;
  }
  .hero h1 {
    font-size: 40px;
    letter-spacing: -1.7px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .hero .lead {
    font-size: 12px;
  }
  .hero-actions {
    align-items: start;
    flex-direction: column;
    gap: 17px;
  }
  .hero-photo > img {
    height: 475px;
  }
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px 23px;
  }
  .course-cover {
    height: 205px;
  }
  .olymp-art {
    font-size: 65px;
  }
  .modo-art {
    height: 132px;
  }
  .quick-paths > a {
    padding: 23px 16px;
    gap: 9px;
  }
  .quick-paths h2 {
    font-size: 11px;
  }
  .quick-paths p {
    font-size: 9px;
  }
  .path-number {
    display: none;
  }
  .section {
    padding-block: 75px;
  }
  .teacher-layout {
    gap: 38px;
  }
  .teacher-layout figure > img {
    height: 460px;
    object-position: 29% center;
  }
  .teacher-copy h2 {
    font-size: 30px;
  }
  .facts > div {
    padding-inline: 20px;
  }
  .facts strong {
    font-size: 35px;
  }
  .facts > div:last-child strong {
    font-size: 23px;
    padding-top: 10px;
  }
  .about-intro {
    max-width: 49%;
  }
  .partner-logos {
    gap: 25px;
  }
  .partner-logos > img,
  .ustaz-logo {
    width: 110px;
  }
  .story-main {
    padding-right: 40px;
  }
  .story-main blockquote {
    font-size: 21px;
  }
  .story-secondary {
    padding-left: 35px;
  }
  .story-secondary blockquote {
    font-size: 16px;
  }
  .faq {
    gap: 45px;
  }
  .closing {
    padding: 42px;
  }
  .footer-bottom {
    flex-wrap: wrap;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 40px);
  }
  .utility .container {
    height: 28px;
  }
  .utility .container > span {
    max-width: 205px;
    font-size: 7px;
  }
  .utility a {
    font-size: 7px;
  }
  .nav {
    height: 73px;
    gap: 15px;
  }
  .brand {
    font-size: 25px;
    gap: 8px;
  }
  .brand > img {
    width: 40px;
    height: 40px;
  }
  .brand small {
    font-size: 8px;
  }
  .nav-end {
    gap: 12px;
  }
  .nav-end .button {
    display: none;
  }
  .login {
    font-size: 11px;
  }
  .menu-button {
    display: block;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 35px;
    padding-bottom: 31px;
    gap: 29px;
  }
  .hero h1 {
    font-size: clamp(36px, 9.7vw, 47px);
    letter-spacing: -1.6px;
    line-height: 1.18;
  }
  .hero .eyebrow {
    font-size: 9px;
    margin-bottom: 21px;
  }
  .hero .lead {
    font-size: 12px;
    margin-top: 21px;
    line-height: 1.85;
  }
  .desktop-break {
    display: none;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 23px;
    margin-top: 24px;
  }
  .hero-actions .button {
    padding: 14px 15px;
    gap: 16px;
    font-size: 10px;
  }
  .text-link {
    font-size: 11px;
    gap: 8px;
  }
  .hero-proof {
    margin-top: 24px;
  }
  .hero-photo > img {
    height: 300px;
    object-position: 50% center;
    border-radius: 8px;
  }
  .hero-photo figcaption {
    height: 28px;
    font-size: 8px;
  }
  .photo-caption {
    bottom: 28px;
    padding: 42px 18px 16px;
    font-size: 12px;
    border-radius: 0 0 8px 8px;
  }
  .quick-paths {
    grid-template-columns: 1fr;
  }
  .quick-paths > a,
  .quick-paths > a:first-child,
  .quick-paths > a:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 19px 0;
    gap: 16px;
  }
  .quick-paths > a:last-child {
    border-bottom: 0;
  }
  .path-number {
    display: block;
  }
  .quick-paths h2 {
    font-size: 12px;
  }
  .quick-paths p {
    font-size: 10px;
    margin-top: 4px;
  }
  .section {
    padding-block: 61px;
  }
  .section-heading {
    display: block;
    margin-bottom: 27px;
  }
  h2 {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .section-aside {
    margin-top: 15px;
    font-size: 11px;
  }
  .section-heading .eyebrow {
    font-size: 10px;
  }
  .catalog-toolbar {
    display: block;
    margin-bottom: 24px;
  }
  .filter-list {
    gap: 6px;
  }
  .filter-list button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .catalog-count {
    display: block;
    margin-top: 12px;
  }
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 29px 15px;
  }
  .course-cover {
    height: 146px;
    padding: 12px;
  }
  .course-cover.photo-cover {
    padding: 0;
  }
  .cover-label {
    font-size: 6px;
  }
  .olymp-art {
    font-size: 39px;
    line-height: 2;
  }
  .olymp-art > span {
    font-size: 24px;
    padding-inline: 3px;
  }
  .cover-bottom {
    font-size: 7px;
    letter-spacing: 0.6px;
  }
  .modo-art {
    height: 80px;
  }
  .modo-art > span {
    width: 42px;
    height: 42px;
    font-size: 23px;
  }
  .image-tag {
    font-size: 7px;
    left: 9px;
    bottom: 9px;
  }
  .course-meta {
    font-size: 8px;
    line-height: 1.7;
    margin-top: 13px;
  }
  .course h3 {
    font-size: 12px;
    line-height: 1.6;
  }
  .course > p {
    font-size: 10px;
  }
  .course-footer {
    padding-top: 12px;
    font-size: 9px;
    min-height: 45px;
    margin-top: 18px;
  }
  .course-footer > button {
    width: 25px;
    height: 25px;
  }
  .catalog-note {
    font-size: 9px;
    line-height: 1.8;
  }
  .teacher-section {
    padding: 36px 0 43px;
  }
  .teacher-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .teacher-layout figure > img {
    height: 295px;
    object-position: 35% center;
  }
  .teacher-copy h2 {
    font-size: 34px;
  }
  .teacher-copy .eyebrow {
    font-size: 10px;
  }
  .teacher-copy > p:not(.eyebrow) {
    max-width: 100%;
  }
  .about-intro {
    max-width: 100%;
    width: 100%;
    margin-top: 23px;
    font-size: 11px;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
    gap: 25px 0;
    margin-top: 28px;
    padding-top: 23px;
  }
  .facts > div {
    padding: 0 0 0 20px;
  }
  .facts > div:nth-child(2) {
    border: 0;
  }
  .facts > div:last-child {
    grid-column: span 2;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
  }
  .facts strong {
    font-size: 35px;
    margin: 14px 0 8px;
  }
  .facts > div:last-child strong {
    font-size: 29px;
    padding-top: 0;
  }
  .values-line {
    flex-direction: column;
    gap: 8px;
    font-size: 9px;
    margin-top: 28px;
  }
  .partner-heading h2 {
    font-size: 17px;
  }
  .partner-heading p {
    font-size: 9px;
  }
  .partner-logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    justify-items: center;
    padding: 30px 0;
  }
  .partner-logos > img,
  .ustaz-logo {
    width: 130px;
    height: 56px;
  }
  .tech-logos {
    gap: 20px;
    flex-wrap: wrap;
  }
  .tech-logos span {
    width: 100%;
    text-align: center;
    font-size: 9px;
  }
  .partners {
    padding-bottom: 40px;
  }
  .demo-note {
    display: block;
    margin-top: 15px;
  }
  .story-layout {
    grid-template-columns: 1fr;
    margin-top: 30px;
    gap: 32px;
  }
  .story-main {
    padding-right: 0;
  }
  .story-main blockquote {
    font-size: 22px;
  }
  .story-secondary {
    padding: 27px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
  }
  .story-secondary blockquote {
    font-size: 18px;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .faq h2 br {
    display: none;
  }
  summary {
    font-size: 11px;
    line-height: 1.8;
    padding-block: 18px;
  }
  .closing {
    display: block;
    padding: 33px 27px;
    border-radius: 8px;
  }
  .closing h2 {
    font-size: 29px;
  }
  .closing .button {
    margin-top: 28px;
  }
  .footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 21px;
  }
  .footer-top > p {
    display: none;
  }
  .footer-top nav {
    font-size: 10px;
  }
  .footer-bottom {
    font-size: 8px;
    gap: 12px;
  }
  .footer-bottom > span:nth-child(2) {
    order: 3;
    width: 100%;
  }
  footer {
    padding-top: 40px;
  }
  .footer-bottom > a {
    margin-left: auto;
  }
  dialog {
    padding: 32px 24px;
  }
  dialog h2 {
    font-size: 25px;
  }
}
.nav-pill {
  position: relative;
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f7f5;
}
.nav-pill-links,
.nav-pill-fill {
  display: flex;
}
.nav-pill-links a,
.nav-pill-fill span {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--muted);
  transition: color 0.2s;
}
.desktop-nav .nav-pill-links a:hover {
  color: var(--ink);
}
.nav-pill-fill {
  position: absolute;
  inset: 4px;
  z-index: 2;
  pointer-events: none;
  background: var(--ink);
  border-radius: 999px;
  clip-path: inset(0 100% 0 0 round 999px);
  transition: clip-path 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-pill-fill span {
  color: #fff;
}
.logo-marquee {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  padding-right: 64px;
  animation: logo-marquee 32s linear infinite;
}
.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}
.logo-track > img,
.logo-track > .ustaz-logo {
  width: 145px;
  height: 64px;
  object-fit: contain;
  flex: none;
}
.logo-track > .ministry-logo {
  width: 65px;
  height: 65px;
}
.logo-track > .tech-logo {
  width: 112px;
  height: 28px;
  opacity: 0.7;
}
.logo-blur {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(200px, 26%);
  pointer-events: none;
  z-index: 2;
}
.logo-blur.left {
  left: 0;
}
.logo-blur.right {
  right: 0;
}
.logo-blur > i {
  position: absolute;
  inset: 0;
}
@keyframes logo-marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 600px) {
  .logo-marquee {
    min-height: 110px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  }
  .logo-track {
    gap: 36px;
    padding-right: 36px;
  }
  .logo-track > img,
  .logo-track > .ustaz-logo {
    width: 120px;
    height: 52px;
  }
  .logo-track > .tech-logo {
    width: 92px;
    height: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
  }
}
.quick-paths > a {
  position: relative;
  overflow: hidden;
}
.path-ghost {
  position: absolute;
  left: -8px;
  top: 50%;
  font-size: 150px;
  font-weight: 800;
  letter-spacing: -8px;
  line-height: 1;
  color: var(--ink);
  opacity: 0;
  filter: blur(10px);
  pointer-events: none;
  user-select: none;
  transform: translate(var(--px, 0px), calc(-50% + var(--py, 0px))) scale(0.85);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.15s linear;
}
.quick-paths > a.is-active .path-ghost {
  opacity: 0.045;
  filter: blur(0);
  transform: translate(var(--px, 0px), calc(-50% + var(--py, 0px))) scale(1);
}
.quick-paths h2 {
  perspective: 600px;
}
.path-word {
  display: inline-block;
  margin-right: 0.3em;
  opacity: 0;
  transform: translateY(12px) rotateX(90deg);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.is-shown .path-word {
  opacity: 1;
  transform: none;
}
.quick-paths p {
  display: flex;
  align-items: center;
  gap: 10px;
}
.quick-paths p::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
  flex: none;
}
.quick-paths > a.is-active p::before {
  transform: scaleX(1);
}
.path-arrow {
  margin-left: auto;
  position: relative;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 18px;
  color: var(--blue);
  z-index: 1;
}
.path-arrow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-101%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.quick-paths > a:hover .path-arrow::before {
  transform: none;
}
.path-arrow > span {
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}
.quick-paths > a:hover .path-arrow > span {
  color: #fff;
}
@media (max-width: 900px) {
  .path-ghost {
    font-size: 110px;
    letter-spacing: -5px;
  }
  .path-arrow {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .path-word {
    opacity: 1;
    transform: none;
  }
  .path-ghost {
    transition: none;
  }
}
.stats {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.stats-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.stats-hero-main {
  display: flex;
  align-items: baseline;
  gap: 24px;
  min-width: 0;
}
.stats-big {
  font-size: clamp(72px, 9vw, 128px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stats-hero-copy {
  max-width: 300px;
}
.stats-hero-copy h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.3;
}
.stats-hero-copy p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 8px;
  text-wrap: pretty;
}
.stats-hero > img {
  width: 384px;
  height: 208px;
  object-fit: cover;
  border-radius: 9px;
  flex: none;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stats-row strong {
  display: block;
  font-size: 46px;
  font-weight: 500;
  letter-spacing: -1.5px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stats-row .stats-text {
  font-size: 32px;
  letter-spacing: -1px;
  padding-top: 8px;
}
.stats-row span {
  display: block;
  margin-top: 10px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #71777e;
}
.stats strong {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.stats.is-in strong {
  opacity: 1;
  transform: none;
}
.stats-row > div:nth-child(2) strong {
  transition-delay: 0.1s;
}
.stats-row > div:nth-child(3) strong {
  transition-delay: 0.2s;
}
@media (max-width: 1150px) {
  .stats-hero > img {
    width: 300px;
    height: 170px;
  }
  .stats-hero-copy {
    max-width: 240px;
  }
}
@media (max-width: 900px) {
  .stats-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
  .stats-hero-main {
    flex-wrap: wrap;
    gap: 16px;
  }
  .stats-hero > img {
    width: 100%;
    height: 200px;
  }
  .stats-row strong {
    font-size: 38px;
  }
  .stats-row .stats-text {
    font-size: 26px;
  }
}
@media (max-width: 600px) {
  .stats {
    gap: 40px;
  }
  .stats-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .stats-big {
    font-size: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stats strong {
    opacity: 1;
    transform: none;
  }
}
.story-columns {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 46px;
  max-height: 660px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#0000, #000 22%, #000 78%, #0000);
  mask-image: linear-gradient(#0000, #000 22%, #000 78%, #0000);
}
.story-col {
  flex: 1;
  min-width: 0;
  max-width: 330px;
}
.story-col-track {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 22px;
  animation: story-scroll var(--dur, 22s) linear infinite;
}
.story-columns:hover .story-col-track {
  animation-play-state: paused;
}
@keyframes story-scroll {
  to {
    transform: translateY(-50%);
  }
}
.story-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(36, 43, 50, 0.04),
    0 12px 28px -14px rgba(36, 43, 50, 0.22);
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.story-card:hover {
  border-color: #c9cfd8;
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px rgba(36, 43, 50, 0.05),
    0 18px 36px -14px rgba(36, 43, 50, 0.28);
}
.story-card .initial {
  width: 40px;
  height: 40px;
  font-size: 13px;
  font-weight: 600;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 3px var(--line);
}
.story-card .story-author {
  gap: 14px;
}
.story-card > p {
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: -0.1px;
}
.story-card .story-author {
  margin-top: 18px;
}
@media (max-width: 900px) {
  .story-columns {
    max-height: 560px;
    gap: 16px;
  }
  .story-col:nth-child(3) {
    display: none;
  }
}
@media (max-width: 600px) {
  .story-col:nth-child(2) {
    display: none;
  }
  .story-col {
    max-width: none;
  }
  .story-columns {
    max-height: 480px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .story-col-track {
    animation: none;
  }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 44px;
}
.footer-brand {
  max-width: 330px;
}
.footer-brand > p {
  font-size: 11px;
  line-height: 1.9;
  color: #72777e;
  margin-top: 18px;
}
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #72777e;
  transition:
    color 0.18s,
    border-color 0.18s,
    background 0.18s;
}
.footer-social a:hover {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}
.footer-social svg {
  width: 16px;
  height: 16px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 11px;
  color: #72777e;
  transition: color 0.18s;
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 22px;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-brand {
    grid-column: 1/-1;
    max-width: none;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    gap: 30px 20px;
    padding-bottom: 32px;
  }
  .footer-col h3 {
    font-size: 10px;
  }
  .footer-col a {
    font-size: 10px;
  }
  .footer-brand > p {
    font-size: 10px;
  }
  .footer-legal {
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    justify-content: space-between;
  }
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
}
.lang-switch button {
  background: none;
  padding: 10px 0;
  color: #9a9ea3;
  letter-spacing: 0.04em;
  transition: color 0.18s;
}
.lang-switch button:hover {
  color: var(--blue);
}
.lang-switch button[aria-pressed='true'] {
  color: var(--ink);
}
.lang-switch i {
  width: 1px;
  height: 12px;
  background: #d4d8dd;
}
@media (max-width: 600px) {
  .lang-switch {
    font-size: 11px;
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
