:root {
  --pink-50: #fff7fb;
  --pink-100: #ffe8f2;
  --pink-200: #ffd8e8;
  --pink-300: #f7b6cf;
  --coral: #e78173;
  --teal: #2e938d;
  --mint: #d8f0ea;
  --ink: #251f25;
  --muted: #6e5d66;
  --paper: #fffdf9;
  --line: rgba(37, 31, 37, 0.12);
  --shadow: 0 24px 70px rgba(79, 48, 64, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 247, 251, 0.82);
  border-bottom: 1px solid rgba(255, 216, 232, 0.8);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 0.98rem;
  font-weight: 800;
  gap: 11px;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background: var(--pink-200);
  border: 1px solid rgba(231, 129, 115, 0.35);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(247, 182, 207, 0.45);
  color: #7b294a;
  display: inline-flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav-links a {
  border-radius: 999px;
  color: #4f3d46;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 14px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 216, 232, 0.62);
  outline: none;
}

.hero {
  align-items: center;
  display: grid;
  min-height: 86svh;
  overflow: hidden;
  padding: 118px clamp(20px, 5vw, 72px) 74px;
  position: relative;
}

.hero-media,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-media {
  background-image: url("assets/education-hero.png");
  background-position: center right;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 247, 251, 0.98) 0%, rgba(255, 247, 251, 0.91) 34%, rgba(255, 232, 242, 0.64) 59%, rgba(255, 232, 242, 0.22) 100%),
    linear-gradient(0deg, rgba(255, 253, 249, 0.9) 0%, rgba(255, 253, 249, 0) 24%);
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker,
.service-label {
  color: #8f315b;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3.3rem, 9vw, 7.8rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 28px;
  max-width: 820px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0;
}

h3 {
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 14px;
}

.hero-copy {
  color: #4f3d46;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 850;
  gap: 10px;
  min-height: 50px;
  padding: 13px 20px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible,
.service-link:hover,
.service-link:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.button.primary {
  background: #cf4f80;
  box-shadow: 0 16px 34px rgba(207, 79, 128, 0.28);
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(37, 31, 37, 0.12);
  color: var(--ink);
}

.intro-band {
  align-items: end;
  background: linear-gradient(135deg, var(--pink-50), var(--mint));
  display: grid;
  gap: clamp(24px, 6vw, 90px);
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.intro-band p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 5px;
}

.services {
  padding: clamp(58px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

.section-heading {
  margin-bottom: 32px;
  max-width: 850px;
}

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

.service-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 410px;
  overflow: hidden;
  padding: clamp(26px, 4vw, 42px);
  position: relative;
}

.service-card::before {
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.device-card::before {
  background: linear-gradient(90deg, var(--pink-200), var(--coral));
}

.class-card::before {
  background: linear-gradient(90deg, var(--pink-200), var(--teal));
}

.service-icon {
  align-items: center;
  background: var(--pink-100);
  border: 1px solid rgba(207, 79, 128, 0.16);
  border-radius: 18px;
  color: #b33d6e;
  display: inline-flex;
  height: 62px;
  justify-content: center;
  margin-bottom: 26px;
  width: 62px;
}

.service-icon svg {
  fill: none;
  height: 32px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  width: 32px;
}

.service-card p:not(.service-label) {
  color: var(--muted);
  font-size: 1.02rem;
}

.service-link {
  align-items: center;
  border-top: 1px solid var(--line);
  color: #8f315b;
  display: inline-flex;
  font-weight: 900;
  gap: 9px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
  transition: transform 160ms ease;
}

.closing-cta {
  background: #2d2730;
  color: white;
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.closing-cta .section-kicker {
  color: var(--pink-200);
}

.closing-cta h2,
.closing-cta p {
  max-width: 780px;
}

.closing-cta p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.12rem;
}

.closing-cta .button {
  margin-top: 18px;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    min-height: 112px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-links a {
    padding: 8px 10px;
  }

  .hero {
    min-height: 84svh;
    padding-top: 152px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 247, 251, 0.97) 0%, rgba(255, 247, 251, 0.9) 48%, rgba(255, 232, 242, 0.72) 100%),
      linear-gradient(0deg, rgba(255, 253, 249, 0.82), rgba(255, 253, 249, 0));
  }

  .hero-media {
    background-position: 62% center;
  }

  .intro-band,
  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header {
    position: absolute;
  }

  .brand {
    white-space: normal;
  }

  .hero {
    min-height: 88svh;
    padding-top: 152px;
  }

  .button {
    justify-content: center;
    width: 100%;
  }

  .service-card {
    min-height: 0;
  }
}
