/* ============================================================
   Life Base — primitive atoms (interim, pre-K3 — bolder pass)
   Bigger, warmer, more alive: large serif voices, soft bubble
   panels, staggered module entrances, counts and fills that
   settle like ink. Every color rides a variable for theming.
   K3's builds replace these looks; the contract stays.
   ============================================================ */

:root {
  --pv-ground: #fff;
  --pv-ink: #262626;
  --pv-body: #33322f;
  --pv-soft: #7a7876;
  --pv-faint: #a5a3a1;
  --pv-hair: #efedeb;
  --pv-tint: #faf9f8;
  --pv-accent: #7719aa;
  --pv-accent-2: #8a3fb8;
  --pv-accent-tint: #f5ecfa;
  --pv-serif: Charter, "Bitstream Charter", Cambria, Georgia, serif;
  --pv-sans: -apple-system, "Segoe UI", sans-serif;
}

.pv-view { max-width: 780px; }

/* module entrance — each piece lands whole, then the next */
.pv-in { animation: pv-in .5s cubic-bezier(.2,.7,.3,1) both; }
@keyframes pv-in {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .pv-in { animation: none; } }

.pv-view-title {
  font-family: var(--pv-serif);
  font-size: 32px; font-weight: 700; color: var(--pv-ink);
  letter-spacing: -.2px; margin: 4px 0 22px; line-height: 1.2;
}

/* section-header */
.pv-header { margin: 30px 0 14px; }
.pv-header:first-child { margin-top: 4px; }
.pv-header-t {
  font-family: var(--pv-serif); font-size: 22px; font-weight: 700; color: var(--pv-body);
  padding-bottom: 8px; border-bottom: 1px solid var(--pv-hair); letter-spacing: -.1px;
}
.pv-header-s { font-size: 13px; color: var(--pv-faint); margin-top: 6px; font-family: var(--pv-sans); }

/* text */
.pv-text { font-family: var(--pv-serif); font-size: 16px; line-height: 1.7; color: var(--pv-body); margin: 12px 0; max-width: 66ch; }
.pv-text p { margin: 0 0 12px; } .pv-text p:last-child { margin-bottom: 0; }

/* lists */
.pv-list { font-family: var(--pv-serif); font-size: 16px; line-height: 1.65; color: var(--pv-body); margin: 10px 0 16px; padding-left: 26px; }
.pv-list li { margin: 7px 0; padding-left: 2px; }
.pv-list li::marker { color: var(--pv-accent-2); }
.pv-list-num li::marker { color: var(--pv-soft); font-size: 14px; }

/* checklist — bubble rows */
.pv-checklist { margin: 12px 0 16px; }
.pv-check {
  display: flex; align-items: baseline; gap: 12px; padding: 9px 14px; margin: 6px 0;
  background: var(--pv-tint); border-radius: 12px;
}
.pv-check-box {
  width: 18px; height: 18px; flex: none; border: 1.6px solid #c8c6c4; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; top: 3px; color: #fff; transition: background .2s, border-color .2s;
}
.pv-check.done .pv-check-box { background: var(--pv-accent-2); border-color: var(--pv-accent-2); }
.pv-check-t { font-family: var(--pv-serif); font-size: 16px; color: var(--pv-body); }
.pv-check.done .pv-check-t { color: var(--pv-faint); }

/* quote — a signature moment */
.pv-quote {
  margin: 20px 0; padding: 22px 26px 18px; background: var(--pv-tint);
  border-radius: 16px; position: relative;
}
.pv-quote::before {
  content: "\201C"; position: absolute; top: 2px; left: 14px;
  font-family: var(--pv-serif); font-size: 54px; color: #ddd0e8; line-height: 1;
}
.pv-quote blockquote {
  margin: 0 0 0 26px; font-family: var(--pv-serif); font-style: italic;
  font-size: 19px; line-height: 1.55; color: var(--pv-body);
}
.pv-quote figcaption { margin: 8px 0 0 26px; font-size: 13px; color: var(--pv-faint); font-family: var(--pv-sans); }

