:root {
  color-scheme: light;
  --ink: #102a2f;
  --muted: #5f7073;
  --green: #2d6a4f;
  --green-dark: #12343b;
  --mint: #dff5e8;
  --cream: #fbfaf5;
  --line: #dce6e2;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(18, 52, 59, .12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); line-height: 1.6; }
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--white); border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 245, .9); border-bottom: 1px solid rgba(220, 230, 226, .8); backdrop-filter: blur(16px); }
.nav { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--white); background: var(--green-dark); border-radius: 12px; font-size: .78rem; letter-spacing: .02em; box-shadow: 0 8px 18px rgba(18, 52, 59, .18); }
.nav-links { margin-left: auto; display: flex; gap: 28px; }
.nav-links a, .footer-links a { color: var(--muted); text-decoration: none; font-size: .94rem; font-weight: 650; }
.nav-links a:hover, .footer-links a:hover { color: var(--green); }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 22px; border: 1px solid var(--green); border-radius: 14px; color: var(--white); background: var(--green); text-decoration: none; font-weight: 750; box-shadow: 0 12px 30px rgba(45, 106, 79, .2); transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(45, 106, 79, .25); }
.button-small { min-height: 42px; padding-inline: 18px; font-size: .9rem; }
.button-quiet { color: var(--green-dark); background: transparent; box-shadow: none; border-color: #b8cbc3; }

.hero { overflow: hidden; padding: 84px 0 92px; background: radial-gradient(circle at 88% 15%, #d9f1e5 0, transparent 30%), linear-gradient(145deg, #fbfaf5 50%, #eff7f2); }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 72px; }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: .78rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(3rem, 6vw, 5.6rem); }
.hero-lead { max-width: 640px; margin: 0 0 30px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 22px 0 0; color: #718083; font-size: .88rem; }
.hero-visual { position: relative; min-height: 590px; display: grid; place-items: center; }
.phone { position: relative; overflow: hidden; color: #17363c; background: #f7fbf9; border: 9px solid #17383c; border-radius: 38px; box-shadow: var(--shadow); }
.phone::before { content: ""; position: absolute; z-index: 4; top: 8px; left: 50%; width: 76px; height: 18px; transform: translateX(-50%); background: #17383c; border-radius: 0 0 12px 12px; }
.phone-hero { width: min(330px, 76vw); min-height: 560px; padding: 46px 18px 20px; transform: rotate(2deg); }
.phone-top, .preview-head { display: flex; align-items: center; justify-content: space-between; }
.phone-top { margin-bottom: 18px; font-size: 1.1rem; font-weight: 850; }
.status-dot { width: 9px; height: 9px; background: #48a86b; border-radius: 50%; box-shadow: 0 0 0 6px #ddf4e5; }
.welcome-card { display: flex; flex-direction: column; gap: 3px; padding: 18px; color: var(--white); background: linear-gradient(135deg, #174c48, #2d6a4f); border-radius: 20px; }
.welcome-card strong { font-size: 1.05rem; }
.welcome-card span:last-child { opacity: .76; font-size: .74rem; }
.mini-label { opacity: .76; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 20px; }
.stat-grid div { display: flex; flex-direction: column; padding: 13px; background: var(--white); border: 1px solid #e0ebe6; border-radius: 15px; }
.stat-grid strong { font-size: 1.25rem; }
.stat-grid span { color: var(--muted); font-size: .7rem; }
.quick-title { margin-bottom: 10px; font-weight: 800; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.quick-grid span { padding: 13px 9px; background: #e8f5ee; border-radius: 12px; font-size: .74rem; font-weight: 750; }
.float-card { position: absolute; display: flex; flex-direction: column; min-width: 190px; padding: 14px 17px; background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 18px 42px rgba(18,52,59,.15); }
.float-card span { color: var(--muted); font-size: .72rem; }
.float-card strong { font-size: .9rem; }
.float-one { left: -12px; top: 125px; }
.float-two { right: -4px; bottom: 98px; }

.proof-strip { color: #d9ebe4; background: var(--green-dark); }
.proof-grid { min-height: 88px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; gap: 24px; }
.proof-grid span { position: relative; padding-left: 18px; font-size: .88rem; font-weight: 650; }
.proof-grid span::before { content: ""; position: absolute; left: 0; top: .63em; width: 6px; height: 6px; background: #87d3a5; border-radius: 50%; }

.section { padding-top: 104px; padding-bottom: 104px; }
.section-heading { max-width: 700px; margin-bottom: 46px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .contact-section h2 { margin-bottom: 18px; font-size: clamp(2.2rem, 4vw, 3.7rem); }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-card { min-height: 290px; padding: 34px; border: 1px solid var(--line); border-radius: 26px; }
.feature-card h3 { margin: 28px 0 12px; font-size: 1.55rem; }
.feature-card p { max-width: 490px; color: var(--muted); }
.feature-green { background: #edf8f1; }.feature-blue { background: #eef6fa; }.feature-amber { background: #fff7e5; }.feature-coral { background: #fff1ec; }
.feature-icon { width: 50px; height: 50px; display: grid; place-items: center; background: rgba(255,255,255,.82); border-radius: 15px; font-weight: 900; box-shadow: 0 8px 18px rgba(18,52,59,.08); }
.feature-tag { display: inline-block; margin-top: 20px; padding: 6px 10px; color: var(--green-dark); background: rgba(255,255,255,.72); border-radius: 99px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.section-tint { background: #eaf4ef; }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.role-card { padding: 32px; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9); border-radius: 24px; }
.role-number { color: #75a58d; font-size: .72rem; font-weight: 850; letter-spacing: .12em; }
.role-card h3 { margin: 52px 0 14px; font-size: 1.45rem; }
.role-card p { margin: 0; color: var(--muted); }

.screen-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 28px; }
.screen-item { text-align: center; }
.screen-item h3 { margin: 26px 0 8px; font-size: 1.28rem; }
.screen-item > p { margin: 0 auto; max-width: 310px; color: var(--muted); font-size: .92rem; }
.featured-screen { transform: translateY(-20px); }
.phone-preview { width: min(286px, 88vw); min-height: 500px; margin-inline: auto; padding: 44px 16px 18px; text-align: left; border-width: 7px; border-radius: 34px; }
.preview-head { margin-bottom: 20px; font-size: .82rem; }
.date-pill { margin-bottom: 14px; padding: 9px; text-align: center; background: #e8f4ee; border-radius: 10px; font-size: .72rem; font-weight: 750; }
.attendance-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 12px 0; border-bottom: 1px solid #e3ebe7; }
.avatar, .student-avatar { display: grid; place-items: center; color: var(--white); background: #4b7d6b; border-radius: 50%; font-size: .65rem; font-weight: 800; }
.avatar { width: 34px; height: 34px; }
.attendance-row span:nth-child(2), .student-card span:last-child { display: flex; flex-direction: column; }
.attendance-row strong { font-size: .72rem; }.attendance-row small, .student-card small { color: var(--muted); font-size: .62rem; }
.attendance-row b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; font-size: .68rem; }
.present { color: #21633e; background: #dff4e7; }.absent { color: #a44337; background: #fae3df; }
.save-bar, .share-bar { margin-top: 30px; padding: 11px; text-align: center; color: var(--white); background: var(--green); border-radius: 11px; font-size: .75rem; font-weight: 800; }
.receipt-mark { width: 58px; height: 58px; display: grid; place-items: center; margin: 34px auto 12px; color: var(--green); background: var(--mint); border-radius: 50%; font-size: 1.5rem; }
.receipt-title { display: block; text-align: center; }.receipt-amount { margin: 8px 0 28px; text-align: center; font-size: 1.65rem; font-weight: 900; }
.receipt-lines { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--white); border-radius: 14px; }
.receipt-lines span { display: flex; justify-content: space-between; color: var(--muted); font-size: .68rem; }.receipt-lines b { color: var(--ink); }
.student-card { display: flex; align-items: center; gap: 11px; padding: 16px; color: var(--white); background: linear-gradient(135deg, #174c48, #428063); border-radius: 16px; }
.student-avatar { width: 44px; height: 44px; background: rgba(255,255,255,.2); }
.progress-ring { width: 112px; height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 28px auto; border: 11px solid #9fd3b3; border-left-color: #e1eee7; border-radius: 50%; font-size: 1.3rem; font-weight: 900; }
.progress-ring small { color: var(--muted); font-size: .55rem; font-weight: 650; }
.dashboard-list { display: flex; flex-direction: column; gap: 9px; }.dashboard-list span { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; padding: 11px; background: var(--white); border-radius: 10px; font-size: .67rem; }.dashboard-list i { color: var(--green); font-style: normal; }

.demo-section { background: #f0f7f3; }
.demo-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: 72px; }
.demo-copy { position: sticky; top: 116px; }
.demo-copy h2 { margin-bottom: 18px; font-size: clamp(2.2rem, 4vw, 3.7rem); }
.demo-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.02rem; }
.demo-points { display: flex; flex-direction: column; gap: 14px; margin: 32px 0; }
.demo-points span { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.demo-points b { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; color: var(--white); background: var(--green); border-radius: 50%; font-size: .78rem; }
.privacy-note { padding: 15px 17px; background: #e1f0e8; border-radius: 14px; font-size: .86rem !important; }
.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.form-field { display: flex; flex-direction: column; min-width: 0; }
.form-wide { grid-column: 1 / -1; }
.form-field label { margin-bottom: 7px; font-size: .88rem; font-weight: 780; }
.form-field label span { color: var(--muted); font-weight: 500; }
.form-field input, .form-field textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: #fbfdfc; border: 1px solid #bdcdc7; border-radius: 11px; font: inherit; font-size: .94rem; outline: none; }
.form-field input { min-height: 48px; }
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(45, 106, 79, .13); }
.form-field input[aria-invalid="true"] { border-color: #a44337; }
.field-error { min-height: 20px; padding-top: 3px; color: #96382e; font-size: .76rem; }
.field-hint { padding-top: 4px; color: var(--muted); text-align: right; font-size: .74rem; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-submit button { cursor: pointer; font: inherit; }
.form-status { margin: 0; color: var(--muted); font-size: .84rem; }
.website-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact-section { padding-top: 96px; padding-bottom: 96px; color: var(--white); background: var(--green-dark); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 70px; }
.contact-grid > div > p:not(.eyebrow) { max-width: 650px; color: #c5dbd3; font-size: 1.05rem; }
.eyebrow-light { color: #90d1aa; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.button-light { color: var(--green-dark); background: var(--white); border-color: var(--white); box-shadow: none; }
.text-link-light { color: #dff5e8; font-weight: 700; }
.contact-card { padding: 32px; color: var(--ink); background: var(--white); border-radius: 24px; box-shadow: 0 25px 70px rgba(0,0,0,.18); }
.contact-card h3 { font-size: 1.35rem; }.contact-card ul { padding: 0; list-style: none; }.contact-card li { position: relative; padding: 9px 0 9px 24px; border-bottom: 1px solid #e9efec; }.contact-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }.contact-card a { display: inline-block; margin-top: 14px; color: var(--green); font-weight: 800; }

.site-footer { padding: 50px 0; background: #0b272c; color: #c4d6d1; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 26px; }
.footer-brand { color: var(--white); }.footer-brand .brand-mark { background: #2d6a4f; }.footer-grid p { margin: 8px 0 0; font-size: .88rem; }.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 24px; }.footer-links a { color: #c4d6d1; }.copyright { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #829b95; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav .button { margin-left: auto; }
  .hero-grid, .contact-grid, .demo-grid { grid-template-columns: 1fr; }
  .demo-copy { position: static; }
  .hero { padding-top: 62px; }
  .hero-copy { text-align: center; }.hero-lead { margin-inline: auto; }.hero-actions { justify-content: center; }
  .hero-visual { min-height: 570px; }
  .proof-grid { grid-template-columns: repeat(3, 1fr); padding-block: 24px; }
  .role-grid { grid-template-columns: 1fr; }.role-card h3 { margin-top: 28px; }
  .screen-grid { grid-template-columns: 1fr; gap: 70px; }.featured-screen { transform: none; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1160px); }
  .nav { min-height: 66px; }.nav .button { min-height: 38px; padding-inline: 13px; font-size: .78rem; }.brand-mark { width: 34px; height: 34px; }
  h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .hero { padding: 50px 0 60px; }.hero-grid { gap: 40px; }.hero-visual { min-height: 520px; }.phone-hero { min-height: 500px; transform: none; }.float-card { display: none; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .section { padding-top: 76px; padding-bottom: 76px; }.feature-grid { grid-template-columns: 1fr; }.feature-card { min-height: 0; padding: 26px; }
  .contact-grid, .demo-grid { gap: 42px; }.contact-card, .demo-form { padding: 26px; }
  .demo-form { grid-template-columns: 1fr; }.form-wide { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }.footer-links { justify-content: flex-start; gap: 16px; }.copyright { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
}
