/* Campus Pilot — the product website. Mobile first; the brand's navy and orange. */

:root {
  --navy: #0f172a;
  --navy-2: #1e293b;
  --navy-3: #0b1222;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --page: #ffffff;
  --tint: #f8fafc;
  --orange: #f97316;
  --orange-2: #fb923c;
  --orange-ink: #c2410c;
  --orange-soft: #fff7ed;
  --green: #15803d;
  --green-soft: #f0fdf4;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(15 23 42 / 6%), 0 12px 32px rgb(15 23 42 / 10%);
  --shadow-lg: 0 2px 4px rgb(15 23 42 / 6%), 0 24px 48px rgb(15 23 42 / 16%);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--orange-ink);
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ic {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nowrap {
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
}

.skip:focus {
  left: 8px;
}

/* How far down the page the reader is. */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), #fbbf24);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}

/* Scroll reveal: only when the script runs, so the page reads without it. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* Buttons */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s var(--ease),
    box-shadow 0.2s;
  font-family: inherit;
}

.btn .ic {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease);
}

.btn:hover .ic {
  transform: translateX(3px);
}

.btn:focus-visible,
.site-nav a:focus-visible,
summary:focus-visible,
.tab:focus-visible,
.tab-pause:focus-visible,
.feature-index a:focus-visible,
.footer-grid a:focus-visible,
.to-top:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--orange);
  color: var(--navy);
  box-shadow: 0 8px 20px rgb(249 115 22 / 28%);
}

.btn-primary:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgb(249 115 22 / 34%);
}

/* A light sweeping across the main buttons now and then. */
.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 55%), transparent);
  transform: skewX(-20deg);
  animation: shine 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine {
  0%,
  60% {
    left: -60%;
  }

  100% {
    left: 130%;
  }
}

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
  box-shadow: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 90%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgb(15 23 42 / 6%);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand img {
  height: 30px;
  width: auto;
}

.menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.bars,
.bars::before,
.bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s var(--ease);
}

.bars::before,
.bars::after {
  content: '';
  position: absolute;
}

.bars::before {
  top: -6px;
}

.bars::after {
  top: 6px;
}

.menu-toggle[aria-expanded='true'] .bars {
  background: transparent;
}

.menu-toggle[aria-expanded='true'] .bars::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-nav.open {
  display: flex;
  animation: drop 0.25s var(--ease);
}

.site-nav a:not(.btn) {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 4px;
}

@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--tint));
  padding: 40px 0 64px;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}

.glow-1 {
  width: 420px;
  height: 420px;
  background: #fed7aa;
  top: -160px;
  right: -120px;
}

.glow-2 {
  width: 320px;
  height: 320px;
  background: #c7d2fe;
  bottom: -140px;
  left: -120px;
  animation-duration: 22s;
}

.glow-3 {
  width: 260px;
  height: 260px;
  background: #ffedd5;
  top: 40%;
  left: 45%;
  animation-duration: 26s;
}

@keyframes drift {
  to {
    transform: translate(40px, 30px) scale(1.12);
  }
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: 12px;
}

.eyebrow-light {
  color: var(--orange-2);
}

