/* ============================================================
   LiftBot — guide.css
   Prefix: gd-
   ============================================================ */

main:has(.lb) {
  max-width: none;
  width: 100%;
  padding: 0;
}

:root {
  --brand:      #4b3aff;
  --signal:     #1fce7a;
  --pop:        #ff4d8d;
  --ink:        #15161b;
  --paper-dim:  #f3f2ee;
  --paper-line: #e7e5de;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes lb-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

/* ============================================================
   HERO
   ============================================================ */
.gd-hero {
  position: relative;
  background: var(--paper-dim);
  color: var(--ink);
  overflow: hidden;
  padding: 120px 24px 80px;
  text-align: center;
}
.gd-hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.gd-hero__glow {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 540px;
  background: radial-gradient(ellipse at center, rgba(75,58,255,0.16) 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.gd-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.gd-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(75,58,255,0.08);
  border: 1px solid rgba(75,58,255,0.24);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 30px;
}
.gd-hero__badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  animation: lb-pulse 2s ease-in-out infinite;
}
.gd-hero__h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.16;
  color: var(--ink);
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}
.gd-hero__h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #7c3aed 0%, #2563eb 50%, #15b56a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gd-hero__sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(21,22,27,0.65);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================================
   DOCS LAYOUT
   ============================================================ */
.gd-docs {
  background: var(--paper-dim);
  padding: 80px 24px 100px;
}
.gd-docs__inner {
  max-width: 1080px;
  margin: 0 auto;
}

/* ── Content grid (2 columns of topic cards) ── */
.gd-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 720px) {
  .gd-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.gd-group {
  scroll-margin-top: 24px;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 14px;
  padding: 20px 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.gd-group:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: 0 12px 32px rgba(21,22,27,0.07);
}

.gd-group__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--brand);
  background: rgba(75,58,255,0.08);
  border-radius: 7px;
  margin-bottom: 10px;
}

.gd-group__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--paper-line);
}

.gd-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--paper-line);
}
.gd-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gd-item__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 3px;
}

.gd-item__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #52535a;
  line-height: 1.5;
  margin: 0;
}

.gd-simple-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.gd-simple-list li {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: #3a3b42;
  padding: 9px 0;
  border-bottom: 1px solid var(--paper-line);
}
.gd-simple-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.gd-simple-list li::before {
  content: '→';
  color: var(--brand);
  margin-right: 9px;
  font-weight: 600;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.gd-cta {
  background: var(--paper-dim);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gd-cta::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(75,58,255,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.gd-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}
.gd-cta__h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 700;
  color: var(--ink);
  margin: 20px 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.gd-cta__sub {
  font-family: 'Inter', sans-serif;
  font-size: 1.02rem;
  color: rgba(21,22,27,0.65);
  line-height: 1.65;
  margin: 0 0 40px;
}
.gd-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .gd-hero { padding: 100px 20px 64px; }
  .gd-docs { padding: 56px 20px 72px; }
  .gd-cta { padding: 72px 20px; }
}