:root {
  --paper: #f4efe6;
  --paper-soft: #fbf7ef;
  --ink: #1b2432;
  --muted: #667085;
  --line: #ded6c8;
  --blue: #2f73d9;
  --blue-dark: #173f7d;
  --green: #2c9b7a;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  background:
    linear-gradient(rgba(27, 36, 50, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 36, 50, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
}

.page {
  display: grid;
  place-items: center;
  padding: 1rem;
}

.card {
  width: min(100%, 440px);
  padding: clamp(1.35rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--paper-soft);
  box-shadow: 0 22px 55px rgba(27, 36, 50, 0.12);
}

.top,
.brand,
.status,
.note {
  display: flex;
  align-items: center;
}

.top {
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
}

.brand {
  gap: 0.7rem;
  font-weight: 700;
}

.brand__mark {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border-radius: 0.7rem;
  background: var(--blue);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.status {
  gap: 0.45rem;
  margin: 0;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.status span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: currentColor;
  animation: pulse 1.9s ease-out infinite;
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(2.3rem, 9vw, 4.2rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.copy {
  max-width: 25rem;
  margin: 1rem 0 1.55rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.meter {
  height: 0.32rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e6dece;
}

.meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.note {
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.link {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration-color: rgba(47, 115, 217, 0.28);
  text-underline-offset: 0.28rem;
}

footer {
  padding: 0.85rem 1rem;
  color: rgba(27, 36, 50, 0.48);
  font-size: 0.84rem;
  text-align: center;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 0.5rem rgba(44, 155, 122, 0);
  }
}

@media (max-width: 520px) {
  .top,
  .note {
    align-items: flex-start;
    flex-direction: column;
  }

  .top {
    margin-bottom: 2.4rem;
  }
}
