/* Olevel — olevel.ng
   Nunito stays the voice. What makes this read modern is borrowed structure:
   saturated colour rather than washed pastel, mono caps labels at wide
   tracking, a handwriting face for asides, a faint canvas grid, and cards that
   tilt on hover.

   Important: the accents below are the LOGO's colours, not the app's exam-card
   colours. The card colours (#d8cce6 etc.) are heavily desaturated — right as
   quiet backgrounds in the app, weak as a website palette. The logo already
   carries the saturated versions. */

:root {
  --purple: #9c27b0;
  --blue:   #3f6fe0;
  --teal:   #26a69a;
  --green:  #8bc34a;

  /* the app's card tints, kept for large calm areas only */
  --waec: #d8cce6;
  --neco: #dde6c8;
  --nabteb: #c5ddd6;

  --ink: #141414;
  --soft: #55565a;
  --faint: #8a8c91;
  --rule: #e7e7e9;
  --grid: #1414140e;
  --paper: #fff;

  --f: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --hand: 'Caveat', cursive;

  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f);
  color: var(--ink);
  background: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px),
                    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 72px 72px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ───── mono label ───── */
.label {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500; letter-spacing: .24em;
  text-transform: uppercase; color: var(--faint); margin: 0 0 20px;
}
.label b { color: var(--ink); font-weight: 600; }

/* handwritten aside */
.hand {
  font-family: var(--hand);
  font-size: 1.7rem; color: var(--purple); font-weight: 600;
  transform: rotate(-3deg); display: inline-block; line-height: 1.2;
}

/* ───── header ───── */
header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.9); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 18px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 20px; text-decoration: none; letter-spacing: -.035em;
}
.brand img { width: 30px; height: 30px; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--faint); text-decoration: none; font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.cta {
  color: #fff; background: var(--ink); padding: 11px 18px; border-radius: 999px; font-weight: 600;
}
@media (max-width: 820px) { .nav-links a:not(.cta) { display: none; } }

/* ───── buttons ───── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 17px 30px; border-radius: 999px;
  font-weight: 800; font-size: 15.5px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(20,20,20,.55); }
.btn.alt { background: #fff; color: var(--ink); border: 1.5px solid var(--rule); }
.btn.alt:hover { border-color: #c9cacd; box-shadow: none; }

/* ───── hero ───── */
.hero { padding: 96px 0 104px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

h1 {
  font-size: clamp(3rem, 7.6vw, 5.4rem);
  line-height: .94; letter-spacing: -.055em; font-weight: 900;
  margin: 0 0 12px; max-width: 13ch;
}
h1 em { font-style: normal; position: relative; white-space: nowrap; }
h1 em::after {
  content: ''; position: absolute; left: -2px; right: -2px; bottom: .1em; height: .26em;
  background: var(--green); opacity: .42; z-index: -1; border-radius: 3px;
}
.hand-row { margin: 0 0 26px; }

.lede {
  font-size: clamp(1.08rem, 1.7vw, 1.2rem); color: var(--soft);
  max-width: 50ch; margin: 0 0 36px; font-weight: 500;
}
.lede b { color: var(--ink); font-weight: 800; }
.cta-row { display: flex; gap: 13px; flex-wrap: wrap; align-items: center; }

/* exam chips — real board logos, with GCE carried on each rather than
   dangling as a fourth chip. GCE is a variant of each body, not a body. */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 46px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1.5px solid var(--rule);
  border-radius: 999px; padding: 7px 16px 7px 8px;
  transition: transform .25s cubic-bezier(.22,1,.36,1), border-color .25s ease, box-shadow .25s ease;
}
.chip:hover {
  transform: translateY(-3px);
  border-color: #d4d5d9;
  box-shadow: 0 10px 22px -12px rgba(20,20,20,.3);
}
.chip img {
  width: 32px; height: 32px; border-radius: 50%; object-fit: contain;
  background: #fafafa; padding: 3px; display: block; flex: none;
}
.chip .nm { font-weight: 900; font-size: 15px; letter-spacing: -.02em; line-height: 1.1; }
.chip .gce {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint); font-weight: 500;
  display: block; margin-top: 1px;
}

/* phone, tilts on hover */
.shot { display: flex; justify-content: center; perspective: 1200px; }
.shot img {
  width: 100%; max-width: 290px; display: block; border-radius: 36px;
  box-shadow: 0 3px 8px rgba(20,20,20,.05), 0 40px 80px -34px rgba(20,20,20,.42);
  transform: rotate(-2deg);
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease;
}
.shot img:hover { transform: rotate(0deg) translateY(-8px) scale(1.02); }
.shot.right img { transform: rotate(2deg); }
.shot.right img:hover { transform: rotate(0deg) translateY(-8px) scale(1.02); }

