/* build:1105e80 */
/* How It Works — pf-how-it-works.html
   Extends manifesto.css. No inline styles permitted.
   All color tokens from theme.css.
*/

/* ── Hero ────────────────────────────────────────────────────── */
.hiw-hero {
  background: var(--color-bg);
  text-align: center;
  padding: clamp(36px,6vh,72px) 40px clamp(28px,4vh,56px);
}

.hiw-wordmark {
  font-family: var(--font-mono, 'Arial', 'Helvetica', sans-serif);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: clamp(20px, 4vh, 40px);
}

/* "Guided" — ghosted back */
.hiw-h1 {
  font-family: var(--font-display, 'Arial Black', 'Arial', sans-serif);
  font-weight: 900;
  line-height: .92;
  margin: 0 auto clamp(16px,2.5vh,28px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hiw-h1-ghost {
  font-size: clamp(36px, 7vw, 72px);
  color: #00AAFF;
  opacity: .55;
  letter-spacing: -.02em;
  display: block;
}
.hiw-h1-bold {
  font-size: clamp(40px, 8vw, 80px);
  display: block;
  letter-spacing: -.02em;
}
.hiw-h1-bold em {
  color: #00CC44;
  font-style: italic;
}

.hiw-sub {
  font-family: var(--font-display, 'Arial', sans-serif);
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--color-text-dim);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 480px;
}

/* ── Card body text ──────────────────────────────────────────── */
.hiw-card-body {
  font-family: var(--font-display, 'Arial', sans-serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-text-dim);
  margin: 14px 0 0;
}

/* ── Step 06 — gold accent (the Future Arc meeting) ──────────── */
.hiw-card-gold {
  border-color: var(--color-accent-a, var(--color-accent-a));
}
.hiw-card-gold .num {
  color: var(--color-text); /* S449 Phase B: color-accent-a fails AAA on deep-sea/grove/parchment card bg */
}
.hiw-txt-gold {
  color: var(--color-text);
}
.hiw-txt-gold em {
  color: var(--color-accent-a, var(--color-accent-a));
  font-style: italic;
}

/* ── Feature card links (pf-feature-* deep dive) ────────────── */
.hiw-feat-name-link {
  color: var(--color-text);
  text-decoration: none;
}
.hiw-feat-name-link:hover {
  color: var(--color-accent-c);
}
.hiw-feat-learn-more {
  color: var(--color-accent-c);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.hiw-feat-learn-more:hover {
  text-decoration: underline;
}
.hiw-card-body--link {
  margin-top: 12px;
}

/* ── Responsive — single column on mobile ────────────────────── */
@media (max-width: 700px) {
  .hiw-h1-ghost { font-size: clamp(28px, 10vw, 48px); }
  .hiw-h1-bold  { font-size: clamp(32px, 11vw, 52px); }
}

/* ── Confluence page shared classes ─────────────────────────── */
.cf-bolt-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 0 1rem;
}
.cf-bolt-svg { width: 160px; height: 160px; }
.cf-bold { color: var(--color-text); font-weight: 700; }
.m-pull-sm {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-text-dim);
  border-left: 3px solid var(--color-accent-c);
  padding-left: 1.2rem;
  margin: 1.8rem 0;
  line-height: 1.65;
}

/* ── Full feature catalogue (S514) ───────────────────────── */
.hiw-features {
  max-width: 760px;
  margin: 0 auto 24px;
  padding: 0 clamp(16px, 4vw, 40px);
}
.hiw-features-lead {
  font-size: 1rem;
  color: var(--color-text-mid);
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ── Featured "main attractions" section ────────────── */
.hiw-feat-star-label {
  font-size: 13px; text-transform: uppercase; letter-spacing: .12em;
  font-weight: 700; color: var(--color-accent-c);
  margin-bottom: 20px; padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent-c);
}
.hiw-feat-star-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}
.hiw-feat-star {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent-c);
  border-radius: 10px; padding: 20px 20px 20px 18px;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.hiw-feat-star:hover {
  border-color: var(--color-accent-c);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--color-accent-c) 12%, transparent);
}
.hiw-feat-star-icon { font-size: 28px; line-height: 1; }
.hiw-feat-star-name {
  font-weight: 700; font-size: 18px; color: var(--color-text);
}
.hiw-feat-star:hover .hiw-feat-star-name { color: var(--color-accent-c); }
.hiw-feat-star-desc {
  font-size: 15px; color: var(--color-text-dim); line-height: 1.6; font-weight: 400;
}

.hiw-feat-group-note {
  font-size: 12px; font-weight: 500;
  color: var(--color-text-dim); letter-spacing: 0;
  text-transform: none;
}
.hiw-feat-group { margin-bottom: 36px; }

