:root {
  color-scheme: light;
  font: 16px/1.55 Inter, system-ui, sans-serif;
  --page: #f8f5ff;
  --paper: #fff;
  --ink: #231444;
  --muted: #534666;
  --line: #ded4ee;
  --blue: #4631a4;
  --soft: #ece4fe;
  --ring: #9263e2;
  --hero-fill: #eee2ff;
  --hero-pink: #ffccf0;
  --hero-aqua: #b3f2fb;
  --hero-purple: #c4b3ff;
  --hero-highlight: #642579;
  --hero-panel: #ffffffed;
  --tile-shadow: #26145124;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #160f23;
  --paper: #241a34;
  --ink: #fbf4ff;
  --muted: #d4c5e1;
  --line: #4d3c5c;
  --blue: #c9bbff;
  --soft: #3a2852;
  --ring: #d3b0ff;
  --hero-fill: #291741;
  --hero-pink: #602052;
  --hero-aqua: #0e566c;
  --hero-purple: #49318d;
  --hero-highlight: #ffd0ef;
  --hero-panel: #231632ed;
  --tile-shadow: #0b061784;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); }
a { color: var(--blue); text-underline-offset: 3px; }
:where(a, button, summary):focus-visible { outline: 3px solid var(--ring); outline-offset: 4px; }
.skip { position: absolute; left: -999px; }
.skip:focus { z-index: 3; left: 8px; top: 8px; background: var(--paper); padding: 8px; }
.wrap { width: min(1210px, calc(100% - 36px)); margin: auto; }

header { background: var(--paper); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 12px 24px; min-height: 74px; flex-wrap: wrap; padding-block: 11px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-size: 26px; font-weight: 850; letter-spacing: -.05em; }
.mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #f7d8ffb8;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #b52c85 6%, #7130ba 48%, #3747c4 83%, #167e9c);
  box-shadow: inset 0 2px 3px #fff6, inset 0 -2px 6px #28124e9c, 0 4px 10px #44267847;
  font-size: 23px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 2px 5px #2b1b54;
}
.mark::after {
  position: absolute;
  content: "";
  pointer-events: none;
  inset: 0;
  background: linear-gradient(122deg, #fff5, transparent 34%, #fff0 47%, #fff5 53%, transparent 65%);
  transform: translateX(-100%);
}
.brand:hover .mark::after { transform: translateX(100%); transition: transform .65s ease; }
.bar nav { display: flex; gap: 4px; flex-wrap: wrap; margin-inline: auto; }
.bar nav a { padding: 9px 12px; color: var(--muted); font-weight: 690; text-decoration: none; border-radius: 9px; }
.bar nav a:hover { background: var(--soft); color: var(--ink); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(24px, 5vw, 64px);
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 97% 0, var(--hero-aqua), transparent 48%),
    radial-gradient(ellipse at 0 10%, var(--hero-pink), transparent 56%),
    radial-gradient(ellipse at 90% 90%, var(--hero-purple), transparent 49%),
    var(--hero-fill);
  box-shadow: 0 18px 38px var(--tile-shadow), inset 0 1px 0 #ffffff70;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(0deg, transparent 0 5px, #fff 6px 7px);
  opacity: .14;
  pointer-events: none;
}
.hero h1 { max-width: 16ch; margin: 8px 0 18px; font-size: clamp(36px, 5.4vw, 70px); font-weight: 850; line-height: .99; letter-spacing: -.06em; }
.hero p { max-width: 48ch; margin: 0 0 14px; color: var(--ink); }
.hero .eyebrow { color: var(--hero-highlight); font-size: 14px; font-weight: 750; }
.hero .hero-journey { color: var(--hero-highlight); font-size: clamp(18px, 2.2vw, 24px); font-weight: 800; line-height: 1.28; }
.hero-feature { position: relative; min-width: 0; padding-top: 40px; }
.hero-emblem {
  position: absolute;
  right: -7px;
  top: -29px;
  z-index: 1;
  transform: rotate(9deg);
  pointer-events: none;
}
.hero-emblem .mark { width: clamp(62px, 8vw, 96px); font-size: clamp(35px, 4.7vw, 57px); border-radius: 23%; box-shadow: inset 0 2px 4px #fff8, inset 0 -3px 8px #28124e9c, 0 10px 24px #55278466, 0 0 30px #e684e17d; }
.hero-emblem .mark::after { animation: emblem-shine .85s ease-out .15s both; }
@keyframes emblem-shine { to { transform: translateX(100%); } }
.path {
  background: var(--hero-panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 23px clamp(16px, 3vw, 26px);
  box-shadow: 0 14px 28px var(--tile-shadow);
}
.path h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; }
.path ol { margin: 0; padding: 0 0 0 1.45em; }
.path li { padding: 10px 0 10px 3px; }
.path li + li { border-top: 1px solid var(--line); }
.path li::marker { color: var(--blue); font-weight: 800; }
.path li:last-child { padding-bottom: 0; }
.path strong, .path li span { display: block; }
.path li span { color: var(--muted); font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 9px 16px;
  border: 1px solid #4d2477;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(#763999, #4d2477);
  box-shadow: inset 0 1px 0 #ffffff60, 0 4px 8px var(--tile-shadow);
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease;
}
.action.alt { background: var(--hero-panel); color: var(--ink); border-color: var(--ring); }
.action:hover { transform: translateY(-2px); }

.section { margin-top: 36px; scroll-margin-top: 12px; }
.section h2 { margin: 0 0 5px; font-size: 29px; letter-spacing: -.03em; }
.sub { margin: 0 0 15px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.card :is(h3, h4) { font-size: 19px; line-height: 1.25; margin: 8px 0 6px; }
.card p { margin: 0 0 10px; color: var(--muted); }
.credential, .fine { font-size: 14px; }
.openiam-notice { border-inline-start: 3px solid currentColor; padding-inline-start: .75rem; font-weight: 650; }
.flag { display: inline-flex; align-self: flex-start; font-size: 13px; font-weight: 750; padding: 3px 9px; border-radius: 20px; }
.lab { font-weight: 700; }
.customer { margin-top: auto; border-top: 1px solid var(--line); padding-top: 10px; }
.customer span, .customer small { display: block; color: var(--muted); }
.customer span { font-size: 13px; }
.customer a { display: flex; gap: 9px; align-items: center; font-weight: 700; min-height: 36px; }
.customer img { width: 62px; height: 32px; object-fit: contain; }
details { margin: 0 0 12px; }
summary { cursor: pointer; min-height: 35px; font-weight: 700; color: var(--blue); }
details p { margin-top: 4px !important; }
.price { font-size: 27px; font-weight: 820; color: var(--ink) !important; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); }
footer { margin: 30px 0; padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); }

