:root {
  --screen-height: 100vh;
  --page-bg: #fff;
  --ink: #061933;
  --blue: #2878b9;
  --case-blue: #135d96;
  --case-blue-dark: #0a4774;
  --case-blue-light: #cbe8fb;
  --case-yellow: #ffc936;
  --green: #10a76b;
  --green-soft: #a8edcd;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--page-bg);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
}

.certificate-screen {
  width: 100%;
  min-height: var(--screen-height);
  margin: 0 auto;
  padding: clamp(32px, 5vh, 52px) clamp(24px, 6vw, 56px) clamp(38px, 6vh, 70px);
  background: var(--page-bg);
  text-align: center;
}

h1 {
  margin: 0;
  color: #071a34;
  font-size: clamp(34px, 6.4vw, 56px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}

.status {
  display: flex;
  justify-content: center;
  margin-top: clamp(58px, 10vh, 92px);
}

.status-circle {
  position: relative;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}

.status-shape {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 124px;
  height: 158px;
  background: var(--green-soft);
  border-radius: 54% 46% 49% 51% / 40% 45% 55% 60%;
  transform: translate(3px, 1px) rotate(-18deg);
}

.checkmark {
  position: absolute;
  left: 51px;
  top: 50px;
  width: 104px;
  height: 62px;
  border-left: 26px solid var(--green);
  border-bottom: 26px solid var(--green);
  border-radius: 14px;
  transform: rotate(-45deg);
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.11));
}

.briefcase-circle {
  background:
    linear-gradient(90deg, var(--case-blue-light) 0 50%, #fff 50% 100%);
}

.briefcase-handle {
  position: absolute;
  left: 77px;
  top: 42px;
  width: 40px;
  height: 31px;
  border: 8px solid #7bb6df;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.briefcase-body,
.briefcase-front {
  position: absolute;
  left: 27px;
  width: 136px;
  border-radius: 5px;
}

.briefcase-body {
  top: 61px;
  height: 86px;
  background: var(--case-blue);
}

.briefcase-front {
  top: 94px;
  height: 53px;
  background: linear-gradient(90deg, #175989 0 50%, #12649f 50% 100%);
}

.briefcase-body::before,
.briefcase-body::after {
  content: "";
  position: absolute;
  top: 0;
  border-style: solid;
  border-width: 0 68px 18px;
  opacity: 0.45;
}

.briefcase-body::before {
  left: 0;
  border-color: transparent transparent #083f69;
}

.briefcase-body::after {
  right: 0;
  border-color: transparent transparent #0c4f80;
}

.briefcase-lock {
  position: absolute;
  left: 75px;
  top: 92px;
  width: 40px;
  height: 25px;
  border-radius: 5px;
  background: var(--case-yellow);
  box-shadow: inset 20px 0 0 rgba(255, 255, 255, 0.24);
}

.certificate-text {
  margin: clamp(38px, 5.5vh, 52px) auto 0;
  max-width: 720px;
  font-size: clamp(26px, 4.8vw, 40px);
  font-weight: 400;
  line-height: 1.17;
  letter-spacing: 0;
}

.main-button {
  display: block;
  width: min(100%, 680px);
  height: 95px;
  margin: clamp(72px, 11vh, 112px) auto 0;
  border: 0;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: 30px;
  font-weight: 700;
  line-height: 95px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}

.main-button:active {
  transform: translateY(1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18);
}

@media (max-width: 520px) {
  .certificate-screen {
    padding-right: 24px;
    padding-left: 24px;
  }

  .status {
    margin-top: 70px;
  }

  .status-circle {
    width: 154px;
    height: 154px;
  }

  .status-shape {
    width: 102px;
    height: 128px;
  }

  .checkmark {
    left: 42px;
    top: 41px;
    width: 84px;
    height: 51px;
    border-left-width: 21px;
    border-bottom-width: 21px;
  }

  .briefcase-handle {
    left: 62px;
    top: 34px;
    width: 32px;
    height: 26px;
    border-width: 7px;
  }

  .briefcase-body,
  .briefcase-front {
    left: 22px;
    width: 110px;
  }

  .briefcase-body {
    top: 50px;
    height: 70px;
  }

  .briefcase-front {
    top: 77px;
    height: 43px;
  }

  .briefcase-body::before,
  .briefcase-body::after {
    border-width: 0 55px 15px;
  }

  .briefcase-lock {
    left: 61px;
    top: 75px;
    width: 32px;
    height: 21px;
  }

  .certificate-text {
    margin-top: 40px;
  }

  .main-button {
    height: 76px;
    margin-top: 78px;
    font-size: 24px;
    line-height: 76px;
  }
}