.hero h1 {
  font-size: clamp(34px, 7vw, 58px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.h1-line {
  display: block;
}

/* The word that changes: every word in one cell, one shown at a time. */
.rotator {
  display: grid;
  justify-items: start;
  color: var(--orange-ink);
}

.rotator .word {
  grid-area: 1 / 1;
  position: relative;
  z-index: 0;
  opacity: 0;
  transform: translateY(0.45em);
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.rotator .word.is-on {
  opacity: 1;
  transform: none;
}

.rotator .word.is-out {
  opacity: 0;
  transform: translateY(-0.45em);
}

.rotator .word::after {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.08em;
  height: 0.3em;
  background: rgb(249 115 22 / 24%);
  border-radius: 4px;
  z-index: -1;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 580px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
}

.hero-points li,
.checks li,
.spot-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hero-points li::before,
.checks li::before,
.spot-list li::before {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--orange-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23c2410c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

.hero-visual {
  position: relative;
}

.browser {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--tint);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.address {
  margin-left: 10px;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.phone {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 6px solid var(--navy);
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}

.hero-phone {
  display: none;
}

/* Notifications passing by, one at a time (a demo school's day). */
.toasts {
  position: relative;
  height: 60px;
  margin-top: -30px;
  margin-left: 12px;
  max-width: calc(100% - 24px);
}

.toast {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  max-width: 100%;
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.toast.is-on {
  opacity: 1;
  transform: none;
}

.toast b {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast > span:last-child {
  min-width: 0;
}

.toast-ic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
  flex: none;
}

.toast-ic .ic {
  width: 18px;
  height: 18px;
}

.float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}

/* Numbers */
.stats {
  background: var(--navy);
  color: #cbd5e1;
  padding: 32px 0;
}

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

.stats-grid > .stat:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.stat strong {
  display: block;
  font-size: clamp(34px, 6vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--orange-2);
  font-variant-numeric: tabular-nums;
}

.stat span {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  margin-top: 4px;
}

/* Marquee */
.marquee {
  display: flex;
  overflow: hidden;
  background: var(--navy-3);
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  flex: none;
  gap: 12px;
  margin: 0;
  padding: 0 6px;
  list-style: none;
  animation: marquee 60s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track li {
  flex: none;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #334155;
  white-space: nowrap;
}

.marquee-track li::before {
  content: '●';
  color: var(--orange);
  font-size: 9px;
  margin-right: 8px;
  vertical-align: 2px;
}

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-tint {
  background: var(--tint);
}

.section-head {
  max-width: 740px;
  margin-bottom: 36px;
}

.section-head h2,
.split h2,
.cta-band h2 {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

/* Why schools switch */
.why-grid {
  display: grid;
  gap: 14px;
}

.why {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}

.why:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.why p {
  margin: 0;
  padding: 16px 20px;
  font-size: 15px;
}

.why span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.why-before {
  color: var(--muted);
}

.why-before span {
  color: #94a3b8;
}

.why-with {
  position: relative;
  background: var(--orange-soft);
  color: var(--ink);
  font-weight: 600;
}

.why-with span {
  color: var(--orange-ink);
}

.why-with::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s 0.3s var(--ease);
}

.why.in .why-with::before,
html:not(.js) .why-with::before {
  transform: scaleX(1);
}

/* What it is */
.split {
  display: grid;
  gap: 32px;
  align-items: center;
}

.split p {
  color: var(--muted);
  font-size: 17px;
}

.hub {
  --r: 112px;
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 330px;
  margin: 0 auto;
}

.hub-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  margin: calc(var(--r) * -1) 0 0 calc(var(--r) * -1);
  border-radius: 50%;
  border: 2px dashed #fdba74;
  animation: spin 40s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hub-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 2px;
}

.hub-core img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgb(249 115 22 / 35%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    transform: scale(1.06);
  }
}

.hub-core strong {
  margin-top: 6px;
  font-size: 16px;
}

.hub-core span {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
}

.hub-roles {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hub-roles li {
  --t: calc(var(--a) * 60deg - 90deg);
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(var(--t)) translate(var(--r)) rotate(calc(var(--t) * -1));
}

.hub-roles .ic {
  width: 16px;
  height: 16px;
  color: var(--orange-ink);
}

.pillars {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}

.pillar,
.trust-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s,
    border-color 0.3s;
}

.pillar:hover,
.trust-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #fed7aa;
}

.pillar h3,
.trust-grid h3 {
  font-size: 18px;
}

.pillar p,
.trust-grid p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange-ink);
  margin-bottom: 14px;
  transition: transform 0.35s var(--ease);
}

.pillar:hover .pillar-icon,
.trust-grid article:hover .pillar-icon {
  transform: translateY(-3px) rotate(-8deg);
}

/* A day at school: the line draws as the reader goes down. */
.timeline {
  --p: 1;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 52px;
  display: grid;
  gap: 18px;
  max-width: 820px;
}

.js .timeline {
  --p: 0;
}

.timeline::before,
.timeline::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 3px;
}

.timeline::before {
  background: var(--line);
}

.timeline::after {
  background: linear-gradient(180deg, var(--orange), #fbbf24);
  transform: scaleY(var(--p));
  transform-origin: top;
}

.tl-item {
  position: relative;
}

.tl-dot {
  position: absolute;
  left: -52px;
  top: 6px;
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  color: var(--muted);
  z-index: 1;
  transition:
    border-color 0.4s,
    color 0.4s,
    background 0.4s,
    transform 0.4s var(--ease);
}

.tl-dot .ic {
  width: 18px;
  height: 18px;
}

.tl-item.lit .tl-dot,
html:not(.js) .tl-dot {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
  transform: scale(1.06);
}

.tl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  transition:
    transform 0.5s var(--ease),
    opacity 0.5s var(--ease),
    box-shadow 0.3s;
}

.js .tl-item:not(.lit) .tl-card {
  opacity: 0.45;
  transform: translateX(8px);
}

.tl-card:hover {
  box-shadow: var(--shadow);
}

.tl-card h3 {
  font-size: 17px;
  margin: 6px 0 4px;
}

.tl-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.time {
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  color: var(--orange-ink);
  background: var(--orange-soft);
  border-radius: 999px;
  padding: 3px 10px;
}

/* Feature spotlights */
.feature-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.feature-index a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s var(--ease);
}

.feature-index a:hover {
  border-color: var(--orange);
  background: var(--orange-soft);
  transform: translateY(-2px);
}

.feature-index .ic {
  width: 16px;
  height: 16px;
  color: var(--orange-ink);
}

.spots {
  display: grid;
}

.spot {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 72px;
}

.spot:first-child {
  border-top: 0;
}

.spot-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: 10px;
}

.spot-kicker .ic {
  width: 32px;
  height: 32px;
  padding: 6px;
  border-radius: 10px;
  background: var(--orange-soft);
  transition: transform 0.4s var(--ease);
}

.spot:hover .spot-kicker .ic {
  transform: rotate(-10deg) scale(1.08);
}

