/* Shared styles for all pages (on top of /styles.css). */
/* ---------------------------------------------------------- shared */
.site-header { transition: height .35s ease, background-color .35s ease, border-color .35s ease; }
.site-header.is-compact { height: 58px; background: rgba(5,7,13,.86); }
/* styles.css paints the active nav link with the old light-theme ink; keep it readable on dark. */
.site-header .desktop-nav a[aria-current="page"] { color: var(--kz-strong); }
.site-header .desktop-nav a[aria-current="page"]::after { background: var(--kz-accent); }
.kp-section { padding: clamp(96px, 13vh, 150px) 0; }
.kp-heading { max-width: 620px; }
.kp-eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--kz-faint); font: 500 12px/1 "IBM Plex Mono", monospace; letter-spacing: .16em; text-transform: uppercase; }
.kp-eyebrow::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, var(--kz-accent), transparent); }
.kp-heading h2 { margin: 18px 0 0; color: var(--kz-strong); font-size: clamp(36px, 4.4vw, 62px); line-height: 1; letter-spacing: -.045em; }
.kp-heading p { max-width: 520px; margin: 20px 0 0; color: var(--kz-muted); font-size: 17px; line-height: 1.65; }

.kp-note { display: block; margin-top: 8px; color: var(--kz-faint); font: 500 11px/1.4 "IBM Plex Mono", monospace; letter-spacing: .04em; }

/* ---------------------------------------------------------- cta */
.kp-cta { position: relative; overflow: hidden; margin-top: 40px; margin-bottom: 100px; padding: clamp(64px, 9vw, 120px) clamp(24px, 5vw, 72px); border: 1px solid rgba(92,147,255,.28); border-radius: 30px; background: radial-gradient(80% 120% at 50% 0%, rgba(47,109,255,.16), transparent 65%), var(--kz-panel-strong); text-align: center; }
.kp-cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.kp-cta-copy { position: relative; }
.kp-cta h2 { max-width: 820px; margin: 18px auto 0; color: var(--kz-strong); font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.045em; }
.kp-cta p { max-width: 560px; margin: 20px auto 0; color: var(--kz-muted); font-size: 17px; line-height: 1.6; }
.kp-cta .kz3-button { margin-top: 34px; }


/* Three-step path that draws itself (used by goal and plan cards). */
.kp-path { position: relative; align-self: stretch; display: grid; gap: 22px; margin: 18px 0 0; padding: 0 0 0 34px; list-style: none; }
.kp-path::before, .kp-path::after { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; }
.kp-path::before { background: var(--kz-border); }
.kp-path::after { background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 40%, transparent)); box-shadow: 0 0 12px var(--accent); transform: scaleY(0); transform-origin: top; }
.kp-path.is-drawn::after { transform: scaleY(1); transition: transform 1.1s cubic-bezier(.65,0,.35,1); }
.kp-path li { position: relative; opacity: .35; transform: translateX(-6px); }
.kp-path.is-drawn li { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }
.kp-path.is-drawn li:nth-child(2) { transition-delay: .4s; }
.kp-path.is-drawn li:nth-child(3) { transition-delay: .8s; }
.kp-path i { position: absolute; left: -34px; top: 2px; width: 16px; height: 16px; border: 2px solid var(--kz-border-strong); border-radius: 50%; background: var(--kz-bg); transition: border-color .4s ease, box-shadow .4s ease; }
.kp-path.is-drawn i { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent), 0 0 16px var(--accent); }
.kp-path.is-drawn li:nth-child(2) i { transition-delay: .4s; }
.kp-path.is-drawn li:nth-child(3) i { transition-delay: .8s; }
.kp-path span { display: block; color: var(--kz-faint); font: 500 11px/1 "IBM Plex Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.kp-path strong { display: block; margin-top: 6px; color: var(--kz-strong); font-size: 17px; font-weight: 600; }

/* Accent card (goal picker on home, plan builder on approach). */
.kp-goal-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 3vw, 40px); border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent); border-radius: 26px; background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), var(--kz-panel-strong); transition: border-color .5s ease, background .5s ease; }
.kp-card-label { display: block; color: var(--accent); font: 500 11px/1 "IBM Plex Mono", monospace; letter-spacing: .16em; text-transform: uppercase; transition: color .5s ease; }
.kp-card-label--path { margin-top: 30px; color: var(--kz-faint); }
.kp-goal-card h3 { margin: 14px 0 0; color: var(--kz-strong); font-size: clamp(26px, 2.5vw, 36px); line-height: 1.05; letter-spacing: -.035em; }
.kp-goal-card > p { margin: 12px 0 0; color: var(--kz-muted); font-size: 16px; line-height: 1.6; }
.kp-goal-card h3, .kp-goal-card > p { transition: opacity .25s ease, transform .25s ease; }
.kp-goal-card.is-swapping h3, .kp-goal-card.is-swapping > p { opacity: 0; transform: translateY(6px); }
.kp-card-link { display: inline-block; margin-top: auto; padding-top: 28px; color: var(--accent); font-weight: 600; text-decoration: none; transition: color .5s ease; }

/* Pill list of short principles. */
.kp-principles { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.kp-principles li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--kz-border); border-radius: 99px; color: var(--kz-soft); font-size: 14px; }
.kp-principles li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #35d6e8; box-shadow: 0 0 8px #35d6e8; }

/* Legal links in the footer bottom row. */
.kaizen-footer__legal a { color: inherit; text-decoration: none; transition: color .25s ease; }
.kaizen-footer__legal a:hover { color: var(--kz-strong); }

/* Small mono notes must stay small even inside headings (".kp-heading p" is more specific). */
.kp-heading p.kp-note, p.kp-note { margin-top: 12px; color: var(--kz-faint); font: 500 11px/1.5 "IBM Plex Mono", monospace; letter-spacing: .04em; }
/* Footer CTA: size to its label (styles.css fixes it at 210px, which squeezed the arrow circle). */
.kaizen-footer__cta-button { width: auto; padding: 0 16px 0 28px; white-space: nowrap; }
.kaizen-footer__cta-button b { flex: none; width: 40px; height: 40px; }
@media (max-width: 760px) { .kaizen-footer__cta-button { width: 100%; } }
