:root {
      --navy: #061b36;
      --navy-2: #09284d;
      --text: #122744;
      --muted: #60758e;
      --line: #dbe9f6;
      --soft: #f5fbff;
      --blue: #159eef;
      --blue-2: #0fb9f2;
      --orange: #ff742f;
      --orange-2: #ff8a3d;
      --green: #48cbb9;
      --yellow: #ffbd3d;
      --purple: #7d63ff;
      --radius: 8px;
      --shadow: 0 16px 38px rgba(16, 47, 82, .11);
      color-scheme: light;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      background: #fff;
      color: var(--text);
      font-family: Inter, Arial, sans-serif;
      font-size: 14px;
      letter-spacing: 0;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      display: block;
      max-width: 100%;
    }

    button,
    input {
      font: inherit;
    }

    .wrap {
      width: min(1320px, calc(100% - 48px));
      margin: 0 auto;
    }

    .nav__actions {
      display: flex;
      align-items: center;
      gap: 28px;
    }

    .audiencebar {
      background: #fff;
      border-bottom: 1px solid #edf3f8;
    }

    .audiencebar__inner {
      min-height: 46px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 36px;
      color: #233b5a;
      font-size: 14px;
      font-weight: 600;
    }

    .audiencebar__links {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 34px;
      flex: 1;
    }

    .audiencebar__inner a {
      color: #0d2948;
      transition: color .18s ease;
    }

    .audiencebar__inner a:hover {
      color: #159eef;
    }

    .lang-select {
      min-height: 34px;
      padding: 0 34px 0 13px;
      border: 1px solid #d7e5f1;
      border-radius: 8px;
      background: #f8fcff;
      color: #0d2948;
      font-size: 13px;
      font-weight: 600;
      outline: 0;
      cursor: pointer;
    }

    .lang-select option {
      color: var(--text);
      background: #fff;
    }

    .nav {
      background: #fff;
      border-bottom: 1px solid #edf3f8;
    }

    .nav__inner {
      min-height: 74px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      min-width: 260px;
    }

    .brand__mark {
      width: 80px;
      height: 50px;
      object-fit: contain;
    }

    .brand__wordmark {
      width: 154px;
      height: 38px;
      object-fit: contain;
    }

    .nav__search {
      flex: 1;
      position: relative;
      min-width: 180px;
    }

    .nav__search input {
      width: 100%;
      min-height: 48px;
      padding: 0 52px 0 22px;
      border: 1px solid #cfd9e4;
      border-radius: 10px;
      color: #2b3f55;
      background: #fff;
      font-size: 15px;
      font-weight: 700;
      outline: 0;
    }

    .nav__search input::placeholder {
      color: #8b98a8;
    }

    .search-icon {
      position: absolute;
      right: 18px;
      top: 50%;
      width: 22px;
      height: 22px;
      border: 2px solid #2d2c29;
      border-radius: 50%;
      transform: translateY(-50%);
    }

    .search-icon::after {
      content: "";
      position: absolute;
      right: -6px;
      bottom: -4px;
      width: 9px;
      height: 2px;
      border-radius: 999px;
      background: #2d2c29;
      transform: rotate(45deg);
    }

    .menu-pill {
      min-height: 48px;
      padding: 0 22px;
      display: inline-flex;
      align-items: center;
      gap: 12px;
      border: 1px solid rgba(12, 132, 224, .22);
      border-radius: 24px;
      background: linear-gradient(135deg, #0d7fe8, #19bdf4);
      color: #fff;
      font-family: inherit;
      font-size: 15px;
      font-weight: 900;
      white-space: nowrap;
      box-shadow: 0 12px 22px rgba(19, 158, 239, .22);
      cursor: pointer;
      appearance: none;
    }

    .menu-dropdown {
      position: relative;
      z-index: 30;
    }

    .menu-dropdown:hover .menu-pill {
      box-shadow: 0 16px 28px rgba(19, 158, 239, .28);
    }

    .menu-dropdown__panel {
      position: absolute;
      left: 0;
      top: calc(100% + 12px);
      width: 250px;
      padding: 10px;
      display: none;
      gap: 4px;
      border: 1px solid rgba(18, 93, 155, .12);
      border-radius: 18px;
      background: rgba(255, 255, 255, .96);
      box-shadow: 0 22px 50px rgba(9, 34, 63, .16);
      backdrop-filter: blur(16px);
      opacity: 0;
      visibility: hidden;
      transform: translateY(8px);
      transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
      pointer-events: none;
    }

    .menu-dropdown::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 100%;
      height: 14px;
    }

    .menu-dropdown:hover .menu-dropdown__panel {
      display: grid;
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto;
    }

    .menu-dropdown__panel a {
      padding: 11px 12px;
      border-radius: 12px;
      color: #102644;
      font-size: 14px;
      font-weight: 800;
      text-decoration: none;
      transition: background .2s ease, color .2s ease, transform .2s ease;
    }

    .menu-dropdown__panel a:hover {
      background: #eef8ff;
      color: #1687e8;
      transform: translateX(2px);
    }

    .menu-icon {
      width: 19px;
      height: 14px;
      position: relative;
      display: inline-block;
      border-top: 2px solid rgba(255, 255, 255, .82);
      border-bottom: 2px solid rgba(255, 255, 255, .82);
    }

    .menu-icon::after {
      content: "";
      position: absolute;
      left: 0;
      top: 4px;
      width: 19px;
      height: 2px;
      background: rgba(255, 255, 255, .82);
    }

    .login-link {
      min-width: 54px;
      display: inline-grid;
      justify-items: center;
      gap: 4px;
      color: #3b3b3b;
      font-size: 12px;
      font-weight: 800;
      text-transform: lowercase;
    }

    .login-icon {
      width: 24px;
      height: 24px;
      position: relative;
      display: block;
    }

    .login-icon::before {
      content: "";
      position: absolute;
      inset: 3px 8px 3px 2px;
      border: 2px solid #3b3b3b;
      border-right: 0;
      border-radius: 2px 0 0 2px;
    }

    .login-icon::after {
      content: "";
      position: absolute;
      right: 0;
      top: 10px;
      width: 14px;
      height: 2px;
      border-radius: 999px;
      background: #3b3b3b;
      box-shadow: 5px -4px 0 -3px #3b3b3b, 5px 4px 0 -3px #3b3b3b;
    }

    .chev::after {
      content: "";
      display: inline-block;
      width: 6px;
      height: 6px;
      margin-left: 7px;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: translateY(-2px) rotate(45deg);
      opacity: .8;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 0 24px;
      border: 1px solid transparent;
      border-radius: var(--radius);
      background: var(--orange);
      color: #fff;
      font-weight: 900;
      line-height: 1;
      white-space: nowrap;
      box-shadow: 0 12px 22px rgba(255, 116, 47, .22);
      cursor: pointer;
    }

    .floating-lesson-cta {
      position: fixed;
      left: 50%;
      bottom: 24px;
      z-index: 80;
      min-height: 48px;
      padding: 0 10px 0 20px;
      display: inline-flex;
      align-items: center;
      gap: 12px;
      border: 1px solid rgba(22, 135, 232, .16);
      border-radius: 999px;
      background: rgba(255, 255, 255, .94);
      color: #082342;
      font-size: 15px;
      font-weight: 600;
      text-decoration: none;
      box-shadow: 0 12px 32px rgba(8, 35, 66, .14);
      backdrop-filter: blur(14px);
      opacity: 0;
      pointer-events: none;
      transform: translate(-50%, 18px);
      transition: opacity .22s ease, transform .22s ease, box-shadow .18s ease;
    }

    .floating-lesson-cta span {
      width: 32px;
      height: 32px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: linear-gradient(135deg, #1687e8, #26c6da);
      color: #fff;
      font-size: 16px;
      line-height: 1;
      box-shadow: 0 8px 18px rgba(22, 135, 232, .22);
    }

    .floating-lesson-cta.is-visible {
      opacity: 1;
      pointer-events: auto;
      transform: translate(-50%, 0);
    }

    .floating-lesson-cta:hover {
      box-shadow: 0 16px 38px rgba(8, 35, 66, .18);
      transform: translate(-50%, -3px);
    }

    .btn--small {
      min-height: 38px;
      padding: 0 18px;
      font-size: 13px;
    }

    .btn--ghost {
      background: #fff;
      color: #117fe4;
      border-color: #bfe0ff;
      box-shadow: none;
    }

    .btn--outline-orange {
      min-height: 48px;
      padding: 0 28px;
      border: 2px solid var(--orange-2);
      border-radius: 24px;
      background: #fff;
      color: #5c5148;
      box-shadow: none;
      font-size: 15px;
    }

    .btn--white {
      background: #fff;
      color: #1a4770;
      border-color: #e0ecf7;
      box-shadow: 0 12px 22px rgba(9, 40, 77, .08);
    }

    .hero {
      position: relative;
      overflow: hidden;
      min-height: 505px;
      background:
        radial-gradient(circle at 73% 24%, rgba(255, 255, 255, .28), transparent 23%),
        radial-gradient(circle at 42% 18%, rgba(255, 255, 255, .18), transparent 18%),
        linear-gradient(115deg, #13a7ef 0%, #13bff4 52%, #72dcff 100%);
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: auto 0 -34px;
      height: 66px;
      background: #fff;
      border-radius: 34px 34px 0 0;
    }

    .hero__inner {
      position: relative;
      z-index: 1;
      min-height: 505px;
      display: grid;
      grid-template-columns: minmax(470px, .92fr) minmax(520px, 1.08fr);
      align-items: center;
      gap: 24px;
      padding: 44px 0 66px;
    }

    .hero h1 {
      margin: 0 0 22px;
      color: #fff;
      font-size: 48px;
      line-height: 1.03;
      font-weight: 900;
      letter-spacing: 0;
      max-width: 610px;
    }

    .hero p {
      max-width: 560px;
      margin: 0 0 28px;
      color: rgba(255, 255, 255, .94);
      font-size: 18px;
      line-height: 1.42;
      font-weight: 600;
    }

    .hero__actions {
      display: flex;
      gap: 18px;
      margin-bottom: 36px;
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 26px;
      max-width: 520px;
      color: #fff;
    }

    .stat {
      display: grid;
      grid-template-columns: 34px 1fr;
      gap: 10px;
      align-items: center;
      font-weight: 900;
    }

    .stat__icon {
      display: grid;
      place-items: center;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: 2px solid rgba(255, 255, 255, .76);
      background: rgba(255, 255, 255, .14);
      font-size: 16px;
      box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .1);
    }

    .stat__icon img {
      width: 18px;
      height: 18px;
      display: block;
      filter: brightness(0) invert(1);
    }

    .stat strong {
      display: block;
      font-size: 22px;
      line-height: 1;
    }

    .stat span {
      display: block;
      margin-top: 4px;
      font-size: 12px;
      line-height: 1.15;
      opacity: .9;
    }

    .hero__art {
      position: relative;
      min-height: 390px;
      align-self: end;
      isolation: isolate;
    }

    .student {
      position: absolute;
      left: 34px;
      right: auto;
      bottom: -4px;
      width: 620px;
      height: 430px;
      border-radius: 0;
      background: url("/assets/hero-student-photo-optimized.jpg") center bottom / contain no-repeat;
      filter: drop-shadow(0 24px 28px rgba(8, 40, 74, .18));
      z-index: 2;
    }

    .paper-plane {
      position: absolute;
      right: 20px;
      top: 22px;
      width: 62px;
      height: 62px;
      clip-path: polygon(0 18%, 100% 0, 62% 92%, 44% 52%);
      background: #fff;
      transform: rotate(16deg);
      opacity: .94;
    }

    .dash {
      position: absolute;
      border: 2px dashed rgba(255, 255, 255, .75);
      border-left: 0;
      border-bottom: 0;
      border-radius: 0 90px 0 0;
    }

    .dash--one {
      right: 40px;
      top: 120px;
      width: 108px;
      height: 70px;
      transform: rotate(14deg);
    }

    .hero-card {
      position: absolute;
      padding: 18px 20px;
      border-radius: 14px;
      background: #fff;
      border: 1px solid #d9e9f6;
      box-shadow: 0 18px 38px rgba(15, 77, 128, .18);
      z-index: 3;
    }

    .coach {
      left: 0;
      top: 62px;
      width: 176px;
      min-height: 118px;
      padding: 12px 14px;
    }

    .coach strong,
    .passport strong,
    .week strong {
      display: block;
      margin-bottom: 12px;
      color: var(--navy);
      font-size: 13px;
      font-weight: 900;
    }

    .coach strong::before {
      content: "";
      display: inline-block;
      width: 18px;
      height: 18px;
      margin-right: 8px;
      vertical-align: -4px;
      border-radius: 50%;
      background: radial-gradient(circle at 50% 50%, #fff 0 22%, transparent 24%), #168ce7;
      box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .22);
    }

    .coach p {
      margin: 0 0 12px;
      color: #60758e;
      font-size: 10px;
      line-height: 1.35;
      font-weight: 700;
    }

    .coach button {
      min-height: 28px;
      padding: 0 12px;
      border: 0;
      border-radius: 8px;
      background: #168ced;
      color: #fff;
      font-size: 10px;
      font-weight: 900;
    }

    .passport {
      right: 96px;
      top: 34px;
      width: 192px;
      min-height: 118px;
      padding: 12px 14px;
      transform: rotate(-4deg);
    }

    .ring {
      width: 64px;
      height: 64px;
      margin: 2px 16px 0 0;
      float: left;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: conic-gradient(#1288e8 0 84%, #e3eef8 84% 100%);
      color: var(--navy);
      font-size: 18px;
      font-weight: 900;
    }

    .ring span {
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #fff;
    }

    .passport em {
      display: block;
      padding-top: 12px;
      text-align: left;
      color: #6f8195;
      font-style: normal;
      font-size: 11px;
      font-weight: 800;
    }

    .week {
      right: 0;
      bottom: 54px;
      width: 260px;
      min-height: 142px;
      padding: 14px 16px;
    }

    .week__nums {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
      font-weight: 900;
    }

    .week__nums b:first-child {
      color: #178de9;
      font-size: 22px;
    }

    .week__nums b:last-child {
      color: #2fc29f;
      font-size: 20px;
    }

    .line-chart {
      height: 54px;
      position: relative;
      background: linear-gradient(#eef6fd 1px, transparent 1px) 0 0 / 100% 17px;
      border-bottom: 2px solid #c9e2f7;
    }

    .line-chart::before {
      content: "";
      position: absolute;
      left: 4px;
      right: 4px;
      top: 10px;
      height: 34px;
      background: none;
      border-bottom: 4px solid #57aef5;
      clip-path: polygon(0 75%, 14% 52%, 25% 58%, 40% 18%, 55% 62%, 72% 28%, 84% 34%, 100% 0, 100% 14%, 84% 48%, 72% 42%, 55% 76%, 40% 34%, 25% 72%, 14% 66%, 0 90%);
      background-color: #57aef5;
    }

    .section {
      padding: 28px 0 0;
    }

    .section h2 {
      margin: 0 0 20px;
      color: #183154;
      text-align: center;
      font-size: 26px;
      line-height: 1.1;
      font-weight: 900;
    }

    .interest-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 26px;
    }

    .interest {
      min-height: 280px;
      padding: 0 22px 24px;
      overflow: hidden;
      display: flex;
      position: relative;
      flex-direction: column;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
      box-shadow: 0 9px 24px rgba(13, 53, 89, .05);
    }

    .interest__image {
      height: 112px;
      margin: 0 -22px 18px;
      background: #f4fbff;
    }

    .interest__image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .interest:nth-child(1) {
      border-color: #bddcff;
    }

    .interest:nth-child(2) {
      border-color: #bdece1;
    }

    .interest:nth-child(3) {
      border-color: #ffe1ad;
    }

    .interest:nth-child(4) {
      border-color: #ffcdb9;
    }

    .icon {
      width: 52px;
      height: 52px;
      display: grid;
      place-items: center;
      margin-bottom: 12px;
      border-radius: 50%;
      color: #fff;
      font-size: 24px;
      font-weight: 900;
    }

    .icon img {
      width: 26px;
      height: 26px;
      display: block;
      filter: brightness(0) invert(1);
    }

    .i-blue { background: #1792ef; }
    .i-green { background: #55d6be; }
    .i-yellow { background: #ffbe3e; }
    .i-orange { background: #ff7645; }
    .i-purple { background: #7d63ff; }

    .interest h3,
    .small-card h3,
    .course h3,
    .format h3,
    .why h3 {
      margin: 0 0 10px;
      color: #1b3458;
      font-size: 18px;
      line-height: 1.18;
      font-weight: 900;
    }

    .interest p,
    .format p,
    .why p {
      margin: 0;
      color: #60758e;
      line-height: 1.35;
      font-weight: 700;
    }

    .arrow {
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      margin-top: 18px;
      border-radius: 50%;
      border: 2px solid #d9eafb;
      color: #1492ef;
      font-weight: 900;
    }

    .language-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr) 120px;
      gap: 18px;
    }

    .lang-card {
      position: relative;
      overflow: hidden;
      min-height: 226px;
      padding-bottom: 56px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
      text-align: center;
      box-shadow: 0 8px 22px rgba(10, 45, 80, .06);
    }

    .lang-photo {
      height: 118px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(7, 24, 47, .08)),
        var(--photo);
      background-size: cover;
      background-position: center;
    }

    .flag {
      display: block;
      margin: -24px auto 10px;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: #fff;
      box-shadow: 0 4px 12px rgba(7, 24, 47, .16);
      border: 3px solid #fff;
      overflow: hidden;
      position: relative;
    }

    .flag--arabic {
      background: linear-gradient(90deg, #d71920 0 26%, transparent 26%), linear-gradient(#009a44 0 33%, #fff 33% 66%, #000 66%);
    }

    .flag--english {
            position: relative;
            background: #012169;
            overflow: hidden;
        }

        .flag--english::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(33deg, transparent 42%, #fff 42% 58%, transparent 58%),
                linear-gradient(-33deg, transparent 42%, #fff 42% 58%, transparent 58%),
                linear-gradient(90deg, transparent 38%, #fff 38% 62%, transparent 62%),
                linear-gradient(transparent 38%, #fff 38% 62%, transparent 62%);
        }

        .flag--english::after {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(33deg, transparent 47%, #c8102e 47% 53%, transparent 53%),
                linear-gradient(-33deg, transparent 47%, #c8102e 47% 53%, transparent 53%),
                linear-gradient(90deg, transparent 44%, #c8102e 44% 56%, transparent 56%),
                linear-gradient(transparent 44%, #c8102e 44% 56%, transparent 56%);
        }

    .flag--french {
      background: linear-gradient(90deg, #1d4fb8 0 33%, #fff 33% 66%, #ef4135 66%);
    }

    .flag--german {
      background: linear-gradient(#111 0 33%, #dd0000 33% 66%, #ffce00 66%);
    }

    .flag--chinese {
      background: #de2910;
    }

    .flag--chinese::before {
      content: "";
      position: absolute;
      left: 10px;
      top: 9px;
      width: 14px;
      height: 14px;
      background: #ffde00;
      clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 79% 92%, 50% 70%, 21% 92%, 32% 56%, 2% 35%, 39% 35%);
    }

    .lang-card strong {
      display: block;
      margin-bottom: 11px;
      font-size: 14px;
      font-weight: 900;
    }

    .mini-btn {
      display: inline-flex;
      width: fit-content;
      min-height: 32px;
      align-items: center;
      justify-content: center;

      padding: 10px 14px;
      border-radius: 999px;
      border: 1px solid #cfe7fb;
      background: #f8fcff;
      color: #1587e5;
      font-size: 12px;
      font-weight: 900;
      line-height: 1;
      text-decoration: none;
      transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
    }

    .mini-btn:hover {
      border-color: #1687e8;
      background: #1687e8;
      color: #fff;
      transform: translateY(-1px);
    }

    .interest .mini-btn {
    position: absolute;
    left: 20px;
    bottom: 20px;
    }

    .course .mini-btn {
      bottom: 20px;
      position: absolute;
    }

    .lang-card .mini-btn {
      position: absolute;
      left: 50%;
      bottom: 16px;
      transform: translateX(-50%);
    }

    .lang-card .mini-btn:hover {
      transform: translateX(-50%) translateY(-1px);
    }

    .more-lang {
      min-height: 226px;
      display: grid;
      place-items: center;
      border: 2px dashed #c7dceb;
      border-radius: 12px;
      color: #24405f;
      font-weight: 900;
      text-align: center;
    }

    .more-lang span {
      display: grid;
      place-items: center;
      width: 52px;
      height: 52px;
      margin: 0 auto 12px;
      border-radius: 50%;
      border: 2px solid #d9e8f5;
      font-size: 28px;
      color: var(--navy);
    }

    .courses-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr) 270px;
      gap: 18px;
    }

    .course {
      min-height: 238px;
      position: relative;
      overflow: hidden;
      padding: 132px 18px 16px;
      border-radius: 12px;
      background: var(--navy);
      color: #fff;
      box-shadow: var(--shadow);
    }

    .course::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 132px;
      background: var(--course-bg);
      background-size: cover;
      background-position: center;
      opacity: .92;
    }

    .course::after {
      content: "";
      position: absolute;
      inset: 82px 0 0;
      background: linear-gradient(180deg, transparent, #061b36 38%);
    }

    .course > * {
      position: relative;
      z-index: 1;
    }

    .course h3 {
      color: #fff;
      font-size: 14px;
    }

    .progress-line {
      height: 7px;
      margin: 12px 0 10px;
      border-radius: 999px;
      background: rgba(255, 255, 255, .18);
    }

    .progress-line span {
      display: block;
      height: 100%;
      width: var(--w);
      border-radius: inherit;
      background: linear-gradient(90deg, #16a9e8, #55d6be);
    }

    .course small {
      position: absolute;
      right: 18px;
      top: 156px;
      color: #fff;
      font-weight: 900;
    }

    .progress-card {
      min-height: 238px;
      padding: 22px;
      border-radius: 12px;
      background: #061b36;
      color: #fff;
    }

    .progress-card h3 {
      margin: 0 0 12px;
      font-size: 15px;
      font-weight: 900;
    }

    .donut {
      width: 122px;
      height: 122px;
      margin: 4px auto 14px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: conic-gradient(#ffbd3d 0 60%, #16a9e8 60% 84%, rgba(255, 255, 255, .18) 84% 100%);
      font-size: 26px;
      font-weight: 900;
    }

    .donut span {
      width: 82px;
      height: 82px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #061b36;
    }

    .platform {
      display: grid;
      grid-template-columns: 220px 1fr 300px;
      gap: 20px;
      align-items: stretch;
    }

    .panel {
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
      box-shadow: 0 8px 22px rgba(10, 45, 80, .05);
      min-width: 0;
    }

    .calendar {
      padding: 22px;
    }

    .calendar-head {
      display: flex;
      justify-content: space-between;
      margin-bottom: 18px;
      font-weight: 900;
    }

    .calendar-grid {
      display: grid;
      grid-template-columns: repeat(7, minmax(0, 1fr));
      gap: 9px;
      color: #9aacbf;
      text-align: center;
      font-size: 12px;
      font-weight: 800;
    }

    .calendar-grid b {
      color: #fff;
      background: #148eea;
      border-radius: 50%;
    }

    .week-plan {
      margin-top: 18px;
      padding: 18px;
      border-radius: 10px;
      background: #eef9ff;
      font-weight: 900;
    }

    .week-plan span {
      display: block;
      margin-top: 8px;
      color: #2fbf98;
      font-size: 12px;
    }

    .green-line {
      height: 8px;
      margin-top: 15px;
      border-radius: 999px;
      background: linear-gradient(90deg, #37cfa8 75%, #c7edf3 75%);
    }

    .schedule {
      padding: 0 26px 24px;
    }

    .tabs {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 16px;
      border-bottom: 1px solid #e9f1f8;
      color: #7a8ca0;
      font-size: 12px;
      font-weight: 900;
    }

    .tabs span {
      padding: 18px 0 12px;
    }

    .tabs .active {
      color: #168ce7;
      border-bottom: 3px solid #168ce7;
    }

    .lesson {
      display: grid;
      grid-template-columns: 58px 1fr 60px;
      gap: 16px;
      align-items: center;
      min-height: 72px;
      margin-bottom: 10px;
      padding: 0 16px;
      border-radius: 9px;
      background: var(--lesson-bg);
      border-left: 4px solid var(--lesson-line);
      font-weight: 900;
    }

    .lesson time {
      color: #73869b;
      font-size: 13px;
    }

    .lesson small {
      display: block;
      margin-top: 3px;
      color: #718398;
      font-weight: 800;
    }

    .avatars {
      display: flex;
      justify-content: flex-end;
    }

    .avatars i {
      width: 26px;
      height: 26px;
      display: block;
      margin-left: -8px;
      border: 2px solid #fff;
      border-radius: 50%;
      background: linear-gradient(135deg, #ffc4aa, #0d6fae);
    }

    .coach-list {
      padding: 24px;
      background: #f4fcff;
    }

    .coach-list h3 {
      margin: 0 0 18px;
      font-size: 17px;
      font-weight: 900;
    }

    .tip {
      display: grid;
      grid-template-columns: 36px 1fr auto;
      gap: 12px;
      align-items: center;
      padding: 14px 0;
      border-bottom: 1px solid #deedf5;
      font-weight: 900;
    }

    .tip:last-child {
      border-bottom: 0;
    }

    .tip .icon {
      width: 36px;
      height: 36px;
      margin: 0;
      font-size: 16px;
    }

    .tip small {
      display: block;
      margin-top: 4px;
      color: #6f8195;
      font-size: 11px;
    }

    .results {
      margin-top: 28px;
      padding: 24px 28px 30px;
      border-radius: 22px;
      background: #062345;
      color: #fff;
    }

    .results h2 {
      color: #fff;
      margin-bottom: 22px;
    }

    .results-grid {
      display: grid;
      grid-template-columns: 220px 1.1fr 280px 1fr;
      gap: 22px;
    }

    .dark-card {
      min-height: 240px;
      padding: 22px;
      border: 1px solid rgba(255, 255, 255, .2);
      border-radius: 12px;
      background: rgba(255, 255, 255, .04);
    }

    .rating strong {
      display: block;
      margin-bottom: 10px;
      font-size: 28px;
      font-weight: 900;
      text-align: center;
    }

    .stars {
      color: #ffbd3d;
      text-align: center;
      font-size: 24px;
    }

    .store {
      margin-top: 18px;
      padding: 10px 14px;
      min-height: 62px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      background: #fff;
      color: #112845;
      font-size: 28px;
      font-weight: 900;
      text-align: center;
    }

    .store img {
      width: 142px;
      max-width: 100%;
      height: 38px;
      display: block;
      object-fit: contain;
    }

    .video {
      position: relative;
      overflow: hidden;
      padding: 0;
      background: rgba(255, 255, 255, .04);
    }

    .video img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: center;
    }

    .video::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(6, 29, 53, .02) 38%, rgba(6, 29, 53, .72) 100%);
      pointer-events: none;
    }

    .play {
      display: none;
      position: absolute;
      left: 50%;
      top: 50%;
      width: 62px;
      height: 62px;
      place-items: center;
      border-radius: 50%;
      background: rgba(255, 255, 255, .85);
      color: var(--navy);
      transform: translate(-50%, -50%);
      font-size: 26px;
      font-weight: 900;
    }

    .video p {
      position: absolute;
      left: 22px;
      right: 22px;
      bottom: 18px;
      z-index: 1;
      margin: 0;
      padding: 8px 10px;
      border-radius: 10px;
      background: rgba(6, 29, 53, .78);
      font-weight: 900;
      text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
    }

    .orange-card {
      background: linear-gradient(180deg, #ff7a2f, #ff5f21);
      color: #fff;
    }

    .orange-card strong {
      display: block;
      margin-bottom: 18px;
      font-size: 30px;
      font-weight: 900;
    }

    .orange-card p {
      margin: 10px 0;
      font-weight: 800;
    }

    .teachers-showcase {
      position: relative;
      overflow: hidden;
      padding: 36px 0 44px;
      border-radius: 24px;
      background: transparent;
    }

    .teachers {
      position: relative;
      min-height: 560px;
      max-width: 980px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .teachers-showcase > .nav-circle {
      position: absolute;
      top: 50%;
      z-index: 5;
      background: #fff;
      box-shadow: 0 14px 28px rgba(9, 34, 63, .14);
      transform: translateY(-50%);
    }

    .teachers-showcase > .nav-circle:first-child {
      left: 18%;
    }

    .teachers-showcase > .nav-circle:last-child {
      right: 18%;
    }

    .nav-circle {
      width: 40px;
      height: 40px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      border: 1px solid var(--line);
      color: #7890a9;
      font-weight: 900;
    }

    .teacher {
      position: absolute;
      width: 340px;
      min-height: 496px;
      overflow: hidden;
      padding: 16px;
      border: 1px solid rgba(255, 116, 47, .42);
      border-radius: 22px;
      background: #fff;
      text-align: left;
      box-shadow: 0 20px 50px rgba(9, 34, 63, .12);
      transition: transform .42s ease, opacity .42s ease, box-shadow .24s ease;
      opacity: 0;
      pointer-events: none;
      transform: translateX(0) rotate(0) scale(.8);
    }

    .teacher:hover {
      transform: translateX(var(--tx, 0)) rotate(var(--rot, 0)) scale(calc(var(--scale, 1) + .03));
      box-shadow: 0 26px 64px rgba(9, 34, 63, .18);
    }

    .teacher--center {
      --tx: 0;
      --rot: 0deg;
      --scale: 1;
      z-index: 3;
      transform: translateX(0) rotate(0) scale(1);
      opacity: 1;
      pointer-events: auto;
    }

    .teacher--left {
      --tx: -270px;
      --rot: -6deg;
      --scale: .85;
      z-index: 1;
      transform: translateX(-270px) rotate(-6deg) scale(.85);
      opacity: .6;
      pointer-events: auto;
    }

    .teacher--right {
      --tx: 270px;
      --rot: 6deg;
      --scale: .85;
      z-index: 1;
      transform: translateX(270px) rotate(6deg) scale(.85);
      opacity: .6;
      pointer-events: auto;
    }

    .teacher__media {
      position: relative;
      aspect-ratio: 4 / 5;
      height: auto;
      overflow: hidden;
      border-radius: 16px;
      background: linear-gradient(135deg, #ffe19a, #ffbd3d);
    }

    .teacher__media img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: center top;
    }

    .teacher--center .teacher__media img {
      animation: none;
    }

    .teacher--center .teacher__media::before {
      content: none;
      position: absolute;
      left: 16px;
      top: 16px;
      z-index: 2;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .88);
      box-shadow: 0 12px 24px rgba(9, 34, 63, .16);
    }

    .teacher--center .teacher__media .teacher__name::before {
      content: none;
      position: absolute;
      left: 4px;
      top: -250px;
      z-index: 3;
      width: 0;
      height: 0;
      border-left: 11px solid #09284d;
      border-top: 8px solid transparent;
      border-bottom: 8px solid transparent;
    }

    @keyframes teacherPreview {
      from {
        transform: scale(1);
      }
      to {
        transform: scale(1.06);
      }
    }

    .teacher__media::after {
      content: "";
      position: absolute;
      inset: auto 12px 12px;
      height: 62px;
      border-radius: 12px;
      background: linear-gradient(90deg, #8c4cff, #b46cff);
    }

    .teacher__name {
      position: absolute;
      left: 28px;
      right: 28px;
      bottom: 30px;
      z-index: 1;
      color: #fff;
      font-weight: 900;
      text-align: center;
    }

    .teacher__name small {
      display: block;
      margin-top: 3px;
      font-size: 12px;
      font-weight: 700;
      opacity: .9;
    }

    .teacher b {
      display: block;
      margin: 10px 0;
      color: #212b3c;
      font-size: 22px;
      font-weight: 900;
    }

    .teacher__lang {
      margin-bottom: 8px;
      color: #168ce7;
      font-weight: 900;
      text-align: center;
    }

    .teacher__facts {
      margin: 16px 0;
      padding: 0;
      list-style: none;
      color: #33465f;
      font-weight: 700;
      line-height: 1.45;
    }

    .teacher__facts li {
      margin: 8px 0;
    }

    .teacher__flags {
      display: flex;
      gap: 8px;
      margin: 12px 0;
    }

    .teacher__flags .flag {
      margin: 0;
      width: 30px;
      height: 30px;
    }

    .teacher__bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .book-btn {
      min-height: 40px;
      padding: 0 16px;
      display: none;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      background: #ff742f;
      color: #fff;
      font-size: 13px;
      font-weight: 900;
      box-shadow: 0 12px 22px rgba(255, 116, 47, .22);
      text-decoration: none;
    }

    .teacher--center .book-btn {
      display: inline-flex;
    }

    .teacher:hover .book-btn {
      background: #e95d20;
      box-shadow: 0 16px 28px rgba(255, 116, 47, .3);
    }

    .why-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 22px;
    }

    .why {
      min-height: 170px;
      padding: 22px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
      box-shadow: 0 8px 22px rgba(10, 45, 80, .05);
    }

    .study-formats {
      width: min(100% - 48px, 1320px);
      margin-top: 18px;
      margin-left: auto;
      margin-right: auto;
      padding: 46px 36px 32px;


    }

    .study-formats__body {
      max-width: 1270px;
      margin: 0 auto;
    }


    .formats-layout {
      display: grid;
      grid-template-columns: 1.04fr 1.16fr;
      gap: 24px;
      align-items: stretch;
    }

    .format-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 22px;
    }

    .format-card {
      position: relative;
      overflow: hidden;
      min-height: 0;
   aspect-ratio: 1.55 / 1;
      padding: 16px 16px;
      border: 1px solid #d7ecfb;
      border-radius: 28px;
      background: rgba(255, 255, 255, .92);
      box-shadow: 0 18px 42px rgba(9, 34, 63, .08);
      transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    }

    .format-content,
    .format-card > :not(.format-visual) {
      position: relative;
      z-index: 2;
    }

    .format-card:hover {
      transform: translateY(-8px);
      border-color: #8bd6ff;
      box-shadow: 0 28px 64px rgba(9, 34, 63, .14);
    }



    .format-card--featured {
      aspect-ratio: 1.38 / 1;
      padding: 20px 20px;
      color: #fff;
      background:
        radial-gradient(circle at 78% 32%, rgba(255, 255, 255, .2), transparent 28%),
        linear-gradient(135deg, #1387ef 0%, #19bdf4 100%);
      box-shadow: 0 30px 70px rgba(19, 135, 239, .25);
    }

    .format-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 20px;
      padding: 0 7px;
      border-radius: 999px;
      background: rgba(21, 158, 239, .1);
      color: #128ee6;
      font-size: 10px;
      line-height: 1.05;
      font-weight: 900;
      text-transform: uppercase;
    }

    .format-badge::before {
      content: "";
      width: 12px;
      height: 12px;
      background: currentColor;
      clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 79% 92%, 50% 70%, 21% 92%, 32% 56%, 2% 35%, 39% 35%);
    }

    .format-card--featured .format-badge {
      background: rgba(255, 255, 255, .22);
      color: #fff;
    }

    .format-grid .format-card:nth-child(2) .format-badge {
      background: rgba(255, 114, 45, .1);
      color: #ff722d;
    }

    .format-grid .format-card:nth-child(3) .format-badge {
      background: rgba(130, 88, 255, .12);
      color: #8258ff;
    }

    .format-grid .format-card:nth-child(4) .format-badge {
      background: rgba(255, 177, 31, .14);
      color: #e79a00;
    }

    .format-card h3 {
       margin: 16px 0 10px;
  color: #102644;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
    }

    .format-card--featured h3 {
      max-width: none;
      margin: 12px 0 14px;
      color: #fff;
      font-size: 38px;
      line-height: .95;
    }

    .format-card p {
       margin: 0;
  color: #647891;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
    }

    .format-card--featured p {
      margin: 0 0 20px;
      color: rgba(255, 255, 255, .92);
      font-size: 18px;
      line-height: 1.35;
    }

    .format-card:not(.format-card--featured) .format-content {
      width: 500%;
      max-width: 50%;
      min-height: 100%;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .format-card--featured .format-content {
      width: 75%;
      max-width: 75%;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      padding-bottom: 0;
    }

    .format-points {
      display: grid;
      gap: 12px;
      max-width: 245px;
      margin: 0;
      padding: 0;
      list-style: none;
      color: rgba(255, 255, 255, .94);
      font-weight: 800;
    }

    .format-points li {
      display: grid;
      grid-template-columns: 32px 1fr;
      align-items: center;
      gap: 10px;
    }

    .format-points li::before {
      content: "";
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background:
        radial-gradient(circle at 50% 50%, #fff 0 16%, transparent 17%),
        rgba(255, 255, 255, .18);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
    }

    .format-cta {
      position: relative;
      left: auto;
      bottom: auto;
      z-index: 4;
      display: inline-flex;
      align-items: center;
      gap: 16px;
      min-height: 56px;
      margin-top: 16px;
      padding: 0 12px 0 24px;
      border-radius: 999px;
      background: #fff;
      color: #102644;
      font-size: 17px;
      font-weight: 900;
      text-decoration: none;
      box-shadow: 0 18px 38px rgba(9, 34, 63, .16);
    }


    .format-visual {
      position: absolute;
      right: 10px;
      bottom: 12px;
      z-index: 1;
      width: 44%;
      max-width: 44%;
      height: 78%;
      pointer-events: none;
    }

    .format-card--featured .format-visual {
      right: 10px;
      bottom: 58px;
      width: 54%;
      max-width: 54%;
      height: 64%;
      display: flex;
      align-items: flex-end;
      justify-content: center;
    }

    .format-visual img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: contain;
      object-position: right bottom;
    }

    .format-card--featured .format-visual img {
      height: 100%;
      padding: 10px;
      border-radius: 26px;
      background: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08));
      object-position: right bottom;
    }

    .visual-courses img {
      object-position: 72% 50%;
    }

    .visual-groups img {
      object-position: 70% 50%;
    }

    .visual-free img {
      object-position: 70% 50%;
    }

    .visual-mastermind img {
      object-position: 76% 50%;
    }

    .visual-tutor::before {
      content: "";
      position: absolute;
      right: 74px;
      bottom: 26px;
      width: 142px;
      height: 168px;
      border-radius: 70px 70px 24px 24px;
      background:
        radial-gradient(circle at 50% 28%, #ffd2bf 0 22%, transparent 23%),
        linear-gradient(#8fdcff 0 100%);
      box-shadow: 0 18px 34px rgba(9, 34, 63, .18);
    }

    .visual-tutor::after {
      content: "";
      position: absolute;
      right: 30px;
      bottom: 0;
      width: 220px;
      height: 86px;
      border-radius: 18px;
      background: linear-gradient(135deg, #dfe8f2, #fff);
      box-shadow: 0 18px 34px rgba(9, 34, 63, .16);
    }

    .visual-courses::before,
    .visual-free::before {
      content: "";
      position: absolute;
      right: 28px;
      bottom: 26px;
      width: 92px;
      height: 104px;
      border-radius: 16px;
      background: linear-gradient(135deg, #bed8ff, #f5f9ff);
      box-shadow: -34px 28px 0 -10px #e8f2ff, 0 22px 34px rgba(9, 34, 63, .1);
    }

    .visual-courses::after {
      content: "";
      position: absolute;
      right: 82px;
      top: 36px;
      width: 86px;
      height: 46px;
      border-radius: 10px;
      background: #fff;
      box-shadow: 0 16px 26px rgba(9, 34, 63, .12);
    }

    .visual-groups::before {
      content: "";
      position: absolute;
      right: 18px;
      bottom: 20px;
      width: 150px;
      height: 108px;
      border-radius: 70px 70px 20px 20px;
      background:
        radial-gradient(circle at 28% 34%, #ffd0bc 0 15%, transparent 16%),
        radial-gradient(circle at 52% 28%, #f6c4a8 0 16%, transparent 17%),
        radial-gradient(circle at 76% 36%, #ffd9b6 0 15%, transparent 16%),
        linear-gradient(90deg, #6bcaf4 0 33%, #48cbb9 33% 66%, #ffbd3d 66%);
    }

    .visual-free::after {
      content: "";
      position: absolute;
      right: 88px;
      bottom: 18px;
      width: 58px;
      height: 72px;
      border-radius: 10px 10px 22px 22px;
      background: linear-gradient(135deg, #a875ff, #d7b8ff);
      box-shadow: 24px -24px 0 -8px #f1e6ff;
    }

    .visual-mastermind::before {
      content: "";
      position: absolute;
      right: 34px;
      bottom: 48px;
      width: 124px;
      height: 96px;
      background: linear-gradient(135deg, #ffd65a, #ffae1f);
      clip-path: polygon(50% 0, 100% 38%, 72% 100%, 28% 100%, 0 38%);
      filter: drop-shadow(0 20px 24px rgba(255, 174, 31, .24));
    }

    .format-visual::before,
    .format-visual::after {
      content: none;
    }

    .format-visual span {
      position: absolute;
      display: block;
    }

    .visual-tutor .scene-desk {
      left: 7%;
      right: 0;
      bottom: 0;
      height: 28%;
      border-radius: 34px 0 28px 28px;
      background: linear-gradient(135deg, rgba(255, 255, 255, .64), rgba(184, 229, 255, .52));
      box-shadow: 0 -18px 46px rgba(7, 80, 151, .14);
    }

    .visual-tutor .scene-student {
      left: 18%;
      bottom: 9%;
      width: 42%;
      height: 68%;
      border-radius: 46% 46% 28% 28%;
      background:
        radial-gradient(circle at 50% 17%, #ffd8c7 0 17%, transparent 18%),
        radial-gradient(circle at 30% 19%, #5b331f 0 17%, transparent 18%),
        radial-gradient(circle at 73% 17%, #fff 0 11%, transparent 12%),
        linear-gradient(160deg, #dff2ff 0 45%, #73c8ff 46% 100%);
      box-shadow: 0 20px 42px rgba(7, 56, 109, .18);
    }

    .visual-tutor .scene-laptop {
      left: 0;
      bottom: 8%;
      width: 50%;
      height: 25%;
      border-radius: 16px;
      background: linear-gradient(145deg, #e7edf5, #fff);
      box-shadow: 0 22px 34px rgba(7, 56, 109, .22);
    }

    .visual-tutor .scene-laptop::after {
      content: "RA";
      position: absolute;
      left: 48%;
      top: 42%;
      color: #168ee8;
      font-size: 22px;
      font-weight: 900;
      transform: translate(-50%, -50%);
    }

    .visual-tutor .scene-video {
      right: 7%;
      top: 16%;
      width: 34%;
      height: 25%;
      border: 5px solid rgba(255, 255, 255, .78);
      border-radius: 22px;
      background:
        radial-gradient(circle at 50% 38%, #ffd6bf 0 19%, transparent 20%),
        linear-gradient(135deg, #d9ebff, #fff);
      box-shadow: 0 18px 36px rgba(7, 56, 109, .2);
    }

    .visual-tutor .scene-wave {
      right: 5%;
      top: 46%;
      width: 34%;
      height: 38px;
      border-radius: 999px;
      background:
        repeating-linear-gradient(90deg, #ffffff 0 5px, transparent 5px 12px),
        linear-gradient(90deg, rgba(104, 213, 187, .94), rgba(92, 174, 255, .94));
      box-shadow: 0 16px 24px rgba(7, 56, 109, .16);
    }

    .visual-tutor .scene-mug {
      right: 1%;
      bottom: 9%;
      width: 16%;
      height: 18%;
      border-radius: 12px 12px 20px 20px;
      background: linear-gradient(145deg, #fff, #d9eeff);
      box-shadow: 0 16px 24px rgba(7, 56, 109, .16);
    }

    .visual-tutor .scene-mug::after {
      content: "";
      position: absolute;
      right: -18%;
      top: 26%;
      width: 32%;
      height: 36%;
      border: 5px solid #e8f5ff;
      border-left: 0;
      border-radius: 0 999px 999px 0;
    }

    .visual-courses .scene-stack {
      right: 8%;
      bottom: 10%;
      width: 48%;
      height: 52%;
      border-radius: 18px;
      background: linear-gradient(145deg, #eaf3ff, #ffffff);
      box-shadow: -44px 36px 0 -14px #dfeeff, 0 26px 42px rgba(12, 46, 92, .14);
    }

    .visual-courses .scene-cap {
      right: 25%;
      top: 12%;
      width: 34%;
      height: 24%;
      border-radius: 12px;
      background: linear-gradient(145deg, #78a8ff, #2e68d9);
      clip-path: polygon(50% 0, 100% 28%, 50% 58%, 0 28%);
      filter: drop-shadow(0 18px 18px rgba(46, 104, 217, .25));
    }

    .visual-courses .scene-play {
      right: 34%;
      bottom: 29%;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: linear-gradient(135deg, #6fd6ff, #168ee8);
      box-shadow: 0 14px 24px rgba(22, 142, 232, .32);
    }

    .visual-courses .scene-play::after {
      content: "";
      position: absolute;
      left: 19px;
      top: 14px;
      border-left: 15px solid #fff;
      border-top: 10px solid transparent;
      border-bottom: 10px solid transparent;
    }

    .visual-groups .scene-person-a,
    .visual-groups .scene-person-b,
    .visual-groups .scene-person-c {
      bottom: 6%;
      width: 31%;
      height: 58%;
      border-radius: 999px 999px 28px 28px;
      box-shadow: 0 22px 34px rgba(14, 62, 113, .14);
    }

    .visual-groups .scene-person-a {
      left: 6%;
      background:
        radial-gradient(circle at 50% 25%, #ffd7c6 0 20%, transparent 21%),
        linear-gradient(#2f91ff 0 100%);
    }

    .visual-groups .scene-person-b {
      left: 34%;
      bottom: 4%;
      height: 68%;
      background:
        radial-gradient(circle at 50% 24%, #f2c29d 0 20%, transparent 21%),
        linear-gradient(#29b278 0 100%);
    }

    .visual-groups .scene-person-c {
      right: 4%;
      background:
        radial-gradient(circle at 50% 25%, #ffd9ae 0 20%, transparent 21%),
        linear-gradient(#ffbd4a 0 100%);
    }

    .visual-groups .scene-chat {
      right: 16%;
      top: 8%;
      width: 40%;
      height: 24%;
      border-radius: 18px;
      background:
        radial-gradient(circle at 28% 52%, #2f91ff 0 7%, transparent 8%),
        radial-gradient(circle at 50% 52%, #2f91ff 0 7%, transparent 8%),
        radial-gradient(circle at 72% 52%, #2f91ff 0 7%, transparent 8%),
        linear-gradient(145deg, #fff, #eaf4ff);
      box-shadow: 0 18px 30px rgba(14, 62, 113, .14);
    }

    .visual-free .scene-calendar {
      right: 18%;
      bottom: 8%;
      width: 48%;
      height: 58%;
      border-radius: 20px;
      background:
        linear-gradient(#9a70ff 0 18%, transparent 18%),
        radial-gradient(circle at 32% 48%, #e5dcff 0 8%, transparent 9%),
        radial-gradient(circle at 54% 48%, #e5dcff 0 8%, transparent 9%),
        radial-gradient(circle at 76% 48%, #9a70ff 0 8%, transparent 9%),
        linear-gradient(145deg, #fff, #f3efff);
      box-shadow: 0 26px 42px rgba(95, 67, 178, .18);
    }

    .visual-free .scene-card {
      left: 5%;
      top: 18%;
      width: 42%;
      height: 33%;
      border-radius: 18px;
      background:
        radial-gradient(circle at 50% 50%, #fff 0 18%, transparent 19%),
        linear-gradient(135deg, #5dd5ff, #168ee8);
      box-shadow: 0 20px 34px rgba(22, 142, 232, .22);
    }

    .visual-free .scene-mug {
      right: 6%;
      bottom: 4%;
      width: 28%;
      height: 34%;
      border-radius: 16px 16px 28px 28px;
      background: linear-gradient(145deg, #b389ff, #6f49df);
      box-shadow: 0 20px 32px rgba(95, 67, 178, .22);
    }

    .visual-mastermind .scene-diamond {
      right: 7%;
      top: 9%;
      width: 62%;
      height: 57%;
      background:
        linear-gradient(135deg, rgba(255, 255, 255, .72), transparent 28%),
        linear-gradient(145deg, #ffe274, #ffb31f 55%, #e48100);
      clip-path: polygon(50% 0, 100% 36%, 70% 100%, 30% 100%, 0 36%);
      filter: drop-shadow(0 24px 34px rgba(255, 174, 31, .35));
    }

    .visual-mastermind .scene-base {
      right: 12%;
      bottom: 11%;
      width: 54%;
      height: 25%;
      border-radius: 18px;
      background: linear-gradient(145deg, #efeaff, #ffffff);
      box-shadow: 0 24px 38px rgba(81, 61, 146, .16);
    }

    .visual-mastermind .scene-glow {
      right: 21%;
      top: 6%;
      width: 36%;
      height: 36%;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 220, 100, .55), transparent 68%);
    }

    .cta {
      margin-top: 30px;
      padding: 28px 34px;
      border-radius: 18px;
      background:
        radial-gradient(circle at 96% 20%, rgba(255, 255, 255, .35), transparent 18%),
        linear-gradient(110deg, #19a8f4, #49c9fb);
      color: #fff;
      display: grid;
      grid-template-columns: 370px 1fr;
      gap: 32px;
      align-items: flex-start;
    }

    .cta h2 {
      color: #fff;
      margin: 0 0 12px;
      text-align: left;
      font-size: 26px;
    }

    .cta p {
      margin: 0;
      max-width: 310px;
      font-weight: 800;
      line-height: 1.35;
    }

    .lead-form {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }

    .lead-form input {
      min-height: 50px;
      padding: 0 18px;
      border: 0;
      border-radius: 7px;
      background: #fff;
      color: var(--text);
      font-weight: 800;
      outline: 0;
    }

    .lead-form .btn {
      grid-column: 1 / -1;
       width: fit-content;
    align-self: center;;
      min-height: 50px;
      border: 0;
    }

    .consent {
      grid-column: 1 / -1;
      font-size: 12px;
      font-weight: 700;
      opacity: .9;
    }

    .faq {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      margin-bottom: 26px;
    }

    .faq details {
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fff;
    }

    .faq summary {
      min-height: 44px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 18px;
      color: #203b5b;
      font-weight: 900;
      cursor: pointer;
      list-style: none;
    }

    .faq summary::after {
      content: "";
      width: 9px;
      height: 9px;
      margin-left: 18px;
      border-right: 2px solid #60758e;
      border-bottom: 2px solid #60758e;
      transform: rotate(45deg);
      transition: transform .2s ease;
      flex: 0 0 auto;
    }

    .faq details[open] summary::after {
      transform: rotate(-135deg);
    }

    .faq p {
      margin: 0;
      padding: 0 18px 16px;
      color: #60758e;
      line-height: 1.4;
      font-weight: 700;
    }

    .footer {
       margin-top: 22px;
  padding: 0;
  color: #fff;

    }

    .footer__cta {
      position: relative;
      overflow: hidden;
      width: min(100% - 48px, 1440px);
      min-height: 278px;
      margin: 0 auto 48px;
      padding: 48px 56px;
      display: grid;
      grid-template-columns: minmax(360px, 1fr) 310px 360px;
      gap: 38px;
      align-items: center;
      border-radius: 36px;
      background:
        radial-gradient(circle at 80% 16%, rgba(255, 255, 255, .28), transparent 16%),
        radial-gradient(circle at 35% 100%, rgba(255, 255, 255, .16), transparent 26%),
        linear-gradient(135deg, #1687E8 0%, #26C6DA 100%);
      box-shadow: 0 28px 70px rgba(22, 135, 232, .22);
    }

    .footer__cta::before {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 48%;
      height: 42%;
      opacity: .32;
      background: repeating-radial-gradient(ellipse at 30% 100%, transparent 0 12px, rgba(255, 255, 255, .45) 13px 14px);
    }

    .footer__cta-copy,
    .footer__cta-badges,
    .footer__cta-actions {
      position: relative;
      z-index: 2;
    }

    .footer__cta h2 {
      max-width: 520px;
      margin: 0 0 18px;
      color: #fff;
      text-align: left;
      font-size: 42px;
      line-height: 1.06;
      font-weight: 900;
    }

    .footer__cta p {
      max-width: 520px;
      margin: 0;
      color: rgba(255, 255, 255, .92);
      font-size: 18px;
      line-height: 1.45;
      font-weight: 800;
    }

    .footer__cta-badges {
      display: grid;
      gap: 14px;
    }

    .footer-badge {
      min-height: 70px;
      padding: 14px 16px;
      display: grid;
      grid-template-columns: 42px 1fr;
      gap: 12px;
      align-items: center;
      border-radius: 14px;
      background: rgba(255, 255, 255, .12);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
      backdrop-filter: blur(8px);
    }

    .footer-badge span {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      background: rgba(255, 255, 255, .9);
      color: #1687E8;
      font-weight: 900;
    }

    .footer-badge strong {
      display: block;
      color: #fff;
      font-size: 16px;
      font-weight: 900;
    }

    .footer-badge small {
      display: block;
      color: rgba(255, 255, 255, .86);
      font-size: 12px;
      line-height: 1.25;
      font-weight: 700;
    }

    .footer__cta-actions {
      display: grid;
      gap: 14px;
      align-content: center;
      justify-self: start;
      z-index: 4;
    }

    .footer-action {
      min-width: 240px;
      min-height: 58px;
      padding: 0 18px 0 28px;
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, .5);
      color: #fff;
      font-size: 16px;
      font-weight: 900;
      text-decoration: none;
      transition: transform .2s ease, box-shadow .2s ease;
    }

    .footer-action--primary {
      color: #061D35;
      background: #fff;
      border-color: #fff;
      box-shadow: 0 16px 34px rgba(6, 29, 53, .16);
    }

    .footer-action:hover {
      transform: translateY(-2px);
      box-shadow: 0 18px 38px rgba(6, 29, 53, .2);
    }

    .footer-action span {
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #1687E8;
      color: #fff;
    }

    .footer__panel {
      width: 100%;
  margin: 0;
  padding: 46px 44px 34px;
  border-radius: 0;
      background:
        radial-gradient(circle at 12% 0, rgba(38, 198, 218, .16), transparent 34%),
        radial-gradient(circle at 90% 20%, rgba(22, 135, 232, .13), transparent 30%),
        #061D35;
      box-shadow: 0 30px 80px rgba(6, 29, 53, .24);
    }

    .footer__main {
      display: grid;
      grid-template-columns: 250px repeat(5, 1fr);
      gap: 28px;
    }

    .footer-brand__logo {
      display: flex;
      align-items: center;
      margin-bottom: 22px;
      color: #fff;
      text-decoration: none;
    }

    .footer-brand__logo img {
      width: 92px;
      height: 62px;
      object-fit: contain;
      border-radius: 8px;
      background: rgba(255, 255, 255, .98);
    }

    .footer-brand p {
      margin: 0 0 22px;
      color: #fff;
      font-size: 18px;
      line-height: 1.45;
      font-weight: 400;
    }

    .footer-rating {
      margin-bottom: 22px;
      color: rgba(255, 255, 255, .78);
      font-size: 14px;
      line-height: 1.4;
      font-weight: 700;
    }

    .footer-rating strong {
      display: block;
      margin-bottom: 2px;
      color: #fff;
      font-size: 23px;
      font-weight: 900;
    }

    .footer-login {
      display: grid;
      gap: 10px;
    }

    .footer-login a {
      min-height: 52px;
      padding: 0 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-radius: 10px;
      border: 1px solid rgba(22, 135, 232, .65);
      color: #48aaff;
      font-size: 15px;
      font-weight: 900;
      text-decoration: none;
      transition: transform .2s ease, border-color .2s ease;
    }

    .footer-login a:last-child {
      color: #bd8dff;
      border-color: rgba(189, 141, 255, .58);
    }

    .footer-login a:hover {
      transform: translateY(-2px);
      border-color: #26C6DA;
    }

    .footer-group {
      padding-left: 24px;
      border-left: 1px solid rgba(255, 255, 255, .12);
    }

    .footer-group summary {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 20px;
      color: #fff;
      font-size: 16px;
      font-weight: 900;
      text-transform: uppercase;
      list-style: none;
      cursor: default;
    }

    .footer-group summary::-webkit-details-marker {
      display: none;
    }



    .footer-links {
      display: grid;
      gap: 14px;
    }

    .footer-links a,
    .footer-legal a,
    .footer-languages a {
      margin: 0;
      color: rgba(255, 255, 255, .82);
      font-size: 15px;
      font-weight: 500;
      line-height: 1.25;
      text-decoration: none;
      transition: color .2s ease, transform .2s ease;
    }


    .footer-links a {
      display: block;
    }

    .footer-links a:hover,
    .footer-legal a:hover,
    .footer-languages a:hover {
      color: #26C6DA;
    }

    .footer__engage {
      margin-top: 46px;
      padding: 20px 24px;
      display: grid;
      grid-template-columns: 1.35fr 1fr 1fr;
      gap: 26px;
      align-items: center;
      border: 1px solid rgba(255, 255, 255, .14);
      border-radius: 16px;
      background: rgba(255, 255, 255, .03);
    }

    .newsletter {
      display: grid;
      grid-template-columns: 58px minmax(180px, 1fr) minmax(280px, 1.35fr);
      gap: 18px;
      align-items: center;
    }

    .newsletter__icon,
    .social-link {
      display: grid;
      place-items: center;
      border-radius: 12px;
      background: linear-gradient(135deg, #1687E8, #26C6DA);
      color: #fff;
      font-weight: 900;
    }

    .newsletter__icon {
      width: 58px;
      height: 58px;
      font-size: 24px;
    }

    .newsletter h3,
    .footer-app h3,
    .footer-social h3 {
      margin: 0 0 6px;
      color: #fff;
      font-size: 16px;
      font-weight: 900;
    }

    .newsletter p,
    .footer-app p {
      margin: 0;
      color: rgba(255, 255, 255, .68);
      font-size: 13px;
      line-height: 1.35;
      font-weight: 600;
    }

    .newsletter form {
      display: grid;
      grid-template-columns: 1fr 112px;
      border-radius: 10px;
      overflow: hidden;
      background: #fff;
    }

    .newsletter input {
      min-width: 0;
      height: 50px;
      padding: 0 18px;
      border: 0;
      color: #061D35;
      font: inherit;
      font-weight: 700;
    }

    .newsletter button {
      border: 0;
      background: #1687E8;
      color: #fff;
      font: inherit;
      font-weight: 900;
      cursor: pointer;
      transition: background .2s ease;
    }

    .newsletter button:hover {
      background: #26C6DA;
    }

    .footer-app,
    .footer-social {
      padding-left: 26px;
      border-left: 1px solid rgba(255, 255, 255, .12);
    }

    .app-buttons {
      display: flex;
      gap: 10px;
      margin-top: 10px;
      flex-wrap: wrap;
    }

    .app-button {
      min-height: 40px;
      padding: 0 14px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border: 1px solid rgba(255, 255, 255, .4);
      border-radius: 8px;
      color: #fff;
      font-size: 13px;
      font-weight: 800;
      text-decoration: none;
      margin: 0;
      transition: transform .2s ease, box-shadow .2s ease;
    }

    .app-button img {
      width: 118px;
      max-width: 100%;
      height: 28px;
      display: block;
      object-fit: contain;
    }

    .app-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
    }

    .socials {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .social-link {
      width: 36px;
      height: 36px;
      display: grid;
      margin: 0;
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .12);
      text-decoration: none;
      transition: transform .2s ease, background .2s ease;
    }

    .social-link img {
      width: 20px;
      height: 20px;
      display: block;
      object-fit: contain;
    }

    .social-link:hover {
      transform: scale(1.08);
      background: rgba(38, 198, 218, .24);
    }

    .footer__bottom {
      margin-top: 28px;
      padding-top: 26px;
      display: grid;
      grid-template-columns: 1fr auto 1.4fr;
      gap: 24px;
      align-items: center;
      border-top: 1px solid rgba(255, 255, 255, .12);
      color: rgba(255, 255, 255, .78);
      font-size: 13px;
      font-weight: 700;
    }

    .footer-languages,
    .footer-legal {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
    }

    .footer-languages {
      justify-content: center;
    }

    .footer-languages a:first-child {
      color: #26C6DA;
      font-weight: 900;
    }

    .footer-legal {
      justify-content: flex-end;
    }

    @media (max-width: 1100px) {
      .hero__inner,
      .platform,
      .cta,
      .results-grid {
        grid-template-columns: 1fr;
      }

      .interest-grid,
      .why-grid,
      .format-grid,
      .courses-row {
        grid-template-columns: repeat(2, 1fr);
      }

      .language-grid {
        grid-template-columns: repeat(3, 1fr);
      }

      .more-lang {
        min-height: 160px;
      }

      .hero__art {
        min-height: 420px;
      }


      .formats-layout {
        grid-template-columns: 1fr;
      }

      .format-card--featured {
        min-height: 500px;
      }

      .footer__cta {
        grid-template-columns: 1fr 280px;
      }

      .footer__cta-actions {
        grid-column: 1 / 2;
      }

      .footer__main {
        grid-template-columns: repeat(3, 1fr);
      }

      .footer-brand {
        grid-column: span 3;
      }

      .footer__engage,
      .newsletter,
      .footer__bottom {
        grid-template-columns: 1fr;
      }

      .footer-app,
      .footer-social {
        padding-left: 0;
        padding-top: 20px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .12);
      }

      .footer-legal,
      .footer-languages {
        justify-content: flex-start;
      }
    }

    @media (max-width: 720px) {
      .wrap {
        width: min(100% - 24px, 1320px);
      }

      .audiencebar {
        display: none;
      }

      .nav__inner {
        min-height: 64px;
        flex-wrap: wrap;
      }

      .brand {
        min-width: 0;
      }

      .brand__mark {
        width: 70px;
        height: 42px;
      }

      .brand__wordmark {
        width: 126px;
        height: 32px;
      }

      .menu-dropdown,
      .menu-pill {
        order: 1;
      }

      .nav__actions {
        order: 2;
        margin-left: auto;
        gap: 10px;
      }

      .nav__search {
        order: 3;
        flex: 0 0 100%;
      }

      .btn--outline-orange {
        padding: 0 16px;
        font-size: 13px;
      }

      .hero__inner {
        min-height: 0;
        padding: 34px 0 60px;
      }

      .hero h1 {
        font-size: 38px;
      }

      .hero p {
        font-size: 15px;
      }

      .hero__actions,
      .stats {
        grid-template-columns: 1fr;
        flex-direction: column;
      }

      .hero__art {
        display: none;
      }

      .calendar,
      .schedule,
      .coach-list {
        padding: 18px;
      }

      .tabs {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 2px;
      }

      .tabs span {
        flex: 0 0 auto;
      }

      .interest-grid,
      .language-grid,
      .courses-row,
      .why-grid,
      .format-grid,
      .faq,
      .lead-form {
        grid-template-columns: 1fr;
      }

      .teachers {
        min-height: 560px;
      }

      .teacher {
        width: min(340px, calc(100vw - 44px));
      }

      .teacher--left,
      .teacher--right {
        opacity: 0;
        pointer-events: none;
        transform: translateX(0) rotate(0) scale(.9);
      }

      .teachers-showcase > .nav-circle {
        top: auto;
        bottom: 12px;
      }

      .teachers-showcase > .nav-circle:first-child {
        left: calc(50% - 56px);
      }

      .teachers-showcase > .nav-circle:last-child {
        right: calc(50% - 56px);
      }

      .study-formats {
        padding: 32px 16px 22px;
      }



      .format-card {
        min-height: 360px;
        padding: 22px;
      }

      .format-card h3,
      .format-card--featured h3 {
        margin-top: 34px;
        font-size: 26px;
      }

      .format-card h3,
      .format-card p,
      .format-card--featured h3,
      .format-card--featured p {
        max-width: 100%;
      }

      .format-card--featured {
        min-height: 680px;
      }

      .format-visual {
        right: 0;
        bottom: 64px;
        width: 100%;
        height: 42%;
        opacity: .96;
      }

      .format-card--featured .format-visual {
        right: 0;
        bottom: 82px;
        width: 100%;
        height: 43%;
      }

      .format-cta {
        left: 22px;
        bottom: 22px;
      }

      .footer__cta {
        width: min(100% - 24px, 1440px);
        min-height: 0;
        padding: 34px 24px;
        grid-template-columns: 1fr;
        gap: 22px;
        border-radius: 24px;
      }

      .footer__cta h2 {
        font-size: 34px;
      }

      .footer__cta p {
        font-size: 16px;
      }

      .footer__cta-actions {
        justify-self: stretch;
      }

      .footer-action {
        min-width: 0;
        width: 100%;
      }

      .footer__panel {
         width: 100%;
  padding: 28px 20px 24px;
  border-radius: 0;
      }

      .footer__main {
        grid-template-columns: 1fr;
        gap: 10px;
      }

      .footer-brand {
        grid-column: auto;
      }

      .footer-group {
        padding: 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .12);
      }

      .footer-group summary {
        min-height: 52px;
        margin-bottom: 0;
        cursor: pointer;
        justify-content: space-between;
      }

      .footer-group summary::after {
        content: "+";
        color: #26C6DA;
      }

      .footer-group[open] summary::after {
        content: "-";
      }

      .footer-links {
        padding-bottom: 18px;
      }

      .footer__engage {
        padding: 18px;
      }

      .newsletter {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .newsletter__icon {
        margin: 0 auto;
      }

      .newsletter form {
        grid-template-columns: 1fr;
      }

      .newsletter button {
        min-height: 48px;
      }

      .app-buttons,
      .socials,
      .footer-languages,
      .footer-legal {
        justify-content: center;
      }

      .footer-app,
      .footer-social,
      .footer__bottom {
        text-align: center;
      }
    }

/* Tutors page */
.teacher-page {
  overflow: hidden;
  background: #f7fbff;
}

.teacher-hero {
  position: relative;
  min-height: 462px;
  padding: 54px 0 92px;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, .28), transparent 14%),
    radial-gradient(circle at 18% 100%, rgba(255, 255, 255, .22), transparent 26%),
    linear-gradient(135deg, #29bdf4 0%, #55cef5 42%, #1aa9ee 100%);
}

.teacher-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .32;
  background:
    radial-gradient(circle at 63% 12%, #fff 0 4px, transparent 5px),
    radial-gradient(circle at 41% 48%, #fff 0 3px, transparent 4px),
    radial-gradient(circle at 93% 20%, #fff 0 2px, transparent 3px);
  pointer-events: none;
}

.teacher-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(420px, .86fr) minmax(520px, 1.14fr);
  gap: 44px;
  align-items: start;
}

.teacher-hero h1 {
  max-width: 610px;
  margin: 0 0 22px;
  color: #fff;
  font-size: 48px;
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: 0;
}

.teacher-hero p {
  max-width: 560px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .94);
  font-size: 18px;
  line-height: 1.42;
  font-weight: 600;
}

.teacher-hero__actions {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}

.teacher-hero__social {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #164467;
  font-weight: 900;
}

.teacher-avatar-stack {
  display: flex;
}

.teacher-avatar-stack img {
  width: 40px;
  height: 40px;
  margin-right: -10px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(8, 35, 66, .16);
}

.teacher-hero__visual {
  position: relative;
  min-height: 360px;
}

.teacher-video-card {
  position: relative;
  width: 560px;
  height: 344px;
  margin: 0 auto;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, .92);
  border-radius: 26px;
  background: #d9f3ff;
  box-shadow: 0 30px 74px rgba(8, 35, 66, .24);
  transform: rotate(-2deg) perspective(900px) rotateY(-2deg);
}

.teacher-video-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(6, 18, 32, .28));
  pointer-events: none;
}

.teacher-video-card > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.teacher-video-card__thumb {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 92px;
  height: 104px;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 35, 66, .16);
}

.teacher-video-card__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.teacher-call-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  min-height: 62px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border-radius: 999px;
  background: rgba(10, 20, 30, .72);
  box-shadow: 0 12px 30px rgba(8, 35, 66, .18);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
  z-index: 2;
}

.teacher-call-controls span {
  position: relative;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.teacher-call-controls span:last-child {
  width: 54px;
  height: 54px;
  background: #ff4f37;
}

.call-icon img {
  width: 24px;
  height: 24px;
  display: block;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.call-icon--end img {
  width: 28px;
  height: 28px;
}

.float-panel {
  position: absolute;
  z-index: 3;
  padding: 20px 22px;
  border: 1px solid #d9eafa;
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 44px rgba(8, 35, 66, .14);
}

.float-panel--match {
  left: -18px;
  top: 104px;
  width: 160px;
  min-height: 206px;
  display: grid;
  align-content: start;
  transform: rotate(-1deg);
}

.float-panel--goal {
  right: -30px;
  top: 110px;
  width: 278px;
  min-height: 176px;
  padding: 22px 24px;
}

.float-panel--time {
  right: -55px;
  bottom: -26px;
  width: 332px;
  min-height: 154px;
  padding: 20px 22px;
}

.float-panel h3,
.float-panel strong {
  margin: 0 0 10px;
  color: #082342;
  font-size: 15px;
  font-weight: 900;
}

.match-ring {
  position: relative;
  width: 82px;
  height: 82px;
  margin: 8px auto 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  color: #082342;
  font-weight: 900;
}

.match-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 57%, transparent 58%),
    conic-gradient(#35cfa7 0 86%, #e8f0f7 86% 100%);
  z-index: 0;
}

.match-ring span {
  position: relative;
  z-index: 1;
  font-size: 22px;
  line-height: 1;
}

.match-ring small {
  position: relative;
  z-index: 1;
  margin-top: 3px;
  color: #52677f;
  font-size: 11px;
  font-weight: 900;
}

.float-panel p,
.float-panel small {
  margin: 0;
  color: #60758e;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.goal-progress {
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eef5;
}

.goal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  color: #60758e;
  font-size: 12px;
  font-weight: 900;
}

.goal-row b {
  color: #082342;
}

.goal-icon,
.calendar-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  margin-right: 8px;
  border-radius: 7px;
  vertical-align: middle;
}

.goal-icon {
  background: #fff2e9;
  border: 2px solid #ff742f;
}

.calendar-icon {
  background: #eef7ff;
  border: 2px solid #1687e8;
}

.goal-progress span {
  display: block;
  width: 65%;
  height: 100%;
  border-radius: inherit;
  background: #35cfa7;
}

.time-grid {
  display: grid;
  grid-template-columns: 72px repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.time-grid span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #dbeaf7;
  border-radius: 11px;
  color: #344b64;
  font-size: 14px;
  font-weight: 900;
}

.teacher-search-shell {
  position: relative;
  z-index: 4;
  margin-top: -72px;
}

.teacher-search {
  padding: 24px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  border: 1px solid #dceaf7;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(8, 35, 66, .12);
}

.teacher-search h2 {
  margin: 0 0 16px;
  text-align: left;
  font-size: 26px;
}

.teacher-search__input {
  position: relative;
  margin-bottom: 14px;
}

.teacher-search__input input {
  width: 100%;
  min-height: 50px;
  padding: 0 18px 0 46px;
  border: 1px solid #d8e7f4;
  border-radius: 12px;
  color: #082342;
  font: inherit;
  font-weight: 800;
}

.teacher-search__input::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 2px solid #8ba0b5;
  border-radius: 50%;
  transform: translateY(-50%);
}

.teacher-search__filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
}

.teacher-select,
.teacher-search__filters button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #d8e7f4;
  border-radius: 10px;
  background: #fff;
  color: #33465f;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.teacher-search__filters .btn {
  grid-column: 5 / 6;
  border: 0;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
}

.popular-searches h3 {
  margin: 4px 0 14px;
  color: #60758e;
  font-size: 13px;
  font-weight: 900;
}

.teacher-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.teacher-tags span {
  padding: 10px 15px;
  border-radius: 999px;
  background: #eef7ff;
  color: #1687e8;
  font-size: 13px;
  font-weight: 900;
}

.teacher-benefits {
  margin-top: 18px;
  padding: 16px 22px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 35, 66, .08);
}

.teacher-benefit {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  color: #60758e;
  font-size: 12px;
  font-weight: 400;
}

.teacher-benefit span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eef7ff;
  color: #1687e8;
  font-size: 22px;
}

.teacher-benefit span img {
  width: 23px;
  height: 23px;
  display: block;
  filter: invert(47%) sepia(89%) saturate(1749%) hue-rotate(181deg) brightness(96%) contrast(90%);
}

.teacher-benefit strong {
  display: block;
  color: #082342;
  font-size: 14px;
  font-weight: 700;
}

.teacher-results {
  padding: 34px 0 26px;
}

.teacher-results__layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.teacher-filter-panel {
  padding: 22px;
  border: 1px solid #dceaf7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 35, 66, .06);
}

.teacher-filter-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
}

.teacher-filter-panel h3 {
  margin: 0 0 4px;
  color: #082342;
  font-size: 18px;
}

.teacher-filter-panel a {
  color: #1687e8;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.filter-group {
  padding: 18px 0;
  border-bottom: 1px solid #e7eff7;
}

.filter-group summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #082342;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.filter-group summary::-webkit-details-marker {
  display: none;
}

.filter-group:last-child {
  border-bottom: 0;
}

.filter-group summary span {
  width: 9px;
  height: 9px;
  border-right: 2px solid #60758e;
  border-bottom: 2px solid #60758e;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}

.filter-group[open] summary {
  margin-bottom: 12px;
}

.filter-group[open] summary span {
  transform: rotate(225deg) translateY(-2px);
}

.filter-group label {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 9px 0;
  color: #536a82;
  font-size: 13px;
  font-weight: 800;
}

.filter-group input[type="range"] {
  width: 100%;
}

.teacher-results__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.teacher-results__top h2 {
  margin: 0;
  text-align: left;
  font-size: 24px;
}

.teacher-sort {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #d8e7f4;
  border-radius: 10px;
  background: #fff;
  color: #60758e;
  font-weight: 900;
}

.teacher-list {
  display: grid;
  gap: 16px;
}

.teacher-result {
  min-height: 220px;
  padding: 12px;
  display: grid;
  grid-template-columns: 220px minmax(330px, 1fr) 250px 112px;
  gap: 14px;
  align-items: stretch;
  border: 1px solid #dceaf7;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 35, 66, .06);
}

.teacher-result__media {
  position: relative;
  width: 220px;
  height: 194px;
  overflow: hidden;
  border-radius: 16px;
  background: #eaf6ff;
}

.teacher-result__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.teacher-result__media.is-online::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #42c985;
  box-shadow: 0 8px 18px rgba(14, 151, 94, .28);
  z-index: 2;
}

.teacher-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, .86);
  border-radius: 50%;
  background: rgba(8, 35, 66, .32);
  color: #fff;
  font-size: 0;
  transform: translate(-50%, -50%);
}

.teacher-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #fff;
}

.teacher-result h3,
.teacher-result__name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 3px;
  color: #082342;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 900;
}

.verified-check,
.teacher-result__verified {
  width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #1687e8;
}

.verified-check::before,
.teacher-result__verified::before {
  content: "";
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.teacher-result__role {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #33465f;
  font-size: 13px;
  font-weight: 900;
}

.teacher-result__lang-icon {
  width: 18px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 2px;
  object-fit: cover;
}

.teacher-result__role .flag {
  width: 18px;
  height: 12px;
  margin: 0;
  border: 0;
  border-radius: 2px;
  box-shadow: none;
}

.flag--spanish {
  background: linear-gradient(#c60b1e 0 25%, #ffc400 25% 75%, #c60b1e 75%);
}

.teacher-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.teacher-badges span {
  min-height: 26px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}

.teacher-badges .badge-top {
  background: #fff1d6;
  color: #f59a00;
}

.teacher-badges .badge-top::before {
  content: "";
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-right: 5px;
  border: 2px solid #ff9f1a;
  border-radius: 50%;
}

.teacher-badges .badge-verified {
  background: #eaf5ff;
  color: #1687e8;
  box-shadow: inset 0 0 0 1px #b9dcfb;
}

.teacher-badges .badge-native {
  background: #eafbf3;
  color: #23a86b;
  box-shadow: inset 0 0 0 1px #bdebd9;
}

.teacher-result p {
  margin: 0 0 8px;
  color: #52677f;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.teacher-stats {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  color: #60758e;
  font-size: 11px;
  font-weight: 800;
}

.teacher-stats > span {
  display: grid;
  align-content: start;
  gap: 2px;
}

.teacher-stats strong {
  display: block;
  color: #082342;
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
}

.teacher-result__rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
  white-space: nowrap;
}

.teacher-result__rating strong {
  display: inline;
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
}

.teacher-result__rating span:last-child {
  color: #667085;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.teacher-result__star {
  color: #ffc107;
  font-size: 16px;
  line-height: 1;
}

.teacher-times strong {
  display: block;
  margin-bottom: 9px;
  color: #082342;
  font-size: 12px;
  font-weight: 900;
}

.teacher-times {
  align-self: center;
  padding: 12px;
  border: 1px solid #dceaf7;
  border-radius: 14px;
  background: #fff;
}

.slot-grid {
  display: grid;
  grid-template-columns: 62px repeat(3, 1fr);
  gap: 8px 9px;
  align-items: center;
}

.slot-grid span {
  min-height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #dceaf7;
  border-radius: 8px;
  color: #33465f;
  font-size: 11px;
  font-weight: 900;
}

.slot-grid .slot-label {
  min-height: auto;
  place-items: start;
  border: 0;
  color: #60758e;
  font-size: 11px;
  background: transparent;
}

.teacher-match {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
}

.teacher-match .match-ring {
  width: 76px;
  height: 76px;
  margin: 0;
}

.teacher-match .btn {
  min-height: 46px;
  padding: 0 14px;
  display: inline-flex;
  flex-direction: row;
  font-size: 12px;
  line-height: 1.05;
  text-align: center;
  white-space: normal;
}

.teacher-match .btn small {
  font-size: 10px;
  opacity: .9;
}

.teacher-ai-banner {
  margin: 18px 0 24px;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: 170px 1fr 300px;
  gap: 22px;
  align-items: center;
  border: 1px solid #dceaf7;
  border-radius: 18px;
  background:
    radial-gradient(circle at 7% 50%, rgba(38, 198, 218, .16), transparent 18%),
    linear-gradient(90deg, #f0fbff, #fff);
  overflow: hidden;
}

.teacher-ai-bot {
  position: relative;
  height: 92px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 22% 25%, #1687e8 0 5px, transparent 6px),
    radial-gradient(circle at 78% 18%, #1687e8 0 4px, transparent 5px),
    radial-gradient(circle at 50% 58%, rgba(22, 135, 232, .12), transparent 44%),
    linear-gradient(135deg, #dff8ff, #fff);
}

.teacher-ai-bot::before {
  content: "";
  position: absolute;
  left: 42px;
  top: 17px;
  width: 84px;
  height: 56px;
  border: 4px solid #208bec;
  border-radius: 24px 24px 18px 18px;
  background:
    radial-gradient(circle at 36% 48%, #29e1ff 0 6px, transparent 7px),
    radial-gradient(circle at 65% 48%, #29e1ff 0 6px, transparent 7px),
    #07335d;
  box-shadow: 0 12px 24px rgba(22, 135, 232, .18);
}

.teacher-ai-bot::after {
  content: "";
  position: absolute;
  left: 30px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #dff8ff;
  box-shadow: 100px -4px 0 #dff8ff;
}

.teacher-ai-bot span {
  position: absolute;
  left: 80px;
  top: 8px;
  width: 10px;
  height: 18px;
  border-radius: 999px;
  background: #1687e8;
}

.teacher-ai-banner h3 {
  margin: 0 0 6px;
  color: #082342;
  font-size: 22px;
}

.teacher-ai-banner p {
  margin: 0;
  color: #60758e;
  font-weight: 400;
}

.teacher-ai-banner__action {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.teacher-ai-banner__action .btn {
  width: 100%;
}

.teacher-ai-banner__action small {
  color: #60758e;
  font-size: 12px;
  font-weight: 400;
}

.teacher-goals-row,
.teacher-popular-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.teacher-section-title {
  margin: 24px 0 16px;
  text-align: center;
  color: #082342;
  font-size: 24px;
  font-weight: 900;
}

.teacher-goal-card {
  min-height: 132px;
  padding: 14px 14px;
  position: relative;
  overflow: hidden;
  border: 1px solid #dceaf7;
  border-radius: 18px;
  background:
    linear-gradient(90deg, #fff 0 56%, rgba(255,255,255,.75) 68%, rgba(255,255,255,0) 100%),
    #fff;
  box-shadow: 0 12px 30px rgba(8, 35, 66, .06);
}

.goal-card-icon {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  margin: 0 8px 8px 0;
  vertical-align: middle;
  border-radius: 50%;
  background: #ff7b2e;
  color: #fff;
}

.goal-card-icon img {
  position: static;
  width: 18px;
  height: 18px;
  display: block;
  max-width: 18px;
  max-height: 18px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.teacher-goal-card--career .goal-card-icon {
  background: #1687e8;
}

.teacher-goal-card--exam .goal-card-icon {
  background: #45c7a3;
}

.teacher-goal-card--quran .goal-card-icon {
  background: #f5b728;
}

.teacher-goal-card--kids .goal-card-icon {
  background: #ff7b2e;
}

.teacher-goal-card--speaking .goal-card-icon {
  background: #45c7a3;
}

.teacher-goal-card h3 {
  display: inline-block;
  width: calc(100% - 44px);
  margin: 0 0 8px;
  vertical-align: middle;
  color: #082342;
  font-size: 16px;
  position: relative;
  z-index: 2;
}

.teacher-goal-card p {
  max-width: 105px;
  margin: 0;
  color: #60758e;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
  position: relative;
  z-index: 2;
}

.goal-card-arrow {
  position: absolute;
  left: 14px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #d6e7f6;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 22px rgba(8, 35, 66, .08);
  z-index: 3;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.goal-card-arrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid #1687e8;
  border-top: 2px solid #1687e8;
  transform: rotate(45deg) translate(-1px, 1px);
}

.teacher-goal-card:hover .goal-card-arrow {
  transform: translateX(4px);
  background: #1687e8;
  box-shadow: 0 14px 26px rgba(22, 135, 232, .22);
}

.teacher-goal-card:hover .goal-card-arrow::before {
  border-color: #fff;
}

.teacher-goal-card > img {
  position: absolute;
  right: -2px;
  bottom: 0;
  width: 48%;
  height: 74%;
  object-fit: cover;
  border-radius: 18px;
  -webkit-mask-image: radial-gradient(ellipse at 100% 100%, #000 0 54%, rgba(0,0,0,.82) 64%, rgba(0,0,0,.36) 76%, transparent 90%);
  mask-image: radial-gradient(ellipse at 100% 100%, #000 0 54%, rgba(0,0,0,.82) 64%, rgba(0,0,0,.36) 76%, transparent 90%);
}

.teacher-goal-card--arabic > img,
.teacher-goal-card--quran > img {
  object-position: center;
}

.teacher-goal-card--career > img,
.teacher-goal-card--exam > img {
  object-position: center right;
}

.teacher-process {
  padding: 20px 0 6px;
}

.teacher-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}

.teacher-steps::before,
.teacher-steps::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10%;
  border-top: 2px dashed #9cccf5;
  opacity: .75;
  transform: translateY(-50%);
  pointer-events: none;
}

.teacher-steps::before {
  left: 30.5%;
}

.teacher-steps::after {
  right: 30.5%;
}

.teacher-step {
  min-height: 118px;
  padding: 18px;
  display: grid;
  grid-template-columns: 72px 30px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid #dceaf7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(8, 35, 66, .05);
  position: relative;
  z-index: 1;
}

.teacher-step span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1687e8;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.teacher-step__icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: #eaf9ff;
  position: relative;
}

.teacher-step--ai .teacher-step__icon::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 17px;
  width: 40px;
  height: 30px;
  border: 3px solid #1687e8;
  border-radius: 14px;
  background:
    radial-gradient(circle at 35% 50%, #22e0ff 0 4px, transparent 5px),
    radial-gradient(circle at 65% 50%, #22e0ff 0 4px, transparent 5px),
    #082342;
}

.teacher-step--video .teacher-step__icon::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 19px;
  width: 42px;
  height: 32px;
  border-radius: 9px;
  background: #1687e8;
}

.teacher-step--video .teacher-step__icon::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 27px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #fff;
}

.teacher-step--plan .teacher-step__icon::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 12px;
  width: 36px;
  height: 48px;
  border: 3px solid #1687e8;
  border-radius: 8px;
  background:
    linear-gradient(#45c7a3 0 0) 12px 14px / 16px 3px no-repeat,
    linear-gradient(#45c7a3 0 0) 12px 25px / 16px 3px no-repeat,
    linear-gradient(#45c7a3 0 0) 12px 36px / 16px 3px no-repeat,
    #fff;
}

.teacher-step h3 {
  margin: 0 0 5px;
  color: #082342;
  font-size: 16px;
}

.teacher-step p {
  margin: 0;
  color: #60758e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.teacher-mini-card {
  position: relative;
  min-height: 164px;
  overflow: hidden;
  border: 1px solid #dceaf7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(8, 35, 66, .06);
}

.teacher-mini-card img {
  width: 100%;
  height: 105px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.teacher-mini-card div {
  padding: 10px 12px;
  color: #082342;
  font-size: 12px;
  font-weight: 900;
}

.teacher-mini-card small {
  display: block;
  margin-top: 4px;
  color: #60758e;
  font-size: 11px;
}

.popular-teachers {
  padding: 34px 0 48px;
}

.teacher-section-subtitle {
  margin: -6px 0 30px;
  text-align: center;
  color: #60758e;
  font-size: 22px;
  font-weight: 700;
}

.popular-teachers__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.popular-teacher-card {
  min-height: 238px;
  position: relative;
  display: grid;
  grid-template-columns: 38% 1fr;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border: 1px solid #dceaf7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 35, 66, .08);
}

.popular-teacher-card > img {
  width: calc(100% - 20px);
  height: 142px;
  margin: 64px 0 0 10px;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  background: #edf6ff;
}

.popular-teacher-card__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  min-width: 76px;
  min-height: 40px;
  padding: 7px 10px;
  display: grid;
  align-content: center;
  border-radius: 7px;
  background: linear-gradient(135deg, #ffd85a, #f5b728);
  color: #082342;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(245, 183, 40, .24);
}

.popular-teacher-card__badge small {
  display: block;
  margin-top: 2px;
  font-size: 7px;
}

.popular-teacher-card__badge--purple {
  background: linear-gradient(135deg, #8b5cf6, #5b45d9);
  color: #fff;
}

.popular-teacher-card__badge--orange {
  background: linear-gradient(135deg, #ff7b2e, #ff4f37);
  color: #fff;
}

.popular-teacher-card__badge--gold {
  border: 1px solid rgba(255, 216, 90, .55);
  background: rgba(255, 216, 90, .08);
  color: #ffd85a;
}

.popular-teacher-card__body {
  min-width: 0;
  padding: 28px 12px 10px 6px;
}

.popular-teacher-card__body h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 5px;
  color: #082342;
  font-size: 14px;
  line-height: 1.15;
}

.popular-teacher-card__body p {
  margin: 0 0 8px;
  color: #38516e;
  font-size: 12px;
  font-weight: 700;
}

.popular-score {
  min-height: 46px;
  margin-bottom: 8px;
  padding: 7px 9px;
  display: grid;
  grid-template-columns: 1fr 30px;
  align-items: center;
  border: 1px solid #cfefd8;
  border-radius: 8px;
  background: #effcf2;
}

.popular-score span {
  grid-column: 1 / -1;
  color: #35a95b;
  font-size: 9px;
  font-weight: 900;
}

.popular-score strong {
  color: #13962f;
  font-size: 22px;
  line-height: 1;
}

.popular-score i {
  width: 27px;
  height: 27px;
  border: 5px solid #35bf64;
  border-left-color: #dff5e5;
  border-radius: 50%;
}

.popular-teacher-card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  list-style: none;
  color: #33465f;
  font-size: 10px;
  font-weight: 700;
}

.popular-teacher-card li::before {
  content: "\2605";
  margin-right: 6px;
  color: #ffb21f;
}

.popular-teacher-card li:nth-child(2)::before {
  content: "\25CE";
  color: #1687e8;
}

.popular-teacher-card li:nth-child(3)::before {
  content: "\25CF";
  color: #0b72ee;
}

.popular-teacher-card li:nth-child(4)::before {
  content: "\25B2";
  color: #ff4f37;
}

.popular-teacher-card__foot {
  grid-column: 1 / -1;
  min-height: 54px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e8f0f7;
}

.popular-teacher-card__foot strong {
  color: #082342;
  font-size: 14px;
  font-weight: 900;
}

.popular-teacher-card__foot strong span {
  color: #33465f;
  font-size: 11px;
  font-weight: 600;
}

.popular-teacher-card__foot a {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #bcd4ff;
  border-radius: 8px;
  background: #fff;
  color: #0b55d9;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.popular-teacher-card__foot a span {
  font-size: 15px;
}

.popular-teacher-card--dark {
  border-color: rgba(255, 216, 90, .18);
  background:
    radial-gradient(circle at 72% 18%, rgba(22, 135, 232, .22), transparent 32%),
    linear-gradient(135deg, #071f3d 0%, #06162d 100%);
  color: #fff;
  box-shadow: 0 18px 42px rgba(6, 29, 53, .22);
}

.popular-teacher-card--dark .popular-teacher-card__body h3,
.popular-teacher-card--dark .popular-teacher-card__body p,
.popular-teacher-card--dark .popular-teacher-card__foot strong,
.popular-teacher-card--dark .popular-teacher-card__foot strong span,
.popular-teacher-card--dark ul {
  color: #fff;
}

.popular-teacher-card--dark .popular-score {
  border-color: rgba(53, 207, 167, .35);
  background: rgba(53, 207, 167, .08);
}

.popular-teacher-card--dark .popular-teacher-card__foot {
  border-top-color: rgba(255, 216, 90, .28);
}

.popular-teacher-card--dark .popular-teacher-card__foot strong {
  color: #ffd85a;
}

.popular-teacher-card--dark .popular-teacher-card__foot a {
  border-color: #ffd85a;
  background: linear-gradient(135deg, #ffd85a, #f4b83a);
  color: #082342;
}

.popular-teachers__nav {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.popular-teachers__nav button {
  width: 56px;
  height: 56px;
  border: 1px solid #dceaf7;
  border-radius: 50%;
  background: #fff;
  color: #0b55d9;
  font-size: 22px;
  font-weight: 900;
}

.popular-teachers__nav span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #dbe3ee;
}

.popular-teachers__nav .is-active {
  background: #0b55d9;
}

.popular-teachers__hint {
  margin: 22px 0 0;
  text-align: center;
  color: #60758e;
  font-size: 16px;
  font-weight: 700;
}

.teach-cta {
  margin: 28px auto 48px;
  padding: 26px 34px;
  display: grid;
  grid-template-columns: 210px 1fr 280px;
  gap: 28px;
  align-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, #1aa9ee, #38cef2);
  color: #fff;
  box-shadow: 0 20px 54px rgba(22, 135, 232, .22);
}

.teach-cta img {
  width: 180px;
  height: 140px;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
}

.teach-cta h2 {
  margin: 0 0 8px;
  color: #fff;
  text-align: left;
  font-size: 30px;
}

.teach-cta p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .9);
  font-weight: 800;
}

.teach-cta__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 900;
  font-size: 13px;
}

.teach-cta__box {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  color: #082342;
  box-shadow: 0 16px 32px rgba(8, 35, 66, .14);
}

.teach-cta__box .btn {
  width: 100%;
  margin-bottom: 12px;
}

/* Lighter global typography */
body {
  font-weight: 400;
}

p,
li,
small,
label,
input,
select,
textarea,
.hero p,
.teacher-hero p,
.interest p,
.format p,
.why p,
.teacher-result p,
.teacher-goal-card p,
.popular-teacher-card__body p,
.popular-teacher-card ul,
.tip small,
.footer-main,
.footer-main p,
.footer-main li,
.footer-link,
.footer__bottom,
.teach-cta p {
  font-weight: 400;
}

.audiencebar__inner,
.nav a,
.menu-pill,
.menu-dropdown__panel a,
.lang-select,
.login-link,
.btn,
.mini-btn,
.teacher-select,
.teacher-search__filters button,
.teacher-sort,
.teacher-badges span,
.slot-grid span,
.time-grid span,
.floating-lesson-cta,
.teach-cta__perks {
  font-weight: 600;
}

h1,
.hero h1,
.teacher-hero h1 {
  font-weight: 800;
}

h2,
.teacher-section-title,
.section h2,
.teach-cta h2 {
  font-weight: 800;
}

h3,
.interest h3,
.small-card h3,
.course h3,
.format h3,
.why h3,
.teacher-result__name,
.teacher-goal-card h3,
.popular-teacher-card__body h3 {
  font-weight: 700;
}

strong,
b,
.stat,
.stat strong,
.teacher-stats strong,
.popular-score strong,
.teacher-result__rating strong {
  font-weight: 700;
}

.week-plan,
.week-plan span,
.panel.schedule,
.panel.schedule p,
.panel.schedule small,
.dark-card.orange-card,
.dark-card.orange-card p,
.lead-form,
.lead-form input,
.format-content p,
.faq,
.faq summary,
.faq p,
.teacher-hero__social,
.teacher-hero__social p,
.teacher-tags,
.teacher-tags span,
.teacher-benefit,
.teacher-benefit div,
.filter-group label,
.teacher-result__role,
.teacher-result__role span,
.teacher-step p,
.popular-teacher-card__foot a,
.popular-teachers__hint,
.footer__cta-copy,
.footer__cta-copy p {
  font-weight: 400;
}

.week-plan,
.panel.schedule strong,
.dark-card.orange-card strong,
.lead-form .btn,
.filter-group summary,
.teacher-benefit strong,
.teacher-step h3 {
  font-weight: 600;
}

@media (max-width: 1180px) {
  .teacher-hero__inner,
  .teacher-search,
  .teacher-results__layout,
  .teach-cta {
    grid-template-columns: 1fr;
  }

  .teacher-benefits,
  .teacher-goals-row,
  .teacher-popular-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .teacher-result {
    grid-template-columns: 220px 1fr;
  }

  .popular-teachers__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teacher-ai-banner {
    grid-template-columns: 140px 1fr;
  }

  .teacher-ai-banner__action {
    grid-column: 1 / -1;
  }

  .teacher-steps::before,
  .teacher-steps::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .teacher-hero {
    padding: 38px 0 88px;
  }

  .teacher-hero__inner,
  .teacher-search__filters,
  .teacher-benefits,
  .teacher-goals-row,
  .teacher-popular-row,
  .teacher-steps,
  .teacher-ai-banner,
  .teacher-result {
    grid-template-columns: 1fr;
  }

  .teacher-video-card {
    width: 100%;
    height: 250px;
  }

  .float-panel {
    position: relative;
    inset: auto;
    width: auto;
    margin-top: 12px;
  }

  .teacher-search-shell {
    margin-top: -44px;
  }

  .popular-teachers__row {
    grid-template-columns: 1fr;
  }

  .popular-teacher-card {
    min-height: 224px;
    grid-template-columns: 132px 1fr;
  }

  .popular-teacher-card > img {
    height: 132px;
    margin-top: 64px;
  }

  .floating-lesson-cta {
    width: calc(100% - 32px);
    justify-content: center;
    bottom: 16px;
    font-size: 15px;
  }
}

/* Languages page */
.lang-page main {
  padding: 24px 0 0;
  background:
    radial-gradient(circle at 7% 4%, rgba(38, 198, 218, .12), transparent 28%),
    radial-gradient(circle at 94% 12%, rgba(22, 135, 232, .08), transparent 30%),
    #fff;
}

.lang-hero {
  display: grid;
  grid-template-columns: 1.64fr .96fr;
  gap: 28px;
  align-items: stretch;
}

.lang-feature h1,
.lang-section h2,
.lang-process h2,
.lang-faq h2 {
  margin: 0 0 16px;
  color: #082342;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 800;
}

.lang-feature h1 span {
  color: #f5b728;
}

.arabic-showcase,
.lang-roadmap,
.lang-course-card,
.path-grid article,
.lang-steps article,
.lang-teacher-grid article,
.club-grid article,
.lang-faq details {
  border: 1px solid #dbe9f6;
  box-shadow: 0 14px 34px rgba(8, 35, 66, .07);
}

.arabic-showcase {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
}

.arabic-showcase__image {
  position: relative;
  min-height: 210px;
}

.arabic-showcase__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arabic-showcase__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(80, 43, 14, .18), rgba(255, 255, 255, .18));
}

.arabic-showcase__image div {
  position: relative;
  z-index: 1;
  display: grid;
  height: 210px;
  place-items: center;
  color: #4d250e;
}

.arabic-showcase__image strong {
  font-size: 72px;
  line-height: .86;
  font-weight: 800;
}

.arabic-showcase__image span {
  margin-top: -30px;
  margin-left: 210px;
  color: #082342;
  font-size: 24px;
  font-weight: 600;
}

.arabic-showcase__tracks {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 18px 18px 12px;
}

.arabic-showcase__tracks span {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #082342;
  text-align: center;
  font-size: 12px;
  line-height: 1.15;
}

.arabic-showcase__tracks i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eefbfb;
  color: #30bea8;
  font-style: normal;
  font-weight: 800;
}

.arabic-showcase > .btn {
  width: 220px;
  margin: 0 auto 18px;
  display: flex;
  justify-content: center;
}

.lang-roadmap {
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(145deg, #f2f8ff, #eefcff);
}

.lang-roadmap h2 {
  margin: 0 0 18px;
  color: #1687e8;
  font-size: 19px;
  font-weight: 800;
}

.roadmap-list {
  display: grid;
  gap: 12px;
}

.roadmap-list article {
  display: grid;
  grid-template-columns: 12px 1fr 42px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
}

.roadmap-list article span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #30bea8;
  box-shadow: 0 0 0 8px rgba(48, 190, 168, .12);
}

.roadmap-list article:nth-child(2) span { background: #ff6848; box-shadow: 0 0 0 8px rgba(255, 104, 72, .12); }
.roadmap-list article:nth-child(3) span { background: #f5b728; box-shadow: 0 0 0 8px rgba(245, 183, 40, .14); }
.roadmap-list article:nth-child(4) span { background: #6574ff; box-shadow: 0 0 0 8px rgba(101, 116, 255, .12); }

.roadmap-list strong {
  display: block;
  color: #082342;
  font-size: 13px;
}

.roadmap-list p {
  margin: 3px 0 0;
  color: #536780;
  font-size: 12px;
}

.roadmap-list b {
  justify-self: end;
  color: #082342;
  font-size: 24px;
  font-weight: 700;
}

.lang-section,
.lang-process,
.lang-faq {
  margin-top: 34px;
}

.english-course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.lang-course-card {
  overflow: hidden;
  padding-bottom: 14px;
  border-radius: 18px;
  background: #fff;
}

.lang-course-card > img {
  width: 100%;
  height: 132px;
  display: block;
  object-fit: cover;
}

.lang-course-card div:not(.mini-row) {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 10px;
  padding: 14px 14px 6px;
}

.lang-course-card h3 {
  grid-column: 1 / -1;
  margin: 0;
  color: #082342;
  font-size: 15px;
}

.lang-course-card span,
.lang-course-card em {
  color: #60758e;
  font-size: 12px;
  font-style: normal;
}

.lang-course-card progress {
  width: calc(100% - 28px);
  height: 7px;
  margin: 0 14px;
  accent-color: #30bea8;
}

.mini-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 0;
  color: #f5b728;
  font-size: 12px;
}

.mini-row a,
.path-grid a,
.goal-card-arrow {
  margin-left: auto;
}

.lang-center-link {
  width: 260px;
  height: 38px;
  display: grid;
  place-items: center;
  margin: 18px auto 0;
  border: 1px solid #9bd4ff;
  border-radius: 9px;
  color: #1687e8;
  font-size: 13px;
  font-weight: 600;
}

.lang-mini-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}

.lang-mini-grid article,
.lang-more {
  min-height: 156px;
  overflow: hidden;
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  border: 1px solid #dbe9f6;
  border-radius: 14px;
  background: #fff;
  color: #082342;
  text-align: center;
  box-shadow: 0 10px 24px rgba(8, 35, 66, .06);
}

.lang-mini-grid article img {
  width: 100%;
  height: 82px;
  object-fit: cover;
}

.lang-mini-grid .flag {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-top: -18px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #fff;
  font-size: 20px;
}

.lang-mini-grid strong {
  margin: 4px 0 8px;
  font-size: 13px;
}

.lang-mini-grid a:not(.lang-more) {
  padding: 6px 12px;
  border: 1px solid #dbe9f6;
  border-radius: 7px;
  color: #1687e8;
  font-size: 11px;
}

.lang-more {
  align-content: center;
  color: #536780;
  font-weight: 600;
  border-style: dashed;
}

.lang-more span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 2px solid #dbe9f6;
  border-radius: 50%;
  color: #082342;
  font-size: 30px;
  font-weight: 400;
}

.center {
  text-align: center;
}

.path-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 4px;
  border: 1px solid #dbe9f6;
  border-radius: 999px;
  background: #f4f9fd;
}

.path-tabs button {
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #60758e;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.path-tabs button:first-child {
  background: #1687e8;
  color: #fff;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.path-grid article {
  display: grid;
  grid-template-columns: 88px 1fr 30px;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 15px;
  background: #fff;
}

.path-grid img {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
}

.path-grid h3,
.lang-teacher-grid h3,
.club-grid h3 {
  margin: 0;
  color: #082342;
  font-size: 15px;
}

.path-grid p {
  margin: 5px 0 8px;
  color: #60758e;
  font-size: 12px;
}

.path-grid span {
  padding: 5px 8px;
  border-radius: 7px;
  background: #eefbf5;
  color: #23a86b;
  font-size: 11px;
  font-weight: 600;
}

.path-grid a,
.club-grid a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #dbe9f6;
  border-radius: 50%;
  color: #1687e8;
  font-size: 20px;
}

.lang-process h2 {
  text-align: center;
}

.lang-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lang-steps article {
  min-height: 142px;
  display: grid;
  grid-template-columns: 34px 1fr 92px;
  gap: 12px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: #f2fbff;
}

.lang-steps b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1687e8;
  color: #fff;
}

.lang-steps h3 {
  margin: 0 0 8px;
  color: #082342;
  font-size: 15px;
}

.lang-steps p {
  margin: 0;
  color: #60758e;
  font-size: 13px;
  line-height: 1.35;
}

.lang-steps img {
  width: 90px;
  max-height: 100px;
}

.lang-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lang-section__head a {
  color: #1687e8;
  font-size: 13px;
  font-weight: 600;
}

.lang-teacher-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lang-teacher-grid article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
}

.lang-teacher-grid img {
  width: 120px;
  height: 150px;
  border-radius: 14px;
  object-fit: cover;
}

.lang-teacher-grid span {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eaf5ff;
  color: #1687e8;
  font-size: 11px;
  font-weight: 600;
}

.lang-teacher-grid p,
.lang-teacher-grid em {
  color: #60758e;
  font-style: normal;
}

.lang-teacher-grid p {
  margin: 4px 0 8px;
  font-size: 13px;
}

.lang-teacher-grid b {
  display: block;
  color: #f5b728;
  font-size: 12px;
}

.lang-teacher-grid strong {
  display: block;
  margin: 8px 0;
  color: #082342;
  font-size: 13px;
}

.lang-teacher-grid em {
  display: block;
  font-size: 11px;
}

.club-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.club-grid article {
  min-height: 150px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
}

.club-grid p,
.club-grid small {
  margin: 0;
  color: #60758e;
  font-size: 13px;
}

.club-grid span {
  color: #082342;
  font-size: 13px;
}

.club-grid a {
  width: auto;
  height: 34px;
  border-radius: 9px;
  font-size: 13px;
}

.club-calendar {
  align-content: start;
}

.club-calendar strong {
  text-align: center;
  color: #082342;
}

.club-calendar div {
  display: none;
}

.club-calendar table {
  width: 100%;
  color: #60758e;
  font-size: 12px;
  text-align: center;
}

.club-calendar td {
  padding: 4px;
}

.club-calendar .active {
  border-radius: 50%;
  background: #1687e8;
  color: #fff;
}

.lang-cta {
  min-height: 126px;
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  padding: 28px 38px;
  border-radius: 24px;
  background:
    url("/assets/cta-pattern.svg") right center / auto 100% no-repeat,
    linear-gradient(135deg, #1687e8 0%, #26c6da 100%);
  color: #fff;
}

.lang-cta h2,
.lang-cta p {
  margin: 0;
}

.lang-cta h2 {
  font-size: 28px;
  line-height: 1.05;
}

.lang-cta p {
  margin-top: 8px;
  font-size: 14px;
}

.lang-cta form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
}

.lang-cta input,
.lang-cta select,
.lang-cta button {
  height: 44px;
  border: 0;
  border-radius: 8px;
  font: inherit;
}

.lang-cta input,
.lang-cta select {
  padding: 0 14px;
  background: #fff;
  color: #082342;
}

.lang-cta button {
  padding: 0 26px;
  background: #ff6b2c;
  color: #fff;
  font-weight: 700;
}

.lang-cta small {
  grid-column: 2 / -1;
  color: rgba(255,255,255,.9);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 22px;
}

.lang-faq {
  margin-bottom: 34px;
}

.lang-faq details {
  padding: 14px 18px;
  border-radius: 10px;
  background: #fff;
}

.lang-faq summary {
  cursor: pointer;
  color: #082342;
  font-size: 14px;
  font-weight: 600;
}

.lang-faq p {
  margin: 10px 0 0;
  color: #60758e;
  font-size: 13px;
}

@media (max-width: 1180px) {
  .lang-hero,
  .lang-cta {
    grid-template-columns: 1fr;
  }

  .english-course-grid,
  .path-grid,
  .club-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lang-mini-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .lang-teacher-grid,
  .lang-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .arabic-showcase__tracks,
  .path-tabs,
  .lang-cta form,
  .english-course-grid,
  .path-grid,
  .club-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .lang-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .arabic-showcase__image strong {
    font-size: 48px;
  }

  .arabic-showcase__image span {
    margin-left: 120px;
  }

  .lang-steps article,
  .lang-teacher-grid article {
    grid-template-columns: 1fr;
  }

  .lang-cta {
    padding: 24px;
  }

  .lang-cta small {
    grid-column: auto;
  }
}

/* Tutor dashboard */
.tutor-app {
  --tutor-accent: #ee4c7a;
  --tutor-accent-dark: #c93663;
  --tutor-ink: #1d2430;
  --tutor-muted: #647083;
  --tutor-border: #e8edf3;
  --tutor-panel: #ffffff;
  --tutor-bg: #f7f9fc;
  background: var(--tutor-bg);
  color: var(--tutor-ink);
}

.tutor-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--tutor-border);
  backdrop-filter: blur(16px);
}

.tutor-topbar__main {
  min-height: 68px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: auto auto 1fr auto auto auto;
  align-items: center;
  gap: 22px;
}

.tutor-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.tutor-brand img {
  width: 48px;
  height: 34px;
  object-fit: contain;
}

.tutor-find {
  color: #354154;
  font-weight: 700;
}

.tutor-wallet {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #283447;
}

.tutor-wallet__icon {
  width: 19px;
  height: 14px;
  border: 2px solid #303848;
  border-radius: 3px;
  position: relative;
}

.tutor-wallet__icon::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 3px;
  width: 6px;
  height: 6px;
  border: 2px solid #303848;
  border-left: 0;
  border-radius: 0 4px 4px 0;
  background: #fff;
}

.tutor-earn,
.tutor-locale,
.tutor-actions button,
.tutor-left-panel button,
.tutor-view-switch button,
.tutor-stepper button,
.tutor-side-menu button,
.tutor-public-card button,
.tutor-book-card button,
.tutor-community-grid button {
  min-height: 40px;
  border: 1px solid var(--tutor-border);
  border-radius: 8px;
  background: #fff;
  color: #2c3545;
  font-weight: 800;
  cursor: pointer;
}

.tutor-earn,
.tutor-locale {
  padding: 0 18px;
}

.tutor-locale::after,
.tutor-visible::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.tutor-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tutor-actions button {
  width: 40px;
  padding: 0;
  display: grid;
  place-items: center;
}

.tutor-avatar {
  background: linear-gradient(135deg, #ffd06b, #ff8f59) !important;
  color: #10213a !important;
  border: 0 !important;
}

.tutor-icon {
  width: 18px;
  height: 18px;
  display: block;
  position: relative;
}

.tutor-icon--chat {
  border: 2px solid #2d3544;
  border-radius: 5px;
}

.tutor-icon--chat::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: -5px;
  width: 7px;
  height: 7px;
  border-left: 2px solid #2d3544;
  border-bottom: 2px solid #2d3544;
  background: #fff;
  transform: rotate(-30deg);
}

.tutor-icon--help {
  border: 2px solid #2d3544;
  border-radius: 50%;
}

.tutor-icon--help::after {
  content: "?";
  position: absolute;
  inset: -3px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.tutor-icon--bell::before {
  content: "";
  position: absolute;
  inset: 1px 4px 4px;
  border: 2px solid #2d3544;
  border-bottom: 0;
  border-radius: 9px 9px 3px 3px;
}

.tutor-icon--bell::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 3px;
  height: 2px;
  background: #2d3544;
  box-shadow: 4px 4px 0 -2px #2d3544;
}

.tutor-tabs {
  min-height: 47px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 26px;
  border-top: 1px solid #f0f4f7;
  overflow-x: auto;
  color: #3b4555;
  font-weight: 750;
  white-space: nowrap;
}

.tutor-tabs a {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  border-bottom: 3px solid transparent;
}

.tutor-tabs a.is-active,
.tutor-tabs a:hover {
  color: var(--tutor-accent);
  border-bottom-color: var(--tutor-accent);
}

.tutor-visible {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  color: #293545;
}

.tutor-visible::before {
  content: "";
  width: 18px;
  height: 12px;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.tutor-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.tutor-section {
  scroll-margin-top: 130px;
  margin-bottom: 44px;
}

.tutor-section[hidden] {
  display: none !important;
}

body.tutor-app:not(.tutor-app--ready) .tutor-section:not(#home) {
  display: none !important;
}

.tutor-section.is-active {
  margin-bottom: 0;
}

.tutor-home {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.tutor-home__heading {
  margin-bottom: 22px;
}

.tutor-kicker {
  margin: 0 0 5px;
  color: var(--tutor-muted);
  font-weight: 700;
}

.tutor-home h1,
.tutor-section h2 {
  margin: 0;
  color: #242a35;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0;
}

.tutor-next-card {
  min-height: 230px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 240px;
  align-items: center;
  gap: 24px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 32%, rgba(255, 255, 255, .66), transparent 28%),
    linear-gradient(105deg, #ffe9ef, #f7d5e5 55%, #f4cde1);
  overflow: hidden;
}

.tutor-next-card__lesson {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 14px;
}

.tutor-next-card__lesson img,
.tutor-student-profile__head img,
.tutor-profile-mini img,
.tutor-public-bio img,
.tutor-public-card img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
}

.tutor-next-card__lesson strong {
  display: block;
  font-size: 26px;
  color: #202837;
}

.tutor-next-card__lesson span {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 900;
}

.tutor-next-card__lesson small {
  display: block;
  margin-top: 7px;
  color: #6c7686;
  font-weight: 800;
}

.tutor-outline-btn {
  grid-column: 2;
  width: fit-content;
  margin-top: 16px;
  padding: 11px 20px;
  border: 2px solid #262b35;
  border-radius: 8px;
  background: rgba(255, 255, 255, .45);
  font-weight: 900;
}

.tutor-clock-art {
  justify-self: center;
  width: 165px;
  height: 165px;
  position: relative;
}

.tutor-clock-art::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 10px;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: #f8f5d9;
  border: 9px solid #8ed64f;
  box-shadow: 0 0 0 4px #333b47 inset;
}

.tutor-clock-art::after {
  content: "";
  position: absolute;
  left: 45px;
  right: 22px;
  bottom: 8px;
  height: 74px;
  border: 7px solid #2c3545;
  border-radius: 18px 18px 10px 10px;
  background: linear-gradient(#30a9ff 0 48%, #ffc23f 49%);
  box-shadow: 0 20px 0 -8px #ff9f31;
}

.tutor-clock-art span {
  position: absolute;
  left: 77px;
  top: 52px;
  width: 26px;
  height: 3px;
  background: #2c3545;
  transform-origin: left center;
  transform: rotate(38deg);
  z-index: 2;
}

.tutor-section-head,
.tutor-calendar-head {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.tutor-section-head a {
  color: #263143;
  border-bottom: 1px solid currentColor;
  font-weight: 900;
}

.tutor-upnext-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tutor-upnext-grid article,
.tutor-overview article,
.tutor-info-box,
.tutor-earnings-card,
.tutor-community-grid article {
  padding: 18px;
  border: 1px solid var(--tutor-border);
  border-radius: 8px;
  background: #fff;
}

.tutor-time {
  display: block;
  margin-bottom: 10px;
  color: var(--tutor-accent);
  font-weight: 900;
}

.tutor-upnext-grid strong {
  display: block;
  font-size: 17px;
}

.tutor-upnext-grid p,
.tutor-overview p,
.tutor-super-card p,
.tutor-public-bio p,
.tutor-community-grid p {
  margin: 6px 0 0;
  color: var(--tutor-muted);
  line-height: 1.5;
}

.tutor-calendar,
.tutor-students,
.tutor-profile {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.tutor-left-panel {
  position: sticky;
  top: 136px;
}

.tutor-left-panel button {
  width: 100%;
  margin-bottom: 10px;
  color: #495366;
}

.tutor-left-panel .tutor-primary-btn,
.tutor-primary-btn {
  background: var(--tutor-accent);
  border-color: var(--tutor-accent-dark);
  color: #fff;
}

.tutor-legend {
  margin-top: 22px;
  display: grid;
  gap: 11px;
  color: #5f6978;
  font-size: 13px;
  font-weight: 700;
}

.tutor-legend strong {
  color: #2e3747;
}

.tutor-legend i {
  width: 4px;
  height: 20px;
  margin-right: 9px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 3px;
  background: #111827;
}

.tutor-legend .tag-single { background: #45a9f4; }
.tutor-legend .tag-weekly { background: #ee4c7a; }
.tutor-legend .tag-off { background: #ffbc45; }
.tutor-legend .tag-google { background: #646b76; }

.tutor-calendar-board,
.tutor-workspace,
.tutor-students-list,
.tutor-student-profile,
.tutor-profile-form,
.tutor-public-card,
.tutor-book-card,
.tutor-settings,
.tutor-public,
.tutor-academy article {
  border: 1px solid var(--tutor-border);
  border-radius: 8px;
  background: #fff;
}

.tutor-calendar-board {
  padding: 22px;
  overflow: hidden;
}

.tutor-calendar-head {
  margin-top: 0;
}

.tutor-calendar-head h2 {
  margin-right: auto;
  font-size: 22px;
}

.tutor-stepper {
  display: inline-flex;
  border: 1px solid var(--tutor-border);
  border-radius: 8px;
  overflow: hidden;
}

.tutor-stepper button {
  width: 44px;
  border: 0;
  border-radius: 0;
  font-size: 18px;
}

.tutor-stepper button + button {
  border-left: 1px solid var(--tutor-border);
}

.tutor-view-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tutor-view-switch button {
  padding: 0 18px;
}

.tutor-view-switch button.is-active {
  border-color: transparent;
  border-bottom: 3px solid var(--tutor-accent);
  border-radius: 0;
  color: var(--tutor-accent);
}

.tutor-week-grid {
  margin-top: 22px;
  min-width: 760px;
  display: grid;
  grid-template-columns: 62px repeat(7, minmax(88px, 1fr));
  border-top: 1px solid var(--tutor-border);
  border-left: 1px solid var(--tutor-border);
}

.tutor-week-grid > * {
  min-height: 54px;
  padding: 9px;
  border-right: 1px solid var(--tutor-border);
  border-bottom: 1px solid var(--tutor-border);
}

.tutor-week-grid b {
  text-align: center;
  color: #4a5262;
  font-size: 13px;
}

.tutor-week-grid em {
  color: #8791a0;
  font-size: 12px;
  font-style: normal;
}

.tutor-week-grid .is-current {
  position: relative;
}

.tutor-week-grid .is-current::before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 3px;
  background: #1f2937;
}

.tutor-week-grid .lesson {
  color: #172033;
  font-size: 12px;
  font-weight: 900;
  border-radius: 8px;
}

.lesson-blue {
  background: #d9ecff;
}

.lesson-pink {
  background: #ffe0ea;
}

.tutor-workspace {
  min-height: 520px;
  display: grid;
  grid-template-columns: 280px 1fr 210px;
  padding: 0;
  overflow: hidden;
}

.tutor-messages {
  border-right: 1px solid var(--tutor-border);
  background: #fbfcfe;
}

.tutor-search {
  margin: 18px;
  display: block;
  position: relative;
}

.tutor-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px 0 42px;
  border: 1px solid var(--tutor-border);
  border-radius: 8px;
  background: #fff;
  outline: 0;
}

.tutor-search span {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 2px solid #8a93a3;
  border-radius: 50%;
  transform: translateY(-50%);
}

.tutor-search span::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  background: #8a93a3;
  transform: rotate(45deg);
}

.tutor-message-tabs {
  padding: 0 18px;
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--tutor-border);
}

.tutor-message-tabs button {
  min-height: 40px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.tutor-message-tabs button.is-active {
  color: var(--tutor-accent);
  border-bottom-color: var(--tutor-accent);
}

.tutor-messages article {
  padding: 15px 18px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--tutor-border);
}

.tutor-messages article.is-active {
  background: #fff4f7;
}

.tutor-messages img,
.tutor-student-row img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.tutor-messages p {
  margin: 3px 0 0;
  color: var(--tutor-muted);
  font-size: 12px;
}

.tutor-messages time {
  color: #8993a2;
  font-size: 12px;
}

.tutor-empty-chat {
  display: grid;
  place-content: center;
  text-align: center;
  color: #232d3b;
}

.tutor-empty-chat span {
  margin-top: 8px;
  color: var(--tutor-muted);
}

.tutor-side-menu {
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 12px;
  border-left: 1px solid var(--tutor-border);
}

.tutor-profile-mini {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tutor-side-menu a {
  padding: 9px 0;
  color: #4b5565;
  font-weight: 800;
}

.tutor-students {
  grid-template-columns: minmax(0, 1fr) 390px;
}

.tutor-students-list {
  overflow: hidden;
}

.tutor-student-row {
  min-height: 68px;
  padding: 13px 18px;
  display: grid;
  grid-template-columns: 42px minmax(120px, 1fr) 110px 120px 70px 120px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--tutor-border);
}

.tutor-student-row:last-child {
  border-bottom: 0;
}

.tutor-student-row span,
.tutor-student-profile span,
.tutor-public-card span {
  color: #3177bd;
  font-size: 12px;
  font-weight: 900;
}

.tutor-student-row button,
.tutor-public-card a,
.tutor-book-card button,
.tutor-community-grid button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--tutor-border);
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
}

.tutor-student-profile {
  padding: 18px;
}

.tutor-student-profile__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tutor-student-profile__head button {
  margin-left: auto;
  border: 0;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.tutor-subtabs {
  margin: 18px -18px 0;
  padding: 0 18px;
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--tutor-border);
}

.tutor-subtabs button {
  min-height: 42px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #526070;
  font-weight: 900;
}

.tutor-subtabs .is-active {
  color: var(--tutor-accent);
  border-bottom-color: var(--tutor-accent);
}

.tutor-student-stats {
  margin-top: 20px;
  display: flex;
  gap: 38px;
}

.tutor-student-stats strong {
  display: grid;
  font-size: 26px;
}

.tutor-student-stats span {
  color: var(--tutor-muted);
}

.tutor-info-box {
  margin-top: 20px;
}

.tutor-info-box h3 {
  margin: 0 0 14px;
}

.tutor-info-box dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  margin: 0;
  color: #4f5a6b;
}

.tutor-info-box dt {
  color: #798494;
}

.tutor-classroom-stage {
  min-height: 500px;
  padding: 38px;
  display: grid;
  place-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(rgba(30, 34, 44, .76), rgba(30, 34, 44, .82)),
    url("/assets/course-english-card.jpg") center / cover;
  color: #fff;
  text-align: center;
}

.tutor-classroom-stage p {
  margin: 0 0 34px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
}

.tutor-join {
  justify-self: center;
  width: 112px;
  height: 112px;
  border: 0;
  border-radius: 50%;
  background: var(--tutor-accent);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 0 10px rgba(238, 76, 122, .24);
}

.tutor-callbar {
  position: absolute;
  left: 50%;
  bottom: 24px;
  padding: 8px;
  display: flex;
  gap: 8px;
  border-radius: 10px;
  background: rgba(22, 26, 34, .86);
  transform: translateX(-50%);
}

.tutor-callbar button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 800;
}

.tutor-callbar .is-danger {
  background: #ff5d5d;
}

.tutor-overview {
  padding: 24px;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(120px, 1fr));
  gap: 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e4f5ff, #cde8ff);
}

.tutor-date-btn {
  margin-top: 24px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #96a7bb;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-weight: 900;
}

.tutor-overview article {
  min-height: 150px;
  display: grid;
  align-content: space-between;
}

.tutor-overview span {
  color: #4d5a6c;
  font-weight: 800;
}

.tutor-overview strong {
  font-size: 30px;
}

.tutor-overview small {
  color: #257a4b;
  font-weight: 900;
}

.tutor-overview .is-down {
  color: #c93d52;
}

.tutor-super {
  margin-top: 44px;
}

.tutor-super-card {
  margin-top: 18px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 26px;
  border: 1px solid var(--tutor-border);
  border-radius: 8px;
  background: #fff;
}

.tutor-score-ring {
  width: 142px;
  height: 88px;
  display: grid;
  place-items: end center;
  position: relative;
  overflow: hidden;
}

.tutor-score-ring::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 116px;
  height: 116px;
  border: 12px solid #edf1f6;
  border-top-color: var(--tutor-accent);
  border-left-color: var(--tutor-accent);
  border-radius: 50%;
  transform: rotate(35deg);
}

.tutor-score-ring span {
  position: relative;
  z-index: 1;
  font-size: 32px;
  font-weight: 900;
}

.tutor-super-card strong {
  font-size: 25px;
}

.tutor-earnings-card {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
}

.tutor-earnings-card span {
  color: var(--tutor-muted);
  font-weight: 800;
}

.tutor-earnings-card strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
}

.tutor-chart {
  min-height: 150px;
  display: flex;
  align-items: end;
  gap: 18px;
  border-bottom: 1px solid #dbe3ec;
}

.tutor-chart i {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(#77b8ff, #d6ecff);
}

.tutor-chart i:nth-child(1) { height: 36%; }
.tutor-chart i:nth-child(2) { height: 54%; }
.tutor-chart i:nth-child(3) { height: 44%; }
.tutor-chart i:nth-child(4) { height: 72%; }
.tutor-chart i:nth-child(5) { height: 63%; }
.tutor-chart i:nth-child(6) { height: 26%; }

.tutor-profile {
  grid-template-columns: 160px minmax(0, 1fr) 300px;
}

.tutor-profile-nav {
  display: grid;
  gap: 15px;
}

.tutor-profile-nav a {
  padding-left: 14px;
  color: #566170;
  border-left: 3px solid transparent;
  font-weight: 800;
}

.tutor-profile-nav a.is-active {
  color: var(--tutor-accent);
  border-left-color: var(--tutor-accent);
}

.tutor-profile-form {
  padding: 28px;
}

.tutor-profile-form p {
  max-width: 520px;
  color: var(--tutor-muted);
  line-height: 1.6;
}

.tutor-profile-form label,
.tutor-settings-grid label {
  margin-top: 18px;
  display: grid;
  gap: 7px;
  color: #4c5667;
  font-weight: 800;
}

.tutor-profile-form input,
.tutor-profile-form select,
.tutor-settings-grid select {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--tutor-border);
  border-radius: 8px;
  background: #f4f7fb;
  color: #2b3444;
  font: inherit;
  outline: 0;
}

.tutor-public-card {
  padding: 18px;
}

.tutor-public-card div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px 12px;
  align-items: center;
}

.tutor-public-card span {
  grid-column: 2;
  margin-top: -12px;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 5px;
  background: #e9f3ff;
}

.tutor-public-card a,
.tutor-public-card button {
  width: 100%;
  margin-top: 12px;
  display: grid;
  place-items: center;
}

.tutor-public {
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px 34px;
  align-items: start;
}

.tutor-public-video {
  min-height: 310px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #111827;
}

.tutor-public-video img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  opacity: .78;
}

.tutor-public-video div {
  position: absolute;
  left: 20px;
  top: 18px;
  color: #fff;
}

.tutor-public-video strong,
.tutor-public-video span {
  display: block;
}

.tutor-public-bio {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 4px 16px;
  grid-column: 1;
}

.tutor-public-bio img {
  width: 74px;
  height: 74px;
  grid-row: span 3;
}

.tutor-public-bio h2 {
  align-self: end;
}

.tutor-public-bio span {
  color: var(--tutor-muted);
}

.tutor-book-card {
  grid-row: span 2;
  padding: 24px;
}

.tutor-book-card > a {
  color: #525c6b;
  text-decoration: underline;
}

.tutor-book-card > strong {
  display: block;
  margin-top: 22px;
  font-size: 30px;
}

.tutor-book-card > strong span {
  color: #6c7584;
  font-size: 18px;
  font-weight: 700;
}

.tutor-book-card div {
  margin: 18px 0;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 5px 10px;
  align-items: center;
}

.tutor-book-card button {
  width: 100%;
  min-height: 54px;
  background: var(--tutor-accent);
  color: #fff;
  border-color: var(--tutor-accent-dark);
}

.tutor-academy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tutor-academy article {
  padding: 18px;
}

.tutor-academy h3 {
  min-height: 44px;
  margin: 0 0 22px;
  font-size: 17px;
  text-align: center;
}

.tutor-progress {
  height: 4px;
  border-radius: 999px;
  background: #e5ebf2;
  overflow: hidden;
}

.tutor-progress span {
  display: block;
  height: 100%;
  background: #202938;
}

.tutor-progress--full span {
  width: 100%;
}

.tutor-academy small {
  display: block;
  margin: 7px 0 18px;
  text-align: right;
}

.tutor-academy img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.tutor-settings {
  padding: 24px;
}

.tutor-settings-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tutor-community-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tutor-community-grid strong {
  font-size: 18px;
}

.tutor-help {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border: 2px solid #202938;
  border-radius: 50%;
  background: #fff;
  color: #202938;
  font-size: 26px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(17, 24, 39, .12);
  cursor: pointer;
}

@media (max-width: 1100px) {
  .tutor-topbar__main {
    grid-template-columns: auto 1fr auto;
  }

  .tutor-find,
  .tutor-wallet,
  .tutor-earn {
    display: none;
  }

  .tutor-calendar,
  .tutor-students,
  .tutor-profile {
    grid-template-columns: 1fr;
  }

  .tutor-left-panel,
  .tutor-profile-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 10px;
  }

  .tutor-workspace {
    grid-template-columns: 260px 1fr;
  }

  .tutor-side-menu {
    display: none;
  }

  .tutor-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tutor-overview > div {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .tutor-topbar__main {
    padding: 0 16px;
    gap: 10px;
  }

  .tutor-locale,
  .tutor-visible {
    display: none;
  }

  .tutor-tabs {
    padding: 0 16px;
    gap: 18px;
  }

  .tutor-shell {
    width: min(100% - 28px, 1180px);
    padding-top: 28px;
  }

  .tutor-next-card,
  .tutor-public,
  .tutor-earnings-card {
    grid-template-columns: 1fr;
  }

  .tutor-clock-art {
    display: none;
  }

  .tutor-upnext-grid,
  .tutor-academy,
  .tutor-settings-grid,
  .tutor-community-grid {
    grid-template-columns: 1fr;
  }

  .tutor-workspace {
    grid-template-columns: 1fr;
  }

  .tutor-empty-chat {
    min-height: 240px;
  }

  .tutor-student-row {
    grid-template-columns: 42px 1fr;
  }

  .tutor-student-row meter,
  .tutor-student-row em,
  .tutor-student-row button {
    grid-column: 2;
  }

  .tutor-left-panel {
    grid-template-columns: 1fr 1fr;
  }

  .tutor-week-grid {
    min-width: 700px;
  }
}

@media (max-width: 560px) {
  .tutor-brand span {
    display: none;
  }

  .tutor-actions button:not(.tutor-avatar) {
    display: none;
  }

  .tutor-home h1,
  .tutor-section h2 {
    font-size: 24px;
  }

  .tutor-next-card {
    padding: 20px;
  }

  .tutor-next-card__lesson {
    grid-template-columns: 48px 1fr;
  }

  .tutor-outline-btn {
    grid-column: 1 / -1;
  }

  .tutor-left-panel {
    grid-template-columns: 1fr;
  }

  .tutor-calendar-board {
    padding: 16px;
    overflow-x: auto;
  }

  .tutor-calendar-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .tutor-callbar {
    width: calc(100% - 24px);
    overflow-x: auto;
  }

  .tutor-help {
    right: 18px;
    bottom: 18px;
  }
}
