:root {
  --bg: #fbfcf7;
  --surface: #ffffff;
  --ink: #111713;
  --muted: #5d675f;
  --line: #e4eadc;
  --lemon: #d7f243;
  --green: #0d5a42;
  --green-deep: #07382c;
  --coral: #ff7a59;
  --blue: #246bfe;
  --shadow: 0 24px 80px rgba(15, 32, 25, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(228, 234, 220, 0.86);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 50px rgba(15, 32, 25, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 15px;
  background: var(--lemon);
  color: var(--green-deep);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: inset 0 -10px 22px rgba(13, 90, 66, 0.12);
}

.brand-logo {
  display: block;
  width: 44px;
  height: 44px;
  max-width: 44px;
  max-height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
  border-radius: 10px;
}

.brand strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #344039;
  font-size: 0.92rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover {
  background: #eff6e5;
  color: var(--green);
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: var(--green-deep);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 56, 44, 0.22);
}

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

.button-secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--green-deep);
}

.button-ghost {
  color: var(--green-deep);
}

.button-large {
  min-height: 54px;
  padding: 0 26px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--ink);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 46px;
  min-height: calc(100vh - 118px);
  align-items: center;
  padding: 64px 0 46px;
}

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

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.4vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero-text,
.section-heading p,
.about-copy p,
.student-content p,
.site-footer p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-text {
  max-width: 700px;
  margin-bottom: 28px;
}

.hero-note {
  margin: 16px 0 0;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 800;
}

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

.phone-shell {
  position: absolute;
  inset: 14px 64px 34px 64px;
  min-width: 280px;
  border: 1px solid #dfe8d4;
  border-radius: 44px;
  background:
    linear-gradient(160deg, rgba(215, 242, 67, 0.48), rgba(255, 255, 255, 0) 36%),
    #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 24px;
}

.phone-top {
  width: 96px;
  height: 8px;
  margin: 0 auto 52px;
  border-radius: 999px;
  background: #d6dfce;
}

.app-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 32, 25, 0.1);
}

.app-card-main {
  padding: 26px;
}

.tag {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #edf8d4;
  color: var(--green);
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 800;
}

.app-card-main h2 {
  margin-bottom: 12px;
  font-size: 2.2rem;
}

.app-card-main p,
.floating-note span,
.metric-row span {
  color: var(--muted);
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.metric-row div {
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f8fbf2;
  padding: 18px;
}

.metric-row strong {
  display: block;
  color: var(--green-deep);
  font-size: 2rem;
  line-height: 1;
}

.mini-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.mini-list span {
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(90deg, #eef5e6 0 34%, #ffffff 34% 100%);
}

.floating-note {
  position: absolute;
  display: grid;
  gap: 2px;
  width: 214px;
  border: 1px solid rgba(228, 234, 220, 0.92);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  padding: 16px;
  box-shadow: 0 20px 50px rgba(15, 32, 25, 0.12);
  backdrop-filter: blur(16px);
  animation: float 5.5s ease-in-out infinite;
}

.note-one {
  top: 82px;
  right: 10px;
}

.note-two {
  bottom: 82px;
  left: 10px;
  animation-delay: -2s;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 96px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--line);
  overflow: hidden;
}

.feature-strip span {
  display: grid;
  min-height: 82px;
  place-items: center;
  background: #ffffff;
  color: var(--green-deep);
  font-weight: 800;
  text-align: center;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.feature-card {
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  padding: 26px;
  box-shadow: 0 16px 44px rgba(15, 32, 25, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: #d5e963;
  box-shadow: 0 24px 60px rgba(15, 32, 25, 0.12);
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 58px;
  border-radius: 18px;
  background: var(--green-deep);
  color: var(--lemon);
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-card p {
  color: var(--muted);
}

.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
  padding: 120px 0 96px;
}

.about-panel {
  position: sticky;
  top: 128px;
}

.about-copy {
  border-left: 1px solid var(--line);
  padding-left: 38px;
}

.student-section {
  margin-bottom: 96px;
  border-radius: 32px;
  background:
    linear-gradient(120deg, rgba(7, 56, 44, 0.94), rgba(13, 90, 66, 0.88)),
    var(--green-deep);
  color: #ffffff;
  overflow: hidden;
}

.student-content {
  max-width: 760px;
  padding: 70px;
}

.student-content .eyebrow,
.student-content p {
  color: #def48d;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 28px;
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.site-footer p {
  max-width: 460px;
  margin: 18px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 800;
}

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

.policy-page {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.policy-page > a {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green);
  font-weight: 800;
}

.policy-page h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 8vw, 4.25rem);
}

.policy-page h2 {
  margin: 34px 0 10px;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.policy-page p {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

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

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-actions {
    grid-column: 1 / -1;
    display: none;
  }

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

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }

  .site-nav a {
    background: #f5f8ef;
  }

  .header-actions {
    justify-content: stretch;
  }

  .header-actions .button {
    flex: 1;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 64px;
  }

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

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

  .about {
    padding-top: 84px;
  }

  .about-panel {
    position: static;
  }

  .about-copy {
    border-left: 0;
    padding-left: 0;
  }

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

@media (max-width: 620px) {
  .site-header,
  .section,
  .feature-strip,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    margin-top: 12px;
    border-radius: 20px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    flex-basis: 40px;
  }

  h1 {
    font-size: clamp(2.82rem, 16vw, 4.8rem);
  }

  .hero {
    gap: 34px;
    padding: 52px 0 34px;
  }

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

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

  .phone-shell {
    inset: 0 6px 34px;
    border-radius: 34px;
    padding: 20px;
  }

  .phone-top {
    margin-bottom: 34px;
  }

  .app-card-main h2 {
    font-size: 1.8rem;
  }

  .floating-note {
    width: 184px;
  }

  .note-one {
    top: 34px;
    right: 0;
  }

  .note-two {
    bottom: 20px;
    left: 0;
  }

  .feature-strip {
    grid-template-columns: 1fr;
    margin-bottom: 70px;
  }

  .feature-card {
    min-height: 240px;
  }

  .feature-icon {
    margin-bottom: 34px;
  }

  .student-content {
    padding: 44px 24px;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
