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

:root {
  --surface: #171717;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --border-subtle: rgba(255, 255, 255, 0.18);
  --hashtag-blue: #2189ff;
  --btn-max: 320px;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--surface);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  text-align: center;
  line-height: 1.5;
}

.page-bg {
  min-height: 100vh;
  background-color: var(--surface);
}

.wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.intro {
  margin: 0 auto 2rem;
  max-width: 36rem;
  line-height: 1.2;
}

.intro-headline {
  margin: 0 0 0.35rem;
  font-size: 1.1625rem;
  font-weight: 700;
  line-height: 1.15;
}

.intro-sub {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 1.1625rem;
  line-height: 1.15;
}

.intro-body {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.35;
}

.how-to-title {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 3.5vw, 1.625rem);
  font-weight: 700;
}

.how-to-list {
  margin: 0 0 2.5rem;
  padding-left: 0;
  text-align: center;
  list-style-position: inside;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9375rem;
}

.how-to-list li {
  margin-bottom: 0.35rem;
}

.hashtag {
  color: var(--hashtag-blue);
  font-weight: 600;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  margin-bottom: 2rem;
  align-items: start;
}

@media (max-width: 540px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.gallery-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gallery-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  vertical-align: middle;
}

.cta {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: block;
  width: 100%;
  max-width: var(--btn-max);
  margin: 0;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9375rem;
  font-family: inherit;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    opacity 0.15s ease,
    transform 0.1s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background-color: #ffffff;
  color: var(--surface);
  border-color: #ffffff;
}

.btn--secondary {
  background-color: transparent;
  color: var(--text);
  border-color: var(--text);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.toast {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
  padding: 0.75rem 1rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.875rem;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.toast--visible {
  opacity: 1;
  pointer-events: auto;
}
