/* Key To Change Hypnosis: interactive quizzes and games */

.ktc-widget {
	--w-electric: #1463FF;
	--w-cobalt: #0F52D9;
	--w-azure: #1FA2FF;
	--w-sky: #5CC8FF;
	--w-ice: #EEF6FF;
	--w-ink: #0A2A6B;
	--w-muted: #41587E;
	--w-navy: #06163A;
	--w-line: #CFE3FF;
	--w-good: #0E7A4D;
	--w-good-bg: #E6F6EE;
	--w-bad: #B4232A;
	--w-bad-bg: #FDECEC;
	font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
	color: var(--w-ink);
	max-width: 760px;
	margin: 0 auto;
	text-align: left;
}
.ktc-widget *, .ktc-widget *::before, .ktc-widget *::after { box-sizing: border-box; }

.ktc-w-card {
	background: #fff;
	border: 1px solid var(--w-line);
	border-radius: 16px;
	padding: 36px 34px;
	box-shadow: 0 0 0 8px var(--w-ice);
}
@media (max-width: 600px) { .ktc-w-card { padding: 26px 20px; } }

.ktc-widget p { margin: 0 0 14px; padding: 0; color: var(--w-ink); line-height: 1.6; }
.ktc-widget h3, .ktc-widget h4 { margin: 0 0 10px; padding: 0; color: var(--w-ink); }
.ktc-widget h4 { font-family: "Inter", sans-serif; font-weight: 600; font-size: 17px; margin-top: 18px; }
.ktc-widget [tabindex="-1"]:focus { outline: none; }

.ktc-w-progress { margin-bottom: 22px; }
.ktc-w-progress-label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--w-cobalt); margin-bottom: 8px; }
.ktc-w-bar { height: 6px; background: var(--w-ice); border-radius: 99px; overflow: hidden; }
.ktc-w-bar span { display: block; height: 100%; background: var(--w-electric); border-radius: 99px; transition: width .3s ease; }

.ktc-w-statement, .ktc-w-question {
	font-family: "DM Serif Display", Georgia, serif;
	font-size: 27px !important;
	line-height: 1.3 !important;
	margin-bottom: 24px !important;
}
.ktc-w-question { font-size: 24px !important; }

.ktc-w-choices { display: grid; gap: 12px; margin-bottom: 8px; }
.ktc-w-choices-2 { grid-template-columns: 1fr 1fr; }
.ktc-w-choices-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 520px) { .ktc-w-choices-3 { grid-template-columns: 1fr; } }

.ktc-w-choice {
	font: inherit;
	font-size: 17px;
	font-weight: 600;
	color: var(--w-ink);
	background: #fff;
	border: 2px solid var(--w-line);
	border-radius: 12px;
	padding: 16px 18px;
	min-height: 56px;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}
.ktc-w-choice-left { text-align: left; font-weight: 500; }
.ktc-w-choice:hover:not(:disabled) { border-color: var(--w-electric); background: var(--w-ice); }
.ktc-w-choice:focus-visible { outline: 3px solid var(--w-azure); outline-offset: 2px; }
.ktc-w-choice:disabled { cursor: default; opacity: .75; }
.ktc-w-choice.is-correct { border-color: var(--w-good); background: var(--w-good-bg); opacity: 1; }
.ktc-w-choice.is-wrong { border-color: var(--w-bad); background: var(--w-bad-bg); opacity: 1; }

.ktc-w-feedback { margin-top: 18px; }
.ktc-w-verdict { font-weight: 700; font-size: 18px; }
.ktc-w-verdict.is-correct { color: var(--w-good) !important; }
.ktc-w-verdict.is-wrong { color: var(--w-bad) !important; }

.ktc-w-btn, a.ktc-w-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	color: #fff !important;
	text-decoration: none !important;
	background: var(--w-electric);
	border: 2px solid var(--w-electric);
	border-radius: 999px;
	padding: 12px 26px;
	min-height: 48px;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease;
}
.ktc-w-btn:hover:not(:disabled) { background: var(--w-cobalt); border-color: var(--w-cobalt); }
.ktc-w-btn:focus-visible { outline: 3px solid var(--w-azure); outline-offset: 3px; }
.ktc-w-btn:disabled { background: #9DB8E0; border-color: #9DB8E0; cursor: not-allowed; }
.ktc-w-btn-ghost { background: transparent; color: var(--w-cobalt) !important; border-color: var(--w-cobalt); }
.ktc-w-btn-ghost:hover:not(:disabled) { background: var(--w-ice); }

.ktc-w-back { font: inherit; font-size: 15px; color: var(--w-cobalt); background: none; border: 0; padding: 10px 0 0; cursor: pointer; text-decoration: underline; }

.ktc-w-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.ktc-w-actions-center { justify-content: center; }

.ktc-w-eyebrow { font-size: 13px !important; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--w-cobalt) !important; margin-bottom: 8px !important; }
.ktc-w-title { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 34px; line-height: 1.15; }
.ktc-w-lead { font-size: 18px; color: var(--w-muted) !important; }
.ktc-w-score { font-family: "DM Serif Display", Georgia, serif; font-size: 64px !important; line-height: 1 !important; color: var(--w-cobalt) !important; }
.ktc-w-result { text-align: left; }

