:root {
  --orange: #ff6b35;
  --orange-dark: #f25520;
  --orange-soft: #fff1ea;
  --pink: #ee4863;
  --navy: #17233d;
  --blue: #2e62d9;
  --blue-soft: #edf3ff;
  --ink: #273248;
  --muted: #6f788c;
  --line: #e8ebf2;
  --surface: #ffffff;
  --background: #f7f9fd;
  --shadow: 0 24px 70px rgba(33, 51, 91, 0.12);
  --font-cn: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-en: "Arial Rounded MT Bold", Arial, var(--font-cn);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font-cn);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(232, 235, 242, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 38px;
}

.brand {
  display: inline-flex;
  position: relative;
  align-items: center;
  padding-bottom: 14px;
  font-family: var(--font-en);
  font-size: 35px;
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand-hello {
  display: inline-flex;
  position: relative;
  z-index: 1;
  align-items: center;
  min-height: 43px;
  padding: 1px 12px 3px;
  color: #fff;
  background: #f99a1b;
  border-radius: 13px 13px 13px 7px;
}

.brand-hello::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: -7px;
  width: 16px;
  height: 13px;
  background: #f99a1b;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.brand-kid {
  padding-left: 5px;
  color: var(--pink);
}

.brand small {
  position: absolute;
  bottom: -1px;
  left: 3px;
  color: #555965;
  font-family: var(--font-cn);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3.6px;
}

.desktop-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.desktop-nav a {
  display: flex;
  position: relative;
  height: 100%;
  align-items: center;
  color: #4b5468;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--orange);
  border-radius: 4px 4px 0 0;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--orange);
}

.desktop-nav a.active::after,
.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.text-link {
  color: #626c80;
  font-size: 14px;
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 25px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff7a3d, var(--orange-dark));
  box-shadow: 0 12px 26px rgba(255, 107, 53, 0.25);
}

.button-primary:hover {
  box-shadow: 0 15px 32px rgba(255, 107, 53, 0.35);
}

.button-secondary {
  color: var(--orange-dark);
  background: #fff;
  border: 1px solid #ffd2bf;
}

.button-small {
  min-height: 42px;
  padding: 0 21px;
  border-radius: 12px;
  font-size: 14px;
}

.button-block {
  width: 100%;
}

.mobile-menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 250, 246, 0.98), rgba(244, 248, 255, 0.96)),
    radial-gradient(circle at 20% 20%, #fff2e8, transparent 40%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: radial-gradient(#ffb28f 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to right, #000, transparent 56%);
}

.hero-grid {
  display: grid;
  position: relative;
  z-index: 2;
  grid-template-columns: 1.02fr 0.98fr;
  min-height: 620px;
  align-items: center;
  gap: 70px;
  padding-top: 66px;
  padding-bottom: 76px;
}

.eyebrow,
.section-kicker {
  color: var(--orange);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 25px;
  height: 3px;
  background: var(--orange);
  border-radius: 4px;
}

.hero h1 {
  margin: 18px 0 22px;
  color: var(--navy);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1.16;
}

.hero h1 strong {
  position: relative;
  color: var(--orange);
}

.hero h1 strong::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  z-index: -1;
  height: 12px;
  opacity: 0.4;
  background: #ffd26c;
  border-radius: 50%;
}

.hero-copy > p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  color: #636d80;
  font-size: 13px;
  font-weight: 600;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-row i {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #58b885;
  border-radius: 50%;
  font-size: 11px;
  font-style: normal;
}

.hero-visual {
  position: relative;
  min-height: 430px;
}

.visual-card {
  background: #fff;
  box-shadow: var(--shadow);
}

.main-card {
  position: absolute;
  inset: 30px 22px 20px 26px;
  overflow: hidden;
  padding: 22px;
  border: 7px solid rgba(255, 255, 255, 0.75);
  border-radius: 34px;
  transform: rotate(1.6deg);
}

