/* ==========================================================================
   Pass Pass — public website (passpass.mbengngassa.net)
   Shares the app's palette and Fredoka face, but at a grown-up scale: this
   site talks to parents, schools, sponsors and investors, not to children.
   Everything is self-hosted — no CDN, no tracker, no third-party request.
   ========================================================================== */

@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fredoka-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fredoka-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fredoka-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fredoka-latin-700-normal.woff2") format("woff2");
}

:root {
  --blue: #233b8e;
  --blue-deep: #182a6b;
  --blue-soft: #e8edfb;
  --yellow: #ffc933;
  --yellow-deep: #e9ae12;
  --yellow-soft: #fff6dc;
  --red: #ff6b6b;
  --red-soft: #ffe9e9;
  --green: #45d39c;
  --green-deep: #1d8f66;
  --green-soft: #e3f9f0;
  --sky: #4db8ff;
  --sky-soft: #e4f3ff;
  --purple: #8b6ff0;
  --purple-soft: #efeafd;

  --bg: #f6f8ff;
  --card: #ffffff;
  --ink: #1b2547;
  --ink-soft: #5c688c;
  --line: #e3e8f6;

  --edge: 0 4px 0 #dbe2f5, 0 10px 24px rgba(35, 59, 142, 0.09);
  --edge-sm: 0 3px 0 #dbe2f5, 0 6px 14px rgba(35, 59, 142, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: "Fredoka", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--blue);
}

h1,
h2,
h3,
h4 {
  line-height: 1.18;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
}
h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}

.narrow {
  max-width: 760px;
}

/* ---------- header ---------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 248, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  flex: none;
}

.brand .wm-blue {
  color: var(--blue);
}
.brand .wm-yellow {
  color: var(--yellow-deep);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.98rem;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--blue);
  background: var(--blue-soft);
}

.nav a[aria-current="page"] {
  color: var(--blue);
  background: var(--blue-soft);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 2px solid var(--line);
  background: var(--card);
  border-radius: 12px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
}

/* ---------- buttons --------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 0 var(--blue-deep);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--blue-deep);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--blue-deep);
}

.btn.yellow {
  background: var(--yellow);
  color: #4a3400;
  box-shadow: 0 4px 0 var(--yellow-deep);
}
.btn.yellow:hover {
  box-shadow: 0 6px 0 var(--yellow-deep);
}

.btn.green {
  background: var(--green);
  color: #063d2b;
  box-shadow: 0 4px 0 var(--green-deep);
}
.btn.green:hover {
  box-shadow: 0 6px 0 var(--green-deep);
}

.btn.ghost {
  background: var(--card);
  color: var(--blue);
  box-shadow: 0 4px 0 #dbe2f5;
}
.btn.ghost:hover {
  box-shadow: 0 6px 0 #dbe2f5;
}

.btn.sm {
  padding: 10px 18px;
  font-size: 0.94rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 0;
}

/* ---------- generic sections ------------------------------------------ */

section {
  padding: 74px 0;
}

section.tight {
  padding: 50px 0;
}

.band {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band-blue {
  background: linear-gradient(160deg, var(--blue) 0%, #2f4bb0 55%, #3a5ac9 100%);
  color: #fff;
}
.band-blue h2,
.band-blue h3 {
  color: #fff;
}
.band-blue p {
  color: #d6def8;
}
.band-blue a {
  color: var(--yellow);
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.band-blue .eyebrow {
  color: #16265e;
  background: var(--yellow);
}

.lead {
  font-size: 1.16rem;
  color: var(--ink-soft);
  max-width: 68ch;
}

.band-blue .lead {
  color: #d6def8;
}

.section-head {
  max-width: 68ch;
  margin-bottom: 42px;
}

/* ---------- hero ------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 84px;
  background:
    radial-gradient(circle at 10% 6%, rgba(77, 184, 255, 0.2), transparent 42%),
    radial-gradient(circle at 92% 0%, rgba(255, 201, 51, 0.26), transparent 40%),
    radial-gradient(circle at 55% 108%, rgba(69, 211, 156, 0.2), transparent 48%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
}

.hero h1 .hl {
  color: var(--blue);
}

.hero .lead {
  font-size: 1.22rem;
}

.hero-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.pass-duo {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.pass-duo .pass-mascot:first-child {
  margin-right: -14px;
}
.pass-duo .pass-mascot:last-child {
  margin-left: -14px;
}

.bob {
  animation: bob 3.2s ease-in-out infinite;
}
.pass-duo .pass-mascot:last-child.bob {
  animation-delay: 0.4s;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bob {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

.wordmark-big {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.wordmark-big .wm-blue {
  color: var(--blue);
}
.wordmark-big .wm-yellow {
  color: var(--yellow-deep);
}

.tagline {
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.tagline .t-blue {
  color: var(--blue);
}
.tagline .t-red {
  color: var(--red);
}
.tagline .t-green {
  color: var(--green-deep);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  box-shadow: var(--edge-sm);
}

.chip b {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- cards ----------------------------------------------------- */

.grid {
  display: grid;
  gap: 22px;
}

.g2 {
  grid-template-columns: repeat(2, 1fr);
}
.g3 {
  grid-template-columns: repeat(3, 1fr);
}
.g4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--edge);
}

.card h3 {
  margin-bottom: 8px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card .icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  background: var(--blue-soft);
}

.icon.y {
  background: var(--yellow-soft);
}
.icon.g {
  background: var(--green-soft);
}
.icon.r {
  background: var(--red-soft);
}
.icon.s {
  background: var(--sky-soft);
}
.icon.p {
  background: var(--purple-soft);
}

.card.link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.card.link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 0 #dbe2f5, 0 16px 30px rgba(35, 59, 142, 0.12);
}

