:root {
  --navy: #12233f;
  --muted: #71809a;
  --line: #dfe6f1;
  --surface: #ffffff;
  --canvas: #f6f8fc;
  --purple: #6950ed;
  --purple-soft: #efecff;
  --teal: #079887;
  --teal-soft: #e8f7f4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--navy);
  background: var(--canvas);
  font-family: Cairo, sans-serif;
  font-size: 16px;
}
a { color: inherit; }
.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: var(--purple);
  font-size: 25px;
  font-weight: 900;
}
.brand-copy { display: grid; gap: 0; }
.brand-copy strong { font-size: 20px; line-height: 1.1; letter-spacing: 0; }
.brand-copy small { color: var(--muted); font-size: 10px; font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.quiet-link { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 13px; }
.login-button, .outline-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 10px 21px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.login-button { color: #fff; background: var(--purple); box-shadow: 0 10px 22px rgba(105, 80, 237, .18); }
.login-button:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(105, 80, 237, .26); }
.login-button--small { min-height: 40px; padding-inline: 15px; font-size: 12px; }
.outline-button { color: var(--navy); border: 1px solid var(--line); background: var(--surface); }
.outline-button:hover { transform: translateY(-2px); border-color: #b8acf9; }
main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr);
  align-items: center;
  gap: clamp(45px, 8vw, 120px);
  padding: 68px 0 82px;
}
.hero-copy { max-width: 570px; }
.eyebrow { margin: 0 0 13px; color: var(--purple); font-size: 13px; font-weight: 900; }
.eyebrow-dot { width: 7px; height: 7px; display: inline-block; margin-left: 7px; border-radius: 50%; background: var(--teal); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(42px, 5.2vw, 68px); line-height: 1.18; letter-spacing: 0; font-weight: 900; }
h1 span { color: var(--purple); }
.hero-description { max-width: 500px; margin-bottom: 28px; color: var(--muted); font-size: 17px; line-height: 2; font-weight: 600; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--muted); font-size: 12px; font-weight: 700; }
.check-icon { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: var(--teal); background: var(--teal-soft); font-size: 13px; }
.learning-map { position: relative; min-height: 385px; padding: 34px 34px 27px; overflow: hidden; border: 1px solid #dfe4ef; border-radius: 26px; background: var(--surface); box-shadow: 0 18px 45px rgba(18, 35, 63, .07); }
.learning-map::before { content: ''; position: absolute; inset: 0 0 auto; height: 7px; background: linear-gradient(90deg, var(--teal), #32b8a6); }
.map-heading { display: grid; gap: 3px; padding-bottom: 26px; border-bottom: 1px solid #edf0f5; }
.map-heading span { color: var(--muted); font-size: 12px; font-weight: 700; }
.map-heading strong { font-size: 21px; font-weight: 900; }
.map-track { position: relative; display: grid; gap: 17px; padding: 25px 0 20px; }
.map-line { position: absolute; top: 40px; bottom: 40px; right: 18px; width: 2px; background: #d6eee9; }
.map-step { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; min-height: 70px; padding: 10px 0; }
.map-number { width: 37px; height: 37px; display: grid; place-items: center; flex: 0 0 auto; border: 2px solid #a9ddd5; border-radius: 50%; color: var(--teal); background: var(--surface); font-size: 11px; font-weight: 900; }
.map-step--active .map-number { color: #fff; border-color: var(--teal); background: var(--teal); box-shadow: 0 0 0 6px #e4f6f2; }
.map-step strong, .map-step small { display: block; }
.map-step strong { font-size: 17px; font-weight: 900; }
.map-step small { color: var(--muted); font-size: 11px; font-weight: 600; }
.map-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 17px; border-top: 1px solid #edf0f5; color: var(--muted); font-size: 11px; font-weight: 700; }
.map-status { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px var(--teal-soft); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 15px 0 25px; }
.section-intro .eyebrow { margin-bottom: 7px; }
h2 { margin-bottom: 0; font-size: 31px; line-height: 1.35; font-weight: 900; }
.section-intro > p { margin: 0 0 5px; color: var(--muted); font-size: 13px; font-weight: 600; }
.section-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.learning-card { min-height: 275px; display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); text-decoration: none; box-shadow: 0 10px 30px rgba(18, 35, 63, .04); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.learning-card:hover { transform: translateY(-4px); border-color: #b9adfa; box-shadow: 0 17px 35px rgba(18, 35, 63, .09); }
.card-topline { display: flex; align-items: center; justify-content: space-between; }
.card-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: var(--purple); background: var(--purple-soft); font-size: 20px; font-weight: 900; }
.card-arrow { color: #a4aec1; font-size: 22px; }
.learning-card h3 { margin: 25px 0 7px; font-size: 25px; font-weight: 900; }
.learning-card p { min-height: 48px; margin-bottom: 23px; color: var(--muted); font-size: 13px; line-height: 1.9; font-weight: 600; }
.card-link { margin-top: auto; color: var(--purple); font-size: 13px; font-weight: 900; }
.learning-card--vocabulary .card-icon { color: var(--teal); background: var(--teal-soft); }
.learning-card--reading .card-icon { color: #bd7b17; background: #fff4db; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 55px 0 70px; padding: 25px 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip > div { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: center; }
.trust-icon { grid-row: span 2; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--purple); background: var(--purple-soft); font-size: 10px; font-weight: 900; }
.trust-strip strong { font-size: 14px; font-weight: 900; }
.trust-strip small { color: var(--muted); font-size: 11px; font-weight: 600; }
.site-footer { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px max(20px, calc((100% - 1180px) / 2)); border-top: 1px solid var(--line); color: var(--muted); background: var(--surface); font-size: 12px; font-weight: 600; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--purple); }
.footer-brand { color: var(--teal); font-size: 16px; font-weight: 900; }
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 38px; padding-top: 48px; }
  .hero-copy { max-width: none; }
  .learning-map { max-width: 600px; }
  .section-grid { grid-template-columns: 1fr; }
  .learning-card { min-height: 230px; }
  .trust-strip { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 560px) {
  .site-header, main { width: min(100% - 28px, 1180px); }
  .header-actions { gap: 10px; }
  .quiet-link { display: none; }
  .login-button--small { min-height: 38px; padding-inline: 12px; }
  h1 { font-size: 42px; }
  .hero-description { font-size: 15px; }
  .learning-map { padding: 28px 22px 23px; border-radius: 21px; }
  .section-intro { display: block; }
  .section-intro > p { margin-top: 9px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 13px; }
  .site-footer nav { flex-wrap: wrap; gap: 12px 18px; }
}
