@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --green-950: #073d2b;
  --green-900: #0b5138;
  --green-800: #0f6948;
  --green-700: #128257;
  --green-600: #18a66e;
  --green-500: #28bd7d;
  --green-200: #bdebd4;
  --green-100: #dcf7e9;
  --green-50: #f1fbf6;
  --ink: #11241c;
  --muted: #5f7068;
  --line: #dce9e2;
  --white: #ffffff;
  --soft: #f7faf8;
  --warning: #f6b94a;
  --shadow-sm: 0 8px 24px rgba(7, 61, 43, 0.08);
  --shadow-lg: 0 24px 70px rgba(7, 61, 43, 0.14);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-sm { padding: 68px 0; }
.bg-soft { background: var(--soft); }
.bg-green { background: var(--green-950); color: white; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-800);
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; background: var(--green-600); border-radius: 50%; }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head.center { text-align: center; margin-inline: auto; }
h1, h2, h3, h4 {
  font-family: 'Manrope', system-ui, sans-serif;
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(42px, 6vw, 74px); }
h2 { font-size: clamp(32px, 4vw, 50px); }
h3 { font-size: 22px; }
p { margin: 0 0 18px; color: var(--muted); }
.lead { font-size: 19px; line-height: 1.7; }
.text-white p, .text-white { color: rgba(255,255,255,.82); }
.kicker { color: var(--green-700); font-weight: 700; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 9999; background: white; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.93);
  border-bottom: 1px solid rgba(220,233,226,.8);
  backdrop-filter: blur(16px);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.logo-mark { width: 40px; height: 40px; display: grid; place-items: center; background: var(--green-800); color: white; border-radius: 12px 12px 12px 4px; box-shadow: 0 8px 18px rgba(15,105,72,.22); }
