:root {
  color-scheme: dark;
  --background: #15121d;
  --surface: #241e2e;
  --border: #352c42;
  --text: #ffffff;
  --muted: #bdafca;
  --accent: #ef4b9d;
  --on-accent: #15121d;
  --focus: #ffc2e3;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background: var(--background);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
}

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

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

header,
main,
footer {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  padding-inline: 16px;
}

header {
  padding-block: 16px;
}

header img {
  display: block;
  width: 140px;
  height: auto;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-block: 16px 48px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h2 {
  font-size: 19px;
  line-height: 1.3;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.hero > img {
  width: 88px;
  height: 88px;
  border-radius: 20px;
}

.tagline,
.version,
.lead,
footer {
  color: var(--muted);
}

.version {
  font-size: 14px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 17px;
  font-weight: 750;
  text-decoration: none;
}

.button:active {
  filter: brightness(0.92);
}

.button svg {
  flex-shrink: 0;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.notice {
  border-color: #ef4b9d99;
  background: #ef4b9d14;
}

.guide {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide ol {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.guide li {
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 14px;
  row-gap: 12px;
  align-items: start;
  counter-increment: step;
}

.guide li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  font-weight: 750;
}

.guide li p {
  padding-top: 4px;
}

.guide li img {
  grid-column: 2;
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
}

footer {
  padding-block: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
