/*
Theme Name: Kura
Theme URI: https://kuralms.io
Author: Kura
Description: The Kura learning platform theme.
Version: 0.1.36
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: kura
*/

:root {
	--k-charcoal: #303841;
	--k-charcoal-2: #3B444E;
	--k-ink: #262C33;
	--k-cream: #F8F2EB;
	--k-sand: #EFE7DD;
	--k-line: #E4DCD2;
	--k-platinum: #EAEAEA;
	--k-white: #FFFFFF;
	--k-muted: #5A6370;
	--k-muted-on-dark: #C9CFD6;
	--k-line-on-dark: #5B6570;
	--k-accent: #C8F169;
	--k-on-accent: #303841;
	--k-danger: #B42318;
	--k-radius: 24px;
	--k-radius-sm: 14px;
	--k-pill: 999px;
	--k-max: 1240px;
	--k-gutter: 24px;
	--k-font-display: 'Sora', system-ui, sans-serif;
	--k-font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--k-cream);
	color: var(--k-charcoal);
	font-family: var(--k-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }

a { color: var(--k-charcoal); text-underline-offset: 3px; }
a:hover { color: #000; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--k-font-display);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.12;
	margin: 0 0 0.5em;
}
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 24px; letter-spacing: -0.01em; }

:focus-visible { outline: 3px solid var(--k-accent); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 12px; left: 12px; padding: 12px 18px; background: var(--k-accent); color: var(--k-on-accent);
	border-radius: var(--k-pill); font-weight: 600;
}

.k-wrap { max-width: var(--k-max); margin: 0 auto; padding: 0 var(--k-gutter); }

/* Buttons */
.k-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border-radius: var(--k-pill);
	font: 600 16px/1 var(--k-font-body); text-decoration: none; cursor: pointer;
	border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.k-btn--accent { background: var(--k-accent); color: var(--k-on-accent); }
.k-btn--accent:hover { background: #B7E64F; color: var(--k-on-accent); }
.k-btn--dark { background: var(--k-charcoal); color: var(--k-cream); }
.k-btn--dark:hover { background: var(--k-ink); color: var(--k-cream); }
.k-btn--ghost-dark { border-color: var(--k-line-on-dark); color: var(--k-cream); }
.k-btn--ghost-dark:hover { border-color: var(--k-cream); color: var(--k-cream); }
.k-btn--ghost { border-color: var(--k-charcoal); color: var(--k-charcoal); background: transparent; }
.k-btn--ghost:hover { background: var(--k-charcoal); color: var(--k-cream); }

.k-eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
	font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--k-muted);
}
.k-eyebrow--accent { color: var(--k-accent); }
.k-eyebrow--accent::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--k-accent); }

/* Header */
.k-header { background: var(--k-cream); border-bottom: 1px solid var(--k-line); position: relative; z-index: 50; }
.k-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; min-height: 76px; }
.k-logo { display: flex; align-items: center; }
.k-logo img { height: 30px; width: auto; display: block; }
.k-nav { flex: 1 1 auto; }
.k-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.k-nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 0; display: inline-block; }
.k-nav .current-menu-item > a, .k-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.k-header__actions { display: flex; align-items: center; gap: 10px; }
.k-header__link { text-decoration: none; font-weight: 500; font-size: 15px; padding: 12px 14px; }
.k-header .k-btn { min-height: 44px; font-size: 15px; padding: 0 20px; }

@media (max-width: 720px) {
	.k-header__inner { padding-top: 10px; padding-bottom: 10px; gap: 6px 12px; min-height: 0; }
	.k-logo img { height: 24px; width: auto; }
	.k-header .k-btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
	.k-nav { order: 3; flex-basis: 100%; }
	.k-nav ul { gap: 0 20px; }
	.k-header__actions { margin-left: auto; }
	.k-header__link { padding: 10px 6px; }
}

/* Generic page shell */
.k-main { min-height: 60vh; }
.k-page { padding-top: 64px; padding-bottom: 96px; }
.k-page__head { margin-bottom: 32px; }
.k-page__head p { color: var(--k-muted); margin: 0; }
.k-card { background: var(--k-white); border: 1px solid var(--k-line); border-radius: var(--k-radius); padding: clamp(24px, 4vw, 48px); }
.k-content > *:first-child { margin-top: 0; }
.k-content p, .k-content li { max-width: 72ch; }
.k-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--k-accent); }
.k-content table { width: 100%; border-collapse: collapse; }
.k-content th, .k-content td { text-align: left; padding: 12px; border-bottom: 1px solid var(--k-line); }

