:root {
  color-scheme: light;
  font-family: "Noto Sans JP", sans-serif;
  color: rgb(0 0 0 / 87%);
  background: #f5f9ff;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #f5f9ff;
}

.page {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 16px;
}

.card {
  width: min(100%, 440px);
  padding: 36px 28px 28px;
  text-align: center;
  background: #fff;
  border: 1px solid rgb(0 0 0 / 12%);
  border-radius: 16px;
}

.app-icon {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  object-fit: cover;
  border-radius: 16px;
}

.steps {
  padding: 0;
  margin: 0;
  counter-reset: step;
  list-style: none;
}

.step {
  counter-increment: step;
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
}

.step + .step {
  margin-top: 22px;
}

h1 {
  position: relative;
  padding-left: 28px;
  margin: 0;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
}

h1::before,
.help-text::before {
  position: absolute;
  left: 0;
  content: counter(step) ".";
}

.store-link:focus-visible,
.web-link:focus-visible,
.app-link:focus-visible {
  outline: 3px solid rgb(25 118 210 / 40%);
  outline-offset: 3px;
}

.store-links {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  gap: 12px;
}

.store-link {
  display: block;
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1526 / 590;
  border-radius: 7px;
}

.store-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.web-link {
  display: none;
  margin-top: 16px;
  color: #1976d2;
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 3px;
}

.app-link {
  display: block;
  width: fit-content;
  margin: 8px auto 0;
  color: #1976d2;
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 3px;
}

.help-text {
  margin: 0;
  font-size: inherit;
  line-height: 1.7;
}

.help-text {
  position: relative;
  padding-left: 28px;
}

@media (min-width: 768px) {
  .web-link {
    display: inline-block;
  }
}

@media (max-width: 420px) {
  .card {
    padding: 30px 20px 24px;
  }
}
