/* KG — Pricing */
.kg-pricing { background: var(--white); }

/* hero */
.kg-pricing__hero {
	background: var(--sapphire);
	color: #fff;
	position: relative;
	overflow: hidden;
}
.kg-pricing__blob { position: absolute; border-radius: 50%; filter: blur(10px); }
.kg-pricing__b1 { width: 520px; height: 520px; background: radial-gradient(circle at 30% 30%, rgba(255,107,53,.5), transparent 62%); top: -180px; right: -120px; }
.kg-pricing__b2 { width: 420px; height: 420px; background: radial-gradient(circle at 50% 50%, rgba(69,137,171,.45), transparent 60%); bottom: -200px; left: -120px; }
.kg-pricing__hero .wrap { position: relative; z-index: 1; padding: 66px 24px 62px; }
.kg-pricing__hero h1 { color: #fff; max-width: 19ch; margin: 0; }
.kg-pricing__hero-lead { color: rgba(255,255,255,.85); margin-top: 16px; max-width: 62ch; font-size: 18px; }

/* tabs */
.kg-pricing__tabsbar { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 66px; z-index: 30; }
.kg-pricing__tabsbar .wrap { display: flex; gap: 10px; overflow-x: auto; padding: 16px 24px; }
.kg-pricing__tab {
	white-space: nowrap;
	font-size: 15.5px;
	font-weight: 700;
	color: var(--sapphire);
	background: var(--cultured);
	border: 1.5px solid var(--border);
	cursor: pointer;
	padding: 10px 22px;
	border-radius: var(--r-pill);
	font-family: inherit;
}
.kg-pricing__tab:hover { background: #E7ECF7; border-color: #C9D3E8; transform: translateY(-1px); }
.kg-pricing__tab.is-on { color: #fff; background: var(--sapphire); border-color: var(--sapphire); box-shadow: 0 8px 20px rgba(10,36,99,.26); }
.kg-pricing__tab.is-on::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-right: 9px; vertical-align: middle; }
.kg-pricing__tab:focus-visible { outline: 3px solid var(--sapphire); outline-offset: 2px; }

/* panels */
.kg-pricing__panel { display: none; padding: 56px 0 24px; }
.kg-pricing__panel.is-on { display: block; animation: kgp-rise .35s ease-out; }
@keyframes kgp-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.kg-pricing__panel-head { max-width: 64ch; }
.kg-pricing__panel-head h2 { margin-bottom: 8px; }
.kg-pricing__panel-head p { color: var(--muted); font-size: 17px; }

/* 3-tier cards */
.kg-pricing__tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; align-items: start; }
.kg-pricing__tier {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: 26px 24px;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	position: relative;
}
.kg-pricing__tier.is-pop { border: 2px solid var(--orange); box-shadow: var(--shadow-lg); }
.kg-pricing__ribbon {
	position: absolute;
	top: -13px;
	left: 24px;
	background: var(--orange);
	color: var(--sapphire);
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: var(--r-pill);
}
.kg-pricing__tname { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-text); }
.kg-pricing__tname.is-free { color: var(--steel); }
.kg-pricing__price { font-size: 38px; font-weight: 800; letter-spacing: -.02em; margin-top: 8px; line-height: 1; color: var(--sapphire); }
.kg-pricing__price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.kg-pricing__per { font-size: 13px; color: var(--muted); margin-top: 6px; min-height: 20px; }
.kg-pricing__who { font-size: 14px; color: var(--muted); margin: 14px 0 4px; min-height: 44px; }
.kg-pricing__tier .btn { margin-top: 18px; }
.kg-pricing__tier ul { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 11px; }
.kg-pricing__tier li { font-size: 14px; display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; color: var(--sapphire); }
.kg-pricing__ic { width: 19px; height: 19px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; margin-top: 1px; background: var(--success-bg); color: var(--success); }
.kg-pricing__tier li.is-off { color: var(--shale); }
.kg-pricing__tier li.is-off .kg-pricing__ic { background: var(--cultured); color: var(--shale); }