.mini-label {
  display: inline-flex;
  padding: 7px 12px;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.lesson-window {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 260px;
  margin-top: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff4d8, #ffe1bd);
  border-radius: 24px;
}

.teacher-avatar {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  margin: 28px 0 0 26px;
  color: #fff;
  background: linear-gradient(150deg, #64a3ff, #345fc9);
  border: 8px solid #fff;
  border-radius: 45% 45% 24% 24%;
  box-shadow: 0 15px 30px rgba(40, 76, 155, 0.2);
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 900;
}

.teacher-avatar::before {
  content: "";
  position: absolute;
  top: -24px;
  width: 88px;
  height: 55px;
  background: #b66b3c;
  border-radius: 50% 50% 32% 30%;
}

.lesson-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.lesson-content > span {
  color: #d98925;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}

.lesson-content h2 {
  margin: 9px 0 25px;
  color: var(--navy);
  font-size: 27px;
  line-height: 1.35;
}

.sound-bars {
  display: flex;
  height: 34px;
  align-items: center;
  gap: 5px;
}

.sound-bars i {
  width: 5px;
  height: 13px;
  background: var(--orange);
  border-radius: 5px;
  animation: sound 1.2s ease-in-out infinite;
}

.sound-bars i:nth-child(2) {
  height: 25px;
  animation-delay: 0.1s;
}

.sound-bars i:nth-child(3) {
  height: 34px;
  animation-delay: 0.2s;
}

.sound-bars i:nth-child(4) {
  height: 20px;
  animation-delay: 0.3s;
}

.sound-bars i:nth-child(5) {
  animation-delay: 0.4s;
}

@keyframes sound {
  50% { transform: scaleY(0.55); }
}

.lesson-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.lesson-footer div {
  display: flex;
  flex-direction: column;
  padding: 11px 12px;
  background: #f7f9fd;
  border-radius: 13px;
  text-align: center;
}

.lesson-footer b {
  color: var(--navy);
  font-family: var(--font-en);
  font-size: 18px;
}

.lesson-footer span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.floating-card {
  display: flex;
  position: absolute;
  z-index: 3;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border-radius: 17px;
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  color: var(--navy);
  font-size: 14px;
}

.floating-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.floating-icon {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--orange);
  border-radius: 13px;
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 900;
}

.floating-teacher {
  top: 0;
  right: -10px;
}

.floating-books {
  bottom: 0;
  left: -10px;
}

.floating-books .floating-icon {
  background: var(--blue);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.hero-orb-one {
  top: 90px;
  right: -60px;
  width: 210px;
  height: 210px;
  background: rgba(67, 110, 221, 0.08);
}

.hero-orb-two {
  bottom: -90px;
  left: 38%;
  width: 180px;
  height: 180px;
  background: rgba(255, 107, 53, 0.08);
}

.quick-facts {
  position: relative;
  z-index: 4;
  border-top: 1px solid #f0f1f5;
  border-bottom: 1px solid #f0f1f5;
  background: #fff;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 120px;
  align-items: center;
}

.facts-grid article {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.facts-grid article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 0;
  width: 1px;
  height: 48px;
  background: var(--line);
}

.facts-grid strong {
  color: var(--orange);
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 900;
}

.facts-grid span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.faq-section {
  padding: 105px 0 115px;
  background: var(--background);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading h2,
.path-copy h2,
.contact-section h2 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -1.6px;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--muted);
}

.search-wrap {
  width: min(390px, 100%);
}

.search-box {
  display: flex;
  height: 54px;
  align-items: center;
  gap: 11px;
  padding: 0 14px 0 17px;
  background: #fff;
  border: 1px solid #e1e5ed;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(39, 50, 72, 0.05);
}

.search-box:focus-within {
  border-color: #ffb391;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.09);
}

.search-box svg {
  width: 20px;
  fill: none;
  stroke: #8d95a5;
  stroke-linecap: round;
  stroke-width: 2;
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.search-box input::placeholder {
  color: #a2a9b7;
}

.search-box button {
  display: none;
  width: 25px;
  height: 25px;
  padding: 0;
  color: #7d8594;
  background: #f0f2f6;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
}

.category-tabs {
  display: flex;
  gap: 10px;
  margin: 34px 0 30px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  min-height: 42px;
  flex: 0 0 auto;
  padding: 0 17px;
  color: #606a7d;
  background: #fff;
  border: 1px solid #e4e7ee;
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.category-tab:hover,
.category-tab.active {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 9px 20px rgba(255, 107, 53, 0.2);
}

.faq-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
}

.help-card {
  position: sticky;
  top: 108px;
  overflow: hidden;
  padding: 30px 25px 25px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0, rgba(255, 255, 255, 0.16), transparent 31%),
    linear-gradient(150deg, #283e70, #17233d);
  border-radius: 22px;
  box-shadow: 0 24px 50px rgba(23, 35, 61, 0.18);
}

.help-card::after {
  content: "?";
  position: absolute;
  right: -5px;
  bottom: -40px;
  color: rgba(255, 255, 255, 0.05);
  font-family: var(--font-en);
  font-size: 190px;
  font-weight: 900;
}

.help-badge {
  display: inline-flex;
  position: relative;
  z-index: 1;
  padding: 5px 10px;
  color: #ffd7c9;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 11px;
}

.help-card h3 {
  position: relative;
  z-index: 1;
  margin: 18px 0 10px;
  font-size: 24px;
  line-height: 1.45;
}

.help-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 13px;
  line-height: 1.8;
}

.help-card .button {
  position: relative;
  z-index: 1;
}

.help-note {
  position: relative;
  z-index: 1;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  text-align: center;
}

.help-note i {
  color: #8de0ac;
  font-style: normal;
}

.faq-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #848c9a;
  font-size: 12px;
}

.faq-meta button {
  padding: 0;
  color: var(--orange);
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

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

.faq-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e9f0;
  border-radius: 17px;
  box-shadow: 0 7px 20px rgba(42, 52, 75, 0.035);
  transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-item:hover {
  border-color: #ffd0bd;
  box-shadow: 0 13px 30px rgba(42, 52, 75, 0.07);
  transform: translateY(-1px);
}

.faq-item.open {
  border-color: #ffc5ac;
  box-shadow: 0 14px 34px rgba(255, 107, 53, 0.09);
}

.faq-question {
  display: grid;
  width: 100%;
  grid-template-columns: 40px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 14px;
  padding: 21px 22px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.question-number {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  background: var(--orange-soft);
  border-radius: 11px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 900;
}

.faq-question strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.faq-toggle {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: #808898;
  background: #f3f5f8;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item.open .faq-toggle {
  color: #fff;
  background: var(--orange);
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer p {
  margin: 0 24px 0 76px;
  padding: 0 0 24px;
  color: #667084;
  font-size: 14px;
  line-height: 1.95;
}

.faq-answer p::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 18px;
  background: #f0f1f4;
}

.empty-state {
  padding: 72px 20px;
  background: #fff;
  border: 1px dashed #dfe3eb;
  border-radius: 18px;
  text-align: center;
}

.empty-state > div {
  display: flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--orange);
  background: var(--orange-soft);
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 900;
}

.empty-state h3 {
  margin: 17px 0 7px;
  color: var(--navy);
}

.empty-state p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.learning-path {
  padding: 85px 0;
  background: #fff;
}

.path-card {
  display: grid;
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: 55px 62px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.12), transparent 26%),
    linear-gradient(120deg, #ff7040, #f04d29);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(242, 85, 32, 0.22);
}

.path-card::before,
.path-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.path-card::before {
  top: -85px;
  right: 160px;
  width: 240px;
  height: 240px;
}

.path-card::after {
  right: -70px;
  bottom: -130px;
  width: 280px;
  height: 280px;
}

.path-copy,
.path-card > .button {
  position: relative;
  z-index: 1;
}

.path-card .section-kicker,
.path-card h2 {
  color: #fff;
}

.path-copy h2 {
  font-size: 38px;
}

.path-copy > p {
  max-width: 680px;
  margin: 15px 0 28px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.9;
}

.path-steps {
  display: flex;
  align-items: center;
  gap: 13px;
}

.path-steps span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.path-steps b {
  display: inline-flex;
  width: 31px;
  height: 31px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 10px;
}

.path-steps i {
  width: 25px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.button-light {
  min-width: 190px;
  color: var(--orange-dark);
  background: #fff;
  box-shadow: 0 15px 35px rgba(159, 45, 11, 0.16);
}

.contact-section {
  padding: 105px 0;
  background: #f7f9fd;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: start;
  gap: 75px;
}

.contact-section h2 {
  max-width: 470px;
  line-height: 1.32;
}

.contact-section p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.9;
}

.faq-trial-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  padding: 28px;
  background: #fff;
  border: 1px solid #e6e9f0;
  border-radius: 22px;
  box-shadow: 0 22px 55px rgba(42, 52, 75, 0.08);
}