.logo-mark svg { width: 23px; height: 23px; }
.logo span:last-child b { color: var(--green-700); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a { font-size: 15px; font-weight: 600; color: #33453d; transition: .2s ease; }
.nav-links > a:hover, .nav-links > a.active { color: var(--green-700); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.mobile-toggle { display: none; border: 0; background: transparent; padding: 8px; color: var(--green-950); }
.mobile-toggle svg { width: 26px; height: 26px; }

.btn {
  border: 1px solid transparent;
  border-radius: 13px;
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: var(--green-700); box-shadow: 0 10px 22px rgba(18,130,87,.23); }
.btn-primary:hover { background: var(--green-800); box-shadow: 0 14px 28px rgba(18,130,87,.27); }
.btn-secondary { color: var(--green-900); background: white; border-color: var(--line); }
.btn-secondary:hover { border-color: var(--green-600); }
.btn-ghost { color: var(--green-900); background: var(--green-50); }
.btn-white { background: white; color: var(--green-900); }
.btn-lg { min-height: 56px; padding: 0 26px; }
.btn-sm { min-height: 42px; padding: 0 15px; font-size: 14px; }
.btn-block { width: 100%; }
.arrow { transition: transform .2s ease; }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(3px); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 13% 20%, rgba(40,189,125,.12), transparent 25%),
    radial-gradient(circle at 90% 15%, rgba(24,166,110,.15), transparent 24%),
    linear-gradient(180deg, #fff 0%, #f4fcf7 100%);
  padding: 82px 0 74px;
}
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(18,130,87,.1); }
.hero::before { width: 440px; height: 440px; right: -210px; top: -180px; }
.hero::after { width: 320px; height: 320px; left: -200px; bottom: -180px; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 70px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 span { color: var(--green-700); }
.hero-copy .lead { max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #405148; }
.check { width: 21px; height: 21px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--green-100); color: var(--green-800); font-size: 12px; font-weight: 800; }

.match-card {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(189,235,212,.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}
.match-card::before { content: ''; position: absolute; width: 94px; height: 94px; background: var(--green-100); right: -26px; top: -25px; border-radius: 28px; transform: rotate(12deg); z-index: -1; }
.card-label { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.card-label h2 { font-size: 27px; margin: 0; }
.step-badge { font-size: 12px; font-weight: 700; color: var(--green-800); background: var(--green-50); padding: 7px 10px; border-radius: 999px; white-space: nowrap; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: #34463d; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #d5e5dc;
  border-radius: 11px;
  background: #fbfefc;
  color: var(--ink);
  min-height: 48px;
  padding: 10px 13px;
  outline: none;
  transition: border .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(24,166,110,.1); background: white; }
.form-note { font-size: 12px; color: #718078; margin: 10px 0 0; }
.form-status { display: none; padding: 12px 14px; margin-top: 14px; border-radius: 10px; background: var(--green-50); color: var(--green-900); font-size: 14px; }
.form-status.show { display: block; }

.stat-strip { margin-top: 62px; display: grid; grid-template-columns: repeat(4, 1fr); background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); overflow: hidden; }
.stat { padding: 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: 'Manrope'; font-size: 21px; color: var(--green-900); }
.stat span { color: var(--muted); font-size: 13px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 0 rgba(7,61,43,.02); transition: transform .25s ease, box-shadow .25s ease, border .25s ease; }
.card:hover { transform: translateY(-5px); border-color: var(--green-200); box-shadow: var(--shadow-sm); }
.icon-box { width: 50px; height: 50px; display: grid; place-items: center; background: var(--green-50); color: var(--green-800); border-radius: 14px; margin-bottom: 19px; }
.icon-box svg { width: 25px; height: 25px; }
.card p { font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--green-800); font-weight: 700; font-size: 14px; }
.subject-card { min-height: 230px; display: flex; flex-direction: column; }
.subject-card .link-arrow { margin-top: auto; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { position: relative; padding: 10px 24px 10px 0; }
.step:not(:last-child)::after { content: ''; position: absolute; left: 52px; right: 0; top: 30px; height: 1px; background: repeating-linear-gradient(90deg, var(--green-200) 0 8px, transparent 8px 15px); }
.step-num { position: relative; z-index: 2; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px; color: white; background: var(--green-800); font-family: 'Manrope'; font-weight: 800; margin-bottom: 24px; box-shadow: 0 10px 20px rgba(15,105,72,.2); }
.step h3 { font-size: 19px; }
.step p { font-size: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.visual-panel { min-height: 520px; background: linear-gradient(145deg, var(--green-50), #e2f8ed); border-radius: 34px; position: relative; overflow: hidden; border: 1px solid var(--green-200); }
.visual-panel::before { content: ''; width: 250px; height: 250px; border-radius: 50%; background: rgba(255,255,255,.8); position: absolute; top: -75px; right: -60px; }
.visual-panel::after { content: ''; width: 180px; height: 180px; border-radius: 50%; border: 32px solid rgba(40,189,125,.12); position: absolute; bottom: -70px; left: -70px; }
.video-window { position: absolute; inset: 74px 48px 56px; background: #0b5138; border-radius: 24px; padding: 18px; box-shadow: 0 22px 60px rgba(7,61,43,.22); }
.video-top { display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.7); font-size: 12px; margin-bottom: 14px; }
.video-dot { display: flex; gap: 5px; }
.video-dot span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.4); }
.video-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 10px; height: calc(100% - 40px); }
.person-tile { position: relative; background: linear-gradient(160deg, #d8f2e5, #9ddbbc); border-radius: 17px; overflow: hidden; }
.person-tile.small { background: linear-gradient(160deg, #f9e8c7, #f4c36b); }
.person-head { width: 72px; height: 72px; background: #f2b589; border-radius: 50%; position: absolute; left: 50%; top: 27%; transform: translate(-50%, -50%); }
.person-body { width: 150px; height: 160px; background: white; border-radius: 75px 75px 20px 20px; position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); }
.person-tile.small .person-head { width: 47px; height: 47px; top: 31%; }
.person-tile.small .person-body { width: 90px; height: 110px; bottom: -26px; background: var(--green-950); }
.person-name { position: absolute; left: 12px; bottom: 10px; font-size: 11px; font-weight: 700; color: white; background: rgba(7,61,43,.65); padding: 4px 8px; border-radius: 6px; }
.video-side { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.board-tile { border-radius: 17px; background: white; padding: 15px; color: var(--green-950); font-family: 'Manrope'; font-weight: 700; font-size: 14px; }
.board-line { height: 6px; border-radius: 999px; background: var(--green-100); margin: 9px 0; }
.board-line.short { width: 60%; background: var(--green-200); }
.floating-note { position: absolute; z-index: 4; background: white; border: 1px solid var(--line); border-radius: 15px; padding: 13px 16px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.floating-note.one { left: 18px; top: 26px; }
.floating-note.two { right: 18px; bottom: 25px; }

.check-list { display: grid; gap: 15px; margin: 28px 0; }
.check-row { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.check-row .check { width: 28px; height: 28px; }
.check-row strong { display: block; margin-bottom: 3px; }
.check-row p { font-size: 14px; margin: 0; }

.curricula { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 12px 17px; color: #34463d; font-weight: 700; font-size: 14px; box-shadow: 0 3px 12px rgba(7,61,43,.04); }

.promise { background: var(--green-950); border-radius: 32px; padding: 50px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px; color: white; overflow: hidden; position: relative; }
.promise::after { content: ''; width: 310px; height: 310px; border: 60px solid rgba(255,255,255,.05); border-radius: 50%; position: absolute; right: -130px; bottom: -170px; }
.promise p { color: rgba(255,255,255,.72); }
.promise-actions { justify-self: end; display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 2; }

.faq { max-width: 880px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-button { width: 100%; border: 0; background: transparent; padding: 23px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--ink); text-align: left; font-weight: 700; font-size: 17px; }
.faq-icon { width: 27px; height: 27px; border-radius: 50%; background: var(--green-50); color: var(--green-900); display: grid; place-items: center; flex: 0 0 auto; transition: transform .2s; }
.faq-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-panel p { padding: 0 46px 22px 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.page-hero { padding: 76px 0 66px; background: linear-gradient(180deg, var(--green-50), white); text-align: center; border-bottom: 1px solid var(--line); }
.page-hero .container { max-width: 810px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 62px); }
.breadcrumbs { display: inline-flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--green-700); font-weight: 700; }
.form-shell { display: grid; grid-template-columns: .82fr 1.18fr; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-sm); background: white; }
.form-aside { background: var(--green-950); color: white; padding: 46px; }
.form-aside p { color: rgba(255,255,255,.7); }
.form-aside .check-row p { color: rgba(255,255,255,.7); }
.form-main { padding: 46px; }
.form-main h2, .form-aside h2 { font-size: 32px; }
.form-main .form-grid { gap: 18px; }

.content-layout { display: grid; grid-template-columns: 280px 1fr; gap: 60px; align-items: start; }
.side-nav { position: sticky; top: 110px; border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.side-nav a { display: block; padding: 11px 13px; border-radius: 10px; color: var(--muted); font-size: 14px; font-weight: 600; }
.side-nav a:hover { background: var(--green-50); color: var(--green-800); }
.prose { max-width: 790px; }
.prose h2 { font-size: 32px; margin-top: 42px; }
.prose h3 { font-size: 22px; margin-top: 30px; }
.prose ul { color: var(--muted); padding-left: 20px; }
.prose li { margin: 8px 0; }
.notice { padding: 18px 20px; background: var(--green-50); border: 1px solid var(--green-200); border-radius: 14px; color: var(--green-950); }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; grid-template-columns: 46px 1fr; gap: 16px; }
.contact-card .icon-box { width: 46px; height: 46px; margin: 0; }
.contact-card h3 { font-size: 18px; margin-bottom: 5px; }
.contact-card p { margin: 0; font-size: 14px; }

.site-footer { background: #062f22; color: white; padding: 72px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1fr; gap: 48px; }
.footer-brand p { color: rgba(255,255,255,.62); max-width: 380px; }
.footer-title { font-family: 'Manrope'; font-weight: 800; margin-bottom: 18px; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { color: rgba(255,255,255,.68); font-size: 14px; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: rgba(255,255,255,.55); font-size: 13px; }
.footer-bottom-links { display: flex; gap: 18px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .nav-links { position: fixed; inset: 78px 0 auto; background: white; border-bottom: 1px solid var(--line); padding: 24px 20px 30px; display: none; flex-direction: column; align-items: stretch; gap: 7px; box-shadow: var(--shadow-sm); }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 12px; border-radius: 9px; }
  .nav-links > a:hover { background: var(--green-50); }
  .nav-actions .btn-secondary { display: none; }
  .mobile-toggle { display: inline-grid; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 46px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .match-card { max-width: 700px; margin-inline: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .step:nth-child(2)::after { display: none; }
  .promise { grid-template-columns: 1fr; }
  .promise-actions { justify-self: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .form-shell { grid-template-columns: 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; display: flex; overflow-x: auto; }
  .side-nav a { white-space: nowrap; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 72px 0; }
  .section-sm { padding: 52px 0; }
  .site-header .btn-primary { display: none; }
  .nav-wrap { min-height: 70px; }
  .nav-links { top: 70px; }
  .hero { padding: 58px 0 56px; }
  h1 { font-size: 43px; }
  h2 { font-size: 34px; }
  .lead { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .match-card { padding: 22px; border-radius: 22px; }
  .card-label { align-items: flex-start; }
  .card-label h2 { font-size: 23px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { left: 29px; top: 64px; bottom: -24px; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--green-200) 0 8px, transparent 8px 15px); }
  .visual-panel { min-height: 430px; }
  .video-window { inset: 62px 22px 48px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-side { display: none; }
  .promise { padding: 34px 24px; border-radius: 24px; }
  .promise-actions { width: 100%; }
  .promise-actions .btn { width: 100%; }
  .form-aside, .form-main { padding: 30px 22px; }
  .form-main h2, .form-aside h2 { font-size: 27px; }
  .page-hero { padding: 56px 0 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
