:root {
  --ink: #173a34;
  --ink-soft: #45645e;
  --teal: #139b78;
  --teal-dark: #08735a;
  --mint: #d9f4e8;
  --mint-light: #effaf5;
  --cream: #fff8e8;
  --yellow: #ffc95c;
  --coral: #ff8c72;
  --white: #fffefb;
  --line: #cfe9df;
  --shadow: 0 28px 80px rgba(18, 75, 61, 0.14);
  --shadow-soft: 0 14px 38px rgba(18, 75, 61, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  border-radius: 12px;
  background: var(--ink);
  color: white;
  padding: 10px 16px;
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(207, 233, 223, 0.72);
  background: rgba(255, 254, 251, 0.91);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.brand small {
  border-left: 1px solid var(--line);
  margin-left: 4px;
  padding-left: 14px;
  color: var(--teal-dark);
  font-size: 10px;
  letter-spacing: 0.15em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px 12px 12px 4px;
  background: var(--teal);
  box-shadow: inset -4px -4px 0 rgba(0, 0, 0, 0.08);
  color: white;
  font-size: 20px;
}

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

.desktop-nav a {
  color: #365750;
  font-size: 13px;
  font-weight: 800;
}

.desktop-nav a:hover {
  color: var(--teal);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 12px 20px;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-dark {
  min-height: 42px;
  border-radius: 13px;
  background: var(--ink);
  color: white;
  padding: 10px 16px;
  font-size: 13px;
}

.button-primary {
  background: var(--teal);
  box-shadow: 0 14px 32px rgba(19, 155, 120, 0.24);
  color: white;
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.button-light {
  background: white;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.mobile-menu {
  display: none;
  margin-left: auto;
}

.mobile-menu summary {
  display: grid;
  width: 42px;
  height: 42px;
  cursor: pointer;
  list-style: none;
  place-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.mobile-menu nav {
  position: absolute;
  top: 68px;
  right: 14px;
  left: 14px;
  display: grid;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
  padding: 12px;
}

.mobile-menu nav a {
  border-radius: 11px;
  padding: 11px 13px;
  font-size: 13px;
  font-weight: 850;
}

.mobile-menu nav a:last-child {
  background: var(--ink);
  color: white;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 15%, rgba(255, 201, 92, 0.24), transparent 24%),
    linear-gradient(145deg, var(--cream), #f6fcf8 62%, var(--mint-light));
  padding: 94px 0 90px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb-one {
  top: 80px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: rgba(217, 244, 232, 0.72);
}

.hero-orb-two {
  bottom: -190px;
  left: -150px;
  width: 380px;
  height: 380px;
  background: rgba(255, 140, 114, 0.11);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 74px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.15em;
}

.eyebrow span {
  color: var(--coral);
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(3.4rem, 5.6vw, 5.55rem);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.hero h1 span {
  display: block;
  color: var(--teal);
}

.hero-lead {
  max-width: 590px;
  margin: 25px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 21px;
  margin-top: 27px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-points b {
  color: var(--teal);
}

.class-visual {
  position: relative;
  min-height: 520px;
}

.live-window {
  position: absolute;
  inset: 35px 0 32px 15px;
  overflow: hidden;
  border: 1px solid rgba(207, 233, 223, 0.95);
  border-radius: 30px;
  background: white;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.window-top {
  display: grid;
  min-height: 64px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 0 21px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 850;
}

.live-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: #fff0ec;
  color: #a43b28;
  padding: 6px 10px;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.09em;
}

.live-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255, 140, 114, 0.14);
}

.window-menu {
  letter-spacing: 0.16em;
}

.class-stage {
  display: grid;
  min-height: 350px;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 13px;
  background: #eef7f3;
  padding: 15px;
}

.tutor-frame {
  display: flex;
  align-items: flex-end;
  border-radius: 20px;
  background: linear-gradient(150deg, #184d43, #0d2f29);
  color: white;
  padding: 20px;
}

.tutor-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: var(--teal);
  font-size: 22px;
  font-weight: 950;
}

.tutor-frame > div:last-child {
  margin-left: 12px;
}

.tutor-frame small,
.tutor-frame strong {
  display: block;
}

.tutor-frame small {
  margin-bottom: 3px;
  color: #a6d8c9;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.tutor-frame strong {
  font-size: 12px;
  line-height: 1.35;
}

.board {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border-radius: 20px;
  background: var(--ink);
  color: white;
  padding: 24px;
  text-align: center;
}

.board-tag {
  border-radius: 999px;
  background: rgba(217, 244, 232, 0.12);
  color: #9ce0cb;
  padding: 5px 9px;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.board p {
  margin: 23px 0 15px;
  color: var(--yellow);
  font-family: Georgia, serif;
  font-size: 32px;
  font-style: italic;
}

.board div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.board div span {
  color: #b7d8cf;
  text-decoration: line-through;
}

.board div strong {
  border-bottom: 2px solid var(--coral);
  font-size: 21px;
}

.class-toolbar {
  display: grid;
  min-height: 72px;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 850;
  text-align: center;
}

.class-toolbar span {
  display: grid;
  gap: 3px;
}

.class-toolbar b {
  color: var(--teal);
  font-size: 16px;
}

.question-float,
.understand-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  box-shadow: var(--shadow-soft);
  padding: 12px 15px;
}

.question-float {
  top: 7px;
  right: -22px;
}

.understand-float {
  bottom: 0;
  left: -24px;
}

.question-float > span,
.understand-float > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--yellow);
  font-weight: 950;
}

.understand-float > span {
  background: var(--coral);
  color: white;
}

.question-float small,
.question-float strong,
.understand-float small,
.understand-float strong {
  display: block;
}

.question-float small,
.understand-float small {
  color: var(--ink-soft);
  font-size: 7px;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.question-float strong,
.understand-float strong {
  font-size: 11px;
}

.section {
  padding: 104px 0;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 44px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.flow-copy h2,
.closing h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4vw, 4rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.section-heading > p:last-child,
.flow-copy > p {
  margin: 19px 0 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.benefits {
  background: white;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.benefit-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #fbfefc;
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.benefit-card.featured {
  background: var(--ink);
  color: white;
}

.card-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #a7c3bb;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: var(--teal);
  color: white;
  font-size: 20px;
  font-weight: 950;
}

.card-icon.yellow {
  background: var(--yellow);
  color: var(--ink);
}

.card-icon.coral {
  background: var(--coral);
}

.card-icon.mint {
  background: var(--mint);
  color: var(--teal-dark);
}

.benefit-card h3 {
  margin: 54px 0 10px;
  font-size: 21px;
  letter-spacing: -0.035em;
}

.benefit-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.benefit-card.featured p {
  color: #bcd4cd;
}

.flow-section {
  background: var(--mint-light);
}

.flow-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: 90px;
}

.flow-copy {
  position: sticky;
  top: 130px;
}

.text-link {
  display: inline-block;
  margin-top: 27px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
}

.flow-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  border: 1px solid rgba(207, 233, 223, 0.92);
  border-radius: 23px;
  background: white;
  box-shadow: var(--shadow-soft);
  padding: 27px;
}

.flow-list li > span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 16px;
  background: var(--cream);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
}

.flow-list small {
  color: var(--teal);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.13em;
}

.flow-list h3 {
  margin: 3px 0 5px;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.flow-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.formats {
  background: var(--cream);
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.format-grid article {
  min-height: 350px;
  border: 1px solid rgba(224, 219, 196, 0.9);
  border-radius: 27px;
  background: white;
  box-shadow: 0 14px 38px rgba(96, 82, 44, 0.08);
  padding: 31px;
}

.format-symbol {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin-bottom: 52px;
  border-radius: 19px;
  background: var(--teal);
  box-shadow: 0 13px 25px rgba(19, 155, 120, 0.2);
  color: white;
  font-size: 23px;
  font-weight: 950;
}

.format-symbol.yellow {
  background: var(--yellow);
  color: var(--ink);
}

.format-symbol.coral {
  background: var(--coral);
}

.format-grid small {
  color: var(--teal-dark);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.13em;
}

.format-grid h3 {
  margin: 4px 0 9px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.format-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.quote-section {
  background: var(--ink);
}

.quote-card {
  position: relative;
  text-align: center;
}

.quote-mark {
  color: var(--yellow);
  font-family: Georgia, serif;
  font-size: 82px;
  line-height: 0.5;
}

.quote-card blockquote {
  max-width: 930px;
  margin: 28px auto;
  color: white;
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.quote-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #9ed6c6;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.quote-line span {
  width: 36px;
  height: 2px;
  background: var(--coral);
}

.faq-section {
  background: white;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfefc;
  padding: 0 20px;
}

.accordion summary {
  display: flex;
  min-height: 68px;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  font-weight: 900;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary span {
  color: var(--teal);
  font-size: 22px;
}

.accordion details[open] summary span {
  transform: rotate(45deg);
}

.accordion details p {
  margin: -4px 36px 19px 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.closing {
  padding: 20px 0 100px;
}

.closing-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: var(--teal);
  color: white;
  padding: 74px 34px;
  text-align: center;
}

.closing-card .eyebrow {
  color: #c6f3e5;
}

.closing-card h2 {
  max-width: 760px;
  margin-inline: auto;
}

.closing-card > p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 20px auto 27px;
  color: #d3f3e9;
}

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

.closing-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.closing-shape.one {
  top: -120px;
  left: -70px;
  width: 300px;
  height: 300px;
}

.closing-shape.two {
  right: -80px;
  bottom: -170px;
  width: 380px;
  height: 380px;
}

footer {
  border-top: 1px solid var(--line);
  background: var(--mint-light);
  padding: 50px 0 27px;
}

.footer-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.footer-wrap > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-wrap > div {
  display: flex;
  gap: 18px;
  font-size: 12px;
  font-weight: 850;
}

.footer-wrap > div a:hover {
  color: var(--teal);
}

.footer-wrap > small {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 22px;
  color: #6c8780;
  font-size: 10px;
}

@media (max-width: 980px) {
  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-grid,
  .flow-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 46px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .class-visual {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-copy {
    position: static;
    max-width: 700px;
  }

  .format-grid {
    grid-template-columns: 1fr;
  }

  .format-grid article {
    min-height: auto;
  }

  .format-symbol {
    margin-bottom: 35px;
  }

  .faq-grid {
    gap: 20px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav-wrap {
    min-height: 68px;
  }

  .brand {
    font-size: 20px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px 10px 10px 3px;
    font-size: 17px;
  }

  .hero {
    padding: 64px 0 58px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-points {
    display: grid;
  }

  .class-visual {
    min-height: 430px;
  }

  .live-window {
    inset: 28px 0 27px;
    border-radius: 22px;
    transform: none;
  }

  .window-top {
    grid-template-columns: auto 1fr;
    padding: 0 14px;
  }

  .window-top > span:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .window-menu {
    display: none;
  }

  .class-stage {
    min-height: 278px;
    grid-template-columns: 1fr;
  }

  .tutor-frame {
    min-height: 85px;
  }

  .board {
    min-height: 170px;
  }

  .board p {
    margin: 12px 0 7px;
    font-size: 25px;
  }

  .class-toolbar {
    min-height: 62px;
  }

  .question-float {
    top: 0;
    right: 8px;
  }

  .understand-float {
    bottom: -2px;
    left: 8px;
  }

  .section {
    padding: 76px 0;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: 280px;
  }

  .flow-list li {
    grid-template-columns: 46px 1fr;
    gap: 14px;
    padding: 20px;
  }

  .flow-list li > span {
    width: 42px;
    height: 42px;
  }

  .quote-card blockquote {
    font-size: 1.75rem;
  }

  .closing-card {
    border-radius: 25px;
    padding: 55px 22px;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-wrap > div {
    flex-wrap: wrap;
  }

  .footer-wrap > small {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
