@font-face {
  font-family: Inter;
  src: url(/fonts/reference-c940764593d0fe5d.woff2) format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url(/fonts/reference-a0d054c4af557de2.woff2) format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Arabic";
  src: url(/fonts/reference-69cdf0bf005fdc9c.woff2) format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  font-family: Inter, "Noto Sans Arabic", sans-serif;
  color: #17322f;
  background: #f4f7f6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
}
button,
a {
  touch-action: manipulation;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
.page-shell {
  max-width: 1160px;
  margin: auto;
  padding: 0 28px;
}
.topbar {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dce7e3;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 13px;
}
.brand span {
  display: flex;
  flex-direction: column;
}
.brand strong {
  font:
    700 21px/1.2 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.04em;
}
.brand small {
  font-size: 11px;
  color: #67807a;
  margin-top: 3px;
  letter-spacing: 0.05em;
}
.language-button {
  border: 1px solid #d8e5df;
  background: #fff;
  border-radius: 100px;
  min-height: 44px;
  padding: 0 21px;
  color: #087e65;
  font-weight: 700;
}
.language-button:hover,
.language-button:focus-visible {
  border-color: #008469;
  outline: none;
  box-shadow: 0 0 0 3px #d7eee7;
}
.hero {
  padding: 64px 0 54px;
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: center;
  gap: 54px;
}
.eyebrow {
  display: block;
  color: #008469;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.hero h1 {
  font:
    700 clamp(36px, 4.6vw, 64px)/1.08 "Space Grotesk",
    "Noto Sans Arabic",
    sans-serif;
  letter-spacing: -0.05em;
  margin: 17px 0 20px;
  max-width: 520px;
}
.hero p {
  color: #627874;
  font-size: 17px;
  line-height: 1.75;
  max-width: 480px;
  margin: 0;
}
.hero-details {
  display: flex;
  gap: 22px;
  margin-top: 36px;
}
.hero-details > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-left: 2px solid #cde6dc;
  padding-left: 16px;
}
.hero-details strong {
  font:
    700 24px "Space Grotesk",
    sans-serif;
  color: #008469;
}
.hero-details span span {
  font-size: 12px;
  color: #718681;
}
.hero-image {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 3/2;
  background: #e9e9e1;
  box-shadow: 0 22px 55px #17473b16;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100% - 36px);
  border-radius: 50px;
  padding: 11px 16px;
  background: #fffdf5ee;
  color: #235e50;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.caption-dot {
  width: 8px;
  height: 8px;
  background: #05a983;
  border-radius: 50%;
  flex: none;
}
.lesson-panel {
  background: #fff;
  border: 1px solid #dce8e3;
  border-radius: 30px;
  padding: 36px;
  box-shadow: 0 16px 50px #123d2d0a;
  max-width: 840px;
  margin: 0 auto;
}
.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}
.panel-topline h2 {
  font:
    700 clamp(23px, 2.5vw, 32px)/1.3 "Space Grotesk",
    "Noto Sans Arabic",
    sans-serif;
  letter-spacing: -0.03em;
  margin: 8px 0 24px;
}
.step-count {
  flex: none;
  background: #e8f5ef;
  color: #007c62;
  border-radius: 30px;
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 700;
}
.progress-track {
  height: 7px;
  border-radius: 100px;
  background: #e9f1ed;
  overflow: hidden;
}
.progress-track span {
  display: block;
  height: 100%;
  width: 0;
  background: #008469;
  border-radius: 100px;
  transition: width 0.3s ease;
}
.scene-label {
  font-size: 13px;
  color: #7c8987;
  font-weight: 600;
  margin: 31px 0 8px;
}
.prompt {
  font:
    600 clamp(23px, 3.5vw, 35px)/1.4 "Space Grotesk",
    "Noto Sans Arabic",
    sans-serif;
  margin: 0 0 26px;
  color: #17322f;
}
.choice-list {
  display: grid;
  gap: 12px;
}
.choice {
  min-height: 76px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fbfdfc;
  border: 1px solid #dce7e3;
  border-radius: 18px;
  text-align: left;
  padding: 13px 18px;
  transition:
    border 0.15s,
    background 0.15s,
    transform 0.15s;
}
.choice:hover:not(:disabled) {
  border-color: #008469;
  transform: translateY(-1px);
}
.choice:focus-visible {
  outline: 3px solid #99d6c6;
  outline-offset: 2px;
}
.choice:disabled {
  cursor: default;
}
.choice.selected {
  border-color: #008469;
  background: #eef9f4;
}
.choice.correct {
  border-color: #008469;
  background: #e8f7ef;
}
.choice.wrong {
  border-color: #d98473;
  background: #fff3f0;
}
.choice-letter {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #e8f5ef;
  color: #007c62;
  font-size: 13px;
  font-weight: 700;
  flex: none;
}
.choice-phrase {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.choice-reading {
  color: #087e65;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.hanzi {
  font:
    600 24px/1.4 "Noto Sans SC",
    sans-serif;
  direction: ltr;
  unicode-bidi: isolate;
}
.practice-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  margin-top: 25px;
  flex-wrap: wrap;
}
.primary {
  border: 0;
  background: #008469;
  color: #fff;
  border-radius: 15px;
  min-height: 52px;
  padding: 0 27px;
  font-weight: 700;
  box-shadow: 0 7px 15px #00846923;
}
.primary:hover:not(:disabled),
.primary:focus-visible {
  background: #006d56;
}
.primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.secondary {
  border: 1px solid #d9e8e1;
  background: #fff;
  color: #007e65;
  border-radius: 15px;
  min-height: 52px;
  padding: 0 22px;
  font-weight: 700;
}
.secondary:hover {
  background: #f1f8f4;
}
.teacher-feedback {
  padding: 18px 20px;
  border-radius: 18px;
  background: #eff8f3;
  border: 1px solid #cae7d9;
  margin-top: 22px;
  line-height: 1.6;
}
.teacher-feedback.wrong {
  background: #fff5f1;
  border-color: #efd8cc;
}
.teacher-feedback strong {
  display: block;
  margin-bottom: 3px;
}
.phrase-reading {
  font-size: 14px;
  color: #087e65;
  margin-top: 8px;
  direction: ltr;
  unicode-bidi: isolate;
}
.small-label {
  font-size: 12px;
  color: #778a84;
}
.preview-note {
  max-width: 840px;
  margin: 22px auto 74px;
  display: flex;
  gap: 13px;
  align-items: start;
  color: #647a75;
  font-size: 13px;
  line-height: 1.6;
}
.preview-note p {
  margin: 0;
}
.note-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #aac9bd;
  color: #087e65;
  flex: none;
  font-size: 13px;
  font-weight: 700;
}
.complete {
  text-align: center;
  padding: 35px 0 16px;
}
.complete-icon {
  width: 66px;
  height: 66px;
  border-radius: 22px;
  background: #dff5e9;
  color: #008469;
  display: grid;
  place-items: center;
  font-size: 32px;
  margin: 0 auto 18px;
}
.complete h3 {
  font:
    700 31px/1.2 "Space Grotesk",
    "Noto Sans Arabic",
    sans-serif;
  margin: 0 0 12px;
}
.complete p {
  max-width: 500px;
  margin: 0 auto 25px;
  color: #617c74;
  line-height: 1.65;
}
.complete-scores {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 25px;
}
.complete-scores span {
  border: 1px solid #d9e8e1;
  padding: 12px 18px;
  border-radius: 14px;
  color: #46796a;
  font-size: 13px;
}
.complete-scores strong {
  font-size: 19px;
  color: #007f63;
}
footer {
  border-top: 1px solid #dce7e3;
  padding: 27px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #69817b;
  font-size: 13px;
}
footer a {
  font-weight: 700;
  color: #007e65;
}
html[dir="rtl"] .hero-details > span {
  border-left: 0;
  border-right: 2px solid #cde6dc;
  padding-left: 0;
  padding-right: 16px;
}
html[dir="rtl"] .choice {
  text-align: right;
}
html[dir="rtl"] .image-caption {
  left: auto;
  right: 18px;
}
html[dir="rtl"] .hero h1 {
  letter-spacing: 0;
}
html[dir="rtl"] .panel-topline h2 {
  letter-spacing: 0;
}
@media (max-width: 760px) {
  .page-shell {
    padding: 0 18px;
  }
  .topbar {
    height: 74px;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
  .brand strong {
    font-size: 18px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 27px;
    padding: 38px 0;
  }
  .hero h1 {
    font-size: 39px;
  }
  .hero p {
    font-size: 15px;
  }
  .hero-details {
    margin-top: 25px;
    gap: 14px;
  }
  .hero-image {
    border-radius: 24px;
  }
  .lesson-panel {
    padding: 23px 19px;
    border-radius: 24px;
  }
  .panel-topline h2 {
    font-size: 25px;
  }
  .choice {
    min-height: 70px;
  }
  .hanzi {
    font-size: 21px;
  }
  .preview-note {
    margin-bottom: 50px;
  }
  footer {
    flex-direction: column;
  }
}
@media (max-width: 390px) {
  .page-shell {
    padding: 0 14px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-details {
    gap: 9px;
  }
  .hero-details > span {
    padding-left: 10px;
  }
  .hero-details span span {
    font-size: 10px;
  }
  .lesson-panel {
    padding: 19px 15px;
  }
  .panel-topline h2 {
    font-size: 22px;
  }
  .choice {
    padding: 12px;
  }
  .practice-actions > * {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
