@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

.cert-deck,
.cert-deck * {
  box-sizing: border-box;
}
.cert-deck {
  --navy: #031b4e;
  --navy-2: #0b2a6b;
  --navy-3: #123a85;
  --blue: #0a7cff;
  --sky: #2f86ff;
  --ice: #9cc4ff;
  --pale: #f5f8fc;
  --ink: #031b4e;
  --muted: #5d6b8a;
  --line: #dbe5f3;
  --head: 56px;
  position: relative;
  height: calc(100dvh - 76px);
  overflow: hidden;
  background: var(--navy);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #fff;
}
.cert-deck a {
  color: inherit;
}
.cert-deck button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
.cert-deck :focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 8px;
}

.cert-deck .track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.75s cubic-bezier(0.22, 0.8, 0.2, 1);
  will-change: transform;
}
.cert-deck .slide {
  flex: 0 0 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.cert-deck .slide.dark {
  background: var(--navy);
  color: #fff;
}
.cert-deck .slide.light {
  background: var(--pale);
  color: var(--ink);
}
.cert-deck .inner {
  min-height: 100%;
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 2.4vh, 26px);
  padding: calc(var(--head) + 16px) clamp(20px, 5vw, 64px) calc(118px + env(safe-area-inset-bottom));
  position: relative;
  z-index: 1;
}
.cert-deck .dark::before {
  content: "";
  position: absolute;
  right: -8%;
  top: 8%;
  width: 46vmin;
  height: 46vmin;
  border: 2px solid rgba(10, 124, 255, 0.28);
  transform: rotate(45deg);
  pointer-events: none;
}
.cert-deck .dark::after {
  content: "";
  position: absolute;
  right: -14%;
  top: 22%;
  width: 46vmin;
  height: 46vmin;
  border: 2px solid rgba(10, 124, 255, 0.14);
  transform: rotate(45deg);
  pointer-events: none;
}

.cert-deck .eyebrow {
  align-self: flex-start;
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: clamp(11px, 1.3vw, 14px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cert-deck h1,
.cert-deck h2 {
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
}
.cert-deck h1 {
  font-size: clamp(34px, 5.6vw, 76px);
  max-width: 16ch;
}
.cert-deck h2 {
  font-size: clamp(30px, 5vw, 60px);
  max-width: 22ch;
}
.cert-deck h2 em,
.cert-deck h1 em {
  font-style: normal;
  color: var(--sky);
}
.cert-deck .light h2 em {
  color: var(--blue);
}
.cert-deck .lead {
  font-size: clamp(15px, 1.7vw, 20px);
  line-height: 1.55;
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}
.cert-deck .light .lead {
  color: var(--muted);
}
.cert-deck .small {
  font-size: clamp(11px, 1.15vw, 13px);
  line-height: 1.5;
  color: var(--ice);
}
.cert-deck .light .small {
  color: var(--muted);
}

.cert-deck .top {
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--head);
  padding: 0 clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 20;
  background: var(--navy);
  transition: background 0.45s, color 0.45s;
  color: #fff;
  pointer-events: none;
}
.cert-deck[data-theme="light"] .top {
  background: var(--pale);
  color: var(--ink);
}
.cert-deck .count {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0.75;
  min-width: 64px;
  text-align: right;
}
.cert-deck .bar-top {
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  background: var(--blue);
  z-index: 30;
  transition: width 0.75s cubic-bezier(0.22, 0.8, 0.2, 1);
}
.cert-deck .bottom {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 20;
  padding: 40px clamp(16px, 3vw, 40px) calc(16px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
  background: linear-gradient(to top, var(--navy) 38%, rgba(3, 27, 78, 0));
  transition: background 0.45s;
}
.cert-deck[data-theme="light"] .bottom {
  background: linear-gradient(to top, var(--pale) 38%, rgba(245, 248, 252, 0));
}
.cert-deck .bottom > * {
  pointer-events: auto;
}
.cert-deck .nav {
  display: flex;
  gap: 10px;
}
.cert-deck .nav button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(10, 124, 255, 0.18);
  border: 1.5px solid rgba(47, 134, 255, 0.55);
  transition: 0.2s;
  color: #fff;
}
.cert-deck[data-theme="light"] .nav button {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}
.cert-deck .nav button:hover:not(:disabled) {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.cert-deck .nav button:disabled {
  opacity: 0.3;
  cursor: default;
}
.cert-deck .dots {
  display: none;
  gap: 8px;
}
.cert-deck .dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.25;
  transition: 0.3s;
  padding: 0;
}
.cert-deck .dots button.on {
  opacity: 1;
  background: var(--blue);
  width: 26px;
  border-radius: 6px;
}
.cert-deck[data-theme="light"] .dots {
  color: var(--ink);
}
.cert-deck .cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(10, 124, 255, 0.45);
  transition: transform 0.2s, opacity 0.35s, box-shadow 0.2s;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.cert-deck .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(10, 124, 255, 0.6);
}
.cert-deck .cta.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
@media (min-width: 900px) {
  .cert-deck .dots {
    display: flex;
  }
}

.cert-deck .rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(var(--d, 0) * 1ms);
}
.cert-deck .slide.in .rv {
  opacity: 1;
  transform: none;
}

.cert-deck .grid {
  display: grid;
  gap: clamp(12px, 1.8vw, 22px);
}
.cert-deck .g4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cert-deck .g3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cert-deck .g2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cert-deck .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cert-deck .chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(156, 196, 255, 0.45);
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
}
.cert-deck .light .chip {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}
.cert-deck .sub {
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 700;
  color: var(--ice);
  max-width: 44ch;
  line-height: 1.35;
  margin: 0;
}

