/* ============================================================
   Satio — components (hub, cards, tabs, upsell chain, quotes, etc.)
   ============================================================ */

/* ---------- hub: search + filter chips ---------- */
.hub-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin: 2rem 0 2.5rem;
}
.hub-search {
  font-family: var(--f-mono);
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  min-width: 15rem;
  flex: 1 1 15rem;
}
.hub-search:focus { outline: 2px solid var(--orange); outline-offset: 1px; }

.chip {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text-muted);
  white-space: nowrap;
}
.chip[aria-pressed="true"] {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

/* ---------- persona grid ---------- */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 1.1rem;
}
.persona-card {
  position: relative;
  z-index: 2;
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  text-decoration: none;
  color: var(--dark);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.persona-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.persona-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  color: var(--white);
  font-family: var(--f-head);
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.persona-card__tag {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.3rem;
}
.persona-card__name {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.persona-card__teaser {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.persona-card[hidden] { display: none; }

/* ---------- day-in-life narrative ---------- */
.narrative {
  font-family: var(--f-mono);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 42rem;
}

/* ---------- moment principle (universal-need framing) ---------- */
.moment-principle {
  font-family: var(--f-mono);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 42rem;
  background: var(--card-light);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin: 1rem 0 1.6rem;
}
.moment-principle strong {
  font-family: var(--f-head);
  color: var(--dark);
}

/* ---------- moments (trigger cues) ---------- */
.moments {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}
.moment {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.9rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.moment__icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--card-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-weight: 700;
  color: var(--orange);
}
.moment__trigger {
  font-family: var(--f-head);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.moment__desc {
  font-family: var(--f-mono);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- lead product callout ---------- */
.lead-product {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  z-index: 2;
}
.lead-product__category {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
  display: block;
}
.lead-product__name {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.lead-product__why {
  font-family: var(--f-mono);
  font-size: 0.95rem;
  color: var(--text-muted-dark);
  max-width: 40rem;
}

/* ---------- upsell chain ---------- */
.upsell-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}
.upsell-step {
  flex: 1 1 13rem;
  min-width: 13rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow-sm);
}
.upsell-step summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.upsell-step summary::-webkit-details-marker { display: none; }
.upsell-step__num {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.upsell-step:nth-of-type(2) .upsell-step__num { background: var(--teal2); }
.upsell-step:nth-of-type(3) .upsell-step__num { background: var(--teal1); }
.upsell-step:nth-of-type(4) .upsell-step__num { background: var(--navy); }
.upsell-step__label {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.95rem;
}
.upsell-step__body {
  padding: 0 1.2rem 1.1rem 3.7rem;
  font-family: var(--f-mono);
  font-size: 0.88rem;
  color: var(--text-muted);
}
.upsell-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  align-self: center;
}
@media (max-width: 720px) {
  .upsell-chain { flex-direction: column; }
  .upsell-arrow { transform: rotate(90deg); align-self: center; }
}

/* ---------- pull-quote (technique opening) ---------- */
.pull-quote {
  position: relative;
  z-index: 2;
  max-width: 44rem;
}
.pull-quote__mark {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.18);
  line-height: 1;
  margin-bottom: -1.5rem;
}
.pull-quote__text {
  font-family: var(--f-head);
  font-style: italic;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--white);
}

/* ---------- copy-phrase block ---------- */
.phrase-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-top: 1.2rem;
}
.section--light .phrase-block,
.section--card .phrase-block {
  background: var(--white);
  border-color: var(--line);
}
.phrase-block__text {
  font-family: var(--f-mono);
  font-size: 0.92rem;
  line-height: 1.5;
}
.copy-btn {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: inherit;
  opacity: 0.75;
}
.copy-btn:hover { opacity: 1; }

/* ---------- objection accordion ---------- */
.objections { margin-top: 1.5rem; display: grid; gap: 0.7rem; }
.objection {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
}
.objection summary {
  list-style: none;
  cursor: pointer;
  padding: 0.9rem 1.1rem;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.objection summary::-webkit-details-marker { display: none; }
.objection summary::after { content: "+"; font-size: 1.1rem; }
.objection[open] summary::after { content: "\2212"; }
.objection__body {
  padding: 0 1.1rem 1rem;
  font-family: var(--f-mono);
  font-size: 0.9rem;
  color: var(--text-muted-dark);
}

/* ---------- product tabs (category emphasis) ---------- */
.tabs { position: relative; z-index: 2; margin-top: 1rem; }
.tablist {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.2rem;
}
.tab {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  padding: 0.6rem 1rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
}
.tab[aria-selected="true"] {
  color: var(--orange);
  border-bottom-color: var(--orange);
  font-weight: 700;
}
.tabpanel[hidden] { display: none; }
.tabpanel { font-family: var(--f-mono); font-size: 0.92rem; color: var(--text-muted); }
.tabpanel ul { padding-left: 1.1rem; margin: 0.5rem 0 0; }
.tabpanel li { margin-bottom: 0.35rem; }
.tier-badge {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-left: 0.5rem;
  background: var(--card-light);
  color: var(--text-muted);
}

/* ---------- section progress rail (sticky, page-level) ---------- */
.progress-rail {
  position: fixed;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.progress-rail__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
}
.progress-rail__dot[aria-current="true"] { background: var(--orange); transform: scale(1.3); }
@media (max-width: 900px) { .progress-rail { display: none; } }

/* ---------- applied technique cards + dialogue ---------- */
.technique-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
  position: relative;
  z-index: 2;
}
.technique-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}
.technique-card__name {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(255, 164, 93, 0.12);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.6rem;
}
.technique-card__short {
  font-family: var(--f-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.7rem;
  line-height: 1.35;
}
.dialogue {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.dialogue__line {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted-dark);
}
.dialogue__who { color: var(--white); font-weight: 700; }

/* ---------- 4-phase approach flow (glossary) ---------- */
.phase-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}
.phase-card {
  flex: 1 1 14rem;
  min-width: 14rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow-sm);
}
.phase-card__num {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--orange);
  margin-bottom: 0.4rem;
}
.phase-card__name { font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.4rem; }
.phase-card__plain { font-family: var(--f-body); font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.7rem; }
.phase-card__tip { font-family: var(--f-mono); font-size: 0.8rem; color: var(--teal2); line-height: 1.4; }
.phase-flow-arrow { display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 1.2rem; flex: 0 0 auto; }
@media (max-width: 720px) { .phase-flow { flex-direction: column; } .phase-flow-arrow { transform: rotate(90deg); } }