/* callout — soft bubble */
.pv-callout {
  margin: 16px 0; padding: 16px 20px; border-radius: 14px;
  font-family: var(--pv-serif); font-size: 15.5px; line-height: 1.6;
}
.pv-callout p { margin: 0; }
.pv-callout.note    { background: #f7f6f5; color: #4a4948; }
.pv-callout.insight { background: var(--pv-accent-tint); color: #4d2766; }
.pv-callout.warning { background: #fdf4e7; color: #6e4a12; }

/* table */
.pv-table-wrap { margin: 14px 0 18px; overflow-x: auto; border: 1px solid var(--pv-hair); border-radius: 12px; }
.pv-table { border-collapse: collapse; width: 100%; font-family: var(--pv-sans); }
.pv-table th {
  text-align: left; font-weight: 600; color: var(--pv-soft); font-size: 12px; letter-spacing: .4px;
  text-transform: uppercase; padding: 10px 16px; border-bottom: 1.5px solid #e3e1de; background: var(--pv-tint);
}
.pv-table td { padding: 11px 16px; border-bottom: 1px solid #f4f2f0; color: var(--pv-body); font-family: var(--pv-serif); font-size: 15px; line-height: 1.5; }
.pv-table tr:last-child td { border-bottom: none; }

/* stats — hero numbers that count up */
.pv-stat { padding: 4px 0; }
.pv-stat-v { font-family: var(--pv-serif); font-size: 40px; font-weight: 700; color: var(--pv-ink); line-height: 1.05; letter-spacing: -.5px; }
.pv-stat-l { font-size: 12.5px; color: var(--pv-soft); margin-top: 4px; font-family: var(--pv-sans); letter-spacing: .2px; }
.pv-stat-s { font-size: 11.5px; color: var(--pv-faint); margin-top: 2px; font-family: var(--pv-sans); }
.pv-stat-row {
  display: flex; gap: 18px; flex-wrap: wrap; margin: 16px 0;
}
.pv-stat-row .pv-stat {
  flex: 1; min-width: 130px; background: var(--pv-tint); border-radius: 14px; padding: 16px 18px;
}

/* chips */
.pv-chips { margin: 12px 0; display: flex; flex-wrap: wrap; gap: 7px; }
.pv-chip {
  font-size: 13px; color: #5d2a80; background: var(--pv-accent-tint); border-radius: 999px;
  padding: 5px 13px; font-family: var(--pv-sans);
}

/* progress */
.pv-progress { margin: 16px 0; max-width: 520px; }
.pv-progress-head { display: flex; justify-content: space-between; font-size: 13.5px; color: #4a4948; margin-bottom: 8px; font-family: var(--pv-sans); }
.pv-progress-pct { color: var(--pv-soft); font-weight: 600; }
.pv-progress-bar { height: 10px; background: #f1efed; border-radius: 5px; overflow: hidden; }
.pv-progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--pv-accent-2), var(--pv-accent));
  border-radius: 5px; animation: pv-fill .8s cubic-bezier(.2,.7,.3,1) both;
  transform-origin: left;
}
@keyframes pv-fill { from { transform: scaleX(0); } to { transform: none; } }

/* tracker-grid — cells pop in */
.pv-tracker { margin: 16px 0; padding: 16px 18px; background: var(--pv-tint); border-radius: 14px; display: inline-block; min-width: 60%; }
.pv-tracker-row { display: flex; align-items: center; gap: 14px; padding: 4.5px 0; }
.pv-tracker-label {
  width: 140px; flex: none; font-size: 13.5px; color: #4a4948; text-align: right;
  font-family: var(--pv-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pv-tracker-cells { display: flex; gap: 6px; }
.pv-cell { width: 18px; height: 18px; border-radius: 6px; background: #ece9e6; animation: pv-cell .35s ease-out both; }
.pv-cell.on { background: var(--pv-accent-2); }
.pv-tracker-cells .pv-cell:nth-child(1) { animation-delay: .05s } .pv-tracker-cells .pv-cell:nth-child(2) { animation-delay: .1s }
.pv-tracker-cells .pv-cell:nth-child(3) { animation-delay: .15s } .pv-tracker-cells .pv-cell:nth-child(4) { animation-delay: .2s }
.pv-tracker-cells .pv-cell:nth-child(5) { animation-delay: .25s } .pv-tracker-cells .pv-cell:nth-child(6) { animation-delay: .3s }
.pv-tracker-cells .pv-cell:nth-child(7) { animation-delay: .35s } .pv-tracker-cells .pv-cell:nth-child(n+8) { animation-delay: .4s }
@keyframes pv-cell { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.pv-tracker-legend .pv-tracker-lg { width: 18px; font-size: 9.5px; color: var(--pv-faint); text-align: center; font-family: var(--pv-sans); }

/* timeline */
.pv-timeline { margin: 16px 0 18px; }
.pv-tl-row { display: flex; gap: 16px; position: relative; padding-bottom: 20px; }
.pv-tl-row:not(:last-child)::before { content: ""; position: absolute; left: 5.5px; top: 16px; bottom: -2px; width: 1.5px; background: #e8e2ef; }
.pv-tl-dot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: #fff; border: 2.5px solid var(--pv-accent-2); margin-top: 5px; }
.pv-tl-label { font-family: var(--pv-serif); font-size: 16.5px; font-weight: 700; color: var(--pv-body); }
.pv-tl-detail { font-size: 14px; color: var(--pv-soft); margin-top: 3px; line-height: 1.55; font-family: var(--pv-sans); }

/* columns */
.pv-columns { display: flex; gap: 20px; margin: 12px 0; align-items: stretch; }
.pv-col { flex: 1; min-width: 0; background: var(--pv-tint); border-radius: 14px; padding: 16px 18px; }
.pv-col > :first-child { margin-top: 0; }
@media (max-width: 560px) { .pv-columns { flex-direction: column; } }

/* divider */
.pv-divider { height: 1px; background: var(--pv-hair); margin: 28px 0; }

/* unknown */
.pv-unknown { font-size: 12px; color: #c2c0bd; margin: 8px 0; font-family: var(--pv-sans); }
