:root {
  --green-950: #063d24;
  --green-900: #075c35;
  --green-800: #08713f;
  --green-700: #0b8b4c;
  --green-100: #e8f7ee;
  --green-50: #f3fbf6;
  --gold-500: #f3b30c;
  --gold-400: #ffd24a;
  --gold-100: #fff4c7;
  --ink: #173127;
  --muted: #63776d;
  --white: #ffffff;
  --soft: #f7fbf8;
  --line: rgba(7, 92, 53, 0.13);
  --shadow: 0 24px 80px rgba(6, 61, 36, 0.14);
  --radius: 28px;
  --radius-sm: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--soft);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.section-pad { padding: 96px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.navbar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; color: var(--green-900); letter-spacing: -0.03em; }
.brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 14px; }
.brand span { font-size: 1.35rem; }
.nav-links { display: flex; align-items: center; gap: 22px; color: #30483d; font-weight: 700; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--green-700); }
.nav-cta { padding: 12px 18px; border-radius: 999px; background: var(--green-900); color: white !important; box-shadow: 0 10px 26px rgba(7,92,53,.2); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--green-50); border-radius: 14px; padding: 11px; }
.menu-toggle span { display: block; height: 2px; background: var(--green-900); margin: 5px 0; border-radius: 99px; }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at top left, #fff9d8 0, transparent 30%), linear-gradient(135deg, #f7fff9 0%, #ffffff 52%, #effaf2 100%); }
.hero::before { content: ""; position: absolute; inset: auto -160px -240px auto; width: 560px; height: 560px; background: radial-gradient(circle, rgba(243,179,12,.25), transparent 65%); border-radius: 50%; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 60px; align-items: center; min-height: 700px; }
.eyebrow { color: var(--green-700); font-weight: 900; letter-spacing: .02em; text-transform: uppercase; font-size: .83rem; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 3px; border-radius: 99px; background: var(--gold-500); display: inline-block; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.055em; }
h1 { font-size: clamp(3rem, 7vw, 5.85rem); color: var(--green-950); margin-top: 18px; }
h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); color: var(--green-950); }
h3 { font-size: 1.25rem; color: var(--green-950); }
.hero-text, .section-heading p, .split-grid p, .pricing-section p { color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: linear-gradient(135deg, var(--green-900), var(--green-700)); color: var(--white); box-shadow: 0 18px 34px rgba(7,92,53,.22); }
.btn.secondary { color: var(--green-900); background: #fff; border: 1px solid var(--line); }
.btn.full { width: 100%; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trust-row div { background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: 0 10px 30px rgba(6,61,36,.06); }
.trust-row strong { display: block; color: var(--green-900); font-size: 1.08rem; }
.trust-row span { color: var(--muted); font-size: .9rem; }

.hero-visual { position: relative; min-height: 650px; display: grid; place-items: center; }
.orb { position: absolute; border-radius: 50%; filter: blur(.2px); animation: float 7s ease-in-out infinite; }
.orb-one { width: 190px; height: 190px; background: rgba(243,179,12,.35); right: 12%; top: 9%; }
.orb-two { width: 130px; height: 130px; background: rgba(8,113,63,.22); left: 6%; bottom: 16%; animation-delay: -2.5s; }
.phone-card { width: min(390px, 92vw); border-radius: 42px; padding: 16px; background: #062f1e; box-shadow: var(--shadow); position: relative; transform: rotate(2deg); }
.phone-top { width: 110px; height: 28px; border-radius: 0 0 18px 18px; background: #062f1e; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2; }
.app-screen { min-height: 590px; background: linear-gradient(180deg, #f9fff9, #eaf8ee); border-radius: 32px; padding: 40px 22px 22px; overflow: hidden; }
.app-head { display: flex; gap: 12px; align-items: center; background: var(--green-900); color: white; padding: 16px; border-radius: 24px; }
.app-head img { width: 42px; height: 42px; border-radius: 12px; background: white; }
.app-head span { display: block; opacity: .78; font-size: .85rem; }
.child-card { display: flex; align-items: center; gap: 12px; margin: 22px 0; padding: 16px; background: white; border-radius: 24px; box-shadow: 0 18px 40px rgba(6,61,36,.09); }
.avatar { width: 52px; height: 52px; background: linear-gradient(135deg, var(--gold-500), var(--gold-400)); color: var(--green-950); border-radius: 18px; display: grid; place-items: center; font-weight: 900; font-size: 1.3rem; }
.child-card span { color: var(--muted); font-size: .85rem; display: block; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.metric-grid div { background: white; padding: 16px; border-radius: 22px; border: 1px solid rgba(7,92,53,.07); }
.metric-grid strong, .metric-grid span { display: block; }
.metric-grid span { color: var(--muted); font-size: .8rem; }
.feed-card { margin: 18px 0; background: #fff; border-radius: 22px; padding: 16px; display: flex; gap: 12px; align-items: flex-start; }
.feed-card span { width: 40px; height: 40px; border-radius: 14px; background: var(--green-100); flex: 0 0 auto; }
.feed-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.screen-tabs { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; background: white; padding: 12px 16px; border-radius: 999px; box-shadow: 0 20px 40px rgba(6,61,36,.12); }
.screen-tabs span { width: 28px; height: 6px; border-radius: 99px; background: var(--green-100); }
.screen-tabs span:first-child { background: var(--green-800); }

.logo-strip { background: var(--green-900); color: white; }
.strip-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-weight: 800; }
.strip-inner span { opacity: .92; }

.section-heading { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-heading h2 { margin: 12px 0 16px; }
.feature-grid, .role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card, .role-card, .demo-card, details, .contact-form, .flow-card, .benefit-list, .video-shell { background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 50px rgba(6,61,36,.07); }
.feature-card { padding: 28px; transition: transform .22s ease, box-shadow .22s ease; }
.feature-card:hover, .role-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.icon { width: 52px; height: 52px; border-radius: 18px; background: linear-gradient(135deg, var(--green-100), #fff7cd); color: var(--green-900); display: grid; place-items: center; font-weight: 900; margin-bottom: 20px; }
.feature-card p, .role-card p, .demo-card p, details p { color: var(--muted); margin-bottom: 0; }

.split-section { background: #ffffff; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-grid.reverse { grid-template-columns: .9fr 1.1fr; }
.check-list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 800; color: #244639; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--green-100); color: var(--green-900); display: grid; place-items: center; font-size: .85rem; }
.flow-card { padding: 28px; display: grid; gap: 18px; }
.flow-year { padding: 24px; border-radius: 24px; display: grid; gap: 8px; }
.flow-year span { font-weight: 900; color: var(--muted); }
.flow-year strong { font-size: 2rem; color: var(--green-950); }
.flow-year em { font-style: normal; font-weight: 900; color: var(--green-800); }
.flow-year.old { background: #f3fff7; border: 1px solid var(--line); }
.flow-year.new { background: #fff8db; border: 1px solid rgba(243,179,12,.32); }
.flow-arrow { text-align: center; font-size: 2rem; color: var(--green-700); font-weight: 900; }
.flow-note { color: var(--muted); text-align: center; font-weight: 800; }

.roles { background: linear-gradient(180deg, var(--green-50), white); }
.role-card { padding: 26px; }
.video-shell { padding: 14px; overflow: hidden; }
.video-shell video { width: 100%; border-radius: 20px; aspect-ratio: 9/16; object-fit: cover; max-height: 620px; margin: 0 auto; background: var(--green-950); }
.mini-stats { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mini-stats div { background: var(--green-50); border-radius: 20px; padding: 18px; }
.mini-stats strong { display: block; color: var(--green-900); }
.mini-stats span { color: var(--muted); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.demo-card { padding: 14px; overflow: hidden; }
.demo-card video { border-radius: 20px; aspect-ratio: 16/9; width: 100%; object-fit: cover; background: var(--green-950); }
.demo-card h3 { margin: 18px 10px 4px; }
.demo-card p { margin: 0 10px 12px; }

.pricing-section { background: linear-gradient(135deg, var(--green-950), var(--green-800)); color: white; }
.pricing-section h2, .pricing-section .eyebrow, .pricing-section p { color: white; }
.pricing-section p { opacity: .85; }
.benefit-list { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); padding: 20px; display: grid; gap: 14px; box-shadow: none; }
.benefit-list div { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 14px; background: rgba(255,255,255,.12); padding: 16px; border-radius: 20px; }
.benefit-list span { color: var(--gold-400); font-weight: 900; }
.benefit-list p { margin: 0; }

.contact-section { background: #ffffff; }
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: start; }
.contact-points { display: grid; gap: 14px; margin-top: 26px; }
.contact-points div { background: var(--green-50); border: 1px solid var(--line); padding: 16px; border-radius: 18px; }
.contact-points strong, .contact-points span { display: block; }
.contact-points span { color: var(--muted); }
.contact-form { padding: 28px; display: grid; gap: 16px; }
.contact-form label { color: var(--green-950); font-weight: 900; display: grid; gap: 8px; }
.contact-form input, .contact-form textarea { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--green-50); outline: none; color: var(--ink); transition: border .2s ease, box-shadow .2s ease; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(11,139,76,.11); }
.form-status { min-height: 24px; margin: 0; font-weight: 800; }
.form-status.success { color: var(--green-800); }
.form-status.error { color: #b42318; }
.form-note { margin: 0; color: var(--muted); font-size: .9rem; }
.form-note code { background: var(--gold-100); padding: 2px 6px; border-radius: 8px; }

.faq-section { background: var(--green-50); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
details { padding: 22px; }
summary { cursor: pointer; font-weight: 900; color: var(--green-950); }

.site-footer { background: #062f1e; color: white; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr .6fr; gap: 28px; }
.footer-brand span { color: white; }
.footer-grid p { color: rgba(255,255,255,.7); max-width: 420px; }
.footer-grid div:not(:first-child) { display: grid; gap: 10px; align-content: start; }
.footer-grid strong { color: var(--gold-400); }
.footer-grid a { color: rgba(255,255,255,.72); }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.62); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-18px); } }

@media (max-width: 980px) {
  .hero-grid, .split-grid, .split-grid.reverse, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; }
  .hero-visual { min-height: auto; }
  .feature-grid, .role-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section-pad { padding: 70px 0; }
  .menu-toggle { display: block; }
  .nav-links { position: fixed; top: 78px; left: 18px; right: 18px; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 18px; display: none; flex-direction: column; align-items: stretch; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 10px 12px; }
  h1 { font-size: 3.05rem; }
  .trust-row, .feature-grid, .role-grid, .video-grid, .faq-grid, .mini-stats { grid-template-columns: 1fr; }
  .strip-inner { justify-content: center; text-align: center; padding: 18px 0; }
  .phone-card { transform: none; }
  .app-screen { min-height: 540px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Update: stronger green, school-first website content */
body { background: linear-gradient(180deg, #dff4e7 0%, #f3fbf6 32%, #e4f6eb 100%); }
.site-header { background: rgba(6, 61, 36, .94); border-bottom-color: rgba(255,255,255,.12); }
.brand, .nav-links { color: white; }
.nav-links a:hover { color: var(--gold-400); }
.nav-cta { background: var(--gold-500); color: var(--green-950) !important; box-shadow: 0 10px 26px rgba(243,179,12,.22); }
.menu-toggle { background: rgba(255,255,255,.14); }
.menu-toggle span { background: white; }
.hero { background: radial-gradient(circle at top right, rgba(255,210,74,.28), transparent 32%), linear-gradient(135deg, #063d24 0%, #075c35 48%, #0b8b4c 100%); color: white; }
.hero::before { background: radial-gradient(circle, rgba(255,210,74,.35), transparent 65%); }
.hero h1, .hero .hero-text, .hero .eyebrow { color: white; }
.hero .hero-text { opacity: .9; }
.hero .btn.secondary { background: rgba(255,255,255,.13); color: white; border-color: rgba(255,255,255,.25); }
.hero .trust-row div { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); box-shadow: none; backdrop-filter: blur(10px); }
.hero .trust-row strong { color: var(--gold-400); }
.hero .trust-row span { color: rgba(255,255,255,.78); }
.green-panel { background: linear-gradient(180deg, #e2f7ea 0%, #ccefd9 100%); }
.green-panel .feature-card { background: rgba(255,255,255,.82); }
.split-section { background: linear-gradient(135deg, #f3fbf6 0%, #d9f3e3 100%); }
.deep-green-section { background: linear-gradient(135deg, #064226 0%, #08713f 100%); color: white; }
.deep-green-section h2, .deep-green-section p, .deep-green-section .eyebrow { color: white; }
.deep-green-section p { opacity: .88; }
.deep-green-section .mini-stats div { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.deep-green-section .mini-stats strong { color: var(--gold-400); }
.deep-green-section .mini-stats span { color: rgba(255,255,255,.78); }
#videos { background: linear-gradient(180deg, #e9f8ef 0%, #f7fbf8 100%); }
.contact-section { background: linear-gradient(135deg, #dff4e7 0%, #ffffff 100%); }
.faq-section { background: #d9f3e3; }
.role-card, .feature-card, .demo-card, details, .contact-form, .flow-card, .benefit-list, .video-shell { border-color: rgba(7,92,53,.18); }
.school-card { background: rgba(255,255,255,.88); }
@media (max-width: 760px) {
  .nav-links { background: var(--green-950); border-color: rgba(255,255,255,.12); }
}

/* update: hero phone uses real app screen and no trust row */
.phone-image-card {
  padding: 14px;
}
.app-shot-wrap {
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(8,73,44,0.08);
}
.app-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

/* fix: keep hero phone on the right side on desktop/tablet */
@media (min-width: 861px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr) !important;
    align-items: center;
  }
  .hero-copy {
    grid-column: 1;
  }
  .hero-visual {
    grid-column: 2;
    min-height: 0;
    justify-self: end;
  }
  .phone-image-card {
    width: min(360px, 100%);
    margin-left: auto;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-visual {
    justify-self: center;
  }
}