/* ---------- glossary: technique reference cards ---------- */
.ref-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}
.ref-card__name { font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.3rem; }
.ref-card__short { font-family: var(--f-body); font-style: italic; color: var(--text-muted); margin-bottom: 0.6rem; }
.ref-card__explain { font-family: var(--f-body); font-size: 0.92rem; line-height: 1.5; margin-bottom: 0.6rem; }
.ref-card__when { font-family: var(--f-mono); font-size: 0.8rem; color: var(--teal2); }
.ref-card__source {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
  margin-top: 0.6rem;
  padding-top: 0.6rem;
}

/* ---------- channel scripts ---------- */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.channel-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow-sm);
}
.channel-card__name { font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; margin-bottom: 0.2rem; }
.channel-card__context { font-family: var(--f-mono); font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.7rem; }
.channel-card__tip { font-family: var(--f-body); font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.8rem; line-height: 1.4; }
.channel-card__script {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  line-height: 1.55;
  background: var(--card-light);
  border-radius: 0.5rem;
  padding: 0.8rem 1rem;
  white-space: pre-line;
}

/* ---------- role clarity callout ---------- */
.role-callout {
  margin-top: 1.2rem;
  max-width: 42rem;
  background: rgba(255, 164, 93, 0.12);
  border: 1px solid rgba(255, 164, 93, 0.35);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-family: var(--f-body);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--white);
}
.section--light .role-callout,
.section--card .role-callout {
  color: var(--dark);
  background: var(--card-light);
  border-color: var(--line);
}
.role-callout strong { color: var(--amber); }
.section--light .role-callout strong,
.section--card .role-callout strong { color: var(--orange); }