.spot h3 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.before-with {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
  font-size: 14px;
}

.before-with span {
  padding: 8px 12px;
  border-radius: 10px;
}

.before-with .b {
  background: var(--tint);
  color: var(--muted);
  border: 1px dashed #cbd5e1;
}

.before-with .w {
  background: var(--green-soft);
  color: #14532d;
  font-weight: 600;
  border: 1px solid #bbf7d0;
}

.spot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 15px;
  color: var(--ink);
}

.spot-visual {
  position: relative;
  min-width: 0;
}

.shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s;
}

.shot:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* A slight tilt that follows the pointer (set by the script on hover). */
.tilt {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition:
    transform 0.25s ease-out,
    box-shadow 0.4s;
  will-change: transform;
}

.tilt:hover {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px);
}

.phone-inset-r {
  position: absolute;
  right: 0;
  bottom: -22px;
  width: 27%;
  border-width: 4px;
  border-radius: 18px;
}

/* Mock-ups drawn in the page where no screenshot exists. */
.mock {
  position: relative;
  margin: -34px 0 0 auto;
  width: min(300px, 86%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 14px;
  font-size: 13px;
  z-index: 1;
}

.mock-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-weight: 800;
  font-size: 13px;
  color: var(--navy);
}

.mock-title .ic {
  width: 18px;
  height: 18px;
  color: var(--orange-ink);
}

.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--tint);
  border: 1px solid var(--line);
  color: var(--muted);
}

.pill-ok {
  background: var(--green-soft);
  border-color: #bbf7d0;
  color: var(--green);
}

