/* Kerri Douglas Site Pages — every rule is scoped to .kd (or the menu button class) so Kadence and Elementor are left alone. */

.kd {
	--kd-ink: #2B2323;
	--kd-text: #403737;
	--kd-muted: #625856;
	--kd-gold: #7A6230;      /* gold for text: passes contrast on cream and white */
	--kd-gold-deco: #B89A5A; /* decorative only */
	--kd-sand: #D8C493;
	--kd-cream: #F6F1E7;
	--kd-paper: #FFFDF9;
	--kd-line: #EDE5D6;
	--kd-dark-card: #3A2F2F;
	--kd-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--kd-sans: Inter, Arial, Helvetica, sans-serif;
	font-family: var(--kd-sans);
	font-size: 1.125rem;
	line-height: 1.65;
	color: var(--kd-text);
	background: var(--kd-paper);
}
.kd *, .kd *::before, .kd *::after { box-sizing: border-box; }
.kd p { margin: 0; }
.kd a { color: var(--kd-ink); text-underline-offset: .2em; }
.kd a:hover { color: var(--kd-gold); }
.kd a:focus-visible, .kd button:focus-visible, .kd input:focus-visible, .kd select:focus-visible {
	outline: 3px solid var(--kd-gold);
	outline-offset: 3px;
}
.kd .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;
}

/* Layout */
.kd-wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(20px, 4vw, 48px); }
.kd-band { padding-block: clamp(64px, 8vw, 104px); }
.kd-band--short { padding-block: clamp(56px, 6vw, 80px); }
.kd-band--sand { background: var(--kd-cream); }
.kd-band--dark { background: var(--kd-ink); color: #EFE7D8; }
.kd-center { text-align: center; }
.kd-stack { display: flex; flex-direction: column; gap: 16px; }
.kd-stack--lg { gap: 40px; }
.kd-stack--center { align-items: center; }
.kd-split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 56px); }
.kd-split--center { align-items: center; }
.kd-grow { flex: 1 1 480px; }
.kd-col { flex: 1 1 360px; }
.kd-narrow { max-width: 720px; }
.kd-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

/* Type */
.kd-serif { font-family: var(--kd-serif); font-weight: 500; color: var(--kd-ink); line-height: 1.08; margin: 0; }
.kd-h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.kd-h2 { font-size: clamp(2.1rem, 4vw, 3.25rem); }
.kd-h3 { font-size: 2rem; }
.kd-big { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 820px; }
.kd-light { color: var(--kd-paper); }
.kd-gold { color: var(--kd-gold); }
.kd-lead { font-size: 1.25rem; max-width: 600px; }
.kd-small { font-size: 1rem; }
.kd-eyebrow { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--kd-gold); }
.kd-eyebrow--light { color: var(--kd-sand); }
.kd-list { margin: 0; padding-left: 1.25em; display: grid; gap: 6px; }

