:root {
  color-scheme: light;
  --ink: #172843;
  --muted: #42536c;
  --blue: #174983;
  --line: #d6e2ef;
  --surface: #edf4fc;
  font-family: system-ui, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: #f3f7fc;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, p {
  margin: 0;
}

.page {
  width: min(100% - 2rem, 65rem);
  margin: clamp(1rem, 5vw, 3.5rem) auto 0;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.25rem, 5vw, 3.5rem);
  border-radius: 1.5rem;
  background: linear-gradient(115deg, #11274c, #1a4e81);
  color: #fff;
}

.hero-label {
  color: #d9eaff;
  font-size: .9375rem;
  font-weight: 700;
}

h1 {
  margin-block: .15em .25em;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  line-height: 1.05;
}

.hero-description {
  color: #f0f6ff;
}

.app-icon {
  flex: none;
  width: clamp(3rem, 12vw, 6.75rem);
  height: auto;
  padding: .35rem;
  border-radius: 22%;
  background: #fff;
}

.guide {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.guide section {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 .5rem 1.5rem #17345d0a;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.1rem, 3vw, 1.375rem);
  line-height: 1.4;
}

.store-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .625rem;
}

.store-link, .manual-link {
  border-radius: .75rem;
  text-decoration: none;
  transition: background-color .15s ease;
}

.store-link {
  display: grid;
  gap: .1rem;
  padding: .65rem .75rem;
  color: #fff;
  background: #173d68;
}

.store-link > span {
  color: #e0ecfc;
  font-size: .8125rem;
}

.store-link:hover {
  background: #21558d;
}

.steps {
  display: grid;
  gap: .875rem;
  padding-inline-start: 1.65rem;
  margin: 0 0 1.25rem;
}

.steps li {
  padding-inline-start: .25rem;
}

.steps li::marker {
  color: var(--blue);
  font-weight: 800;
}

.steps p {
  margin-top: .15rem;
  color: var(--muted);
  font-size: .9375rem;
}

.manual-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .65rem .85rem;
  background: var(--surface);
  color: var(--blue);
  font-size: .9375rem;
  font-weight: 700;
}

.manual-link:hover {
  background: #dceafb;
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid #1769ac;
  outline-offset: 3px;
}

footer {
  padding: 1.5rem .5rem;
  text-align: center;
  color: var(--muted);
  font-size: .875rem;
}

@media (min-width: 48rem) {
  .guide {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    align-items: start;
  }
}

@media (max-width: 35rem) {
  .desktop-break {
    display: none;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
}

@media (max-width: 22rem) {
  .store-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-link, .manual-link {
    transition: none;
  }
}

@media (max-width: 22rem) {
  h1 {
    font-size: 2rem;
  }
}


