body {
  margin: 0;
  min-height: 100vh;
  background: #0f0f0f;
  font-family: var(--font-ui);
  color: #f1f1f1;
}

.icon-back-button {
  position: fixed;
  top: var(--size-4);
  left: var(--size-4);
}

/* Held at opacity 0 until Motion loads and runs the entrance animation (see
   how-to.html) - the `html.motion-pending` gate has a hard timeout fallback
   so a slow/blocked CDN still reveals everything, just without the animation. */
html.motion-pending .home-logo,
html.motion-pending .howto-title,
html.motion-pending .howto-tagline,
html.motion-pending .howto-step,
html.motion-pending .howto-limitation {
  opacity: 0;
}

.howto-page {
  max-width: 560px;
  margin: 0 auto;
  padding: var(--size-8) var(--size-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-logo {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 4px 18px rgba(132, 94, 247, 0.45));
}

.howto-title {
  margin-top: var(--size-3);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent-text);
  text-shadow: 0 0 28px rgba(132, 94, 247, 0.35);
}

.howto-tagline {
  margin-top: var(--size-2);
  color: #9a9a9a;
  font-size: 14px;
}

.howto-steps {
  margin-top: var(--size-7);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--size-4);
  text-align: left;
}

.howto-step {
  display: flex;
  gap: var(--size-3);
  align-items: flex-start;
}

.howto-step-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: var(--gloss-highlight), var(--gloss-glow);
}

.howto-step-icon svg {
  width: 16px;
  height: 16px;
}

.howto-step-text {
  padding-top: 3px;
  font-size: 14px;
  line-height: 1.5;
  color: #d8d8d8;
}

.howto-step-text strong {
  color: #f1f1f1;
}

.howto-limitation {
  margin-top: var(--size-7);
  width: 100%;
  text-align: left;
  padding: var(--size-4);
  border-radius: var(--radius-3);
  background: linear-gradient(180deg, #1c1c1c, #161616);
  border: 1px solid var(--accent-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.howto-limitation-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: var(--size-2);
}

.howto-limitation p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #c9c9c9;
}

.howto-badge {
  display: inline-block;
  padding: 1px 6px;
  margin: 0 2px;
  border-radius: 3px;
  background: var(--accent-gradient);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}
