/* Journey page (mirror). Tokens match the main-nav spec. Brand orange on primary actions and Things to add. */
:root {
  --navy: #0F1B2D;
  --card: #16263D;
  --light: #F5F7FA;
  --teal: #14B8A6;
  --teal-text: #5EEAD4;
  --teal-link: #0F766E;
  --slate: #94A3B8;
  --body: #F1F5F9;
  --orange: #F7931A;
  --orange-ink: #0F1B2D;
  --amber: #FBBF24;
  --gap: 8px;
  --radius: 12px;
  --tap: 48px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body {
  margin: 0;
  min-height: 100vh;
  background: var(--navy);
  color: var(--body);
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

body.journey-page {
  display: flex;
  flex-direction: column;
}

a { color: var(--teal-text); }
a:hover { color: #99f6e4; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.stage-stack { text-align: center; max-width: 420px; }
.stage .logo { width: 160px; height: auto; }

.app {
  flex: 1;
  padding-bottom: 80px;
}

.top {
  min-height: 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 12px 20px;
  border-bottom: 1px solid #24344d;
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 8;
}

.logo-link { display: flex; align-items: center; }
.logo { display: block; width: 112px; height: auto; }

.brand-slogan {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.slogan-know { color: var(--body); }
.slogan-bank { color: var(--orange); }

.nav {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.nav a {
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--body);
  border: 1px solid #2a3d58;
  font-weight: 600;
}
.nav a[aria-current="page"],
.nav a:hover {
  border-color: var(--teal);
  color: var(--teal-text);
}

.plan-chip {
  margin: 0;
  color: var(--slate);
  font-size: 14px;
}

.column {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
}

h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.disclaimer, .talk-note, .dated-label, .freshness-summary, .line-caption, .ledger-note, .clarity-kicker, .sheet-note {
  color: var(--slate);
  font-size: 14px;
}

.partner-actions, .chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  margin-top: 12px;
}

.chip, .btn-teal-outline, .btn-teal-text, .btn-orange, .btn {
  min-height: var(--tap);
  min-width: var(--tap);
  padding: 0 16px;
  border-radius: 10px;
  font: 600 16px/1 Montserrat, Helvetica, Arial, sans-serif;
  cursor: pointer;
}

.chip, .btn-teal-outline {
  background: transparent;
  color: var(--teal-text);
  border: 1px solid var(--teal);
}

.chip.is-on {
  background: rgba(20, 184, 166, 0.18);
}

.btn-teal-text {
  background: transparent;
  color: var(--teal-text);
  border: 0;
  width: 100%;
}

.btn-orange, .btn {
  background: var(--orange);
  color: var(--orange-ink);
  border: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.next-gap .btn-orange {
  width: 100%;
  margin-top: 12px;
}

.net-figure {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
}

.hero-grid { display: grid; gap: 16px; }
.stage-ends {
  display: flex;
  justify-content: space-between;
  color: var(--slate);
  font-size: 13px;
  margin-bottom: 6px;
}
.stage-bar {
  height: 16px;
  border-radius: 999px;
  background: #0b1524;
  position: relative;
  outline: none;
}
.stage-fill, .stage-prev {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--teal);
  transition: width 800ms ease;
}
.stage-prev {
  background: rgba(94, 234, 212, 0.35);
}
.overall-track {
  margin-top: 8px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #24344d 0 12.5%, #1c2c44 12.5% 25%, #24344d 25% 37.5%, #1c2c44 37.5% 50%, #24344d 50% 62.5%, #1c2c44 62.5% 75%, #24344d 75% 87.5%, #1c2c44 87.5% 100%);
  position: relative;
}
.overall-track .you {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--teal);
}
.overall-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: var(--slate);
  font-size: 11px;
}

.position-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin-top: 16px;
}
.position-tiles a, .position-tiles span {
  background: #0b1524;
  border-radius: 10px;
  padding: 12px;
  min-height: var(--tap);
  color: var(--body);
  text-decoration: none;
  display: block;
}
.position-tiles b { display: block; font-size: 18px; }
.position-tiles .meta { color: var(--slate); font-size: 13px; }

.fresh-live { color: var(--teal-text); }
.fresh-stale { color: var(--slate); }
.fresh-stale .amber { color: var(--amber); }

.growth-svg { width: 100%; height: 240px; display: block; }
.legend { display: flex; gap: 8px; overflow-x: auto; margin-top: 8px; }
.legend button { white-space: nowrap; }

.second-row {
  display: grid;
  gap: 16px;
}

.avatar-art {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  margin: 0 auto 12px;
}

.power-label { font-weight: 700; }
.clarity-bar {
  height: 10px;
  background: #0b1524;
  border-radius: 999px;
  overflow: hidden;
}
.clarity-fill {
  height: 100%;
  background: var(--teal);
  width: 0;
}

.line-canvas {
  min-height: 220px;
  position: relative;
}

.ledger-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin: 12px 0;
}
.ledger-tiles div {
  background: #0b1524;
  border-radius: 10px;
  padding: 12px;
}
.ledger-tiles .num { font-size: 22px; font-weight: 700; }
.est-tag {
  display: inline-block;
  margin-left: 6px;
  color: var(--slate);
  font-size: 12px;
  font-weight: 600;
}

.ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.ledger-table th, .ledger-table td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid #24344d;
}
.status-found { color: var(--slate); }
.status-acted { color: var(--teal-text); }
.status-skip { color: var(--slate); }

