.journey-intro { padding-bottom: 16px; }
.journey-intro h1 { font-size: clamp(32px, 3vw, 44px); margin-top: 0; }
.journey-intro .intro-copy { margin-bottom: 0; max-width: 620px; }
.journey-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.journey-tabs button { flex: 1; min-width: 0; min-height: 48px; border: 0; border-bottom: 3px solid transparent; background: none; padding: 10px 8px; color: var(--muted); font-size: 15px; }
.journey-tabs button[aria-current] { border-bottom-color: var(--olive); color: var(--ink); font-weight: 600; }
.journey-tabs button:hover { background: var(--pale); }

.profile-panel { max-width: 680px; }
.profile-note, .profile-footnote { color: var(--muted); font-size: 14px; line-height: 1.65; }
.profile-note { margin-bottom: 25px; }
.profile-footnote { margin: 16px 0 0; }
.profile-optional { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 8px 0 24px; }
.profile-optional summary { padding: 15px 0; min-height: 48px; font-size: 15px; cursor: pointer; }
.profile-optional[open] summary { margin-bottom: 8px; }
.character-card { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.character-avatar { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font: 20px var(--serif); }
.character-copy { min-width: 0; }
.character-copy h2 { margin: 1px 0 6px; font: 600 16px/1.4 var(--sans); overflow-wrap: anywhere; }
.character-copy p { margin: 0; font-size: 15px; line-height: 1.6; }
.character-copy strong { font-weight: 500; }
.character-card .small-link { min-height: 44px; margin-top: -5px; font-size: 14px; }
.character-resources { margin-top: 5px; color: var(--muted); }
.character-resources summary { min-height: 44px; padding: 9px 0; font-size: 14px; cursor: pointer; }
.character-resources p { margin: 0 0 12px; color: var(--ink); }
.preserve-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-callout { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.profile-callout p { margin: 0; font-size: 15px; color: var(--muted); }
.profile-callout .small-link { flex: none; min-height: 44px; font-size: 14px; }

.tree-heading { margin-top: 26px; margin-bottom: 10px; flex-wrap: wrap; }
.tree-count { font-size: 14px; color: var(--muted); }
.tree-help { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.branch-picker { display: none; }
.skill-tree { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.skill-branch { min-width: 0; }
.branch-head { min-height: 126px; padding: 0 2px; }
.branch-head h3 { font-size: 25px; margin-bottom: 10px; }
.branch-head p { font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: 18px; }
.branch-nodes { list-style: none; padding: 0; margin: 0; position: relative; }
.branch-nodes::before { content: ''; position: absolute; left: 50%; top: 24px; bottom: 40px; border-left: 1px solid #a7ae9c; }
.branch-nodes li { position: relative; margin-top: 20px; }
.branch-nodes li:first-child { margin-top: 0; }
.skill-node { width: 100%; padding: 17px 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); display: flex; flex-direction: column; align-items: center; min-height: 155px; }
.skill-node:hover { border-color: var(--olive); background: var(--card); }
.skill-node.has-progress { border-color: var(--olive); }
.node-stone { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #a7ae9c; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 14px; margin-bottom: 10px; }
.has-progress .node-stone { border-color: var(--olive); background: var(--olive); color: var(--card); }
.node-title { font: 500 16px/1.45 var(--sans); margin-bottom: 8px; overflow-wrap: anywhere; }
.node-status { font-size: 14px; color: var(--muted); margin-top: auto; }
.tree-footnote { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }

.solution-top { display: flex; gap: 28px; align-items: center; margin-bottom: 4px; }
.solution-top .field { flex: 0 0 280px; margin-bottom: 18px; }
.solution-top p { max-width: 500px; margin-bottom: 18px; }
.solutions-grid { display: grid; grid-template-columns: 1fr; }
.solution-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; border-top: 1px solid var(--line); padding: 25px 0; min-width: 0; }
.solution-copy { min-width: 0; }
.solution-meta { display: flex; flex-wrap: wrap; gap: 5px 16px; font-size: 14px; color: var(--muted); }
.solution-card h3 { margin: 8px 0 10px; font-size: 25px; }
.solution-card p { margin-bottom: 0; font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 660px; }
.solution-card .button-row { flex-direction: column; align-items: stretch; gap: 4px; }
.solution-card .button { white-space: nowrap; }
.human-support { display: flex; gap: 28px; align-items: center; margin-top: 10px; padding: 24px 0; border-top: 1px solid var(--ink); }
.human-support > div { flex: 1; }
.human-support h3 { margin-bottom: 10px; font-size: 25px; }
.human-support p { margin: 0; font-size: 15px; color: var(--muted); }
.human-support .button { flex: none; }

.plan-rhythm { margin: 0 0 24px; border-bottom: 1px solid var(--line); }
.plan-rhythm summary { min-height: 48px; padding: 12px 0; font-size: 15px; cursor: pointer; }
.plan-rhythm p, .plan-rhythm li { font-size: 15px; line-height: 1.65; color: var(--muted); }
.plan-rhythm p { margin: 12px 0; }
.plan-rhythm ol { padding-left: 22px; }
.plan-rhythm li { padding: 4px 0 4px 6px; }
.plan-counts { flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.plan-list { gap: 0; }
.plan-record { padding: 24px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.plan-record .record-top { align-items: start; gap: 14px; }
.plan-record .record-top .small-link { max-width: 60%; text-align: right; line-height: 1.5; padding: 0; min-height: 44px; align-items: start; font-size: 14px; overflow-wrap: anywhere; }
.plan-record .tag { font-size: 14px; padding: 4px 0; background: none; border-radius: 0; color: var(--muted); }
.plan-record h3 { font-size: 25px; }
.plan-record p { font-size: 15px; }
.plan-record .review-result { padding: 3px 0 3px 16px; border-left: 2px solid var(--line); background: none; border-radius: 0; }
.plan-record .review-result .mini-title { font-size: 14px; text-transform: none; letter-spacing: 0; }
.plan-empty { padding: 25px 0; border-top: 1px solid var(--line); }
.plan-empty h3 { font-size: 23px; margin-bottom: 8px; }
.plan-empty p { font-size: 15px; color: var(--muted); }
.exercise-steps { list-style: none; counter-reset: steps; padding: 0; }
.exercise-steps li { counter-increment: steps; position: relative; padding: 16px 0 16px 44px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.65; }
.exercise-steps li::before { content: counter(steps); position: absolute; left: 0; top: 17px; border: 1px solid var(--line); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-size: 14px; }

.journey-home { display: flex; gap: 24px; align-items: center; margin-bottom: 24px; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
.journey-home > div { flex: 1; min-width: 0; }
.journey-home h2 { font: 600 17px/1.4 var(--sans); margin: 0 0 5px; overflow-wrap: anywhere; }
.journey-home p { font-size: 15px; margin: 0; color: var(--muted); line-height: 1.6; }
.journey-home .button { flex: none; }

@media (max-width: 1100px) {
  .skill-tree { gap: 12px; }
  .branch-head { min-height: 150px; }
  .branch-head h3 { font-size: 23px; }
  .skill-node { padding: 14px 8px; min-height: 178px; }
  .solution-card { grid-template-columns: 1fr; gap: 16px; }
  .solution-card .button-row { flex-direction: row; align-items: center; }
  .solution-top { align-items: start; gap: 20px; }
  .solution-top .field { flex-basis: 230px; }
}

@media (max-width: 760px) {
  .journey-intro { padding-bottom: 16px; }
  .journey-intro h1 { font-size: 32px; letter-spacing: -.8px; line-height: 1.16; margin-bottom: 12px; }
  .journey-intro .intro-copy { font-size: 15px; line-height: 1.6; }
  .journey-tabs { gap: 0; margin-bottom: 22px; }
  .journey-tabs button { font-size: 14px; padding: 10px 2px; line-height: 1.4; min-height: 52px; }
  .profile-note { margin-bottom: 24px; }
  .profile-panel .field-label { font-size: 15px; }
  .profile-panel .field-help { font-size: 14px; }
  .profile-optional summary { line-height: 1.5; padding: 14px 0; }
  .character-card { grid-template-columns: 30px minmax(0, 1fr); gap: 6px 12px; padding-bottom: 16px; }
  .character-avatar { width: 30px; height: 30px; font-size: 18px; }
  .character-card > .small-link { grid-column: 2; margin-top: 0; padding: 8px 0; }
  .character-copy h2 { margin-top: 2px; }
  .profile-callout { align-items: start; flex-direction: column; gap: 2px; padding-bottom: 12px; }
  .tree-heading { margin-top: 22px; gap: 8px; }
  .tree-heading h2 { font-size: 23px; }
  .tree-help { margin-bottom: 16px; }
  .branch-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .branch-picker button { min-height: 46px; padding: 9px 12px; border: 1px solid #a7ae9c; border-radius: 4px; background: none; color: var(--ink); font-size: 15px; text-align: left; }
  .branch-picker button[aria-pressed=true] { background: var(--olive); border-color: var(--olive); color: var(--card); }
  .skill-tree { display: block; margin-top: 16px; }
  .skill-tree .skill-branch { display: none; }
  .skill-tree[data-branch=calm] .branch-calm,
  .skill-tree[data-branch=clarity] .branch-clarity,
  .skill-tree[data-branch=connection] .branch-connection,
  .skill-tree[data-branch=energy] .branch-energy { display: block; }
  .branch-head { min-height: 0; padding: 0; }
  .branch-head h3 { font-size: 24px; margin-bottom: 6px; }
  .branch-head p { font-size: 15px; margin-bottom: 14px; }
  .branch-nodes { padding-left: 14px; }
  .branch-nodes::before { left: 0; top: 44px; bottom: 44px; border-color: #a7ae9c; }
  .branch-nodes li { margin-top: 12px; }
  .branch-nodes li::before { content: ''; position: absolute; left: -14px; top: 44px; width: 14px; border-top: 1px solid #a7ae9c; }
  .skill-node { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 3px 12px; min-height: 88px; padding: 14px 12px; text-align: left; }
  .node-stone { grid-row: 1 / span 2; margin: 0; align-self: center; }
  .node-title { font-size: 16px; line-height: 1.4; margin: 0; align-self: end; }
  .node-status { font-size: 14px; margin: 0; align-self: start; }
  .tree-footnote { margin-top: 24px; }
  .solution-top { flex-direction: column; gap: 0; }
  .solution-top .field { flex-basis: auto; width: 100%; }
  .solution-card { padding: 23px 0; gap: 16px; }
  .solution-card h3 { font-size: 25px; }
  .solution-card p { font-size: 16px; }
  .solution-card .button-row { gap: 8px; }
  .solution-card .button { padding-left: 12px; padding-right: 12px; white-space: normal; }
  .solution-meta { font-size: 14px; }
  .human-support { flex-direction: column; align-items: start; gap: 18px; }
  .human-support p { font-size: 16px; }
  .plan-record .record-top { flex-direction: column; gap: 0; margin-bottom: 8px; }
  .plan-record .record-top .small-link { max-width: 100%; text-align: left; align-items: center; padding: 8px 0; }
  .plan-record h3 { font-size: 24px; }
  .plan-record p { font-size: 16px; }
  .plan-counts { font-size: 14px; }
  .journey-home { flex-direction: column; align-items: start; gap: 16px; padding-bottom: 22px; }
  .journey-home .button { align-self: start; }
}