.cert-deck .tile {
  background: var(--navy-2);
  border-radius: 22px;
  padding: clamp(18px, 2.4vw, 32px);
  border: 1px solid rgba(47, 134, 255, 0.25);
}
.cert-deck .odo {
  display: flex;
  align-items: flex-end;
  font-weight: 800;
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
  height: 1em;
  overflow: hidden;
}
.cert-deck .odo .od-col {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  width: 0.7em;
  text-align: center;
}
.cert-deck .odo .od-strip {
  display: flex;
  flex-direction: column;
  will-change: transform;
}
.cert-deck .odo .od-strip span {
  display: block;
  height: 1em;
  line-height: 1em;
}
.cert-deck .odo .od-sym {
  display: inline-block;
  line-height: 1em;
  height: 1em;
  color: var(--sky);
}
.cert-deck .unit {
  white-space: nowrap;
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 700;
  color: var(--sky);
  margin-left: 8px;
  align-self: flex-end;
  padding-bottom: 0.25em;
}
.cert-deck .tile .row {
  display: flex;
  align-items: flex-end;
}
.cert-deck .tile p {
  margin-top: 12px;
  font-size: clamp(13px, 1.35vw, 16px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}
.cert-deck .tile p b {
  color: #fff;
}

.cert-deck .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(18px, 2.2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 6px 24px rgba(3, 27, 78, 0.05);
}
.cert-deck .dark .card {
  background: var(--navy-2);
  border-color: rgba(47, 134, 255, 0.25);
  box-shadow: none;
}
.cert-deck .card h3 {
  font-size: clamp(17px, 1.9vw, 23px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
}
.cert-deck .card p {
  font-size: clamp(13px, 1.3vw, 15.5px);
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.cert-deck .dark .card p {
  color: rgba(255, 255, 255, 0.8);
}
.cert-deck .tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(10, 124, 255, 0.1);
  padding: 5px 12px;
  border-radius: 99px;
}
.cert-deck .dark .tag {
  color: var(--ice);
  background: rgba(47, 134, 255, 0.18);
}
.cert-deck .step .n {
  font-size: clamp(46px, 6vw, 80px);
  font-weight: 800;
  line-height: 0.9;
  color: rgba(47, 134, 255, 0.35);
  letter-spacing: -0.04em;
}
.cert-deck .num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  flex: none;
}
.cert-deck ul.tick {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.cert-deck ul.tick li {
  position: relative;
  padding-left: 26px;
  font-size: clamp(13px, 1.3vw, 15.5px);
  line-height: 1.5;
}
.cert-deck ul.tick li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: inset 0 0 0 4px var(--navy-2);
}
.cert-deck .light ul.tick li::before {
  box-shadow: inset 0 0 0 4px #fff;
}

.cert-deck .mods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.cert-deck .mod {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--navy-2);
  border: 1px solid rgba(47, 134, 255, 0.25);
  border-radius: 16px;
  padding: 16px;
  font-weight: 600;
  font-size: clamp(13px, 1.3vw, 15.5px);
  line-height: 1.35;
}
.cert-deck .mod.hl {
  border-color: var(--sky);
  background: var(--navy-3);
}

.cert-deck .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cert-deck .contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
}
.cert-deck .contact h2 {
  font-size: clamp(34px, 5.6vw, 72px);
  max-width: 14ch;
}
.cert-deck .clist {
  display: grid;
  gap: 10px;
}
.cert-deck .crow {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--navy-2);
  border: 1px solid rgba(47, 134, 255, 0.3);
  text-decoration: none;
  transition: 0.2s;
}
.cert-deck a.crow:hover {
  background: var(--navy-3);
  border-color: var(--sky);
  transform: translateX(4px);
}
.cert-deck .crow small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ice);
  font-weight: 700;
}
.cert-deck .crow b {
  font-size: clamp(14px, 1.5vw, 17px);
  word-break: break-word;
}
.cert-deck .bigwa {
  align-self: flex-start;
  padding: 18px 30px;
  font-size: 17px;
}
.cert-deck .prep {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(156, 196, 255, 0.45);
  border-radius: 16px;
  padding: 16px 18px;
}
.cert-deck .prep b {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 6px;
}
.cert-deck .prep p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

@media (min-width: 901px) and (max-height: 940px) {
  .cert-deck .inner {
    padding-top: calc(var(--head) + 14px);
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
    gap: 14px;
  }
  .cert-deck h1 {
    font-size: clamp(30px, 4.6vw, 58px);
  }
  .cert-deck h2 {
    font-size: clamp(28px, 4.2vw, 50px);
  }
  .cert-deck .card {
    padding: 18px 20px;
    gap: 8px;
  }
  .cert-deck .lead {
    font-size: clamp(14px, 1.45vw, 17px);
  }
}
@media (max-width: 900px) {
  .cert-deck {
    --head: 48px;
    height: calc(100dvh - 72px);
  }
  .cert-deck .g4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-deck .g3,
  .cert-deck .g2,
  .cert-deck .contact {
    grid-template-columns: 1fr;
  }
  .cert-deck .mods {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-deck .nav button {
    width: 44px;
    height: 44px;
  }
  .cert-deck .cta {
    padding: 13px 18px;
    font-size: 14px;
  }
  .cert-deck .inner {
    justify-content: flex-start;
  }
  .cert-deck .odo {
    font-size: clamp(40px, 12vw, 64px);
  }
}
@media (max-width: 520px) {
  .cert-deck .mods {
    grid-template-columns: 1fr;
  }
  .cert-deck .cta .lbl-long {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cert-deck .track {
    transition: none;
  }
  .cert-deck .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