.card .more {
  font-weight: 600;
  color: var(--blue);
  margin-top: 14px;
  display: inline-block;
}

.band-blue .card {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
  color: #fff;
}
.band-blue .card p {
  color: #d6def8;
}

/* ---------- feature rows ---------------------------------------------- */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 66px;
}

.feature:last-child {
  margin-bottom: 0;
}

.feature.flip .feature-art {
  order: -1;
}

.feature-art {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--edge);
}

/* phone mock */
.phone {
  max-width: 260px;
  margin: 0 auto;
  border: 8px solid #1b2547;
  border-radius: 30px;
  background: var(--bg);
  padding: 14px 12px;
  box-shadow: 0 14px 34px rgba(27, 37, 71, 0.22);
}

.phone .p-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 9px;
  font-size: 0.85rem;
  line-height: 1.45;
}

.phone .p-row.me {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  margin-left: 26px;
}

.phone .p-row.ok {
  background: var(--green-soft);
  border-color: #bdeeda;
}

.phone .p-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue);
  margin-bottom: 10px;
}

/* ---------- lists ----------------------------------------------------- */

.ticks {
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
}

.ticks li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 11px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-soft);
  box-shadow: inset 0 0 0 2px var(--green);
}

.ticks li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 13px;
  width: 8px;
  height: 4px;
  border-left: 2.5px solid var(--green-deep);
  border-bottom: 2.5px solid var(--green-deep);
  transform: rotate(-45deg);
}

.band-blue .ticks li::before {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 2px var(--yellow);
}
.band-blue .ticks li::after {
  border-color: var(--yellow);
}

/* numbered steps */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 22px 24px 22px 74px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--edge-sm);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.steps li strong {
  display: block;
  font-weight: 600;
  margin-bottom: 3px;
}

.steps li p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---------- stats ----------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--edge);
}

.band-blue .stat {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.stat .n {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.band-blue .stat .n {
  color: var(--yellow);
}

.stat .l {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

.band-blue .stat .l {
  color: #d6def8;
}

/* ---------- tiers ----------------------------------------------------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.tier {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--edge);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tier.featured {
  border-color: var(--yellow);
  box-shadow: 0 4px 0 var(--yellow-deep), 0 12px 26px rgba(233, 174, 18, 0.2);
}

.tier .tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow-deep);
  margin-bottom: 8px;
  min-height: 1.2em;
}

.tier h3 {
  margin-bottom: 6px;
}

.tier .price {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.tier .price small {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0;
}

.tier ul {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  flex: 1;
}

.tier ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  font-size: 0.97rem;
  color: var(--ink-soft);
}

.tier ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.tier .btn {
  width: 100%;
}

/* ---------- tables ---------------------------------------------------- */

.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--edge);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.97rem;
}

th,
td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 600;
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: none;
}

td strong {
  font-weight: 600;
}

/* ---------- timeline -------------------------------------------------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 30px;
  border-left: 3px dashed var(--line);
  display: grid;
  gap: 26px;
}

.timeline li {
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 6px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--card);
  box-shadow: 0 0 0 2px var(--yellow-deep);
}

.timeline li.done::before {
  background: var(--green);
  box-shadow: 0 0 0 2px var(--green-deep);
}

.timeline .when {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.timeline h3 {
  margin: 2px 0 6px;
}

.timeline p {
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- faq ------------------------------------------------------- */

details.faq {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  margin-bottom: 12px;
  box-shadow: var(--edge-sm);
}

details.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

details.faq summary::-webkit-details-marker {
  display: none;
}

details.faq summary::after {
  content: "+";
  color: var(--blue);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  flex: none;
}

details.faq[open] summary::after {
  content: "\2013";
}

details.faq p {
  color: var(--ink-soft);
  margin: 0 0 16px;
}

/* ---------- callout / cta band ---------------------------------------- */

.callout {
  background: var(--yellow-soft);
  border: 2px solid var(--yellow);
  border-radius: var(--radius);
  padding: 26px 28px;
}

.callout p:last-child {
  margin-bottom: 0;
}

.note {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.cta-final {
  text-align: center;
}

.cta-final .btn-row {
  justify-content: center;
}

/* ---------- footer ---------------------------------------------------- */

.site-footer {
  background: var(--blue-deep);
  color: #c8d2f0;
  padding: 56px 0 30px;
  font-size: 0.96rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
}

.site-footer a {
  color: #c8d2f0;
  text-decoration: none;
  display: block;
  padding: 4px 0;
}

.site-footer a:hover {
  color: var(--yellow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand .wordmark-big {
  font-size: 2rem;
}
.footer-brand .wm-blue {
  color: #fff;
}
.footer-brand .wm-yellow {
  color: var(--yellow);
}
.footer-brand p {
  color: #a8b5da;
  max-width: 34ch;
  margin-top: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 36px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: #93a1cc;
  font-size: 0.9rem;
}

/* ---------- responsive ------------------------------------------------ */

@media (max-width: 980px) {
  .g4,
  .tiers,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .g3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid,
  .feature {
    grid-template-columns: 1fr;
  }
  .feature.flip .feature-art {
    order: 0;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  section {
    padding: 54px 0;
  }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 18px;
    gap: 2px;
    box-shadow: 0 14px 24px rgba(35, 59, 142, 0.1);
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 12px 14px;
  }
  .nav .btn {
    margin-top: 8px;
  }
  .nav-toggle {
    display: block;
  }
  .site-header .wrap {
    position: relative;
  }
}

@media (max-width: 620px) {
  .g2,
  .g3,
  .g4,
  .tiers,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 22px;
  }
}
