/* Keyz Music Lessons – additions for the PHP site (contact form, gallery). Theme styles live in theme.css. */

/* ---------- Contact form ---------- */
.kz-form-wrap { max-width: 820px; margin: 0 auto 30px; font-family: 'Open Sans', Arial, sans-serif; }
.kz-form { background: #fff; border: 1px solid #E3E3E3; border-radius: 14px; padding: 28px; box-sizing: border-box; }
.kz-row { display: flex; gap: 20px; flex-wrap: wrap; }
.kz-row > .kz-field { flex: 1 1 240px; }
.kz-field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.kz-field label, .kz-field legend, .kz-label-block { display: block; font-weight: 600; color: #12285A; margin-bottom: 6px; font-size: 15px; padding: 0; }
.kz-req { color: #c0392b; }
.kz-field input[type=text], .kz-field input[type=email], .kz-field input[type=tel], .kz-field input[type=number], .kz-field textarea {
    width: 100%; padding: 10px 12px; border: 1px solid #c9cdd6; border-radius: 8px; font: inherit; color: #222; background: #fff;
    box-sizing: border-box; min-height: 44px; box-shadow: none;
}
.kz-field textarea { min-height: 130px; resize: vertical; }
.kz-field input:focus, .kz-field textarea:focus { outline: 2px solid #12285A; outline-offset: 0; border-color: #12285A; }
.kz-age input { max-width: 160px; }
.kz-radio, .kz-check { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0; cursor: pointer; font-weight: 400 !important; line-height: 1.4; }
.kz-radio input, .kz-check input { margin-top: 4px; flex: 0 0 auto; }
.kz-radio-group { margin-bottom: 18px; }
.kz-note-text { font-size: 13.5px; color: #555; margin: 4px 0 16px; }
.kz-count { display: block; text-align: right; font-size: 12px; color: #777; margin-top: 2px; }
.kz-terms-box { max-height: 190px; overflow: auto; border: 1px solid #E3E3E3; background: #F7F8FA; border-radius: 8px; padding: 12px 14px; font-size: 13.5px; line-height: 1.5; margin-bottom: 10px; }
.kz-terms-box p { margin: 0 0 10px; }
.kz-error { display: block; color: #b3261e; font-size: 13px; margin-top: 4px; }
.kz-alert { background: #fdecea; border: 1px solid #f5c2be; color: #8a1c14; padding: 12px 14px; border-radius: 8px; margin-bottom: 18px; }
.kz-success { background: #eaf6ee; border: 1px solid #b7dfc3; color: #1d5a30; padding: 24px; border-radius: 12px; text-align: center; }
.kz-success h3 { margin-top: 0; color: #1d5a30; }
.kz-submit { background: #12285A; color: #fff; border: 0; border-radius: 8px; padding: 12px 30px; font-weight: 700; font-size: 16px; cursor: pointer; }
.kz-submit:hover, .kz-submit:focus { background: #3b82d6; }
.kz-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .kz-form { padding: 18px; } .kz-row { gap: 0; } }

/* ---------- Photo gallery ---------- */
.kz-gallery { column-count: 5; column-gap: 2px; max-width: 1254px; margin: 0 auto; }
.kz-gallery-item { display: block; break-inside: avoid; margin: 0 0 2px; overflow: hidden; border-radius: 4px; background: rgba(0,0,0,.3); }
.kz-gallery-item img { width: 100%; height: auto; display: block; transition: transform .3s; }
@media (hover: hover) { .kz-gallery-item:hover img { transform: scale(1.06); } }
@media (max-width: 800px) { .kz-gallery { column-count: 3; } }
@media (max-width: 480px) { .kz-gallery { column-count: 2; } }

/* Flashcards game: full-screen app mode (no site header/footer) */
body.app-bare{background:#d9dee3;margin:0;padding:0}
body.app-bare #page,body.app-bare #content,body.app-bare #content-inside,body.app-bare #primary,body.app-bare #main{margin:0;padding:0;max-width:none;width:100%;float:none}
body.app-bare #content-inside{display:block}
body.app-bare #page{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body.app-bare #content{flex:1;display:flex}
body.app-bare #content-inside{flex:1;display:flex;align-items:center;justify-content:center}
body.app-bare #primary{display:flex;justify-content:center}
body.app-bare article,body.app-bare .entry-content{margin:0;padding:0;width:100%}
body.app-bare .entry-header,body.app-bare .entry-content>p:empty{display:none}
body.app-bare .mnq-quiz{margin:0 auto;min-height:100vh;min-height:100dvh;border-radius:0;border:0;box-shadow:none;padding-top:max(1rem,env(safe-area-inset-top));padding-bottom:max(1.25rem,env(safe-area-inset-bottom))}
@media (min-width:700px){
  body.app-bare .mnq-quiz{min-height:0;margin:1.5rem auto;border:1px solid #cfcfcf;border-radius:14px;box-shadow:0 8px 30px rgb(0 0 0 / .15)}
  body.app-bare #content-inside{padding:0 1rem}
}
/* Site footer: contact line centred, light grey, one tidy row */
#footer-widgets.footer-widgets{padding:34px 0 28px}
#footer-widgets .row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.5rem 3rem;margin:0}
#footer-widgets .row:before,#footer-widgets .row:after{display:none}
#footer-widgets .footer-column{flex:0 0 auto;width:auto;max-width:none;float:none;padding:0;text-align:center}
#footer-widgets #footer-4{display:none}
#footer-widgets .footer-widget{margin:0;padding:0;text-align:center}
#footer-widgets .footer-widget h3,#footer-widgets .footer-widget .wp-block-heading{margin:0;color:#c8c8c8;font-size:15px;font-weight:400;letter-spacing:.05em;line-height:1.6;text-align:center}
@media (max-width:767px){
  #footer-widgets.footer-widgets{padding:26px 16px 22px}
  #footer-widgets .row{flex-direction:column;gap:.35rem}
}
/* Header menu: smaller and calmer (was 22px) */
#site-navigation .onepress-menu>li>a{font-size:15px;font-weight:500;letter-spacing:.06em}
#site-navigation .onepress-menu .sub-menu a{font-size:13px;font-weight:500;letter-spacing:.05em}
@media (max-width:1139px){#site-navigation .onepress-menu>li>a{font-size:16px}}

/* Homepage: one font (Poppins) and one size scale so every section matches */
body.home .entry-content h1,body.home .entry-content h2,body.home .entry-content h3,body.home .entry-content h4,
body.home .entry-content p,body.home .entry-content a,body.home .entry-content li,body.home .entry-content span,
body.home .entry-content strong,body.home .entry-content button{font-family:'Poppins','Open Sans',Arial,sans-serif !important}
body.home .entry-content .kz-hero-title{font-size:24px !important;font-weight:700 !important;letter-spacing:.03em;line-height:1.35 !important}
body.home .entry-content h3{color:#12285A !important;font-size:19px !important;font-weight:600 !important;text-transform:none !important;letter-spacing:0 !important;line-height:1.35 !important}
body.home .entry-content p{font-size:15px !important;font-weight:400 !important;line-height:1.7 !important}
body.home .entry-content .kz-about-faq-card p,body.home .entry-content .kz-blog-row p{font-size:14px !important;line-height:1.6 !important}
body.home .entry-content .kz-about-faq-card a,body.home .entry-content .kz-about-faq-card span,
body.home .entry-content .kz-blog-btn,body.home .entry-content .kz-contact-row a{font-size:14px !important;font-weight:600 !important;letter-spacing:.01em}
body.home .entry-content .kz-tick-label{font-size:13.5px !important;font-weight:600 !important;letter-spacing:.01em;line-height:1.4 !important}
/* Homepage: no breadcrumb bar (it only said Home) */
body.home .breadcrumbs{display:none}

/* Buy page (PayFast form): details card + benefits panel */
.kz-buy-card { display: flex; flex-wrap: wrap; max-width: 860px; margin: 24px auto 30px; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 34px rgba(47,85,120,.16); background: #fff; font-family: 'Open Sans', Arial, sans-serif; }
.kz-buy-side { flex: 1 1 300px; background: radial-gradient(circle at 88% 10%, rgba(212,187,92,.30), transparent 46%), linear-gradient(135deg, #12285A 0%, #3b82d6 100%); color: #fff; padding: 34px 30px; box-sizing: border-box; }
.kz-buy-side h3 { color: #fff; margin: 12px 0 6px; font-size: 24px; line-height: 1.25; }
.kz-buy-badge { display: inline-block; background: #d99a00; color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; }
.kz-buy-price { font-size: 52px; font-weight: 800; line-height: 1; margin: 14px 0 4px; color: #fff; }
.kz-buy-price span { font-size: 24px; font-weight: 700; vertical-align: top; margin-right: 3px; position: relative; top: 6px; }
.kz-buy-term-side { color: #FFD95A; font-weight: 700; margin: 0 0 20px; font-size: 15px; }
.kz-buy-list { list-style: none; margin: 0; padding: 0; }
.kz-buy-list li { position: relative; padding: 0 0 0 28px; margin: 0 0 11px; font-size: 14.5px; line-height: 1.45; color: #E3F0FC; }
.kz-buy-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #d99a00; color: #fff; font-weight: 700; font-size: 12px; line-height: 20px; text-align: center; }
.kz-form.kz-buy { flex: 1 1 340px; border: 0; border-radius: 0; padding: 34px 30px; background: #ececec; }
.kz-buy-title { margin: 0 0 20px; color: #3b82d6; font-size: 20px; }
.kz-buy .kz-submit { width: 100%; padding: 15px 20px; font-size: 17px; border-radius: 10px; background: #12285A; box-shadow: 0 4px 12px rgba(34,34,34,.2); transition: transform .15s, background .15s; }
.kz-buy .kz-submit:hover, .kz-buy .kz-submit:focus { transform: translateY(-1px); }
.kz-buy-term { text-align: center; margin: 12px 0 0; font-weight: 700; font-size: 16px; color: #3b82d6; }
.kz-buy-secure { text-align: center; margin: 6px 0 0; font-size: 13px; color: #666; }
@media (max-width: 600px) { .kz-buy-side, .kz-form.kz-buy { padding: 24px 20px; } .kz-buy-price { font-size: 44px; } }.kz-buy-ai { background: rgba(173,147,55,.28); border: 1px solid #d99a00; border-radius: 12px; padding: 14px 16px; margin: 0 0 20px; }
.kz-buy-ai-tag { display: block; color: #FFF0B0; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 5px; }
.kz-buy-ai strong { display: block; color: #fff; font-size: 16px; line-height: 1.3; margin-bottom: 4px; }
.kz-buy-ai span:last-child { display: block; color: #E3F0FC; font-size: 14px; line-height: 1.45; }
/* Buy page: compact layout, device strip */
.kz-buy-card { max-width: 900px; margin: 18px auto 24px; }
.kz-buy-side { padding: 22px 24px; flex: 1 1 320px; }
.kz-form.kz-buy { padding: 22px 24px; flex: 1 1 340px; }
.kz-buy-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.kz-buy-head h3 { margin: 8px 0 0; font-size: 20px; }
.kz-buy-pricebox { text-align: right; flex: 0 0 auto; }
.kz-buy-pricebox .kz-buy-price { font-size: 38px; margin: 0; }
.kz-buy-pricebox .kz-buy-price span { font-size: 18px; top: 4px; }
.kz-buy-pricebox .kz-buy-term-side { margin: 4px 0 0; font-size: 13px; }
.kz-buy-ai { padding: 11px 14px; margin: 0 0 14px; }
.kz-buy-ai strong { font-size: 15px; }
.kz-buy-ai span:last-child { font-size: 13px; }
.kz-buy-devices { background: rgba(255,255,255,.08); border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; }
.kz-buy-dev { list-style: none; display: flex; gap: 8px; margin: 0 0 10px; padding: 0; }
.kz-buy-dev li { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 4px; background: rgba(255,255,255,.1); border-radius: 10px; padding: 8px 4px; font-size: 12.5px; font-weight: 600; color: #fff; margin: 0; }
.kz-buy-dev svg { width: 24px; height: 24px; fill: none; stroke: #FFF0B0; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.kz-buy-devices p { margin: 0; color: #E3F0FC; font-size: 13px; line-height: 1.45; }
.kz-buy-devices p strong { color: #fff; }
.kz-buy-list li { margin: 0 0 7px; font-size: 13.5px; }
.kz-buy-list li:last-child { margin-bottom: 0; }
.kz-buy-title { margin: 0 0 14px; font-size: 18px; }
.kz-buy-row { display: flex; gap: 12px; }
.kz-buy-row > .kz-field { flex: 1 1 0; min-width: 0; }
.kz-buy .kz-field { margin: 0 0 12px; }
.kz-buy .kz-field label { margin-bottom: 4px; font-size: 14px; }
.kz-buy .kz-field input[type=text], .kz-buy .kz-field input[type=email], .kz-buy .kz-field input[type=tel] { padding: 9px 11px; }
.kz-buy .kz-note-text { margin: 0 0 12px; font-size: 12.5px; }
.kz-buy .kz-submit { padding: 13px 20px; }
.kz-buy-term { margin: 10px 0 0; }
@media (max-width: 600px) { .kz-buy-row { flex-direction: column; gap: 0; } .kz-buy-side, .kz-form.kz-buy { padding: 18px 16px; } .kz-buy-pricebox .kz-buy-price { font-size: 34px; } }

.kz-buy-card .kz-buy-devices .kz-buy-dev { margin: 0 0 10px; }
.kz-buy-card .kz-buy-side .kz-buy-list { margin: 0; }

/* Buy page: three-option selector */
.kz-buy-opts { display: flex; gap: 8px; margin: 0 0 16px; }
.kz-opt { flex: 1 1 0; min-width: 0; margin: 0; cursor: pointer; position: relative; display: block; }
.kz-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.kz-opt-in { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 10px 6px; border: 2px solid #d5dbe8; border-radius: 12px; background: #fff; text-align: center; transition: border-color .15s, background .15s, box-shadow .15s; }
.kz-opt-in strong { font-size: 14px; color: #3b82d6; line-height: 1.2; }
.kz-opt-in em { font-style: normal; font-size: 17px; font-weight: 700; color: #3b82d6; }
.kz-opt:hover .kz-opt-in { border-color: #d99a00; }
.kz-opt input:checked + .kz-opt-in { border-color: #d99a00; background: #fff; box-shadow: 0 0 0 3px rgba(173,147,55,.3); }
.kz-opt input:focus-visible + .kz-opt-in { outline: 2px solid #12285A; outline-offset: 2px; }
.kz-buy .kz-buy-title { margin: 0 0 10px; }
@media (max-width: 600px) { .kz-opt-in { padding: 9px 4px; } .kz-opt-in strong { font-size: 13px; } .kz-opt-in em { font-size: 15px; } }

/* Homepage advert: Music Flashcard Game */
.kz-ad { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: center; margin: 8px 0 34px; padding: 34px 34px; border-radius: 18px; overflow: hidden; color: #fff;
    background: radial-gradient(circle at 92% 12%, rgba(212,187,92,.28), transparent 46%), linear-gradient(135deg, #12285A 0%, #3b82d6 100%); box-shadow: 0 14px 34px rgba(47,85,120,.28); }
.kz-ad::before { content: "\266B  \266A  \2669  \266B  \266A"; position: absolute; left: 22px; bottom: 6px; font-size: 40px; letter-spacing: 14px; color: rgba(255,255,255,.07); pointer-events: none; }
.kz-ad-text, .kz-ad-card { position: relative; z-index: 1; }
.kz-ad .kz-ad-tag { display: inline-block; background: #FFD95A; color: #12285A; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; margin: 0 0 12px; }
.kz-ad h2 { margin: 0 0 12px; color: #fff !important; font-size: 27px; line-height: 1.22; text-align: left; }
.kz-ad .kz-ad-lead { margin: 0 0 14px; color: #E3F0FC; font-size: 15.5px; line-height: 1.55; text-align: left; }
.kz-ad .kz-ad-lead strong { color: #fff; }
.kz-ad ul.kz-ad-points { list-style: none; margin: 0 0 20px; padding: 0; }
.kz-ad ul.kz-ad-points li { position: relative; margin: 0 0 7px; padding-left: 26px; color: #fff; font-size: 14.5px; text-align: left; }
.kz-ad ul.kz-ad-points li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: #FFD95A; color: #12285A; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.kz-ad-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.kz-ad a.kz-ad-btn { display: inline-block; background: #FFD95A; color: #12285A; font-weight: 800; font-size: 16px; padding: 14px 26px; border-radius: 12px; text-decoration: none; box-shadow: 0 6px 16px rgba(0,0,0,.25); transition: transform .15s, box-shadow .15s, background .15s; }
.kz-ad a.kz-ad-btn:hover { background: #ffc85a; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.3); }
.kz-ad a.kz-ad-btn.kz-ad-try { background: transparent; color: #fff; border: 2px solid #FFD95A; padding: 12px 24px; box-shadow: none; }
.kz-ad a.kz-ad-btn.kz-ad-try:hover { background: rgba(212,187,92,.16); color: #fff; box-shadow: none; }
.kz-ad-price { color: #E3F0FC; font-size: 14px; line-height: 1.3; }
.kz-ad-price strong { display: block; color: #fff; font-size: 24px; }
.kz-ad-price small { font-size: 12.5px; color: #c9d3e8; }
.kz-ad-card { margin: 0; text-align: center; }
.kz-ad-card img { display: block; width: 100%; max-width: 330px; height: auto; margin: 0 auto; border-radius: 16px; background: #fff; box-shadow: 0 16px 34px rgba(0,0,0,.4); transform: rotate(2deg); transition: transform .25s; }
.kz-ad:hover .kz-ad-card img { transform: rotate(0) scale(1.02); }
.kz-ad-card figcaption { margin-top: 14px; font-size: 12.5px; color: #c9d3e8; font-style: italic; }
@media (max-width: 720px) { .kz-ad { grid-template-columns: 1fr; padding: 24px 20px; gap: 22px; } .kz-ad h2 { font-size: 22px; } .kz-ad a.kz-ad-btn { display: block; text-align: center; width: 100%; box-sizing: border-box; } .kz-ad-card img { transform: rotate(1.5deg); max-width: 300px; } }

/* Flashcards page: crawlable text section under the game (collapsed behind a "Read more" button) */
.kz-seo { position: relative; max-width: 860px; margin: 100vh auto 34px; padding: 0; text-align: center; box-sizing: border-box; color: #222222; }
.kz-seo details.kz-seo-wrap { border: 0; padding: 0; margin: 0; }
.kz-seo summary.kz-seo-toggle { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 9px 20px; list-style: none; cursor: pointer; background: #fff; color: #12285A; font-weight: 700; font-size: 14px; border-radius: 999px; box-shadow: 0 2px 10px rgba(47,85,120,.2); user-select: none; }
.kz-seo summary.kz-seo-toggle::-webkit-details-marker { display: none; }
.kz-seo summary.kz-seo-toggle::marker { content: ""; }
.kz-seo summary.kz-seo-toggle:hover { background: #fff8e6; }
.kz-seo .kz-burger { font-size: 17px; line-height: 1; }
.kz-seo .kz-t-less { display: none; }
.kz-seo details[open] .kz-t-more { display: none; }
.kz-seo details[open] .kz-t-less { display: inline; }
.kz-seo .kz-seo-body { margin-top: 16px; padding: 30px 32px; background: #fff; border-radius: 16px; box-shadow: 0 8px 26px rgba(47,85,120,.14); text-align: left; }
.kz-seo h1 { margin: 0 0 12px; font-size: 27px; line-height: 1.2; color: #12285A; }
.kz-seo h2 { margin: 22px 0 8px; font-size: 19px; color: #12285A; }
.kz-seo p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.6; }
.kz-seo ul, .kz-seo ol { margin: 0 0 10px; padding-left: 22px; }
.kz-seo li { margin: 0 0 5px; font-size: 15px; line-height: 1.5; }
.kz-seo-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 6px 0 16px; }
.kz-seo-cols h2 { margin-top: 0; }
.kz-seo-card { background: #ececec; border: 1px solid #dcdcdc; border-radius: 10px; padding: 18px 20px 10px; }
.kz-seo-card h2 { padding-bottom: 8px; border-bottom: 2px solid #d99a00; display: inline-block; color: #3b82d6; }
.kz-seo p.kz-seo-lead { font-size: 17px; line-height: 1.65; }
.kz-seo-note { background: #ececec; border: 1px solid #dcdcdc; border-left: 4px solid #d99a00; padding: 12px 16px; border-radius: 8px; }
.kz-seo .kz-seo-cta { margin: 18px 0 8px; padding: 22px 20px; text-align: center; background: #12285A; border-radius: 10px; }
.kz-seo .kz-seo-cta p { margin: 0 0 14px; color: #fff; font-size: 16px; }
.kz-student-note { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 560px; margin: 22px auto 0; padding: 12px 20px; box-sizing: border-box; background: #ececec; border: 1px solid #d99a00; border-radius: 10px; box-shadow: 0 1px 3px rgba(34,34,34,.08); }
.kz-student-note p { margin: 0; color: #222; font-size: 16px; line-height: 1.45; text-align: left; }
.kz-student-note-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #12285A; color: #fff; font-size: 19px; line-height: 1; }
@media (max-width: 640px) { .kz-student-note { margin: 18px 12px 0; } }
.kz-seo a.kz-seo-btn { display: inline-block; background: linear-gradient(135deg, #d99a00, #f0b800); color: #fff; font-weight: 700; padding: 13px 24px; border-radius: 9px; text-decoration: none; box-shadow: 0 2px 6px rgba(34,34,34,.15); }
.kz-seo a.kz-seo-btn:hover { filter: brightness(1.06); }
.kz-seo-body details { border-top: 1px solid #dfe4ee; padding: 10px 0; margin: 0; }
.kz-seo-body summary { cursor: pointer; font-weight: 700; font-size: 15.5px; color: #12285A; margin: 0; }
.kz-seo-body details p { margin: 8px 0 0; }
.kz-seo-more { margin-top: 16px; font-size: 14.5px; }
.kz-seo-more a { color: #12285A; text-decoration: underline; }
@media (max-width: 640px) { .kz-seo { margin: 100vh 12px 26px; } .kz-seo .kz-seo-body { padding: 22px 18px; } .kz-seo h1 { font-size: 23px; } .kz-seo-cols { grid-template-columns: 1fr; } .kz-seo a.kz-seo-btn { display: block; text-align: center; } }

/* Practice Zone hub page */
.kz-pz { max-width: 100%; margin: 6px 0 30px; color: #222222; }
.kz-pz a { text-decoration: none; }
.kz-pz-hero { position: relative; overflow: hidden; text-align: center; padding: 40px 30px 62px; border-radius: 18px; color: #fff; margin: 0 0 26px;
    background: radial-gradient(circle at 88% 10%, rgba(212,187,92,.30), transparent 46%), linear-gradient(135deg, #12285A 0%, #3b82d6 100%); box-shadow: 0 14px 34px rgba(47,85,120,.26); }
.kz-pz-hero::before { content: "\266B    \266A    \2669    \266B    \266A"; position: absolute; left: 0; right: 0; bottom: 4px; font-size: 44px; letter-spacing: 22px; color: rgba(255,255,255,.07); white-space: nowrap; overflow: hidden; pointer-events: none; }
.kz-pz-hero > * { position: relative; }
.kz-pz .kz-pz-tag { display: inline-block; background: #FFD95A; color: #12285A; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin: 0 0 14px; }
.kz-pz-hero h1 { margin: 0 0 12px; color: #fff; font-size: 38px; line-height: 1.15; }
.kz-pz-hero p { margin: 0 auto 6px; max-width: 620px; color: #E3F0FC; font-size: 16.5px; line-height: 1.55; }
.kz-pz-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; }
.kz-pz a.kz-pz-btn { display: inline-block; background: #FFD95A; color: #12285A; font-weight: 800; font-size: 16px; padding: 13px 26px; border-radius: 12px; box-shadow: 0 6px 16px rgba(0,0,0,.22); transition: transform .15s, box-shadow .15s, background .15s; }
.kz-pz a.kz-pz-btn:hover { background: #ffc85a; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.28); }
.kz-pz a.kz-pz-btn.kz-pz-btn-ghost { background: transparent; color: #fff; border: 2px solid #FFD95A; padding: 11px 24px; box-shadow: none; }
.kz-pz a.kz-pz-btn.kz-pz-btn-ghost:hover { background: rgba(212,187,92,.16); }
.kz-pz-cta a.kz-pz-btn.kz-pz-btn-ghost { color: #12285A; }
.kz-pz-cta a.kz-pz-btn.kz-pz-btn-ghost:hover { background: rgba(212,187,92,.25); }

.kz-pz-feature { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; background: #fff; border: 1px solid #dbe9f6; border-radius: 18px; padding: 24px; box-shadow: 0 8px 26px rgba(47,85,120,.10); margin: 0 0 30px; }
.kz-pz-feature-img { display: block; }
.kz-pz-feature-img img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 10px 26px rgba(47,85,120,.22); transform: rotate(-2deg); transition: transform .25s; }
.kz-pz-feature:hover .kz-pz-feature-img img { transform: rotate(0) scale(1.02); }
.kz-pz .kz-pz-pill { display: inline-block; background: #e7f6ec; color: #1a7f3c; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 11px; border-radius: 999px; margin: 0 0 10px; }
.kz-pz h2 { margin: 0 0 10px; color: #12285A; font-size: 26px; line-height: 1.2; text-align: left; }
.kz-pz-feature p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.6; text-align: left; }
.kz-pz ul.kz-pz-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; }
.kz-pz ul.kz-pz-chips li { margin: 0; background: #eef3f8; color: #12285A; font-size: 13.5px; font-weight: 600; padding: 6px 13px; border-radius: 999px; }
.kz-pz-feature p.kz-pz-feature-cta { margin: 0; }

.kz-pz h2.kz-pz-h2 { margin: 0 0 16px; font-size: 24px; text-align: center; }
.kz-pz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0 0 30px; }
.kz-pz-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #dbe9f6; border-radius: 16px; padding: 22px 20px 20px; box-shadow: 0 6px 18px rgba(47,85,120,.08); color: #222222; transition: transform .18s, box-shadow .18s; }
a.kz-pz-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(47,85,120,.16); }
.kz-pz-icon { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 14px; background: #12285A; color: #FFD95A; margin: 0 0 14px; }
.kz-pz-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kz-pz-card h3 { margin: 0 0 8px; color: #12285A; font-size: 18px; line-height: 1.25; }
.kz-pz-card p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; flex: 1 1 auto; }
.kz-pz-go { color: #12285A; font-weight: 800; font-size: 14.5px; }
.kz-pz-soon { background: #f7f8fb; box-shadow: none; }
.kz-pz-soon .kz-pz-icon { background: #c9d1e2; color: #fff; }
.kz-pz-soon h3, .kz-pz-soon p { opacity: .8; }
.kz-pz-ribbon { align-self: flex-start; background: #FFD95A; color: #12285A; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }

.kz-pz-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 30px; }
.kz-pz-why div { background: #eef3f8; border-radius: 14px; padding: 16px 18px; border-left: 4px solid #FFD95A; }
.kz-pz-why strong { display: block; color: #12285A; font-size: 15.5px; margin: 0 0 4px; }
.kz-pz-why span { font-size: 14px; line-height: 1.5; }

.kz-pz-cta { text-align: center; background: #fff8e6; border: 1px solid #f1dfae; border-radius: 18px; padding: 30px 26px; }
.kz-pz-cta h2 { text-align: center; margin: 0 0 8px; }
.kz-pz-cta p { margin: 0 auto 16px; max-width: 620px; font-size: 15.5px; line-height: 1.6; }
.kz-pz-cta p.kz-pz-btns { margin: 0 auto; }

@media (max-width: 800px) { .kz-pz-feature { grid-template-columns: 1fr; padding: 20px; } .kz-pz-feature-img { max-width: 300px; margin: 0 auto; } .kz-pz-grid, .kz-pz-why { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .kz-pz-hero { padding: 32px 18px 30px; } .kz-pz-hero h1 { font-size: 29px; } .kz-pz a.kz-pz-btn { display: block; text-align: center; width: 100%; box-sizing: border-box; } .kz-pz-btns { display: block; } .kz-pz-btns .kz-pz-btn + .kz-pz-btn { margin-top: 10px; } .kz-pz h2 { font-size: 22px; } }

/* Homepage (redesigned to match the Practice Zone hub look: navy/gold cards on the shared .kz-pz-* system) */
.kz-home-hero-logo { position: relative; width: 104px; height: 104px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.28); background: #fff; }
.kz-home-hero-logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kz-home-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0 0 30px; }
.kz-home-photos a { position: relative; display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 22px rgba(47,85,120,.16); }
.kz-home-photos img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .25s; }
.kz-home-photos a:hover img { transform: scale(1.05); }
.kz-home-photos span { position: absolute; left: 10px; bottom: 10px; background: rgba(47,85,120,.88); color: #FFD95A; font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.kz-home-reviews { background: #fff; border: 1px solid #dbe9f6; border-radius: 18px; padding: 22px; margin: 0 0 30px; box-shadow: 0 8px 26px rgba(47,85,120,.10); }
.kz-home-contact-list { display: flex; flex-direction: column; gap: 12px; margin: 0 auto 18px; padding: 0; list-style: none; text-align: left; max-width: 340px; }
.kz-home-contact-list li { margin: 0; }
.kz-home-contact-list a, .kz-home-contact-list span.kz-home-static { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; color: #12285A; text-decoration: none; }
.kz-home-contact-list a:hover { text-decoration: underline; }
.kz-home-ico { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #12285A; color: #FFD95A; display: flex; align-items: center; justify-content: center; }
.kz-home-ico svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.kz-home-badge { display: inline-block; }
.kz-home-badge img { max-height: 92px; width: auto; display: block; margin: 0 auto; }
.kz-home-teacher.kz-pz-feature { grid-template-columns: 180px 1fr; }
.kz-home-teacher-noimg.kz-pz-feature { position: relative; overflow: hidden; grid-template-columns: 1fr; max-width: 640px; margin: 0 auto 30px; text-align: center; background: linear-gradient(135deg, #12285A 0%, #3b82d6 100%); border: 0; padding: 22px 26px; box-shadow: 0 16px 36px rgba(47,85,120,.28); }
.kz-home-teacher-noimg.kz-pz-feature::before { content: "\266B  \266A  \2669  \266B  \266A"; position: absolute; left: 0; right: 0; bottom: 6px; font-size: 38px; letter-spacing: 16px; color: rgba(255,255,255,.06); white-space: nowrap; overflow: hidden; pointer-events: none; }
.kz-home-teacher-noimg .kz-pz-feature-body { position: relative; z-index: 1; text-align: center; }
.kz-home-teacher-noimg .kz-pz-pill { background: rgba(212,187,92,.16); color: #FFD95A; margin: 0 0 10px; }
.kz-home-teacher-noimg .kz-pz-feature-body p { text-align: center; color: #dbe2f2; margin: 0 0 14px; font-size: 14.5px; }
.kz-home-teacher-noimg .kz-pz-feature-cta { text-align: center; margin: 0; }

.kz-home-spotlight-row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 18px; margin: 0 0 30px; }
.kz-home-spotlight-row .kz-home-teacher-noimg.kz-pz-feature { max-width: none; margin: 0; }
.kz-home-spotlight-row .kz-ad { grid-template-columns: 1fr; margin: 0; padding: 22px 26px; text-align: center; }
.kz-home-spotlight-row .kz-ad-text { text-align: center; }
.kz-home-spotlight-row .kz-ad-tag { margin: 0 0 10px; }
.kz-home-spotlight-row .kz-ad h2 { text-align: center; font-size: 19px; margin: 0 0 8px; }
.kz-home-spotlight-row .kz-ad-lead { text-align: center; margin: 0 0 14px; font-size: 14.5px; }
.kz-home-spotlight-row .kz-ad-cta { justify-content: center; }
@media (max-width: 900px) { .kz-home-spotlight-row { grid-template-columns: 1fr; } }
.kz-pz-feature.kz-about-bio { grid-template-columns: 240px 1fr; align-items: start; }
.kz-pz-feature.kz-about-bio .kz-pz-feature-img { position: sticky; top: 90px; }
.kz-pz-feature-body p { text-align: left; }
@media (max-width: 800px) { .kz-pz-feature.kz-about-bio { grid-template-columns: 1fr; } .kz-pz-feature.kz-about-bio .kz-pz-feature-img { position: static; max-width: 240px; margin: 0 auto; } }
@media (max-width: 800px) { .kz-home-photos { gap: 10px; } .kz-home-teacher.kz-pz-feature .kz-pz-feature-img { max-width: 200px; } }

/* FAQ page (redesigned to match the Practice Zone hub) */
.kz-pz-faq-item { background: #fff; border: 1px solid #dbe9f6; border-radius: 12px; margin: 0 0 10px; overflow: hidden; box-shadow: 0 4px 14px rgba(47,85,120,.06); }
.kz-pz-faq-q { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; background: none; border: 0; text-align: left; cursor: pointer; padding: 16px 20px; font-weight: 700; color: #12285A; font-size: 15.5px; line-height: 1.35; font-family: inherit; }
.kz-pz-faq-icon { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: #12285A; color: #FFD95A; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; line-height: 1; transition: transform .2s ease; }
.kz-pz-faq-item.open .kz-pz-faq-icon { transform: rotate(45deg); }
.kz-pz-faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.kz-pz-faq-a-inner { padding: 0 20px 18px; }
.kz-pz-faq-a p, .kz-pz-faq-a ul { color: #222222; font-size: 14.5px; line-height: 1.6; margin: 0 0 10px; text-align: left; }
.kz-pz-faq-a ul { padding-left: 20px; }
.kz-pz-faq-a li { margin: 0 0 4px; }
.kz-pz-faq-a p:last-child, .kz-pz-faq-a ul:last-child { margin-bottom: 0; }

/* Lessons page */
.kz-lessons-grid { grid-template-columns: repeat(2, 1fr); }
.kz-pz-card-photo { display: block; width: 100%; height: 170px; object-fit: cover; border-radius: 12px; margin: 0 0 14px; }
@media (max-width: 800px) { .kz-lessons-grid { grid-template-columns: 1fr; } }

/* Blog page */
.kz-blog-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 800px) { .kz-blog-grid { grid-template-columns: 1fr; } }

/* Feature-body bullet lists (Contact "please note", etc.) */
.kz-pz-feature-body ul:not(.kz-pz-chips) { margin: 0 0 14px; padding-left: 20px; color: #222222; font-size: 15px; line-height: 1.6; text-align: left; }
.kz-pz-feature-body ul:not(.kz-pz-chips) li { margin: 0 0 6px; }
@media (max-width: 600px) { .kz-home-photos span { font-size: 10px; padding: 4px 8px; left: 6px; bottom: 6px; } }

/* Buy page: game feature tiles (grey / blue / gold, as in the game) */
.kz-feat { max-width: 900px; margin: 8px auto 34px; font-family: 'Open Sans', Arial, sans-serif; }
.kz-feat-title { margin: 0 0 6px; text-align: center; color: #3b82d6; font-size: 26px; }
.kz-feat-sub { margin: 0 0 20px; text-align: center; color: #5a5a5a; font-size: 15.5px; }
.kz-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kz-feat-item { background: #ececec; border: 1px solid #dcdcdc; border-radius: 10px; padding: 18px 18px 16px; box-shadow: 0 1px 3px rgba(34,34,34,.08); }
.kz-feat-item h3 { margin: 10px 0 6px; color: #3b82d6; font-size: 16.5px; line-height: 1.3; }
.kz-feat-item p { margin: 0; color: #222; font-size: 14px; line-height: 1.5; }
.kz-feat-ico { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #12285A; color: #fff; font-size: 20px; line-height: 1; }
.kz-feat-star { grid-column: 1 / -1; background: linear-gradient(160deg, #12285A 0%, #3b82d6 100%); border-color: #3b82d6; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
.kz-feat-star .kz-feat-ico { grid-row: 1 / span 2; background: #d99a00; width: 52px; height: 52px; font-size: 26px; }
.kz-feat-star h3 { color: #fff; margin: 0 0 4px; font-size: 18px; }
.kz-feat-star p { color: #eef2f8; }
@media (max-width: 760px) { .kz-feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .kz-feat-grid { grid-template-columns: 1fr; } .kz-feat-title { font-size: 22px; } }
/* Buy page: polish (same grey / blue / gold palette) */
.kz-buy-card { border-radius: 18px; box-shadow: 0 18px 44px rgba(64,115,162,.22), 0 2px 6px rgba(34,34,34,.08); }
.kz-buy-side { position: relative; overflow: hidden; }
.kz-buy-side::before { content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(173,147,55,.38) 0%, rgba(173,147,55,0) 70%); pointer-events: none; }
.kz-buy-side::after { content: "\266A"; position: absolute; right: 16px; bottom: 6px; font-size: 120px; line-height: 1; color: rgba(255,255,255,.07); pointer-events: none; }
.kz-buy-side > * { position: relative; z-index: 1; }
.kz-buy-head h3 { font-size: 24px; letter-spacing: .01em; }
.kz-buy-badge { box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.kz-buy-ai { border-left: 4px solid #d99a00; border-radius: 12px; background: rgba(255,255,255,.12); border-top: 1px solid rgba(255,255,255,.2); border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); box-shadow: 0 6px 16px rgba(0,0,0,.14); }
.kz-buy-ai strong { font-size: 16.5px; }
.kz-buy-dev li { border: 1px solid rgba(255,255,255,.16); }
.kz-buy-list li { padding-top: 1px; }
.kz-buy-list li::before { box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.kz-form.kz-buy { background: linear-gradient(180deg, #f3f3f3 0%, #e6e6e6 100%); }
.kz-buy .kz-buy-title { display: flex; align-items: center; gap: 10px; }
.kz-buy .kz-buy-title::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, #d99a00, rgba(173,147,55,0)); border-radius: 2px; }
.kz-opt-in { border-radius: 12px; box-shadow: 0 1px 3px rgba(34,34,34,.08); transition: transform .15s, border-color .15s, box-shadow .15s; }
.kz-opt:hover .kz-opt-in { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(64,115,162,.18); }
.kz-buy .kz-field input[type=text], .kz-buy .kz-field input[type=email], .kz-buy .kz-field input[type=tel] { border-color: #cfcfcf; border-radius: 9px; transition: border-color .15s, box-shadow .15s; }
.kz-buy .kz-field input:focus { outline: 0; border-color: #12285A; box-shadow: 0 0 0 3px rgba(47,85,120,.25); }
.kz-buy .kz-submit { background: linear-gradient(135deg, #d99a00, #f0b800); color: #fff; letter-spacing: .01em; box-shadow: 0 6px 16px rgba(173,147,55,.4); }
.kz-buy .kz-submit:hover, .kz-buy .kz-submit:focus { background: linear-gradient(135deg, #d99a00, #f0b800); filter: brightness(1.07); transform: translateY(-2px); }

.kz-feat { margin-top: 34px; }
.kz-feat-title { position: relative; padding-bottom: 14px; font-size: 28px; }
.kz-feat-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 64px; height: 4px; margin-left: -32px; border-radius: 4px; background: linear-gradient(90deg, #d99a00, #f0b800); }
.kz-feat-grid { gap: 16px; }
.kz-feat-item { position: relative; overflow: hidden; border-radius: 14px; padding: 20px 18px 18px; border: 1px solid #dcdcdc; border-top: 4px solid #d99a00; background: linear-gradient(180deg, #f4f4f4 0%, #e9e9e9 100%); box-shadow: 0 2px 8px rgba(34,34,34,.08); transition: transform .18s, box-shadow .18s; }
.kz-feat-item:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(64,115,162,.2); }
.kz-feat-ico { width: 46px; height: 46px; background: linear-gradient(135deg, #12285A, #3b82d6); box-shadow: 0 4px 10px rgba(64,115,162,.35), 0 0 0 4px rgba(47,85,120,.15); }
.kz-feat-item h3 { margin-top: 14px; font-size: 17px; }
.kz-feat-star { border-top: 0; border-radius: 16px; padding: 22px 24px; box-shadow: 0 12px 30px rgba(64,115,162,.28); }
.kz-feat-star::after { content: "\266B"; position: absolute; right: 18px; bottom: -14px; font-size: 96px; line-height: 1; color: rgba(255,255,255,.09); }
.kz-feat-star:hover { transform: translateY(-3px); }
.kz-feat-star .kz-feat-ico { background: linear-gradient(135deg, #d99a00, #f0b800); box-shadow: 0 4px 12px rgba(0,0,0,.3), 0 0 0 5px rgba(255,255,255,.14); }
.kz-feat-star h3 { font-size: 20px; }
.kz-feat-star p { font-size: 15px; }
@media (max-width: 480px) { .kz-feat-star { grid-template-columns: 1fr; } .kz-feat-star .kz-feat-ico { grid-row: auto; margin-bottom: 8px; } }
.kz-feat-item.kz-feat-star { background: linear-gradient(160deg, #12285A 0%, #3b82d6 100%); border: 1px solid #3b82d6; }

/* Buy page: terms and conditions box */
.kz-buy-terms { margin: 4px 0 14px; }
.kz-buy-terms .kz-label-block { color: #3b82d6; font-size: 14px; }
.kz-buy-terms .kz-terms-box { max-height: 150px; background: #fff; border: 1px solid #cfcfcf; border-radius: 9px; font-size: 12.5px; line-height: 1.5; padding: 10px 12px; color: #222; }
.kz-buy-terms .kz-terms-box:focus { outline: 0; border-color: #12285A; box-shadow: 0 0 0 3px rgba(47,85,120,.25); }
.kz-buy-terms .kz-terms-box p { margin: 0 0 9px; }
.kz-buy-terms .kz-terms-box strong { color: #3b82d6; }
.kz-buy-terms .kz-check { font-size: 13.5px; margin: 8px 0 0; align-items: center; }
.kz-buy-terms .kz-check input { accent-color: #12285A; width: 17px; height: 17px; margin: 0; }
/* Buy page: compact layout */
.kz-buy-card { margin: 12px auto 18px; }
.kz-buy-side { padding: 16px 18px; }
.kz-form.kz-buy { padding: 16px 18px; }
.kz-buy-head { margin-bottom: 10px; }
.kz-buy-head h3 { font-size: 19px; margin-top: 6px; }
.kz-buy-ai { padding: 8px 12px; margin: 0 0 10px; }
.kz-buy-ai strong { font-size: 14.5px; margin-bottom: 2px; }
.kz-buy-ai span:last-child { font-size: 12.5px; line-height: 1.4; }
.kz-buy-devices { padding: 8px 10px; margin: 0 0 10px; }
.kz-buy-dev { margin: 0 0 7px; gap: 6px; }
.kz-buy-dev li { padding: 5px 4px; font-size: 12px; gap: 2px; }
.kz-buy-dev svg { width: 20px; height: 20px; }
.kz-buy-devices p { font-size: 12.5px; line-height: 1.4; }
.kz-buy-list li { margin: 0 0 4px; font-size: 13px; line-height: 1.35; }
.kz-buy-opts { margin: 0 0 10px; }
.kz-opt-in { padding: 7px 4px; }
.kz-opt-in em { font-size: 15.5px; }
.kz-buy .kz-buy-title { margin: 0 0 8px; font-size: 16.5px; }
.kz-buy .kz-field { margin: 0 0 8px; }
.kz-buy .kz-field label { margin-bottom: 2px; font-size: 13px; }
.kz-buy .kz-field input[type=text], .kz-buy .kz-field input[type=email], .kz-buy .kz-field input[type=tel] { padding: 6px 10px; min-height: 36px; }
.kz-buy .kz-note-text { margin: 0 0 8px; font-size: 12px; line-height: 1.4; }
.kz-buy-terms { margin: 2px 0 8px; }
.kz-buy-terms .kz-terms-box { max-height: 96px; font-size: 12px; padding: 8px 10px; }
.kz-buy-terms .kz-check { font-size: 13px; margin: 6px 0 0; }
.kz-buy .kz-submit { padding: 11px 16px; font-size: 16px; }
.kz-buy-term { margin: 7px 0 0; font-size: 14.5px; }
.kz-buy-secure { margin: 3px 0 0; font-size: 12px; }

/* Buy page: discount badge, auto-renew note on the plan cards */
.kz-opt-badge { display: inline-block; margin-left: 4px; background: #d99a00; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .02em; padding: 1px 6px; border-radius: 999px; vertical-align: middle; }
.kz-opt-renew { display: block; font-size: 10.5px; font-weight: 600; color: #6b7a91; margin-top: 1px; }

/* Manage Subscription page */
.kz-sub-page { max-width: 480px; margin: 0 auto; padding: 24px 16px 40px; }
.kz-alert-error { background: #fdecea; border-color: #f5c2be; color: #8a1c14; }
.kz-sub-card { background: #fff; border-radius: 14px; box-shadow: 0 6px 20px rgba(47,85,120,.12); padding: 22px 24px; text-align: center; }
.kz-sub-plan { font-size: 20px; color: #12285A; margin: 0 0 4px; }
.kz-pill { display: inline-block; background: #e9f6ed; color: #1e7a3d; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.kz-sub-price { font-size: 30px; font-weight: 800; color: #12285A; margin: 0 0 8px; }
.kz-sub-action { margin-top: 14px; }
.kz-sub-action .kz-submit { width: 100%; }
.kz-sub-cancel { background: transparent; color: #8a1c14; border: 1px solid #f5c2be; }
.kz-sub-cancel:hover, .kz-sub-cancel:focus { background: #fdecea; }
.kz-sub-note { font-size: 13px; color: #555; margin: 14px 0 0; }
.kz-sub-login { max-width: 320px; margin: 0 auto; }
.kz-sub-recover { max-width: 320px; margin: 18px auto 0; text-align: center; }
.kz-sub-recover summary { cursor: pointer; font-weight: 700; font-size: 13.5px; color: #12285A; text-decoration: underline; list-style: none; }
.kz-sub-recover summary::-webkit-details-marker { display: none; }
.kz-sub-recover p { font-size: 13px; color: #555; margin: 10px 0; }
.kz-sub-recover .kz-sub-login { margin: 0; }

/* Music Theory Starter: code screen / unavailable message */
.kz-th-card { max-width: 460px; margin: 0 auto 30px; }
.kz-th-card h2 { margin: 0 0 8px; color: #12285A; font-size: 22px; text-align: center; }
.kz-th-card > p { color: #555; font-size: 14.5px; }
.kz-th-card .kz-sub-login { text-align: left; }
.kz-th-buy { margin: 16px 0 0; font-size: 14px; }
.kz-th-buy a { color: #12285A; font-weight: 700; }

.kz-feat { margin: 22px auto 22px; }
.kz-feat-title { font-size: 23px; padding-bottom: 10px; margin: 0 0 4px; }
.kz-feat-sub { margin: 0 0 12px; font-size: 14px; }
.kz-feat-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kz-feat-item { padding: 12px 12px 11px; border-radius: 11px; border-top-width: 3px; }
.kz-feat-ico { width: 34px; height: 34px; font-size: 16px; box-shadow: 0 3px 8px rgba(64,115,162,.3), 0 0 0 3px rgba(47,85,120,.14); }
.kz-feat-item h3 { margin: 9px 0 3px; font-size: 14.5px; }
.kz-feat-item p { font-size: 12.5px; line-height: 1.4; }
.kz-feat-item.kz-feat-star { padding: 12px 16px; column-gap: 12px; }
.kz-feat-star .kz-feat-ico { width: 40px; height: 40px; font-size: 20px; }
.kz-feat-star h3 { font-size: 16px; margin: 0 0 2px; }
.kz-feat-star p { font-size: 13px; }
@media (max-width: 900px) { .kz-feat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .kz-feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .kz-feat-grid { grid-template-columns: 1fr; } }

/* ---------- Whole-site light grey background + floating music notes ---------- */
body:not(.app-bare) { background: #f8f9fa; }
.site { background: transparent; }
.kz-bg-notes { position: fixed; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
body.app-bare .kz-bg-notes { display: none; }
.kz-bg-notes span { position: absolute; bottom: -15vh; color: #12285A; opacity: 0; font-size: 30px; line-height: 1; will-change: transform, opacity; animation: kz-note-float linear infinite; }
.kz-bg-notes span:nth-child(1)  { left: 1%;  font-size: 26px; animation-duration: 22s; animation-delay: -2s; }
.kz-bg-notes span:nth-child(2)  { left: 5%;  font-size: 18px; animation-duration: 17s; animation-delay: -21s; }
.kz-bg-notes span:nth-child(3)  { left: 9%;  font-size: 34px; animation-duration: 28s; animation-delay: -14s; }
.kz-bg-notes span:nth-child(4)  { left: 13%; font-size: 21px; animation-duration: 23s; animation-delay: -9s; }
.kz-bg-notes span:nth-child(5)  { left: 17%; font-size: 22px; animation-duration: 19s; animation-delay: -7s; }
.kz-bg-notes span:nth-child(6)  { left: 21%; font-size: 30px; animation-duration: 26s; animation-delay: -18s; }
.kz-bg-notes span:nth-child(7)  { left: 25%; font-size: 38px; animation-duration: 31s; animation-delay: -20s; }
.kz-bg-notes span:nth-child(8)  { left: 29%; font-size: 19px; animation-duration: 16s; animation-delay: -5s; }
.kz-bg-notes span:nth-child(9)  { left: 33%; font-size: 24px; animation-duration: 24s; animation-delay: -4s; }
.kz-bg-notes span:nth-child(10) { left: 37%; font-size: 28px; animation-duration: 21s; animation-delay: -12s; }
.kz-bg-notes span:nth-child(11) { left: 41%; font-size: 32px; animation-duration: 27s; animation-delay: -17s; }
.kz-bg-notes span:nth-child(12) { left: 45%; font-size: 20px; animation-duration: 18s; animation-delay: -23s; }
.kz-bg-notes span:nth-child(13) { left: 49%; font-size: 20px; animation-duration: 20s; animation-delay: -10s; }
.kz-bg-notes span:nth-child(14) { left: 53%; font-size: 33px; animation-duration: 29s; animation-delay: -6s; }
.kz-bg-notes span:nth-child(15) { left: 57%; font-size: 36px; animation-duration: 33s; animation-delay: -25s; }
.kz-bg-notes span:nth-child(16) { left: 61%; font-size: 23px; animation-duration: 25s; animation-delay: -16s; }
.kz-bg-notes span:nth-child(17) { left: 65%; font-size: 27px; animation-duration: 20s; animation-delay: -3s; }
.kz-bg-notes span:nth-child(18) { left: 69%; font-size: 17px; animation-duration: 15s; animation-delay: -19s; }
.kz-bg-notes span:nth-child(19) { left: 73%; font-size: 35px; animation-duration: 30s; animation-delay: -22s; }
.kz-bg-notes span:nth-child(20) { left: 77%; font-size: 22px; animation-duration: 22s; animation-delay: -8s; }
.kz-bg-notes span:nth-child(21) { left: 80%; font-size: 25px; animation-duration: 18s; animation-delay: -13s; }
.kz-bg-notes span:nth-child(22) { left: 83%; font-size: 31px; animation-duration: 26s; animation-delay: -1s; }
.kz-bg-notes span:nth-child(23) { left: 86%; font-size: 19px; animation-duration: 17s; animation-delay: -24s; }
.kz-bg-notes span:nth-child(24) { left: 89%; font-size: 37px; animation-duration: 32s; animation-delay: -11s; }
.kz-bg-notes span:nth-child(25) { left: 91%; font-size: 21px; animation-duration: 19s; animation-delay: -15s; }
.kz-bg-notes span:nth-child(26) { left: 93%; font-size: 29px; animation-duration: 23s; animation-delay: -27s; }
.kz-bg-notes span:nth-child(27) { left: 95%; font-size: 18px; animation-duration: 16s; animation-delay: -29s; }
.kz-bg-notes span:nth-child(28) { left: 97%; font-size: 33px; animation-duration: 28s; animation-delay: -19s; }
.kz-bg-notes span:nth-child(29) { left: 99%; font-size: 20px; animation-duration: 21s; animation-delay: -6s; }
.kz-bg-notes span:nth-child(30) { left: 3%;  font-size: 24px; animation-duration: 27s; animation-delay: -30s; }
.kz-bg-notes span:nth-child(31) { left: 55%; font-size: 16px; animation-duration: 14s; animation-delay: -13s; }
.kz-bg-notes span:nth-child(32) { left: 75%; font-size: 30px; animation-duration: 25s; animation-delay: -21s; }
@keyframes kz-note-float {
    0%   { transform: translateY(0) rotate(-6deg); opacity: 0; }
    8%   { opacity: .09; }
    50%  { transform: translateY(-60vh) rotate(4deg); }
    92%  { opacity: .09; }
    100% { transform: translateY(-125vh) rotate(10deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .kz-bg-notes { display: none; } }

/* ---------- Site header (white, navy-and-gold accents) ---------- */
#header-section.h-on-top { position: relative;
    background: #ffffff !important; }
/* No position here: theme.css already sets it (relative normally, fixed via .header-fixed when
   the sticky-on-scroll JS kicks in) - an ID selector forcing position:relative would always win
   and silently break the sticky header. */
#masthead.site-header { background: transparent !important; border: 0 !important; }
#masthead.site-header.header-fixed { background: #ffffff !important; }
#site-navigation .onepress-menu > li > a { color: #12285A !important; }
#site-navigation .onepress-menu > li > a:hover,
#site-navigation .onepress-menu > li.current-menu-item > a,
#site-navigation .onepress-menu > li.current_page_item > a { color: #b9861f !important; }
#site-navigation .onepress-menu .sub-menu { background: #ffffff !important; border: 1px solid rgba(47,85,120,.15); box-shadow: 0 8px 20px rgba(47,85,120,.15); }
#site-navigation .onepress-menu .sub-menu a { color: #12285A !important; }
#site-navigation .onepress-menu .sub-menu a:hover { color: #b9861f !important; }
/* The theme hardcodes the mobile dropdown at top:75px against a zero-height float-collapsed
   .container, so a taller logo makes it open mid-header instead of below it. Un-position
   .container (desktop submenus don't depend on it - each li is its own positioned ancestor)
   so the dropdown's containing block becomes #masthead, then pin it to that real bottom edge. */
#masthead .container { position: static; }
@media screen and (max-width: 1140px) {
    #site-navigation .onepress-menu.onepress-menu-mobile { top: 100%; }
}
/* Keep the theme's "Menu" label hidden (it's a 35px, overflow:hidden box, so any visible
   text color prints the word "Menu" right on top of the hamburger bars) - only the bars
   (span backgrounds) should be visible. */
#nav-toggle { color: transparent !important; }
#nav-toggle span, #nav-toggle span::before, #nav-toggle span::after { background: #12285A !important; }

/* ---------- Site footer ---------- */
#colophon.site-footer { background: linear-gradient(135deg, #12285A 0%, #3b82d6 100%) !important; }
#footer-widgets.footer-widgets { background: transparent !important; border-bottom: 1px solid rgba(212,187,92,.18); }
#footer-widgets .footer-widget h3, #footer-widgets .footer-widget .wp-block-heading { color: #cfe3f7 !important; }
.site-footer .site-info { background: rgba(0,0,0,.16) !important; color: #cfe3f7 !important; }
.site-footer .site-info a { color: #cfe3f7; }
.site-footer .back-to-top { background: #FFD95A !important; border-radius: 50%; transform: none !important; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.site-footer .back-to-top i { color: #12285A !important; transform: none !important; }
/* logo-colour overrides for theme.css bootstrap primaries (theme.css itself cannot be uploaded: server blocks the filename) */
.btn-primary,.bg-primary,.badge-primary,.progress-bar,.page-item.active .page-link,.nav-pills .nav-link.active,.list-group-item.active{background-color:#3b82d6;border-color:#3b82d6}
.btn-primary:hover,.btn-primary:active,a.bg-primary:hover{background-color:#12285A;border-color:#12285A}
.bg-primary{background-color:#3b82d6!important}
.text-primary,.btn-link,.btn-outline-primary,.page-link{color:#3b82d6}
.text-primary{color:#3b82d6!important}
.btn-outline-primary{border-color:#3b82d6}
.btn-outline-primary:hover{background-color:#3b82d6;color:#fff}

/* Practise Zone hub + buy page: "one subscription, every app" (2026-09-25) */
.kz-pz-hero p.kz-pz-from { display: inline-block; margin: 14px auto 0; padding: 7px 18px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 14.5px; }
.kz-pz-hero p.kz-pz-from strong { color: #FFF0B0; }
.kz-pz-h2 { margin: 6px 0 16px; text-align: center; color: #12285A; font-size: 26px; }
.kz-pz-apps { grid-template-columns: repeat(2, 1fr); }
.kz-pz-apps .kz-pz-card { padding-bottom: 54px; }
.kz-pz-apps .kz-pz-ribbon { position: absolute; top: 16px; right: 16px; }
.kz-pz-apps .kz-pz-go { position: absolute; left: 20px; bottom: 18px; }
.kz-pz-ribbon.kz-pz-ribbon-on { background: #e3f3e8; color: #1d6b3a; }
.kz-pz-live { border-color: #d99a00; }
.kz-pz-more { background: transparent; border: 2px dashed #b7c6d6; box-shadow: none; }
.kz-pz-more .kz-pz-icon { background: transparent; color: #3b82d6; border: 2px dashed #3b82d6; }
.kz-pz-more .kz-pz-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.kz-pz-plans { margin: 10px 0 30px; padding: 30px 26px; border-radius: 18px; background: #fff; border: 1px solid #dbe9f6; box-shadow: 0 8px 26px rgba(47,85,120,.10); text-align: center; }
.kz-pz-plans h2 { margin: 0 0 6px; text-align: center; color: #12285A; font-size: 26px; }
.kz-pz-plans-sub { margin: 0 0 22px; color: #555; font-size: 15.5px; }
.kz-pz-plan-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 0 0 22px; }
.kz-pz-plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 16px 20px; border-radius: 16px; background: #eef3f8; border: 2px solid transparent; }
.kz-pz-plan strong { color: #12285A; font-size: 17px; }
.kz-pz-plan-price { color: #222; font-size: 34px; font-weight: 800; line-height: 1.1; }
.kz-pz-plan-note { color: #555; font-size: 13.5px; }
.kz-pz-plan-best { background: linear-gradient(160deg, #12285A 0%, #3b82d6 100%); border-color: #d99a00; }
.kz-pz-plan-best strong, .kz-pz-plan-best .kz-pz-plan-price { color: #fff; }
.kz-pz-plan-best .kz-pz-plan-note { color: #E3F0FC; }
.kz-pz-plan-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #FFD95A; color: #12285A; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.kz-pz-plans-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 0 12px; }
.kz-pz-plans a.kz-pz-btn { background: #12285A; color: #fff; }
.kz-pz-plans a.kz-pz-btn:hover { background: #3b82d6; }
.kz-pz-plans a.kz-pz-btn.kz-pz-btn-ghost { background: transparent; color: #12285A; border: 2px solid #12285A; }
.kz-pz-plans a.kz-pz-btn.kz-pz-btn-ghost:hover { background: rgba(47,85,120,.08); }
.kz-pz-plans-note { margin: 0; color: #444; font-size: 14px; }
@media (max-width: 640px) { .kz-pz-apps { grid-template-columns: 1fr; } }
.kz-buy-lead { margin: 0 0 14px; color: #E3F0FC; font-size: 14px; line-height: 1.5; }
.kz-buy-apps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.kz-buy-apps li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.1); }
.kz-buy-apps li.is-soon { background: rgba(255,255,255,.05); }
.kz-buy-app-ico { flex: none; display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 8px; background: rgba(255,255,255,.14); color: #FFF0B0; }
.kz-buy-app-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.kz-buy-app-name { flex: 1 1 auto; color: #fff; font-weight: 700; font-size: 14px; line-height: 1.25; }
.kz-buy-apps li.is-soon .kz-buy-app-name { opacity: .8; }
.kz-buy-apps em { flex: none; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: #FFD95A; color: #12285A; }
.kz-buy-apps li.is-soon em { background: rgba(255,255,255,.16); color: #E3F0FC; }.kz-pz-apps .kz-pz-more { grid-column: 1 / -1; padding-bottom: 22px; }
/* buy page: plan choices become full-width rows on phones */
@media (max-width: 520px) {
  .kz-buy-opts { flex-direction: column; gap: 8px; }
  .kz-opt-in { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 4px 8px; padding: 11px 14px; text-align: left; }
  .kz-opt-in strong { font-size: 15px; }
  .kz-opt-in em { margin-left: auto; font-size: 17px; text-align: right; }
  .kz-opt-renew { font-size: 11.5px; }
  .kz-opt-badge { margin-left: 0; }
}