/* www.zocampus.in. One stylesheet, no framework. Brand blue from the owner's logo. */
@font-face {
  font-family: 'Source Serif 4';
  src: url('/assets/fonts/source-serif-4.woff2') format('woff2');
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/plus-jakarta-sans.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --blue: #261cc1;
  --blue-deep: #1a128c;
  --blue-wash: #eceafd;
  --ink: #16153a;
  --ink-soft: #4a4a6a;
  --chalk: #f3f4f9;
  --line: #dcdeea;
  --green: #15803d;
  --paper: #ffffff;
  --serif: 'Source Serif 4', Georgia, 'Noto Serif', serif;
  --sans: 'Plus Jakarta Sans', 'Noto Sans', system-ui, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 650; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.05; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.15; }
h3 { font-size: 1.3rem; line-height: 1.3; }
p { margin: 0; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--paper); padding: 8px 12px; }

/* Buttons: one solid blue action, a light one on blue backgrounds. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--blue); color: #fff; font: 600 1rem var(--sans); text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--blue-deep); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: var(--blue-wash); }
.link { font-weight: 600; text-underline-offset: 4px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.top-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.35rem var(--serif); }
.top-links { display: flex; align-items: center; gap: 24px; }
.top-links a:not(.btn) { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.top-links a:not(.btn):hover { color: var(--blue); }

/* Hero */
.hero { padding: 72px 0 56px; background: linear-gradient(var(--paper), var(--chalk)); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.lead { margin-top: 22px; max-width: 34em; font-size: 1.2rem; color: var(--ink-soft); }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.small { margin-top: 18px; font-size: 0.92rem; color: var(--ink-soft); }
.hero-phone { margin: 0; justify-self: center; max-width: 330px; }
.hero-phone img,
.moment img { border-radius: 28px; border: 8px solid var(--ink); background: var(--ink); box-shadow: 0 30px 60px -30px rgba(22, 21, 58, 0.45); }
.hero-phone figcaption { margin-top: 14px; font-size: 0.85rem; color: var(--ink-soft); text-align: center; }

/* The school day: the one bold element. A vertical rule with times, like a period timetable. */
.day { padding: 96px 0; }
.section-lead { margin-top: 12px; max-width: 38em; color: var(--ink-soft); font-size: 1.1rem; }
.timeline { list-style: none; margin: 56px 0 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: var(--blue-wash); }
.moment { position: relative; display: grid; grid-template-columns: 1fr 260px; gap: 48px; align-items: start; padding: 0 0 72px 40px; }
.moment::before { content: ''; position: absolute; left: -7px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--blue); }
.moment:last-child { padding-bottom: 0; grid-template-columns: 1fr; }
.moment:last-child img.wide { border-width: 6px; border-radius: 16px; max-width: min(960px, 100%); }
.moment > * { min-width: 0; }
.moment-copy { max-width: 36em; }
.time { color: var(--blue); font-weight: 600; }
.time time { font: 700 2.4rem/1 var(--serif); margin-right: 12px; letter-spacing: -0.02em; }
.moment h3 { margin-top: 14px; font-size: 1.55rem; }
.moment-copy p:last-child { margin-top: 10px; color: var(--ink-soft); }

/* Everyone in the school */
.people { padding: 80px 0; background: var(--chalk); }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 36px; }
.people-grid > div { border-top: 3px solid var(--blue); padding-top: 18px; }
.people-grid p { margin-top: 8px; color: var(--ink-soft); }

/* Who we are: facts in a definition list, each one checkable. */
.trust { padding: 96px 0; }
.trust-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--ink-soft); }

/* Going live: a real sequence, so it is numbered. */
.steps { padding: 80px 0; background: var(--chalk); }
.step-list { list-style: none; counter-reset: step; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-list li { counter-increment: step; }
.step-list li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 1.1rem var(--serif); margin-bottom: 16px; }
.step-list p { margin-top: 8px; color: var(--ink-soft); }

/* Closing call to action and the school sign-in. */
.cta { padding: 88px 0; background: var(--blue); color: #fff; }
.cta :focus-visible { outline-color: #fff; }
.cta-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.cta p { margin: 14px 0 26px; color: #dcdaf8; font-size: 1.1rem; }
.cta .phone { margin: 14px 0 0; font-size: 0.95rem; }
.school { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 18px; padding: 28px; }
.school h2 { font-size: 1.45rem; }
.school label { display: block; margin-top: 16px; font-weight: 600; }
.school-field { display: flex; align-items: center; margin-top: 8px; background: #fff; border-radius: 12px; overflow: hidden; }
.school-field input { flex: 1; min-width: 0; height: 50px; border: 0; padding: 0 4px 0 16px; font: 500 1.05rem var(--sans); color: var(--ink); text-align: right; }
.school-field input:focus { outline: none; }
.school-field:focus-within { outline: 3px solid #fff; outline-offset: 3px; }
.school-field span { padding-right: 16px; color: var(--ink-soft); font-weight: 500; }
.school .hint { margin: 8px 0 0; font-size: 0.9rem; }
.school .error { margin: 8px 0 0; min-height: 1.4em; color: #ffd6d6; font-weight: 600; font-size: 0.95rem; }
.school .btn { margin-top: 12px; width: 100%; }

.foot { padding: 32px 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.92rem; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero-grid, .trust-grid, .cta-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .moment, .moment:last-child { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-left: 28px; }
  .moment img:not(.wide) { max-width: 260px; }
  .people-grid, .step-list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; }
  .top-links { gap: 14px; }
  .top-links a:not(.btn):not(.keep) { display: none; }
  .btn-small { padding: 0 12px; font-size: 0.9rem; white-space: nowrap; }
}
@media (max-width: 380px) {
  .brand span { display: none; }
  .wrap { padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
