:root {
  --bg: #F2F8FF;
  --bg2: #E2EFFF;
  --surface: #FFFFFF;
  --text: #0B1D2B;
  --text2: #49607E;
  --text3: #6B7C8D;
  --border: #E2E8F0;
  --brand: #A6F65A;
  --brand-pressed: #8FE03F;
  --brand-subtle: #EDFCD9;
  --brand-on-subtle: #3D7000;
  --on-brand: #0D2000;
  --inverse: #0B1D2B;
  --radius: 24px;
  --gutter: 16px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-on-subtle); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(242, 248, 255, .9); backdrop-filter: saturate(1.4) blur(12px);
       -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.nav .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav nav { margin-left: auto; display: flex; gap: 24px; }
.nav nav a { color: var(--text2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav nav a:hover { color: var(--text); }
@media (max-width: 719px) { .nav nav { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 999px;
       font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-pressed); }
.btn-dark { background: var(--inverse); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn small { font-weight: 500; opacity: .75; }

/* hero */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("hero.jpg") center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0;
               background: linear-gradient(180deg, rgba(4, 22, 38, .35) 0%, rgba(4, 22, 38, .78) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 104px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
           background: var(--brand); color: var(--on-brand); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(34px, 7vw, 60px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 20px; max-width: 760px; }
.hero p { font-size: clamp(17px, 2.4vw, 20px); color: rgba(255,255,255,.9); max-width: 620px; margin: 0 0 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* sections */
section { padding: 80px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 4.6vw, 40px); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 12px; }
.section-head p { color: var(--text2); font-size: 18px; margin: 0; }

.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 3px rgba(11,29,43,.06); }
.feature .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--brand-subtle); color: var(--brand-on-subtle);
               display: grid; place-items: center; margin-bottom: 16px; }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; margin: 0 0 6px; }
.feature p { color: var(--text2); margin: 0; font-size: 15px; }

/* screenshots */
.shots { background: var(--bg2); }
.phones { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 20px; overflow-x: auto;
          padding-bottom: 8px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.phone { scroll-snap-align: start; margin: 0; }
.phone img { border-radius: 32px; border: 6px solid var(--inverse); background: var(--inverse); box-shadow: 0 20px 40px rgba(11,29,43,.18);
             width: 100%; height: auto; aspect-ratio: 506 / 1100; object-fit: cover; }
.phone figcaption { margin-top: 14px; font-weight: 600; text-align: center; }
.phone figcaption span { display: block; font-weight: 400; color: var(--text2); font-size: 14px; }

/* schools */
.split { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.split .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg2); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.checks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
                     background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D2000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* contact */
.contact { background: var(--inverse); color: #fff; border-radius: 32px; padding: 48px 28px; text-align: center; }
.contact h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 12px; }
.contact p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 28px; font-size: 17px; }
.contact a.mail { color: var(--brand); font-weight: 700; font-size: clamp(18px, 3vw, 22px); text-decoration: none; word-break: break-all; }

footer { padding: 40px 0 56px; color: var(--text3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
footer a { color: var(--text2); }
footer .credit { flex-basis: 100%; font-size: 12px; }

/* document pages */
.doc { max-width: 760px; margin: 0 auto; padding: 48px var(--gutter) 80px; }
.doc h1 { font-size: clamp(30px, 5vw, 40px); line-height: 1.1; margin: 0 0 8px; }
.doc .meta { color: var(--text3); margin: 0 0 36px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; }
.doc p, .doc li { color: #23394F; font-size: 16px; }
.doc ul { padding-left: 22px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { color: var(--text2); font-weight: 600; }
.doc .box { background: var(--surface); border-radius: 16px; padding: 18px 20px; }
@media (max-width: 600px) { .doc table, .doc tbody, .doc tr, .doc td, .doc th { display: block; } .doc thead { display: none; }
  .doc td { border: 0; padding: 4px 0; } .doc tr { padding: 10px 0; border-bottom: 1px solid var(--border); } }