.power-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.power-tile {
  min-height: var(--tap);
  background: #0b1524;
  border: 0;
  border-radius: 10px;
  color: var(--body);
  text-align: left;
  padding: 12px;
  font: 600 15px/1.3 Montserrat, Helvetica, Arial, sans-serif;
  cursor: pointer;
}
.power-tile .meta { color: var(--slate); font-weight: 400; display: block; }

.timeline-list { padding-left: 18px; }
.timeline-list li { margin: 8px 0; }

.phone-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  display: flex;
  background: #0b1524;
  border-top: 1px solid #24344d;
  z-index: 20;
}
.phone-bar a, .phone-bar button {
  flex: 1;
  min-height: 48px;
  background: transparent;
  border: 0;
  color: var(--body);
  font: 700 14px/1 Montserrat, Helvetica, Arial, sans-serif;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-bar a[aria-current="page"],
.phone-bar .has-new {
  color: var(--teal-text);
}
.phone-bar #barList {
  background: #F7931A;
  color: #000000;
  margin: 8px 6px;
  border-radius: 10px;
  padding: 0 6px;
  line-height: 1.15;
  text-align: center;
}
.phone-bar #barList:hover {
  background: #ffb14a;
  color: #000000;
}
.phone-bar .has-new::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.sticky-add {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 72px;
  z-index: 15;
}

.partner-fab {
  position: fixed;
  right: 16px;
  bottom: 88px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  border: 0;
  font-weight: 700;
  z-index: 16;
}

.sheet {
  position: fixed;
  inset: auto 0 0 0;
  max-height: 80vh;
  background: var(--card);
  border-radius: 16px 16px 0 0;
  z-index: 30;
  padding: 16px;
  overflow: auto;
}
.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.sheet-close {
  min-height: var(--tap);
  min-width: var(--tap);
  background: transparent;
  color: var(--body);
  border: 1px solid #2a3d58;
  border-radius: 10px;
}

.page-foot {
  padding: 24px 16px 96px;
  color: var(--slate);
  font-size: 14px;
  text-align: center;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--tap);
  margin-top: 8px;
}

.sr-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .phone-bar { display: none; }
  .app { padding-bottom: 24px; }
  .page-foot { padding-bottom: 24px; }
  .net-figure { font-size: 48px; }
  .hero-grid {
    grid-template-columns: 40% 60%;
    align-items: center;
  }
  .stage-bar { height: 20px; }
  .chart-wrap .growth-svg { height: 320px; }
  .second-row {
    grid-template-columns: 40% 60%;
  }
  .avatar-art { max-width: 360px; }
  .position-tiles { grid-template-columns: repeat(6, 1fr); }
  .ledger-tiles { grid-template-columns: repeat(4, 1fr); }
  .power-grid { grid-template-columns: repeat(5, 1fr); }
  .sticky-add { display: none; }
  .desktop-nav { display: flex; }
  .what-moved-desktop { display: none; }
  #whatMovedBtn { display: none; }
  .hero-bars { cursor: pointer; }
}

@media (max-width: 1023px) {
  .top { min-height: 64px; justify-content: center; flex-wrap: wrap; }
  .top > .site-lockup {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1 0 100%;
    text-align: center;
  }
  .top .logo { width: 88px; margin: 0 auto; }
  .brand-slogan { width: 100%; text-align: center; }
  .desktop-nav { display: none; }
  .plan-chip { position: static; margin-left: auto; }
  .column { padding: 12px; }
  .net-figure { text-align: center; }
  .hero-number { text-align: center; }
  .growth-svg { height: 240px; }
  .line-canvas { min-height: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  .stage-fill, .clarity-fill { transition: none; }
}

.talk { display: flex; gap: 8px; margin: 8px 0 0; }
.talk input {
  flex: 1;
  min-height: var(--tap);
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #0F1B2D;
  color: #F1F5F9;
  padding: 8px 12px;
  font: inherit;
}
.talk .send {
  min-height: var(--tap);
  min-width: var(--tap);
  border: 0;
  border-radius: 10px;
  background: var(--teal);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}
.voice-wrap { margin: 0 0 10px; width: 100%; }
.voice-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; min-height: 64px; padding: 14px 18px;
  background: var(--teal); color: var(--navy); border: 0; border-radius: 14px;
  font-size: 20px; font-weight: 800; cursor: pointer;
}
.voice-hint, .voice-status { margin: 8px 2px 0; font-size: 16px; color: var(--slate); }
.voice-status:empty { display: none; }
.voice-wrap.listening .voice-btn { background: #d93a2b; color: #fff; }
@media (prefers-reduced-motion: reduce) { .voice-wrap.listening .voice-btn { animation: none; } }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.avatar-art.avatar-starter-anim svg {
  animation: avatar-starter 1.2s ease-out;
}
.clarity-fill.first-upload-anim {
  animation: first-upload 1s ease-out;
}
@keyframes avatar-starter {
  from { opacity: 0; transform: scale(0.86); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes first-upload {
  from { width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .avatar-art.avatar-starter-anim svg,
  .clarity-fill.first-upload-anim {
    animation: none;
  }
}

.worth .worth-total { margin: 0 0 14px; font-size: 22px; font-weight: 700; }
.worth-list { margin: 0 0 8px; padding-left: 18px; }
.worth-connect-actions .btn { min-height: 48px; }
