/* ==========================================================================
   FACEBMI — pages.css
   Shared editorial layout for typography-led content pages (About,
   How It Works, Support). Deliberately card-free and glassmorphism-free —
   contrasts with the Home scanner UI while still using the same design
   tokens (colors, fonts, spacing, glow) so it reads as one application.
   ========================================================================== */
  /* pages.css */
.page-shell {
  box-sizing: border-box;
  padding: calc(var(--header-height, 80px) + 56px) clamp(20px, 6vw, 96px) 110px;
  min-height: 100dvh;
}

.page-content {
  max-width: 760px;
  margin: 0 auto;
}

/* Small uppercase accent label above the hero title */
.page-eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: var(--tracking-wider);
  color: var(--color-accent-2);
  text-shadow: 0 0 14px rgba(87, 168, 255, 0.35);
}

/* Large editorial hero heading — the primary visual element on the page */
.page-hero-title {
  margin: 0 0 28px;
  max-width: 820px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.16;
  color: var(--color-text-primary);
}

.page-lead {
  margin: 0 0 64px;
  max-width: 700px;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.8;
  color: var(--color-text-secondary);
}

/* Body sections — separated by a hairline rule, not a card */
.page-section {
  margin-bottom: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(66, 153, 255, 0.14);
}

.page-section:first-of-type {
  padding-top: 0;
  border-top: none;
}

.page-section-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-primary);
}

.page-section p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text-secondary);
}

.page-section p + p {
  margin-top: 18px;
}

.page-section:last-of-type {
  margin-bottom: 0;
}

/* ---------------------------------------------------------------------- 
   Workflow diagram (How It Works) — vertical timeline of connected
   steps. Deliberately not a card: just markers, a connecting line/arrow,
   and a label, so it stays in the editorial spirit of this page family.
   ---------------------------------------------------------------------- */
.workflow-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 420px;
  margin: 8px auto 72px;
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.workflow-step-marker {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--color-accent);
  background: rgba(47, 143, 255, 0.08);
  box-shadow: var(--shadow-glow-sm);
  color: var(--color-accent-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.workflow-step-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-primary);
}

/* Connecting line + arrowhead between two steps */
.workflow-connector {
  width: 2px;
  height: 44px;
  margin: 6px 0;
  background: linear-gradient(to bottom, var(--color-accent) 0%, rgba(47, 143, 255, 0.12) 100%);
  position: relative;
}

.workflow-connector::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--color-accent-2);
  filter: drop-shadow(0 0 6px var(--color-accent-glow));
}

/* ---------------------------------------------------------------------- 
   Technology grid — simple placeholder icons, no cards
   ---------------------------------------------------------------------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 32px 20px;
  margin-top: 8px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.tech-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(47, 143, 255, 0.05);
  color: var(--color-accent-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.tech-item:hover .tech-icon {
  box-shadow: var(--shadow-glow-sm);
  transform: translateY(-3px);
}

.tech-name {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--color-text-secondary);
}

.tech-role {
  font-family: var(--font-body);
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}