/* Certificate verification shares the academy's header, type, colours and footer. */
.ha-site--verification .ha-contact-float {
  display: none;
}
.ha-verification {
  padding-block: 62px 75px;
}
.ha-verification__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 75px;
  align-items: start;
}
.ha-verification-card {
  min-width: 0;
  padding: 35px;
  border: 1px solid var(--ha-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 40px #17133d06;
}
.ha-verification-card__badge {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 20px;
  padding: 6px 10px;
  background: #eeeffb;
  color: var(--ha-accent);
  border-radius: 5px;
  font-size: 9px;
  font-weight: 600;
}
.ha-verification-card__badge .ha-icon {
  width: 14px;
  height: 14px;
}
.ha-verification-card h2 {
  font-size: 29px;
  margin-bottom: 15px;
}
.ha-verification-card > p {
  color: var(--ha-muted);
  font-size: 12px;
  max-width: 510px;
}
.ha-verify-form {
  margin-top: 28px;
}
.ha-verify-form > label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 9px;
}
.ha-verify-form__input-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.ha-verify-form__input-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1;
  padding: 0 13px;
  background: #fbfbff;
  border: 1px solid #d7dced;
  border-radius: 7px;
}
.ha-verify-form__input-wrap > .ha-icon {
  width: 18px;
  height: 18px;
  color: var(--ha-accent);
}
.ha-verify-form__input-wrap:focus-within {
  outline: 3px solid #8195ff;
  outline-offset: 3px;
}
.ha-verify-form input {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--ha-ink);
  min-height: 50px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.ha-verify-form .ha-button {
  flex: none;
  gap: 9px;
  padding-inline: 16px;
  font-size: 10px;
}
.ha-verify-form > p {
  color: var(--ha-muted);
  font-size: 9px;
  line-height: 1.8;
  margin-top: 11px;
}
.ha-certificate-result {
  margin-top: 29px;
  padding: 25px;
  border: 1px solid #b7d6c9;
  border-radius: 9px;
  background: #f5fbf8;
}
.ha-certificate-result__heading {
  display: flex;
  align-items: center;
  gap: 13px;
}
.ha-certificate-result__heading > span {
  width: 41px;
  height: 41px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #2e7559;
  background: #e0f1e9;
}
.ha-certificate-result .ha-eyebrow {
  color: #38775e;
  font-size: 7px;
  letter-spacing: 0.12em;
}
.ha-certificate-result h3 {
  margin-top: 5px;
  font-size: 22px;
  color: #245a45;
}
.ha-certificate-result > p {
  font-size: 11px;
  color: #537364;
  margin: 18px 0 24px;
}
.ha-certificate-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 25px;
  padding-top: 21px;
  margin: 0 0 25px;
  border-top: 1px solid #d4e7de;
}
.ha-certificate-fields dt {
  color: #587767;
  font-size: 9px;
  margin-bottom: 6px;
}
.ha-certificate-fields dd {
  margin: 0;
  color: #254e3e;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.ha-certificate-result .ha-inline-link {
  color: #347157;
  font-size: 10px;
}
/* Rebuilt certificate artwork: live text stays readable at every screen size. */
.ha-certificate-sheet {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 25px 0;
  padding: clamp(20px, 3vw, 35px) clamp(16px, 2.6vw, 32px) 16px;
  border: 1px solid #e7e0cd;
  background: #fffdf0;
  color: #22166c;
  box-shadow: 0 9px 24px #1f164f0d;
  font-family: Georgia, 'Times New Roman', serif;
  text-align: center;
}
.ha-certificate-sheet__content {
  position: relative;
  z-index: 2;
}
.ha-certificate-sheet__corner {
  position: absolute;
  z-index: -1;
  width: 70px;
  height: 75px;
  background: #241677;
}
.ha-certificate-sheet__corner::after {
  content: '';
  position: absolute;
  width: 86px;
  height: 76px;
  top: 17px;
  left: 15px;
  border-radius: 42% 54% 40% 48%;
  background: #fffdf0;
  transform: rotate(-20deg);
}
.ha-certificate-sheet__corner--tl {
  top: 0;
  left: 0;
}
.ha-certificate-sheet__corner--tr {
  top: 0;
  right: 0;
  transform: scaleX(-1);
}
.ha-certificate-sheet__corner--bl {
  bottom: 0;
  left: 0;
  transform: scaleY(-1);
}
.ha-certificate-sheet__corner--br {
  bottom: 0;
  right: 0;
  transform: scale(-1);
}
.ha-certificate-sheet__monogram {
  position: absolute;
  z-index: 0;
  width: 76%;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.045;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.ha-certificate-sheet__watermark {
  position: absolute;
  z-index: 1;
  inset: 5%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  transform: rotate(-28deg);
  pointer-events: none;
  color: #241677;
  opacity: 0.095;
  font-family: Arial, sans-serif;
  font-size: clamp(15px, 1.9vw, 24px);
  font-weight: 700;
  letter-spacing: 0.025em;
  white-space: nowrap;
}
.ha-certificate-sheet__logo {
  display: block;
  width: 154px;
  height: auto;
  margin: 12px auto 6px;
}
.ha-certificate-sheet__academy {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 7px;
  letter-spacing: 0.25em;
}
.ha-certificate-result .ha-certificate-sheet h3 {
  margin: 32px 0 31px;
  color: #22166c;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(26px, 3vw, 35px);
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
}
.ha-certificate-sheet h3 > span {
  display: block;
  font-size: 0.54em;
  margin-top: 7px;
  letter-spacing: 0.1em;
}
.ha-certificate-sheet__intro {
  font-size: 10px;
  letter-spacing: 0.17em;
}
.ha-certificate-sheet__name {
  display: block;
  margin: 20px auto 19px;
  padding-bottom: 15px;
  border-bottom: 1px solid #25157436;
  color: #16122b;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(21px, 2.6vw, 31px);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.ha-certificate-sheet__description {
  max-width: 260px;
  margin: auto;
  font-size: 13px;
  line-height: 1.7;
}
.ha-certificate-sheet__course {
  margin: 15px 0 0;
  color: #22166c;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.ha-certificate-sheet__qualification {
  margin: 13px auto 0;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.ha-certificate-sheet__qualification:empty {
  display: none;
}
.ha-certificate-sheet__date {
  margin: 30px 0 22px;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.ha-certificate-sheet__bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
}
.ha-certificate-sheet__qr-link {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  font-family: Arial, sans-serif;
  font-size: 8px;
  letter-spacing: 0.06em;
}
[data-certificate-qr]:empty {
  display: none;
}
.ha-certificate-sheet__qr-link svg {
  display: block;
  width: 90px;
  height: 90px;
  max-width: 100%;
}
.ha-certificate-sheet__authority {
  max-width: 200px;
  padding-top: 10px;
  padding-bottom: 4px;
  border-top: 2px solid #241677;
  font-size: 11px;
  text-align: right;
}
.ha-certificate-sheet__authority strong,
.ha-certificate-sheet__authority span,
.ha-certificate-sheet__authority a {
  display: block;
}
.ha-certificate-sheet__authority strong {
  font-size: 14px;
}
.ha-certificate-sheet__authority span {
  margin-block: 5px;
  font-size: 9px;
  line-height: 1.6;
}
.ha-certificate-sheet__authority a {
  font-family: Arial, sans-serif;
  font-size: 9px;
  text-decoration: underline;
}
.ha-certificate-sheet__notice {
  margin-top: 27px;
  padding-block: 9px;
  border-block: 1px solid #24167730;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.7;
}
.ha-certificate-sheet__notice span {
  display: block;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0;
}
.ha-certificate-sheet__id {
  margin-top: 12px;
  font-family: Arial, sans-serif;
  font-size: 8px;
  letter-spacing: 0.07em;
}
.ha-certificate-result .ha-certificate-result__guidance {
  margin: 20px 0;
  font-size: 10px;
  line-height: 1.9;
}
.ha-verification-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  margin-top: 25px;
  border: 1px solid #e8d9bc;
  background: #fffaf0;
  color: #806329;
  border-radius: 8px;
}
.ha-verification-message > .ha-icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}
.ha-verification-message h3 {
  color: #73562a;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.ha-verification-message p {
  font-size: 11px;
  line-height: 1.9;
}
.ha-verification-message a {
  font-weight: 600;
  text-decoration: underline;
}
.ha-verification-card__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 21px;
  margin-top: 27px;
  border-top: 1px solid var(--ha-line);
  color: var(--ha-muted);
}
.ha-verification-card__footer .ha-icon {
  width: 18px;
  height: 18px;
  color: var(--ha-accent);
}
.ha-verification-card__footer p {
  font-size: 9px;
}
.ha-verification-aside {
  padding-top: 5px;
}
.ha-verification-aside__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 330px;
  height: 185px;
  background: radial-gradient(ellipse at center, #edf0ff, transparent 70%);
  margin: -5px 0 18px;
}
.ha-verification-aside__art > img {
  position: relative;
  width: 165px;
  height: 185px;
  object-fit: contain;
  z-index: 1;
}
.ha-verification-aside__art > span {
  position: absolute;
  left: 18px;
  top: 35px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: white;
  border: 1px solid var(--ha-line);
  border-radius: 50%;
  color: var(--ha-accent);
  transform: rotate(-10deg);
}
.ha-verification-aside__art > span .ha-icon {
  width: 26px;
  height: 26px;
}
.ha-verification-aside h2 {
  font-size: 31px;
  margin: 12px 0 19px;
}
.ha-verification-aside > p {
  font-size: 12px;
  color: var(--ha-muted);
  margin-bottom: 20px;
  max-width: 340px;
}
.ha-verification-aside .ha-eyebrow {
  font-size: 8px;
}
.ha-verification-aside .ha-inline-link {
  font-size: 11px;
}
.ha-verification-help {
  background: var(--ha-soft);
}
.ha-verification-help h2 {
  font-size: 29px;
  margin-top: 11px;
}
.ha-verification-help .ha-steps {
  margin-top: 35px;
}
@media (max-width: 1100px) {
  .ha-verification__layout {
    gap: 40px;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  }
  .ha-verification-card {
    padding: 27px;
  }
  .ha-verify-form__input-row {
    flex-direction: column;
  }
  .ha-verify-form .ha-button {
    min-height: 47px;
  }
  .ha-verification-aside h2 {
    font-size: 28px;
  }
}
@media (max-width: 800px) {
  .ha-verification {
    padding-block: 44px;
  }
  .ha-verification__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .ha-verification-card {
    max-width: 670px;
    width: 100%;
  }
  .ha-verify-form__input-row {
    flex-direction: row;
  }
  .ha-verification-aside {
    max-width: 580px;
  }
  .ha-verification-aside__art {
    height: 150px;
  }
  .ha-verification-aside__art > img {
    height: 150px;
    width: 140px;
  }
  .ha-verification-aside > p {
    max-width: 500px;
  }
}
@media (max-width: 520px) {
  .ha-site--verification .ha-page-hero h1 {
    font-size: clamp(27px, 7.6vw, 33px);
    text-wrap: balance;
  }
  .ha-verification {
    padding-top: 30px;
  }
  .ha-verification-card {
    padding: 23px 20px;
  }
  .ha-verification-card h2 {
    font-size: 25px;
  }
  .ha-verification-card > p {
    font-size: 11px;
  }
  .ha-verification-card__badge {
    font-size: 8px;
    padding-inline: 8px;
  }
  .ha-verify-form {
    margin-top: 23px;
  }
  .ha-verify-form__input-row {
    flex-direction: column;
    gap: 12px;
  }
  .ha-verify-form input {
    font-size: 16px;
  }
  .ha-verify-form .ha-button {
    font-size: 11px;
  }
  .ha-certificate-result {
    padding: 20px 12px;
  }
  .ha-certificate-result h3 {
    font-size: 20px;
  }
  .ha-certificate-result__heading {
    gap: 10px;
  }
  .ha-certificate-result__heading > span {
    width: 34px;
    height: 34px;
  }
  .ha-certificate-result .ha-eyebrow {
    font-size: 6px;
    letter-spacing: 0.08em;
  }
  .ha-certificate-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }
  .ha-certificate-fields dd {
    font-size: 12px;
  }
  .ha-certificate-sheet {
    margin-inline: -5px;
    padding-inline: 15px;
  }
  .ha-certificate-sheet__logo {
    width: 125px;
  }
  .ha-certificate-result .ha-certificate-sheet h3 {
    margin-block: 27px;
    font-size: 27px;
  }
  .ha-certificate-sheet__intro {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  .ha-certificate-sheet__name {
    font-size: 23px;
  }
  .ha-certificate-sheet__description {
    font-size: 11px;
  }
  .ha-certificate-sheet__course {
    font-size: 20px;
  }
  .ha-certificate-sheet__qualification {
    font-size: 11px;
  }
  .ha-certificate-sheet__date {
    font-size: 8px;
    letter-spacing: 0.04em;
  }
  .ha-certificate-sheet__bottom {
    gap: 10px;
  }
  .ha-certificate-sheet__qr-link svg {
    width: 76px;
    height: 76px;
  }
  .ha-certificate-sheet__authority strong {
    font-size: 11px;
  }
  .ha-certificate-sheet__authority span {
    font-size: 8px;
  }
  .ha-certificate-sheet__authority a {
    font-size: 8px;
    overflow-wrap: anywhere;
  }
  .ha-certificate-sheet__notice {
    font-size: 8px;
    letter-spacing: 0.03em;
  }
  .ha-verification-message {
    padding: 17px;
    gap: 10px;
  }
  .ha-verification-message h3 {
    font-size: 14px;
  }
  .ha-verification-message p {
    font-size: 10px;
  }
  .ha-verification-card__footer p {
    font-size: 8px;
  }
  .ha-verification-help h2 {
    font-size: 27px;
  }
}
