:root {
  --ink: #071626;
  --ink-soft: #173252;
  --paper: #f5f9fc;
  --white: #ffffff;
  --line: #d6e3ee;
  --blue: #1f6feb;
  --blue-deep: #123a65;
  --blue-soft: #e6f1ff;
  --cyan: #2bbfd3;
  --green: #69b86e;
  --gold: #f3b84a;
  --orange: #e85e3f;
  --muted: #607080;
  --shadow: 0 18px 45px rgba(7, 22, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px 40px;
  color: var(--paper);
  background: rgba(7, 22, 38, 0.94);
  border-bottom: 1px solid rgba(245, 249, 252, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 800;
  color: rgba(245, 249, 252, 0.84);
}

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

.nav-links a:hover,
.nav-trigger:hover {
  color: var(--cyan);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 0;
  color: rgba(245, 249, 252, 0.84);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

.nav-trigger::-webkit-details-marker {
  display: none;
}

.nav-trigger::marker {
  content: "";
}

.nav-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 140ms ease;
}

.nav-dropdown[open] .nav-trigger::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.nav-menu-list {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 20;
  display: grid;
  min-width: 230px;
  padding: 8px;
  background: rgba(7, 22, 38, 0.98);
  border: 1px solid rgba(245, 249, 252, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.nav-dropdown:hover .nav-menu-list,
.nav-dropdown:focus-within .nav-menu-list,
.nav-dropdown[open] .nav-menu-list {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-links .nav-dropdown:last-of-type .nav-menu-list {
  left: auto;
  right: 0;
}

.nav-menu-list a {
  min-height: 38px;
  padding: 10px 11px;
  color: rgba(245, 249, 252, 0.86);
  border-radius: 8px;
}

.nav-menu-list a:hover {
  color: var(--ink);
  background: var(--cyan);
}

.nav-pill {
  min-height: 38px;
  padding: 9px 13px !important;
  color: var(--ink) !important;
  background: var(--cyan);
  border-radius: 8px;
}

.nav-pill:hover {
  background: #65d7e5;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 122px);
  padding: 72px 40px 62px;
  color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(7, 22, 38, 0.98) 0%, rgba(7, 22, 38, 0.9) 43%, rgba(7, 22, 38, 0.34) 100%),
    url("assets/bugbyte-hero.png");
  background-position: center;
  background-size: cover;
}

.catalog-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 620px;
  padding: 72px 40px 62px;
  color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(7, 22, 38, 0.98) 0%, rgba(7, 22, 38, 0.84) 46%, rgba(7, 22, 38, 0.28) 100%),
    url("assets/bugbyte-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-content,
.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.hero-content {
  max-width: 760px;
  margin-left: max(0px, calc((100vw - 1160px) / 2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--blue);
}

.section-kicker.light {
  color: var(--cyan);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 18ch;
  font-size: 62px;
  line-height: 0.98;
  font-weight: 950;
}

h1 span {
  display: block;
}

h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.08;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

p {
  font-size: 17px;
  line-height: 1.58;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(245, 249, 252, 0.86);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.button-primary {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

.button-primary:hover {
  background: #65d7e5;
}

.button-primary:disabled {
  cursor: wait;
  opacity: 0.7;
}

.button-secondary {
  color: var(--paper);
  background: transparent;
  border-color: rgba(245, 249, 252, 0.46);
}

.button-secondary:hover {
  border-color: var(--cyan);
}

.dark-button {
  color: var(--ink);
  border-color: var(--line);
}

.summary-band {
  padding: 24px 40px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.catalog-summary-band {
  border-top: 1px solid var(--line);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metric-strip div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 14px 0;
}

.metric-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--blue-soft);
  border: 1px solid rgba(31, 111, 235, 0.2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.metric-strip p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.38;
}

.section {
  padding: 86px 40px;
}

.band-white {
  background: var(--white);
}

.band-sky {
  background: #eef7fb;
}

.band-dark,
.contact-section {
  color: var(--paper);
  background: var(--ink);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.compact-heading {
  margin-bottom: 0;
}

.section-heading p,
.centers-layout p,
.role-content p,
.compliance-box p {
  color: var(--muted);
}

.band-dark .section-heading p,
.contact-section p {
  color: rgba(245, 249, 252, 0.78);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.accent-green {
  border-top-color: var(--green);
}

.accent-gold {
  border-top-color: var(--gold);
}

.accent-cyan {
  border-top-color: var(--cyan);
}

.accent-orange {
  border-top-color: var(--orange);
}

.accent-navy {
  border-top-color: var(--blue-deep);
}

.feature-code {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 22px;
  padding: 6px 10px;
  color: var(--ink);
  background: var(--blue-soft);
  border: 1px solid rgba(31, 111, 235, 0.18);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.teams-layout,
.workflow-layout,
.centers-layout,
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 52px;
  align-items: start;
}

.role-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.role-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.role-tab {
  min-height: 50px;
  padding: 12px 10px;
  color: var(--ink-soft);
  background: #f7fbff;
  border: 0;
  border-right: 1px solid var(--line);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.role-tab:last-child {
  border-right: 0;
}

.role-tab.is-active {
  color: var(--ink);
  background: var(--cyan);
}

.role-content {
  padding: 28px;
}

.role-content p {
  margin: 14px 0 18px;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  content: "";
  width: 16px;
  height: 16px;
  background: var(--green);
  border-radius: 50%;
}

.workflow-list,
.center-list {
  display: grid;
  gap: 12px;
}

.workflow-row,
.center-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(245, 249, 252, 0.16);
}

.center-row {
  border-bottom-color: var(--line);
}

.workflow-row span,
.center-row span {
  font-size: 15px;
  font-weight: 900;
}

.workflow-row span {
  color: var(--cyan);
}

.center-row span {
  color: var(--ink);
}

.workflow-row p,
.center-row p {
  margin: 0;
}

.workflow-row p {
  color: rgba(245, 249, 252, 0.78);
}

.compliance {
  padding-top: 62px;
  padding-bottom: 62px;
}

.compliance-box {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 40px;
  padding: 28px;
  background: #f8fbf5;
  border: 1px solid var(--line);
  border-left: 6px solid var(--orange);
  border-radius: 8px;
}

.compliance-box p {
  margin: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 26px;
  background: rgba(245, 249, 252, 0.07);
  border: 1px solid rgba(245, 249, 252, 0.14);
  border-radius: 8px;
}

.catalog-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: 30px;
  align-items: end;
}

.catalog-search {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.catalog-search input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.catalog-search input:focus {
  outline: 3px solid rgba(43, 191, 211, 0.28);
  border-color: var(--cyan);
}

.catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 2px 0 18px;
}

.catalog-tab {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.catalog-tab:hover,
.catalog-tab.is-active {
  color: var(--ink);
  background: var(--blue-soft);
  border-color: rgba(31, 111, 235, 0.36);
}

.catalog-status {
  min-height: 24px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.catalog-card {
  display: grid;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(7, 22, 38, 0.11);
}

.catalog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper);
}

.catalog-card-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.catalog-card-topline,
.catalog-card-meta,
.catalog-card-footer,
.course-section-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.catalog-card-topline span,
.catalog-card-topline strong,
.catalog-card-meta span,
.course-section-chips span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 8px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.catalog-card-topline strong {
  color: var(--ink);
  background: var(--blue-soft);
}

.catalog-card h3 {
  font-size: 22px;
}

.catalog-card p {
  min-height: 82px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.catalog-card-footer {
  justify-content: space-between;
  gap: 12px;
  padding-top: 2px;
}

.catalog-card-footer strong {
  font-size: 18px;
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--cyan);
  border-radius: 8px;
}

.catalog-empty p {
  max-width: 760px;
  margin: 10px 0 18px;
  color: var(--muted);
}

.course-purchase-hero {
  padding: 78px 40px 70px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(7, 22, 38, 0.98) 0%, rgba(7, 22, 38, 0.9) 52%, rgba(7, 22, 38, 0.7) 100%),
    var(--ink);
}

.course-purchase-layout,
.course-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 38px;
  align-items: start;
}

.course-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.course-detail-tags span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 10px;
  color: var(--paper);
  background: rgba(245, 249, 252, 0.1);
  border: 1px solid rgba(245, 249, 252, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.purchase-panel,
.course-detail-main,
.course-facts,
.module-preview-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(7, 22, 38, 0.11);
}

.purchase-panel {
  overflow: hidden;
  color: var(--ink);
}

.purchase-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper);
}

.purchase-panel-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.purchase-panel-body strong {
  font-size: 28px;
}

.purchase-panel-body span {
  color: var(--muted);
  font-weight: 800;
}

.course-detail-main,
.course-facts {
  padding: 24px;
}

.course-detail-main > p {
  color: var(--muted);
}

.course-objectives {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.module-preview {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.module-preview-item {
  display: grid;
  gap: 12px;
  padding: 18px;
  box-shadow: none;
}

.module-preview-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.module-preview-item ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.module-preview-empty {
  padding: 18px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.course-facts {
  display: grid;
  gap: 14px;
}

.course-facts div {
  display: grid;
  gap: 5px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.course-facts div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.course-facts span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.course-facts strong {
  font-size: 15px;
}

.course-player-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 18px;
}

.course-player-main,
.course-player-side {
  align-self: start;
}

.lesson-player-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.lesson-module-group {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lesson-module-heading {
  display: grid;
  gap: 6px;
}

.lesson-module-heading span,
.lesson-player-item span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lesson-module-heading h3,
.lesson-player-item h3 {
  margin: 0;
}

.lesson-module-heading p,
.lesson-player-item p {
  margin: 0;
  color: var(--muted);
}

.lesson-player-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lesson-player-item.is-complete {
  border-color: rgba(42, 157, 97, 0.38);
  background: #f2fbf6;
}

.lesson-player-item.is-complete button {
  background: #1f8f5c;
  border-color: #1f8f5c;
}

.lesson-action-panel {
  display: grid;
  gap: 8px;
  justify-items: end;
  min-width: 160px;
}

.lesson-action-panel small,
.lesson-status-line {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.lesson-status-line {
  display: block;
  margin-top: 10px;
}

.quiz-score-field {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.quiz-score-field input {
  width: 92px;
  min-height: 36px;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.lesson-resource-list,
.certificate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.lesson-resource-list {
  margin-top: 10px;
}

.lesson-resource-list a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 10px;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border: 1px solid rgba(24, 95, 208, 0.22);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.module-certificate-row {
  padding: 12px;
  color: var(--ink-soft);
  background: var(--blue-soft);
  border: 1px solid rgba(24, 95, 208, 0.2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.portal-panel .button-secondary {
  color: var(--blue-deep);
  background: var(--white);
  border-color: var(--line);
}

.portal-panel .button-secondary:hover {
  color: var(--ink);
  background: var(--blue-soft);
  border-color: rgba(31, 111, 235, 0.32);
}

.certificate-view-button {
  width: auto;
  min-height: 34px;
  margin-top: 10px;
  padding: 7px 12px;
  font-size: 12px;
}

.ceu-certificate-preview {
  scroll-margin-top: 96px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.certificate-preview-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.certificate-preview-heading h2 {
  margin: 0;
  font-size: 24px;
}

.ceu-certificate-sheet {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 42px 44px 38px;
  color: #111827;
  background: #ffffff;
  border: 1px solid #aeb8c4;
  box-shadow: 0 18px 42px rgba(7, 22, 38, 0.14);
  font-family: Arial, Helvetica, sans-serif;
}

.certificate-letterhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  color: #0a47c6;
  border-bottom: 2px solid #1756e8;
}

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

.certificate-brand img {
  width: 42px;
  height: 42px;
}

.certificate-brand strong,
.certificate-letterhead > strong {
  display: block;
  font-size: 22px;
  font-style: italic;
  line-height: 1;
}

.certificate-brand span {
  display: block;
  margin-top: 4px;
  color: #174ea6;
  font-size: 12px;
  font-style: italic;
}

.certificate-title-block {
  margin: 30px 0 28px;
  text-align: center;
  text-transform: uppercase;
}

.certificate-title-block h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.certificate-title-block p {
  margin: 4px 0 0;
  color: #111827;
  font-size: 24px;
  line-height: 1.2;
}

.certificate-detail-grid,
.certificate-hours-grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.certificate-detail-grid td,
.certificate-hours-grid th,
.certificate-hours-grid td {
  padding: 12px 10px;
  vertical-align: top;
  border: 1px solid #8f98a3;
}

.certificate-detail-grid td {
  width: 50%;
  min-height: 62px;
}

.certificate-detail-grid strong,
.certificate-hours-grid th {
  text-transform: uppercase;
}

.certificate-side-note {
  color: #10243f;
  background: #d9e9fb;
}

.certificate-hours-grid {
  margin-top: -1px;
  text-align: center;
}

.certificate-hours-grid th:first-child {
  width: 34%;
  text-align: left;
}

.certificate-hours-grid th:not(:first-child),
.certificate-hours-grid td {
  width: 16.5%;
}

.certificate-hours-grid tbody th {
  text-align: left;
}

.certificate-statement {
  max-width: 620px;
  margin: 24px auto 18px;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.certificate-signature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 16px;
  align-items: end;
  margin: 20px 0 10px;
  font-size: 15px;
}

.certificate-signature-row span {
  display: block;
  min-height: 30px;
  border-bottom: 1px solid #111827;
}

.certificate-signature-row strong {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  text-transform: uppercase;
}

.certificate-upload-notice {
  display: grid;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid #8f98a3;
  text-align: center;
}

.certificate-upload-notice strong {
  color: #c71f1f;
  font-size: 21px;
  line-height: 1.1;
  text-transform: uppercase;
}

.certificate-upload-notice span {
  color: #111827;
  font-size: 15px;
  line-height: 1.3;
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.62;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(245, 249, 252, 0.86);
  font-size: 13px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--paper);
  background: rgba(9, 18, 30, 0.86);
  border: 1px solid rgba(245, 249, 252, 0.28);
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(43, 191, 211, 0.32);
  border-color: var(--cyan);
}

.full-width {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.consent span {
  color: rgba(245, 249, 252, 0.74);
  font-size: 13px;
  line-height: 1.45;
}

.contact-note,
.form-status {
  font-size: 14px;
}

.form-status[data-state="success"] {
  color: #a8f0c6;
}

.form-status[data-state="error"] {
  color: #ffd1d1;
}

.form-status[data-state="pending"] {
  color: #d9f6fb;
}

.site-footer {
  padding: 26px 40px;
  color: rgba(245, 249, 252, 0.72);
  background: #030a12;
  border-top: 1px solid rgba(245, 249, 252, 0.12);
}

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

.footer-inner p {
  margin: 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-size: 14px;
}

.footer-links a,
.footer-button {
  color: rgba(245, 249, 252, 0.76);
}

.footer-links a:hover,
.footer-button:hover {
  color: var(--cyan);
}

.footer-button {
  padding: 0;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.legal-page h1 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 48px;
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 26px;
}

.legal-content a {
  color: var(--blue);
  font-weight: 800;
}

.legal-content p {
  color: var(--muted);
}

.login-page {
  min-height: calc(100vh - 124px);
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(7, 22, 38, 0.98) 0%, rgba(7, 22, 38, 0.9) 52%, rgba(7, 22, 38, 0.58) 100%),
    url("assets/bugbyte-hero.png");
  background-position: center;
  background-size: cover;
}

.login-hero {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 124px);
  padding: 76px 40px;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: 56px;
  align-items: center;
}

.login-copy {
  max-width: 720px;
}

.login-copy h1 {
  max-width: 9ch;
}

.login-copy p {
  max-width: 660px;
  color: rgba(245, 249, 252, 0.86);
  font-size: 20px;
  line-height: 1.65;
}

.login-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.login-proof-list span {
  padding: 9px 12px;
  color: var(--ink);
  background: rgba(245, 249, 252, 0.9);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.login-panel {
  display: grid;
  gap: 16px;
  padding: 30px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(214, 227, 238, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.login-panel h2 {
  margin: 2px 0 0;
  font-size: 28px;
}

.account-type-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.account-type {
  display: grid;
  gap: 4px;
  min-height: 86px;
  padding: 14px;
  color: var(--ink-soft);
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.login-public .portal-access-options .account-type {
  cursor: default;
}

.login-public .portal-access-options .account-type,
.login-public .portal-access-options .account-type.is-active,
.login-public .portal-access-options .account-type:focus,
.login-public .portal-access-options .account-type:focus-visible {
  background: var(--paper);
  border-color: var(--line);
  box-shadow: none;
  outline: none;
}

.account-type span {
  font-size: 15px;
  font-weight: 900;
}

.account-type small {
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  line-height: 1.35;
}

.account-type.is-active {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
  box-shadow: none;
}

.login-panel label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
}

.login-panel input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.login-panel input:focus {
  outline: 3px solid rgba(43, 191, 211, 0.28);
  border-color: var(--cyan);
}

.login-remember {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 10px !important;
  color: var(--muted) !important;
}

.login-remember input {
  width: 18px;
  min-height: 18px;
}

.login-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 2px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.login-links a:hover {
  color: var(--cyan);
}

.account-path-notes {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.account-path-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.account-path-notes strong {
  color: var(--ink);
}

.portal-body {
  min-height: 100vh;
  background: #eef5fa;
}

.portal-header {
  position: sticky;
  top: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 74px;
  padding: 12px 28px;
  color: var(--paper);
  background: rgba(7, 22, 38, 0.98);
  border-bottom: 1px solid rgba(245, 249, 252, 0.12);
}

.portal-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  color: rgba(245, 249, 252, 0.78);
  font-size: 14px;
  font-weight: 900;
}

.portal-nav a:hover {
  color: var(--cyan);
}

.portal-user {
  display: flex;
  gap: 12px;
  align-items: center;
  color: rgba(245, 249, 252, 0.78);
  font-size: 13px;
  font-weight: 900;
}

.profile-menu {
  position: relative;
}

.profile-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 230px;
  padding: 6px 10px 6px 6px;
  color: var(--paper);
  background: rgba(245, 249, 252, 0.08);
  border: 1px solid rgba(245, 249, 252, 0.14);
  border-radius: 999px;
  list-style: none;
  cursor: pointer;
}

.profile-trigger::-webkit-details-marker {
  display: none;
}

.profile-trigger::marker {
  content: "";
}

.profile-trigger::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.profile-menu[open] .profile-trigger::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.profile-avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.profile-avatar.large {
  width: 48px;
  height: 48px;
  font-size: 15px;
}

.profile-summary {
  display: grid;
  min-width: 0;
}

.profile-summary strong,
.profile-summary small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-summary small {
  color: rgba(245, 249, 252, 0.68);
  font-size: 12px;
}

.profile-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 25;
  display: grid;
  min-width: 300px;
  padding: 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-menu-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-menu-card div {
  display: grid;
  min-width: 0;
}

.profile-menu-card strong,
.profile-menu-card span,
.profile-menu-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-menu-card span,
.profile-menu-card small {
  color: var(--muted);
  font-size: 12px;
}

.profile-menu-panel a,
.profile-menu-panel button {
  min-height: 40px;
  padding: 10px;
  color: var(--ink-soft);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.profile-menu-panel a:hover,
.profile-menu-panel button:hover {
  color: var(--ink);
  background: var(--blue-soft);
}

.learner-dashboard {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.portal-hero {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-end;
  padding: 34px 0 30px;
}

.portal-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 5vw, 68px);
}

.portal-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.portal-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.portal-metrics div {
  min-height: 132px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.portal-metrics div:last-child {
  border-right: 0;
}

.portal-metrics span,
.training-row span,
.profile-list dt {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-metrics strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 32px;
}

.portal-metrics p {
  margin: 8px 0 0;
  color: var(--muted);
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
  margin-top: 22px;
  min-width: 0;
}

.portal-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.portal-action-card {
  display: grid;
  gap: 10px;
  min-height: 230px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.portal-action-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow);
}

.portal-action-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-action-card h2 {
  margin: 0;
  font-size: 26px;
}

.portal-action-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.portal-main-column,
.portal-side-column {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.portal-panel {
  min-width: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.portal-panel h2,
.portal-panel h3 {
  margin-top: 0;
  overflow-wrap: anywhere;
}

.portal-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border: 1px solid #bad7fb;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status-new {
  color: #0f4f28;
  background: #e7f7e9;
  border-color: #bde8c3;
}

.status-warning {
  color: #6b4a00;
  background: #fff5d7;
  border-color: #f1d17d;
}

.course-progress {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.course-progress div:first-child,
.ceu-row div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.course-progress strong,
.ceu-row strong {
  color: var(--ink);
}

.course-progress span,
.ceu-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.progress-track {
  overflow: hidden;
  height: 11px;
  background: #dfeaf3;
  border-radius: 999px;
}

.progress-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.training-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.training-path-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.training-path-card.active {
  background: var(--blue-soft);
  border-color: #bad7fb;
}

.training-path-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.training-path-card h3 {
  margin: 0;
  font-size: 17px;
}

.training-path-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.training-path-card strong {
  color: var(--ink);
  font-size: 13px;
}

.training-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.training-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.training-row:last-child {
  border-bottom: 0;
}

.training-row h3 {
  margin: 6px 0;
}

.training-row p,
.empty-state p,
.profile-list dd,
.portal-checklist {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.ceu-grid {
  display: grid;
  gap: 14px;
}

.ceu-row {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.portal-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.portal-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--white);
}

.portal-table th,
.portal-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.portal-table th {
  color: var(--blue);
  background: var(--paper);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-table tr:last-child td {
  border-bottom: 0;
}

.assignment-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.filter-pill {
  min-height: 36px;
  padding: 8px 12px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.filter-pill.is-active,
.filter-pill:hover {
  color: var(--ink);
  background: var(--blue-soft);
  border-color: var(--blue);
}

.empty-state {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
}

.profile-list div {
  display: grid;
  gap: 5px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.profile-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.profile-list dd {
  margin: 0;
  font-weight: 800;
}

.portal-checklist {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
  line-height: 1.5;
}

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  width: min(760px, calc(100vw - 44px));
  padding: 18px;
  color: var(--paper);
  background: rgba(7, 22, 38, 0.96);
  border: 1px solid rgba(245, 249, 252, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.26);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-title {
  margin: 0 0 4px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.cookie-banner p {
  margin: 0;
  color: rgba(245, 249, 252, 0.82);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-banner a {
  color: var(--cyan);
  font-weight: 900;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px 22px;
  }

  .nav-links {
    width: 100%;
    gap: 14px;
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 2px;
  }

  .nav-menu-list {
    left: auto;
    right: 0;
  }

  .hero,
  .catalog-hero,
  .section,
  .summary-band,
  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .login-hero {
    padding: 64px 22px;
  }

  .login-layout,
  .portal-grid,
  .portal-card-grid,
  .training-path-grid {
    grid-template-columns: 1fr;
  }

  .portal-header {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .portal-user {
    width: 100%;
    justify-content: space-between;
  }

  .profile-menu {
    width: min(420px, 100%);
  }

  .profile-trigger {
    width: 100%;
    min-width: 0;
  }

  .profile-menu-panel {
    left: 0;
    right: auto;
  }

  .portal-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-metrics div:nth-child(2) {
    border-right: 0;
  }

  .portal-metrics div:nth-child(1),
  .portal-metrics div:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .portal-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 52px;
    background-image:
      linear-gradient(90deg, rgba(7, 22, 38, 0.98) 0%, rgba(7, 22, 38, 0.94) 60%, rgba(7, 22, 38, 0.78) 100%),
      url("assets/bugbyte-hero.png");
    background-position: 72% center;
  }

  .catalog-hero {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 52px;
    background-image:
      linear-gradient(90deg, rgba(7, 22, 38, 0.98) 0%, rgba(7, 22, 38, 0.94) 60%, rgba(7, 22, 38, 0.78) 100%),
      url("assets/bugbyte-hero.png");
    background-position: 72% center;
  }

  h1 {
    max-width: 18ch;
    font-size: 44px;
    line-height: 1.02;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy {
    max-width: 42ch;
    font-size: 18px;
  }

  .feature-grid,
  .metric-strip,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-heading-row {
    grid-template-columns: 1fr;
  }

  .catalog-card p {
    min-height: auto;
  }

  .teams-layout,
  .workflow-layout,
  .centers-layout,
  .contact-grid,
  .compliance-box,
  .course-purchase-layout,
  .course-detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 540px) {
  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-links {
    font-size: 13px;
  }

  h1 {
    max-width: 18ch;
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
    overflow-wrap: break-word;
  }

  p,
  .hero-copy {
    font-size: 16px;
  }

  .login-copy h1 {
    max-width: 9ch;
  }

  .login-copy p,
  .portal-hero p {
    font-size: 16px;
  }

  .login-panel,
  .portal-panel {
    padding: 20px;
  }

  .account-type-toggle {
    grid-template-columns: 1fr;
  }

  .learner-dashboard {
    width: min(100% - 28px, 1280px);
    padding-top: 18px;
  }

  .portal-nav,
  .portal-user {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-menu {
    width: 100%;
  }

  .profile-menu-panel {
    position: static;
    min-width: 100%;
    margin-top: 10px;
  }

  .portal-nav {
    gap: 12px;
  }

  .portal-metrics {
    grid-template-columns: 1fr;
  }

  .portal-metrics div,
  .portal-metrics div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .portal-metrics div:last-child {
    border-bottom: 0;
  }

  .training-row {
    grid-template-columns: 1fr;
  }

  .course-player-grid,
  .lesson-player-item {
    grid-template-columns: 1fr;
  }

  .lesson-action-panel {
    justify-items: stretch;
  }

  .course-progress div:first-child,
  .ceu-row div:first-child {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .certificate-preview-heading,
  .certificate-letterhead,
  .certificate-signature-row {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .certificate-preview-heading {
    align-items: stretch;
  }

  .ceu-certificate-sheet {
    padding: 22px 16px;
    overflow-x: auto;
  }

  .certificate-title-block h3 {
    font-size: 22px;
  }

  .certificate-title-block p {
    font-size: 18px;
  }

  .certificate-detail-grid,
  .certificate-hours-grid {
    min-width: 620px;
    font-size: 14px;
  }

  .certificate-upload-notice strong {
    font-size: 16px;
  }

  .metric-strip div,
  .workflow-row,
  .center-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .role-tabs {
    grid-template-columns: 1fr;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-trigger {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }

  .nav-menu-list {
    position: static;
    display: none;
    margin: 0 0 4px;
    min-width: 100%;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown[open] .nav-menu-list {
    display: grid;
  }

  .role-tab {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .role-tab:last-child {
    border-bottom: 0;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    grid-template-columns: 1fr;
    width: auto;
  }

  .cookie-actions {
    flex-direction: row;
  }

  .cookie-actions .button {
    width: auto;
    flex: 1;
  }
}

/* 2026-06-21 product UI refresh - local review build */
:root {
  --ink: #061525;
  --ink-soft: #1c334c;
  --paper: #eef5f9;
  --white: #ffffff;
  --line: #d7e5ef;
  --line-strong: #b8cfdf;
  --blue: #1261d6;
  --blue-deep: #073258;
  --blue-soft: #e8f2ff;
  --cyan: #2fc5d9;
  --cyan-soft: #dcf8fc;
  --green: #4fb477;
  --green-soft: #e5f7ed;
  --gold: #f2b94d;
  --gold-soft: #fff4dc;
  --orange: #e66a45;
  --orange-soft: #fff0ea;
  --muted: #65778a;
  --shadow: 0 22px 58px rgba(6, 21, 37, 0.13);
  --shadow-soft: 0 14px 34px rgba(6, 21, 37, 0.08);
  --radius: 8px;
}

body {
  background:
    linear-gradient(180deg, #f8fbfd 0%, var(--paper) 42%, #f7fbfd 100%);
  color: var(--ink);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 12px 28px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(184, 207, 223, 0.72);
  box-shadow: 0 10px 28px rgba(6, 21, 37, 0.06);
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  padding: 4px;
  background: #071626;
  border-radius: var(--radius);
}

.nav-links {
  gap: 5px;
  padding: 4px;
  color: var(--ink-soft);
  background: #f4f8fb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-trigger,
.nav-links a:not(.nav-pill) {
  min-height: 40px;
  padding: 9px 11px;
  color: var(--ink-soft);
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-trigger:hover,
.nav-dropdown[open] .nav-trigger {
  color: var(--blue-deep);
  background: var(--blue-soft);
}

.nav-menu-list {
  top: calc(100% + 8px);
  min-width: 250px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.nav-menu-list a {
  color: var(--ink-soft);
}

.nav-menu-list a:hover {
  color: var(--ink);
  background: var(--cyan-soft);
}

.nav-pill {
  min-height: 40px;
  padding: 10px 15px !important;
  background: var(--ink) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(6, 21, 37, 0.14);
}

.nav-pill:hover {
  background: var(--blue-deep) !important;
}

.hero,
.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  align-items: center;
  justify-content: start;
  gap: 58px;
  min-height: 660px;
  padding: 76px 40px 58px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(249, 252, 254, 0.99) 0%, rgba(249, 252, 254, 0.96) 50%, rgba(249, 252, 254, 0.78) 100%),
    url("assets/bugbyte-hero.png");
  background-position: center right;
  background-size: cover;
}

.catalog-hero {
  min-height: 560px;
  grid-template-columns: minmax(0, 760px) 1fr;
}

.hero-content {
  max-width: 780px;
  margin-left: max(0px, calc((100vw - 1160px) / 2));
}

.eyebrow,
.section-kicker {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0;
}

.section-kicker.light {
  color: var(--cyan);
}

h1 {
  max-width: 720px;
  color: var(--ink);
  font-size: 68px;
  line-height: 1;
}

h2 {
  color: var(--ink);
}

.hero-copy {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 46px;
  border-radius: var(--radius);
  box-shadow: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, color 150ms ease;
}

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

.button-primary {
  color: #04111f;
  background: var(--cyan);
  box-shadow: 0 12px 25px rgba(47, 197, 217, 0.28);
}

.button-primary:hover {
  background: #62d8e7;
}

.button-secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line-strong);
}

.button-secondary:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 26px rgba(18, 97, 214, 0.11);
}

.hero-product-preview {
  width: min(100%, 500px);
  margin-right: max(0px, calc((100vw - 1160px) / 2));
  padding: 16px;
  color: #ffffff;
  background: rgba(6, 21, 37, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.preview-toolbar,
.preview-card,
.preview-grid > div,
.preview-list span {
  border-radius: var(--radius);
}

.preview-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.08);
}

.preview-toolbar strong,
.preview-card strong,
.preview-grid strong {
  color: #ffffff;
}

.preview-card {
  margin-top: 14px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(18, 97, 214, 0.34), rgba(47, 197, 217, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.preview-card span,
.preview-grid span,
.preview-list span,
.preview-card small,
.preview-grid small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.preview-card strong {
  display: block;
  margin: 8px 0 14px;
  font-size: 22px;
  line-height: 1.2;
}

.preview-progress {
  height: 11px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.preview-progress span {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--cyan);
  border-radius: inherit;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.preview-grid > div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.preview-grid strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 28px;
}

.preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.preview-list span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 8px 10px;
  color: var(--ink);
  background: #ffffff;
}

.summary-band {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.metric-strip div {
  min-height: 122px;
  padding: 28px 28px;
  background: #ffffff;
  border-right: 1px solid var(--line);
}

.metric-strip div:last-child {
  border-right: 0;
}

.metric-strip span {
  color: var(--blue);
  font-size: 14px;
}

.metric-strip p {
  max-width: 24ch;
  color: var(--ink-soft);
  font-size: 18px;
}

.section {
  padding: 94px 40px;
}

.band-white {
  background: #ffffff;
}

.band-sky {
  background: #eef6fb;
}

.band-dark,
.contact-section {
  color: #ffffff;
  background: var(--ink);
}

.section-heading {
  max-width: 780px;
}

.section-heading h2,
.compact-heading h2 {
  font-size: 44px;
  line-height: 1.07;
}

.section-heading p,
.centers-layout p,
.role-content p,
.compliance-box p {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
}

.band-dark .section-heading h2,
.band-dark .section-heading p,
.band-dark .workflow-row,
.contact-section h2,
.contact-section p {
  color: #ffffff;
}

.feature-grid {
  gap: 16px;
}

.feature-card,
.role-panel,
.catalog-card,
.purchase-panel,
.course-detail-main,
.course-facts,
.module-preview-item,
.login-panel,
.portal-panel,
.portal-action-card,
.training-path-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  padding: 24px;
  background: #ffffff;
}

.feature-card h3 {
  margin-top: 10px;
  font-size: 23px;
}

.feature-card p {
  color: var(--ink-soft);
}

.feature-code,
.catalog-card-topline span,
.catalog-card-topline strong,
.catalog-card-meta span,
.course-section-chips span,
.status-pill,
.filter-pill {
  border-radius: 999px;
}

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

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

.accent-gold {
  border-top: 5px solid var(--gold);
}

.accent-cyan {
  border-top: 5px solid var(--cyan);
}

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

.accent-navy {
  border-top: 5px solid var(--ink);
}

.role-panel {
  background: #ffffff;
}

.role-tabs {
  background: #f5f9fc;
}

.role-tab {
  color: var(--ink-soft);
  background: transparent;
}

.role-tab.is-active {
  color: var(--ink);
  background: #ffffff;
  box-shadow: inset 0 -4px 0 var(--cyan);
}

.role-content {
  padding: 30px;
}

.workflow-list,
.center-list {
  gap: 12px;
}

.workflow-row,
.center-row {
  border-radius: var(--radius);
  box-shadow: none;
}

.workflow-row {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.workflow-row span {
  color: var(--cyan);
}

.center-row {
  background: #ffffff;
}

.compliance-box {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.contact-grid {
  align-items: start;
}

.contact-form {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.login-panel input,
.catalog-search input {
  min-height: 46px;
  border-color: var(--line-strong);
  border-radius: var(--radius);
}

.catalog-heading-row {
  align-items: end;
}

.catalog-search {
  border-radius: var(--radius);
}

.catalog-tabs {
  gap: 10px;
}

.catalog-tab {
  border-color: var(--line-strong);
  border-radius: var(--radius);
  background: #ffffff;
}

.catalog-tab:hover,
.catalog-tab.is-active {
  color: var(--ink);
  background: var(--cyan-soft);
  border-color: var(--cyan);
}

.catalog-card {
  overflow: hidden;
  background: #ffffff;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.catalog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.catalog-card-image {
  min-height: 190px;
}

.catalog-card-body {
  gap: 14px;
}

.catalog-card h3 {
  font-size: 24px;
  line-height: 1.15;
}

.catalog-card p {
  color: var(--ink-soft);
}

.catalog-card-footer {
  align-items: center;
}

.catalog-empty {
  border-radius: var(--radius);
  background: var(--blue-soft);
}

.login-page {
  background:
    linear-gradient(90deg, rgba(248, 251, 253, 0.98), rgba(248, 251, 253, 0.82)),
    url("assets/bugbyte-hero.png");
  background-position: center right;
  background-size: cover;
}

.login-hero {
  min-height: calc(100vh - 70px);
  padding: 70px 40px;
}

.login-layout {
  align-items: center;
  gap: 54px;
}

.login-copy h1 {
  max-width: 620px;
  color: var(--ink);
  font-size: 56px;
}

.login-copy p {
  color: var(--ink-soft);
}

.login-proof-list span {
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(6, 21, 37, 0.06);
}

.login-panel {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.account-type {
  border-radius: var(--radius);
}

.account-type.is-active {
  background: var(--paper);
  border-color: var(--line);
}

.portal-body {
  background: #eef5f9;
}

.portal-header {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  gap: 18px;
  min-height: 70px;
  padding: 12px 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(6, 21, 37, 0.06);
}

.portal-nav {
  padding: 6px;
  background: #f3f8fc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  justify-content: flex-start;
  color: var(--ink-soft);
}

.portal-nav a {
  min-height: 38px;
  color: var(--ink-soft);
  border-radius: calc(var(--radius) - 2px);
}

.portal-nav a:hover,
.portal-nav a[aria-current="page"] {
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(6, 21, 37, 0.08);
}

.profile-trigger {
  min-width: 220px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.profile-summary strong {
  color: var(--ink);
}

.profile-summary small {
  color: var(--muted);
}

.profile-menu-panel {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.learner-dashboard {
  width: min(100% - 44px, 1360px);
}

.portal-hero {
  color: #ffffff;
  background:
    linear-gradient(120deg, #061525 0%, #073258 62%, #1261d6 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portal-hero h1,
.portal-hero p {
  color: #ffffff;
}

.portal-metrics {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.portal-metrics div {
  background: #ffffff;
}

.portal-action-card {
  background: #ffffff;
}

.portal-action-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.training-path-card.active {
  border-color: var(--cyan);
  background: var(--cyan-soft);
}

.course-player-grid {
  align-items: start;
}

.lesson-player-item {
  border-radius: var(--radius);
}

.lesson-player-item.is-complete {
  background: var(--green-soft);
}

.cookie-banner {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@keyframes bugbyteRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.has-scroll-reveal .js-reveal {
  opacity: 0;
  transform: translateY(14px);
}

.has-scroll-reveal .js-reveal.is-visible {
  animation: bugbyteRise 520ms ease var(--reveal-delay, 0ms) both;
}

.has-scroll-reveal .hero-content.js-reveal,
.has-scroll-reveal .hero-product-preview.js-reveal {
  transform: translateY(8px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1100px) {
  .hero,
  .catalog-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 36px;
  }

  .hero-product-preview {
    margin: 0 auto;
    width: min(100%, 720px);
  }

  .site-header {
    align-items: flex-start;
  }

  h1 {
    font-size: 54px;
  }
}

@media (max-width: 900px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nav-trigger,
  .nav-links a:not(.nav-pill),
  .nav-pill {
    min-height: 38px;
  }

  .nav-dropdown {
    position: static;
  }

  .nav-menu-list {
    top: calc(100% + 2px);
    left: 18px;
    right: 18px;
    min-width: 0;
  }

  .nav-links .nav-dropdown:last-of-type .nav-menu-list {
    left: 18px;
    right: 18px;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 12px 18px;
  }

  .hero,
  .catalog-hero,
  .section,
  .login-hero {
    padding-left: 22px;
    padding-right: 22px;
  }

  h1,
  .login-copy h1 {
    font-size: 42px;
  }

  .section-heading h2,
  .compact-heading h2 {
    font-size: 34px;
  }

  .hero-copy,
  .section-heading p,
  .centers-layout p,
  .role-content p,
  .compliance-box p {
    font-size: 16px;
  }

  .preview-grid,
  .metric-strip {
    grid-template-columns: 1fr;
  }

  .metric-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-strip div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .brand {
    white-space: normal;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-dropdown,
  .nav-trigger,
  .nav-links a:not(.nav-pill),
  .nav-pill {
    width: 100%;
  }

  .nav-trigger {
    justify-content: space-between;
  }

  .nav-pill {
    grid-column: 1 / -1;
    text-align: center;
  }
}

/* Bugbyte Academy V2 homepage - local review build */
.v2-home {
  --v2-ink: #061525;
  --v2-text: #1d334b;
  --v2-muted: #64798d;
  --v2-paper: #f4f9fc;
  --v2-panel: #ffffff;
  --v2-line: #d7e6ef;
  --v2-blue: #1261d6;
  --v2-blue-deep: #073258;
  --v2-cyan: #2fc5d9;
  --v2-green: #4fb477;
  --v2-gold: #f2b94d;
  --v2-orange: #e66a45;
  --v2-shadow: 0 20px 60px rgba(6, 21, 37, 0.12);
  --v2-soft-shadow: 0 12px 30px rgba(6, 21, 37, 0.08);
  margin: 0;
  color: var(--v2-ink);
  background: var(--v2-paper);
  overflow-x: hidden;
}

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

.v2-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(215, 230, 239, 0.76);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.v2-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(6, 21, 37, 0.08);
}

.v2-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  color: var(--v2-ink);
  font-size: 17px;
  font-weight: 950;
}

.v2-brand img {
  width: 40px;
  height: 40px;
  padding: 4px;
  background: var(--v2-ink);
  border-radius: 8px;
}

.v2-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 5px;
  background: rgba(244, 249, 252, 0.9);
  border: 1px solid var(--v2-line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.v2-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 12px;
  color: var(--v2-text);
  border-radius: 6px;
  white-space: nowrap;
}

.v2-nav a:hover {
  color: var(--v2-blue-deep);
  background: #eaf4ff;
}

.v2-nav .v2-nav-cta {
  color: #04111f;
  background: var(--v2-cyan);
  box-shadow: 0 9px 20px rgba(47, 197, 217, 0.24);
}

.v2-nav .v2-nav-cta:hover {
  color: #04111f;
  background: #65d9e7;
}

.v2-menu-toggle,
.v2-menu-backdrop {
  display: none;
}

.v2-hero {
  position: relative;
  min-height: calc(100vh - 76px);
  padding: 92px 28px 44px;
  background:
    linear-gradient(90deg, rgba(248, 252, 254, 0.98) 0%, rgba(248, 252, 254, 0.9) 52%, rgba(248, 252, 254, 0.42) 100%),
    url("assets/bugbyte-hero.png");
  background-position: center right;
  background-size: cover;
}

.v2-hero-inner,
.v2-section-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.v2-hero-inner {
  display: grid;
  min-height: calc(100vh - 220px);
  align-content: center;
  gap: 54px;
}

.v2-hero-copy {
  max-width: 760px;
}

.v2-eyebrow,
.v2-kicker {
  margin-bottom: 14px;
  color: var(--v2-blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.v2-hero h1 {
  max-width: 820px;
  color: var(--v2-ink);
  font-size: 68px;
  line-height: 0.98;
  letter-spacing: 0;
}

.v2-hero h1 span {
  display: block;
}

.v2-hero-copy > p:not(.v2-eyebrow):not(.v2-hero-note) {
  max-width: 720px;
  color: var(--v2-text);
  font-size: 20px;
  line-height: 1.65;
}

.v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 18px;
}

.v2-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.v2-button:hover {
  transform: translateY(-2px);
}

.v2-button-primary {
  color: #04111f;
  background: var(--v2-cyan);
  box-shadow: 0 14px 28px rgba(47, 197, 217, 0.3);
}

.v2-button-primary:hover {
  background: #65d9e7;
}

.v2-button-secondary {
  color: var(--v2-ink);
  background: #ffffff;
  border-color: var(--v2-line);
  box-shadow: 0 10px 24px rgba(6, 21, 37, 0.07);
}

.v2-hero-note {
  color: var(--v2-muted);
  font-size: 14px;
  font-weight: 800;
}

.v2-motion-stage {
  display: grid;
  gap: 18px;
  overflow: hidden;
}

.v2-chip-rail {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: v2Rail 24s linear infinite;
}

.v2-chip-rail span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  color: var(--v2-ink);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(215, 230, 239, 0.92);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(6, 21, 37, 0.07);
  font-size: 13px;
  font-weight: 950;
}

.v2-course-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 840px;
}

.v2-flow-block {
  display: grid;
  gap: 7px;
  min-height: 108px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--v2-line);
  border-radius: 8px;
  box-shadow: var(--v2-soft-shadow);
}

.v2-flow-block span {
  color: var(--v2-muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.v2-flow-block strong {
  color: var(--v2-ink);
  font-size: 22px;
}

.v2-flow-block::after {
  content: "";
  width: 38px;
  height: 5px;
  margin-top: auto;
  border-radius: 999px;
  background: var(--v2-blue);
}

.v2-flow-block.is-file::after {
  background: var(--v2-green);
}

.v2-flow-block.is-quiz::after {
  background: var(--v2-orange);
}

.v2-flow-block.is-record::after {
  background: var(--v2-gold);
}

.v2-snapshot {
  background: #ffffff;
  border-top: 1px solid var(--v2-line);
  border-bottom: 1px solid var(--v2-line);
}

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

.v2-proof-grid article {
  min-height: 150px;
  padding: 28px;
  border-right: 1px solid var(--v2-line);
}

.v2-proof-grid article:last-child {
  border-right: 0;
}

.v2-proof-grid strong {
  display: block;
  color: var(--v2-blue);
  font-size: 40px;
  line-height: 1;
}

.v2-proof-grid span {
  display: block;
  margin: 10px 0 8px;
  color: var(--v2-ink);
  font-size: 14px;
  font-weight: 950;
}

.v2-proof-grid p {
  color: var(--v2-muted);
  font-size: 14px;
  line-height: 1.45;
}

.v2-section {
  padding: 104px 28px;
}

.v2-problem,
.v2-courses,
.v2-contact {
  background: #ffffff;
}

.v2-workflow,
.v2-learner {
  background: #edf6fb;
}

.v2-company,
.v2-studio {
  background: #f7fbfd;
}

.v2-ceu {
  color: #ffffff;
  background: var(--v2-ink);
}

.v2-two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  align-items: center;
  gap: 58px;
}

.v2-two-column.reverse {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
}

.v2-section-copy h2,
.v2-section-heading h2 {
  max-width: 790px;
  color: var(--v2-ink);
  font-size: 46px;
  line-height: 1.07;
  letter-spacing: 0;
}

.v2-ceu .v2-section-copy h2,
.v2-ceu .v2-section-copy p {
  color: #ffffff;
}

.v2-section-copy p,
.v2-section-heading p {
  color: var(--v2-text);
  font-size: 18px;
  line-height: 1.65;
}

.v2-section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.v2-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.v2-before-after > div,
.v2-manager-preview,
.v2-learner-path,
.v2-category-grid article,
.v2-compliance-list,
.v2-studio-preview,
.v2-contact-form {
  background: #ffffff;
  border: 1px solid var(--v2-line);
  border-radius: 8px;
  box-shadow: var(--v2-soft-shadow);
}

.v2-before-after > div {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.v2-before-after span,
.v2-preview-head span,
.v2-category-grid span,
.v2-compliance-list p::before,
.v2-studio-preview span {
  color: var(--v2-blue);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.v2-before-after p {
  margin: 0;
  padding: 12px;
  color: var(--v2-text);
  background: #f5f9fc;
  border-radius: 7px;
  font-weight: 850;
}

.v2-before-after > div:last-child p {
  background: #e9f8ef;
}

.v2-step-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.v2-step-grid::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, var(--v2-blue), var(--v2-cyan), var(--v2-green), var(--v2-gold));
}

.v2-step-grid article {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 230px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--v2-line);
  border-radius: 8px;
  box-shadow: var(--v2-soft-shadow);
}

.v2-step-grid span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #04111f;
  background: var(--v2-cyan);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.v2-step-grid h3,
.v2-category-grid h3 {
  color: var(--v2-ink);
  font-size: 22px;
  line-height: 1.15;
}

.v2-step-grid p,
.v2-category-grid p {
  color: var(--v2-muted);
  font-size: 15px;
  line-height: 1.55;
}

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

.v2-check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--v2-text);
  font-weight: 850;
}

.v2-check-list li::before,
.v2-compliance-list p::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  background: var(--v2-cyan);
  border-radius: 999px;
}

.v2-manager-preview {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.v2-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--v2-line);
}

.v2-preview-head strong {
  color: var(--v2-ink);
}

.v2-roster-row {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(110px, 0.8fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #f6fafc;
  border-radius: 7px;
}

.v2-roster-row span,
.v2-roster-row strong {
  color: var(--v2-ink);
  font-size: 13px;
}

.v2-roster-row div {
  height: 9px;
  overflow: hidden;
  background: #dceaf3;
  border-radius: 999px;
}

.v2-roster-row i {
  display: block;
  height: 100%;
  background: var(--v2-cyan);
  border-radius: inherit;
  animation: v2Progress 1400ms ease both;
}

.v2-roster-row em {
  color: var(--v2-blue-deep);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.v2-learner-path {
  display: grid;
  gap: 13px;
  max-width: 440px;
  padding: 22px;
}

.v2-phone-top {
  width: 56px;
  height: 6px;
  margin: 0 auto 4px;
  background: #c7d9e6;
  border-radius: 999px;
}

.v2-learner-path h3 {
  color: var(--v2-ink);
  font-size: 24px;
}

.v2-learner-path p {
  color: var(--v2-muted);
  font-weight: 800;
}

.v2-progress {
  height: 12px;
  overflow: hidden;
  background: #dceaf3;
  border-radius: 999px;
}

.v2-progress span {
  display: block;
  height: 100%;
  background: var(--v2-blue);
  border-radius: inherit;
  animation: v2Progress 1400ms ease both;
}

.v2-learner-path ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v2-learner-path li {
  padding: 12px;
  color: var(--v2-text);
  background: #f4f9fc;
  border: 1px solid var(--v2-line);
  border-radius: 7px;
  font-weight: 900;
}

.v2-learner-path li.is-done {
  background: #e7f6ed;
  border-color: #bfe6cc;
}

.v2-learner-path li.is-active {
  background: #eaf4ff;
  border-color: #a9ccf7;
}

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

.v2-category-grid article {
  display: grid;
  gap: 10px;
  min-height: 220px;
  padding: 24px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.v2-category-grid article:hover {
  transform: translateY(-4px);
  border-color: var(--v2-cyan);
  box-shadow: var(--v2-shadow);
}

.v2-ceu .v2-kicker,
.v2-ceu .v2-compliance-list p::before {
  color: var(--v2-cyan);
}

.v2-compliance-list {
  display: grid;
  gap: 10px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.v2-compliance-list p {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 0;
  padding: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  font-weight: 900;
}

.v2-studio-preview {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(320px, 1.4fr) minmax(220px, 0.75fr);
  gap: 14px;
  padding: 16px;
  background: #061525;
  border-color: rgba(255, 255, 255, 0.1);
}

.v2-toolbox,
.v2-timeline,
.v2-properties {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.v2-toolbox p,
.v2-properties p,
.v2-properties small,
.v2-timeline-track strong {
  margin: 0;
  color: #ffffff;
}

.v2-toolbox p,
.v2-timeline-track strong {
  padding: 12px;
  background: rgba(47, 197, 217, 0.16);
  border: 1px solid rgba(47, 197, 217, 0.28);
  border-radius: 7px;
  font-weight: 950;
}

.v2-timeline-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 10px;
  align-items: center;
  min-height: 190px;
  padding: 16px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.v2-timeline-track strong:nth-child(3) {
  background: rgba(230, 106, 69, 0.22);
  border-color: rgba(230, 106, 69, 0.4);
}

.v2-contact {
  background:
    linear-gradient(120deg, rgba(248, 252, 254, 0.98), rgba(237, 246, 251, 0.95)),
    url("assets/bugbyte-hero.png");
  background-position: center;
  background-size: cover;
}

.v2-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
}

.v2-contact-form label {
  display: grid;
  gap: 7px;
  color: var(--v2-ink);
  font-size: 13px;
  font-weight: 900;
}

.v2-contact-form input,
.v2-contact-form select,
.v2-contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--v2-ink);
  background: #ffffff;
  border: 1px solid var(--v2-line);
  border-radius: 8px;
  font: inherit;
}

.v2-contact-form textarea {
  resize: vertical;
}

.v2-contact-form .full-width {
  grid-column: 1 / -1;
}

.v2-contact-form .consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--v2-muted);
  font-size: 12px;
  line-height: 1.45;
}

.v2-contact-form .consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 1px;
}

.v2-footer {
  padding: 34px 28px;
  color: #ffffff;
  background: var(--v2-ink);
}

.v2-footer .v2-section-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.v2-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 850;
}

.v2-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.v2-footer a,
.v2-footer button {
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.v2-footer a:hover,
.v2-footer button:hover {
  color: var(--v2-cyan);
}

.v2-home .js-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.v2-home .js-reveal.is-visible {
  animation: v2Reveal 640ms ease var(--reveal-delay, 0ms) both;
}

@keyframes v2Reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes v2Rail {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes v2Progress {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }

  to {
    transform: scaleX(1);
    transform-origin: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v2-home *,
  .v2-home *::before,
  .v2-home *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  .v2-chip-rail {
    animation: none;
  }
}

@media (max-width: 1050px) {
  .v2-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .v2-nav {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .v2-hero h1 {
    font-size: 56px;
  }

  .v2-proof-grid,
  .v2-step-grid,
  .v2-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v2-proof-grid article {
    border-bottom: 1px solid var(--v2-line);
  }

  .v2-two-column,
  .v2-two-column.reverse,
  .v2-studio-preview {
    grid-template-columns: 1fr;
  }

  .v2-step-grid::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .v2-header {
    padding: 12px 18px;
  }

  .v2-brand {
    font-size: 16px;
  }

  .v2-hero {
    min-height: auto;
    padding: 70px 20px 34px;
  }

  .v2-hero-inner {
    min-height: auto;
  }

  .v2-hero h1 {
    font-size: 42px;
  }

  .v2-hero-copy > p:not(.v2-eyebrow):not(.v2-hero-note),
  .v2-section-copy p,
  .v2-section-heading p {
    font-size: 16px;
  }

  .v2-section {
    padding: 72px 20px;
  }

  .v2-section-copy h2,
  .v2-section-heading h2 {
    font-size: 34px;
  }

  .v2-course-flow,
  .v2-proof-grid,
  .v2-step-grid,
  .v2-category-grid,
  .v2-before-after,
  .v2-contact-form {
    grid-template-columns: 1fr;
  }

  .v2-proof-grid article {
    border-right: 0;
  }

  .v2-roster-row {
    grid-template-columns: 1fr;
  }

  .v2-timeline-track {
    grid-template-columns: 1fr;
  }

  .v2-footer .v2-section-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Bugbyte Academy V2 homepage - second visual pass */
.v2-home {
  font-family: "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background:
    linear-gradient(180deg, #fbfdff 0%, #eef7fb 46%, #f8fbfd 100%);
}

.v2-header {
  left: 18px;
  right: 18px;
  width: auto;
  margin-top: 12px;
  border: 1px solid rgba(215, 230, 239, 0.82);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(6, 21, 37, 0.08);
}

.v2-header.is-scrolled {
  box-shadow: 0 16px 42px rgba(6, 21, 37, 0.12);
}

.v2-nav {
  background: rgba(255, 255, 255, 0.78);
}

.v2-hero {
  min-height: calc(100vh - 88px);
  padding-top: 118px;
  background:
    linear-gradient(90deg, rgba(250, 253, 255, 0.99) 0%, rgba(250, 253, 255, 0.94) 44%, rgba(250, 253, 255, 0.54) 100%),
    linear-gradient(135deg, rgba(18, 97, 214, 0.08), rgba(47, 197, 217, 0.06), rgba(79, 180, 119, 0.06)),
    url("assets/bugbyte-hero.png");
  background-position: center right;
  background-size: cover;
}

.v2-hero h1 {
  max-width: 900px;
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 950;
  letter-spacing: 0;
}

.v2-hero-copy > p:not(.v2-eyebrow):not(.v2-hero-note) {
  max-width: 760px;
  color: #29415b;
}

.v2-button-primary {
  background: linear-gradient(135deg, #2fc5d9, #75e2ef);
}

.v2-button-secondary {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px);
}

.v2-chip-rail {
  gap: 12px;
  animation-duration: 42s;
}

.v2-chip-rail span {
  min-height: 42px;
  padding: 9px 16px;
  color: #082037;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(184, 207, 223, 0.74);
}

.v2-chip-rail span:nth-child(4n + 1) {
  background: #e8f2ff;
}

.v2-chip-rail span:nth-child(4n + 2) {
  background: #dcf8fc;
}

.v2-chip-rail span:nth-child(4n + 3) {
  background: #e5f7ed;
}

.v2-chip-rail span:nth-child(4n + 4) {
  background: #fff4dc;
}

.v2-course-flow {
  max-width: 920px;
}

.v2-flow-block {
  min-height: 126px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 250, 252, 0.9));
  border-color: rgba(184, 207, 223, 0.8);
}

.v2-proof-grid article {
  background:
    linear-gradient(180deg, #ffffff, #f8fbfd);
}

.v2-section {
  position: relative;
}

.v2-section-copy h2,
.v2-section-heading h2 {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 950;
  letter-spacing: 0;
}

.v2-before-after > div,
.v2-manager-preview,
.v2-learner-path,
.v2-category-grid article,
.v2-contact-form {
  border-color: rgba(184, 207, 223, 0.82);
  box-shadow: 0 18px 54px rgba(6, 21, 37, 0.1);
}

.v2-manager-preview,
.v2-learner-path {
  background:
    linear-gradient(180deg, #ffffff, #f5fbfe);
}

.v2-preview-head {
  align-items: center;
}

.v2-preview-head > div {
  display: grid;
  gap: 3px;
}

.v2-preview-head em,
.v2-studio-topbar em {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  color: #063348;
  background: #dcf8fc;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.v2-roster-row:nth-child(3) i {
  background: var(--v2-green);
}

.v2-roster-row:nth-child(4) i {
  background: var(--v2-gold);
}

.v2-category-grid article:nth-child(1) {
  border-top: 5px solid var(--v2-blue);
}

.v2-category-grid article:nth-child(2) {
  border-top: 5px solid var(--v2-cyan);
}

.v2-category-grid article:nth-child(3) {
  border-top: 5px solid var(--v2-green);
}

.v2-category-grid article:nth-child(4) {
  border-top: 5px solid var(--v2-gold);
}

.v2-category-grid article:nth-child(5) {
  border-top: 5px solid var(--v2-orange);
}

.v2-category-grid article:nth-child(6) {
  border-top: 5px solid var(--v2-blue-deep);
}

.v2-studio-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(135deg, #061525 0%, #08243d 48%, #0a3a62 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 80px rgba(6, 21, 37, 0.22);
}

.v2-studio-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.v2-studio-topbar div {
  display: grid;
  gap: 3px;
}

.v2-studio-topbar span {
  color: var(--v2-cyan);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.v2-studio-topbar strong {
  color: #ffffff;
  font-size: 20px;
}

.v2-studio-window {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(360px, 1.45fr) minmax(220px, 0.75fr);
  gap: 14px;
  padding: 16px;
}

.v2-toolbox,
.v2-timeline,
.v2-properties {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.14);
}

.v2-canvas-preview {
  display: grid;
  gap: 8px;
  min-height: 146px;
  padding: 20px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(47, 197, 217, 0.2), rgba(18, 97, 214, 0.12));
  border: 1px solid rgba(47, 197, 217, 0.22);
  border-radius: 8px;
}

.v2-canvas-preview strong {
  color: #ffffff;
  font-size: 22px;
}

.v2-canvas-preview p {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.5;
}

.v2-timeline-track {
  min-height: 116px;
  margin-top: 10px;
}

.v2-timeline-track strong {
  display: grid;
  align-content: center;
  min-height: 62px;
  background: rgba(47, 197, 217, 0.18);
}

.v2-timeline-track strong:nth-child(1) {
  border-color: rgba(47, 197, 217, 0.42);
}

.v2-timeline-track strong:nth-child(2) {
  background: rgba(79, 180, 119, 0.2);
  border-color: rgba(79, 180, 119, 0.42);
}

.v2-timeline-track strong:nth-child(4) {
  background: rgba(242, 185, 77, 0.2);
  border-color: rgba(242, 185, 77, 0.42);
}

.v2-properties {
  align-content: start;
}

.v2-properties p {
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
}

.v2-properties small {
  display: block;
  padding: 10px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
}

.v2-contact-form {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 253, 255, 0.94));
  backdrop-filter: blur(12px);
}

@media (max-width: 1050px) {
  .v2-header {
    left: 12px;
    right: 12px;
  }

  .v2-studio-window {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .v2-header {
    margin-top: 8px;
  }

  .v2-hero {
    padding-top: 112px;
  }

  .v2-chip-rail {
    animation-duration: 54s;
  }

  .v2-studio-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Bugbyte V2 bright-blue theme pass - local review build */
.v2-home {
  --v2-ink: #041527;
  --v2-text: #15324f;
  --v2-muted: #5b7289;
  --v2-paper: #edf8ff;
  --v2-panel: #ffffff;
  --v2-line: #c8e4f7;
  --v2-blue: #0877ff;
  --v2-blue-deep: #053f72;
  --v2-cyan: #23d1ee;
  --v2-green: #55c982;
  --v2-gold: #ffc857;
  --v2-orange: #ff7657;
  --v2-shadow: 0 26px 70px rgba(5, 63, 114, 0.16);
  --v2-soft-shadow: 0 16px 42px rgba(5, 63, 114, 0.1);
  background:
    linear-gradient(180deg, #f8fcff 0%, #edf8ff 36%, #ffffff 70%, #eef8ff 100%);
}

.v2-header {
  background: rgba(248, 253, 255, 0.86);
  border-color: rgba(8, 119, 255, 0.18);
  box-shadow: 0 18px 48px rgba(5, 63, 114, 0.1);
}

.v2-header.is-scrolled {
  background: rgba(248, 253, 255, 0.94);
  box-shadow: 0 22px 56px rgba(5, 63, 114, 0.14);
}

.v2-brand img {
  background: linear-gradient(135deg, #052947 0%, #0877ff 100%);
  box-shadow: 0 10px 22px rgba(8, 119, 255, 0.22);
}

.v2-nav {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(8, 119, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.v2-nav a:hover {
  color: #04345f;
  background: #dff1ff;
}

.v2-nav .v2-nav-cta,
.v2-button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #0877ff 0%, #23d1ee 100%);
  box-shadow: 0 16px 34px rgba(8, 119, 255, 0.26);
}

.v2-nav .v2-nav-cta:hover,
.v2-button-primary:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #0068e8 0%, #13c1df 100%);
}

.v2-button-secondary {
  color: #053f72;
  border-color: rgba(8, 119, 255, 0.22);
  box-shadow: 0 12px 28px rgba(5, 63, 114, 0.09);
}

.v2-hero {
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(248, 253, 255, 0.98) 0%, rgba(240, 249, 255, 0.94) 44%, rgba(235, 247, 255, 0.52) 100%),
    linear-gradient(135deg, rgba(8, 119, 255, 0.16), rgba(35, 209, 238, 0.12), rgba(85, 201, 130, 0.08)),
    url("assets/bugbyte-hero.png");
  background-position: center right;
  background-size: cover;
}

.v2-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, rgba(8, 119, 255, 0.16) 0%, rgba(35, 209, 238, 0.09) 34%, transparent 62%),
    linear-gradient(174deg, transparent 0%, transparent 62%, rgba(8, 119, 255, 0.1) 63%, rgba(8, 119, 255, 0.02) 100%);
  pointer-events: none;
}

.v2-hero-inner {
  position: relative;
  z-index: 1;
}

.v2-eyebrow,
.v2-kicker {
  color: var(--v2-blue);
}

.v2-hero h1 {
  color: var(--v2-ink);
  background: linear-gradient(90deg, #041527 0%, #053f72 68%, #0877ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.v2-hero-copy > p:not(.v2-eyebrow):not(.v2-hero-note) {
  color: #173b5e;
}

.v2-chip-rail span {
  border-color: rgba(8, 119, 255, 0.14);
  box-shadow: 0 12px 26px rgba(5, 63, 114, 0.1);
}

.v2-chip-rail span:nth-child(4n + 1) {
  background: #dff1ff;
}

.v2-chip-rail span:nth-child(4n + 2) {
  background: #d9fbff;
}

.v2-chip-rail span:nth-child(4n + 3) {
  background: #e5f9ee;
}

.v2-chip-rail span:nth-child(4n + 4) {
  background: #fff5d9;
}

.v2-flow-block,
.v2-proof-grid article,
.v2-before-after > div,
.v2-manager-preview,
.v2-learner-path,
.v2-category-grid article,
.v2-contact-form {
  border-color: rgba(8, 119, 255, 0.16);
  box-shadow: var(--v2-soft-shadow);
}

.v2-flow-block {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(239, 248, 255, 0.92));
}

.v2-flow-block::after {
  background: linear-gradient(90deg, var(--v2-blue), var(--v2-cyan));
}

.v2-snapshot {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(8, 119, 255, 0.14);
}

.v2-proof-grid strong {
  color: var(--v2-blue);
}

.v2-workflow,
.v2-learner {
  background:
    linear-gradient(180deg, #eaf7ff 0%, #f7fcff 100%);
}

.v2-company,
.v2-studio {
  background:
    linear-gradient(180deg, #ffffff 0%, #edf8ff 100%);
}

.v2-problem,
.v2-courses,
.v2-contact {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
}

.v2-ceu {
  background:
    linear-gradient(135deg, #041527 0%, #053f72 48%, #0877ff 100%);
}

.v2-step-grid::before {
  background: linear-gradient(90deg, var(--v2-blue), var(--v2-cyan), var(--v2-green), var(--v2-gold));
}

.v2-step-grid span {
  color: #ffffff;
  background: linear-gradient(135deg, var(--v2-blue), var(--v2-cyan));
  box-shadow: 0 10px 22px rgba(8, 119, 255, 0.22);
}

.v2-before-after p,
.v2-roster-row,
.v2-learner-path li {
  background: #f1f9ff;
}

.v2-before-after > div:last-child p,
.v2-learner-path li.is-done {
  background: #e8f9f0;
}

.v2-learner-path li.is-active {
  background: #dff1ff;
  border-color: rgba(8, 119, 255, 0.28);
}

.v2-category-grid article:hover {
  border-color: rgba(8, 119, 255, 0.42);
  box-shadow: var(--v2-shadow);
}

.v2-compliance-list {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.v2-studio-preview {
  background:
    linear-gradient(135deg, #041527 0%, #053f72 50%, #075da8 100%);
  box-shadow: 0 30px 86px rgba(5, 63, 114, 0.26);
}

.v2-studio-topbar {
  background: rgba(255, 255, 255, 0.1);
}

.v2-toolbox p,
.v2-timeline-track strong {
  background: rgba(35, 209, 238, 0.18);
  border-color: rgba(35, 209, 238, 0.34);
}

.v2-canvas-preview {
  background:
    linear-gradient(135deg, rgba(35, 209, 238, 0.22), rgba(8, 119, 255, 0.22));
  border-color: rgba(35, 209, 238, 0.28);
}

.v2-contact {
  background:
    linear-gradient(120deg, rgba(248, 253, 255, 0.98), rgba(226, 245, 255, 0.92)),
    url("assets/bugbyte-hero.png");
  background-position: center;
  background-size: cover;
}

/* Public course pages - bright-blue V2 alignment */
.public-subpage {
  color: var(--v2-ink);
  background:
    linear-gradient(180deg, #f8fcff 0%, #edf8ff 36%, #ffffff 78%, #eef8ff 100%);
}

.public-subpage .catalog-hero,
.public-subpage .course-purchase-hero {
  position: relative;
  min-height: auto;
  overflow: hidden;
  padding: 136px 28px 86px;
  color: var(--v2-ink);
  background:
    linear-gradient(105deg, rgba(248, 253, 255, 0.98) 0%, rgba(238, 248, 255, 0.94) 48%, rgba(223, 241, 255, 0.62) 100%),
    linear-gradient(135deg, rgba(8, 119, 255, 0.2), rgba(35, 209, 238, 0.12), rgba(85, 201, 130, 0.08)),
    url("assets/bugbyte-hero.png");
  background-position: center right;
  background-size: cover;
}

.public-subpage .catalog-hero::before,
.public-subpage .course-purchase-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, rgba(8, 119, 255, 0.15) 0%, rgba(35, 209, 238, 0.08) 34%, transparent 64%),
    linear-gradient(174deg, transparent 0%, transparent 64%, rgba(8, 119, 255, 0.08) 65%, rgba(8, 119, 255, 0.02) 100%);
  pointer-events: none;
}

.public-subpage .catalog-hero .hero-content,
.public-subpage .course-purchase-layout,
.public-subpage .section-inner {
  position: relative;
  z-index: 1;
}

.public-subpage .catalog-hero .hero-content {
  width: min(1180px, 100%);
  max-width: 1180px;
  margin: 0 auto;
}

.public-subpage .catalog-hero h1,
.public-subpage .course-purchase-hero h1,
.public-subpage .catalog-empty h1 {
  max-width: 900px;
  margin: 0;
  color: var(--v2-ink);
  background: linear-gradient(90deg, #041527 0%, #053f72 68%, #0877ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
  -webkit-text-fill-color: transparent;
}

.public-subpage .hero-copy {
  max-width: 700px;
  color: #173b5e;
  font-size: 20px;
  line-height: 1.65;
}

.public-subpage .eyebrow,
.public-subpage .section-kicker {
  color: var(--v2-blue);
  letter-spacing: 0;
}

.public-subpage .button {
  min-height: 48px;
  border-radius: 8px;
  font-weight: 950;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.public-subpage .button:hover {
  transform: translateY(-2px);
}

.public-subpage .button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #0877ff 0%, #23d1ee 100%);
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(8, 119, 255, 0.26);
}

.public-subpage .button-primary:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #0068e8 0%, #13c1df 100%);
}

.public-subpage .button-secondary {
  color: #053f72;
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(8, 119, 255, 0.22);
  box-shadow: 0 12px 28px rgba(5, 63, 114, 0.09);
}

.public-subpage .summary-band {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(8, 119, 255, 0.14);
}

.public-subpage .metric-strip > div {
  min-height: 152px;
  background: linear-gradient(180deg, #ffffff, #f5fbff);
}

.public-subpage .metric-strip span,
.public-subpage .catalog-card-topline strong,
.public-subpage .catalog-card-meta span,
.public-subpage .course-facts span {
  color: var(--v2-blue);
}

.public-subpage .catalog-section,
.public-subpage .compliance,
.public-subpage .course-page .band-white,
.public-subpage .band-white {
  background: linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
}

.public-subpage .catalog-heading-row {
  align-items: end;
  gap: 24px;
}

.public-subpage .catalog-search {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(8, 119, 255, 0.16);
  border-radius: 8px;
  box-shadow: var(--v2-soft-shadow);
}

.public-subpage .catalog-search input {
  background: #ffffff;
  border-color: rgba(8, 119, 255, 0.2);
}

.public-subpage .catalog-tab {
  color: #053f72;
  background: #ffffff;
  border-color: rgba(8, 119, 255, 0.18);
  box-shadow: 0 10px 24px rgba(5, 63, 114, 0.08);
}

.public-subpage .catalog-tab:hover,
.public-subpage .catalog-tab.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #0877ff 0%, #23d1ee 100%);
  border-color: transparent;
}

.public-subpage .catalog-grid {
  gap: 20px;
}

.public-subpage .catalog-card,
.public-subpage .purchase-panel,
.public-subpage .course-detail-main,
.public-subpage .course-facts,
.public-subpage .module-preview-item,
.public-subpage .catalog-empty,
.public-subpage .compliance-box {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f5fbff);
  border-color: rgba(8, 119, 255, 0.16);
  box-shadow: var(--v2-soft-shadow);
}

.public-subpage .catalog-empty {
  padding: 28px;
}

.public-subpage .catalog-empty h3 {
  margin: 0;
  color: var(--v2-ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.public-subpage .catalog-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.public-subpage .catalog-preview-grid article {
  display: grid;
  gap: 10px;
  min-height: 240px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid rgba(8, 119, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(5, 63, 114, 0.08);
}

.public-subpage .catalog-preview-grid article:nth-child(1) {
  border-top: 5px solid var(--v2-blue);
}

.public-subpage .catalog-preview-grid article:nth-child(2) {
  border-top: 5px solid var(--v2-cyan);
}

.public-subpage .catalog-preview-grid article:nth-child(3) {
  border-top: 5px solid var(--v2-green);
}

.public-subpage .catalog-preview-grid article:nth-child(4) {
  border-top: 5px solid var(--v2-gold);
}

.public-subpage .catalog-preview-grid span {
  color: var(--v2-blue);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.public-subpage .catalog-preview-grid h4 {
  margin: 0;
  color: var(--v2-ink);
  font-size: 20px;
  line-height: 1.12;
}

.public-subpage .catalog-preview-grid p {
  margin: 0;
  color: var(--v2-text);
  font-size: 14px;
  line-height: 1.55;
}

.public-subpage .catalog-preview-grid strong {
  align-self: end;
  color: #053f72;
  font-size: 12px;
  text-transform: uppercase;
}

.public-subpage .catalog-card {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.public-subpage .catalog-card[data-course-type="ceu"] {
  border-top: 5px solid var(--v2-blue);
}

.public-subpage .catalog-card[data-course-type="non-ceu"] {
  border-top: 5px solid var(--v2-green);
}

.public-subpage .catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 119, 255, 0.42);
  box-shadow: var(--v2-shadow);
}

.public-subpage .catalog-card-image,
.public-subpage .purchase-panel img {
  background:
    linear-gradient(135deg, rgba(8, 119, 255, 0.18), rgba(35, 209, 238, 0.12)),
    url("assets/bugbyte-hero.png");
  background-position: center;
  background-size: cover;
}

.public-subpage .catalog-card h3,
.public-subpage .course-detail-main h2,
.public-subpage .module-preview h2,
.public-subpage .compliance-box h2 {
  color: var(--v2-ink);
}

.public-subpage .catalog-card p,
.public-subpage .course-detail-main > p,
.public-subpage .module-preview-item p,
.public-subpage .compliance-box p {
  color: var(--v2-text);
}

.public-subpage .catalog-card-footer {
  border-top: 1px solid rgba(8, 119, 255, 0.14);
}

.public-subpage .catalog-card-footer strong,
.public-subpage .purchase-panel-body strong {
  color: var(--v2-ink);
}

.public-subpage .band-dark {
  color: #ffffff;
  background: linear-gradient(135deg, #041527 0%, #053f72 48%, #0877ff 100%);
}

.public-subpage .band-dark .section-kicker {
  color: var(--v2-cyan);
}

.public-subpage .band-dark .section-heading h2,
.public-subpage .band-dark .section-heading p {
  color: #ffffff;
}

.public-subpage .workflow-row {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.public-subpage .workflow-row span {
  color: var(--v2-cyan);
}

.public-subpage .workflow-row p {
  color: rgba(255, 255, 255, 0.88);
}

.public-subpage .course-detail-tags span {
  color: #053f72;
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(8, 119, 255, 0.22);
  box-shadow: 0 10px 24px rgba(5, 63, 114, 0.08);
}

.public-subpage .purchase-panel-body span {
  color: var(--v2-muted);
}

.public-subpage .course-facts div {
  border-bottom-color: rgba(8, 119, 255, 0.14);
}

.public-subpage .module-preview-empty {
  background: #edf8ff;
  border-color: rgba(8, 119, 255, 0.16);
}

.public-subpage .site-footer {
  background: #041527;
}

.public-subpage .footer-button,
.public-subpage .footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 900px) {
  .public-subpage .catalog-hero,
  .public-subpage .course-purchase-hero {
    padding-top: 118px;
  }

  .public-subpage .catalog-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .public-subpage .catalog-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile polish for public Bugbyte pages */
@media (max-width: 760px) {
  .v2-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    left: 0;
    right: 0;
    top: 0;
    gap: 12px;
    margin-top: 0;
    padding: 10px 12px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .v2-brand {
    grid-column: 1 / 3;
    min-width: 0;
    font-size: 15px;
  }

  .v2-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .v2-brand img {
    width: 36px;
    height: 36px;
  }

  .v2-menu-toggle {
    position: relative;
    grid-column: 3;
    z-index: 95;
    display: inline-grid !important;
    width: 42px;
    height: 42px;
    align-content: center;
    justify-items: center;
    gap: 4px;
    margin-left: auto;
    padding: 0;
    background: linear-gradient(135deg, #0877ff 0%, #23d1ee 100%);
    border: 1px solid rgba(8, 119, 255, 0.28);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(8, 119, 255, 0.24);
    cursor: pointer;
  }

  .v2-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .is-menu-open .v2-menu-toggle {
    position: fixed;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #0877ff 0%, #23d1ee 100%);
  }

  .is-menu-open .v2-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .is-menu-open .v2-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .is-menu-open .v2-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .v2-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    background: rgba(4, 21, 39, 0.42);
    border: 0;
    transition: opacity 180ms ease;
  }

  .is-menu-open .v2-menu-backdrop {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .v2-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    width: min(320px, calc(100vw - 42px));
    gap: 8px;
    overflow-y: auto;
    padding: 74px 16px 18px;
    background:
      linear-gradient(180deg, #ffffff 0%, #edf8ff 100%);
    border: 0;
    border-left: 1px solid rgba(8, 119, 255, 0.18);
    border-radius: 0;
    box-shadow: -24px 0 70px rgba(5, 63, 114, 0.22);
    transform: translateX(105%);
    transition: transform 200ms ease;
  }

  .is-menu-open .v2-nav {
    transform: translateX(0);
  }

  .v2-nav a {
    justify-content: flex-start;
    min-height: 46px;
    padding: 12px;
    font-size: 15px;
    text-align: left;
  }

  .v2-nav .v2-nav-cta {
    justify-content: center;
    margin-top: 4px;
  }

  .v2-hero {
    min-height: auto;
    padding: 56px 18px 34px;
    background-position: center right;
  }

  .v2-home,
  .public-subpage {
    max-width: 100%;
    overflow-x: hidden;
  }

  .v2-hero-inner {
    min-height: auto;
    gap: 30px;
  }

  .v2-hero h1,
  .public-subpage .catalog-hero h1,
  .public-subpage .course-purchase-hero h1,
  .public-subpage .catalog-empty h1 {
    max-width: 11ch;
    font-size: clamp(38px, 13vw, 54px);
    line-height: 1;
  }

  .v2-hero-copy > p:not(.v2-eyebrow):not(.v2-hero-note),
  .public-subpage .hero-copy,
  .v2-section-copy p,
  .v2-section-heading p {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.55;
  }

  .v2-actions,
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .v2-button,
  .public-subpage .button {
    width: 100%;
  }

  .v2-course-flow,
  .v2-proof-grid,
  .v2-step-grid,
  .v2-category-grid,
  .v2-before-after,
  .v2-contact-form,
  .public-subpage .catalog-grid,
  .public-subpage .catalog-preview-grid {
    grid-template-columns: 1fr;
  }

  .v2-proof-grid article,
  .v2-proof-grid article:last-child {
    border-right: 0;
    border-bottom: 1px solid rgba(8, 119, 255, 0.14);
  }

  .v2-two-column,
  .v2-two-column.reverse,
  .public-subpage .course-purchase-layout,
  .public-subpage .course-detail-grid,
  .public-subpage .workflow-layout,
  .public-subpage .compliance-box {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .v2-section,
  .public-subpage .section {
    padding: 56px 18px;
  }

  .v2-section-copy h2,
  .v2-section-heading h2,
  .public-subpage .catalog-heading-row h2,
  .public-subpage .compliance-box h2 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.08;
  }

  .public-subpage .catalog-hero,
  .public-subpage .course-purchase-hero {
    padding: 58px 18px 48px;
  }

  .public-subpage .catalog-heading-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .public-subpage .catalog-search {
    width: 100%;
  }

  .public-subpage .catalog-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .public-subpage .catalog-tabs::-webkit-scrollbar {
    display: none;
  }

  .public-subpage .catalog-tab {
    min-width: max-content;
  }

  .public-subpage .catalog-card-footer,
  .lesson-player-item {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .public-subpage .catalog-card-footer .button {
    justify-self: stretch;
  }

  .public-subpage .metric-strip {
    grid-template-columns: 1fr;
  }

  .public-subpage .metric-strip > div {
    border-right: 0;
    border-bottom: 1px solid rgba(8, 119, 255, 0.14);
  }

  .v2-studio-window,
  .v2-timeline-track {
    grid-template-columns: 1fr;
  }

  .v2-studio-preview {
    margin-inline: -6px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .button,
  .cookie-actions .v2-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .v2-nav a {
    padding: 8px 7px;
    font-size: 11px;
  }

  .v2-hero h1,
  .public-subpage .catalog-hero h1,
  .public-subpage .course-purchase-hero h1,
  .public-subpage .catalog-empty h1 {
    max-width: 9ch;
    font-size: clamp(34px, 12vw, 46px);
  }

  .public-subpage .catalog-card-body,
  .purchase-panel-body,
  .course-detail-main,
  .course-facts {
    padding: 18px;
  }
}

/* Final mobile nav guard: keep the public site menu visible and the drawer collapsed. */
@media (max-width: 760px) {
  body.v2-home .v2-header {
    position: sticky;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    min-height: 64px;
    padding-right: 66px;
  }

  body.v2-home .v2-header > .v2-brand {
    display: inline-flex;
    max-width: calc(100vw - 92px);
  }

  body.v2-home .v2-header > .v2-menu-toggle {
    position: fixed;
    top: 11px;
    right: 12px;
    z-index: 1000;
    display: grid !important;
    width: 42px;
    min-width: 42px;
    max-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    place-content: center;
    gap: 4px;
    color: #ffffff;
    background: linear-gradient(135deg, #0877ff 0%, #23d1ee 100%);
    border: 1px solid rgba(8, 119, 255, 0.28);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(8, 119, 255, 0.24);
  }

  body.v2-home .v2-header > .v2-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
  }

  body.v2-home:not(.is-menu-open) .v2-menu-backdrop {
    display: none !important;
  }

  body.v2-home:not(.is-menu-open) .v2-nav {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
  }

  body.v2-home.is-menu-open .v2-nav {
    display: grid !important;
    visibility: visible;
    pointer-events: auto;
  }
}

/* Safari-safe mobile menu: use a simple full-width drop-down instead of an off-canvas drawer. */
@media (max-width: 760px) {
  body.v2-home.is-menu-open .v2-header {
    overflow: visible;
  }

  body.v2-home .v2-header > .v2-nav {
    transform: none;
  }

  body.v2-home.is-menu-open .v2-header > .v2-nav {
    position: fixed;
    top: 64px;
    left: 12px;
    right: 12px;
    bottom: auto;
    z-index: 999;
    display: grid !important;
    width: auto;
    max-width: none;
    min-height: 0;
    gap: 8px;
    padding: 12px;
    color: #041527;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(8, 119, 255, 0.18);
    border-radius: 12px;
    box-shadow: 0 22px 60px rgba(5, 63, 114, 0.24);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  body.v2-home.is-menu-open .v2-header > .v2-nav a {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: #053f72;
    background: #f3faff;
    border: 1px solid rgba(8, 119, 255, 0.12);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 950;
    text-align: left;
  }

  body.v2-home.is-menu-open .v2-header > .v2-nav .v2-nav-cta {
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #0877ff 0%, #23d1ee 100%);
  }

  body.v2-home.is-menu-open .v2-menu-backdrop {
    display: block;
    background: rgba(4, 21, 39, 0.18);
    pointer-events: auto;
  }
}

/* Public product page structure - first full internal page pass. */
.product-page .product-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(35, 209, 238, 0.26), transparent 30%),
    linear-gradient(110deg, rgba(239, 250, 255, 0.98) 0%, rgba(225, 246, 255, 0.94) 46%, rgba(191, 227, 250, 0.74) 100%),
    url("assets/bugbyte-hero.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: min(54vw, 840px) auto;
}

.product-page .product-hero h1 {
  max-width: min(940px, 100%);
}

.product-card-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card,
.pricing-card,
.product-panel-list article {
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 22px;
  color: var(--v2-ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(8, 119, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(5, 63, 114, 0.08);
}

.product-card span,
.pricing-card span {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  color: #054a83;
  background: #e8f6ff;
  border: 1px solid rgba(8, 119, 255, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card h3,
.pricing-card h3,
.product-panel-list strong {
  margin: 0;
  color: var(--v2-ink);
  font-size: 22px;
  line-height: 1.16;
}

.product-card p,
.pricing-card p,
.product-panel-list p {
  margin: 0;
  color: var(--v2-text);
  line-height: 1.55;
}

.product-card:hover,
.pricing-card:hover,
.product-panel-list article:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 119, 255, 0.34);
  box-shadow: 0 24px 64px rgba(5, 63, 114, 0.12);
}

.product-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
  align-items: start;
}

.product-panel-list {
  display: grid;
  gap: 14px;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-card {
  align-content: start;
  min-height: 360px;
}

.pricing-card strong {
  display: block;
  margin-top: 6px;
  color: var(--v2-ink);
  font-size: 28px;
  line-height: 1;
}

.pricing-card .button {
  align-self: end;
  width: fit-content;
}

.pricing-card.is-featured {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(8, 119, 255, 0.98), rgba(35, 209, 238, 0.94));
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 28px 80px rgba(8, 119, 255, 0.18);
}

.pricing-card.is-featured span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
}

.pricing-card.is-featured h3,
.pricing-card.is-featured strong,
.pricing-card.is-featured p {
  color: #ffffff;
}

.contact-page .contact-section {
  background:
    linear-gradient(135deg, #041527 0%, #053f72 48%, #0877ff 100%);
}

.contact-page .contact-note {
  display: block;
  padding: 16px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
}

.contact-page .contact-form {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
}

.contact-page .contact-form label,
.contact-page .contact-form .consent span {
  color: rgba(255, 255, 255, 0.84);
}

.contact-page .contact-form input,
.contact-page .contact-form select,
.contact-page .contact-form textarea {
  color: #061a2f;
  background: #ffffff;
}

.v2-nav a[aria-current="page"] {
  color: var(--v2-blue);
  background: rgba(8, 119, 255, 0.08);
}

@media (max-width: 1050px) {
  .product-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid,
  .product-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .product-page .product-hero {
    background:
      linear-gradient(180deg, rgba(233, 249, 255, 0.98) 0%, rgba(218, 244, 255, 0.92) 100%);
  }

  .product-card-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .pricing-card,
  .product-panel-list article {
    padding: 18px;
  }

  .pricing-card {
    min-height: auto;
  }

  .pricing-card .button {
    width: 100%;
  }
}

/* Public hero clipping fixes: keep text readable and keep background art from cropping like UI text. */
body.v2-home .v2-hero {
  min-height: auto;
  padding: clamp(24px, 4vh, 40px) 28px clamp(56px, 8vh, 82px);
  background:
    linear-gradient(100deg, rgba(248, 253, 255, 0.99) 0%, rgba(239, 249, 255, 0.96) 54%, rgba(225, 242, 252, 0.74) 100%),
    linear-gradient(135deg, rgba(8, 119, 255, 0.16), rgba(35, 209, 238, 0.12), rgba(85, 201, 130, 0.08)),
    url("assets/bugbyte-hero.png");
  background-position: center, center, right 36px center;
  background-repeat: no-repeat;
  background-size: cover, cover, min(640px, 40vw) auto;
}

body.v2-home .v2-hero::before {
  background:
    linear-gradient(115deg, rgba(8, 119, 255, 0.14) 0%, rgba(35, 209, 238, 0.08) 34%, transparent 60%),
    linear-gradient(174deg, transparent 0%, transparent 64%, rgba(8, 119, 255, 0.08) 65%, rgba(8, 119, 255, 0.02) 100%);
}

body.v2-home .v2-hero-inner {
  display: block;
  min-height: 0;
}

body.v2-home .v2-hero-copy {
  max-width: min(930px, 66vw);
}

body.v2-home .v2-hero h1 {
  max-width: 980px;
  color: #04233f;
  background: none;
  font-size: clamp(46px, 4.1vw, 66px);
  line-height: 1.06;
  -webkit-text-fill-color: currentColor;
}

body.v2-home .v2-hero-copy > p:not(.v2-eyebrow):not(.v2-hero-note) {
  max-width: 860px;
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.5;
}

body.v2-home .v2-hero-note {
  margin-bottom: 0;
  color: #536d84;
}

@media (max-width: 1100px) {
  body.v2-home .v2-hero {
    background-position: center, center, right -120px center;
    background-size: cover, cover, min(620px, 58vw) auto;
  }

  body.v2-home .v2-hero-copy {
    max-width: min(820px, 78vw);
  }
}

@media (max-width: 760px) {
  body.v2-home .v2-hero {
    padding: 54px 18px 44px;
    background:
      linear-gradient(180deg, rgba(248, 253, 255, 0.98) 0%, rgba(232, 247, 255, 0.94) 100%),
      linear-gradient(135deg, rgba(8, 119, 255, 0.16), rgba(35, 209, 238, 0.1));
    background-position: center;
    background-size: cover;
  }

  body.v2-home .v2-hero-copy {
    max-width: 100%;
  }

  body.v2-home .v2-hero h1,
  body.v2-home.public-subpage .catalog-hero h1,
  body.v2-home.public-subpage .course-purchase-hero h1,
  body.v2-home.public-subpage .catalog-empty h1 {
    max-width: 100%;
    font-size: clamp(38px, 10vw, 52px);
    line-height: 1.08;
    overflow-wrap: normal;
  }
}

/* Remove the washed-out product screenshot panel from public hero sections. */
body.v2-home .v2-hero,
body.v2-home.public-subpage .catalog-hero,
body.v2-home.public-subpage .course-purchase-hero,
body.v2-home.product-page .product-hero,
body.v2-home.login-public .login-hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(35, 209, 238, 0.2), transparent 34%),
    radial-gradient(circle at 12% 78%, rgba(8, 119, 255, 0.12), transparent 32%),
    linear-gradient(115deg, rgba(248, 253, 255, 0.99) 0%, rgba(236, 249, 255, 0.96) 54%, rgba(212, 239, 255, 0.9) 100%) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

/* Keep public hero headlines crisp on the light blue hero background. */
body.v2-home.public-subpage .catalog-hero h1,
body.v2-home.public-subpage .course-purchase-hero h1,
body.v2-home.public-subpage .catalog-empty h1,
body.v2-home.product-page .product-hero h1 {
  color: var(--v2-ink) !important;
  background: none !important;
  -webkit-text-fill-color: var(--v2-ink) !important;
}

body.v2-home .v2-chip-rail {
  margin-left: clamp(24px, 9vw, 130px);
}

/* Public summary labels should read like pills, not cramped icon buttons. */
body.v2-home.public-subpage .metric-strip > div {
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 18px;
}

body.v2-home.public-subpage .metric-strip span {
  width: auto;
  min-width: 112px;
  height: auto;
  min-height: 38px;
  padding: 8px 13px;
  text-align: center;
  line-height: 1.08;
  white-space: normal;
}

body.v2-home.public-subpage .metric-strip p {
  max-width: none;
}

@media (max-width: 640px) {
  body.v2-home.public-subpage .metric-strip > div {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
  }

  body.v2-home.public-subpage .metric-strip span {
    justify-self: start;
    min-width: 0;
    max-width: 100%;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  body * {
    visibility: hidden;
  }

  .ceu-certificate-preview,
  .ceu-certificate-preview * {
    visibility: visible;
  }

  .ceu-certificate-preview {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .certificate-preview-heading {
    display: none;
  }

  .ceu-certificate-sheet {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0.45in;
    border: 0;
    box-shadow: none;
  }
}

/* Square-hosted course checkout */
.course-checkout-form {
  display: grid;
  gap: 14px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(214, 231, 246, 0.2);
}

.course-page [hidden],
.sandbox-notice[hidden],
.course-checkout-form[hidden],
.course-checkout-message[hidden],
.checkout-confirmation [hidden] {
  display: none !important;
}

.course-checkout-form label:not(.course-checkout-consent) {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.course-checkout-form input[type="email"],
.course-checkout-form input[type="text"],
.course-checkout-form input[type="number"] {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: #071626;
  font: inherit;
}

.course-checkout-form input[type="email"]:focus-visible,
.course-checkout-form input[type="text"]:focus-visible,
.course-checkout-form input[type="number"]:focus-visible {
  outline: 3px solid #22c7e8;
  outline-offset: 2px;
}

.checkout-purchase-for {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkout-purchase-for[hidden],
.checkout-company-fields[hidden] {
  display: none !important;
}

.checkout-purchase-for legend {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
}

.checkout-purchase-for > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.checkout-purchase-for label {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 44px;
  place-items: center;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.checkout-purchase-for input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.checkout-purchase-for label:has(input:checked) {
  color: #053f72;
  background: #e7f7ff;
  border-color: #23b9dd;
  box-shadow: inset 0 0 0 1px #23b9dd;
}

.checkout-purchase-for label:has(input:focus-visible) {
  outline: 3px solid #22c7e8;
  outline-offset: 2px;
}

.checkout-company-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(110px, 0.5fr);
  gap: 12px;
}

.checkout-name-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkout-company-fields p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.course-checkout-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.course-checkout-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #22c7e8;
}

.course-checkout-consent a,
.course-checkout-security,
.course-checkout-message {
  color: var(--muted);
}

.course-checkout-consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.course-checkout-actions {
  display: grid;
  gap: 8px;
}

.course-checkout-actions .button {
  width: 100%;
}

.course-checkout-security,
.course-checkout-message {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.course-checkout-message.is-error {
  color: #b42318;
}

@media (max-width: 520px) {
  .checkout-company-fields,
  .checkout-name-fields {
    grid-template-columns: 1fr;
  }

  .checkout-company-fields p {
    grid-column: auto;
  }
}

.checkout-confirmation-main {
  min-height: calc(100vh - 152px);
  display: grid;
  place-items: center;
  padding: 72px 24px;
  background: #eef8ff;
}

.checkout-confirmation {
  width: min(100%, 680px);
  padding: 52px;
  border: 1px solid #cfe2f2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(7, 22, 38, 0.14);
  text-align: center;
}

.checkout-status-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border: 2px solid #98daf0;
  border-top-color: #0876ff;
  border-radius: 50%;
  animation: checkout-spin 0.9s linear infinite;
}

.checkout-status-icon[data-state="paid"],
.checkout-status-icon[data-state="refunded"],
.checkout-status-icon[data-state="partially_refunded"],
.checkout-status-icon[data-state="failed"],
.checkout-status-icon[data-state="error"] {
  animation: none;
  border-color: transparent;
  background: #dff9ee;
}

.checkout-status-icon[data-state="paid"]::before {
  content: "";
  width: 25px;
  height: 13px;
  border-left: 4px solid #078257;
  border-bottom: 4px solid #078257;
  transform: translateY(-3px) rotate(-45deg);
}

.checkout-status-icon[data-state="refunded"],
.checkout-status-icon[data-state="partially_refunded"] {
  background: #fff3d9;
}

.checkout-status-icon[data-state="refunded"]::before,
.checkout-status-icon[data-state="partially_refunded"]::before {
  content: "i";
  color: #9f5b00;
  font-size: 1.8rem;
  font-weight: 900;
}

.checkout-status-icon[data-state="failed"],
.checkout-status-icon[data-state="error"] {
  background: #ffe8e4;
}

.checkout-status-icon[data-state="failed"]::before,
.checkout-status-icon[data-state="error"]::before {
  content: "!";
  color: #b43825;
  font-size: 1.8rem;
  font-weight: 900;
}

.checkout-confirmation h1 {
  margin: 8px 0 16px;
  color: #071626;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0;
}

.checkout-confirmation-copy {
  max-width: 560px;
  margin: 0 auto;
  color: #35526b;
  font-size: 1.05rem;
  line-height: 1.65;
}

.checkout-course-name {
  margin: 22px auto 0;
  padding: 12px 16px;
  border-left: 4px solid #22c7e8;
  background: #eff9ff;
  color: #082f51;
  font-weight: 900;
  text-align: left;
}

.checkout-confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.checkout-help {
  margin: 28px 0 0;
  color: #587087;
  font-size: 0.88rem;
}

.checkout-help a {
  color: #0568d8;
  font-weight: 800;
}

@keyframes checkout-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .checkout-confirmation-main {
    min-height: calc(100vh - 128px);
    padding: 36px 16px;
  }

  .checkout-confirmation {
    padding: 34px 20px;
  }

  .checkout-confirmation-actions {
    display: grid;
  }

  .checkout-confirmation-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .checkout-status-icon {
    animation-duration: 2s;
  }
}

/* Support and policy readiness pass. */
.support-topic-grid article,
.support-contact-panel > div {
  min-width: 0;
}

.support-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.support-topic-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 210px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #cfe2f2;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(5, 63, 114, 0.07);
}

.support-topic-grid article > span {
  color: #0877ff;
  font-size: 0.76rem;
  font-weight: 950;
}

.support-topic-grid h3 {
  margin: 0;
  color: var(--v2-ink);
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.support-topic-grid p {
  margin: 0;
  color: var(--v2-text);
  line-height: 1.55;
}

.support-faq-section {
  color: #ffffff;
  background: linear-gradient(120deg, #041527 0%, #063d6b 62%, #075da6 100%);
}

.support-faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 44px;
  align-items: start;
}

.support-faq-layout .section-heading h2,
.support-faq-layout .section-heading p {
  color: #ffffff;
}

.support-faq-layout .section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.76);
}

.support-faq-list {
  display: grid;
  gap: 10px;
}

.support-faq-list details {
  color: var(--v2-ink);
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  overflow: hidden;
}

.support-faq-list summary {
  position: relative;
  padding: 18px 52px 18px 18px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.35;
  list-style: none;
}

.support-faq-list summary::-webkit-details-marker {
  display: none;
}

.support-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  color: #0877ff;
  font-size: 1.35rem;
  transform: translateY(-50%);
}

.support-faq-list details[open] summary::after {
  content: "-";
}

.support-faq-list details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--v2-text);
  line-height: 1.58;
}

.support-faq-list a {
  color: #0568d8;
  font-weight: 800;
}

.support-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 30px;
  background: #edf8ff;
  border: 1px solid #cbe5f7;
  border-radius: 8px;
}

.support-contact-panel h2 {
  margin: 4px 0 8px;
  color: var(--v2-ink);
  letter-spacing: 0;
}

.support-contact-panel p {
  max-width: 760px;
  margin: 0;
  color: var(--v2-text);
  line-height: 1.58;
}

.support-contact-actions {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.support-contact-actions .button {
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

@media (max-width: 1000px) {
  .support-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-faq-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 760px) {
  .support-contact-panel {
    grid-template-columns: 1fr;
  }

  .support-topic-grid {
    grid-template-columns: 1fr;
  }

  .support-topic-grid article {
    min-height: auto;
    padding: 19px;
  }

  .support-contact-panel {
    padding: 22px;
  }

  .support-contact-actions .button {
    width: 100%;
  }
}

/* Keep the light homepage request form readable in every interaction state. */
.v2-contact-form .consent span {
  color: #344f66;
  font-weight: 700;
}

.v2-contact-form .consent input {
  accent-color: #0877ff;
}

.v2-contact-form .form-status[data-state] {
  max-width: 100%;
  margin: 0;
  font-weight: 800;
  line-height: 1.45;
}

.v2-contact-form .form-status[data-state="success"] {
  color: #075c42;
}

.v2-contact-form .form-status[data-state="pending"] {
  color: #124f91;
}

.v2-contact-form .form-status[data-state="error"] {
  color: #922727;
}

/* Official resource library. */
.resource-hero .hero-content {
  max-width: 930px;
}

.resource-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 44px;
  align-items: end;
}

.resource-heading > p {
  margin: 0 0 5px;
  color: var(--v2-text);
  line-height: 1.65;
}

.resources-page .resource-heading h2 {
  color: var(--v2-ink);
}

.resources-page .resource-heading .section-kicker {
  color: #0877ff;
}

.official-resource-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  margin-top: 34px;
  padding: 28px;
  color: var(--v2-ink);
  background: #ffffff;
  border: 1px solid #c9e0f2;
  border-radius: 8px;
  box-shadow: 0 18px 56px rgba(5, 63, 114, 0.1);
}

.resource-file-mark {
  display: grid;
  width: 112px;
  min-height: 132px;
  place-content: center;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(145deg, #06355e, #0877ff);
  border-radius: 8px;
}

.resource-file-mark span {
  color: #8eefff;
  font-size: 0.76rem;
  font-weight: 950;
}

.resource-file-mark strong {
  margin-top: 5px;
  font-size: 2rem;
  line-height: 1;
}

.resource-file-mark small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.resource-card-copy {
  min-width: 0;
}

.resource-card-copy h3 {
  margin: 5px 0 8px;
  color: var(--v2-ink);
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.resource-card-copy p {
  margin: 0;
  color: var(--v2-text);
  line-height: 1.58;
}

.resource-card-copy .resource-source {
  color: #0877ff;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.resource-card-copy .resource-update {
  margin-top: 8px;
  color: #52718b;
  font-size: 0.84rem;
  font-weight: 800;
}

.resource-card-action {
  display: grid;
  min-width: 190px;
  justify-items: stretch;
  gap: 9px;
  text-align: center;
}

.resource-card-action .button {
  white-space: normal;
}

.resource-card-action span {
  color: #67839a;
  font-size: 0.76rem;
  font-weight: 800;
}

.resource-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  margin-top: 18px;
  padding: 20px 22px;
  color: var(--v2-ink);
  background: #edf8ff;
  border-left: 5px solid #22c8df;
}

.resource-notice strong {
  white-space: nowrap;
}

.resource-notice p {
  margin: 0;
  color: var(--v2-text);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .resource-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .official-resource-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .resource-file-mark {
    width: 96px;
    min-height: 118px;
  }

  .resource-card-action {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .official-resource-card {
    grid-template-columns: 1fr;
    padding: 21px;
  }

  .resource-file-mark {
    width: 100%;
    min-height: 92px;
  }

  .resource-notice {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .resource-notice strong {
    white-space: normal;
  }
}

/* Keep the launch message readable without changing the existing blue theme. */
body.v2-home .v2-hero .v2-hero-copy > p.brand-slogan {
  margin: 20px 0 0;
  color: #074b80;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

body.v2-home .v2-hero h1 {
  font-size: 66px;
  letter-spacing: 0;
}

body.v2-home .v2-snapshot .v2-proof-grid strong {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
}

.v2-footer .footer-brand-copy p + p {
  margin-top: 8px;
}

@media (max-width: 760px) {
  body.v2-home .v2-hero h1 {
    font-size: 40px;
  }

  body.v2-home .v2-hero .v2-hero-copy > p.brand-slogan {
    font-size: 22px;
  }
}
/* Shown only when the checkout API identifies the Sandbox environment. */
.sandbox-notice {
  max-width: 1160px;
  margin: 24px auto;
  padding: 16px 20px;
  color: #423206;
  background: #fff7d6;
  border: 1px solid #d6b84b;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.55;
}
.sandbox-notice p { margin: 6px 0 0; color: inherit; }
@media (max-width: 700px) {
  .sandbox-notice { margin: 16px; padding: 14px; }
}

/* Public training directory and state navigation. */
.v2-nav .nav-dropdown { display: block; position: relative; width: auto; }
.v2-nav .nav-trigger { color: #173b5e; font-size: 14px; padding: 10px 12px; white-space: nowrap; }
.v2-nav .nav-menu-list { left: 0; right: auto; top: calc(100% + 8px); width: 260px; }
.v2-nav .nav-dropdown:not([open]) .nav-menu-list { display: none; }
.v2-nav .nav-dropdown[open] .nav-menu-list { display: grid; opacity: 1; pointer-events: auto; transform: none; }
.v2-nav .nav-menu-list a { display: grid; gap: 3px; white-space: normal; }
.v2-nav .nav-menu-list a span { color: #536778; font-size: 12px; font-weight: 500; }
.v2-nav a[aria-current="page"] { color: #0758ac; background: #e8f3ff; }
.v2-nav :is(a, summary):focus-visible { outline: 3px solid #0877ff; outline-offset: 3px; }
body.v2-home.public-subpage .training-directory .catalog-hero h1 { max-width: 100%; font-size: 56px; line-height: 1.08; letter-spacing: 0; }
.training-directory .catalog-hero { display: block; padding-top: 90px; padding-bottom: 65px; }
body.v2-home.public-subpage .training-directory .catalog-hero .hero-content { width: 100%; max-width: 1160px; margin: 0 auto; }
.training-directory .section { padding-top: 64px; padding-bottom: 64px; }
.training-directory .section-heading { max-width: 800px; margin-bottom: 28px; }
.training-directory h2 { font-size: 34px; line-height: 1.18; letter-spacing: 0; }
.training-directory h3 { margin: 10px 0; color: #08283e; font-size: 24px; line-height: 1.25; letter-spacing: 0; }
.training-directory p { line-height: 1.65; }
.training-directory .band-dark h2 { color: white; }
.training-directory .band-dark p { color: #edf7ff; max-width: 850px; }
.training-directory :is(.button, a, h2, h3, p) { overflow-wrap: anywhere; }
.training-directory .button { white-space: normal; text-align: center; }
.training-route-grid, .training-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.training-route, .training-category-grid > article { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 30px; border: 1px solid #caddf0; border-radius: 8px; background: #fff; }
.training-route { border-top: 4px solid #0877ff; }
.training-route:nth-child(2) { border-top-color: #0c9278; }
.training-route > p:not(.section-kicker) { color: #304f67; margin: 6px 0 24px; }
.training-route .button { margin-top: auto; }
.training-route .section-kicker { margin: 0; }
.training-category-grid > article { border-left: 4px solid #0c9278; }
.training-category-grid > article:nth-child(2) { border-left-color: #0877ff; }
.training-category-grid > article:nth-child(3) { border-left-color: #b36a19; }
.training-category-grid > article:nth-child(4) { border-left-color: #7947a2; }
.training-category-grid p { color: #304f67; margin-bottom: 0; }
.availability-label { display: inline-block; color: #745219; background: #fff3d8; border-radius: 4px; padding: 5px 9px; font-size: 13px; font-weight: 700; }
.training-directory .catalog-availability { background: #eaf5fc; border-block: 1px solid #caddf0; }
.catalog-availability p, .directory-note { max-width: 850px; color: #304f67; }
.directory-note { margin: 28px 0 0; font-size: 16px; }
.state-directory-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 28px 0; border-block: 1px solid #caddf0; }
.state-directory-row > div { max-width: 680px; }
.state-directory-row .button { flex-shrink: 0; }
.training-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.training-detail-grid h3 { font-size: 22px; }
.training-detail-grid p { color: #304f67; }
.company-price-band { background: #eaf5fc; border-block: 1px solid #caddf0; }
.company-price-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.company-price-layout h2 { color: #0758ac; }
.company-price-layout strong { color: #173b5e; }
.company-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 0; list-style-position: inside; }
.company-steps li { padding-top: 20px; border-top: 3px solid #20b3ce; color: #0758ac; font-size: 20px; font-weight: 700; }
.company-steps h3 { font-size: 22px; }
.company-steps p { font-size: 16px; font-weight: 400; color: #304f67; }
.pricing-options ul { padding-left: 20px; margin: 0 0 30px; color: #304f67; line-height: 1.8; }
.public-faq-list details { border-bottom: 1px solid #caddf0; padding: 20px 0; }
.public-faq-list summary { cursor: pointer; color: #173b5e; font-size: 18px; font-weight: 700; }
.public-faq-list p { max-width: 850px; color: #304f67; }
.training-directory [id] { scroll-margin-top: 90px; }
@media (min-width: 761px) {
  .v2-nav { overflow: visible; }
}
@media (max-width: 1000px) {
  .company-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-nav { gap: 2px; }
  .v2-nav > a, .v2-nav .nav-trigger { padding-left: 8px; padding-right: 8px; font-size: 13px; }
}
@media (max-width: 760px) {
  body.v2-home .v2-nav .nav-dropdown { display: block; width: 100%; }
  body.v2-home .v2-nav .nav-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 14px 16px; color: #173b5e; font-size: 16px; }
  body.v2-home .v2-nav .nav-menu-list { position: static; width: 100%; min-width: 0; margin: 0; box-shadow: none; background: #eef6ff; }
  body.v2-home .v2-nav .nav-menu-list a { display: grid !important; font-size: 15px; }
  body.v2-home.public-subpage .training-directory .catalog-hero h1 { font-size: 38px; }
  .training-directory .catalog-hero { padding: 46px 20px; }
  .training-directory .section { padding: 42px 20px; }
  .training-directory h2 { font-size: 28px; }
  .training-directory h3 { font-size: 22px; }
  .training-route-grid, .training-category-grid, .training-detail-grid, .company-price-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .training-route, .training-category-grid > article { padding: 24px; }
  .state-directory-row { align-items: flex-start; flex-direction: column; }
  .training-detail-grid > div + div { border-top: 1px solid #caddf0; padding-top: 18px; }
}
@media (max-width: 420px) {
  .company-steps { grid-template-columns: minmax(0, 1fr); }
  .training-route .button { width: 100%; }
}
