/* Help pages: shares variables, fonts, buttons and nav-brand from styles.css */
.hp-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--border) 45%, transparent); }
.hp-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.hp-header nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.hp-header nav a { color: var(--fg-secondary); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.hp-header nav a:hover, .hp-header nav a[aria-current="page"] { color: var(--sage); }
.hp-header .btn { padding: 9px 16px; font-size: 13.5px; }
.hp-header nav a.btn-primary, .hp-header nav a.btn-primary:hover { color: var(--bg); }
@media (max-width: 640px) { .hp-header nav .hp-hide-sm { display: none; } }

.hp-main { padding-block: 40px 72px; }
.hp-narrow { max-width: 720px; margin-inline: auto; }
.hp-hero h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.12; margin-top: 10px; }
.hp-lede { font-size: 18px; color: var(--fg-secondary); margin-top: 16px; max-width: 62ch; }
.hp-main h2 { font-size: clamp(24px, 3.2vw, 30px); margin-top: 48px; margin-bottom: 12px; }
.hp-main h3 { font-size: 20px; margin-top: 24px; margin-bottom: 8px; }
.hp-main p + p { margin-top: 12px; }
.hp-main ol, .hp-main ul { padding-left: 1.3em; margin: 12px 0; }
.hp-main li { margin-bottom: 8px; }
.hp-crumbs { font-size: 13.5px; color: var(--fg-muted); }
.hp-crumbs a { color: var(--fg-muted); }

.hp-card { background: var(--surface); border: 1px solid color-mix(in srgb, var(--border) 55%, transparent); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-soft); }
.hp-note { background: var(--peach-soft); border-radius: 16px; padding: 18px 20px; margin-top: 28px; font-size: 15.5px; }
.hp-note strong { display: block; margin-bottom: 6px; }
.hp-soft { background: var(--sage-soft); border-radius: 16px; padding: 18px 20px; margin-top: 28px; }
.hp-muted { color: var(--fg-muted); font-size: 14px; }

/* tool area */
.hp-tool { margin-top: 32px; text-align: center; }
.hp-tool .hp-controls { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.hp-phase { font-family: var(--font-display); font-size: 28px; min-height: 1.4em; margin-top: 18px; }
.hp-count { color: var(--fg-muted); font-size: 14px; margin-top: 6px; min-height: 1.4em; }
.hp-seg { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.hp-seg button { background: transparent; border: 0; padding: 8px 14px; font: inherit; font-size: 14px; color: var(--fg-secondary); cursor: pointer; }
.hp-seg button[aria-pressed="true"] { background: var(--sage); color: var(--bg); }

/* paced breathing circle */
.hp-orb-wrap { width: 240px; height: 240px; margin: 8px auto 0; display: grid; place-items: center; }
.hp-orb { width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--sage-soft), var(--sage)); box-shadow: 0 0 0 14px color-mix(in srgb, var(--sage) 14%, transparent); transform: scale(1); transition-property: transform; transition-timing-function: ease-in-out; }

/* box breathing square */
.hp-box { position: relative; width: 240px; height: 240px; margin: 8px auto 0; border: 3px solid var(--lavender); border-radius: 18px; }
.hp-box-dot { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--sage); left: -12px; top: calc(100% - 10px); box-shadow: 0 0 0 6px color-mix(in srgb, var(--sage) 22%, transparent); transition-property: left, top; transition-timing-function: linear; }
.hp-box-label { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 44px; color: var(--fg-secondary); }

/* grounding steps */
.hp-steps { text-align: left; margin-top: 24px; }
.hp-step { display: none; }
.hp-step.is-active { display: block; animation: hpFade .35s ease; }
.hp-step .hp-big { font-family: var(--font-display); font-size: 64px; line-height: 1; color: var(--sage); }
.hp-step h3 { margin-top: 8px; }
.hp-step .hp-inputs { display: grid; gap: 8px; margin-top: 14px; }
.hp-step input { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-muted); color: var(--fg); font: inherit; }
.hp-progress { height: 6px; background: var(--bg-secondary); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.hp-progress span { display: block; height: 100%; width: 0; background: var(--sage); transition: width .3s ease; }
@keyframes hpFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* hub + helplines */
.hp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.hp-link-card { display: block; text-decoration: none; color: var(--fg); background: var(--surface); border: 1px solid color-mix(in srgb, var(--border) 55%, transparent); border-radius: 18px; padding: 20px; transition: transform .2s ease, box-shadow .2s ease; }
.hp-link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.hp-link-card .hp-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; margin-bottom: 12px; }
.hp-link-card h3 { margin: 0 0 6px; font-size: 19px; }
.hp-link-card p { color: var(--fg-secondary); font-size: 14.5px; }
.hp-line { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid color-mix(in srgb, var(--border) 45%, transparent); }
.hp-line:last-child { border-bottom: 0; }
.hp-line h3 { margin: 0; font-size: 19px; }
.hp-line p { color: var(--fg-secondary); font-size: 14.5px; margin-top: 4px; }
.hp-line .hp-call { white-space: nowrap; }
.hp-tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 99px; background: var(--sage-soft); color: var(--sage); margin-right: 6px; margin-top: 6px; }
@media (max-width: 560px) { .hp-line { grid-template-columns: 1fr; } }

.hp-cta { margin-top: 48px; padding: 28px; border-radius: var(--radius-lg); background: var(--lavender-soft); display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.hp-cta h2 { margin: 0 0 6px; font-size: 24px; }
.hp-cta p { color: var(--fg-secondary); max-width: 46ch; }
.hp-related { margin-top: 40px; }
.hp-related a { margin-right: 14px; display: inline-block; margin-bottom: 6px; }
.hp-footer { border-top: 1px solid var(--border); padding-block: 32px 44px; font-size: 14px; color: var(--fg-secondary); }
.hp-footer .container { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; justify-content: space-between; }
.hp-footer nav { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.hp-footer a { color: var(--fg-secondary); }
@media (prefers-reduced-motion: reduce) { .hp-orb, .hp-box-dot { transition: none !important; } .hp-step.is-active { animation: none; } }
.hp-pmr-num { font-family: var(--font-display); font-size: 72px; line-height: 1; color: var(--lavender); min-height: 72px; margin-top: 18px; }