.pill-warn {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.mock-phone {
  position: relative;
  margin: -70px 6px 0 auto;
  width: 44%;
  max-width: 190px;
  border-radius: 24px;
  border: 5px solid var(--navy);
  background: #fff;
  box-shadow: var(--shadow-lg);
  padding: 12px 10px;
  z-index: 1;
}

/* Admit card */
.mock-admit {
  padding: 0;
  overflow: hidden;
  width: min(340px, 92%);
}

.admit-band {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: var(--navy);
  color: #fff;
  border-bottom: 2px solid var(--orange);
}

.admit-band b {
  display: block;
  font-size: 12px;
}

.admit-band small {
  display: block;
  font-size: 10px;
  color: #cbd5e1;
}

.admit-kind {
  text-align: right;
}

.admit-kind b {
  color: var(--orange-2);
}

.admit-body {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px 4px;
}

.admit-body dl {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 4px 14px;
  margin: 0;
}

.admit-body dt {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.admit-body dd {
  margin: 0;
  font-weight: 700;
  font-size: 12px;
}

.admit-photo {
  display: grid;
  place-items: center;
  width: 40px;
  height: 48px;
  border: 1px dashed #94a3b8;
  border-radius: 4px;
  font-size: 9px;
  color: var(--muted);
  flex: none;
}

.mock table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.mock-admit table {
  margin: 6px 12px 0;
  width: calc(100% - 24px);
}

.mock th {
  text-align: left;
  background: var(--navy);
  color: #fff;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 6px;
}

.mock td {
  padding: 4px 6px;
  border-bottom: 1px solid var(--line);
}

.mock tbody tr:nth-child(even) td {
  background: var(--tint);
}

.admit-sign {
  display: flex;
  justify-content: space-between;
  padding: 18px 12px 10px;
  font-size: 10px;
  color: var(--muted);
}

.admit-sign span {
  border-top: 1px solid #94a3b8;
  padding-top: 2px;
  width: 40%;
  text-align: center;
}

/* Parents' app: OTP sign-in and leave */
.spot-phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.spot-phones .phone {
  border-width: 5px;
  border-radius: 24px;
}

.mock-otp {
  margin: 0;
  width: auto;
  max-width: none;
  padding: 18px 12px;
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 100%;
}

.otp-school {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.otp-title {
  margin: 0 0 4px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.25;
}

.otp-field {
  display: grid;
  font-size: 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 8px;
}

.otp-field b {
  color: var(--ink);
  font-size: 13px;
}

.otp-label {
  font-size: 11px;
  color: var(--muted);
}

.otp-boxes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.otp-boxes i {
  display: grid;
  place-items: center;
  aspect-ratio: 0.8;
  border-radius: 6px;
  border: 1.5px solid var(--orange);
  background: var(--orange-soft);
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
}

.js .spot-visual:not(.in) .otp-boxes i {
  opacity: 0;
  transform: translateY(6px);
}

.otp-boxes i {
  transition:
    opacity 0.3s,
    transform 0.3s var(--ease);
}

.otp-boxes i:nth-child(2) {
  transition-delay: 0.15s;
}

.otp-boxes i:nth-child(3) {
  transition-delay: 0.3s;
}

.otp-boxes i:nth-child(4) {
  transition-delay: 0.45s;
}

.otp-boxes i:nth-child(5) {
  transition-delay: 0.6s;
}

.otp-boxes i:nth-child(6) {
  transition-delay: 0.75s;
}

.otp-btn {
  margin-top: 4px;
  text-align: center;
  padding: 8px;
  border-radius: 10px;
  background: var(--orange);
  color: var(--navy);
  font-weight: 800;
  font-size: 13px;
}

.mock-leave {
  grid-column: 1 / -1;
  margin: -54px 0 0 auto;
  width: min(280px, 86%);
}

.mock-leave p {
  margin: 0 0 6px;
}

.leave-dates {
  color: var(--muted);
}

/* Transport, library, hostel */
.trio-head {
  max-width: 740px;
}

.trio {
  display: grid;
  gap: 16px;
}

.trio-card {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}

.trio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.trio-card .mock {
  margin: 0 0 16px;
  width: 100%;
  box-shadow: var(--shadow);
}

.trio-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.trio-card .spot-list {
  font-size: 14px;
}

.mock-route ol {
  list-style: none;
  margin: 0 0 10px;
  padding: 0 0 0 16px;
  position: relative;
  display: grid;
  gap: 6px;
}

.mock-route ol::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  border-left: 2px dashed #fdba74;
}

.mock-route li {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.mock-route li::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px #fff;
}

.mock-route small {
  color: var(--muted);
}

.route-seats {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.route-seats span {
  display: block;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--orange), #fbbf24);
  width: var(--w);
  transition: width 1.1s 0.3s var(--ease);
}

.route-seats span {
  margin-bottom: 6px;
}

.js .reveal:not(.in) .route-seats span {
  width: 0;
}

.loan {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0 8px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.loan b {
  font-size: 13px;
}

.loan small {
  grid-column: 1;
  color: var(--muted);
  font-size: 12px;
}

.loan .pill {
  grid-row: 1 / span 2;
  grid-column: 2;
}

.beds {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.beds i {
  flex: 1;
  height: 28px;
  border-radius: 6px;
  border: 1.5px dashed #94a3b8;
}

.beds i.on {
  border: 0;
  background: linear-gradient(180deg, #fed7aa, #fdba74);
}

.room-line {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.room-line b {
  color: var(--green);
}

/* Inventory and expenses: the store, beside the real expenses screen. */
.mock-stock table {
  width: 100%;
  font-size: 12px;
}

.mock-stock td:not(:first-child),
.mock-stock th:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}

.mock-stock .pill {
  padding: 1px 8px;
  font-size: 11px;
}

@media (min-width: 980px) {
  .mock-stock {
    right: -18px;
    bottom: -26px;
  }
}

/* Roles */
.section-dark {
  position: relative;
  background:
    radial-gradient(800px 400px at 90% 0%, rgb(249 115 22 / 18%), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgb(99 102 241 / 16%), transparent 60%), var(--navy);
  color: #cbd5e1;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark .section-head p {
  color: #cbd5e1;
}

.tab-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.tab {
  position: relative;
  overflow: hidden;
  flex: none;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #cbd5e1;
  background: rgb(255 255 255 / 6%);
  border: 1px solid #334155;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.tab:hover {
  border-color: #64748b;
  color: #fff;
}

.tab[aria-selected='true'] {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy);
}

/* The slideshow: a bar fills under the chosen tab, then the next one opens. */
.tab-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: rgb(15 23 42 / 45%);
  transform: scaleX(0);
  transform-origin: left;
}

.tabs.autoplay .tab[aria-selected='true'] .tab-bar {
  animation: fill 7s linear forwards;
  animation-play-state: paused;
}

.tabs.autoplay.playing:not(.paused):not(:hover):not(:focus-within)
  .tab[aria-selected='true']
  .tab-bar {
  animation-play-state: running;
}

@keyframes fill {
  to {
    transform: scaleX(1);
  }
}

.tab-pause {
  display: none;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #334155;
  background: rgb(255 255 255 / 6%);
  color: #fff;
  cursor: pointer;
  place-items: center;
}

.tabs.autoplay .tab-pause {
  display: grid;
}

.tab-pause .ic {
  width: 18px;
  height: 18px;
}

.tab-pause .ic-play,
.tab-pause[aria-pressed='true'] .ic-pause {
  display: none;
}

.tab-pause[aria-pressed='true'] .ic-play {
  display: block;
}

.tab-panel {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: 40px;
}

.js .tab-panel {
  margin-bottom: 0;
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel.show {
  animation: panel-in 0.45s var(--ease);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.panel-text h3 {
  font-size: 22px;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}

.section-dark .checks li,
.checks-light li {
  color: #e2e8f0;
}

.section-dark .checks b {
  color: #fff;
}

.section-dark .shot {
  border-color: #334155;
}

.phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.phones .phone {
  border-width: 4px;
  border-radius: 20px;
  transition: transform 0.4s var(--ease);
}

.phones .phone:nth-child(2) {
  transform: translateY(-14px);
}

.phones .phone:hover {
  transform: translateY(-18px);
}

/* Getting started */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px 78px;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step-num {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ea580c);
  box-shadow: 0 8px 18px rgb(249 115 22 / 30%);
  transition: transform 0.35s var(--ease);
}

.step:hover .step-num {
  transform: rotate(-8deg) scale(1.08);
}

.step h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.step p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

/* Modules — each group a tinted panel in its own colour, its modules as compact rows. */
.module-group {
  --g: var(--orange-ink);
  --g-soft: var(--orange-soft);
  --g-line: #fed7aa;
  --g-glow: rgb(249 115 22 / 14%);
  position: relative;
  isolation: isolate;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--g-soft), #fff 85%);
  overflow: hidden;
}

.module-group::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: -120px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--g-glow), transparent);
  pointer-events: none;
}

