/* QuizHub staging homepage (qh5) — scoped under .qh5-page */
.qh5-page {
  --ink: #172033;
  --muted: #687386;
  --paper: #fbfcfe;
  --white: #fff;
  --line: #e7eaf0;
  --brand: #5546d9;
  --brand2: #7567e8;
  --soft: #f0efff;
  --green: #14835b;
  --yellow: #b7791f;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  background:
    radial-gradient(circle at 50% 0%, #efedff 0, rgba(239, 237, 255, .45) 24%, rgba(251, 252, 254, 0) 55%),
    var(--paper);
}
.qh5-page *,
.qh5-page *::before,
.qh5-page *::after { box-sizing: border-box; }
.qh5-page h1,
.qh5-page h2,
.qh5-page h3 { margin: 0; }
.qh5-page p { margin: 0; }
.qh5-page a { color: inherit; text-decoration: none; }

.qh5-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 26px;
}

.qh5-banner {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.qh5-banner-content {
  font-size: 14px;
  color: var(--muted);
}
.qh5-banner-content a { color: var(--brand); font-weight: 700; }

.qh5-hero {
  padding: 48px 0 36px;
  text-align: left;
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  margin-bottom: 0;
}
.qh5-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 36px;
  align-items: start;
}
.qh5-page .qh5-hero h1 {
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -1.8px;
  margin: 0 0 16px;
  max-width: none;
  font-weight: 800;
  color: var(--ink);
  text-align: left;
}
.qh5-page .qh5-hero h1 em {
  font-style: italic;
  color: var(--brand);
}
.qh5-page .qh5-hero .qh5-kicker {
  max-width: 540px;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 600;
  text-align: left;
}
.qh5-page .qh5-hero .qh5-subhead {
  max-width: 540px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
  opacity: 1;
  text-align: left;
}
.qh5-page .qh5-hero .qh5-subhead a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.qh5-page .qh5-hero .qh5-subhead a:hover { color: #4638c4; }
.qh5-hero-copy .qh5-search {
  max-width: none;
  margin: 0;
}
.qh5-hero-copy .dyk-row {
  max-width: 100%;
  margin: 14px 0 0;
}
.qh5-hero-visual {
  position: relative;
}
.qh5-dash {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(34, 41, 70, .10);
  padding: 22px 22px 18px;
  color: var(--ink);
}
.qh5-dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
}
.qh5-dash-head h3 {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.qh5-dash-head a {
  font-size: 12.5px;
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
}
.qh5-dash-head a i { font-size: 10px; }
.qh5-dash-cert {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--soft);
  padding: 3px 7px;
  border-radius: 999px;
  line-height: 1.2;
}
.qh5-dash-body { display: flex; align-items: center; gap: 18px; }
.qh5-dash-ring {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: conic-gradient(var(--brand) 0% 78%, #e7eaf0 78% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.qh5-dash-ring::before {
  content: "";
  position: absolute;
  inset: 11px;
  background: #fff;
  border-radius: 50%;
}
.qh5-dash-ring-label { position: relative; text-align: center; }
.qh5-dash-ring-label b { font-size: 22px; font-weight: 800; display: block; }
.qh5-dash-ring-label span { font-size: 9.5px; color: #8a93a3; display: block; line-height: 1.2; max-width: 64px; }
.qh5-dash-domains { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.qh5-dash-domain {
  display: grid;
  grid-template-columns: minmax(0, 4.6em) 1fr 2rem;
  align-items: center;
  gap: 8px;
}
.qh5-dash-domain span:first-child,
.qh5-dash-domain span:last-child { font-size: 11px; color: var(--muted); }
.qh5-dash-domain span:first-child {
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qh5-dash-domain span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.qh5-dash-domain.is-focus span:first-child,
.qh5-dash-domain.is-focus span:last-child { color: var(--yellow); font-weight: 700; }
.qh5-dash-track { height: 5px; background: #e7eaf0; border-radius: 99px; overflow: hidden; }
.qh5-dash-fill { height: 100%; border-radius: 99px; }
.qh5-dash-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.qh5-dash-chip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 10px 9px;
  min-width: 0;
}
.qh5-dash-chip b {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  margin-bottom: 3px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qh5-dash-chip b i { font-size: 10px; width: 12px; text-align: center; flex-shrink: 0; }
.qh5-dash-chip span { font-size: 10.5px; color: #8a93a3; line-height: 1.3; display: block; }
.qh5-dash-chip--goal { background: #e8f6f0; border-color: #cfe9db; }
.qh5-dash-chip--goal b i { color: var(--green); }
.qh5-dash-chip--focus { background: #fff8eb; border-color: #f0e0bf; }
.qh5-dash-chip--focus b i { color: var(--yellow); }
.qh5-dash-chip--streak { background: var(--soft); border-color: #dedbff; }
.qh5-dash-chip--streak b i { color: var(--brand); }
.qh5-hero-bell {
  position: absolute;
  right: 14px;
  bottom: -18px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 10px 22px -6px rgba(85, 70, 217, .55);
}

.qh5-orbit {
  max-width: none;
  margin: 28px 0 8px;
}
.qh5-orbit-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 28px;
  margin-bottom: 4px;
}
.qh5-orbit-hint {
  font-size: 13px;
  color: #8a93a3;
  font-weight: 600;
}
.qh5-orbit-back {
  appearance: none;
  border: 1px solid #dedbff;
  background: #fff;
  color: var(--brand);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.qh5-orbit-back:hover { background: var(--soft); }
.qh5-orbit-stage {
  position: relative;
  width: 100%;
}
.qh5-orbit-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.qh5-orbit-svg .qh5-node {
  cursor: pointer;
  outline: none;
  transform-box: view-box;
  transform-origin: 0 0;
}
.qh5-orbit-svg .qh5-node circle {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .18s ease;
}
.qh5-orbit-svg .qh5-node[data-kind="vendor"] circle {
  fill: url(#qh5-bubble-fill);
  filter: url(#qh5-bubble-glow);
}
.qh5-orbit-svg .qh5-node[data-kind="cert"] circle,
.qh5-orbit-svg .qh5-node[data-kind="more"] circle {
  fill: #fff;
  stroke: #dedbff;
  stroke-width: 2;
  filter: url(#qh5-cert-shadow);
}
.qh5-orbit-svg .qh5-node text {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-anchor: middle;
  pointer-events: none;
}
.qh5-orbit-svg .qh5-node[data-kind="vendor"] text { fill: #fff; }
.qh5-orbit-svg .qh5-node[data-kind="cert"] text,
.qh5-orbit-svg .qh5-node[data-kind="more"] text { fill: var(--brand); }
.qh5-orbit-svg .qh5-node.is-dim { opacity: 0; pointer-events: none; }
.qh5-orbit-svg .qh5-node.is-hidden { opacity: 0; pointer-events: none; }
.qh5-orbit-svg .qh5-link-line {
  stroke: #c9c4f3;
  stroke-width: 1.5;
  fill: none;
  opacity: .7;
  transition: opacity .28s ease;
  pointer-events: none;
}
.qh5-orbit-svg .qh5-node:focus-visible circle {
  stroke: var(--ink);
  stroke-width: 3;
}
.qh5-orbit-svg .qh5-node.is-hot circle { transform: scale(1.04); }
.qh5-orbit-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.qh5-orbit-tooltip {
  position: absolute;
  z-index: 4;
  min-width: 180px;
  max-width: 260px;
  padding: 10px 12px;
  background: #171e2d;
  color: #fff;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  box-shadow: 0 12px 30px rgba(23, 32, 51, .28);
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 12px));
}
.qh5-orbit-tooltip strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}
.qh5-orbit-tooltip em {
  display: block;
  font-style: normal;
  color: #b7bed0;
  font-size: 11px;
  margin-bottom: 6px;
}
.qh5-orbit-tooltip ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #e8ebf3;
}
.qh5-orbit-tooltip li + li { margin-top: 2px; }

.qh5-search {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #d9deea;
  border-radius: 13px;
  padding: 7px;
  display: flex;
  box-shadow: 0 15px 40px rgba(34, 41, 70, .10);
}
.qh5-search input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 13px 15px;
  font-size: 16px;
  background: transparent;
  font-family: inherit;
  color: var(--ink);
  min-width: 0;
}
.qh5-search button { border: 0; flex-shrink: 0; }

.qh5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  padding: 10px 16px;
  font-weight: 750;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  border: 0;
}
.qh5-btn-primary { background: var(--brand); color: #fff; }
.qh5-btn-primary:hover { background: #4638c4; color: #fff; }

.qh5-hint {
  font-size: 12px;
  color: #8a93a3;
  margin-top: 12px;
}

.qh5-page .dyk-row {
  max-width: 760px;
  margin: 14px auto 0;
}
.qh5-page .dyk-pill {
  display: inline-flex;
  align-items: stretch;
  flex-wrap: nowrap;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid #dedbff;
}
.qh5-page .dyk-badge {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 8px 16px;
}
.qh5-page .dyk-text {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 500;
  padding: 8px 14px 8px 12px;
  min-width: 0;
  flex: 1 1 auto;
  text-align: left;
}
.qh5-page .dyk-text p { display: inline; margin: 0; }
.qh5-page .dyk-text strong,
.qh5-page .dyk-text b { color: var(--ink); font-weight: 700; }

.qh5-section { padding: 46px 0; }
.qh5-section--tight { padding-top: 10px; }
.qh5-section--stats { padding-bottom: 38px; padding-top: 10px; }
.qh5-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 19px;
}
.qh5-page h2 {
  font-size: 24px;
  letter-spacing: -.7px;
  font-weight: 800;
}
.qh5-lead {
  color: var(--muted);
  font-size: 14px;
  margin: 5px 0 0;
}
.qh5-link {
  color: var(--brand);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}
.qh5-link i { font-size: 11px; margin-left: 4px; }

.qh5-cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.qh5-cert {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 21px;
  min-height: 135px;
  position: relative;
  overflow: hidden;
  text-align: left;
  display: block;
}
.qh5-cert::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  right: -35px;
  top: -35px;
  background: var(--soft);
}
.qh5-cert small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.qh5-cert h3 {
  font-size: 20px;
  margin: 0 0 5px;
  letter-spacing: -.4px;
  position: relative;
  z-index: 1;
}
.qh5-cert p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  position: relative;
  z-index: 1;
}
.qh5-cert-count {
  font-size: 12px;
  font-weight: 750;
  color: var(--green);
  margin-top: 13px;
  position: relative;
  z-index: 1;
}
.qh5-cert:hover { border-color: #dedbff; }

.qh5-activity {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
}
.qh5-activity-row {
  display: grid;
  grid-template-columns: 125px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.qh5-activity-row:last-child { border-bottom: 0; }
.qh5-activity-row:hover { background: #fafbff; }
.qh5-activity-type {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--brand);
}
.qh5-activity h3 { font-size: 15px; margin: 0 0 2px; font-weight: 750; }
.qh5-activity p { font-size: 12px; color: var(--muted); margin: 0; }
.qh5-activity-number {
  font-size: 13px;
  color: #5f6b7e;
  text-align: right;
  white-space: nowrap;
}

.qh5-feature-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 16px;
}
.qh5-feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 27px;
  min-height: 220px;
  text-align: left;
  display: block;
}
.qh5-feature--primary {
  background: linear-gradient(135deg, #f0efff, #fff 60%);
  border-color: #dedbff;
}
.qh5-feature h3 {
  font-size: 25px;
  letter-spacing: -.8px;
  margin: 8px 0;
  font-weight: 800;
}
.qh5-feature p {
  color: var(--muted);
  font-size: 14px;
  max-width: 650px;
}
.qh5-feature strong {
  display: inline-block;
  color: var(--brand);
  font-size: 14px;
  margin-top: 16px;
}
.qh5-pill {
  display: inline-block;
  background: #fff;
  border: 1px solid #dedbff;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 8px;
  border-radius: 999px;
}

.qh5-library {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.qh5-lib {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  align-items: center;
}
.qh5-lib strong { font-size: 16px; }
.qh5-lib span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.qh5-lib b { color: var(--brand); font-size: 18px; }
.qh5-lib:hover { border-color: #dedbff; }

.qh5-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-around;
  border: none;
}
.qh5-stat {
  text-align: center;
  padding: 18px 12px;
  flex: 1 1 140px;
  border-right: 1px solid var(--line);
}
.qh5-stat:last-child { border-right: 0; }
.qh5-stats--hero {
  max-width: none;
  margin: 28px 0 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.qh5-stats--hero .qh5-stat { padding: 14px 10px; }
.qh5-stats--hero .qh5-stat strong { font-size: 22px; }
.qh5-stat strong {
  display: block;
  font-size: 22px;
  letter-spacing: -.8px;
}
.qh5-stat span { font-size: 12px; color: var(--muted); }
.qh5-stat a {
  color: inherit;
  text-decoration: underline;
}

.qh5-join {
  margin: 10px 0 65px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px;
  text-align: center;
}
.qh5-join h2 { font-size: 28px; }
.qh5-join p {
  color: var(--muted);
  font-size: 14px;
  margin: 8px auto 20px;
  max-width: 620px;
}

@media (max-width: 800px) {
  .qh5-hero-grid { grid-template-columns: 1fr; }
  .qh5-hero-visual { max-width: 520px; }
  .qh5-cert-grid { grid-template-columns: 1fr 1fr; }
  .qh5-feature-grid { grid-template-columns: 1fr; }
  .qh5-activity-row { grid-template-columns: 90px 1fr; }
  .qh5-activity-number { display: none; }
  .qh5-page .qh5-hero h1 { font-size: 42px; }
}
@media (max-width: 560px) {
  .qh5-cert-grid,
  .qh5-library { grid-template-columns: 1fr; }
  .qh5-page .qh5-hero h1 { font-size: 35px; letter-spacing: -1.4px; }
  .qh5-hero { padding-top: 36px; }
  .qh5-search { flex-direction: column; }
  .qh5-section-head { flex-direction: column; align-items: flex-start; }
  .qh5-page .dyk-pill { flex-wrap: wrap; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .qh5-orbit-svg .qh5-node,
  .qh5-orbit-svg .qh5-link-line { transition: none !important; }
}