@media (max-width: 850px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .bar nav { order: 1; width: 100%; margin: 0; }
  .hero, .grid { grid-template-columns: 1fr; }
  .hero { gap: 24px; }
  .hero-feature { padding-top: 27px; }
  .hero-emblem { top: -17px; right: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .action { transition: none; }
  .action:hover { transform: none; }
  .hero-emblem .mark::after { animation: none; }
  .brand:hover .mark::after { transition: none; }
}
.theme-sailpoint { --brand: #a82071; --accent: #2267d2; --tint: #fce7f3; --wash: #edf5ff; }
.theme-openiam { --brand: #106161; --accent: #bc3343; --tint: #e4f5f1; --wash: #fff3f0; }
.theme-okta { --brand: #134eb3; --accent: #326be8; --tint: #e8efff; --wash: #f2f5ff; }
.theme-entra { --brand: #11578a; --accent: #1485b2; --tint: #dff3ff; --wash: #eefbfd; }
.theme-ping { --brand: #9e2436; --accent: #c6404d; --tint: #fce7eb; --wash: #fff4f4; }
.theme-cyberark { --brand: #243d71; --accent: #80a92a; --tint: #e8effd; --wash: #f3fadd; }
.theme-jumpcloud { --brand: #293d77; --accent: #526dc0; --tint: #ebeffb; --wash: #f3f6ff; }
.theme-saviynt { --brand: #254b2c; --accent: #619b21; --tint: #e8f6db; --wash: #f6faec; }
.theme-onelogin { --brand: #15538a; --accent: #3493da; --tint: #e7f5ff; --wash: #f6f9fc; }
.theme-keycloak { --brand: #345969; --accent: #2285a4; --tint: #e7f2f5; --wash: #f0fbff; }
.theme-forgerock { --brand: #235b9c; --accent: #ca661b; --tint: #e9f1ff; --wash: #fff3e7; }
.theme-beyondtrust { --brand: #883811; --accent: #d26625; --tint: #ffe9d9; --wash: #fff5ed; }

.course {
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--brand);
}
.course-heading {
  background: linear-gradient(125deg,var(--tint),var(--wash));
  border-top: 3px solid var(--accent);
  border-radius: 10px;
  padding: 13px 14px;
  margin-bottom: 13px;
}
.course-heading h3 {
  color: var(--brand);
  margin: 8px 0 5px;
}
.course-heading .lab {
  color: var(--brand) !important;
  margin: 0;
}
.course .flag {
  background: #fff;
  color: var(--brand);
}
.course summary {
  color: var(--brand);
}
.sailpoint-paths {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,118px),1fr));
  gap: 7px;
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}
.sailpoint-paths li {
  border-left: 3px solid;
  border-radius: 7px;
  padding: 8px 9px;
  font-size: 14px;
}
.sailpoint-paths span {
  display: block;
}
.sailpoint-admin { background: #fce7f3; color: #831951; }
.sailpoint-engineer { background: #e5efff; color: #1c4f9a; }
.sailpoint-architect { background: #def5ef; color: #05564a; }

.project-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 8px;
}
.project-link img {
  max-width: 100%;
  height: auto;
}

[data-theme="dark"] .course {
  --course-ink: color-mix(in srgb, var(--tint) 83%, #fff);
}
[data-theme="dark"] .course-heading {
  background: linear-gradient(125deg,
    color-mix(in srgb, var(--brand) 48%, var(--paper)),
    color-mix(in srgb, var(--accent) 16%, var(--paper)));
}
[data-theme="dark"] .course :is(h3, .lab, summary) {
  color: var(--course-ink) !important;
}
[data-theme="dark"] .course .flag {
  background: var(--paper);
  color: var(--course-ink);
}
[data-theme="dark"] .sailpoint-admin { background: #4c2144; color: #ffd4ee; }
[data-theme="dark"] .sailpoint-engineer { background: #233a63; color: #d4e6ff; }
[data-theme="dark"] .sailpoint-architect { background: #173c38; color: #b4f5e8; }
[data-theme="dark"] :is(.customer, .project-link) img {
  background: #fff;
  border-radius: 4px;
  padding: 3px;
}

.phone-study-note { display: none; }
@media (max-width: 760px), (max-width: 960px) and (pointer: coarse) {
  .phone-study-note {
    display: block;
    margin: 22px 0;
    padding: 14px 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-inline-start: 4px solid var(--ring);
    border-radius: 12px;
    color: var(--muted);
  }
  .phone-study-note strong { color: var(--ink); }
}

.display-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-inline-start: auto;
}
.display-controls label {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  gap: 5px;
}
.display-controls select {
  min-height: 44px;
  padding: 0 3px;
  color: var(--blue);
  background: transparent;
  font: inherit;
  border: 0;
}
.catalog-locale select { width: 52px; }
.display-controls .appearance { display: none; min-height: 44px; cursor: pointer; }
[data-theme] .display-controls .appearance { display: inline-flex; }
.appearance input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.theme-toggle { display: grid; place-items: center; width: 62px; min-height: 44px; }
.theme-toggle::before, .theme-toggle::after { content: ""; grid-area: 1 / 1; }
.theme-toggle::before { width: 39px; height: 22px; border: 1px solid var(--muted); border-radius: 999px; background: var(--soft); }
.theme-toggle::after { width: 14px; height: 14px; border-radius: 50%; background: var(--muted); transform: translateX(-8px); }
.appearance input:checked + .theme-toggle::before { background: var(--blue); border-color: var(--blue); }
.appearance input:checked + .theme-toggle::after { background: var(--paper); transform: translateX(8px); }
.appearance input:focus-visible + .theme-toggle { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 8px; }
.theme-icon { width: 20px; color: var(--muted); font-size: 20px; line-height: 1; text-align: center; }
.theme-icon::before { content: "☼"; }
[data-theme="dark"] .theme-icon::before { content: "☾"; }
.locale-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.locale-icon { position: relative; display: inline-grid; place-items: center; width: 23px; height: 19px; border: 1px solid currentColor; border-radius: 2px; color: var(--muted); font-size: 11px; line-height: 1; }
.locale-icon::after { position: absolute; content: ""; inset: auto auto -3px 6px; width: 4px; height: 4px; border: solid currentColor; border-width: 0 1px 1px 0; background: var(--paper); transform: skewY(-35deg); }
#catalog-language-note { margin: 12px 0; color: var(--muted); }

@media (max-width: 825px) {
  .bar { column-gap: 12px; }
  .bar nav { order: 1; width: 100%; margin: 0; }
}
@media (max-width: 480px) {
  .bar .brand { gap: 6px; font-size: 22px; }
  .bar .mark { width: 34px; font-size: 20px; }
  .display-controls { gap: 4px; }
  .display-controls label { gap: 3px; }
  .theme-icon, .display-controls .locale-icon { width: 19px; }
  .theme-toggle { width: 58px; }
  .catalog-locale select { width: 46px; }
}

.free-links { margin: 0; padding: 0; list-style: none; }
.free-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 720; }
