/* ==========================================================================
   HeyKhang Finance - main stylesheet
   1. Tokens & base   2. Layout & buttons   3. Header   4. Hero
   5. Stats   6. Sections   7. Pricing   8. Footer   9. Inner pages
   10. Responsive
   ========================================================================== */

/* 1. Tokens & base ------------------------------------------------------- */
:root {
	--hk-ink: #0f1022;
	--hk-ink-2: #4a4c68;
	--hk-muted: #7b7d97;
	--hk-line: #ece8fb;
	--hk-primary: #6b4bff;
	--hk-primary-2: #8b5cf6;
	--hk-grad: linear-gradient(135deg, #5b3df5 0%, #8b5cf6 100%);
	--hk-shadow: 0 1px 2px rgba(60, 40, 140, 0.04), 0 14px 34px -14px rgba(80, 60, 200, 0.2);
	--hk-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
	margin: 0;
	font-family: var(--hk-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--hk-ink);
	background:
		radial-gradient(900px 520px at 88% -4%, #e8dfff 0%, rgba(232, 223, 255, 0) 62%),
		radial-gradient(760px 480px at -8% 6%, #efe9ff 0%, rgba(239, 233, 255, 0) 60%),
		radial-gradient(900px 500px at 50% 100%, #efe9ff 0%, rgba(239, 233, 255, 0) 70%),
		#fbfaff;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; }

.ic {
	width: 1.25em;
	height: 1.25em;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

:focus-visible { outline: 2px solid var(--hk-primary); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.hk-skip {
	position: absolute; left: 1rem; top: -4rem; z-index: 100;
	padding: .6rem 1rem; border-radius: 10px;
	background: #fff; color: var(--hk-primary); font-weight: 600;
	box-shadow: var(--hk-shadow);
}
.hk-skip:focus { top: 1rem; }

.hk-accent {
	background: linear-gradient(90deg, #5b3df5, #9a6bff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* 2. Layout & buttons ---------------------------------------------------- */
.hk-container { width: min(100% - 3rem, 1240px); margin-inline: auto; }
.hk-section { padding-block: clamp(2rem, 4vw, 3.2rem); }

.hk-eyebrow {
	margin-bottom: .8rem;
	font-size: .72rem; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase;
	color: var(--hk-muted);
}
.hk-h2 {
	font-size: clamp(1.5rem, 2.1vw, 1.85rem);
	line-height: 1.2; font-weight: 800; letter-spacing: -.025em;
}

.hk-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	padding: .9rem 1.5rem;
	border: 1px solid transparent; border-radius: 12px;
	font-size: .92rem; font-weight: 600; line-height: 1;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.hk-btn .ic { width: 1.05em; height: 1.05em; }
.hk-btn--primary { color: #fff; background: var(--hk-grad); box-shadow: 0 14px 26px -12px rgba(91, 61, 245, .7); }
.hk-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 18px 30px -12px rgba(91, 61, 245, .75); }
.hk-btn--ghost { background: #fff; border-color: var(--hk-line); color: var(--hk-ink); }
.hk-btn--ghost .ic { color: var(--hk-primary); width: 1.25em; height: 1.25em; }
.hk-btn--outline { background: #fff; border-color: #e1d9fa; color: var(--hk-ink); }
.hk-btn--outline:hover, .hk-btn--ghost:hover { border-color: #c9bbfa; background: #faf8ff; }
.hk-btn--soft { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .38); color: #fff; }
.hk-btn--soft:hover { background: rgba(255, 255, 255, .3); }
.hk-btn--sm { padding: .72rem 1.2rem; font-size: .85rem; }
.hk-btn--block { width: 100%; }

.hk-card {
	background: #fff;
	border: 1px solid var(--hk-line);
	border-radius: 20px;
	box-shadow: var(--hk-shadow);
}

/* 3. Header -------------------------------------------------------------- */
.hk-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(251, 250, 255, .7);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: background .2s ease, border-color .2s ease;
}
.hk-header.is-scrolled { background: rgba(255, 255, 255, .88); border-color: var(--hk-line); }
.hk-header__inner { display: flex; align-items: center; gap: 2rem; height: 76px; }

.hk-logo { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; }
.hk-logo__mark { width: 32px; height: 32px; }
.hk-logo--light { color: #fff; }

.hk-nav { margin-inline: auto; }
.hk-nav__list { display: flex; align-items: center; gap: 2.1rem; }
.hk-nav__list > li { position: relative; }
.hk-nav__list a { display: inline-flex; align-items: center; padding: .6rem 0; font-size: .88rem; font-weight: 500; }
.hk-nav__list a:hover { color: var(--hk-primary); }
.hk-nav .menu-item-has-children > a::after {
	content: ""; width: 6px; height: 6px; margin: -3px 0 0 7px;
	border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg);
}
.hk-nav .sub-menu {
	position: absolute; left: -1rem; top: 100%; z-index: 5; min-width: 210px; padding: .5rem;
	background: #fff; border: 1px solid var(--hk-line); border-radius: 14px; box-shadow: var(--hk-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.hk-nav li:hover > .sub-menu,
.hk-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.hk-nav .sub-menu a { display: flex; padding: .55rem .8rem; border-radius: 10px; }
.hk-nav .sub-menu a:hover { background: #f4f0ff; }

.hk-header__actions { display: flex; align-items: center; gap: .7rem; }
.hk-nav-toggle {
	display: none; width: 42px; height: 42px; padding: 0;
	align-items: center; justify-content: center;
	border: 1px solid var(--hk-line); border-radius: 12px; background: #fff; color: var(--hk-ink); cursor: pointer;
}

/* Language switcher (EN | VI) */
.hk-lang {
	display: inline-flex; padding: 3px; gap: 2px;
	border: 1px solid var(--hk-line); border-radius: 999px; background: #fff;
}
.hk-lang a {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; padding: .32rem .62rem; border-radius: 999px;
	font-size: .76rem; font-weight: 700; letter-spacing: .04em; line-height: 1.2; color: var(--hk-ink-2);
	transition: background .18s ease, color .18s ease;
}
.hk-lang a:hover { background: #f4f0ff; color: var(--hk-primary); }
.hk-lang a.is-active { background: var(--hk-grad); color: #fff; }
.hk-header__actions .hk-btn { white-space: nowrap; }
.hk-hero__title { text-wrap: balance; }
@media (max-width: 560px) {
	.hk-header__actions { gap: .45rem; }
	.hk-header__actions .hk-btn--sm { padding: .62rem .9rem; }
	.hk-lang a { min-width: 30px; padding: .3rem .5rem; font-size: .72rem; }
}

/* 4. Hero ---------------------------------------------------------------- */
.hk-hero { padding-block: clamp(1.2rem, 3.5vw, 2.6rem) clamp(2.2rem, 4vw, 3.4rem); overflow-x: clip; }
.hk-hero__grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; gap: 2rem; }

.hk-badge {
	display: inline-flex; align-items: center; gap: .6rem;
	padding: .28rem .9rem .28rem .28rem; border-radius: 999px;
	background: #efeaff; color: #4a3bb0; font-size: .78rem; font-weight: 600;
}
.hk-badge__new { padding: .16rem .62rem; border-radius: 999px; background: var(--hk-grad); color: #fff; font-size: .68rem; }

.hk-hero__title {
	margin: 1.4rem 0 1.3rem;
	font-size: clamp(2.5rem, 4.2vw, 3.7rem);
	line-height: 1.06; font-weight: 800; letter-spacing: -.035em;
}
.hk-hero__lead { max-width: 27em; font-size: 1rem; line-height: 1.65; color: var(--hk-ink-2); }
.hk-hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.hk-proof { display: flex; align-items: center; gap: .9rem; margin-top: 2.2rem; }
.hk-avatars { display: flex; }
.hk-avatar {
	width: 40px; height: 40px; flex: none;
	border: 2px solid #fff; border-radius: 50%; background: #fff;
	box-shadow: 0 2px 8px rgba(60, 40, 140, .14);
}
.hk-avatars .hk-avatar + .hk-avatar { margin-left: -11px; }
.hk-avatar--md { width: 40px; height: 40px; }
.hk-proof p { display: flex; flex-direction: column; line-height: 1.3; }
.hk-proof strong { font-size: 1.05rem; font-weight: 800; }
.hk-proof span { font-size: .8rem; color: var(--hk-muted); }

/* Hero visual: a fixed 640x540 stage that is scaled with --vs on small screens */
.hk-hero__visual { --vs: 1.15; position: relative; justify-self: center; width: calc(640px * var(--vs)); height: calc(540px * var(--vs)); }
.hk-stage { position: absolute; left: 0; top: 0; width: 640px; height: 540px; transform: scale(var(--vs)); transform-origin: 0 0; }
.hk-glow {
	position: absolute; left: -50px; top: -30px; width: 740px; height: 600px; z-index: 0;
	background: radial-gradient(closest-side, rgba(168, 140, 255, .32), rgba(168, 140, 255, 0));
	pointer-events: none;
}

.hk-dash {
	position: absolute; left: 0; top: 46px; z-index: 1; width: 400px; padding: 22px 24px 20px;
	background: #fff; border: 1px solid var(--hk-line); border-radius: 24px;
	box-shadow: 0 34px 60px -30px rgba(80, 55, 200, .4), 0 2px 6px rgba(80, 55, 200, .06);
}
.hk-dash__title { font-size: 15px; font-weight: 700; }
.hk-dash__label { display: flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 11px; color: var(--hk-muted); }
.hk-dash__label .ic { width: 12px; height: 12px; }
.hk-dash__amount { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.hk-dash__amount strong { font-size: 27px; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.hk-dash__amount small { font-size: 10px; color: var(--hk-muted); }
.hk-pill { display: inline-flex; align-items: center; gap: 2px; padding: 2px 7px; border-radius: 999px; background: #e3f7ee; color: #12a36b; font-size: 10px; font-weight: 700; }
.hk-pill .ic { width: 10px; height: 10px; stroke-width: 2.8; }

.hk-dash__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 18px; }
.hk-dash__actions li {
	display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 11px 0 9px;
	border: 1px solid var(--hk-line); border-radius: 14px; font-size: 11px; font-weight: 600;
}
.hk-dash__actions .ic { width: 18px; height: 18px; color: var(--hk-primary); }

.hk-dash__spendhead { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.hk-select { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border: 1px solid var(--hk-line); border-radius: 8px; font-size: 10px; color: var(--hk-ink-2); }
.hk-select .ic { width: 10px; height: 10px; }

.hk-chart { display: flex; margin-top: 14px; }
.hk-chart__y { position: relative; flex: none; width: 26px; height: 120px; font-size: 9px; line-height: 12px; color: var(--hk-muted); }
.hk-chart__y li { position: absolute; left: 0; }
.hk-chart__y li:nth-child(1) { top: 8px; }
.hk-chart__y li:nth-child(2) { top: 40px; }
.hk-chart__y li:nth-child(3) { top: 72px; }
.hk-chart__y li:nth-child(4) { top: 104px; }
.hk-chart__plot { position: relative; width: 325px; height: 120px; }
.hk-chart__svg { display: block; max-width: none; }
.hk-tip {
	position: absolute; left: 162px; top: 1px; transform: translateX(-50%);
	padding: 3px 8px; border-radius: 7px; background: #1b1a3a; color: #fff; font-size: 10px; font-weight: 700; line-height: 1.4;
}
.hk-tip::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 7px; height: 7px; background: #1b1a3a; transform: translateX(-50%) rotate(45deg); }
.hk-chart__x { display: flex; justify-content: space-between; margin: 8px 0 0 26px; font-size: 9px; color: var(--hk-muted); }

.hk-ai {
	position: absolute; left: 298px; top: 0; z-index: 4; width: 214px; padding: 14px 16px;
	background: #fff; border: 1px solid var(--hk-line); border-radius: 18px;
	box-shadow: 0 26px 48px -22px rgba(80, 55, 200, .4);
}
.hk-ai__head { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; }
.hk-ai__icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: #efe9ff; color: var(--hk-primary); }
.hk-ai__icon .ic { width: 13px; height: 13px; }
.hk-ai__text { margin-top: 8px; font-size: 11.5px; line-height: 1.45; }
.hk-ai__link { display: flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 10.5px; font-weight: 700; color: var(--hk-primary); }
.hk-ai__link .ic { width: 11px; height: 11px; }

.hk-phone {
	position: absolute; left: 400px; top: 30px; z-index: 2; width: 240px; height: 498px; padding: 9px;
	background: #0d0e24; border-radius: 42px; transform: rotate(4deg);
	box-shadow: 0 44px 70px -28px rgba(40, 25, 130, .6), inset 0 0 0 2px #2b2c4c;
}
.hk-phone__screen { position: relative; height: 100%; padding: 12px 14px; overflow: hidden; border-radius: 34px; background: linear-gradient(180deg, #f5f1ff 0%, #fff 38%); }
.hk-phone__status { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 9px; font-weight: 700; }
.hk-phone__island { width: 62px; height: 16px; border-radius: 10px; background: #0d0e24; }
.hk-phone__sig { width: 18px; height: 8px; border: 1.4px solid #0d0e24; border-radius: 3px; }
.hk-phone__top { display: flex; align-items: center; justify-content: space-between; }
.hk-phone__top small { display: block; font-size: 9px; color: var(--hk-muted); line-height: 1.2; }
.hk-phone__top b { font-size: 14px; font-weight: 800; line-height: 1.3; }
.hk-phone__bell { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--hk-line); border-radius: 50%; background: #fff; }
.hk-phone__bell .ic { width: 14px; height: 14px; }

.hk-vcard {
	position: relative; margin-top: 12px; padding: 12px 14px 13px; border-radius: 16px; color: #fff;
	background: linear-gradient(135deg, #5a3df5 0%, #8b5cf6 55%, #b08bff 100%);
	box-shadow: 0 16px 24px -14px rgba(90, 61, 245, .7);
}
.hk-vcard__top { display: flex; align-items: center; justify-content: space-between; }
.hk-vcard__chip { width: 22px; height: 16px; border-radius: 4px; background: linear-gradient(135deg, #ffe29a, #f3b94d); }
.hk-vcard__top b { font-size: 13px; font-weight: 800; font-style: italic; }
.hk-vcard small { display: block; margin-top: 9px; font-size: 8.5px; line-height: 1.2; opacity: .85; }
.hk-vcard strong { display: block; font-size: 18px; font-weight: 800; line-height: 1.3; }
.hk-vcard__num { position: absolute; right: 14px; bottom: 13px; font-size: 9px; letter-spacing: .06em; opacity: .9; }

.hk-phone__h { display: flex; align-items: center; justify-content: space-between; margin: 13px 0 8px; font-size: 10.5px; font-weight: 700; }
.hk-phone__h em { font-style: normal; font-size: 8.5px; font-weight: 600; color: var(--hk-primary); }
.hk-qa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; font-size: 8px; font-weight: 600; color: var(--hk-ink-2); }
.hk-qa span { display: grid; place-items: center; width: 36px; height: 36px; margin: 0 auto 4px; border-radius: 12px; background: #f1ecff; color: var(--hk-primary); }
.hk-qa .ic { width: 16px; height: 16px; }
.hk-tx { display: grid; gap: 9px; }
.hk-tx li { display: flex; align-items: center; gap: 8px; }
.hk-tx__ico { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 9px; font-size: 13px; font-weight: 800; color: #fff; }
.hk-tx__ico .ic { width: 14px; height: 14px; }
.hk-tx__ico--a { background: #232333; color: #ffb648; }
.hk-tx__ico--n { background: #15151f; color: #ee2b3c; }
.hk-tx__ico--s { background: #e3f7ee; color: #12a36b; }
.hk-tx__name { flex: 1; line-height: 1.25; }
.hk-tx__name b { display: block; font-size: 10px; font-weight: 700; }
.hk-tx__name small { font-size: 8.5px; color: var(--hk-muted); }
.hk-tx__amt { font-size: 9.5px; font-weight: 700; }
.hk-tx__amt--in { color: #12a36b; }

.hk-pie { position: absolute; left: -26px; top: 390px; z-index: 5; width: 160px; filter: drop-shadow(0 12px 14px rgba(70, 45, 200, .18)); }
.hk-pie__svg { display: block; width: 100%; height: auto; }

.hk-gem { position: absolute; z-index: 5; filter: drop-shadow(0 12px 14px rgba(70, 45, 220, .3)); animation: hk-float 6s ease-in-out infinite; }
.hk-gem--lg { left: 334px; top: 118px; width: 74px; height: 74px; color: #8f6bff; }
.hk-gem--blue { left: -34px; top: 150px; width: 34px; height: 34px; color: #4a8dff; animation-delay: -2s; }
.hk-gem--sm { left: 608px; top: 142px; width: 26px; height: 26px; color: #5d7bff; animation-delay: -4s; }

@keyframes hk-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

/* 5. Stats --------------------------------------------------------------- */
.hk-stats-wrap { padding-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.hk-stats {
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; padding: 1.35rem 1.8rem;
	background: rgba(255, 255, 255, .82); border: 1px solid var(--hk-line); border-radius: 24px;
	box-shadow: var(--hk-shadow);
}
.hk-stat { display: flex; align-items: center; gap: .9rem; }
.hk-stat__icon {
	display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px;
	background: linear-gradient(135deg, #eee8ff, #dcd1ff); color: var(--hk-primary);
}
.hk-stat__icon .ic { width: 24px; height: 24px; }
.hk-stat p { display: flex; flex-direction: column; line-height: 1.25; }
.hk-stat strong { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.hk-stat p span { font-size: .78rem; color: var(--hk-muted); }

/* 6. Sections ------------------------------------------------------------ */
.hk-split--features { display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 2.3fr); align-items: center; gap: 2.5rem; }
.hk-grid { display: grid; gap: 1.1rem; }
.hk-grid--4 { grid-template-columns: repeat(4, 1fr); }
.hk-grid--3 { grid-template-columns: repeat(3, 1fr); }

.hk-feature { padding: 1.4rem 1.3rem 1.5rem; }
.hk-feature h3 { margin: 1.1rem 0 .4rem; font-size: 1rem; font-weight: 700; }
.hk-feature p { font-size: .84rem; line-height: 1.55; color: var(--hk-muted); }
.hk-tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; box-shadow: 0 12px 18px -12px currentColor; }
.hk-tile .ic { width: 26px; height: 26px; stroke-width: 1.9; }
.hk-tile--blue { background: linear-gradient(135deg, #e3edff, #bdd4ff); color: #3b82f6; }
.hk-tile--orange { background: linear-gradient(135deg, #fff0e3, #ffd0a8); color: #f97316; }
.hk-tile--purple { background: linear-gradient(135deg, #efe9ff, #d7c9ff); color: #7b57ff; }
.hk-tile--pink { background: linear-gradient(135deg, #ffe9f4, #ffc4de); color: #ec4899; }

.hk-how { display: grid; grid-template-columns: minmax(220px, .62fr) minmax(0, 2.3fr) 230px; align-items: center; gap: 2rem; }
.hk-steps {
	display: grid; grid-template-columns: repeat(4, 1fr); padding: 1.7rem .6rem 1.6rem;
	background: rgba(255, 255, 255, .86); border: 1px solid var(--hk-line); border-radius: 22px; box-shadow: var(--hk-shadow);
}
.hk-step { position: relative; padding: 0 .9rem; text-align: center; }
.hk-step:not(:last-child)::after { content: "\2192"; position: absolute; right: -9px; top: 18px; font-size: 1.1rem; color: #8b86b0; }
.hk-step__icon {
	position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 1rem;
	border-radius: 50%; background: linear-gradient(135deg, #f0eaff, #e0d5ff); color: var(--hk-primary);
}
.hk-step__icon .ic { width: 26px; height: 26px; }
.hk-step__icon i {
	position: absolute; top: -8px; left: -10px; padding: .08rem .42rem;
	border: 1px solid var(--hk-line); border-radius: 999px; background: #fff;
	font-size: .62rem; font-style: normal; font-weight: 700; color: var(--hk-primary);
}
.hk-step h3 { font-size: .95rem; font-weight: 700; }
.hk-step p { margin-top: .35rem; font-size: .8rem; line-height: 1.5; color: var(--hk-muted); }
.hk-how__art svg { width: 100%; height: auto; animation: hk-float 7s ease-in-out infinite; }

.hk-duo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr); align-items: stretch; gap: 2rem; }

.hk-cta {
	position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 1rem;
	min-height: 340px; padding: 2.2rem 1.6rem 2.2rem 2.2rem; overflow: hidden; border-radius: 28px; color: #fff;
	background:
		radial-gradient(420px 260px at 82% 45%, rgba(130, 100, 255, .5), rgba(130, 100, 255, 0) 65%),
		linear-gradient(160deg, #14153a 0%, #1d1b57 55%, #2a1f7a 100%);
}
.hk-cta h2 { font-size: clamp(1.45rem, 2.1vw, 1.85rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.hk-cta__copy p { max-width: 22em; margin: .9rem 0 1.6rem; font-size: .88rem; line-height: 1.6; color: #c9c8ee; }
.hk-cta__art { position: relative; align-self: stretch; display: grid; place-items: center; }
.hk-cta__art svg { position: relative; width: 100%; max-width: 230px; height: auto; }
.hk-cta__glow { position: absolute; inset: 8% 0 8% 0; background: radial-gradient(closest-side, rgba(143, 125, 255, .6), rgba(143, 125, 255, 0)); filter: blur(8px); }
.hk-cta__chip {
	position: absolute; left: -.2rem; bottom: .2rem; display: flex; align-items: center; gap: .55rem;
	padding: .6rem .8rem; border-radius: 14px; background: #fff; color: var(--hk-ink);
	font-size: .74rem; font-weight: 700; box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .5);
}
.hk-cta__chip .ic:first-child { width: 18px; height: 18px; color: var(--hk-primary); }
.hk-cta__chip .ic:last-child { width: 14px; height: 14px; color: var(--hk-muted); }

.hk-reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.hk-reviews__head .hk-head { max-width: 22rem; }
.hk-quote { display: flex; flex-direction: column; gap: .85rem; padding: 1.3rem; }
.hk-stars { display: flex; gap: 2px; color: #f5b21b; }
.hk-stars .ic { width: 15px; height: 15px; }
.hk-quote blockquote { font-size: .88rem; line-height: 1.6; }
.hk-quote figcaption { display: flex; align-items: center; gap: .7rem; margin-top: auto; padding-top: .4rem; }
.hk-quote figcaption b { display: block; font-size: .85rem; line-height: 1.3; }
.hk-quote figcaption small { font-size: .75rem; color: var(--hk-muted); }

/* 7. Pricing ------------------------------------------------------------- */
.hk-pricing { display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 2.3fr) 230px; align-items: center; gap: 2rem; }
.hk-plans { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 1.1rem; }
.hk-plan {
	position: relative; display: flex; flex-direction: column; padding: 1.5rem 1.4rem; overflow: hidden;
	background: #fff; border: 1px solid var(--hk-line); border-radius: 20px; box-shadow: var(--hk-shadow);
}
.hk-plan--popular { padding-top: 2.9rem; border: 1.5px solid #8a63ff; box-shadow: 0 26px 50px -24px rgba(107, 75, 255, .6); }
.hk-plan__flag {
	position: absolute; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: center; gap: .35rem;
	height: 30px; background: var(--hk-grad); color: #fff; font-size: .7rem; font-weight: 700;
}
.hk-plan__flag .ic { width: 12px; height: 12px; }
.hk-plan__name { font-size: .85rem; font-weight: 600; color: var(--hk-ink-2); }
.hk-plan__price { display: flex; align-items: baseline; gap: .25rem; margin-top: .3rem; }
.hk-plan__price strong { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.hk-plan__price span { font-size: .78rem; color: var(--hk-muted); }
.hk-plan__for { font-size: .78rem; color: var(--hk-muted); }
.hk-plan__list { display: grid; gap: .6rem; margin: 1.2rem 0 1.5rem; font-size: .84rem; color: var(--hk-ink-2); }
.hk-plan__list li { display: flex; align-items: center; gap: .55rem; }
.hk-plan__list .ic { width: 17px; height: 17px; padding: 3px; border-radius: 50%; background: #efe9ff; color: var(--hk-primary); stroke-width: 2.8; }
.hk-plan .hk-btn { margin-top: auto; }
.hk-pricing__art svg { width: 100%; height: auto; animation: hk-float 7s ease-in-out infinite; }

/* 8. Footer -------------------------------------------------------------- */
.hk-footer { padding: clamp(1.6rem, 4vw, 3rem) 0 1.5rem; }
.hk-footer__shell { overflow: hidden; border-radius: 28px; background: #0e1030; color: #b9bbe0; }

.hk-news {
	display: flex; align-items: center; gap: 1.4rem; padding: 1.5rem 2rem; color: #fff;
	background: linear-gradient(100deg, #5a3df0 0%, #7d5cff 55%, #9a78ff 100%);
}
.hk-news__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .2); }
.hk-news__icon .ic { width: 28px; height: 28px; }
.hk-news__copy { flex: 1; min-width: 0; }
.hk-news__title { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.hk-news__copy p { font-size: .85rem; opacity: .88; }
.hk-news__form { display: flex; flex: 0 1 470px; gap: .6rem; min-width: 0; }
.hk-news__form input {
	flex: 1; min-width: 0; height: 48px; padding: 0 1rem;
	border: 0; border-radius: 12px; background: rgba(255, 255, 255, .96); color: var(--hk-ink); font-size: .88rem;
}
.hk-news__form .hk-btn { height: 48px; padding-block: 0; }

.hk-footer__body { display: grid; grid-template-columns: 1.7fr repeat(4, 1fr) 1.3fr; gap: 2rem; padding: 2.4rem 2rem 2rem; }
.hk-footer__brand p { max-width: 17em; margin: 1rem 0 1.2rem; font-size: .82rem; line-height: 1.6; }
.hk-social { display: flex; gap: .6rem; }
.hk-social a { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; color: #d8d9f2; }
.hk-social a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.hk-social .ic { width: 15px; height: 15px; }
.hk-footer__col h3 { margin-bottom: 1rem; font-size: .88rem; font-weight: 700; color: #fff; }
.hk-footer__col li + li { margin-top: .6rem; }
.hk-footer__col a { font-size: .82rem; }
.hk-footer__col li a:hover { color: #fff; }
.hk-store {
	display: flex; align-items: center; gap: .6rem; max-width: 178px; margin-bottom: .6rem; padding: .5rem .9rem;
	border: 1px solid #3b3c5e; border-radius: 12px; background: #000; color: #fff;
}
.hk-store .ic { width: 20px; height: 20px; }
.hk-store span { display: flex; flex-direction: column; line-height: 1.15; }
.hk-store small { font-size: .6rem; color: #c9cae6; }
.hk-store b { font-size: .92rem; font-weight: 700; }
.hk-footer__bar {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 2rem;
	border-top: 1px solid rgba(255, 255, 255, .08); font-size: .78rem;
}
.hk-footer__legal { display: flex; gap: 1.6rem; }
.hk-footer__legal a:hover { color: #fff; }

/* 9. Inner pages --------------------------------------------------------- */
.hk-page { padding-block: clamp(2rem, 5vw, 4rem); }
.hk-narrow { max-width: 820px; }
.hk-page__head { margin-bottom: 2rem; }
.hk-page__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.hk-article__thumb { margin-bottom: 2rem; overflow: hidden; border-radius: 20px; }
.hk-article__thumb img { width: 100%; height: auto; }
.hk-content { font-size: 1.05rem; line-height: 1.8; color: var(--hk-ink-2); }
.hk-content > * + * { margin-top: 1.2em; }
.hk-content h2, .hk-content h3, .hk-content h4 { color: var(--hk-ink); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin-top: 1.8em; }
.hk-content h2 { font-size: 1.7rem; }
.hk-content h3 { font-size: 1.35rem; }
.hk-content a { color: var(--hk-primary); text-decoration: underline; text-underline-offset: 3px; }
.hk-content ul, .hk-content ol { padding-left: 1.3rem; }
.hk-content ul { list-style: disc; }
.hk-content ol { list-style: decimal; }
.hk-content li + li { margin-top: .4em; }
.hk-content img { height: auto; border-radius: 14px; }
.hk-content blockquote { padding: .2rem 0 .2rem 1.2rem; border-left: 3px solid var(--hk-primary-2); color: var(--hk-ink); }
.hk-content pre { padding: 1rem 1.2rem; overflow-x: auto; border-radius: 14px; background: #14153a; color: #e8e6ff; font-size: .9rem; }
.hk-content code { font-size: .92em; }

.hk-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.4rem; }
.hk-post-card { overflow: hidden; background: #fff; border: 1px solid var(--hk-line); border-radius: 20px; box-shadow: var(--hk-shadow); }
.hk-post-card__thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hk-post-card__body { padding: 1.3rem; }
.hk-post-card__meta { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hk-muted); }
.hk-post-card__title { margin: .4rem 0 .6rem; font-size: 1.2rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.hk-post-card__title a:hover { color: var(--hk-primary); }
.hk-post-card__excerpt { font-size: .9rem; color: var(--hk-ink-2); }
.hk-post-card__excerpt p + p { margin-top: .6rem; }
.navigation.pagination { margin-top: 2rem; }
.navigation .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.navigation .page-numbers { padding: .5rem .9rem; border: 1px solid var(--hk-line); border-radius: 10px; background: #fff; font-weight: 600; font-size: .9rem; }
.navigation .page-numbers.current { background: var(--hk-grad); border-color: transparent; color: #fff; }
.hk-404 { text-align: center; }
.hk-404__lead { margin: 1rem 0 2rem; color: var(--hk-ink-2); }

/* 10. Responsive --------------------------------------------------------- */
@media (max-width: 1180px) {
	.hk-split--features { grid-template-columns: 1fr; gap: 1.6rem; }
	.hk-how { grid-template-columns: minmax(0, 1fr) 200px; }
	.hk-how .hk-steps { grid-column: 1 / -1; grid-row: 2; }
	.hk-how .hk-head { grid-column: 1; grid-row: 1; }
	.hk-how__art { grid-column: 2; grid-row: 1; }
	.hk-pricing { grid-template-columns: minmax(0, 1fr) 200px; }
	.hk-pricing .hk-plans { grid-column: 1 / -1; grid-row: 2; }
	.hk-pricing .hk-head { grid-column: 1; grid-row: 1; }
	.hk-pricing__art { grid-column: 2; grid-row: 1; max-width: 200px; }
	.hk-duo { grid-template-columns: 1fr; }
	.hk-footer__body { grid-template-columns: repeat(3, 1fr); }
	.hk-footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 1200px) and (max-width: 1299px) {
	.hk-hero__visual { --vs: 1.05; }
}

@media (min-width: 1101px) and (max-width: 1199px) {
	.hk-hero__visual { --vs: .96; }
}

@media (min-width: 961px) and (max-width: 1100px) {
	.hk-hero__visual { --vs: .82; }
}

@media (max-width: 960px) {
	.hk-header__inner { gap: 1rem; }
	.hk-nav-toggle { display: inline-flex; }
	.hk-header__actions { margin-left: auto; }
	.hk-nav {
		display: none; position: absolute; left: 0; right: 0; top: 76px; margin: 0;
		padding: .6rem 1.5rem 1.4rem; background: #fff; border-bottom: 1px solid var(--hk-line); box-shadow: 0 24px 40px -24px rgba(60, 40, 140, .3);
	}
	.hk-header.is-open .hk-nav { display: block; }
	.hk-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.hk-nav__list a { width: 100%; padding: .8rem 0; font-size: 1rem; }
	.hk-nav .sub-menu { position: static; min-width: 0; padding: 0 0 .4rem 1rem; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.hk-nav .sub-menu a { padding: .45rem 0; font-size: .92rem; color: var(--hk-ink-2); }
	.hk-nav .menu-item-has-children > a::after { display: none; }

	.hk-hero__grid { grid-template-columns: 1fr; gap: 2.4rem; }
	.hk-hero__visual { --vs: 1; }
	.hk-hero__title { max-width: 11em; }
	.hk-stats { grid-template-columns: repeat(3, 1fr); row-gap: 1.4rem; }
	.hk-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.hk-grid--3 { grid-template-columns: 1fr; }
	.hk-steps { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }
	.hk-step:nth-child(2)::after { display: none; }
	.hk-plans { grid-template-columns: 1fr; }
	.hk-plan--popular { order: -1; }
	.hk-news { flex-wrap: wrap; }
	.hk-news__copy { flex-basis: calc(100% - 80px); }
	.hk-news__form { flex: 1 1 100%; }
	.hk-footer__apps { grid-column: 1 / -1; }
}

@media (max-width: 680px) { .hk-hero__visual { --vs: .86; } }
@media (max-width: 600px) { .hk-hero__visual { --vs: .74; } }
@media (max-width: 560px) {
	.hk-hide-sm { display: none; }
	.hk-stats { grid-template-columns: repeat(2, 1fr); padding: 1.2rem; }
	.hk-stat:last-child { grid-column: 1 / -1; }
	.hk-cta { grid-template-columns: 1fr; padding: 1.8rem 1.4rem 1.6rem; }
	.hk-cta__art { min-height: 260px; }
	.hk-reviews__head { flex-direction: column; align-items: flex-start; }
	.hk-footer__body { grid-template-columns: repeat(2, 1fr); padding: 2rem 1.4rem 1.6rem; }
	.hk-footer__bar { flex-direction: column; align-items: flex-start; padding-inline: 1.4rem; }
	.hk-news { padding: 1.4rem; }
	.hk-how, .hk-pricing { grid-template-columns: 1fr; }
	.hk-how__art, .hk-pricing__art { display: none; }
	.hk-how .hk-steps, .hk-pricing .hk-plans { grid-row: auto; }
}
@media (max-width: 520px) { .hk-hero__visual { --vs: .62; } .hk-grid--4 { grid-template-columns: 1fr; } .hk-steps { grid-template-columns: 1fr; } .hk-step::after { display: none !important; } }
@media (max-width: 440px) { .hk-hero__visual { --vs: .54; } .hk-hero__cta .hk-btn { flex: 1 1 100%; } }
@media (max-width: 390px) { .hk-hero__visual { --vs: .48; } }
@media (max-width: 360px) { .hk-hero__visual { --vs: .44; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hk-gem, .hk-how__art svg, .hk-pricing__art svg { animation: none; }
	.hk-btn { transition: none; }
}