input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="url"],
input[type="tel"], input[type="number"], select, textarea {
	font: 400 16px/1.4 var(--k-font-body); color: var(--k-charcoal);
	background: var(--k-white); border: 1px solid #CFC6BA; border-radius: var(--k-radius-sm);
	padding: 12px 14px; min-height: 48px; max-width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--k-charcoal); box-shadow: 0 0 0 3px rgba(200, 241, 105, .55); }
button, input[type="submit"] { font-family: var(--k-font-body); }

/* Home: hero */
.k-hero { background: var(--k-charcoal); color: var(--k-cream); }
.k-hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 96px; }
.k-hero__copy { flex: 1 1 480px; min-width: 0; }
.k-hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.03em; margin: 0; }
.k-hero h1 span { color: var(--k-accent); }
.k-hero__lede { margin: 28px 0 0; max-width: 520px; font-size: 19px; color: var(--k-muted-on-dark); }
.k-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.k-hero__panel { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.k-tile { background: var(--k-cream); color: var(--k-charcoal); border-radius: 20px; padding: 24px; }
.k-tile__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.k-tile__label { margin: 0; font-size: 13px; font-weight: 600; color: var(--k-muted); }
.k-tile__title { margin: 14px 0 0; font: 600 24px/1.2 var(--k-font-display); }
.k-chip { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: var(--k-pill); background: var(--k-charcoal); color: var(--k-accent); }
.k-bar { height: 8px; border-radius: var(--k-pill); background: var(--k-line); margin-top: 18px; overflow: hidden; }
.k-bar > span { display: block; height: 100%; border-radius: var(--k-pill); background: var(--k-charcoal); }
.k-tile__meta { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--k-muted); }
.k-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.k-stat { background: var(--k-charcoal-2); border-radius: 20px; padding: 22px; }
.k-stat p { margin: 0; font-size: 13px; color: var(--k-muted-on-dark); }
.k-stat strong { display: block; margin-top: 8px; font: 600 40px/1 var(--k-font-display); color: var(--k-cream); }
.k-stat strong.is-accent { color: var(--k-accent); }
.k-stat strong span { font-size: 18px; font-weight: 500; }
.k-stat small { display: block; margin-top: 10px; font-size: 12px; line-height: 1.4; color: var(--k-muted-on-dark); }
.k-hero__example { margin: 6px 0 -4px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--k-muted-on-dark); }

/* Home: sections */
.k-section { padding-top: 104px; padding-bottom: 40px; }
.k-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.k-section__head h2 { max-width: 640px; margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
.k-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.k-path {
	background: var(--k-white); color: var(--k-charcoal); border: 1px solid var(--k-line); border-radius: var(--k-radius);
	padding: 30px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
}
.k-path--dark { background: var(--k-charcoal); color: var(--k-cream); border-color: var(--k-charcoal); }
.k-path--accent { background: var(--k-accent); color: var(--k-on-accent); border-color: var(--k-accent); }
.k-path__top { display: flex; justify-content: space-between; align-items: center; }
.k-path__num { font: 600 14px/1 var(--k-font-display); color: var(--k-muted); }
.k-path--dark .k-path__num { color: var(--k-accent); }
.k-path--accent .k-path__num { color: var(--k-on-accent); }
.k-path__count { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: var(--k-pill); border: 1px solid currentColor; }
.k-path h3 { margin: 26px 0 0; font-size: 28px; line-height: 1.15; }
.k-path p { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: var(--k-muted); }
.k-path--dark p { color: var(--k-muted-on-dark); }
.k-path--accent p { color: var(--k-on-accent); }
.k-path .k-btn { align-self: flex-start; min-height: 44px; font-size: 15px; padding: 0 18px; }
.k-path__img { display: block; width: calc(100% + 60px); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: -30px -30px -6px; border-radius: var(--k-radius) var(--k-radius) 0 0; }

.k-steps { background: var(--k-white); border: 1px solid var(--k-line); border-radius: 32px; padding: clamp(32px, 5vw, 64px); }
.k-steps h2 { max-width: 720px; font-size: clamp(32px, 4vw, 48px); }
.k-steps__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-top: 48px; }
.k-step { border-top: 2px solid var(--k-charcoal); padding-top: 22px; }
.k-step__n { margin: 0; font: 600 44px/1 var(--k-font-display); }
.k-step h3 { margin: 18px 0 0; font-size: 22px; }
.k-step p { margin: 10px 0 0; color: var(--k-muted); }
.k-features { padding-top: 18px; padding-bottom: 80px; }
.k-feature { padding: 28px; border-radius: var(--k-radius); background: var(--k-sand); }
.k-feature h3 { margin: 0; font-size: 19px; }
.k-feature p { margin: 10px 0 0; font-size: 15px; color: #4F5864; }

.k-band { background: var(--k-charcoal); color: var(--k-cream); }
.k-band__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: space-between; padding-top: 96px; padding-bottom: 96px; }
.k-band h2 { margin: 0; font-size: clamp(34px, 4.5vw, 56px); line-height: 1.05; }
.k-band h2 span { color: var(--k-accent); }
.k-band p { margin: 22px 0 0; max-width: 520px; font-size: 18px; color: var(--k-muted-on-dark); }
.k-band__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.k-footer { background: var(--k-ink); color: var(--k-muted-on-dark); }
.k-footer__inner { display: flex; flex-wrap: wrap; gap: 24px 32px; justify-content: space-between; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.k-footer img { height: 28px; width: auto; display: block; mix-blend-mode: screen; }
.k-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; }
.k-footer a { color: var(--k-muted-on-dark); text-decoration: none; }
.k-footer a:hover { color: var(--k-cream); }
.k-footer p { margin: 0; font-size: 14px; }

