:root {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #18201d;
  background: #f2f7f4;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

main,
footer {
  width: min(100% - 32px, 680px);
  margin-inline: auto;
}

main {
  padding-block: 64px 36px;
}

.eyebrow,
.channel {
  margin: 0 0 8px;
  color: #197047;
  font-weight: 750;
  letter-spacing: 0.04em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 3.25rem);
  line-height: 1.08;
}

h2 {
  margin: 0;
  font-size: 1.25rem;
}

.lead {
  max-width: 560px;
  margin: 18px 0 36px;
  color: #51605a;
  line-height: 1.7;
}

.card,
.notice {
  border: 1px solid #d6e2dc;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(21, 68, 47, 0.07);
}

.card {
  display: grid;
  gap: 20px;
  padding: 24px;
}

.card.staging {
  margin-top: 14px;
  box-shadow: none;
}

.version {
  margin: 8px 0 0;
  color: #5e6d66;
}

.button {
  appearance: none;
  display: inline-flex;
  min-height: 48px;
  padding-inline: 20px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: #176f47;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: #105638;
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.button[hidden] {
  display: none;
}

.button.secondary {
  background: #334b41;
}

.error {
  margin: 0;
  color: #a4372e;
}

details {
  margin-top: 18px;
}

summary {
  cursor: pointer;
  color: #596860;
}

.notice {
  margin-top: 32px;
  padding: 24px;
}

.notice ol {
  margin: 14px 0 0;
  padding-left: 22px;
  color: #4e5c56;
  line-height: 1.75;
}

footer {
  padding-bottom: 40px;
  color: #75817c;
  font-size: 0.875rem;
}

@media (min-width: 600px) {
  .card {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .error {
    grid-column: 1 / -1;
  }

  .button {
    padding-inline: 24px;
  }
}
