/* /guides/* — support/how-to pages (screenshots + numbered steps).
   Scoped to this page type only; does not touch the shared
   dist/assets/style.css used by the homepage/terms/privacy pages.
   Tokens copied (values only, not code) from src/styles/global.css and
   /assets/join.css — see SITE_PLAN.md §7. */

:root {
  --bg: #05070c;
  --accent: #0080ff;
  --accent-strong: #0066cc;
  --accent-soft: rgba(0, 128, 255, 0.3);
  --text: #f1f6ff;
  --text-secondary: rgba(241, 246, 255, 0.7);
  --text-muted: rgba(241, 246, 255, 0.48);
  --hairline: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.05);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(120% 75% at 50% -15%, rgba(0, 128, 255, 0.2), transparent 55%),
    radial-gradient(85% 60% at 108% 105%, rgba(0, 87, 173, 0.18), transparent 60%),
    linear-gradient(180deg, #05070c 0%, #0a0f17 55%, #05070c 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 640px) {
  body {
    background-attachment: scroll;
  }
}

a {
  color: inherit;
}

.wrap {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

/* ── Brand header ── */
.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex-shrink: 0;
}

.brand-word {
  font-family: 'Unbounded', 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

/* ── Hook ── */
.hook {
  text-align: center;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}

.hook-icon {
  font-size: 34px;
  margin-bottom: 12px;
}

.hook h1 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.hook p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ── Intro ── */
.intro {
  background: var(--glass);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  animation: fadeUp 0.6s 0.1s ease both;
}

/* ── App section ── */
.app-section {
  margin-bottom: 32px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.app-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--glass);
  border: 1px solid var(--hairline);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* ── Step ── */
.step {
  margin-bottom: 22px;
}

.step-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.step-num {
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.step-caption {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ── Screenshot ── */
.screenshot {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  border: 1px solid var(--hairline);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

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

/* Shown when the screenshot hasn't been uploaded to this page's folder yet. */
.screenshot-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.screenshot-placeholder svg {
  opacity: 0.3;
}

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 32px 0;
}

/* ── Footer ── */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 40px;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* ── Motion ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hook,
  .intro,
  .app-section {
    animation: none !important;
  }
}