.faq-trial-form label {
  display: grid;
  gap: 8px;
}

.faq-trial-form label:nth-child(3),
.faq-trial-form .button {
  grid-column: span 2;
}

.faq-trial-form label span {
  color: #626c80;
  font-size: 12px;
  font-weight: 700;
}

.faq-trial-form input,
.faq-trial-form select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fafbfc;
  border: 1px solid #e1e5eb;
  border-radius: 11px;
  outline: 0;
}

.faq-trial-form input:focus,
.faq-trial-form select:focus {
  border-color: #ffad88;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.08);
}

.form-message {
  grid-column: 2;
  margin: -56px 30px 0 !important;
  color: #3b9a67 !important;
  font-size: 12px;
  text-align: center;
}

.site-footer {
  color: #c1c7d1;
  background: #151c2c;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  padding: 58px 0 42px;
}

.brand-footer {
  font-size: 30px;
}

.brand-footer small {
  display: none;
}

.footer-brand p {
  max-width: 360px;
  margin: 17px 0 0;
  color: #858fa1;
  font-size: 13px;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.footer-links strong,
.footer-links a {
  display: block;
}

.footer-links strong {
  margin-bottom: 16px;
  color: #fff;
  font-size: 13px;
}

.footer-links a {
  margin: 10px 0;
  color: #858fa1;
  font-size: 12px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #687285;
  font-size: 11px;
}

.mobile-cta {
  display: none;
}

@media (max-width: 1050px) {
  .desktop-nav {
    gap: 20px;
  }

  .hero-grid {
    gap: 25px;
  }

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

  .faq-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 34px, 720px);
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu-button {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    place-content: center;
    gap: 5px;
    background: #fff6f2;
    border: 0;
    border-radius: 11px;
  }

  .mobile-menu-button span {
    width: 20px;
    height: 2px;
    background: var(--orange);
    border-radius: 3px;
    transition: transform 0.2s ease;
  }

  .mobile-nav.open {
    display: grid;
    padding: 6px 22px 20px;
    background: #fff;
    border-top: 1px solid var(--line);
  }

  .mobile-nav a {
    padding: 12px;
    color: #555f73;
    border-bottom: 1px solid #f0f1f4;
    font-size: 14px;
    text-decoration: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-width: 0;
    padding-top: 65px;
    text-align: center;
  }

  .hero-copy > p {
    width: 100%;
    margin: 0 auto;
  }

  .eyebrow,
  .hero-actions,
  .trust-row {
    justify-content: center;
  }

  .hero-visual {
    width: min(560px, 100%);
    max-width: 100%;
    margin: 0 auto;
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 0;
  }

  .facts-grid article {
    min-height: 85px;
  }

  .facts-grid article:nth-child(2)::after {
    display: none;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-wrap {
    width: 100%;
  }

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

  .help-card {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 30px;
  }

  .help-card p {
    grid-column: 1;
    margin-bottom: 0;
  }

  .help-card .button {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .help-note {
    display: none;
  }

  .path-card {
    grid-template-columns: 1fr;
  }

  .path-card > .button {
    justify-self: start;
  }

  .contact-grid,
  .footer-main {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .form-message {
    grid-column: 1;
    margin: -25px 30px 0 !important;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    padding-bottom: 64px;
  }

  .container {
    width: min(100% - 28px, 520px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    font-size: 29px;
  }

  .brand-hello {
    min-height: 38px;
  }

  .hero-grid {
    min-height: 0;
    padding-top: 53px;
    padding-bottom: 58px;
  }

  .hero h1 {
    margin-top: 14px;
    font-size: 38px;
    letter-spacing: -2px;
  }

  .hero-copy > p {
    font-size: 15px;
    line-height: 1.8;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trust-row {
    gap: 10px 15px;
  }

  .hero-visual {
    min-height: 345px;
    margin-top: 5px;
  }

  .main-card {
    inset: 22px 3px 17px;
    padding: 14px;
    border-width: 4px;
    border-radius: 24px;
  }

  .lesson-window {
    grid-template-columns: 40% 60%;
    min-height: 208px;
  }

  .teacher-avatar {
    margin: 31px 0 0 12px;
    border-width: 5px;
    font-size: 28px;
  }

  .teacher-avatar::before {
    top: -17px;
    width: 62px;
    height: 38px;
  }

  .lesson-content {
    padding: 14px;
  }

  .lesson-content h2 {
    margin-bottom: 17px;
    font-size: 19px;
  }

  .lesson-footer div {
    padding: 8px 5px;
  }

  .lesson-footer b {
    font-size: 14px;
  }

  .floating-card {
    padding: 9px 11px;
  }

  .floating-card strong {
    font-size: 12px;
  }

  .floating-icon {
    width: 33px;
    height: 33px;
    font-size: 16px;
  }

  .floating-teacher {
    right: -7px;
  }

  .floating-books {
    left: -6px;
  }

  .facts-grid strong {
    font-size: 20px;
  }

  .faq-section,
  .contact-section {
    padding: 72px 0;
  }

  .section-heading h2,
  .contact-section h2 {
    font-size: 34px;
  }

  .category-tabs {
    margin-top: 24px;
  }

  .help-card {
    display: block;
    padding: 25px 22px;
  }

  .help-card h3 {
    font-size: 21px;
  }

  .help-card p {
    margin-bottom: 20px;
  }

  .faq-question {
    grid-template-columns: 34px minmax(0, 1fr) 30px;
    gap: 10px;
    padding: 18px 15px;
  }

  .question-number {
    width: 32px;
    height: 32px;
  }

  .faq-question strong {
    font-size: 14px;
  }

  .faq-toggle {
    width: 29px;
    height: 29px;
  }

  .faq-answer p {
    margin-right: 16px;
    margin-left: 58px;
    font-size: 13px;
  }

  .learning-path {
    padding: 60px 0;
  }

  .path-card {
    padding: 38px 25px;
    border-radius: 23px;
  }

  .path-copy h2 {
    font-size: 31px;
  }

  .path-steps {
    display: grid;
    grid-template-columns: 1fr;
  }

  .path-steps i {
    display: none;
  }

  .faq-trial-form {
    grid-template-columns: 1fr;
    padding: 21px;
  }

  .faq-trial-form label:nth-child(3),
  .faq-trial-form .button {
    grid-column: auto;
  }

  .footer-main {
    padding-top: 48px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }

  .mobile-cta {
    display: grid;
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    grid-template-columns: 0.85fr 1.15fr;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -9px 25px rgba(23, 35, 61, 0.08);
    backdrop-filter: blur(12px);
  }

  .mobile-cta a {
    display: flex;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
  }

  .mobile-cta a:last-child {
    color: #fff;
    background: var(--orange);
    border-radius: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
