:root {
  --ink: #282a2b;
  --muted: #747878;
  --soft: #f6f6f4;
  --line: #e6e8e5;
  --green: #59685d;
  --blue: #4b87ff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.header,
.hero,
.process,
.ala-carte,
.pricing,
.faq,
footer {
  width: min(1330px, calc(100% - 64px));
  margin: 0 auto;
}

.hero {
  width: min(1600px, calc(100% - 64px));
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0;
}

.brand-mark,
.step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--green);
  color: white;
  flex: 0 0 auto;
}

.brand-mark.bell-logo {
  position: relative;
  overflow: visible;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 8px 18px rgba(89, 104, 93, 0.18);
}

.brand-mark.bell-logo::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.brand-mark.bell-logo::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 7px -3px 0 rgba(255, 255, 255, 0.32);
}

.brand:hover .bell-logo svg {
  animation: bell-ring 720ms ease;
  transform-origin: 50% 18%;
}

@keyframes bell-ring {
  0%, 100% { transform: rotate(0deg); }
  16% { transform: rotate(13deg); }
  32% { transform: rotate(-11deg); }
  48% { transform: rotate(8deg); }
  64% { transform: rotate(-5deg); }
  80% { transform: rotate(3deg); }
}

.header nav,
footer nav,
.policies {
  display: flex;
  align-items: center;
  gap: 40px;
  color: #292c2d;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 10px;
  border: 0;
  background: var(--green);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(64, 77, 67, 0.12);
  transition: transform 250ms ease, box-shadow 250ms ease, background 250ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: #4c5b51;
  box-shadow: 0 14px 28px rgba(64, 77, 67, 0.18);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #4f5653;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(39, 43, 41, 0.08);
}

.btn.secondary:hover {
  background: #fff;
  color: var(--green);
}

.hero {
  min-height: 840px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 86px;
  padding-top: 72px;
  text-align: center;
  overflow: hidden;
}

.hero-copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  width: 100%;
  max-width: 1120px;
  margin: 0;
  font-size: clamp(46px, 4vw, 78px);
  line-height: 1.03;
  font-weight: 450;
  letter-spacing: 0;
}

.hero-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin: 0 auto;
  white-space: nowrap;
}

