:root {
  --ink: #18372f;
  --ink-soft: #587067;
  --paper: #f7f4ee;
  --stone: #ede8df;
  --card: #fffdf9;
  --sage: #bfd0be;
  --sage-dark: #6e8c7b;
  --terracotta: #a95a42;
  --gold: #c8943e;
  --line: #ded8ce;
  --shadow: 0 12px 34px rgba(33, 52, 44, .09);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ink); }
body { margin: 0; min-height: 100vh; background: #dcd7cc; color: var(--ink); font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, textarea, input, select { font: inherit; }
button { cursor: pointer; }
.contact-wordmark { text-decoration: none; }
.contact-back { text-decoration: none; }
.contact-page-screen { padding-top: 10px; }
.contact-page-screen h1 { max-width: 360px; }
.contact-thanks-screen { padding-left: 22px; padding-right: 22px; }
.static-primary { margin-top: 22px; display: block; text-decoration: none; text-align: center; }
.app-shell { min-height: 100vh; min-height: 100dvh; max-width: 440px; margin: auto; background: var(--paper); position: relative; padding-bottom: calc(100px + env(safe-area-inset-bottom)); overflow-x: hidden; }
.topbar { padding: calc(18px + env(safe-area-inset-top)) 22px 14px; display: flex; justify-content: space-between; align-items: center; }
.wordmark { display: grid; gap: 1px; font-weight: 800; letter-spacing: -.05em; }
.wordmark-kicker { color: var(--terracotta); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.wordmark-name { color: var(--ink); font-size: 21px; line-height: 1; }
.wordmark-name i { color: var(--terracotta); font-style: normal; }
.private { font-size: 12px; color: var(--ink-soft); display: flex; gap: 5px; align-items: center; }
.screen { padding: 4px 22px calc(28px + env(safe-area-inset-bottom)); }
h1 { font-size: clamp(27px, 7.5vw, 31px); letter-spacing: -.055em; line-height: 1.1; margin: 18px 0 8px; overflow-wrap: anywhere; }
h2 { font-size: 23px; letter-spacing: -.045em; line-height: 1.16; margin: 6px 0 8px; }
p { color: var(--ink-soft); line-height: 1.48; margin: 0 0 18px; }
.eyebrow { text-transform: uppercase; letter-spacing: .11em; font-weight: 800; color: var(--terracotta); font-size: 11px; }
.card { background: var(--card); border: 1px solid rgba(222,216,206,.85); border-radius: 24px; padding: 20px; box-shadow: var(--shadow); margin: 16px 0; }
.progress-card { background: var(--ink); color: white; border: 0; }
.progress-card .eyebrow { color: #eab8a5; }
.progress-num { font-size: 41px; letter-spacing: -.06em; font-weight: 800; margin: 9px 0 4px; }
.progress-card p { color: #c9d7ce; margin: 0; }
.progress-link { margin-top: 12px; padding: 0; border: 0; background: transparent; color: #eab8a5; font-weight: 750; text-decoration: underline; }
.lesson-card { width: 100%; margin-top: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #f5efe9; color: var(--ink); text-align: left; display: grid; gap: 5px; }
.lesson-card span, .lesson-current > span { color: var(--terracotta); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.lesson-card strong { font-size: 16px; }
.lesson-card small { color: var(--ink-soft); }
.lesson-current { margin: 20px 0; }
.lesson-action { display: grid; gap: 5px; margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); }
.lesson-action small, .lesson-item small { color: var(--terracotta); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lesson-action .secondary { margin-top: 7px; }
.lesson-timeline { display: grid; gap: 14px; }
.lesson-item { display: grid; grid-template-columns: 52px 1fr; gap: 12px; opacity: .5; }
.lesson-item.unlocked { opacity: 1; }
.lesson-item > span { color: var(--terracotta); font-size: 11px; font-weight: 800; padding-top: 2px; }
.lesson-item > div { display: grid; gap: 4px; }
.lesson-item p { margin: 5px 0 0; font-size: 14px; }
.lesson-item button { justify-self: start; min-height: 38px; border: 0; background: transparent; color: var(--ink); padding: 3px 0; font-weight: 800; text-decoration: underline; }
.setup-progress { font-size: 29px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; margin: 27px 0 9px; }
.section-title h2 { font-size: 20px; margin: 0; }
.quiet { color: var(--ink-soft); font-size: 13px; }
.section-help { margin: -2px 0 11px; font-size: 13px; }
.risk-title { margin-bottom: 7px; }
.chips, .options { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .option { min-height: 44px; border: 1px solid var(--line); color: var(--ink); background: var(--card); border-radius: 18px; padding: 10px 13px; font-size: 14px; transition: .18s ease; }
.chip.active, .option.selected { background: var(--sage); border-color: var(--sage-dark); }
.inline-support { margin-top: 10px; border: 0; background: transparent; color: var(--ink); padding: 4px 0; font-weight: 750; text-decoration: underline; }
.feeling-group { margin-top: 24px; }
.feeling-group h2 { font-size: 17px; margin-bottom: 9px; }
.risk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.risk button { min-height: 66px; text-align: left; padding: 11px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 650; }
.risk button.selected { background: #f4d8cc; border-color: var(--terracotta); }
.primary { width: 100%; border: 0; background: var(--terracotta); color: white; border-radius: 18px; padding: 17px 18px; font-size: 16px; font-weight: 800; box-shadow: 0 8px 20px rgba(169,90,66,.25); }
.secondary { width: 100%; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 17px; padding: 14px; font-weight: 750; margin-top: 10px; }
.support-btn { margin-top: 22px; }
.nav { position: fixed; z-index: 4; bottom: 0; left: 50%; width: min(100%, 440px); transform: translateX(-50%); height: calc(83px + env(safe-area-inset-bottom)); padding: 5px 8px env(safe-area-inset-bottom); background: rgba(255,253,249,.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); display: flex; justify-content: space-around; align-items: center; }
.nav button { min-width: 58px; min-height: 48px; border: 0; background: none; color: var(--ink-soft); font-size: 11px; display: grid; gap: 3px; justify-items: center; align-content: center; }
.nav .nav-urgent { color: var(--ink); margin-top: -25px; font-weight: 800; }
.nav-urgent b { display: grid; place-items: center; width: 55px; height: 55px; border-radius: 50%; background: var(--ink); color: white; font-size: 22px; font-weight: 500; box-shadow: var(--shadow); }
.nav button.active { color: var(--ink); font-weight: 800; }
.back { min-height: 44px; border: 0; background: transparent; color: var(--ink); padding: 4px 0; font-weight: 750; }
.breath { width: 232px; height: 232px; border-radius: 36px; margin: 28px auto 24px; background: var(--sage); display: grid; place-items: center; position: relative; transition: transform 3.7s ease-in-out, background 1s ease; }
.breath::before { content:""; position:absolute; inset: 18px; border: 1px solid rgba(23,60,50,.25); border-radius: 25px; }
.breath.expand { transform: scale(1.13); background: #d9e6d5; }
.breath .phase { font-size: 25px; font-weight: 800; z-index: 1; text-align: center; }
.breath .count { font-size: 44px; font-weight: 800; letter-spacing: -.06em; z-index: 1; }
.timer-row { display: flex; justify-content: center; gap: 8px; }
.timer-row button { border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: 10px 15px; color: var(--ink); font-weight: 750; }
.timer-row button.selected { background: var(--ink); color: white; }
.breath-note { text-align: center; color: var(--ink-soft); font-size: 14px; }
.choices { display: grid; gap: 10px; }
.choice { min-height: 52px; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 17px; color: var(--ink); padding: 15px 16px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.choice > span { color: var(--sage-dark); font-size: 20px; line-height: 1; }
.choice:hover { border-color: var(--sage-dark); }
.choice-selected { background: var(--sage); border-color: var(--sage-dark); }
.risk-check-screen h1 { max-width: 350px; font-size: clamp(26px, 7vw, 29px); line-height: 1.08; }
.risk-check-screen > p:not(.eyebrow) { margin-bottom: 22px; font-size: 16px; }
.risk-choices { gap: 11px; }
.risk-choice { min-height: 82px; padding: 15px 18px; }
.choice > .risk-choice-copy { flex: 1; display: grid; gap: 4px; color: var(--ink); font-size: inherit; line-height: normal; }
.risk-choice-copy strong { display: block; color: var(--ink); font-size: 18px; line-height: 1.15; }
.risk-choice-copy small { display: block; color: var(--ink-soft); font-size: 14px; font-weight: 500; line-height: 1.35; }
.risk-choice > b { flex: 0 0 auto; color: var(--terracotta); font-size: 21px; }
.risk-reset { min-height: 54px; margin-top: 12px; }
textarea { width: 100%; min-height: 122px; border: 1px solid var(--line); border-radius: 16px; padding: 14px; resize: vertical; color: var(--ink); background: var(--card); line-height: 1.45; }
.small { font-size: 13px; }
.context-card { background: #f0ece4; border-radius: 19px; padding: 16px; margin-top: 16px; }
.context-card p { margin: 5px 0 12px; font-size: 14px; }
.urgent-context { background: #f5ddd4; border: 1px solid #d59b86; }
.calm-context { background: #e3ede1; }
.stacked-actions { display: grid; gap: 8px; }
.small-primary { padding: 13px 14px; font-size: 14px; }
.text-button { border: 0; padding: 0; background: transparent; color: var(--ink); text-decoration: underline; font-weight: 750; }
.check { display: flex; gap: 8px; margin-top: 14px; }
.check button { flex: 1; }
.plan-shell { text-align: center; padding-top: 70px; }
.badge { display: inline-grid; place-items:center; width: 57px; height:57px; background: var(--sage); border-radius: 20px; font-size: 27px; }
.date-label { display: block; margin: 18px 0 7px; font-size: 13px; color: var(--ink-soft); font-weight: 750; }
input[type="date"] { width: 100%; padding: 13px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: var(--card); }
.local-note { background: #f0ede6; box-shadow: none; }
.local-note p { margin: 0; }
.local-note h2 { font-size: 18px; }
.center { text-align: center; }
.privacy-promise { background: #e5eee2; box-shadow: none; }
.privacy-promise p { margin: 7px 0 0; }
.motivation-card { margin: 24px 0 4px; padding: 20px; border-left: 4px solid var(--terracotta); border-radius: 4px 18px 18px 4px; background: #f0ede6; }
.motivation-card strong, .motivation-card span { display: block; }
.motivation-card strong { font-size: 17px; line-height: 1.35; }
.motivation-card span { margin-top: 6px; color: var(--ink-soft); line-height: 1.45; }
.private-note { margin: 13px auto 0; color: var(--ink-soft); font-size: 11px; line-height: 1.4; text-align: center; }
.welcome-topbar { padding-bottom: 2px; }
.welcome-topbar .wordmark-name { font-size: 23px; }
.welcome-screen { padding-top: 34px; }
.welcome-kicker { margin-bottom: 20px; color: var(--terracotta); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.welcome-screen h1 { max-width: 390px; margin: 0; font-size: clamp(35px, 9.6vw, 42px); line-height: 1.04; letter-spacing: -.06em; overflow-wrap: normal; }
.welcome-screen h1 span { display: block; }
.welcome-screen h1 span:last-child { margin-top: 5px; color: var(--terracotta); }
.welcome-intro { max-width: 355px; margin: 25px 0 0; font-size: 17px; line-height: 1.55; }
.welcome-start { min-height: 58px; margin-top: 35px; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-radius: 17px; box-shadow: 0 8px 20px rgba(169,90,66,.18); }
.welcome-start b { font-size: 25px; font-weight: 500; line-height: .8; }
.welcome-private { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 11px; line-height: 1.4; text-align: left; }
.welcome-private i { flex: 0 0 auto; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--sage); color: var(--ink); font-size: 11px; font-style: normal; font-weight: 900; }
.simple-home { padding-top: 18px; }
.simple-home h1 { max-width: 330px; margin-top: 13px; font-size: clamp(34px, 10vw, 42px); }
.home-prompt { max-width: 350px; font-size: 17px; }
.home-start { display: grid; gap: 12px; margin-top: 28px; }
.home-choice { width: 100%; min-height: 91px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); color: var(--ink); padding: 18px; text-align: left; box-shadow: 0 6px 20px rgba(33,52,44,.05); }
.home-choice span { display: grid; gap: 5px; }
.home-choice strong { font-size: 18px; line-height: 1.2; }
.home-choice small { color: var(--ink-soft); font-size: 13px; font-weight: 500; line-height: 1.35; }
.home-choice > b { color: var(--terracotta); font-size: 22px; }
.urgent-choice { border-color: #d69e8c; background: #f7e5de; }
.motivation-line { margin: 26px auto 0; max-width: 330px; color: var(--ink); font-size: 14px; font-weight: 750; line-height: 1.45; text-align: center; }
.home-counter-line { width: 100%; min-height: 48px; margin-top: 24px; display: flex; align-items: center; gap: 9px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink); padding: 14px 2px 0; text-align: left; }
.home-counter-line span { font-weight: 850; }
.home-counter-line small { flex: 1; color: var(--ink-soft); }
.home-counter-line b { color: var(--terracotta); }
.moment-screen .moment-grid { margin-top: 24px; }
.feeling-shortlist { margin-top: 24px; }
.more-feelings, .risk-reset-link, .reset-link { display: block; margin: 20px auto 0; }
.short-instruction { margin-bottom: 10px; }
.why-asked { margin: 0 0 18px; color: var(--ink-soft); }
.why-asked summary { min-height: 38px; display: flex; align-items: center; color: var(--ink); font-size: 13px; font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.why-asked p { margin: 6px 0 0; padding: 12px 14px; border-radius: 14px; background: #f0ede6; font-size: 13px; line-height: 1.5; }
.home-focus { display: flex; align-items: center; gap: 7px; margin: 14px 0 4px; padding: 8px 11px; border-radius: 14px; background: #f0ede6; font-size: 12px; }
.home-focus span { color: var(--ink-soft); }
.home-focus strong { flex: 1; }
.home-focus button { min-height: 34px; border: 0; background: transparent; color: var(--ink); font-size: 12px; font-weight: 800; text-decoration: underline; }
.start-guide { padding: 8px; box-shadow: none; background: #f0ede6; border-radius: 20px; }
.start-guide > .eyebrow { margin: 8px 10px 5px; }
.start-guide button { width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; border-top: 1px solid rgba(222,216,206,.9); background: transparent; padding: 11px 10px; color: var(--ink); text-align: left; }
.start-guide button:nth-of-type(1) { border-top: 0; }
.start-guide button span { display: grid; gap: 3px; }
.start-guide button small { color: var(--ink-soft); font-weight: 500; }
.start-guide button b { color: var(--terracotta); font-size: 20px; }
.selection-context { padding: 12px 14px; border-radius: 14px; background: #f0ede6; color: var(--ink-soft); font-size: 14px; line-height: 1.4; }
.moment-grid { display: grid; gap: 10px; }
.moment-grid .choice { display: grid; gap: 4px; }
.moment-grid small { color: var(--ink-soft); font-weight: 500; }
.moment-grid strong { display: flex; align-items: center; gap: 8px; }
.moment-grid em { border-radius: 99px; background: var(--sage); padding: 4px 7px; font-size: 9px; font-style: normal; letter-spacing: .06em; text-transform: uppercase; }
.recommended-moment { border-color: var(--sage-dark); background: #f4f8f1; }
.ready-plan, .priority-route, .week-win, .insight-link, .about-link { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: var(--ink); padding: 15px 16px; text-align: left; }
.priority-route { margin: 12px 0; background: #f0ede6; }
.priority-route span { display: grid; gap: 3px; }
.priority-route small { color: var(--terracotta); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.priority-route em { color: var(--ink-soft); font-size: 12px; font-style: normal; font-weight: 500; }
.priority-route > b { color: var(--terracotta); font-size: 21px; }
.ready-plan { margin-top: 13px; border-color: var(--sage-dark); background: #e5eee2; }
.ready-plan span, .insight-link span { display: grid; gap: 4px; }
.ready-plan small, .insight-link small, .about-link small { color: var(--ink-soft); }
.ready-plan b, .insight-link b, .about-link b { color: var(--terracotta); white-space: nowrap; }
.about-link { margin-top: 14px; background: #f5efe9; }
.about-link span { display: grid; gap: 4px; }
.week-win { margin-top: 18px; background: #f0ede6; }
.week-win > strong { font-size: 28px; }
.week-win span { flex: 1; display: grid; gap: 3px; }
.week-win small { color: var(--ink-soft); }
.week-win em { color: var(--terracotta); font-size: 21px; font-style: normal; }
.stepper { height: 7px; overflow: hidden; background: #e7e0d6; border-radius: 99px; margin: 8px 0 25px; }
.stepper i { display: block; height: 100%; background: var(--terracotta); border-radius: inherit; transition: width .25s ease; }
.save-status { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 99px; background: var(--sage); color: var(--ink); font-size: 13px; font-weight: 800; }
.plan-summary { display: grid; gap: 10px; margin-top: 18px; }
.plan-summary .card { margin: 0; display: grid; gap: 5px; box-shadow: none; border-radius: 18px; }
.plan-summary span { color: var(--ink-soft); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.plan-summary strong { line-height: 1.35; }
.plan-review-context { display: grid; gap: 5px; margin: 22px 0 12px; padding: 16px; border-radius: 18px; background: #f0ede6; }
.plan-review-context span { margin-top: 8px; color: var(--ink-soft); font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.plan-review-context span:first-child { margin-top: 0; }
.plan-review-first { display: grid; gap: 7px; padding: 20px; border: 1px solid var(--sage-dark); border-radius: 20px; background: #e5eee2; }
.plan-review-first small { color: var(--ink-soft); font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.plan-review-first strong { font-size: 19px; line-height: 1.4; }
.plan-details { margin-top: 14px; }
.plan-details summary { min-height: 42px; display: flex; align-items: center; color: var(--ink); font-size: 13px; font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.plan-details .plan-summary { margin: 6px 0 18px; }
.plan-skip { display: block; margin: 18px auto 0; }
.plan-list { display: grid; gap: 12px; margin-top: 20px; }
.plan-tile { margin: 0; box-shadow: none; border-radius: 20px; }
.plan-tile.complete { border-color: var(--sage-dark); background: #f4f8f1; }
.plan-tile.recommended-plan { border-color: var(--terracotta); background: #f8ede8; }
.plan-tile.recommended-plan.complete { border-color: var(--sage-dark); background: #f4f8f1; }
.plan-tile-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.plan-tile-head small { color: var(--terracotta); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.plan-tile-head h2 { margin-top: 3px; font-size: 21px; }
.plan-tile-head > b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sage); }
.plan-tile > p { margin-bottom: 13px; }
.plan-tile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plan-tile-actions > :only-child { grid-column: 1 / -1; }
.plan-tile-actions .secondary, .plan-tile-actions .primary { margin-top: 0; }
.partial-plan { background: #e5eee2; box-shadow: none; }
.partial-plan p:last-child { margin-bottom: 0; }
.plan-now-context { display: grid; gap: 4px; margin: 20px 0; padding: 16px; border-radius: 18px; background: #f0ede6; }
.plan-now-context span { margin-top: 8px; color: var(--ink-soft); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.plan-now-context span:first-child { margin-top: 0; }
.action-plan { display: grid; gap: 10px; }
.action-plan > div { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.action-plan b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sage); }
.action-plan span { display: grid; gap: 4px; }
.action-plan small { color: var(--ink-soft); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.action-plan strong { line-height: 1.38; }
.single-plan-action { min-height: 180px; margin-top: 25px; display: grid; align-content: center; gap: 18px; padding: 26px; border: 1px solid var(--sage-dark); border-radius: 24px; background: #e5eee2; text-align: center; }
.single-plan-action b { width: 42px; height: 42px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; }
.single-plan-action strong { font-size: 22px; line-height: 1.4; }
.pathway-action-now { min-height: 160px; margin: 24px 0 18px; display: grid; align-content: center; gap: 10px; padding: 25px; border: 1px solid var(--sage-dark); border-radius: 24px; background: #e5eee2; text-align: center; }
.pathway-action-now span { color: var(--sage-dark); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.pathway-action-now strong { font-size: 22px; line-height: 1.4; }
.week-progress { margin: 18px 0; padding: 18px; border-radius: 22px; background: var(--ink); color: white; }
.week-progress .eyebrow { color: #eab8a5; }
.week-progress > p:last-child { margin: 13px 0 0; color: #c9d7ce; font-size: 13px; }
.progress-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.progress-stats div { display: grid; gap: 2px; padding: 10px 7px; border-radius: 13px; background: rgba(255,255,255,.08); }
.progress-stats strong { font-size: 25px; }
.progress-stats span { color: #c9d7ce; font-size: 10px; line-height: 1.25; }
.recovery-counter { margin-top: 20px; box-shadow: none; background: #f0ede6; }
.recovery-counter h2 { margin: 8px 0 3px; font-size: 36px; }
.recovery-counter > p:not(.eyebrow) { margin-bottom: 14px; }
.recovery-milestones { margin: 20px 0; padding: 20px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); }
.milestone-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.milestone-heading small { color: var(--terracotta); font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.milestone-heading h2 { margin: 4px 0 0; font-size: 22px; }
.milestone-heading > b { flex: 0 0 auto; display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: var(--ink); color: white; font-size: 19px; }
.recovery-milestones > p { margin: 11px 0 17px; font-size: 14px; }
.next-milestone { margin: 0 0 20px; padding: 14px; border-radius: 17px; background: #f0ede6; }
.next-milestone > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.next-milestone strong { font-size: 13px; }
.next-milestone span { color: var(--ink-soft); font-size: 12px; white-space: nowrap; }
.milestone-track { height: 7px; margin-top: 11px; overflow: hidden; border-radius: 99px; background: #dcd5ca; }
.milestone-track i { display: block; height: 100%; border-radius: inherit; background: var(--terracotta); }
.milestone-tokens { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.milestone-token { min-width: 0; display: grid; justify-items: center; gap: 7px; }
.token-ring { width: 78px; height: 78px; display: grid; align-content: center; justify-items: center; border: 3px double var(--line); border-radius: 50%; background: #f0ede6; }
.token-ring strong { font-size: 25px; line-height: .95; }
.token-ring span { color: var(--ink-soft); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.milestone-token > small { color: var(--ink-soft); font-size: 10px; font-weight: 750; }
.milestone-token.locked { opacity: .44; }
.milestone-token.earned .token-ring { border-color: var(--sage-dark); background: #e5eee2; }
.milestone-token.token-60.earned .token-ring { border-color: var(--terracotta); background: #f7e5de; }
.milestone-token.token-90.earned .token-ring { border-color: var(--gold); background: var(--ink); color: white; box-shadow: 0 7px 20px rgba(24,55,47,.18); }
.milestone-token.token-90.earned .token-ring span { color: #e6c783; }
.milestone-token.token-180.earned .token-ring { border-color: var(--sage-dark); background: #dce9dd; }
.milestone-token.token-365.earned .token-ring { border-color: var(--gold); background: #f2dfad; color: var(--ink); box-shadow: 0 7px 20px rgba(24,55,47,.15); }
.recovery-milestones .milestone-history { margin: 17px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; }
.maintenance-panel { margin: 20px 0; padding: 20px; border-radius: 24px; background: var(--ink); color: white; }
.maintenance-panel .eyebrow { color: #eab8a5; }
.maintenance-panel h2 { margin-top: 8px; color: white; }
.maintenance-panel p:not(.eyebrow) { margin: 0; color: #d5e0da; }
.maintenance-panel .secondary { border-color: rgba(255,255,255,.32); color: white; }
.celebration-screen { min-height: calc(100dvh - 86px); display: flex; flex-direction: column; align-items: center; padding-top: 38px; text-align: center; }
.celebration-token { width: 132px; height: 132px; margin: 26px auto 8px; display: grid; align-content: center; justify-items: center; border: 5px double var(--sage-dark); border-radius: 50%; background: #e5eee2; box-shadow: 0 18px 40px rgba(33,52,44,.13); }
.celebration-token span { font-size: 31px; font-weight: 900; line-height: 1; letter-spacing: -.05em; }
.celebration-token small { margin-top: 6px; color: var(--ink-soft); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.celebration-token.token-60 { border-color: var(--terracotta); background: #f7e5de; }
.celebration-token.token-90 { border-color: var(--gold); background: var(--ink); color: white; }
.celebration-token.token-90 small { color: #e6c783; }
.celebration-token.token-180 { border-color: var(--sage-dark); background: #dce9dd; }
.celebration-token.token-365 { border-color: var(--gold); background: #f2dfad; color: var(--ink); }
.celebration-screen h1 { margin-top: 24px; font-size: 38px; }
.celebration-message { max-width: 330px; color: var(--ink); font-size: 19px; font-weight: 750; line-height: 1.45; }
.celebration-note { width: 100%; margin-top: 6px; padding: 17px; border-radius: 18px; background: #f0ede6; text-align: left; }
.celebration-note p { margin: 5px 0 0; font-size: 13px; }
.celebration-screen .support-btn { margin-top: 20px; }
.insight-link { margin: 16px 0; background: #f0ede6; }
.learn-settings { margin-top: 24px; }
.next-lesson { display: grid; gap: 5px; margin: 18px 0 12px; padding: 14px 16px; border-radius: 17px; background: #f0ede6; }
.next-lesson small, .lesson-library summary small { color: var(--terracotta); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.next-lesson strong { line-height: 1.35; }
.lesson-library { margin: 12px 0 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: var(--card); }
.lesson-library summary { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 17px; cursor: pointer; list-style: none; }
.lesson-library summary::-webkit-details-marker { display: none; }
.lesson-library summary span { display: grid; gap: 4px; }
.lesson-library summary > b { color: var(--terracotta); font-size: 22px; transition: transform .2s ease; }
.lesson-library[open] summary { border-bottom: 1px solid var(--line); }
.lesson-library[open] summary > b { transform: rotate(180deg); }
.lesson-library .lesson-timeline { padding: 18px 16px 20px; }
.insight-grid { display: grid; gap: 10px; margin-top: 18px; }
.insight-grid .card { display: grid; gap: 7px; margin: 0; box-shadow: none; border-radius: 18px; }
.insight-grid span { color: var(--ink-soft); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.insight-grid small { color: var(--ink-soft); }
.empty-insight { box-shadow: none; background: #f0ede6; }
.settings-group { margin: 25px 0; }
.settings-group h2 { font-size: 19px; }
.settings-group > p { margin-bottom: 10px; font-size: 14px; }
.settings-options { display: grid; gap: 8px; }
.settings-options.two { grid-template-columns: 1fr 1fr; }
.settings-options button { min-height: 49px; border: 1px solid var(--line); border-radius: 15px; background: var(--card); color: var(--ink); padding: 11px 12px; text-align: left; font-weight: 700; }
.settings-options button.selected { border-color: var(--sage-dark); background: var(--sage); }
.danger-soft { color: #7d3325; border-color: #d5a092; }
.destructive { background: #8a392b; box-shadow: 0 8px 20px rgba(111,45,35,.2); }
.practitioner-card { display: grid; gap: 16px; background: #e5eee2; box-shadow: none; }
.practitioner-photo { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; object-position: center; border: 3px solid rgba(255,255,255,.82); box-shadow: 0 8px 24px rgba(35,54,43,.16); }
.practitioner-details { min-width: 0; }
.practitioner-card p:last-child { margin-bottom: 0; }
.practitioner-card .credentials { margin: -2px 0 14px; color: #345246; font-size: 13px; font-weight: 800; }
.practitioner-about { color: var(--ink); line-height: 1.58; }
.contact-actions { display: grid; gap: 9px; margin: 18px 0; }
.contact-actions a { display: block; text-align: center; text-decoration: none; }
.contact-actions .secondary { margin-top: 0; }
.social-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; }
.social-links span { width: 100%; color: var(--ink-soft); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.social-links a { border-bottom: 1px solid currentColor; color: var(--ink); font-size: 14px; font-weight: 800; }
.contact-pending { box-shadow: none; border-style: dashed; }
.contact-pending p { margin-bottom: 0; }
.assessment-callout { background: var(--ink); color: white; border: 0; }
.assessment-callout .eyebrow { color: #eab8a5; }
.assessment-callout h2 { font-size: 24px; }
.assessment-callout p { color: #d5e0da; }
.assessment-callout small { display: block; margin-top: 12px; color: #c4d3cb; line-height: 1.4; text-align: center; }
.privacy-overview { background: #e5eee2; box-shadow: none; }
.privacy-overview ul { margin: 10px 0 0; padding-left: 20px; color: var(--ink); }
.privacy-overview li { margin: 8px 0; line-height: 1.4; }
.privacy-contact { background: var(--ink); color: white; border: 0; }
.privacy-contact .eyebrow { color: #eab8a5; }
.privacy-contact p { color: #d5e0da; }
.inline-link { color: var(--ink); font-weight: 800; line-height: 1.45; }
.preview-note { display: grid; gap: 2px; margin: 16px 0; padding: 13px 15px; border-radius: 15px; background: #f5e3c7; color: #66451d; font-size: 13px; }
.assessment-form { margin-top: 22px; }
.form-field { display: grid; gap: 7px; margin: 17px 0; }
.form-field label { color: var(--ink); font-size: 13px; font-weight: 800; }
.form-field label span { color: var(--ink-soft); font-weight: 600; }
.form-field input { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 15px; padding: 13px 14px; background: var(--card); color: var(--ink); }
.form-field small { color: var(--ink-soft); line-height: 1.4; }
.consent-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin: 17px 0; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }
.consent-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--terracotta); }
.urgent-form-note { margin-top: 22px; border-color: #d7aa98; background: #f7e7df; box-shadow: none; }
.urgent-form-note p { margin: 6px 0 0; font-size: 13px; }
.form-status { min-height: 22px; margin: 11px 0 0; color: #7d3325; font-size: 13px; font-weight: 750; text-align: center; }
.assessment-form button:disabled { cursor: wait; opacity: .7; }
.honeypot { position: absolute; overflow: hidden; clip: rect(0 0 0 0); width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; }
.info-section { margin: 27px 0; }
.info-section h2 { font-size: 20px; }
.info-section ul { margin: 10px 0 0; padding-left: 20px; color: var(--ink-soft); }
.info-section li { margin: 9px 0; line-height: 1.45; }
.splash { position: fixed; z-index: 5; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; background: var(--ink); color: white; transition: opacity .35s ease, visibility .35s ease; }
.splash.hidden { opacity: 0; visibility: hidden; }
.splash img { width: 86px; height: 86px; margin-bottom: 7px; }
.splash strong { font-size: 27px; letter-spacing: -.05em; }
.splash span { color: #c6d7cc; font-size: 14px; }
.privacy-cover { position: fixed; z-index: 999; inset: 0; display: grid; place-content: center; justify-items: center; gap: 9px; background: var(--ink); color: white; }
.privacy-cover img { width: 62px; height: 62px; margin-bottom: 4px; }
.privacy-cover strong { font-size: 22px; }
.privacy-cover span { color: #b9cbc1; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.screen h1[tabindex="-1"]:focus { outline: none; }
button:focus-visible, textarea:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #315f52; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .breath.expand { transform: none; }
}
@media (min-width: 500px) { .app-shell { min-height: 830px; margin-top: 24px; border-radius: 30px; box-shadow: 0 20px 70px rgba(35,42,36,.16); } .practitioner-card:has(.practitioner-photo) { grid-template-columns: auto 1fr; align-items: start; } }