/* WordPress basics */
.alignwide { max-width: calc(var(--k-max) - 2 * var(--k-gutter)); }
.alignfull { width: 100%; }
.wp-block-button__link { border-radius: var(--k-pill); background: var(--k-charcoal); color: var(--k-cream); font-weight: 600; }
.k-pagination { display: flex; gap: 8px; margin-top: 40px; }
.k-pagination .page-numbers { padding: 10px 16px; border-radius: var(--k-pill); border: 1px solid var(--k-line); text-decoration: none; }
.k-pagination .current { background: var(--k-charcoal); color: var(--k-cream); border-color: var(--k-charcoal); }

/* Slider (galleries with the Slider style) */
.wp-block-gallery.is-style-kura-slider { display: block !important; position: relative; margin: 28px 0; }
.wp-block-gallery.is-style-kura-slider:focus-visible { outline: 3px solid var(--k-accent); outline-offset: 4px; }
.k-slider__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: var(--k-ink); }
.wp-block-gallery.is-style-kura-slider .k-slider__slide {
	position: absolute !important; inset: 0; margin: 0 !important; width: 100% !important; height: 100%;
	opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.wp-block-gallery.is-style-kura-slider .k-slider__slide.is-active { opacity: 1; pointer-events: auto; }
.wp-block-gallery.is-style-kura-slider .k-slider__slide img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; }
.k-slider__arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
	width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
	border: 0; border-radius: 10px; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer;
}
.k-slider__arrow:hover { background: rgba(0, 0, 0, .8); }
.k-slider__arrow:focus-visible { outline: 3px solid var(--k-accent); }
.k-slider__arrow--prev { left: 12px; }
.k-slider__arrow--next { right: 12px; }
.k-slider__dots { display: flex; justify-content: center; gap: 4px; margin-top: 12px; }
.k-slider__dot { width: 24px; height: 24px; border: 0; padding: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.k-slider__dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #000; opacity: .25; transition: opacity .2s; }
.k-slider__dot.is-active::before { opacity: .85; }

/* Course overview header with the course image */
.k-course-hero {
	position: relative; color: var(--k-cream);
	background: linear-gradient(90deg, rgba(38, 44, 51, .94) 0%, rgba(38, 44, 51, .8) 45%, rgba(38, 44, 51, .35) 100%), var(--k-hero-img) center / cover no-repeat var(--k-ink);
}
.k-course-hero__inner { min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 72px; padding-bottom: 56px; }
.k-course-hero h1 { margin: 0; max-width: 820px; font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.03em; color: var(--k-cream); }
.k-page--after-hero { padding-top: 40px; }
@media (max-width: 720px) { .k-course-hero__inner { min-height: 260px; padding-top: 48px; padding-bottom: 36px; } }

/* On brand: primary buttons in the site header use the accent too. */
.k-header .k-btn--dark { background: var(--k-accent); color: var(--k-on-accent); }
.k-header .k-btn--dark:hover { background: #B7E64F; color: var(--k-on-accent); }

/* ── Pathway page for visitors (template-parts/pathway-sales.php) ── */
.k-pathway-hero {
	background: linear-gradient(90deg, rgba(38, 44, 51, .95) 0%, rgba(38, 44, 51, .84) 50%, rgba(38, 44, 51, .45) 100%), var(--k-hero-img, none) center / cover no-repeat var(--k-ink);
}
.k-pathway-hero__inner { padding-top: 80px; padding-bottom: 72px; }
.k-pathway-hero h1 { margin: 0; max-width: 860px; font-size: clamp(34px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.03em; color: var(--k-cream); overflow-wrap: anywhere; }
.k-pathway-hero__lede { margin: 24px 0 0; max-width: 640px; font-size: 19px; color: var(--k-muted-on-dark); }
.k-facts { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.k-facts li { padding: 9px 16px; border: 1px solid var(--k-line-on-dark); border-radius: var(--k-pill); background: rgba(38, 44, 51, .55); font-size: 15px; line-height: 1.3; color: var(--k-cream); }
.k-facts strong { font: 600 16px/1 var(--k-font-display); color: var(--k-accent); }
@media (max-width: 720px) {
	.k-pathway-hero { background: linear-gradient(180deg, rgba(38, 44, 51, .82) 0%, rgba(38, 44, 51, .96) 60%), var(--k-hero-img, none) center top / cover no-repeat var(--k-ink); }
	.k-pathway-hero__inner { padding-top: 48px; padding-bottom: 48px; }
	.k-pathway-hero__lede { font-size: 17px; }
	.k-facts li { font-size: 14px; padding: 8px 12px; }
}
.k-pathway-section { padding-top: 88px; padding-bottom: 0; }
.k-section__note { margin: 0; max-width: 440px; color: var(--k-muted); font-size: 16px; }

.k-modules { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.k-module { background: var(--k-white); border: 1px solid var(--k-line); border-radius: 18px; }
.k-module__head { margin: 0; font-size: inherit; letter-spacing: 0; }
.k-module__toggle {
	width: 100%; display: flex; align-items: center; gap: 18px; padding: 20px 24px; margin: 0;
	background: transparent; border: 0; border-radius: 18px; color: var(--k-charcoal); text-align: left; cursor: pointer;
	font: 600 19px/1.3 var(--k-font-display); letter-spacing: -0.01em;
}
.k-module__toggle:hover .k-module__title { text-decoration: underline; text-underline-offset: 4px; }
.k-module__num { flex: 0 0 auto; font-size: 14px; color: var(--k-muted); min-width: 22px; }
.k-module__title { flex: 1 1 auto; min-width: 0; }
.k-module__meta { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }
.k-module__count { font: 500 14px/1 var(--k-font-body); color: var(--k-muted); white-space: nowrap; }
.k-module__chev { flex: 0 0 auto; }
.k-module__toggle[aria-expanded="true"] .k-module__chev { transform: rotate(180deg); }
.k-module__body { padding: 0 24px 24px 64px; }
.k-module__sections { margin: 0; padding: 0 0 0 20px; columns: 2 280px; column-gap: 40px; font-size: 15px; color: #4F5864; }
.k-module__sections li { margin: 0 0 8px; break-inside: avoid; padding-left: 4px; }
.k-module__sections li::marker { color: var(--k-muted); font-size: 13px; }
.k-module__cta { margin-top: 16px; min-height: 44px; font-size: 15px; }
.k-chip--accent { background: var(--k-accent); color: var(--k-on-accent); font-family: var(--k-font-body); white-space: nowrap; }
@media (max-width: 600px) {
	.k-module__toggle { flex-wrap: wrap; gap: 6px 12px; padding: 16px 18px; font-size: 17px; }
	.k-module__title { flex-basis: calc(100% - 40px); }
	.k-module__meta { width: 100%; padding-left: 34px; }
	.k-module__chev { margin-left: auto; }
	.k-module__body { padding: 0 18px 20px 18px; }
}

.k-caps h2 { margin-bottom: 0; }
.k-caps__head { margin: 36px 0 16px; font-size: 18px; letter-spacing: 0; }
.k-caps__list { list-style: none; margin: 0; padding: 0; columns: 3 250px; column-gap: 32px; }
.k-caps__list li { position: relative; break-inside: avoid; margin: 0 0 12px; padding-left: 30px; font-size: 15px; line-height: 1.45; }
.k-caps__list li::before {
	content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--k-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23303841' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.k-caps__list.is-collapsed .is-more { display: none; }
.k-caps__more { margin-top: 8px; min-height: 44px; font-size: 15px; }
.k-caps__ways { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.k-caps__ways li { padding: 9px 16px; border-radius: var(--k-pill); background: var(--k-sand); font-size: 15px; line-height: 1.35; }
.k-caps__note { margin: 32px 0 0; max-width: 640px; font-size: 15px; color: var(--k-muted); }

.k-sample { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding: clamp(28px, 4vw, 48px); border-radius: var(--k-radius); background: var(--k-sand); }
.k-sample > div { flex: 1 1 420px; min-width: 0; }
.k-sample h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); }
.k-sample p:not(.k-eyebrow) { margin: 12px 0 0; max-width: 560px; color: #4F5864; }
.k-band--pathway { margin-top: 104px; }

/* Visible focus on light surfaces (the Volt outline is too faint on white). */
.k-module__toggle:focus-visible, .k-caps__more:focus-visible, .k-sample .k-btn:focus-visible, .k-module__cta:focus-visible,
.k-how__card:focus-visible, .k-how__shot:focus-visible, .k-how__nav .k-btn:focus-visible, .k-sample-bar .k-btn:focus-visible, .k-how__panel:focus-visible {
	outline: 3px solid var(--k-charcoal); outline-offset: 3px; box-shadow: 0 0 0 6px var(--k-accent);
}

/* Sample module/section for visitors (focus mode) */
.k-sample-bar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
	margin: 0 0 28px; padding: 16px 20px; border-radius: 18px; background: var(--k-white); border: 1px solid var(--k-line);
	font-family: var(--k-font-body); color: var(--k-charcoal);
}
.k-sample-bar--end { margin: 48px 0 8px; background: var(--k-charcoal); border-color: var(--k-charcoal); color: var(--k-cream); }
.k-sample-bar__copy { flex: 1 1 320px; min-width: 0; }
.k-sample-bar__eyebrow { margin: 0 0 2px !important; font-size: 12px !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--k-muted); }
.k-sample-bar--end .k-sample-bar__eyebrow { color: var(--k-accent); }
.k-sample-bar__text { margin: 0 !important; font-size: 15px !important; line-height: 1.45 !important; }
.k-sample-bar__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.learndash-wrapper .k-sample-bar .k-btn { min-height: 44px; padding: 0 18px; font-size: 15px; text-decoration: none; }
.learndash-wrapper .k-sample-bar .k-btn--dark { color: var(--k-cream); }
.learndash-wrapper .k-sample-bar .k-btn--ghost { color: var(--k-charcoal); }
.learndash-wrapper .k-sample-bar .k-btn--ghost:hover { color: var(--k-cream); }
.learndash-wrapper .k-sample-bar--end .k-btn--ghost { border-color: var(--k-line-on-dark); color: var(--k-cream); }
.learndash-wrapper .k-sample-bar--end .k-btn--dark { background: var(--k-accent); color: var(--k-on-accent); }

/* ── Home: How it works ── */
.k-how__lede { margin: 0; max-width: 620px; color: var(--k-muted); font-size: 18px; }
.k-how__progress, .k-how__status { display: none; }
.k-how__grid { margin-top: 40px; }
.k-how__card-wrap { margin: 0 0 10px; font-size: inherit; letter-spacing: 0; }
.k-how__card {
	width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin: 0;
	background: var(--k-white); border: 1px solid var(--k-line); border-radius: 16px; color: var(--k-charcoal);
	text-align: left; cursor: pointer; font-family: var(--k-font-body);
}
.k-how__card:hover { border-color: var(--k-charcoal); }
.k-how__n {
	flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	border: 1.5px solid var(--k-charcoal); font: 600 15px/1 var(--k-font-display);
}
.k-how__card-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.k-how__card-title { font: 600 17px/1.25 var(--k-font-display); letter-spacing: -0.01em; }
.k-how__card-short { font-size: 14px; line-height: 1.35; color: var(--k-muted); }
.k-how__card.is-done .k-how__n { background: var(--k-charcoal); color: var(--k-cream); }
.k-how__card.is-active { background: var(--k-charcoal); border-color: var(--k-charcoal); color: var(--k-cream); }
.k-how__card.is-active .k-how__n { background: var(--k-accent); border-color: var(--k-accent); color: var(--k-on-accent); }
.k-how__card.is-active .k-how__card-short { color: var(--k-muted-on-dark); }

.k-how__panel { margin: 0 0 18px; padding: clamp(20px, 3vw, 32px); border-radius: 20px; background: var(--k-cream); border: 1px solid var(--k-line); min-width: 0; }
.k-how__panel[hidden] { display: none; }
.k-how__step { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--k-muted); }
.k-how__title { margin: 8px 0 12px; font: 600 clamp(24px, 2.6vw, 32px)/1.15 var(--k-font-display); letter-spacing: -0.02em; }
.k-how__detail > p:not(.k-how__step):not(.k-how__title) { margin: 0 0 8px; max-width: 640px; color: #4F5864; font-size: 16px; }
.k-how__bullets { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.k-how__bullets li { position: relative; padding-left: 30px; font-size: 15px; font-weight: 500; line-height: 1.45; }
.k-how__bullets li::before {
	content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--k-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23303841' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.k-how__shot {
	position: relative; display: block; width: 100%; margin: 24px 0 0; padding: 0; border: 1px solid var(--k-line); border-radius: 14px;
	overflow: hidden; background: var(--k-white); cursor: zoom-in; box-shadow: 0 12px 32px -18px rgba(38, 44, 51, .45);
}
.k-how__shot img { display: block; width: 100%; height: auto; }
.k-how__zoom {
	position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; background: var(--k-charcoal); color: var(--k-accent);
}
.k-how__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 24px; }
.k-how__nav .k-btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.k-how__nav .k-btn[disabled] { opacity: .4; cursor: default; pointer-events: none; }

#how.is-interactive .k-how__progress { display: block; height: 6px; margin-top: 32px; border-radius: var(--k-pill); background: var(--k-line); overflow: hidden; }
#how.is-interactive .k-how__progress-bar { display: block; height: 100%; width: 12.5%; border-radius: var(--k-pill); background: var(--k-charcoal); }
#how.is-interactive .k-how__status { display: block; margin: 10px 0 0; font-size: 14px; font-weight: 600; color: var(--k-muted); }
#how.is-interactive .k-how__grid { margin-top: 24px; }

@media (min-width: 960px) {
	#how.is-interactive .k-how__grid {
		display: grid; grid-template-columns: minmax(260px, 330px) minmax(0, 1fr); grid-template-rows: repeat(8, auto) 1fr;
		column-gap: 32px; align-items: start;
	}
	#how.is-interactive .k-how__card-wrap { grid-column: 1; grid-row: var(--k-row); }
	#how.is-interactive .k-how__panel { grid-column: 2; grid-row: 1 / span 9; margin: 0; }
}

@media (prefers-reduced-motion: no-preference) {
	#how.is-interactive .k-how__progress-bar { transition: width .35s ease; }
	.k-how__card { transition: background-color .2s, border-color .2s, color .2s; }
	#how.is-interactive .k-how__panel:not([hidden]) { animation: k-how-in .3s ease; }
	.k-module__chev { transition: transform .2s; }
}
@keyframes k-how-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.k-lightbox { padding: 0; border: 0; border-radius: 16px; background: var(--k-ink); max-width: min(1400px, 96vw); max-height: 94vh; overflow: hidden; }
.k-lightbox::backdrop { background: rgba(38, 44, 51, .82); }
.k-lightbox__img { display: block; max-width: min(1400px, 96vw); max-height: 94vh; width: auto; height: auto; object-fit: contain; }
.k-lightbox__close {
	position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; background: var(--k-charcoal); color: var(--k-cream); cursor: pointer;
}
.k-lightbox__close:focus-visible { outline: 3px solid var(--k-accent); outline-offset: 2px; }
.learndash-wrapper .ld-focus .ld-status-unlocked, .learndash-wrapper .ld-focus .ld-icon-unlocked { color: var(--k-charcoal) !important; }
.k-how__shots { margin-top: 24px; display: grid; gap: 14px; }
.k-how__shots .k-how__shot { margin: 0; }