.module-group + .module-group {
  margin-top: 20px;
}

.tone-academic {
  --g: #4338ca;
  --g-soft: #eef2ff;
  --g-line: #c7d2fe;
  --g-glow: rgb(99 102 241 / 16%);
}

.tone-fees {
  --g: #047857;
  --g-soft: #ecfdf5;
  --g-line: #a7f3d0;
  --g-glow: rgb(16 185 129 / 16%);
}

.tone-staff {
  --g: #0369a1;
  --g-soft: #f0f9ff;
  --g-line: #bae6fd;
  --g-glow: rgb(14 165 233 / 16%);
}

.tone-campus {
  --g: #6d28d9;
  --g-soft: #f5f3ff;
  --g-line: #ddd6fe;
  --g-glow: rgb(139 92 246 / 16%);
}

.tone-reports {
  --g: #0f766e;
  --g-soft: #f0fdfa;
  --g-line: #99f6e4;
  --g-glow: rgb(20 184 166 / 16%);
}

.tone-coaching {
  --g: #be123c;
  --g-soft: #fff1f2;
  --g-line: #fecdd3;
  --g-glow: rgb(244 63 94 / 14%);
}

/* Phones: the count under the name. Wider: the count on the right of the name. */
.group-title {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 4px 12px;
  font-size: 19px;
  margin-bottom: 14px;
}

.group-title .ic {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 11px;
  background: var(--g);
  color: #fff;
  box-shadow: 0 6px 16px var(--g-glow);
}

.group-name {
  min-width: 0;
  line-height: 1.25;
}

.group-count {
  justify-self: start;
  padding: 2px 10px;
  border: 1px solid var(--g-line);
  border-radius: 999px;
  background: #fff;
  color: var(--g);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.tile {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 12px;
  align-items: start;
  /* A short tile beside a tall one keeps its text together at the top. */
  align-content: start;
  background: rgb(255 255 255 / 88%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s,
    border-color 0.3s;
}

.tile .ic {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 11px;
  background: var(--g-soft, var(--orange-soft));
  color: var(--g, var(--orange-ink));
  transition:
    background 0.3s,
    color 0.3s;
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--g-line, #fed7aa);
}

.tile:hover .ic {
  background: var(--g, var(--orange));
  color: #fff;
  animation: wiggle 0.5s var(--ease);
}

@keyframes wiggle {
  30% {
    transform: rotate(-10deg) scale(1.08);
  }

  60% {
    transform: rotate(6deg) scale(1.04);
  }
}

.tile h4 {
  font-size: 15px;
  margin: 1px 0 2px;
}

.tile p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  background:
    radial-gradient(600px 240px at 85% 50%, rgb(249 115 22 / 30%), transparent 70%), var(--navy);
  color: #cbd5e1;
  padding: 44px 0;
}

.cta-band-row {
  display: grid;
  gap: 20px;
  align-items: center;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(24px, 3.6vw, 32px);
  margin-bottom: 6px;
}

.cta-band p {
  margin: 0;
}

.cta-band .btn {
  justify-self: start;
}

/* Roadmap */
.soon-grid {
  display: grid;
  gap: 14px;
}

.soon {
  position: relative;
  border: 1.5px dashed #fdba74;
  border-radius: var(--radius);
  padding: 22px;
  background: linear-gradient(180deg, var(--orange-soft), #fff 70%);
  transition: transform 0.3s var(--ease);
}

.soon:hover {
  transform: translateY(-4px);
}

.soon > .ic {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  color: var(--orange-ink);
  border: 1px solid #fed7aa;
  margin-bottom: 12px;
}

.soon h3 {
  font-size: 17px;
  margin-bottom: 6px;
  padding-right: 96px;
}

.soon p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.soon-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fed7aa, #fdba74, #fed7aa);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

/* Editions */
.editions {
  display: grid;
  gap: 16px;
}

.edition {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}

.edition:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.edition h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.edition .for {
  color: var(--muted);
  font-size: 14px;
}

.edition ul {
  padding-left: 18px;
  color: var(--ink);
  font-size: 15px;
  margin: 0 0 20px;
  flex: 1;
}

.edition li {
  margin: 6px 0;
}

.edition.featured {
  border: 2px solid var(--orange);
  box-shadow: var(--shadow);
}

.badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--orange);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

/* Trust */
.trust-grid {
  display: grid;
  gap: 16px;
}

/* FAQ */
.faq-grid {
  display: grid;
  gap: 0 16px;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 18px;
  margin-bottom: 10px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

details[open] {
  border-color: #fed7aa;
  box-shadow: var(--shadow);
}

summary {
  position: relative;
  cursor: pointer;
  font-weight: 700;
  padding: 14px 32px 14px 0;
  list-style: none;
}

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

summary::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 2px solid var(--orange-ink);
  border-bottom: 2px solid var(--orange-ink);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}

details[open] summary::after {
  transform: rotate(225deg);
  margin-top: -2px;
}

details p {
  color: var(--muted);
}

details[open] p {
  animation: panel-in 0.35s var(--ease);
}

/* Demo */
.demo {
  background:
    radial-gradient(700px 360px at 100% 0%, rgb(249 115 22 / 22%), transparent 60%), var(--navy);
  color: #e2e8f0;
}

.demo h2 {
  color: #fff;
}

.demo .split p {
  color: #cbd5e1;
}

.contact-line a {
  color: var(--orange-2);
}

.demo-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 14px;
  box-shadow: 0 30px 60px rgb(0 0 0 / 30%);
}