.hiw-feat-group-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .10em;
  font-weight: 700;
  color: var(--color-accent-c);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}
.hiw-feat-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 860px) {
  .hiw-feat-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .hiw-feat-list { grid-template-columns: 1fr; }
}
.hiw-feat-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
}
.hiw-feat-name {
  font-weight: 700;
  font-size: 17px;
  color: var(--color-text);
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}
.hiw-feat-desc {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-dim);
  line-height: 1.65;
  flex: 1;
}

/* ── Demo / Upcoming badges ───────────────────────── */
.hiw-feat-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 1px;
}
.hiw-feat-badge--demo {
  background: color-mix(in srgb, var(--color-accent-g) 12%, transparent);
  color: var(--color-accent-g);
  border: 1px solid color-mix(in srgb, var(--color-accent-g) 30%, transparent);
}
.hiw-feat-badge--soon {
  background: color-mix(in srgb, var(--color-text-dim) 8%, transparent);
  color: var(--color-text-dim);
  border: 1px solid var(--color-border);
}

/* cache-bust: 20260724-S533 — senior readability bump */

/* ── Featured 2-column pair (Memory Bank + Future Arcs) ─── */
.hiw-feat-star-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}
@media (max-width: 560px) {
  .hiw-feat-star-pair { grid-template-columns: 1fr; }
}
.hiw-feat-star--featured {
  border-left-width: 4px;
  border-color: var(--color-accent-c);
  background: color-mix(in srgb, var(--color-accent-c) 5%, var(--color-surface));
  padding: 22px 20px 18px 18px;
  gap: 10px;
}
.hiw-feat-star--featured .hiw-feat-star-name { font-size: 20px; }
.hiw-feat-star--featured .hiw-feat-star-desc { font-size: 15px; line-height: 1.6; }
.hiw-feat-star-cta {
  font-size: 13px; font-weight: 700; color: var(--color-accent-c);
  margin-top: 6px; letter-spacing: .02em;
}

/* ── Featured hero card (Simplified View) ─────────────────── */
.hiw-feat-star--hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-left-width: 6px;
  border-color: var(--color-accent-c);
  background: color-mix(in srgb, var(--color-accent-c) 5%, var(--color-surface));
  padding: 24px 24px 24px 22px;
  margin-bottom: 24px;
}
@media (max-width: 600px) {
  .hiw-feat-star--hero { grid-template-columns: 1fr; }
}
.hiw-feat-star--hero:hover {
  box-shadow: 0 6px 28px color-mix(in srgb, var(--color-accent-c) 18%, transparent);
}
.hiw-feat-star--hero .hiw-feat-star-name { font-size: 22px; }
.hiw-feat-star--hero .hiw-feat-star-desc { font-size: 15px; line-height: 1.65; }
.hiw-feat-star-hero-badge {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--color-accent-c);
  border: 1px solid var(--color-accent-c);
  border-radius: 20px; padding: 3px 12px;
  margin-bottom: 12px;
}
.hiw-feat-star-hero-left { display: flex; flex-direction: column; gap: 6px; }
.hiw-feat-star-hero-right {
  display: flex; flex-direction: column; gap: 10px;
  justify-content: center;
}
.hiw-feat-star-hero-point {
  font-size: 14px; font-weight: 600; color: var(--color-text);
  padding: 8px 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}
.hiw-feat-star-hero-cta {
  font-size: 14px; font-weight: 700; color: var(--color-accent-c);
  margin-top: 4px; letter-spacing: .02em;
}

/* cache-bust: 20260725-S535-feature-pages */

/* ── Demo explainer (S539) — why every demo shows the same people ── */
.hiw-demo-nets {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px; margin: 20px 0 18px;
}
.hiw-demo-net {
  border: 1px solid var(--color-border); border-radius: 12px;
  background: var(--color-surface); padding: 16px 17px;
}
.hiw-demo-net-name { font-size: 16px; font-weight: 700; color: var(--color-text); }
.hiw-demo-net-meta {
  font-size: 11px; letter-spacing: 0.04em; color: var(--color-text-dim);
  margin: 5px 0 9px;
}
.hiw-demo-net p { font-size: 13px; line-height: 1.65; color: var(--color-text-dim); margin: 0; }
.hiw-demo-disclaimer {
  font-size: 13px; line-height: 1.7; color: var(--color-text);
  border-left: 2px solid var(--color-accent-c); padding-left: 14px; margin: 0;
}
.hiw-demo-depth {
  font-size: 13px; line-height: 1.7; color: var(--color-text-dim);
  font-style: italic; margin: 0 0 14px;
}