.hero-word {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.hero-word svg {
  animation: heroIconFloat 3.8s ease-in-out infinite;
  flex: 0 0 auto;
}

.hero-word::after {
  content: "";
  position: absolute;
  left: 38px;
  right: 0;
  bottom: -7px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.75;
  background-image: linear-gradient(90deg, currentColor 62%, transparent 62%);
  background-size: 18px 3px;
}

.hero-word.no-icon::after {
  left: 0;
}

.hero-word.red,
.hero-word.blue,
.hero-word.green,
.hero-word.amber {
  color: var(--ink);
}

.hero-word.red svg,
.hero-word.red::after { color: #ff5a5f; }
.hero-word.blue svg,
.hero-word.blue::after { color: #2f8cff; }
.hero-word.green svg,
.hero-word.green::after { color: #27b65f; }
.hero-word.amber svg,
.hero-word.amber::after { color: #d39b24; }

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-kicker {
  width: 760px;
  max-width: 100%;
  margin: 30px 0 32px;
  color: #6f7774;
  font-size: clamp(21px, 1.55vw, 28px);
  line-height: 1.18;
  font-weight: 430;
}

.hero-study-stack {
  position: relative;
  width: min(1020px, 100%);
  height: 340px;
  margin-top: 8px;
}

.study-card {
  position: absolute;
  left: 50%;
  bottom: -80px;
  width: 260px;
  height: 330px;
  border-radius: 24px;
  border: 1px solid rgba(224, 227, 222, 0.9);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 30px 70px rgba(39, 43, 41, 0.14);
  backdrop-filter: blur(10px);
  transform-origin: center bottom;
  overflow: hidden;
}

.math-card {
  transform: translateX(-118%) rotate(-14deg);
  background: linear-gradient(145deg, #f7fff8, #ffffff 55%, #edf5ef);
  animation: cardFloatLeft 5.2s ease-in-out infinite;
}

.notebook-card {
  transform: translateX(-50%) rotate(-2deg);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 20px;
  color: var(--green);
  background:
    repeating-linear-gradient(0deg, transparent 0 32px, rgba(89, 104, 93, 0.12) 33px 34px),
    #fff;
  animation: cardFloatCenter 5s ease-in-out infinite;
}

.notebook-card span {
  width: 160px;
  height: 10px;
  border-radius: 999px;
  background: rgba(89, 104, 93, 0.18);
}

.notebook-card span:nth-child(3) { width: 122px; }
.notebook-card span:nth-child(4) { width: 180px; }

.lab-card {
  transform: translateX(18%) rotate(12deg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--green);
  background: linear-gradient(145deg, #ffffff, #f8fbff 60%, #eef6ff);
  animation: cardFloatRight 5.4s ease-in-out infinite;
}

.floating-symbol {
  position: absolute;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(224, 227, 222, 0.9);
  font-size: 50px;
  line-height: 1;
  box-shadow: 0 18px 34px rgba(39, 43, 41, 0.12);
  animation: symbolFloat 3.6s ease-in-out infinite;
}

.symbol-plus { top: 40px; left: 42px; color: #27b65f; }
.symbol-minus { top: 72px; right: 34px; color: #ff5a5f; animation-delay: .4s; }
.symbol-divide { bottom: 72px; left: 58px; color: #2f8cff; animation-delay: .8s; }
.symbol-times { bottom: 38px; right: 48px; color: #d39b24; animation-delay: 1.2s; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid #dfe3df;
  border-radius: 11px;
  background: rgba(255,255,255,.7);
  color: #777e7c;
  font-size: 15px;
  box-shadow: 0 3px 12px rgba(0,0,0,.04);
}

h2 {
  margin: 36px 0 0;
  font-size: clamp(56px, 5.2vw, 82px);
  line-height: 1.08;
  font-weight: 450;
  letter-spacing: 0;
}

h2 span {
  color: var(--green);
  text-shadow: none;
  opacity: 1;
}

.lead {
  max-width: 610px;
  margin: 42px auto 0;
  color: #6d7474;
  font-size: 19px;
  line-height: 1.6;
}

.soft-section {
  width: 100%;
  margin: 0 auto;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(226, 229, 224, 0.22) 42% 47%, transparent 47% 100%),
    #fbfbfa;
  border-top: 1px solid #f0f0ee;
}

.testimonials {
  min-height: auto;
  padding: 100px 0 130px;
  text-align: center;
}

.testimonial-grid {
  width: min(1330px, calc(100% - 64px));
  margin: 80px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.quote {
  min-height: 220px;
  border: 1px solid #e6e8e5;
  background: rgba(255,255,255,.78);
  border-radius: 14px;
  padding: 32px;
  text-align: left;
  box-shadow: 0 12px 34px rgba(58, 64, 61, .04);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.quote:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(58, 64, 61, .1);
}

.quote p {
  margin: 0 0 28px;
  color: #777d7b;
  font-size: 18px;
  line-height: 1.5;
}

.quote strong {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 500;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 35%, #f5f0e6 0 20%, #6d5c4d 21% 38%, #cfc6b8 39% 100%);
}

.process {
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(520px, 620px);
  justify-content: center;
  align-items: start;
  gap: 72px;
  min-height: auto;
  padding: 110px 0 150px;
}

.process-title {
  position: sticky;
  top: 126px;
  align-self: start;
}

.process-title h2 {
  max-width: 450px;
  font-size: clamp(44px, 4vw, 62px);
  line-height: 1.06;
}

.steps {
  display: grid;
  gap: 54px;
  padding-top: 22px;
}

.step {
  position: relative;
  min-height: 0;
  border: 1px solid #e4e6e4;
  border-radius: 26px;
  background: rgba(255,255,255,.8);
  padding: 38px 44px;
  box-shadow: 0 16px 45px rgba(0,0,0,.05);
  overflow: hidden;
  transform: translateY(42px) scale(.965);
  opacity: .22;
  filter: blur(2px);
  transition:
    transform 720ms cubic-bezier(.2,.8,.2,1),
    opacity 720ms ease,
    filter 720ms ease,
    box-shadow 320ms ease,
    border-color 320ms ease;
}

.step::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 14% 12%, rgba(89,104,93,.1), transparent 28%),
    linear-gradient(120deg, transparent 0 48%, rgba(89,104,93,.04) 48% 52%, transparent 52% 100%);
  opacity: 0;
  transition: opacity 520ms ease;
  pointer-events: none;
}

.step.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
  border-color: rgba(89,104,93,.2);
  box-shadow: 0 22px 58px rgba(0,0,0,.08);
}

.step.is-visible::before {
  opacity: 1;
}

.step h3 {
  margin: -38px 0 10px 58px;
  font-size: 30px;
  font-weight: 450;
  color: #606766;
}

.step p {
  margin: 0 0 20px 58px;
  color: #7e8584;
  font-size: 18px;
  line-height: 1.45;
}

.step-number {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3f3f2;
  color: #9da29f;
  font-size: 16px;
}

.teacher-picker {
  position: relative;
  width: min(430px, 100%);
  margin: 34px auto 0;
  padding: 18px;
  border: 1px solid #e4e8e4;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(89, 104, 93, .08), transparent 45%),
    #ffffff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 18px 42px rgba(65, 75, 67, .08);
  overflow: hidden;
}

.teacher-toolbar,
.teacher-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.teacher-toolbar span {
  color: #7b8380;
  font-size: 13px;
}

.teacher-toolbar strong {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}

.teacher-stack {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.teacher-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 10px 12px;
  border: 1px solid #e7ebe7;
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 24px rgba(58, 64, 61, .05);
  transform: translateX(-16px);
  opacity: 0;
}

.step.is-visible .teacher-card {
  animation: teacherSlide 680ms cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: calc(var(--i) * 140ms + 140ms);
}

.teacher-card:nth-child(2) {
  margin-left: 24px;
}

.teacher-card:nth-child(3) {
  margin-left: 48px;
  border-color: rgba(89,104,93,.3);
}

.teacher-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.teacher-card h4 {
  margin: 0;
  color: #4f5855;
  font-size: 15px;
  font-weight: 600;
}

.teacher-card p {
  margin: 4px 0 0;
  color: #8a918f;
  font-size: 13px;
}

.teacher-card > span {
  padding: 7px 9px;
  border-radius: 999px;
  background: #f4f7f4;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.teacher-selected {
  justify-content: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  opacity: 0;
  transform: translateY(10px);
}

.step.is-visible .teacher-selected {
  animation: selectedPop 520ms cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: 680ms;
}

.schedule-picker,
.one-to-one-flow {
  width: 430px;
  max-width: 100%;
  margin: 28px auto 0;
  border-radius: 22px;
  position: relative;
  border: 1px solid #e4e8e4;
  background: #fff;
  box-shadow: 0 18px 42px rgba(65, 75, 67, .08);
  overflow: hidden;
}

.schedule-picker {
  padding: 18px;
}

.schedule-program {
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(89,104,93,.1), rgba(75,135,255,.08));
}

.schedule-program span,
.flow-person span {
  color: #7e8784;
  font-size: 12px;
}

.schedule-program strong {
  display: block;
  margin-top: 4px;
  color: #4f5855;
  font-size: 20px;
}

.schedule-program p {
  margin: 6px 0 0;
  color: #7b8380;
  font-size: 13px;
}

.schedule-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.schedule-slots button {
  min-height: 54px;
  border: 1px solid #e4e8e4;
  border-radius: 14px;
  background: #fafbfa;
  color: #68716e;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
}

.step.is-visible .schedule-slots button {
  animation: slotRise 520ms cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: calc(var(--i) * 120ms + 120ms);
}

.schedule-slots button.selected {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 24px rgba(89,104,93,.18);
}

.schedule-confirm {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 14px;
  background: #eef4ff;
  color: #4777de;
  font-size: 18px;
  opacity: 0;
  transform: translateY(10px);
}

.step.is-visible .schedule-confirm {
  animation: selectedPop 520ms cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: 560ms;
}

.one-to-one-flow {
  padding: 20px;
  background:
    linear-gradient(180deg, #fff, #fbfcfb),
    #fff;
}

.flow-people {
  display: grid;
  grid-template-columns: 1fr 82px 1fr;
  align-items: center;
  gap: 10px;
}

.flow-person {
  min-height: 92px;
  display: grid;
  align-content: center;
  justify-items: center;
  border-radius: 18px;
  border: 1px solid #e5e9e5;
  background: #fff;
}

.flow-person strong {
  margin-top: 4px;
  color: #4f5855;
  font-size: 20px;
}

.flow-link {
  position: relative;
  height: 58px;
  display: grid;
  place-items: center;
}

.flow-link i {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 999px;
  background: #dfe7ff;
  overflow: hidden;
}

.flow-link i::after {
  content: "";
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.step.is-visible .flow-link i::after {
  animation: linkGrow 900ms ease forwards;
}

.flow-link svg {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  padding: 9px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  opacity: 0;
  transform: scale(.75);
}

.step.is-visible .flow-link svg {
  animation: checkPop 420ms cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: 760ms;
}

.flow-plan {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.flow-plan p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 13px;
  background: #f7f9f7;
  color: #66706d;
  font-size: 14px;
  opacity: 0;
  transform: translateX(-12px);
}

.step.is-visible .flow-plan p {
  animation: planSlide 500ms cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: calc(var(--i) * 120ms + 940ms);
}

.flow-progress {
  height: 9px;
  margin-top: 18px;
  border-radius: 999px;
  background: #eef1ee;
  overflow: hidden;
}

.flow-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.step.is-visible .flow-progress span {
  animation: progressGrow 900ms ease forwards;
  animation-delay: 1280ms;
}

.ala-carte {
  min-height: auto;
  padding: 100px 0 120px;
  text-align: center;
}

.ala-carte h2 {
  max-width: 840px;
  margin-inline: auto;
  font-size: clamp(54px, 4.2vw, 78px);
  line-height: 1.08;
}

.ala-carte .lead {
  margin-top: 40px;
  max-width: 660px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 90px 0 70px;
}

.service {
  min-height: 250px;
  padding: 30px 26px;
  border: 1px solid #e5e9e5;
  border-radius: 20px;
  background: rgba(255,255,255,.78);
  text-align: left;
  box-shadow: 0 16px 38px rgba(58,64,61,.05);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.service:hover {
  transform: translateY(-7px);
  border-color: rgba(89,104,93,.26);
  box-shadow: 0 24px 48px rgba(58,64,61,.1);
}

.service-icon {
  position: relative;
  width: 64px;
  height: 64px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #e2e5e2;
  color: var(--green);
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.95), rgba(255,255,255,.62) 54%, rgba(89,104,93,.08)),
    #fff;
  box-shadow: inset 0 0 0 8px rgba(89,104,93,.04), 0 12px 24px rgba(58,64,61,.06);
  overflow: hidden;
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.service-icon::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: inherit;
  border: 1px solid rgba(89,104,93,.12);
}

.service-icon svg {
  position: relative;
  z-index: 1;
  transition: transform 240ms ease, stroke 240ms ease;
}

.service:hover .service-icon {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 8px rgba(89,104,93,.06), 0 18px 32px rgba(58,64,61,.12);
}

.service:hover .service-icon svg {
  animation: iconFloat 760ms ease;
  stroke: #4d604f;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  35% { transform: translateY(-3px) rotate(-5deg); }
  70% { transform: translateY(1px) rotate(3deg); }
}

.service h3 {
  margin: 26px 0 14px;
  font-size: 25px;
  line-height: 1.16;
  font-weight: 500;
}

.service p {
  margin: 0;
  color: #737b79;
  font-size: 18px;
  line-height: 1.5;
}

.gallery {
  width: 100%;
  min-height: auto;
  text-align: center;
  padding: 100px 0 110px;
  overflow: hidden;
}

.gallery .lead {
  margin-top: 38px;
}

.gallery-track {
  width: max-content;
  display: flex;
  gap: 24px;
  margin-top: 90px;
  animation: galleryFlow 28s linear infinite;
}

.gallery-track:hover {
  animation-play-state: paused;
}

.success-card {
  width: 340px;
  min-height: 210px;
  display: grid;
  align-content: space-between;
  text-align: left;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid #e6e9e5;
  background:
    linear-gradient(140deg, rgba(89, 104, 93, 0.08), transparent 52%),
    #fff;
  box-shadow: 0 18px 42px rgba(48, 55, 51, 0.07);
}

.success-card span {
  width: max-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #f2f5f2;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
}

.success-card strong {
  margin-top: 22px;
  color: var(--ink);
  font-size: 48px;
  line-height: 1;
  font-weight: 500;
}

.success-card p {
  margin: 22px 0 0;
  color: #707776;
  font-size: 18px;
  line-height: 1.45;
}

.pricing {
  min-height: auto;
  text-align: center;
  padding: 95px 0 110px;
}

.pricing h2 { font-size: clamp(46px, 3.5vw, 64px); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  gap: 28px;
  margin-top: 80px;
}

.price-card {
  position: relative;
  min-height: 520px;
  border-radius: 26px;
  background: #fff;
  padding: 46px 28px;
  text-align: left;
  box-shadow: 0 15px 35px rgba(0,0,0,.04);
  border: 1px solid #f0f0ef;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.price-card.featured {
  border: 3px solid var(--green);
  padding-top: 70px;
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: #d9ded9;
  box-shadow: 0 26px 54px rgba(0,0,0,.09);
}
.deal {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 22px 22px 0 0;
  background: var(--green);
  color: #fff;
  font-size: 18px;
}

.price-card h3 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.12;
  font-weight: 450;
}

.plan-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #f6f7f6;
}

.money {
  margin: 32px 0 18px;
  font-size: 56px;
  color: var(--ink);
}

.money.free {
  color: var(--green);
  font-size: clamp(42px, 3.4vw, 56px);
  line-height: 1.05;
}

.money span,
.desc,
.price-card li { font-size: 20px; color: #747878; }
.desc { line-height: 1.45; }
.price-card button,
.price-card .price-button {
  width: 100%;
  height: 52px;
  margin: 30px 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 28px;
  background: #252525;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.price-card button:hover,
.price-card .price-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 24px rgba(0,0,0,.18);
}
.price-card ul {
  display: grid;
  gap: 20px;
  list-style: none;
  padding: 0;
  padding-top: 28px;
  margin: 0;
  border-top: 1px solid #e8e8e6;
}
.price-card li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.faq {
  min-height: auto;
  padding: 115px 0 120px;
  text-align: center;
}

.faq-copy {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.faq-copy h2 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(54px, 5vw, 82px);
  line-height: 1.05;
}

.faq-copy h2 span {
  color: var(--green);
}

.faq-copy > p {
  max-width: 700px;
  margin: 22px auto 0;
  color: #747878;
  font-size: 23px;
  line-height: 1.35;
}

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

.faq-item {
  overflow: hidden;
  border: 1px solid #e7e9e6;
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 4px 12px rgba(39, 43, 41, .025);
  transition: box-shadow 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.faq-item.active {
  border-color: #d8ded8;
  box-shadow: 0 14px 30px rgba(0,0,0,.07);
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(89,104,93,.22);
}

.faq-item button {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 52px 1fr 34px;
  align-items: center;
  gap: 16px;
  border: 0;
  background: transparent;
  padding: 8px 18px 8px 12px;
  color: #252728;
  font-size: 21px;
  text-align: left;
  cursor: pointer;
}

.faq-item button strong {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid #e6e8e6;
  background: #f8f8f7;
  color: #a7acab;
  font-size: 14px;
  font-weight: 600;
  transform: rotate(-7deg);
}

.faq-item button span {
  color: #303332;
}

.faq-item button svg {
  justify-self: end;
  flex: 0 0 auto;
  color: #a5aaa8;
  transition: transform 220ms ease;
}

.faq-item.active button svg {
  transform: rotate(45deg);
}

.faq-item:not(.active) button {
  color: #303332;
}

.faq-item p {
  max-height: 0;
  margin: 0;
  padding: 0 72px;
  color: #747878;
  font-size: 18px;
  line-height: 1.55;
  text-align: left;
  opacity: 0;
  transition: max-height 260ms ease, padding 260ms ease, opacity 220ms ease;
}

.faq-item.active p {
  max-height: 140px;
  padding: 0 72px 22px 82px;
  opacity: 1;
}

.faq-direct {
  margin-top: 58px;
  border-radius: 999px;
  background: #252525;
}

.faq-direct:hover {
  background: #1f1f1f;
}

footer {
  min-height: 260px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: start;
  gap: 35px 130px;
  padding-top: 80px;
  font-size: 15px;
}

footer p {
  margin: 0;
  color: #737978;
}

.policies { justify-content: flex-end; }

.policies button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.policies button:hover {
  color: var(--green);
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.legal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(18, 20, 19, .34);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.legal-panel {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  max-height: min(82vh, 820px);
  overflow: auto;
  border: 1px solid #e2e5e2;
  border-radius: 24px;
  background: #fff;
  padding: 36px;
  box-shadow: 0 30px 90px rgba(22, 26, 23, .24);
}

.legal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #e4e7e4;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #6f7774;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(39,43,41,.08);
}

.legal-panel h2 {
  margin: 26px 0 8px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.06;
}

.legal-updated {
  margin: 0 0 26px;
  color: #8b918f;
  font-size: 14px;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-content h3 {
  margin: 14px 0 -6px;
  color: #303332;
  font-size: 22px;
  font-weight: 520;
}

.legal-content p {
  margin: 0;
  color: #68716e;
  font-size: 17px;
  line-height: 1.62;
}

.legal-content ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-content li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #68716e;
  font-size: 16px;
  line-height: 1.48;
}

.legal-content li svg {
  margin-top: 3px;
  flex: 0 0 auto;
  color: var(--green);
}

.scroll-cta {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  width: min(760px, calc(100% - 32px));
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 11px 18px 11px 13px;
  border: 1px solid rgba(224, 227, 222, 0.95);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 22px 62px rgba(39, 43, 41, 0.18), inset 0 0 0 1px rgba(255,255,255,.7);
  backdrop-filter: blur(18px);
  transform: translate(-50%, 120px) scale(.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 360ms cubic-bezier(.2,.8,.2,1), opacity 260ms ease, box-shadow 220ms ease;
}

.scroll-cta.show {
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.scroll-cta:hover {
  box-shadow: 0 28px 72px rgba(39, 43, 41, 0.22), inset 0 0 0 1px rgba(255,255,255,.8);
}

.scroll-cta-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(89,104,93,.16), rgba(255,255,255,.9)),
    #fff;
  color: var(--green);
  border: 1px solid rgba(224, 227, 222, 0.95);
  box-shadow: 0 12px 24px rgba(64, 77, 67, 0.12);
  animation: ctaIconFloat 3.8s ease-in-out infinite;
  flex: 0 0 auto;
}

.scroll-cta-badge {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border-radius: 12px;
  background: #f1eee5;
  color: #b87920;
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
}

.scroll-cta-text {
  flex: 1;
  color: #343735;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 450;
}

.scroll-cta-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #8f9692;
  font-size: 34px;
  line-height: 1;
  transition: transform 220ms ease, color 220ms ease;
}

.scroll-cta:hover .scroll-cta-arrow {
  color: var(--green);
  transform: translateX(4px);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease;
  transition-delay: var(--d, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.step.reveal {
  opacity: .22;
  transform: translateY(42px) scale(.965);
  filter: blur(2px);
}

.step.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.delay-1 { transition-delay: 120ms; }

@keyframes cardSwap {
  from {
    opacity: .42;
    transform: translateY(14px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes teacherSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes selectedPop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slotRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes linkGrow {
  to { width: 100%; }
}

@keyframes checkPop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes planSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes progressGrow {
  to { width: 86%; }
}

@keyframes galleryFlow {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 12px)); }
}

@keyframes heroIconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(-4deg); }
}

@keyframes cardFloatLeft {
  0%, 100% { transform: translateX(-118%) rotate(-14deg) translateY(0); }
  50% { transform: translateX(-118%) rotate(-11deg) translateY(-14px); }
}

@keyframes cardFloatCenter {
  0%, 100% { transform: translateX(-50%) rotate(-2deg) translateY(0); }
  50% { transform: translateX(-50%) rotate(1deg) translateY(-18px); }
}

@keyframes cardFloatRight {
  0%, 100% { transform: translateX(18%) rotate(12deg) translateY(0); }
  50% { transform: translateX(18%) rotate(9deg) translateY(-12px); }
}

@keyframes symbolFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.05); }
}

@keyframes ctaIconFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-6px) rotate(3deg); }
}

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