.ktc-w-tips { list-style: none; padding: 0; margin: 0 0 8px; }
.ktc-w-tips li { position: relative; padding: 0 0 10px 30px; line-height: 1.55; }
.ktc-w-tips li::before {
	content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%;
	border: 3px solid var(--w-azure); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 10px var(--w-cobalt);
}
.ktc-w-callout { background: var(--w-ice); border-radius: 12px; padding: 18px 20px 6px; margin-top: 18px; }
.ktc-w-callout h4 { margin-top: 0; }
.ktc-w-note { font-size: 14px !important; color: var(--w-muted) !important; margin-top: 18px !important; }
.ktc-w-count { margin: 0 !important; font-size: 14px; color: var(--w-muted) !important; }

/* Stress check-in */
.ktc-w-row { border: 0; margin: 0 0 18px; padding: 0 0 18px; border-bottom: 1px solid var(--w-line); }
.ktc-w-row legend { font-weight: 600; font-size: 17px; padding: 0; margin-bottom: 10px; }
.ktc-w-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 560px) { .ktc-w-seg { grid-template-columns: 1fr 1fr; } }
.ktc-w-seg-item { position: relative; }
.ktc-w-seg-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ktc-w-seg-item label {
	display: flex; align-items: center; justify-content: center; text-align: center;
	min-height: 46px; padding: 8px 6px; font-size: 15px; font-weight: 500;
	border: 2px solid var(--w-line); border-radius: 10px; cursor: pointer; color: var(--w-ink);
}
.ktc-w-seg-item input:checked + label { border-color: var(--w-electric); background: var(--w-electric); color: #fff; }
.ktc-w-seg-item input:focus-visible + label { outline: 3px solid var(--w-azure); outline-offset: 2px; }
.ktc-w-seg-item label:hover { border-color: var(--w-electric); }

.ktc-w-bucket {
	position: relative; width: 120px; height: 120px; margin: 6px 0 20px;
	border: 4px solid var(--w-ink); border-top: 0; border-radius: 0 0 26px 26px; overflow: hidden;
	clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
}
.ktc-w-bucket-fill { position: absolute; left: 0; right: 0; bottom: 0; background: var(--w-sky); transition: height .8s ease; }
.ktc-w-bucket-mid .ktc-w-bucket-fill { background: var(--w-azure); }
.ktc-w-bucket-high .ktc-w-bucket-fill { background: var(--w-electric); }

/* Breathing */
.ktc-w-breathe { text-align: center; }
.ktc-w-ripple { position: relative; width: 240px; height: 240px; margin: 4px auto 18px; transform: scale(.62); transition-property: transform; transition-timing-function: ease-in-out; transition-duration: 1.5s; }
.ktc-w-ripple.is-in { transform: scale(1); }
.ktc-w-ripple.is-still, .ktc-w-ripple.is-still.is-in { transform: none; }
.ktc-w-ring, .ktc-w-core { position: absolute; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.ktc-w-ring { border: 4px solid; }
.ktc-w-ring.r3 { width: 240px; height: 240px; border-color: var(--w-sky); }
.ktc-w-ring.r2 { width: 186px; height: 186px; border-color: var(--w-azure); }
.ktc-w-ring.r1 { width: 132px; height: 132px; border-color: #1A84FF; }
.ktc-w-core { width: 84px; height: 84px; background: var(--w-cobalt); }
.ktc-w-phase { font-family: "DM Serif Display", Georgia, serif; font-size: 28px !important; margin-bottom: 4px !important; }
.ktc-w-countdown { font-size: 15px; color: var(--w-muted) !important; min-height: 24px; }
.ktc-w-seg-small { display: inline-flex; gap: 6px; }
.ktc-w-chip { font: inherit; font-size: 15px; font-weight: 600; padding: 10px 16px; min-height: 44px; border-radius: 999px; border: 2px solid var(--w-line); background: #fff; color: var(--w-ink); cursor: pointer; }
.ktc-w-chip.is-on { border-color: var(--w-electric); background: var(--w-ice); color: var(--w-cobalt); }
.ktc-w-chip:focus-visible { outline: 3px solid var(--w-azure); outline-offset: 2px; }

/* Lemon */
.ktc-w-dots { display: flex; gap: 8px; margin-bottom: 18px; }
.ktc-w-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--w-line); }
.ktc-w-dots span.is-on { background: var(--w-electric); }

@media (prefers-reduced-motion: reduce) {
	.ktc-widget * { transition: none !important; }
}
