:root {
  --brand: #0866b2;
  --brand-deep: #073f78;
  --brand-soft: #e8f3fc;
  --ink: #15283a;
  --muted: #5f7180;
  --success: #16835d;
  --success-soft: #e8f7f1;
  --cancel: #c44f36;
  --cancel-soft: #fff0ec;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #f2f8fd;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

.result-page {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: max(24px, env(safe-area-inset-top)) 18px
    max(24px, env(safe-area-inset-bottom));
}

.result-page::before,
.result-page::after {
  position: fixed;
  z-index: -1;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  content: "";
  opacity: 0.58;
}

.result-page::before {
  top: -210px;
  right: -170px;
  background: radial-gradient(circle, #b8dcf8 0%, transparent 70%);
}

.result-page::after {
  bottom: -235px;
  left: -180px;
  background: radial-gradient(circle, #d3e9f9 0%, transparent 70%);
}

.result-card {
  width: min(100%, 440px);
  padding: 30px 24px 24px;
  border: 1px solid rgb(8 102 178 / 9%);
  border-radius: 28px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 20px 55px rgb(21 73 112 / 12%);
  text-align: center;
}

.school-logo {
  display: block;
  width: min(76%, 260px);
  height: auto;
  margin: 0 auto 28px;
}

.status-mark {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--status-soft);
  color: var(--status);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
}

.status-success {
  --status: var(--success);
  --status-soft: var(--success-soft);
}

.status-cancel {
  --status: var(--cancel);
  --status-soft: var(--cancel-soft);
}

.status-info {
  --status: var(--brand);
  --status-soft: var(--brand-soft);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--status);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--brand-deep);
  font-size: clamp(26px, 8vw, 32px);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.summary {
  max-width: 350px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.guidance {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgb(8 102 178 / 10%);
  border-radius: 18px;
  background: #f7fbfe;
  text-align: left;
}

.guidance-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 9px;
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 750;
}

.guidance-title::before {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  content: "i";
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 700;
}

.guidance p,
.close-note {
  margin: 0;
  color: #536777;
  font-size: 14px;
  line-height: 1.65;
}

.close-note {
  margin-top: 20px;
  color: #7a8995;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 359px) {
  .result-page {
    padding-inline: 12px;
  }

  .result-card {
    padding: 25px 18px 20px;
    border-radius: 22px;
  }

  .school-logo {
    margin-bottom: 23px;
  }

  .status-mark {
    width: 64px;
    height: 64px;
    font-size: 35px;
  }
}