@media (max-width: 1380px) {
  .hero {
    width: min(100% - 64px, 1180px);
  }
  .hero h1 {
    max-width: 1180px;
  }
}

@media (max-width: 820px) {
  .header,
  .hero,
  .process,
  .ala-carte,
  .pricing,
  .faq,
  footer {
    width: min(100% - 28px, 560px);
  }
  .header {
    position: sticky;
    height: auto;
    padding: 12px 0;
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .brand { font-size: 20px; }
  .brand-mark { width: 26px; height: 26px; }
  .btn { min-height: 38px; padding: 0 12px; font-size: 12px; border-radius: 9px; }
  .header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
  }
  .hero {
    min-height: 0;
    gap: 28px;
    padding-top: 34px;
  }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(26px, 7.4vw, 38px);
    line-height: 1.08;
  }
  .hero-line {
    gap: 12px;
  }
  .hero-word {
    white-space: nowrap;
    justify-content: center;
    gap: 6px;
  }
  .hero-word svg {
    width: 22px;
    height: 22px;
  }
  .hero-word::after {
    left: 28px;
    bottom: -4px;
    height: 2px;
  }
  .hero-kicker {
    width: auto;
    margin: 22px 0 24px;
    font-size: 16px;
    line-height: 1.28;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-study-stack {
    width: min(360px, 100%);
    height: 170px;
    margin: 0 auto;
  }
  .study-card {
    width: 140px;
    height: 178px;
    border-radius: 16px;
    bottom: -42px;
  }
  .floating-symbol {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 28px;
  }
  .symbol-plus { top: 24px; left: 22px; }
  .symbol-minus { top: 42px; right: 20px; }
  .symbol-divide { bottom: 44px; left: 26px; }
  .symbol-times { bottom: 22px; right: 26px; }
  .notebook-card { gap: 14px; }
  .notebook-card svg,
  .lab-card svg { width: 42px; height: 42px; }
  .notebook-card span { width: 84px; height: 7px; }
  .notebook-card span:nth-child(3) { width: 66px; }
  .notebook-card span:nth-child(4) { width: 96px; }
  .testimonials,
  .process,
  .ala-carte,
  .gallery,
  .pricing,
  .faq { padding-top: 56px; padding-bottom: 56px; }
  h2 { font-size: 36px; }
  .lead { margin-top: 30px; font-size: 15px; }
  .process,
  .faq {
    grid-template-columns: 1fr;
  }
  .process {
    gap: 34px;
    text-align: center;
  }
  .process-title {
    position: static;
  }
  .process-title h2 {
    max-width: none;
    margin-inline: auto;
  }
  .soft-section { width: 100%; }
  .testimonial-grid,
  .service-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-grid {
    margin-top: 34px;
    gap: 14px;
  }
  .quote {
    min-height: auto;
    padding: 18px;
    border-radius: 12px;
  }
  .quote p {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.42;
  }
  .quote strong {
    font-size: 16px;
  }
  .avatar {
    width: 34px;
    height: 34px;
  }
  .process {
    padding-top: 60px;
    gap: 30px;
  }
  .testimonials h2,
  .process-title h2,
  .ala-carte h2,
  .pricing h2,
  .faq-copy h2 {
    max-width: 100%;
    margin-inline: auto;
    font-size: clamp(30px, 8.6vw, 36px);
    line-height: 1.08;
    text-align: center;
    overflow-wrap: anywhere;
  }
  .process-title h2 {
    font-size: clamp(30px, 8.6vw, 36px);
  }
  .steps {
    gap: 28px;
    padding-top: 0;
  }
  .step {
    min-height: 0;
    padding: 22px 16px;
    border-radius: 18px;
    text-align: left;
  }
  .step-icon {
    width: 32px;
    height: 32px;
  }
  .step h3 {
    margin: -32px 0 10px 44px;
    font-size: 21px;
    line-height: 1.15;
  }
  .step p {
    margin-left: 44px;
    font-size: 14px;
    line-height: 1.42;
  }
  .teacher-picker {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    border-radius: 18px;
  }
  .teacher-card {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    min-height: 56px;
    gap: 9px;
    padding: 8px 9px;
    border-radius: 13px;
  }
  .teacher-card > span {
    grid-column: auto;
    justify-self: end;
    padding: 6px 7px;
    font-size: 10px;
  }
  .teacher-card:nth-child(2),
  .teacher-card:nth-child(3) {
    margin-left: 0;
  }
  .teacher-avatar {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }
  .teacher-toolbar {
    align-items: center;
    flex-direction: row;
  }
  .teacher-toolbar span {
    font-size: 12px;
  }
  .teacher-toolbar strong {
    padding: 6px 8px;
    font-size: 10px;
  }
  .teacher-card h4 {
    font-size: 13px;
  }
  .teacher-card p {
    font-size: 11px;
  }
  .teacher-selected {
    padding: 10px 11px;
    font-size: 12px;
  }
  .schedule-picker,
  .one-to-one-flow {
    width: 100%;
    margin-top: 20px;
    border-radius: 18px;
  }
  .schedule-slots {
    grid-template-columns: 1fr;
  }
  .schedule-confirm {
    align-items: flex-start;
    font-size: 13px;
  }
  .flow-people {
    grid-template-columns: 1fr 48px 1fr;
    gap: 8px;
  }
  .flow-link {
    height: 42px;
    transform: none;
  }
  .flow-link svg {
    width: 30px;
    height: 30px;
    padding: 7px;
  }
  .flow-person {
    min-height: 62px;
    border-radius: 14px;
  }
  .flow-person strong {
    font-size: 16px;
  }
  .flow-plan p {
    padding: 10px 11px;
    font-size: 12px;
    line-height: 1.25;
  }
  .flow-progress {
    height: 7px;
    margin-top: 14px;
  }
  .service-grid {
    row-gap: 36px;
    column-gap: 20px;
    margin: 48px 0 40px;
  }
  .service {
    min-height: auto;
    padding: 24px 22px;
    text-align: left;
  }
  .service-icon {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }
  .service h3 {
    font-size: 21px;
  }
  .service p {
    font-size: 15px;
  }
  .success-card {
    width: 260px;
    min-height: 180px;
    padding: 22px;
  }
  .success-card strong {
    font-size: 38px;
  }
  .success-card p {
    font-size: 15px;
  }
  .gallery-track {
    margin-top: 48px;
    margin-left: -80px;
  }
  .pricing-grid {
    gap: 16px;
    margin-top: 42px;
  }
  .price-card {
    min-height: auto;
    padding: 28px 22px;
    border-radius: 18px;
  }
  .price-card.featured {
    border-width: 2px;
    padding-top: 58px;
  }
  .deal {
    height: 42px;
    font-size: 14px;
    border-radius: 16px 16px 0 0;
  }
  .price-card h3 {
    gap: 12px;
    font-size: 24px;
  }
  .plan-icon {
    width: 36px;
    height: 36px;
  }
  .price-card button {
    height: 46px;
    margin: 24px 0 26px;
    font-size: 15px;
  }
  .price-card .price-button {
    height: 46px;
    margin: 24px 0 26px;
    font-size: 15px;
  }
  .price-card ul {
    gap: 13px;
    padding-top: 22px;
  }
  .price-card li,
  .desc {
    font-size: 15px;
    line-height: 1.45;
  }
  .faq-copy > p {
    font-size: 17px;
  }
  .faq-list {
    margin-top: 44px;
  }
  .faq-item button {
    grid-template-columns: 46px 1fr 28px;
    min-height: 62px;
    gap: 10px;
    padding: 8px 12px 8px 10px;
    font-size: 16px;
  }
  .faq-item button strong {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }
  .faq-item p {
    padding: 0 52px;
    font-size: 15px;
  }
  .faq-item.active p {
    padding: 0 52px 18px 66px;
  }
  .faq-direct {
    margin-top: 36px;
  }
  footer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 50px;
  }
  footer nav,
  .policies { justify-content: flex-start; flex-wrap: wrap; }
  .legal-modal {
    padding: 14px;
    align-items: end;
  }
  .legal-panel {
    max-height: 84vh;
    border-radius: 20px;
    padding: 24px 20px;
  }
  .legal-panel h2 {
    font-size: 30px;
  }
  .legal-content h3 {
    font-size: 18px;
  }
  .legal-content p,
  .legal-content li {
    font-size: 14px;
  }
  .scroll-cta {
    bottom: 14px;
    min-height: 58px;
    gap: 10px;
    padding: 8px 12px 8px 8px;
    border-radius: 18px;
  }
  .scroll-cta-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
  .scroll-cta-icon svg {
    width: 26px;
    height: 26px;
  }
  .scroll-cta-badge {
    display: none;
  }
  .scroll-cta-text {
    font-size: 14px;
    line-height: 1.2;
  }
  .scroll-cta-arrow {
    width: 34px;
    height: 34px;
    font-size: 24px;
  }
}

