:root {
  --forest: #064e3b;
  --pine: #0f6b4f;
  --leaf: #1f9d63;
  --mint: #dff7eb;
  --sage: #edf7ef;
  --lime: #b8e66c;
  --ink: #11231b;
  --muted: #5d7068;
  --line: #cce6d8;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(6, 78, 59, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfefb;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.admission-toggle {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admission-popup {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  max-width: min(620px, calc(100vw - 28px));
  padding: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--forest), var(--leaf));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(6, 78, 59, 0.28);
  animation: noticeIn 480ms ease both;
}

.admission-popup span,
.admission-popup strong {
  display: block;
}

.admission-popup span {
  color: var(--lime);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admission-popup strong {
  line-height: 1.35;
}

.admission-popup a,
.admission-popup label {
  display: grid;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  border-radius: 999px;
  font-weight: 800;
}

.admission-popup a {
  padding: 0 16px;
  color: var(--forest);
  background: var(--white);
}

.admission-popup label {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.admission-toggle:checked + .admission-popup {
  display: none;
}

@keyframes noticeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(251, 254, 251, 0.9);
  border-bottom: 1px solid rgba(204, 230, 216, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--forest), var(--leaf));
  border-radius: 50%;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  color: #294238;
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  color: var(--forest);
  border-color: var(--leaf);
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--white);
  background: var(--forest);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.section,
