@font-face { font-family: Poppins; font-weight: 700; src: url(fonts/Poppins-Bold.ttf) format('truetype'); font-display: swap; }
@font-face { font-family: Poppins; font-weight: 600; src: url(fonts/Poppins-SemiBold.ttf) format('truetype'); font-display: swap; }
:root {
  --navy: #0E2A4A; --blue: #1A8FFF; --blue-dark: #0B6FD6; --green: #5DB820;
  --ink: #1F3047; --muted: #4F6075; --line: #E1E8F0; --soft: #F4F8FC; --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 18px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--white); }
h1, h2, h3 { font-family: Poppins, system-ui, sans-serif; color: var(--navy); line-height: 1.2; margin: 0; }
h2 { font-size: clamp(26px, 4vw, 34px); text-align: center; margin-bottom: 28px; }
a { color: var(--blue-dark); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }
section.soft { background: var(--soft); }
@media (max-width: 640px) { section { padding: 52px 0; } h2 { margin-bottom: 22px; } }

/* top bar */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.top img { height: 48px; display: block; }
.top nav { display: flex; gap: 24px; align-items: center; font-weight: 600; font-size: 15px; }
.top nav a { color: var(--ink); text-decoration: none; }
@media (max-width: 640px) { .top nav a.wide { display: none; } .top .wrap { height: 64px; } .top img { height: 40px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: Poppins, system-ui, sans-serif; font-weight: 600; text-decoration: none; border-radius: 999px; padding: 15px 30px; font-size: 18px; border: 0; cursor: pointer; }
.btn.primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(26,143,255,.28); }
.btn.primary:hover { background: var(--blue-dark); }
.btn.small { padding: 8px 18px; font-size: 15px; box-shadow: none; }

/* hero: the first screen */
.hero { padding: 72px 0 80px; background: linear-gradient(165deg, #F0FAE8 0%, #E9F4FF 60%, #fff 100%); text-align: center; }
.hero img.mark { width: 120px; height: auto; margin-bottom: 18px; filter: drop-shadow(0 12px 20px rgba(14,42,74,.16)); }
.hero h1 { font-size: clamp(34px, 6vw, 56px); max-width: 760px; margin: 0 auto; }
.hero h1 span { background: linear-gradient(90deg, var(--green), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 20px; color: var(--muted); margin: 18px auto 30px; max-width: 560px; }
.hero .facts { margin-top: 18px; font-size: 15px; color: var(--muted); }
.hero .facts b { color: var(--navy); }
.hero .phone-only { display: none; }
@media (max-width: 640px) {
  .hero { padding: 40px 0 48px; }
  .hero img.mark { width: 84px; margin-bottom: 12px; }
  .hero p { font-size: 18px; margin: 14px auto 24px; }
  .hero .pc-only { display: none; }
  .hero .phone-only { display: block; }
  .hero .btn { width: 100%; max-width: 340px; }
}
@media (min-width: 1100px) {
  .hero h1 { font-size: 64px; max-width: 900px; }
  .hero p { font-size: 22px; max-width: 640px; }
  .hero img.mark { width: 140px; }
}
.hero .hint { font-size: 15px; color: var(--muted); margin-top: 12px; }

/* features: short tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.tile .ico { font-size: 32px; line-height: 1; }
.tile h3 { font-size: 19px; margin: 12px 0 6px; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; }
.tag { display: inline-block; font: 700 11px system-ui, sans-serif; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--green); border-radius: 999px; padding: 3px 9px; margin-left: 6px; vertical-align: middle; }
@media (min-width: 1100px) { .tiles { gap: 24px; } .tile { padding: 30px; } .tile h3 { font-size: 21px; } .tile p { font-size: 17px; } }
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .tiles { gap: 12px; }
  .tile { padding: 18px 14px; text-align: center; border-radius: 18px; }
  .tile h3 { font-size: 16px; margin: 10px 0 0; }
  .tile p { display: none; }
}

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; max-width: 900px; margin: 0 auto; }
.step { text-align: center; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 12px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--blue)); color: #fff; font: 700 22px Poppins, sans-serif; }
.step h3 { font-size: 19px; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; text-align: left; align-items: center; }
  .step::before { width: 44px; height: 44px; margin: 0; font-size: 19px; }
}

/* more: Go and schools as two simple links */
.more { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.more a { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; color: var(--ink); }
.more a:hover { border-color: var(--blue); }
.more h3 { font-size: 19px; margin-bottom: 4px; }
.more h3::after { content: ' →'; color: var(--blue); }
.more p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 640px) { .more { grid-template-columns: 1fr; gap: 12px; } .more a { padding: 18px 20px; } }

/* questions */
.faq { max-width: 720px; margin: 0 auto; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: Poppins, system-ui, sans-serif; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--blue); }
details[open] summary::after { content: '−'; }
details p { margin: 0 0 18px; color: var(--muted); font-size: 17px; }

/* about */
.about { max-width: 620px; margin: 0 auto; text-align: center; }
.about p { color: var(--muted); margin: 0 0 18px; }
.bmc img { height: 50px; width: auto; }

/* plain pages (schools) */
.page { max-width: 720px; margin: 0 auto; padding: 48px 20px 64px; }
.page h1 { font-size: clamp(30px, 5vw, 40px); margin-bottom: 12px; }
.page h2 { text-align: left; font-size: 22px; margin: 36px 0 10px; }
.page p, .page li { color: var(--muted); }
.page li { margin-bottom: 8px; }
code { overflow-wrap: anywhere; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 15px; color: var(--navy); }

/* footer */
footer { background: var(--navy); color: #B8C8DC; padding: 36px 0; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 14px 22px; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