.demo-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
}

.demo-form input,
.demo-form select {
  min-height: 46px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0 12px;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  width: 100%;
}

.demo-form input:focus,
.demo-form select:focus {
  outline: 3px solid var(--orange-soft);
  border-color: var(--orange);
}

.form-note {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--navy-3);
  color: #cbd5e1;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-grid img {
  height: 28px;
  width: auto;
  margin-bottom: 12px;
}

.footer-grid p {
  max-width: 340px;
  font-size: 15px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 15px;
}

.footer-grid nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-grid a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 15px;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #1e293b;
  margin-top: 40px;
  padding-top: 18px;
  padding-bottom: 24px;
  font-size: 14px;
}

.footer-base p {
  margin: 0;
}

.to-top {
  color: #cbd5e1;
  text-decoration: none;
}

.to-top:hover {
  color: #fff;
}

/* Wider screens */
@media (min-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid > .stat:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .hub {
    --r: 160px;
    height: 430px;
  }

  .why-grid,
  .pillars,
  .trust-grid,
  .soon-grid,
  .editions,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .soon-grid > .soon:last-child:nth-child(2n + 1) {
    grid-column: 1 / -1;
  }

  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .module-group {
    padding: 22px 24px 24px;
  }

  .group-title {
    grid-template-columns: 36px 1fr auto;
  }

  .group-title .ic {
    grid-row: auto;
  }

  .group-count {
    justify-self: end;
  }

  .trio {
    grid-template-columns: repeat(3, 1fr);
  }

  .spot-phones {
    grid-template-columns: 1fr 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

  .cta-band-row {
    grid-template-columns: 1fr auto;
  }

  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .hero {
    padding: 72px 0 104px;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
  }

  .hero-phone {
    display: block;
    position: absolute;
    width: 30%;
    right: -18px;
    bottom: -56px;
  }

  .toasts {
    position: absolute;
    left: -36px;
    bottom: 8px;
    margin: 0;
    width: 300px;
    height: 60px;
  }

  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .section {
    padding: 96px 0;
  }

  .split {
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
  }

  .why-grid,
  .steps,
  .trust-grid,
  .soon-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* A roadmap card alone on the last row takes the row, not a third of it. */
  .soon-grid > .soon:last-child:nth-child(2n + 1) {
    grid-column: auto;
  }

  .soon-grid > .soon:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
  }

  .pillars {
    grid-template-columns: repeat(4, 1fr);
  }

  .tiles {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline {
    padding-left: 0;
    max-width: none;
    grid-template-columns: 1fr 1fr;
    column-gap: 96px;
    row-gap: 22px;
  }

  .timeline::before,
  .timeline::after {
    left: 50%;
    margin-left: -1.5px;
  }

  .tl-item:nth-child(odd) {
    grid-column: 1;
    text-align: right;
  }

  .tl-item:nth-child(even) {
    grid-column: 2;
    margin-top: 60px;
  }

  .tl-item:nth-child(odd) .tl-dot {
    left: auto;
    right: -69px;
  }

  .tl-item:nth-child(even) .tl-dot {
    left: -69px;
  }

  .tl-item:nth-child(n + 2):nth-child(odd) {
    margin-top: -38px;
  }

  .js .tl-item:nth-child(odd):not(.lit) .tl-card {
    transform: translateX(-8px);
  }

  .spot {
    grid-template-columns: 1fr 1.12fr;
    gap: 56px;
    padding: 72px 0;
  }

  .spot:nth-child(even) .spot-text {
    order: 2;
  }

  .spot-trio {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .spot-trio .spot-text {
    order: 0;
  }

  .spot-visual {
    padding-bottom: 12px;
  }

  .mock {
    position: absolute;
    margin: 0;
  }

  .trio-card .mock {
    position: relative;
  }

  .mock-admit {
    /* Out past the picture only as far as the page margin allows: none below about 1220px. */
    right: calc(-1 * min(24px, max(0px, (100vw - 1220px) / 2)));
    bottom: -48px;
    transform: rotate(2deg);
    transition: transform 0.4s var(--ease);
  }

  .mock-admit:hover {
    transform: rotate(0deg) translateY(-4px);
  }

  .mock-phone {
    position: absolute;
    margin: 0;
    right: -16px;
    bottom: -40px;
    width: 170px;
  }

  .mock-otp {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
  }

  .mock-leave {
    position: absolute;
    left: -28px;
    right: auto;
    bottom: -18px;
    width: 250px;
  }

  .tab-panel {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
  }

  .editions {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1120px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 22px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .site-nav a:not(.btn) {
    position: relative;
    padding: 0;
    font-size: 15px;
  }

  .site-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    border-radius: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform 0.25s var(--ease);
  }

  .site-nav a:not(.btn):hover::after,
  .site-nav a.active::after {
    transform: scaleX(1);
  }
}

/* No motion for those who asked for none: everything is simply there. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .js .timeline {
    --p: 1;
  }

  .js .tl-item:not(.lit) .tl-card {
    opacity: 1;
    transform: none;
  }

  .tl-dot {
    border-color: var(--orange);
    background: var(--orange);
    color: #fff;
  }

  .why-with::before {
    transform: scaleX(1);
  }

  .js .reveal:not(.in) .route-seats span {
    width: var(--w);
  }

  .js .spot-visual:not(.in) .otp-boxes i {
    opacity: 1;
    transform: none;
  }

  .tilt,
  .tilt:hover {
    transform: none;
  }

  .marquee-track {
    flex-wrap: wrap;
    flex: 1;
    gap: 8px;
    justify-content: center;
  }

  .marquee-track[aria-hidden='true'] {
    display: none;
  }

  .marquee {
    mask-image: none;
  }
}

/* Coming soon: a tag beside anything not available yet, a badge on its mock-up */
.soon-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: 1px;
  color: var(--navy);
  background: #fed7aa;
}

/* On the roadmap, not arriving next: the same shape, quieter */
.soon-tag.soon-tag-planned,
.mock-soon.mock-planned {
  color: #334155;
  background: #e2e8f0;
}

.spot-kicker .soon-tag,
.feature-index .soon-tag {
  margin-left: 2px;
  letter-spacing: 0.04em;
}

.section-dark .soon-tag {
  background: #fdba74;
}

.mock-soon {
  position: absolute;
  top: -10px;
  right: 10px;
  z-index: 2;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: #fdba74;
  box-shadow: 0 4px 12px rgb(249 115 22 / 30%);
}

.mock-phone .mock-soon {
  top: -12px;
  right: 50%;
  transform: translateX(50%);
  white-space: nowrap;
}

.soon-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  margin: 8px 0 16px;
}