.section-band,
.trust-strip {
  padding-inline: clamp(18px, 4vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(310px, 0.96fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  min-height: calc(100svh - 80px);
  padding-top: 46px;
  padding-bottom: 64px;
  background:
    radial-gradient(circle at 85% 14%, rgba(184, 230, 108, 0.28), transparent 32%),
    linear-gradient(160deg, #f3fbf3 0%, #e6f8ed 52%, #f9fdf8 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--pine);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--forest);
  font-size: clamp(3.1rem, 8vw, 7.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--forest);
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 28px;
  color: #2e4e43;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button,
.course-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary,
.course-card a {
  color: var(--white);
  background: var(--forest);
}

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

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 660px;
  margin: 0;
}

.quick-stats div,
.trust-strip div,
.story-panel,
.video-grid article,
.quality-grid article,
.course-card,
.rank-highlight,
.rank-list article,
.contact-panel {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(6, 78, 59, 0.07);
}

.quick-stats div {
  padding: 18px;
}

.quick-stats dt {
  color: var(--forest);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.quick-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(6, 78, 59, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(6, 78, 59, 0.92), rgba(31, 157, 99, 0.86)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
  box-shadow: var(--shadow);
}

.hero-visual::before {
  position: absolute;
  inset: 42px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
}

.microscope {
  position: absolute;
  right: 50px;
  bottom: 58px;
  width: 280px;
  height: 370px;
}

.lens,
.arm,
.stage,
.base {
  position: absolute;
  background: #ecfff4;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.lens {
  top: 34px;
  left: 88px;
  width: 142px;
  height: 54px;
  border-radius: 999px;
  transform: rotate(-27deg);
}

.arm {
  top: 78px;
  left: 118px;
  width: 82px;
  height: 188px;
  border-radius: 60px 60px 18px 18px;
  transform: rotate(28deg);
}

.stage {
  right: 24px;
  bottom: 94px;
  width: 210px;
  height: 30px;
  border-radius: 999px;
}

.base {
  right: 12px;
  bottom: 24px;
  width: 240px;
  height: 54px;
  border-radius: 999px 999px 18px 18px;
}

.cell {
  position: absolute;
  border-radius: 50%;
  background: rgba(184, 230, 108, 0.92);
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.24), 0 24px 60px rgba(0, 0, 0, 0.16);
}

.cell-one {
  top: 84px;
  left: 54px;
  width: 108px;
  height: 108px;
}

.cell-two {
  right: 56px;
  top: 82px;
  width: 72px;
  height: 72px;
  background: rgba(223, 247, 235, 0.86);
}

.cell-three {
  left: 82px;
  bottom: 118px;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.72);
}

.dna-card {
  position: absolute;
  left: 42px;
  bottom: 42px;
  display: grid;
  gap: 9px;
  width: 158px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.dna-card span {
  display: block;
  height: 10px;
  background: linear-gradient(90deg, #ecfff4 0 40%, var(--lime) 40% 62%, #ecfff4 62% 100%);
  border-radius: 999px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: -36px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.trust-strip div {
  padding: 22px;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--forest);
  font-size: 1rem;
}

.trust-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding-top: 86px;
  padding-bottom: 86px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  flex: 0 0 190px;
}

.section-heading.compact {
  align-items: start;
  justify-content: start;
  display: block;
}

.toppers {
  padding-top: 72px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.video-grid article {
  overflow: hidden;
}

.video-grid video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05291f;
  object-fit: cover;
}

.video-grid h3,
.video-grid p {
  margin-right: 22px;
  margin-left: 22px;
}

.video-grid h3 {
  margin-top: 20px;
}

.video-grid p {
  margin-bottom: 22px;
  color: var(--muted);
}

.about-grid,
.success-layout,
.contact-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.story-panel {
  padding: clamp(24px, 4vw, 38px);
}

.story-panel p {
  color: var(--muted);
}

.story-panel p:last-child {
  margin-bottom: 0;
}

.story-panel.muted {
  background: var(--sage);
}

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

.quality-grid article {
  min-height: 214px;
  padding: 24px;
}

.quality-grid p,
.course-card p,
.rank-highlight p,
.contact-panel p {
  color: var(--muted);
}

.icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--forest);
  background: var(--mint);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
}

.courses {
  background:
    linear-gradient(180deg, rgba(6, 78, 59, 0.04), rgba(31, 157, 99, 0.1)),
    #f5fbf7;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.course-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.course-card.featured {
  color: var(--white);
  background: linear-gradient(150deg, var(--forest), var(--pine));
  border-color: rgba(255, 255, 255, 0.18);
}

.course-card.featured h3,
.course-card.featured p,
.course-card.featured .course-topline span,
.course-card.featured .course-topline strong {
  color: var(--white);
}

.course-card.featured a {
  color: var(--forest);
  background: var(--lime);
}

.course-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.course-topline span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.course-topline strong {
  color: var(--forest);
  white-space: nowrap;
}

.course-card p {
  flex: 1;
}

.course-card a {
  align-self: flex-start;
  min-height: 42px;
  margin-top: 16px;
  padding-inline: 16px;
  font-size: 0.9rem;
}

.rank-highlight,
.rank-list article {
  padding: 24px;
}

.rank-highlight {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px;
  background: var(--mint);
}

.rank-highlight p {
  color: #27483b;
  font-size: 1.12rem;
}

.rank-highlight .button {
  align-self: flex-start;
}

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

.rank-list article {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  align-items: center;
}

.rank-list strong {
  color: var(--forest);
}

.rank-list span {
  color: var(--muted);
}

.contact {
  background:
    radial-gradient(circle at 14% 18%, rgba(184, 230, 108, 0.2), transparent 28%),
    linear-gradient(135deg, #eefaf0, #dff7eb);
}

.contact-panel {
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
}

address {
  display: grid;
  gap: 10px;
  margin: 0;
  font-style: normal;
}

address a,
address span {
  display: block;
  padding: 12px 14px;
  color: #244238;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

address span {
  font-weight: 500;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  background: #04382b;
}

.site-footer strong {
  color: var(--white);
}

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

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero,
  .about-grid,
  .success-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 440px;
  }

  .trust-strip,
  .video-grid,
  .quality-grid,
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-grid {
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand {
    min-width: 0;
  }

  .header-call {
    width: 100%;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 48px;
  }

  .hero-actions,
  .quick-stats,
  .trust-strip,
  .video-grid,
  .quality-grid,
  .course-grid {
    grid-template-columns: 1fr;
  }

  .admission-popup {
    left: 14px;
    right: 14px;
    grid-template-columns: 1fr auto;
  }

  .admission-popup a {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .hero-visual {
    min-height: 360px;
  }

  .microscope {
    right: 14px;
    bottom: 38px;
    transform: scale(0.78);
    transform-origin: bottom right;
  }

  .cell-one {
    left: 26px;
    top: 54px;
  }

  .dna-card {
    left: 22px;
    bottom: 24px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-heading {
    display: block;
  }

  .section-heading .eyebrow {
    flex: none;
  }

  .rank-list article {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    display: grid;
  }
}
