:root {
  color-scheme: light;
  color: #17291d;
  background: #f0f5f0;
  font: 100%/1.55 system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.card {
  width: min(100%, 26rem);
  padding: clamp(1.25rem, 6vw, 2rem);
  border: 1px solid #cedbcf;
  border-radius: 1rem;
  background: #fff;
}

.brand {
  margin: 0 0 0.35rem;
  color: #3e5947;
  font-size: 0.875rem;
  font-weight: 650;
}

h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.375rem, 5vw, 1.75rem);
  line-height: 1.3;
}

.actions {
  display: grid;
  gap: 0.65rem;
}

.action {
  display: grid;
  min-height: 3rem;
  place-items: center;
  padding: 0.65rem 0.75rem;
  border: 1px solid #205336;
  border-radius: 0.6rem;
  color: #fff;
  background: #205336;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

#external-link:not([hidden]) + #naver-link {
  color: #205336;
  background: #fff;
}

.action:focus-visible {
  outline: 3px solid #4b7c5d;
  outline-offset: 3px;
}

.help {
  margin: 1rem 0 0;
  color: #3e5947;
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}

[hidden] {
  display: none !important;
}