.soon-group + .soon-grid + .soon-group,
.soon-grid + .soon-group {
  margin-top: 40px;
}

.soon-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-soft);
}

.soon-dot-later {
  background: #94a3b8;
  box-shadow: 0 0 0 4px #f1f5f9;
}

.soon-later {
  border-color: #cbd5e1;
  background: linear-gradient(180deg, #f8fafc, #fff 70%);
}

.soon-later .soon-badge {
  background: #e2e8f0;
  animation: none;
}

.soon-later > .ic {
  color: var(--muted);
  border-color: var(--line);
}

/* The trio's heading stays above its cards on every screen. */
.spot.spot-trio .spot-text {
  order: 0;
}

.admit-band {
  flex-wrap: wrap;
}

.admit-band > span {
  min-width: 0;
}

.admit-kind {
  margin-left: auto;
}

/* Ways to reach us: phone, WhatsApp, email */
.contact-ways {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.contact-way {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #334155;
  background: rgb(255 255 255 / 5%);
  color: #fff;
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s var(--ease);
}

.contact-way:hover {
  border-color: var(--orange-2);
  background: rgb(255 255 255 / 9%);
  transform: translateY(-2px);
}

.contact-way:focus-visible,
.wa-float:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.contact-way .ic {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: rgb(249 115 22 / 18%);
  color: var(--orange-2);
}

.contact-wa .ic {
  background: rgb(34 197 94 / 18%);
  color: #4ade80;
}

.contact-way small {
  display: block;
  font-size: 12px;
  color: #cbd5e1;
}

.contact-way b {
  display: block;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.form-actions {
  display: grid;
  gap: 10px;
}

.btn-wa {
  background: #15803d;
  color: #fff;
}

.btn-wa:hover {
  background: #166534;
  transform: translateY(-2px);
}

/* A small WhatsApp button that stays in the corner, out of the way. */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  box-shadow: 0 10px 24px rgb(22 163 74 / 40%);
  transition:
    transform 0.25s var(--ease),
    opacity 0.25s,
    visibility 0.25s;
}

.wa-float .ic {
  width: 28px;
  height: 28px;
  stroke-width: 1.7;
}

.wa-float:hover {
  transform: scale(1.08);
}

.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #22c55e;
  animation: ping 2.6s ease-out infinite;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  80%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.wa-float.is-hidden,
.wa-float.is-tucked {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
}

/* The page's end stays readable above the floating button. */
.footer-base {
  padding-bottom: 84px;
}

@media (min-width: 720px) {
  .contact-ways {
    grid-template-columns: 1fr 1fr;
  }

  .contact-way:last-child {
    grid-column: 1 / -1;
  }

  .form-actions {
    grid-template-columns: 1fr 1fr;
  }

  .footer-base {
    padding-bottom: 24px;
  }
}

@media print {
  .wa-float,
  .progress {
    display: none;
  }
}

.soon-note {
  margin: -6px 0 16px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px dashed #fdba74;
  background: var(--orange-soft);
  color: var(--orange-ink);
  font-size: 14px;
  font-weight: 700;
}

/* The product tour (D-541): a play button on the hero picture, and the video in a dialog. */
.browser {
  position: relative;
}

.tour-play {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px 7px 7px;
  border: 0;
  border-radius: 999px;
  background: rgb(15 23 42 / 88%);
  color: #fff;
  font: 700 14px/1.2 var(--font);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition:
    transform 0.3s var(--ease),
    background 0.3s;
}

.tour-play:hover {
  background: var(--navy);
  transform: translate(-50%, -50%) scale(1.04);
}

.tour-play:focus-visible,
.tour-close:focus-visible,
.tour-lang button:focus-visible {
  outline: 3px solid var(--orange-2);
  outline-offset: 3px;
}

.tour-play[hidden],
.desk[hidden] {
  display: none;
}

.tour-play-ic {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange);
}

.tour-play-ic::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: tour-pulse 2.4s var(--ease) infinite;
}

