@font-face {
  font-family: Space;
  src: url("./SpaceGrotesk-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --paper: #f4f6fb;
  --ink: #141722;
  --muted: #646b7a;
  --primary: #151e68;
  --primary-hover: #22328a;
  --line: #e5e7f1;
  --primary-soft: #eaf0ff;
  --white: #ffffff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Space, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button {
  font: inherit;
  cursor: pointer;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 6px;
}
.wrap {
  max-width: 1200px;
  padding: 0 32px;
  margin: auto;
}
.skip {
  position: absolute;
  top: -100px;
  padding: 12px;
  background: var(--white);
  z-index: 30;
}
.skip:focus {
  top: 8px;
}
.header {
  position: sticky;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}
.nav {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--white);
  font-size: 23px;
  transform: rotate(-7deg);
}
.links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.links a:hover {
  color: var(--primary);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 23px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border: 1px solid var(--primary);
  border-radius: 8px;
  line-height: 1.4;
  font-weight: 600;
  font-size: 15px;
  transition:
    transform 0.15s,
    background 0.15s;
}
.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}
.btn.light {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.primary {
  background: var(--primary);
  border-color: var(--primary);
}
.mobile-menu {
  display: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: none;
  padding: 8px 12px;
  font-size: 14px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
}
.hero {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 70px;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 80px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(42px, 4.7vw, 66px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -3px;
  margin-bottom: 25px;
}
h1 em {
  color: var(--primary);
  font-style: normal;
}
h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -1.8px;
  font-weight: 500;
}
h3 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.7px;
}
.hero-copy > p {
  max-width: 460px;
  color: var(--muted);
  font-size: 18px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0 20px;
}
.caption {
  font-size: 12px;
  color: var(--muted);
}
.hero-art {
  position: relative;
  padding: 36px 26px;
  background: var(--primary-soft);
  border-radius: 20px;
  background-image: radial-gradient(#c4d2f4 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.code-note {
  font-size: 12px;
  font-family: monospace;
  color: #646b7a;
  position: absolute;
  top: 24px;
  left: 25px;
}
.flashcard {
  background: var(--white);
  border: 1px solid #22328a;
  border-radius: 14px;
  padding: 27px 30px;
  box-shadow: 8px 10px 0 #c4d2f4;
  position: relative;
  transform: rotate(-3deg);
}
.flash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 1.8px;
  color: var(--muted);
  margin-bottom: 22px;
}
.term {
  font-size: 59px;
  letter-spacing: -3px;
  line-height: 1.1;
  margin: 5px 0 3px;
}
.pronunciation {
  font-family: system-ui;
  color: var(--muted);
  margin: 0 0 17px;
}
.flashcard blockquote {
  border-left: 2px solid var(--primary);
  padding-left: 13px;
  margin: 17px 0;
  color: var(--muted);
  font-size: 14px;
}
.flashcard button {
  background: var(--primary);
  color: white;
  border: 0;
  border-radius: 6px;
  font-size: 13px;
  width: 100%;
  padding: 11px;
  margin-top: 12px;
}
.flashcard .meaning {
  font-size: 16px;
  margin: 16px 0 4px;
}
.demo-tag {
  margin: 27px 0 0;
  text-align: center;
  font-size: 12px;
  color: #646b7a;
}
.ribbon {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.ribbon span {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ribbon b {
  font-size: 17px;
  color: var(--primary);
}
.section {
  padding-top: 90px;
  padding-bottom: 90px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: flex-end;
  margin-bottom: 45px;
}
.section-heading h2 {
  max-width: 510px;
  margin-bottom: 0;
}
.section-heading > p {
  max-width: 365px;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.step {
  border-top: 1px solid var(--ink);
  padding-top: 22px;
}
.step .number {
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 18px;
  display: block;
}
.step p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0;
}
.teacher {
  background: var(--primary);
  color: var(--paper);
}
.teacher-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  gap: 100px;
  align-items: center;
}
.teacher .eyebrow {
  color: #a8c5ff;
}
.teacher h2 {
  font-size: clamp(34px, 3.6vw, 50px);
  margin: 24px 0;
}
.teacher p {
  color: #c9cad8;
  max-width: 520px;
}
.teacher .btn.light {
  color: white;
  border-color: #646b7a;
}
.workflow {
  list-style: none;
  padding: 0;
  margin: 34px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.workflow li {
  font-size: 13px;
  border: 1px solid #646b7a;
  border-radius: 20px;
  padding: 7px 13px;
}
.workflow b {
  color: #a8c5ff;
  margin-right: 6px;
}
.phone {
  padding: 9px;
  background: #141925;
  border: 2px solid #646b7a;
  border-radius: 35px;
  max-width: 275px;
  margin: 0 auto;
  box-shadow: 18px 20px 0 #202b57;
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
}
.phone-caption {
  color: #c9cad8;
  text-align: center;
  font-size: 12px;
  margin: 30px 0 0;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.quiz-visual {
  padding: 33px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.quiz-visual .eyebrow {
  margin-bottom: 27px;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  margin-top: 12px;
  border: 1px solid var(--line);
  padding: 13px;
  border-radius: 7px;
}
.quiz-option.correct {
  background: #eaf0ff;
  border-color: #c4d2f4;
}
.quiz-option span {
  font-size: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
}
.split .copy p {
  color: var(--muted);
}
.text-link {
  font-weight: 600;
  color: var(--primary);
  font-size: 15px;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 75px;
}
.faq-intro p {
  color: var(--muted);
  max-width: 320px;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}
details:first-child {
  border-top: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
}
details[open] summary::after {
  content: "−";
}
details p {
  font-size: 14px;
  color: var(--muted);
  padding-top: 14px;
  margin: 0;
  max-width: 580px;
}
.cta {
  background: var(--primary-soft);
  border-top: 1px solid #c4d2f4;
  border-bottom: 1px solid #c4d2f4;
  padding: 55px 0;
}
.cta .wrap {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: center;
}
.cta h2 {
  margin-bottom: 12px;
}
.cta p {
  margin-bottom: 0;
  color: var(--muted);
  max-width: 550px;
}
.cta .btn {
  flex-shrink: 0;
}
.footer {
  padding: 40px 0;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: start;
  margin-bottom: 35px;
}
.footer-top p {
  font-size: 13px;
  color: var(--muted);
  max-width: 280px;
  margin-top: 12px;
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 11px;
  color: var(--muted);
}
.legal {
  padding: 65px 0 80px;
}
.legal-head {
  max-width: 780px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.legal-head h1 {
  font-size: 48px;
  letter-spacing: -2px;
  margin: 20px 0;
}
.legal-head > p {
  color: var(--muted);
}
.legal-body {
  max-width: 780px;
}
.legal-body h2 {
  font-size: 25px;
  letter-spacing: -0.8px;
  margin-top: 40px;
  margin-bottom: 16px;
}
.legal-body h3 {
  font-size: 18px;
  margin-top: 28px;
}
.legal-body p,
.legal-body li {
  color: var(--muted);
  font-size: 16px;
}
.legal-body ul {
  padding-left: 23px;
}
.contact {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 27px;
  margin: 28px 0;
}
.contact a {
  overflow-wrap: anywhere;
}
.legal-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  margin: 30px 0;
}
.legal-nav a {
  color: var(--primary);
}
[hidden] {
  display: none !important;
}
@media (min-width: 1450px) {
  .hero {
    gap: 90px;
  }
}
@media (max-width: 1000px) {
  .hero {
    gap: 35px;
    padding-top: 65px;
  }
  .teacher-grid {
    gap: 50px;
  }
  .split {
    gap: 45px;
  }
  .links {
    gap: 18px;
  }
  .hero-art {
    padding: 40px 22px;
  }
  .term {
    font-size: 50px;
  }
  .faq-grid {
    gap: 40px;
  }
  .ribbon {
    flex-wrap: wrap;
  }
  .ribbon span {
    flex: 1;
    min-width: 170px;
  }
}
@media (max-width: 760px) {
  .wrap {
    padding: 0 24px;
  }
  .nav {
    height: 73px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 23px;
  }
  .mobile-menu {
    display: block;
  }
  .links {
    display: none;
    width: 100%;
    background: var(--paper);
    padding: 10px 24px 24px;
    position: absolute;
    top: 73px;
    left: 0;
    border-bottom: 1px solid var(--line);
  }
  .links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .links a {
    font-size: 16px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 48px;
    padding-bottom: 45px;
  }
  h1 {
    font-size: 51px;
    letter-spacing: -2.4px;
    max-width: 560px;
  }
  .hero-copy > p {
    font-size: 17px;
    max-width: 540px;
  }
  .hero-art {
    min-height: 360px;
    max-width: 540px;
    width: 100%;
    margin: auto;
    padding: 50px 28px 25px;
  }
  .flashcard {
    padding: 24px;
    max-width: 370px;
    width: 100%;
    margin: auto;
  }
  .term {
    font-size: 48px;
  }
  .hero .actions {
    margin-top: 25px;
  }
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading h2 {
    margin-bottom: 22px;
  }
  .section-heading > p {
    max-width: 100%;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .step {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 17px;
  }
  .step .number {
    grid-row: 1/3;
    margin-top: 4px;
  }
  .step h3 {
    margin-bottom: 10px;
  }
  .teacher-grid,
  .split,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .teacher-grid h2 {
    margin-top: 19px;
  }
  .phone {
    max-width: 235px;
    box-shadow: 12px 15px 0 #202b57;
  }
  .teacher p {
    font-size: 16px;
  }
  .quiz-visual {
    padding: 26px;
  }
  .faq-intro p {
    max-width: 100%;
  }
  .cta .wrap {
    display: block;
  }
  .cta .btn {
    margin-top: 25px;
  }
  .footer-top,
  .footer-bottom {
    display: block;
  }
  .footer-links {
    gap: 17px;
  }
  .footer-bottom span {
    display: block;
    margin: 7px 0;
  }
  .legal {
    padding-top: 42px;
  }
  .legal-head h1 {
    font-size: 37px;
  }
  .legal-body p,
  .legal-body li {
    font-size: 15px;
  }
}
@media (max-width: 360px) {
  .wrap {
    padding: 0 18px;
  }
  h1 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .hero-art {
    padding: 45px 17px 24px;
  }
  .actions .btn {
    width: 100%;
  }
  .flashcard {
    padding: 21px;
  }
  .ribbon span {
    font-size: 12px;
  }
  .footer-links {
    gap: 14px;
  }
  .legal-head h1 {
    font-size: 33px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}

.partner-band {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 32px;
  margin: 36px 0 0;
  border: 1px solid var(--line);
  border-top: 3px solid #c62839;
  border-radius: 16px;
  background: var(--white);
  scroll-margin-top: 105px;
}
.partner-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  background: #fff;
}
.partner-logo img {
  width: 146px;
  height: auto;
  max-width: 100%;
}
.partner-band h2 {
  color: var(--primary);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  margin: 0 0 12px;
}
.partner-band p {
  margin: 0;
  color: var(--muted);
}
.partner-band .eyebrow {
  color: var(--primary);
  font-size: 11px;
  margin-bottom: 10px;
}
@media (max-width: 600px) {
  .partner-band {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }
  .partner-logo {
    justify-content: flex-start;
    padding: 0;
  }
}
