:root {
  --blue: #1167b1;
  --blue-dark: #0a3f70;
  --blue-soft: #e9f4ff;
  --orange: #f7931e;
  --green: #5bbf4b;
  --text: #17324d;
  --muted: #5a6b7d;
  --bg: #f6f9fc;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(17, 103, 177, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(17, 103, 177, 0.14), transparent 30%),
    radial-gradient(circle at top right, rgba(91, 191, 75, 0.12), transparent 28%),
  var(--bg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(246, 249, 252, 0.82);
  border-bottom: 1px solid rgba(17, 103, 177, 0.08);
}

.site-header__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(17, 103, 177, 0.18));
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__text strong {
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.brand__text span {
  color: var(--muted);
  font-size: 0.88rem;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 34px 0 24px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.eyebrow,
.section-kicker,
.small-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.02;
  margin: 14px 0 18px;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin: 10px 0 12px;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.lead,
.section-heading p,
.two-col p,
.card p,
.role-card p,
.demo-shot p,
.contact-card p,
.footer p,
.hero__bullets {
  color: var(--muted);
  line-height: 1.7;
}

.hero__cta,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue), #2a8dff);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn--secondary {
  background: var(--white);
  border: 1px solid rgba(17, 103, 177, 0.16);
  color: var(--blue-dark);
}

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

.hero__bullets li {
  position: relative;
  padding-left: 22px;
}

.hero__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--green));
}

.hero__panel,
.card,
.role-card,
.demo-shot,
.contact-card,
.footer {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(17, 103, 177, 0.08);
  box-shadow: var(--shadow);
}

.hero__panel {
  border-radius: 28px;
  padding: 24px;
}

.hero__feature-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(17, 103, 177, 0.08), rgba(91, 191, 75, 0.08));
}

.hero__logo {
  width: 66px;
  height: 66px;
  object-fit: contain;
  flex: 0 0 auto;
}

.btn--small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.95rem;
}

.hero__logo-card h2 {
  font-size: 1.2rem;
  margin: 4px 0 0;
}

.stat-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat-grid article,
.proof-strip span {
  border-radius: 18px;
  background: var(--white);
  border: 1px solid rgba(17, 103, 177, 0.08);
}

.stat-grid article {
  padding: 16px;
}

.stat-grid strong {
  display: block;
  font-size: 1.55rem;
  color: var(--blue);
}

.section {
  padding: 34px 0;
}

.section--value .two-col,
.section-heading {
  display: grid;
  gap: 10px;
}

.two-col {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading--compact {
  margin-bottom: 14px;
}

.roles-grid,
.demo-grid {
  display: grid;
  gap: 18px;
}

.card,
.role-card,
.demo-shot {
  border-radius: 24px;
  padding: 22px;
}

.card--blue {
  border-top: 5px solid var(--blue);
}

.card--orange {
  border-top: 5px solid var(--orange);
}

.card--green {
  border-top: 5px solid var(--green);
}

.carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel__viewport::-webkit-scrollbar {
  display: none;
}

.carousel__track {
  display: flex;
  gap: 18px;
  padding: 4px 2px 8px;
}

.carousel__item {
  flex: 0 0 clamp(260px, 34vw, 340px);
  scroll-snap-align: start;
  min-height: 100%;
}

.carousel__btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #2a8dff);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.carousel__btn:hover {
  transform: translateY(-1px);
}

.school-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.school-logo-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid rgba(17, 103, 177, 0.08);
  box-shadow: var(--shadow);
  text-align: center;
}

.school-logo-card img {
  width: min(100%, 170px);
  height: 120px;
  object-fit: contain;
}

.school-logo-card span {
  font-weight: 700;
  color: var(--text);
}

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

.demo-shot {
  overflow: hidden;
  padding: 0;
}

.demo-shot__image {
  width: 100%;
  height: 210px;
  display: block;
  object-fit: cover;
  background: #dfeaf5;
}

.demo-shot__caption {
  padding: 18px 20px 20px;
}

.demo-shot__caption h3 {
  margin-bottom: 8px;
}

.demo-shot__caption p {
  margin-bottom: 0;
}

.demo-shot__screen {
  border-radius: 18px;
  min-height: 190px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  margin-bottom: 14px;
  font-weight: 800;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 103, 177, 0.92), rgba(17, 103, 177, 0.72)),
    linear-gradient(135deg, rgba(247, 147, 30, 0.55), rgba(91, 191, 75, 0.55));
  position: relative;
}

.demo-shot__screen::after {
  content: "▶";
  position: absolute;
  inset: auto auto 16px 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

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

.role-card {
  border-left: 5px solid transparent;
}

.role-card:nth-child(1) { border-left-color: var(--blue); }
.role-card:nth-child(2) { border-left-color: var(--orange); }
.role-card:nth-child(3) { border-left-color: var(--green); }
.role-card:nth-child(4) { border-left-color: #2a8dff; }

.section--contact {
  padding-bottom: 54px;
}

.contact-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-radius: 28px;
  padding: 26px;
}

.footer {
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  box-shadow: none;
  padding: 22px 0;
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

@media (max-width: 960px) {
  .site-header__inner {
    min-height: 76px;
  }

  .hero__grid,
  .two-col,
  .roles-grid,
  .demo-grid,
  .school-logos,
  .contact-card,
  .footer__grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    padding-top: 28px;
  }

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

  .carousel__btn {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0;
  }

  .brand {
    justify-content: flex-start;
  }

  .container {
    width: min(100% - 24px, 1120px);
  }

  .hero__panel,
  .card,
  .role-card,
  .demo-shot,
  .contact-card {
    padding: 18px;
    border-radius: 20px;
  }

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

  .hero__cta,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .demo-shot__screen {
    min-height: 150px;
  }

  .demo-shot__image {
    height: 180px;
  }

  .carousel__track {
    gap: 14px;
  }

  .carousel__item {
    flex-basis: 84vw;
  }
}