.tour-play-ic svg,
.ic-fill {
  fill: currentColor;
  stroke: none;
}

.tour-play-ic svg {
  width: 16px;
  height: 16px;
  margin-left: 2px;
}

@keyframes tour-pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(249 115 22 / 55%);
  }

  70%,
  100% {
    box-shadow: 0 0 0 14px rgb(249 115 22 / 0%);
  }
}

.tour {
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 30px 80px rgb(0 0 0 / 45%);
  overflow: auto;
}

.tour::backdrop {
  background: rgb(2 6 23 / 75%);
}

.tour-head,
.tour-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 18px;
}

.tour-head h2 {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  color: #fff;
}

.tour-close {
  flex: none;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 10%);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.tour-close:hover {
  background: rgb(255 255 255 / 18%);
}

.tour video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.tour-foot {
  justify-content: space-between;
  color: #cbd5e1;
  font-size: 13px;
  padding-right: 12px;
}

.tour-lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgb(255 255 255 / 10%);
}

.tour-lang button {
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  background: transparent;
  color: #cbd5e1;
  font: 600 13px/1 var(--font);
  cursor: pointer;
}

.tour-lang button[aria-pressed='true'] {
  background: #fff;
  color: var(--navy);
}

@media (prefers-reduced-motion: reduce) {
  .tour-play-ic::after {
    animation: none;
  }
}

/* The day section's tour: a desktop monitor showing a real screen, with a play button over it. */
.day-intro {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: 40px;
}

.day-intro .section-head {
  margin-bottom: 0;
}

.desk {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.desk-screen {
  position: relative;
  display: block;
  overflow: hidden;
  border: 10px solid var(--navy);
  border-bottom-width: 22px;
  border-radius: 18px;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s;
}

.desk-screen img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
  border-radius: 8px;
  transition: transform 0.6s var(--ease);
}

.desk-shade {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, rgb(15 23 42 / 10%) 30%, rgb(15 23 42 / 78%));
}

.desk-play {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 30px rgb(249 115 22 / 45%);
  transition: transform 0.3s var(--ease);
}

.desk-play svg {
  width: 30px;
  height: 30px;
  margin-left: 5px;
  color: #fff;
}

.desk-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
}

.desk-caption b {
  font-size: 17px;
  line-height: 1.3;
}

.desk-caption small {
  color: #cbd5e1;
  font-size: 13px;
}

.desk-stand {
  display: block;
  width: 18%;
  height: 34px;
  margin: 0 auto;
  background: linear-gradient(180deg, #94a3b8, #cbd5e1);
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}

.desk-base {
  display: block;
  width: 38%;
  height: 9px;
  margin: 0 auto;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #cbd5e1, #94a3b8);
  box-shadow: 0 10px 24px rgb(15 23 42 / 18%);
}

.desk:hover .desk-screen {
  transform: translateY(-4px);
  box-shadow:
    var(--shadow-lg),
    0 30px 60px rgb(15 23 42 / 18%);
}

.desk:hover .desk-screen img {
  transform: scale(1.03);
}

.desk:hover .desk-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.desk:focus-visible {
  outline: none;
}

.desk:focus-visible .desk-screen {
  outline: 3px solid var(--orange-2);
  outline-offset: 4px;
}

@media (min-width: 980px) {
  .day-intro {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 48px;
  }
}

@media (max-width: 479px) {
  .desk-screen {
    border-width: 7px;
    border-bottom-width: 16px;
    border-radius: 14px;
  }

  .desk-play {
    width: 60px;
    height: 60px;
  }

  .desk-play svg {
    width: 24px;
    height: 24px;
  }

  .desk-caption b {
    font-size: 15px;
  }

  .desk-caption small {
    font-size: 12px;
  }
}
