/* =============================================================
 *  CenterFlow, Setup guide page ("gx-")
 *  Loaded ONLY by guide.html, AFTER styles.css + theme.css +
 *  landing.css. The lx- scaffolding (nav, buttons, sections,
 *  price-match panel, CTA, footer) comes from landing.css; this
 *  file adds only what the guide needs: a compact dark header,
 *  the numbered step timeline, method cards, and the FAQ.
 * ============================================================= */

/* ---- Compact dark header, same night palette as the landing hero ---- */
.gx-hero {
  position: relative;
  padding: clamp(150px, 20vh, 220px) clamp(18px, 4vw, 48px) clamp(80px, 11vh, 130px);
  background: radial-gradient(120% 90% at 50% -10%, var(--lx-night-2), var(--lx-night) 60%);
  color: var(--lx-hero-ink);
  overflow: hidden;
  isolation: isolate;
}
/* Kept shorter than the landing hero's fade: the card note under the buttons
   is the last line of the header, and a taller fade turns it pale-on-pale in
   light mode. */
.gx-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10vh; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none;
}
.gx-hero .lx-aurora { opacity: 0.7; }
.gx-hero-inner { width: min(880px, 100%); margin: 0 auto; }
.gx-hero .lx-h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }

/* =============================================================
 *  STEP TIMELINE, a rail of numbers down the left
 * ============================================================= */
.gx-steps {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.gx-step {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(28px, 4vw, 52px) 0;
  border-top: 1px solid var(--line);
}
.gx-step:first-child { border-top: none; padding-top: 0; }

/* The rail: a numbered coin with a line falling away beneath it */
.gx-step-rail { position: relative; display: flex; flex-direction: column; align-items: center; }
.gx-step-n {
  display: grid; place-items: center; flex: none;
  width: clamp(44px, 5vw, 56px); aspect-ratio: 1; border-radius: 50%;
  font-family: var(--font-mono); font-size: 0.9rem; font-weight: 700;
  color: var(--on-accent, #fff);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--accent) 70%, transparent);
}
.gx-step-rail::after {
  content: ""; flex: 1; width: 1px; margin-top: 14px;
  background: linear-gradient(var(--line-strong), transparent);
}
.gx-step:last-child .gx-step-rail::after { display: none; }

.gx-step-body { max-width: 760px; min-width: 0; }
.gx-step-time {
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin: 6px 0 10px;
}
.gx-step-body h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem); letter-spacing: -0.015em;
  color: var(--ink); margin: 0 0 14px;
}
.gx-step-body > p {
  font-family: var(--font-sans); font-size: 1.02rem; line-height: 1.6;
  color: var(--ink-soft); margin: 0 0 14px; max-width: 62ch;
}
.gx-step-body b { color: var(--ink); }

.gx-list {
  list-style: none; margin: 0 0 16px; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.gx-list li {
  position: relative; padding-left: 26px;
  font-family: var(--font-sans); font-size: 1rem; line-height: 1.55;
  color: var(--ink-soft); max-width: 62ch;
}
.gx-list li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em;
  width: 12px; height: 2px; border-radius: 2px; background: var(--accent);
}

.gx-callout {
  margin-top: 18px; padding: 16px 20px;
  border-radius: 14px; border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line));
  background: var(--accent-soft);
  font-family: var(--font-sans); font-size: 0.96rem; line-height: 1.55;
  color: var(--ink-soft); max-width: 62ch;
}

/* ---- The three method cards inside step 03 ---- */
.gx-methods {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.4vw, 18px); margin-top: 22px;
}
@media (max-width: 900px) { .gx-methods { grid-template-columns: 1fr; } }
.gx-method {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(18px, 2vw, 24px);
  border-radius: 18px; border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow);
  transition: transform 0.35s var(--lx-ease), box-shadow 0.35s ease, border-color 0.3s ease;
}
.gx-method:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}
.gx-method:first-child { background: linear-gradient(150deg, var(--accent-soft), var(--surface)); }
.gx-method-tag {
  font-family: var(--font-sans); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0;
}
.gx-method h4 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  letter-spacing: -0.01em; color: var(--ink); margin: 0;
}
.gx-method p { font-family: var(--font-sans); font-size: 0.93rem; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.gx-method-fine { font-size: 0.83rem !important; color: var(--taupe) !important; margin-top: auto !important; padding-top: 6px; }

/* Tighten the vertical rhythm between the pricing band and its neighbors */
.gx-pricing { padding-top: clamp(40px, 6vw, 80px); }
.gx-faq-section { padding-top: clamp(40px, 6vw, 80px); }

/* =============================================================
 *  FAQ, quiet accordion
 * ============================================================= */
.gx-faq { display: flex; flex-direction: column; max-width: 760px; }
.gx-faq details { border-top: 1px solid var(--line); }
.gx-faq details:last-child { border-bottom: 1px solid var(--line); }
.gx-faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  color: var(--ink); letter-spacing: -0.005em;
  transition: color 0.2s ease;
}
.gx-faq summary::-webkit-details-marker { display: none; }
.gx-faq summary::after {
  content: "+"; flex: none;
  font-family: var(--font-sans); font-weight: 400; font-size: 1.4rem; line-height: 1;
  color: var(--accent);
  transition: transform 0.25s var(--lx-ease);
}
.gx-faq details[open] summary { color: var(--accent); }
.gx-faq details[open] summary::after { transform: rotate(45deg); }
.gx-faq details p {
  margin: 0; padding: 0 4px 22px;
  font-family: var(--font-sans); font-size: 0.98rem; line-height: 1.6;
  color: var(--ink-soft); max-width: 62ch;
}
.gx-faq details a { color: var(--accent); font-weight: 600; }
