:root {
  --navy: #061a46;
  --navy-2: #0a2c68;
  --blue: #0869cc;
  --cyan: #18a7e0;
  --green: #129464;
  --green-light: #b9f3d4;
  --ink: #10213d;
  --muted: #60708a;
  --line: #dbe5f0;
  --paper: #ffffff;
  --mist: #f3f8fc;
  --radius: 24px;
  --shadow: 0 22px 60px rgba(4, 31, 79, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; color: #fff; background: #000; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.initiative-bar { color: #d9f8e8; background: #031336; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .78rem; letter-spacing: .04em; }
.initiative-bar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.initiative-bar a { color: #fff; font-weight: 800; text-decoration: none; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #48daa0; box-shadow: 0 0 0 5px rgba(72,218,160,.12); }

.site-header { position: sticky; z-index: 50; top: 0; color: #fff; background: rgba(6,26,70,.96); border-bottom: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(16px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { width: 190px; height: 52px; display: flex; align-items: center; padding: 6px 12px; overflow: hidden; background: #fff; border-radius: 12px; text-decoration: none; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: #dce8ff; font-size: .92rem; font-weight: 750; text-decoration: none; }
.main-nav a:hover, .main-nav a:focus-visible { color: #fff; }
.main-nav .nav-cta { padding: 12px 17px; color: #05204e; background: #b9f3d4; border-radius: 11px; }
.menu-button { display: none; width: 46px; height: 42px; place-content: center; gap: 5px; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; }
.menu-button span:not(.sr-only) { display: block; width: 20px; height: 2px; background: #fff; }

.hero { position: relative; min-height: 690px; display: grid; align-items: center; overflow: hidden; color: #fff; background: radial-gradient(circle at 80% 25%, rgba(24,167,224,.26), transparent 28%), linear-gradient(135deg, #061a46 0%, #08275e 52%, #075385 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 130px; background: linear-gradient(to top, rgba(1,14,42,.36), transparent); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 74px; padding: 88px 0 105px; }
.eyebrow { margin: 0 0 18px; color: #9cf0cb; font-size: .74rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow--blue { color: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(3rem, 6vw, 5.65rem); line-height: .96; letter-spacing: -.055em; }
h1 span { color: #b9f3d4; }
.hero-lead { max-width: 660px; margin-bottom: 34px; color: #d5e4fa; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 13px; font-weight: 850; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #05204e; background: #b9f3d4; box-shadow: 0 12px 30px rgba(9,20,50,.24); }
.button--secondary { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }
.hero-note { margin: 22px 0 0; color: #abc1e3; font-size: .78rem; }
.hero-note span { color: #4ee2a5; }

.hero-visual { position: relative; min-height: 455px; display: grid; place-items: center; }
.logo-card { position: relative; z-index: 2; width: min(100%, 530px); padding: 38px 26px; background: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 34px; box-shadow: 0 35px 90px rgba(0,12,38,.4); transform: rotate(-2deg); }
.logo-card img { width: 100%; }
.floating-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 13px 16px; color: var(--ink); background: #fff; border: 1px solid #d5e2ee; border-radius: 15px; box-shadow: 0 18px 40px rgba(0,15,45,.24); }
.floating-card strong { color: var(--blue); font-size: 1.5rem; }
.floating-card span { max-width: 118px; font-size: .73rem; font-weight: 780; line-height: 1.25; }
.floating-card--schools { right: -24px; bottom: 54px; }
.floating-card--network { top: 25px; left: -22px; }
.network-icon { width: 32px; height: 32px; display: grid; place-items: center; color: #fff !important; background: var(--green); border-radius: 50%; font-size: 1.35rem !important; }
.hero-orbit { position: absolute; border: 1px solid rgba(105,205,255,.12); border-radius: 50%; }
.hero-orbit--one { width: 430px; height: 430px; right: -120px; top: 80px; }
.hero-orbit--two { width: 620px; height: 620px; right: -170px; top: -10px; }

.progress-strip { position: relative; z-index: 5; color: #fff; background: #031336; }
.progress-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.progress-grid > div { min-height: 116px; display: flex; align-items: center; gap: 20px; padding: 22px 34px; border-right: 1px solid rgba(255,255,255,.13); }
.progress-grid > div:last-child { border: 0; }
.progress-number { color: #55d5ff; font-size: 1.75rem; font-weight: 950; }
.progress-grid p { margin: 0; color: #9eb2d1; font-size: .82rem; }
.progress-grid strong { color: #fff; font-size: .96rem; }

.section { padding: 110px 0; }
.section--tinted { background: var(--mist); }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 80px; margin-bottom: 48px; }
.section-heading h2, .network-copy h2, .join-card h2 { margin-bottom: 0; font-size: clamp(2.25rem, 4vw, 3.9rem); line-height: 1.05; letter-spacing: -.04em; }
.section-heading > p { max-width: 520px; margin-bottom: 6px; color: var(--muted); }

.gateway-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.gateway-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gateway-card { position: relative; min-height: 570px; display: flex; flex-direction: column; padding: 34px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.gateway-card::before { content: ""; position: absolute; width: 240px; height: 240px; top: -100px; right: -70px; border-radius: 50%; background: rgba(15,112,210,.08); }
.gateway-card--raffles { background: linear-gradient(150deg, #fff 55%, #eef7ff); }
.gateway-card--school { background: linear-gradient(150deg, #fff 55%, #eefaf3); }
.gateway-card--school::before { background: rgba(18,148,100,.09); }
.gateway-card--app { background: linear-gradient(150deg, #fff 55%, #eef7ff); }
.gateway-card--suspended { background: linear-gradient(150deg, #fff 55%, #f1f3f6); }
.gateway-card__top { position: relative; z-index: 1; min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 45px; }
.gateway-icon { width: 58px; height: 58px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--cyan)); border-radius: 17px; font-size: 1.7rem; font-weight: 950; }
.school-shield { width: 62px; height: 62px; object-fit: contain; padding: 5px; background: #fff; border: 1px solid #dbe6df; border-radius: 15px; }
.app-preview { width: 112px; height: 62px; object-fit: cover; object-position: left center; background: #fff; border: 1px solid #dbe5f0; border-radius: 12px; }
.badge { padding: 8px 11px; color: #07569e; background: #dceeff; border-radius: 999px; font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.badge--green { color: #086943; background: #d9f5e5; }
.badge--suspended { color: #5d6674; background: #e3e6ea; }
.card-kicker { margin-bottom: 10px; color: var(--blue); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.gateway-card--school .card-kicker { color: var(--green); }
.gateway-card h3 { margin-bottom: 18px; font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.07; letter-spacing: -.035em; }
.gateway-card p:not(.card-kicker) { color: var(--muted); }
.feature-list { display: grid; gap: 10px; margin: 22px 0 28px; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 720; }
.feature-list li::before { content: "✓"; width: 22px; height: 22px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: var(--blue); border-radius: 50%; font-size: .7rem; }
.gateway-card--school .feature-list li::before { background: var(--green); }
.card-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; padding: 16px 18px; color: #fff; background: var(--blue); border-radius: 12px; font-weight: 850; text-decoration: none; }
.card-link--green { background: var(--green); }
.card-link--disabled { justify-content: space-between; color: #66707f; background: #e2e6eb; cursor: not-allowed; }
.gateway-card small { display: block; margin-top: 12px; color: #8290a3; font-size: .7rem; line-height: 1.45; }

.network-section { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 100px; }
.network-copy > p:not(.eyebrow) { max-width: 560px; margin: 26px 0; color: var(--muted); font-size: 1.04rem; }
blockquote { margin: 34px 0 0; padding: 22px 24px; color: var(--navy-2); background: #fff; border-left: 5px solid var(--cyan); border-radius: 0 14px 14px 0; box-shadow: 0 12px 35px rgba(5,39,85,.08); font-size: 1.15rem; font-weight: 850; }
.steps { display: grid; gap: 13px; }
.steps article { display: grid; grid-template-columns: 62px 1fr; gap: 20px; padding: 25px; background: #fff; border: 1px solid #dce7f0; border-radius: 18px; box-shadow: 0 12px 35px rgba(6,35,72,.06); }
.steps span { width: 52px; height: 52px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--navy-2), var(--blue)); border-radius: 15px; font-size: .78rem; font-weight: 900; }
.steps h3 { margin: 1px 0 4px; font-size: 1.12rem; }
.steps p { margin: 0; color: var(--muted); font-size: .84rem; }

.join-section { padding: 78px 0; background: #fff; }
.join-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px; padding: 55px 58px; color: #fff; background: linear-gradient(120deg, var(--navy), var(--blue)); border-radius: 28px; box-shadow: 0 28px 70px rgba(5,44,100,.2); }
.join-card h2 { max-width: 720px; }
.join-card p:not(.eyebrow) { max-width: 690px; margin: 20px 0 0; color: #d3e4fa; }
.button--light { color: var(--navy); background: #fff; white-space: nowrap; }

.site-footer { padding: 45px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 55px; }
.footer-brand { display: flex; align-items: center; height: 52px; overflow: hidden; }
.footer-brand img { width: 100%; }
.footer-grid p { margin: 0; color: var(--muted); font-size: .82rem; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--navy-2); font-size: .8rem; font-weight: 800; text-decoration: none; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; padding-top: 70px; }
  .hero-visual { min-height: 380px; }
  .logo-card { width: min(90%, 560px); }
  .section-heading, .network-section { grid-template-columns: 1fr; gap: 35px; }
  .network-section { gap: 55px; }
  .join-card { grid-template-columns: 1fr; }
  .gateway-grid--three { grid-template-columns: 1fr 1fr; }
  .gateway-grid--three .gateway-card--suspended { grid-column: 1 / -1; min-height: 480px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .initiative-bar__inner { justify-content: center; text-align: center; }
  .initiative-bar a { display: none; }
  .brand { width: 158px; }
  .menu-button { display: grid; }
  .main-nav { position: fixed; inset: 120px 0 0; display: none; align-content: start; align-items: stretch; gap: 0; padding: 25px 20px; background: #061a46; }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 18px 4px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 1.08rem; }
  .main-nav .nav-cta { margin-top: 20px; padding: 16px; text-align: center; }
  .hero { min-height: auto; }
  .hero-grid { padding: 65px 0 82px; }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-visual { min-height: 300px; }
  .logo-card { width: 94%; padding: 28px 17px; border-radius: 24px; }
  .floating-card--network { top: -12px; left: 0; }
  .floating-card--schools { right: 0; bottom: 12px; }
  .progress-grid { grid-template-columns: 1fr; padding: 12px 0; }
  .progress-grid > div { min-height: 84px; padding: 16px 10px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .section { padding: 78px 0; }
  .gateway-grid { grid-template-columns: 1fr; }
  .gateway-grid--three { grid-template-columns: 1fr; }
  .gateway-grid--three .gateway-card--suspended { grid-column: auto; min-height: 540px; }
  .gateway-card { min-height: 550px; padding: 27px; }
  .join-card { padding: 38px 27px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { width: 190px; }
}

@media (max-width: 450px) {
  .hero-actions, .hero-actions .button { width: 100%; }
  .floating-card span { max-width: 96px; }
  .gateway-card__top { align-items: flex-start; }
  .badge { max-width: 145px; text-align: center; }
  .steps article { grid-template-columns: 50px 1fr; padding: 20px; gap: 15px; }
  .steps span { width: 45px; height: 45px; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
