body.pt-cert .pt-shell__main {
  background:
    radial-gradient(720px 220px at 8% 0, rgba(35, 97, 252, .10), transparent 70%),
    radial-gradient(560px 200px at 100% 40px, rgba(91, 154, 255, .12), transparent 68%),
    #f5f7fb;
}

.cert-page {
  max-width: 980px;
  margin: 8px auto 20px;
}

.cert-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: center;
  padding: 28px 28px 26px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .88));
  border: 1px solid rgba(35, 97, 252, .10);
  box-shadow: 0 18px 40px rgba(26, 31, 54, .06);
}

.cert-kicker {
  margin: 0 0 8px;
  color: var(--c-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cert-stage__copy h1,
.cert-card h2 {
  margin: 0;
  color: var(--c-text);
  line-height: 1.2;
}

.cert-stage__copy h1 {
  font-size: 40px;
}

.cert-lead {
  margin: 12px 0 0;
  max-width: 36em;
  color: var(--c-text-sub);
  font-size: 15px;
  line-height: 1.7;
}

.cert-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.cert-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-text);
  font-size: 14px;
  font-weight: 600;
}

.cert-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-size: 12px;
}

.cert-panel {
  position: relative;
  padding: 22px 20px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--c-border-light);
  box-shadow: var(--sh-2);
}

.cert-panel__label {
  margin: 0 0 10px;
  color: var(--c-text);
  font-size: 13px;
  font-weight: 700;
}

.cert-form {
  display: flex;
  gap: 8px;
}

.cert-form input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 1px solid #d5deef;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 16px;
  color: var(--c-text);
  background: #f8faff;
}

.cert-form input:focus {
  outline: none;
  border-color: var(--c-primary);
  background: #fff;
  box-shadow: 0 0 0 3px var(--c-primary-soft);
}

.cert-form .pt-btn {
  height: 48px;
  padding: 0 20px;
  border-radius: 12px;
}

.cert-panel__note {
  margin: 10px 0 0;
  color: var(--c-text-weak);
  font-size: 12px;
  line-height: 1.6;
}

.cert-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.cert-guide article {
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--c-border-light);
}

.cert-guide h2 {
  margin: 0;
  font-size: 16px;
  color: var(--c-text);
}

.cert-guide p {
  margin: 8px 0 0;
  color: var(--c-text-sub);
  font-size: 13px;
  line-height: 1.7;
}

.cert-foot {
  margin: 14px 4px 0;
  color: var(--c-text-weak);
  font-size: 12px;
}

.cert-miss {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
}

.cert-miss strong {
  font-size: 15px;
}

.cert-miss span {
  font-size: 14px;
  line-height: 1.6;
}

.cert-card {
  margin-top: 18px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--c-border-light);
  border-radius: 20px;
  box-shadow: var(--sh-2);
}

.cert-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.cert-card h2 {
  font-size: 24px;
}

.cert-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 700;
}

.cert-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}

.cert-meta div {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7f9fc;
}

.cert-meta dt {
  margin: 0;
  color: var(--c-text-sub);
  font-size: 12px;
}

.cert-meta dd {
  margin: 4px 0 0;
  color: var(--c-text);
  font-size: 16px;
  font-weight: 600;
  word-break: break-all;
}

.cert-preview {
  margin-top: 16px;
  padding: 12px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, #f3f6fb, #eef2f8);
  border: 1px solid var(--c-border-light);
}

.cert-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(26, 31, 54, .08);
}

.cert-preview iframe {
  display: block;
  width: 100%;
  height: min(78vh, 820px);
  min-height: 420px;
  border: 0;
  border-radius: 10px;
  background: #fff;
}

.cert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
}

@media (max-width: 800px) {
  .cert-stage,
  .cert-guide {
    grid-template-columns: 1fr;
  }
  .cert-stage__copy h1 { font-size: 32px; }
}

@media (max-width: 640px) {
  .cert-stage { padding: 22px 16px 16px; }
  .cert-form { flex-direction: column; }
  .cert-form .pt-btn { width: 100%; }
  .cert-meta { grid-template-columns: 1fr; }
  .cert-preview iframe { min-height: 320px; }
}