@media (max-width: 420px) {
  .header,
  .hero,
  .process,
  .ala-carte,
  .pricing,
  .faq,
  footer {
    width: min(100% - 24px, 360px);
  }
  .header {
    justify-content: center;
    background: rgba(255, 255, 255, .94);
  }
  .header .brand,
  .header .btn {
    margin: 0 auto;
  }
  .hero h1 {
    font-size: 27px;
    line-height: 1.08;
  }
  .hero-kicker {
    font-size: 15px;
  }
  h2 {
    font-size: 30px;
    line-height: 1.12;
  }
  .hero-word svg {
    width: 16px;
    height: 16px;
  }
  .hero-line {
    gap: 8px;
  }
  .hero-word {
    gap: 4px;
  }
  .pill {
    font-size: 12px;
    min-height: 24px;
    padding: 0 9px;
  }
  .price-card h3 {
    font-size: 22px;
  }
  .pricing-grid {
    gap: 14px;
    margin-top: 36px;
  }
  .price-card {
    min-height: auto;
    padding: 24px 20px;
    border-radius: 18px;
  }
  .price-card.featured {
    padding-top: 58px;
  }
  .deal {
    height: 42px;
    font-size: 14px;
  }
  .service p,
  .quote p,
  .price-card li,
  .desc,
  .faq-item button {
    font-size: 14px;
  }
  .money {
    font-size: 42px;
  }
  .faq-item.active p {
    padding-left: 58px;
  }
  .faq-list {
    gap: 12px;
    margin-top: 36px;
  }
  .faq-item button {
    min-height: 60px;
    padding: 0 16px;
    gap: 14px;
  }
  .faq-item.active p {
    padding: 0 16px 18px 62px;
    font-size: 14px;
  }
}