/* partner cards */
.kg-pricing__pcards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 34px; align-items: start; }
.kg-pricing__pc { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.kg-pricing__pc.plat { border-top: 5px solid var(--sapphire); }
.kg-pricing__pc.gold { border-top: 5px solid #D9A400; }
.kg-pricing__pc.silver { border-top: 5px solid #9AA3AE; }
.kg-pricing__pc.bronze { border-top: 5px solid #B5764A; }
.kg-pricing__pc.supp { border-top: 5px solid var(--steel); }
.kg-pricing__lvl { font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.kg-pricing__amt { font-size: 26px; font-weight: 800; margin-top: 6px; letter-spacing: -.01em; color: var(--sapphire); }
.kg-pricing__amt small { font-size: 12px; font-weight: 600; color: var(--muted); display: block; margin-top: 2px; }
.kg-pricing__hl { font-size: 13px; color: var(--muted); margin-top: 14px; flex: 1; line-height: 1.5; }
.kg-pricing__pc .btn { margin-top: 16px; font-size: 14px; padding: 10px 14px; }

/* matrix */
.kg-pricing__matrix-scroll { overflow-x: auto; margin-top: 34px; }
.kg-pricing__matrix { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 13.5px; }
.kg-pricing__matrix th, .kg-pricing__matrix td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--border); }
.kg-pricing__matrix thead th { background: var(--sapphire); color: #fff; font-weight: 700; font-size: 13px; }
.kg-pricing__matrix thead th:first-child { text-align: left; }
.kg-pricing__matrix tbody td:first-child { text-align: left; font-weight: 600; color: var(--sapphire); }
.kg-pricing__matrix tbody tr:nth-child(even) { background: var(--cultured); }
.kg-pricing__matrix .ck { color: var(--success); font-weight: 800; }
.kg-pricing__matrix .dash { color: #C2C8D2; }

.kg-pricing__note { font-size: 13px; color: var(--muted); margin-top: 20px; max-width: 72ch; }

/* bands (trust / faq / contact) */
.kg-pricing__band { padding: 64px 0; border-top: 1px solid var(--border); }
.kg-pricing__band.is-subtle { background: var(--white); }
.kg-pricing__band h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; margin: 0 0 6px; color: var(--sapphire); }
.kg-pricing__eeat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 26px; }
.kg-pricing__eeat-card { background: var(--cultured); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.kg-pricing__eeat-card h4 { font-size: 16px; font-weight: 800; display: flex; gap: 9px; align-items: center; margin: 0 0 8px; color: var(--sapphire); }
.kg-pricing__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex: none; }
.kg-pricing__eeat-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* FAQ */
.kg-pricing__acc { border-top: 1px solid var(--border); margin-top: 20px; }
.kg-pricing__acc details { border-bottom: 1px solid var(--border); }
.kg-pricing__acc summary {
	list-style: none;
	cursor: pointer;
	padding: 18px 2px;
	font-weight: 700;
	font-size: 15.5px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	color: var(--sapphire);
}
.kg-pricing__acc summary::-webkit-details-marker { display: none; }
.kg-pricing__chev { flex: none; width: 20px; height: 20px; transition: .2s; color: var(--orange-text); }
.kg-pricing__acc details[open] .kg-pricing__chev { transform: rotate(180deg); }
.kg-pricing__a { padding: 0 2px 20px; color: var(--muted); font-size: 14.5px; max-width: 72ch; }
.kg-pricing__a a { color: var(--orange-text); font-weight: 600; }

/* contact */
.kg-pricing__contact-txt { color: var(--muted); font-size: 17px; max-width: 62ch; }
.kg-pricing__contact-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

@media (max-width: 900px) {
	.kg-pricing__tiers { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
	.kg-pricing__pcards { grid-template-columns: repeat(2, 1fr); }
	.kg-pricing__eeat { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.kg-pricing__tabsbar .wrap { display: flex; flex-direction: column; gap: 6px; overflow: visible; padding: 10px 16px; }
	.kg-pricing__tab { width: 100%; white-space: normal; text-align: left; }
	.kg-pricing__pcards { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}
