:root {
  --bg: #eef2f8;
  --paper: #ffffff;
  --ink: #122033;
  --muted: #5a6b80;
  --line: #d7e0ec;
  --blue: #1b66e8;
  --blue-deep: #124db8;
  --blue-soft: #e8f1ff;
  --excel: #0f9d58;
  --teams: #5b5fc7;
  --outlook: #0b6ec7;
  --copilot: #7c4dff;
  --yt: #e11d2e;
  --shadow: 0 18px 50px rgba(18, 32, 51, 0.08);
  --header-h: 76px;
  --max: 1160px;
  --display: "Inter", system-ui, sans-serif;
  --font: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 480px at 88% -10%, rgba(27, 102, 232, 0.16), transparent 55%),
    radial-gradient(900px 420px at -10% 8%, rgba(124, 77, 255, 0.08), transparent 50%),
    var(--bg);
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue-deep);
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 0.55em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 10px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(238, 242, 248, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  min-width: 0;
}

.brand img {
  width: 46px;
  height: 46px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.site-nav ul {
  display: flex;
  gap: 0.15rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue-deep);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn:focus-visible,
.site-nav a:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0 1.15rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(27, 102, 232, 0.22);
}

.btn-primary:hover {
  background: var(--blue-deep);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: #b9c7da;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #000;
  color: #fff;
}

.btn-on-dark {
  background: transparent;
  color: #fff;
  border-color: #3c4c61;
}

.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.hero {
  position: relative;
  padding: 3.2rem 0 1.2rem;
  overflow: hidden;
}

.hero-mark {
  position: absolute;
  right: -2rem;
  top: 1rem;
  font-family: ui-monospace, Consolas, monospace;
  font-size: clamp(8rem, 22vw, 16rem);
  font-weight: 700;
  color: rgba(27, 102, 232, 0.07);
  pointer-events: none;
  line-height: 1;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 5.1rem);
  max-width: 16ch;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem 0 3rem;
  align-items: stretch;
}

.path-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: 44px 2.6em auto 1fr auto;
  gap: 0.75rem 0;
  min-height: 100%;
  color: inherit;
  align-items: start;
}

.path-card:hover {
  transform: translateY(-3px);
  transition: transform 0.18s ease;
}

.path-card.featured {
  background:
    linear-gradient(180deg, #1b66e8 0%, #124db8 100%);
  color: #fff;
  border-color: transparent;
}

.path-card.featured p,
.path-card.featured .path-kicker {
  color: #d7e6ff;
}

.path-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0;
  align-self: start;
}

.path-card h2 {
  font-size: 1.55rem;
  line-height: 1.2;
  margin: 0;
  min-height: 2.15em;
  align-self: start;
}

.path-card p {
  color: var(--muted);
  margin: 0;
}

.path-card .btn {
  margin-top: 0.4rem;
  align-self: start;
}

.path-card.featured .btn {
  background: #fff;
  color: var(--blue-deep);
  box-shadow: none;
}

.icon-pill {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin: 0;
  font-weight: 800;
  font-family: var(--font);
}

.icon-blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.icon-red {
  background: #fde8ea;
  color: var(--yt);
}

.icon-pill svg {
  width: 22px;
  height: 22px;
  display: block;
}

.cta-band .kicker {
  color: #9ec0ff;
}

.section {
  padding: 3.5rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.section-head p {
  color: var(--muted);
  max-width: 36rem;
}

.kicker {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.course-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1rem;
}

.course-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.course-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.course-excel {
  grid-row: 1 / span 3;
}

.course-cover {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.course-body {
  padding: 1.2rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-body h3 {
  font-size: 1.45rem;
}

.course-body p {
  color: var(--muted);
}

.course-body p:not(.course-status) {
  flex: 1;
}

.course-body .course-status {
  flex: 0 0 auto;
  margin: 0.9rem 0 0.35rem;
  font-weight: 800;
  color: var(--ink);
}

.course-program {
  font-weight: 700;
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.course-program:hover {
  color: var(--blue);
}

.swatch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-excel {
  background: var(--excel);
}

.dot-teams {
  background: var(--teams);
}

.dot-outlook {
  background: var(--outlook);
}

.dot-copilot {
  background: var(--copilot);
}

.tag-new {
  display: inline-flex;
  margin-left: 0.35rem;
  padding: 0.08rem 0.42rem;
  border-radius: 999px;
  background: #fff3c4;
  color: #8a6a00;
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.band-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.about {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.portrait {
  position: relative;
  margin: 0;
  flex: 0 0 auto;
  width: auto;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
  min-height: 0;
  padding: 0;
}

.portrait img {
  display: block;
  width: auto;
  height: 18.5rem;
  max-width: 100%;
}

.portrait figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 2.4rem 1.1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(18, 32, 51, 0.78));
  color: #fff;
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.about-copy {
  flex: 1;
  min-width: 0;
}

.cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.cert-list span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: 32px;
  padding: 2.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.cta-band p {
  color: #c5d0de;
}

.collab {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2rem 2.1rem;
  box-shadow: var(--shadow);
}

.collab p {
  color: var(--muted);
}

.collab .btn {
  margin-top: 0.4rem;
}

.sponsor-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.sponsor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
}

.collab .sponsor-caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
}

.sponsor-logo {
  margin: 0;
  width: 118px;
  height: 74px;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.sponsor-logo img {
  max-width: 100%;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sponsor-logo-light {
  background: #fff;
}

.site-footer {
  padding: 3rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h2 {
  font-family: var(--font);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--ink);
}

.legal {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .paths,
  .course-grid,
  .footer-grid,
  .cta-band,
  .section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .about {
    flex-direction: column;
    align-items: flex-start;
  }

  .collab {
    grid-template-columns: 1fr;
  }

  .portrait img {
    height: auto;
    width: min(16rem, 100%);
  }

  .course-excel {
    grid-row: auto;
  }

  .cta-band {
    display: block;
  }

  .cta-band .hero-cta {
    margin-top: 1.2rem;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--bg);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.2rem 2rem;
    overflow: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
  }

  .site-nav a {
    display: block;
    padding: 0.8rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-actions {
    flex-direction: column;
    margin-top: 1rem;
  }

  .nav-actions .btn {
    width: 100%;
  }

  .hero-mark {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
