:root {
  color-scheme: dark;

  --bg: #0b0f14;
  --panel: #121820;
  --panel2: #0f151c;

  --border: #252e38;
  --border-soft: rgba(255,255,255,.07);

  --text: #f0f4f8;
  --text2: #c8d0d8;
  --muted: #8795a3;

  --green: #3fb950;
  --green2: #2ea043;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  min-height: 100dvh;

  background:
    radial-gradient(
      600px 350px at 50% -120px,
      #182431,
      transparent 70%
    ),
    var(--bg);

  color: var(--text);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;
}

.card {
  width: 100%;
  max-width: 430px;

  padding: 30px 30px 24px;

  text-align: center;

  background:
    linear-gradient(
      180deg,
      var(--panel),
      var(--panel2)
    );

  border: 1px solid var(--border);
  border-radius: 20px;

  box-shadow:
    0 24px 65px rgba(0,0,0,.42);
}

.icon-box {
  position: relative;

  width: 78px;
  height: 78px;

  margin: 0 auto 18px;
}

.cow {
  display: block;

  width: 78px;
  height: 78px;

  max-width: 78px;
  max-height: 78px;
}

.mail-mark {
  position: absolute;

  right: -7px;
  bottom: -4px;

  width: 29px;
  height: 29px;

  display: grid;
  place-items: center;

  border: 1px solid #354251;
  border-radius: 9px;

  background: #18212b;

  color: #62d26f;

  font-size: 15px;

  box-shadow:
    0 7px 18px rgba(0,0,0,.35);
}

.status {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  padding: 5px 10px;

  border:
    1px solid rgba(63,185,80,.24);

  border-radius: 999px;

  background:
    rgba(63,185,80,.07);

  color: #65d574;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: .09em;
}

.status span {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #56d364;

  box-shadow:
    0 0 8px rgba(86,211,100,.65);
}

h1 {
  margin: 15px 0 7px;

  font-size: 30px;
  line-height: 1.08;

  letter-spacing: -.035em;
}

.subtitle {
  margin: 0;

  color: var(--text2);

  font-size: 15px;
  font-weight: 650;
}

.copy {
  max-width: 340px;

  margin:
    12px auto 0;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.55;
}

.actions {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 9px;

  margin-top: 23px;
}

.btn {
  min-height: 42px;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 7px;

  padding:
    0 12px;

  border-radius: 10px;

  text-decoration: none;

  font-size: 12px;
  font-weight: 700;

  transition:
    transform .15s ease,
    background .15s ease,
    border-color .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.primary {
  color: #fff;

  background:
    linear-gradient(
      #37a84a,
      #27883a
    );

  border:
    1px solid rgba(86,211,100,.34);
}

.primary:hover {
  background:
    linear-gradient(
      #43b755,
      #2e9741
    );
}

.secondary {
  color: #d5dde5;

  background:
    rgba(255,255,255,.035);

  border:
    1px solid var(--border-soft);
}

.secondary:hover {
  background:
    rgba(255,255,255,.065);

  border-color:
    rgba(255,255,255,.14);
}

footer {
  margin-top: 21px;
  padding-top: 18px;

  border-top:
    1px solid var(--border-soft);

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 6px;

  color: #687684;

  font-size: 10px;
}

.check {
  width: 16px;
  height: 16px;

  display: inline-grid;
  place-items: center;

  border-radius: 50%;

  color: #62d26f;

  background:
    rgba(63,185,80,.08);

  font-size: 9px;
  font-weight: 900;
}


/* ================================
   TABLET / SMALL LAPTOP
   ================================ */

@media (max-width: 720px) {

  .page {
    padding: 20px;
  }

  .card {
    max-width: 400px;
  }

}


/* ================================
   PHONE
   ================================ */

@media (max-width: 480px) {

  body {
    background:
      radial-gradient(
        420px 250px at 50% -80px,
        #182431,
        transparent 70%
      ),
      var(--bg);
  }

  .page {
    align-items: center;

    padding:
      max(16px, env(safe-area-inset-top))
      max(14px, env(safe-area-inset-right))
      max(16px, env(safe-area-inset-bottom))
      max(14px, env(safe-area-inset-left));
  }

  .card {
    max-width: 360px;

    padding:
      25px 20px 21px;

    border-radius: 18px;
  }

  .icon-box,
  .cow {
    width: 66px;
    height: 66px;

    max-width: 66px;
    max-height: 66px;
  }

  .icon-box {
    margin-bottom: 16px;
  }

  .mail-mark {
    width: 26px;
    height: 26px;

    right: -6px;

    font-size: 13px;
  }

  h1 {
    margin-top: 13px;

    font-size: 27px;
  }

  .subtitle {
    font-size: 14px;
  }

  .copy {
    max-width: 290px;

    font-size: 12.5px;
  }

  .actions {
    grid-template-columns: 1fr;

    gap: 8px;

    margin-top: 20px;
  }

  .btn {
    width: 100%;

    min-height: 44px;

    font-size: 13px;
  }

  footer {
    margin-top: 18px;
  }

}


/* ================================
   SMALL PHONE
   ================================ */

@media (max-width: 350px) {

  .page {
    padding: 10px;
  }

  .card {
    padding: 21px 15px 18px;
  }

  h1 {
    font-size: 24px;
  }

}


@media (prefers-reduced-motion: reduce) {

  * {
    transition: none !important;
  }

}
