:root {
  --bg: #686446;
  --ink: #ffffff;
  --panel: #35393d;
  --panel-soft: #434847;
  --lime: #83d10b;
  --lime-dark: #4f9f00;
  --gold: #d6bc6c;
  --teal: #178a86;
  --muted: #d9ded0;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 22px clamp(18px, 4vw, 64px);
  background: rgba(53, 57, 61, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.brand img {
  width: 381px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a,
.header-actions a {
  text-decoration: none;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.84);
}

.main-nav a:hover {
  color: var(--lime);
}

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

.link-button,
.primary-action,
.secondary-action,
.wide-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 7px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
}

.link-button,
.primary-action,
.wide-action {
  color: #fff;
  background: linear-gradient(180deg, var(--lime), var(--lime-dark));
  box-shadow: 0 12px 28px rgba(52, 95, 0, 0.3);
}

.link-button.ghost,
.secondary-action {
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(360px, 1.14fr);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(44px, 7vw, 92px) clamp(20px, 5vw, 78px) 84px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 150px;
  background: linear-gradient(0deg, rgba(53, 57, 61, 0.48), transparent);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
  animation: heroCopyDrop 0.92s cubic-bezier(0.18, 0.9, 0.24, 1.18) both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.92;
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  font-weight: 900;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.hero-text,
.section-copy p,
.showcase-copy p,
.teacher-band p,
.steps p,
.feature-grid p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions,
.teacher-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-stage {
  position: relative;
  min-height: 470px;
  isolation: isolate;
}

.office-shadow {
  position: absolute;
  right: -5%;
  bottom: 16px;
  width: min(820px, 112%);
  filter: drop-shadow(0 44px 40px rgba(0, 0, 0, 0.5));
}

.office-sequence {
  opacity: 0;
  transform-origin: 54% 72%;
  animation: officeEnterExit 12s ease-in-out infinite;
}

.office-sequence-1 {
  animation-delay: 0s;
}

.office-sequence-2 {
  animation-delay: 4s;
}

.office-sequence-3 {
  animation-delay: 8s;
}

.hero-panel {
  position: absolute;
  z-index: 3;
  width: min(230px, 46%);
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(53, 57, 61, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.hero-panel strong {
  position: relative;
  z-index: 2;
  display: inline-block;
  font-size: 22px;
  color: var(--lime);
}

.animated-value.value-pop {
  animation: valuePop 0.46s cubic-bezier(0.16, 1.2, 0.3, 1) both;
}

.hero-particle {
  position: absolute;
  z-index: 1;
  left: var(--particle-x);
  top: var(--particle-y);
  width: var(--particle-size);
  height: var(--particle-size);
  border-radius: 50%;
  background: var(--particle-color);
  box-shadow: 0 0 14px var(--particle-color);
  pointer-events: none;
  animation: heroParticleRise 0.92s ease-out forwards;
}

.panel-money {
  left: 4%;
  top: 12%;
}

.panel-month {
  right: 2%;
  bottom: 12%;
}

.intro-band,
.teacher-band,
.steps-section {
  padding: clamp(54px, 8vw, 98px) clamp(20px, 5vw, 78px);
}

.intro-band,
.steps-section {
  background: #35393d;
}

.section-copy {
  max-width: 820px;
}

.feature-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.feature-grid article,
.steps article {
  min-height: 220px;
  padding: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-grid span,
.steps strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}

.feature-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 20px;
  border-radius: 7px;
  object-fit: cover;
  background: #24272a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.expandable-image {
  cursor: zoom-in;
  transition: transform 0.24s ease, border-color 0.24s ease, filter 0.24s ease;
}

.expandable-image:hover,
.expandable-image:focus-visible {
  border-color: var(--lime);
  filter: brightness(1.1);
  transform: translateY(-3px);
  outline: none;
}

.rotating-feature-image.is-changing {
  animation: featureImageSwap 0.62s ease both;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(0, 0, 0, 0.78);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox img {
  max-width: min(1180px, 94vw);
  max-height: 86vh;
  border-radius: 8px;
  background: #202326;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  transform: scale(0.82);
  transition: transform 0.28s cubic-bezier(0.16, 1.16, 0.3, 1);
}

.image-lightbox.is-open img {
  transform: scale(1);
}

.image-lightbox img.is-changing {
  animation: lightboxImageSwap 0.28s ease both;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--lime);
  outline: none;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 2;
  width: 58px;
  height: 72px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  font-size: 58px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: var(--lime);
  outline: none;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.86fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(54px, 8vw, 98px) clamp(20px, 5vw, 78px);
}

.showcase-visual {
  padding: clamp(18px, 3vw, 34px);
  border-radius: 8px;
  background: #1e2022;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: #fff;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.18);
}

.teacher-band {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.wide-action {
  width: min(100%, 420px);
  margin-top: 28px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 34px clamp(20px, 5vw, 78px);
  background: #1f2225;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer img {
  width: 96px;
  margin-bottom: 8px;
}

.site-footer p,
.site-footer address {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  line-height: 1.55;
}

.site-footer a {
  color: var(--lime);
  font-weight: 900;
  text-decoration: none;
}

.credits {
  text-align: right;
}

@keyframes floatOffice {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes officeEnterExit {
  0% {
    opacity: 0;
    transform: translateX(64px) translateY(18px) scale(0.88);
  }
  8% {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
  }
  28% {
    opacity: 1;
    transform: translateX(0) translateY(-10px) scale(1.015);
  }
  35% {
    opacity: 0;
    transform: translateX(-64px) translateY(14px) scale(0.92);
  }
  100% {
    opacity: 0;
    transform: translateX(-64px) translateY(14px) scale(0.92);
  }
}

@keyframes heroCopyDrop {
  0% {
    opacity: 0;
    transform: translateY(-120px) scale(0.96);
  }
  62% {
    opacity: 1;
    transform: translateY(18px) scale(1.02);
  }
  78% {
    transform: translateY(-10px) scale(0.995);
  }
  90% {
    transform: translateY(5px) scale(1.005);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes valuePop {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.74);
    filter: brightness(1);
  }
  58% {
    opacity: 1;
    transform: translateY(-4px) scale(1.18);
    filter: brightness(1.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
}

@keyframes heroParticleRise {
  0% {
    opacity: 0.95;
    transform: translate(0, 0) scale(0.7);
  }
  100% {
    opacity: 0;
    transform: translate(var(--particle-drift), -54px) scale(1.35);
  }
}

@keyframes featureImageSwap {
  0% {
    opacity: 0;
    transform: scale(0.94);
  }
  55% {
    opacity: 1;
    transform: scale(1.025);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes lightboxImageSwap {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav,
  .header-actions {
    display: none;
    width: 100%;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-actions {
    display: flex;
  }

  .main-nav,
  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero-stage {
    min-height: 380px;
  }

  .office-shadow {
    right: 0;
    width: 100%;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .teacher-band,
  .site-footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .credits {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 72px;
  }

  .brand img {
    width: 96px;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-stage {
    min-height: 290px;
  }

  .hero-panel {
    position: relative;
    display: inline-block;
    width: calc(50% - 8px);
    margin-top: 210px;
  }

  .panel-money,
  .panel-month {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .hero-panel strong {
    font-size: 17px;
  }
}
