body.apex-cert-body {
  margin: 0;
  background: #0d0f12;
  color: #f3efe6;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}
.apex-cert-toolbar {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 1rem;
  background: #161a20;
  border-bottom: 1px solid #2a3038;
}
.apex-cert-toolbar a,
.apex-cert-toolbar button {
  background: #c9a227;
  color: #0d0f12;
  border: 0;
  padding: .55rem 1rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
.apex-cert {
  max-width: 900px;
  margin: 2rem auto;
  padding: 3rem 2.5rem;
  border: 2px solid #c9a227;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(201,162,39,.12), transparent 60%),
    #161a20;
  text-align: center;
}
.apex-cert__brand {
  margin: 0 0 1.5rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .85rem;
  color: #c9a227;
}
.apex-cert__seal {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: .35rem .9rem;
  border: 1px solid #c9a227;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .8rem;
  color: #c9a227;
}
.apex-cert__title {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
}
.apex-cert__studio { margin: 0 0 .75rem; font-size: 1.15rem; opacity: .9; }
.apex-cert__cats { margin: 0 0 1.25rem; color: #c9a227; }
.apex-cert__edition { margin: 0 0 1.5rem; opacity: .75; letter-spacing: .04em; }
.apex-cert__note { margin: 0 auto 1rem; max-width: 32rem; opacity: .7; font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: .95rem; }
.apex-cert__verify a { color: #c9a227; font-size: .85rem; word-break: break-all; }
@media print {
  body.apex-cert-body { background: #fff; color: #111; }
  .no-print { display: none !important; }
  .apex-cert {
    margin: 0;
    border-color: #111;
    background: #fff;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .apex-cert__brand,
  .apex-cert__seal,
  .apex-cert__cats,
  .apex-cert__verify a { color: #8a6a10; }
}