/* Buttons: at least 48px tall for easy tapping */
.kd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.kd-actions--center { justify-content: center; }
.kd .kd-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
	border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--kd-sans);
	text-decoration: none; text-align: center; cursor: pointer;
}
.kd .kd-btn--dark { background: var(--kd-ink); color: var(--kd-paper); }
.kd .kd-btn--dark:hover { background: #463A3A; color: var(--kd-paper); }
.kd .kd-btn--outline { border-color: var(--kd-ink); color: var(--kd-ink); background: transparent; }
.kd .kd-btn--outline:hover { background: var(--kd-ink); color: var(--kd-paper); }
.kd .kd-btn--sand { background: var(--kd-sand); color: var(--kd-ink); }
.kd .kd-btn--sand:hover { background: #E6D7B0; color: var(--kd-ink); }
.kd .kd-btn--outline-light { border-color: var(--kd-sand); color: var(--kd-paper); }
.kd .kd-btn--outline-light:hover { background: var(--kd-sand); color: var(--kd-ink); }
.kd .kd-btn--block { width: 100%; min-height: 54px; font-size: 1.0625rem; }
.kd-band--dark a:focus-visible { outline-color: var(--kd-sand); }

/* Homepage pieces */
.kd-media { flex: 1 1 380px; }
.kd-portrait { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 24px; display: block; }
.kd-book { flex: 0 1 300px; width: 100%; max-width: 300px; height: auto; border-radius: 8px; box-shadow: 0 12px 32px rgba(43, 35, 35, .18); }
.kd-roles { border-block: 1px solid var(--kd-line); }
.kd-roles ul {
	list-style: none; margin: 0 auto; padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between;
	gap: 12px 24px; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--kd-muted);
}
.kd-card { background: var(--kd-paper); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.kd-card > p:not(.kd-eyebrow) { flex-grow: 1; font-size: 1.0625rem; }
.kd-band:not(.kd-band--sand) .kd-card { border: 1.5px solid var(--kd-line); }
.kd-quote { margin: 0; }
.kd-quote blockquote { margin: 0; font-family: var(--kd-serif); font-size: 1.5rem; line-height: 1.3; color: var(--kd-ink); }
.kd-quote figcaption { font-size: 1rem; color: var(--kd-muted); }
.kd-prices { flex: 1 1 360px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kd-prices li { background: var(--kd-dark-card); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 4px; font-size: .875rem; }
.kd-prices li span:first-child { color: var(--kd-sand); }
.kd-prices strong { font-size: 2.25rem; color: var(--kd-paper); font-weight: 500; }

/* Training page */
.kd-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 1rem; font-weight: 500; color: var(--kd-ink); }
.kd-plan { border: 1.5px solid #E2D7C3; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.kd-plan--featured { border: 2px solid var(--kd-ink); }
.kd-plan .kd-grow { flex: 1 1 auto; }
.kd-price { font-size: 3rem; }
.kd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.kd-steps li { background: var(--kd-paper); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.kd-steps strong { color: var(--kd-ink); }
.kd-num { font-size: 2.25rem; color: var(--kd-gold); }
.kd-soon { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.kd-soon li { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1.5px solid var(--kd-line); border-radius: 14px; padding: 16px 18px; color: var(--kd-ink); font-weight: 500; }
.kd-tag { font-size: .8125rem; font-weight: 600; color: var(--kd-muted); background: var(--kd-cream); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.kd-form-wrap { max-width: 720px; }
.kd-form-wrap input[type="text"], .kd-form-wrap input[type="email"], .kd-form-wrap input[type="password"], .kd-form-wrap select {
	width: 100%; min-height: 52px; border: 1.5px solid #8A7F7C; border-radius: 12px; padding: 0 16px; font: 400 1.0625rem var(--kd-sans); color: var(--kd-ink); background: #fff;
}
.kd-form-wrap label { font-weight: 600; color: var(--kd-ink); }
.kd-form-wrap input[type="submit"] { min-height: 54px; padding: 0 32px; border: 0; border-radius: 999px; background: var(--kd-ink); color: var(--kd-paper); font: 600 1.0625rem var(--kd-sans); cursor: pointer; }

/* My Learning */
.kd-learning { background: var(--kd-cream); }
.kd-login-layout { display: flex; flex-wrap: wrap; gap: 48px; justify-content: center; align-items: flex-start; padding-block: clamp(40px, 6vw, 72px); }
.kd-login-card { flex: 0 1 480px; background: var(--kd-paper); border-radius: 24px; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 24px; }
.kd-form { display: flex; flex-direction: column; gap: 20px; }
.kd-field { display: flex; flex-direction: column; gap: 6px; }
.kd-field label { font-weight: 600; color: var(--kd-ink); }
.kd-field-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 1rem; }
.kd-field input {
	width: 100%; min-height: 52px; border: 1.5px solid #8A7F7C; border-radius: 12px; padding: 0 16px;
	font: 400 1.0625rem var(--kd-sans); color: var(--kd-ink); background: #fff;
}
.kd-password { position: relative; }
.kd-password input { padding-right: 104px; }
.kd .kd-toggle {
	position: absolute; right: 4px; top: 4px; min-height: 44px; min-width: 88px; border: 0; border-radius: 8px;
	background: var(--kd-cream); font: 600 .9375rem var(--kd-sans); color: var(--kd-ink); cursor: pointer;
}
.kd-check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.kd-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--kd-ink); }
.kd-alert { background: #FBEDE9; border: 1.5px solid #A8432E; color: #5C2418; border-radius: 12px; padding: 14px 16px; font-size: 1rem; }
.kd-login-foot { border-top: 1px solid var(--kd-line); padding-top: 20px; font-size: 1rem; }
.kd-help { flex: 0 1 380px; display: flex; flex-direction: column; gap: 16px; }
.kd-help ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.kd-help li { background: var(--kd-paper); border-radius: 16px; padding: 20px; font-size: 1rem; }
.kd-help strong { display: block; color: var(--kd-ink); }
.kd-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.kd-links a { display: inline-flex; min-height: 44px; align-items: center; }

/* Reminder boxes that only Kerri sees when signed in */
.kd-note { border: 1.5px dashed var(--kd-gold-deco); background: #FBF7EE; color: var(--kd-muted); border-radius: 12px; padding: 16px; font-size: .9375rem; margin-block: 16px; }

/* My Learning button in the Kadence header: give the menu item the CSS class "kd-menu-learning" */
.kd-menu-learning > a {
	background: #2B2323 !important; color: #FFFDF9 !important; border-radius: 999px;
	padding: 0 22px !important; min-height: 44px; display: inline-flex !important; align-items: center; font-weight: 600;
}
.kd-menu-learning > a:hover { background: #463A3A !important; }
.kd-menu-learning > a:focus-visible { outline: 3px solid #7A6230; outline-offset: 3px; }

@media (max-width: 600px) {
	.kd { font-size: 1.0625rem; }
	.kd-prices { grid-template-columns: 1fr; }
	.kd-actions .kd-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.kd *, .kd-menu-learning > a { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