/* ───── stats ───── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 40px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; } }
.stat b { display: block; font-size: clamp(2rem, 3.6vw, 2.7rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.stat span {
  font-family: var(--mono); display: block; margin-top: 10px;
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); font-weight: 500;
}
.s1 b { color: var(--purple); } .s2 b { color: var(--blue); }
.s3 b { color: var(--teal); } .s4 b { color: var(--green); }

/* ───── rows ───── */
section { padding: 118px 0; }
@media (max-width: 760px) { section { padding: 78px 0; } }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.row + .row { margin-top: 118px; }
@media (max-width: 880px) { .row { grid-template-columns: 1fr; gap: 44px; } .row + .row { margin-top: 76px; } }
.row.flip .copy { order: 2; }
@media (max-width: 880px) { .row.flip .copy { order: 0; } }

h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.2rem);
  letter-spacing: -.05em; font-weight: 900; margin: 0 0 18px; line-height: 1.02;
}
.row p, .block p { color: var(--soft); font-size: 1.06rem; margin: 0 0 16px; max-width: 46ch; }
.row p b, .block p b { color: var(--ink); font-weight: 800; }
.meta {
  font-family: var(--mono); margin-top: 26px; padding-top: 18px;
  border-top: 1px solid var(--rule); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--faint); font-weight: 500;
}

/* ───── pricing ───── */
.block { max-width: 780px; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 46px; }
@media (max-width: 680px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  border: 1.5px solid var(--rule); border-radius: 24px; padding: 34px;
  transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s ease;
}
.tier:hover { transform: translateY(-4px); border-color: #d2d3d7; }
.tier.pick { border-color: var(--purple); background: #fcf8fd; }
.tier .amt { font-size: clamp(2.4rem, 5vw, 3.1rem); font-weight: 900; letter-spacing: -.055em; line-height: 1; margin: 14px 0 0; }
.tier .amt small { font-size: 1rem; font-weight: 700; color: var(--faint); letter-spacing: 0; }
.tier p { color: var(--soft); font-size: .97rem; margin: 12px 0 0; }
.tier .save {
  display: inline-block; margin-top: 16px; padding: 6px 13px; border-radius: 999px;
  background: var(--purple); color: #fff;
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
}
.free-line { margin-top: 32px; color: var(--soft); font-size: 1.02rem; max-width: 52ch; }

/* ───── faq ───── */
.faq-row { display: grid; grid-template-columns: .66fr 1.34fr; gap: 76px; align-items: start; }
@media (max-width: 880px) { .faq-row { grid-template-columns: 1fr; gap: 34px; } }
details { border-bottom: 1px solid var(--rule); padding: 22px 0; }
details:first-of-type { border-top: 1px solid var(--rule); }
summary {
  cursor: pointer; font-weight: 800; font-size: 1.05rem; list-style: none;
  display: flex; justify-content: space-between; gap: 20px; align-items: center; letter-spacing: -.02em;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.4rem; color: var(--faint); line-height: 1; font-weight: 300; }
details[open] summary::after { content: '\2212'; }
details p { color: var(--soft); margin: 13px 0 0; font-size: 1rem; max-width: 62ch; }

/* ───── closing ───── */
.closing {
  margin: 0 0 0; padding: 104px 0; border-radius: 36px;
  background: linear-gradient(135deg, var(--purple), var(--blue) 52%, var(--teal));
  color: #fff; text-align: center;
}
.closing h2 { color: #fff; max-width: 17ch; margin-inline: auto; }
.closing p { color: rgba(255,255,255,.88); max-width: 46ch; margin: 0 auto 32px; font-size: 1.08rem; }
.closing .btn { background: #fff; color: var(--ink); }
.closing .cta-row { justify-content: center; }
.closing .hand { color: rgba(255,255,255,.9); }

/* ───── footer ───── */
footer { border-top: 1px solid var(--rule); padding: 54px 0 46px; margin-top: 110px; }
.foot-top { display: flex; justify-content: space-between; gap: 36px; flex-wrap: wrap; align-items: center; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--faint); text-decoration: none; font-weight: 500;
}
.foot-links a:hover { color: var(--ink); }
.copy { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); font-weight: 500; }
.disclaim { color: var(--faint); font-size: 12.5px; max-width: 70ch; margin: 28px 0 0; line-height: 1.65; }

/* ───── legal ───── */
.legal { max-width: 720px; margin: 0 auto; padding: 68px 0 20px; }
.legal h1 { font-size: clamp(2.1rem, 4.6vw, 2.9rem); margin-bottom: 10px; max-width: none; }
.updated { font-family: var(--mono); color: var(--faint); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; margin: 0 0 46px; }
.legal h2 { font-size: 1.32rem; margin: 46px 0 13px; letter-spacing: -.035em; }
.legal h3 { font-size: 1.04rem; font-weight: 800; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--soft); font-size: 1.02rem; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 10px; }
.legal a { color: var(--blue); }
.callout { background: #fcf8fd; border: 1.5px solid rgba(156,39,176,.25); border-radius: 18px; padding: 22px 26px; margin: 26px 0; }
.callout p { margin: 0; }
