/* ==========================================================================
   STAY FREE ENTERPRISE — /book page
   Zero WebGL, CSS/SVG motion only (plan §5 /book: "STRICTEST FX BUDGET").
   Instant-paint header + trust/confirmation note that sits outside the
   compass-intake host (real DOM, visible on every screen of the flow, not
   just the result screen). Consumes tokens.css only.
   ========================================================================== */

.sf-book-hero {
  padding-block: var(--sf-space-7) var(--sf-space-4);
  text-align: center;
}
.sf-book-hero__inner { max-width: 40rem; margin-inline: auto; }
.sf-book-hero__sub {
  margin-inline: auto;
  font-size: var(--sf-text-md);
  color: var(--sf-text-secondary);
  margin-top: var(--sf-space-3);
}

/* trust/confirmation strip: always visible above the intake, never tucked
   into a footnote (Jerry: TSR enrollment-never-by-phone rule stays loud) */
.sf-book-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sf-space-2) var(--sf-space-5);
  max-width: 46rem;
  margin: 0 auto var(--sf-space-6);
  padding: var(--sf-space-3) var(--sf-space-4);
  border-radius: var(--sf-radius-md);
  background: var(--sf-sand);
  font-size: var(--sf-text-sm);
  color: var(--sf-text-primary);
  text-align: center;
}
.sf-book-trust__item { display: flex; align-items: center; gap: 6px; }
.sf-book-trust__item::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sf-teal);
  flex: 0 0 auto;
}

.sf-book-stage { padding-block: 0 var(--sf-space-9); }

/* Reserve the compass-intake's mounted height so a slow script load never
   leaves an empty box that then pops open and shoves the legal copy down.
   Scoped to the pre-mount state (intake.js stamps data-sf-intake-mounted the
   instant it builds the shell), so it only holds space during the load gap and
   never constrains the mounted card on any screen. ~562px = the desktop
   mounted height, measured live. */
[data-sf-compass-intake]:not([data-sf-intake-mounted]) { display: block; min-height: 562px; }

/* desk-frame wrap (Higgsfield shot #4, clean ivory desk + teal accents) —
   a decorative backdrop plate behind the intake card, never behind the
   inputs themselves. Zero WebGL: a plain img + CSS gradient scrim so
   contrast on the form stays fully legible. */
.sf-book-deskframe { position: relative; border-radius: var(--sf-radius-lg); overflow: hidden; margin-bottom: var(--sf-space-6); }
.sf-book-deskframe__img { width: 100%; height: 100%; object-fit: cover; display: block; max-height: 220px; }
.sf-book-deskframe::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 247, 242, 0.35) 0%, var(--sf-ivory) 92%);
}
@media (max-width: 640px) { .sf-book-deskframe { display: none; } }

/* small print, real DOM, always present */
.sf-book-legal {
  max-width: 46rem;
  margin: var(--sf-space-7) auto 0;
  padding-inline: var(--sf-space-4);
  font-size: var(--sf-text-xs);
  color: var(--sf-text-secondary);
  text-align: center;
  line-height: 1.6;
}
.sf-book-legal a { color: var(--sf-teal); text-decoration: underline; }
