/* Channel Education Systems — company website (channeledu.com.ng). */
:root {
  --blue: #0f52ba;
  --blue-deep: #0b3d8c;
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --amber: #f59e0b;
  --coral: #f97362;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --paper: #ffffff;
  --wash: #f8fafc;
  --radius: 18px;
  --confetti: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='40' viewBox='0 0 240 40'%3E%3Cg fill='none' stroke-width='5' stroke-linecap='round'%3E%3Cpath d='M8 30 L18 14' stroke='%23f59e0b'/%3E%3Cpath d='M48 28 L64 24' stroke='%23f59e0b'/%3E%3Cpath d='M92 34 a10 10 0 0 1 20 0' stroke='%23f59e0b'/%3E%3Cpath d='M150 12 L162 30' stroke='%23f59e0b'/%3E%3Cpath d='M196 30 a10 10 0 0 0 0 -16' stroke='%23f59e0b'/%3E%3C/g%3E%3Cg fill='%2314b8a6'%3E%3Ccircle cx='32' cy='22' r='5'/%3E%3Ccircle cx='80' cy='14' r='5'/%3E%3Ccircle cx='130' cy='22' r='5'/%3E%3Ccircle cx='180' cy='12' r='5'/%3E%3Ccircle cx='224' cy='24' r='5'/%3E%3C/g%3E%3C/svg%3E");
  --sprinkles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.16' stroke-width='9' stroke-linecap='round'%3E%3Cpath d='M30 60 a26 26 0 0 1 40 -20'/%3E%3Cpath d='M220 40 L246 52'/%3E%3Cpath d='M120 150 L104 176'/%3E%3Cpath d='M260 180 a24 24 0 0 0 -30 34'/%3E%3Cpath d='M40 250 L66 262'/%3E%3Cpath d='M170 270 a22 22 0 0 1 34 6'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='.16'%3E%3Ccircle cx='150' cy='40' r='10'/%3E%3Ccircle cx='60' cy='150' r='8'/%3E%3Ccircle cx='290' cy='110' r='9'/%3E%3Ccircle cx='200' cy='130' r='6'/%3E%3Ccircle cx='110' cy='230' r='10'/%3E%3Ccircle cx='280' cy='290' r='7'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
img, svg { max-width: 100%; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
.nav {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.brand svg { width: 38px; height: 38px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: #fff; text-decoration: none; font-weight: 700; opacity: .92; }
.nav-links a:hover { opacity: 1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px; font-weight: 800; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sun { background: linear-gradient(90deg, #fbbf24, var(--coral)); color: #fff; box-shadow: 0 8px 22px rgba(249, 115, 98, .35); }
.btn-ghost { background: rgba(255, 255, 255, .16); color: #fff; border: 2px solid rgba(255, 255, 255, .55); }
.btn-blue { background: var(--blue); color: #fff; }
.nav .btn { padding: 10px 18px; }

/* Hero: teal wave with sprinkles, like a party banner */
.hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: var(--sprinkles), linear-gradient(135deg, var(--teal-light), var(--teal) 45%, var(--blue) 100%);
  padding: 150px 0 170px;
}
.hero::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -90px; height: 180px;
  background: var(--paper); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.wave { display: inline-block; font-size: 2.6rem; animation: wave 2.4s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-8deg); } }
@media (prefers-reduced-motion: reduce) { .wave { animation: none; } .btn { transition: none; } }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; margin: 10px auto 16px; max-width: 820px; }
.hero p { font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 680px; margin: 0 auto 30px; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.confetti { height: 40px; background: var(--confetti) repeat-x center; margin: 8px 0; }

/* Sections */
section { padding: 64px 0; }
.eyebrow { color: var(--teal); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); line-height: 1.2; margin: 6px 0 14px; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 700px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.step {
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative;
}
.step .num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 900; font-size: 1.2rem; margin-bottom: 12px;
}
.step:nth-child(1) .num { background: var(--blue); }
.step:nth-child(2) .num { background: var(--amber); }
.step:nth-child(3) .num { background: var(--teal); }
.step h3 { margin: 0 0 6px; font-size: 1.2rem; }
.step p { margin: 0; color: var(--muted); }

.tinted { background: var(--wash); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.feature { background: var(--paper); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(15, 23, 42, .05); }
.feature .icon { font-size: 1.7rem; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 10px; }
.feature:nth-child(4n+1) .icon { background: #e0f2fe; }
.feature:nth-child(4n+2) .icon { background: #fef3c7; }
.feature:nth-child(4n+3) .icon { background: #ccfbf1; }
.feature:nth-child(4n+4) .icon { background: #ffe4e1; }
.feature h3 { margin: 0 0 4px; font-size: 1.08rem; }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.panel { border-radius: 24px; padding: 32px; }
.panel h3 { margin-top: 0; font-size: 1.35rem; }
.panel ul { padding-left: 1.2em; margin: 0; }
.panel li { margin: 6px 0; }
.panel-blue { background: linear-gradient(160deg, #eff6ff, #dbeafe); }
.panel-sun { background: linear-gradient(160deg, #fffbeb, #ffedd5); }

.promise {
  border-radius: 28px; padding: 40px; color: #fff; text-align: center;
  background: var(--sprinkles), linear-gradient(135deg, var(--blue), var(--blue-deep));
}
.promise h2 { margin-top: 0; }
.promise p { max-width: 720px; margin: 0 auto; opacity: .95; font-size: 1.08rem; }

.contact { text-align: center; }
.contact .btn { margin-top: 10px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: .95rem; }
.foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; font-weight: 700; }
.foot a:hover { color: var(--blue); }

/* Policy page */
.page-hero { padding: 120px 0 110px; }
.page-hero h1 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); }
.doc { max-width: 780px; margin: 0 auto; padding: 10px 0 60px; }
.doc h2 { font-size: 1.35rem; margin-top: 34px; }
.doc li { margin: 4px 0; }
.doc .updated { color: var(--muted); }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: .97rem; }
.doc th, .doc td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }

@media (max-width: 860px) {
  .steps, .features { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links a:not(.btn) { display: none; }
  .steps, .features { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 140px; }
  .promise, .panel { padding: 26px; }
  section { padding: 48px 0; }
}
