/* ==========================================================================
   Kekondangan — halaman publik & auth, disamakan dengan web Next
   ("Elegant Olive & Warm Gold", .interface-design/system.md di D:\Project\kekondangan 2027).
   Dipakai oleh: front-page.php, 404.php, weddingsaas/layouts/auth.php
   Semua class memakai prefix kx- supaya tidak bentrok dengan style.css lama.
   ========================================================================== */

:root {
	--kx-olive: #485349;        /* forest: tombol utama, tautan, teks isi */
	--kx-ink: #303B32;          /* Dark Green: judul, pembuka & penutup gelap */
	--kx-night: #2B332F;        /* footer */
	--kx-gold: #FAC273;         /* aksen premium & tombol di latar gelap */
	--kx-gold-hover: #FFD08F;
	--kx-gold-text: #8F6017;    /* hanya teks peringatan ringan */
	--kx-gold-soft: #FDF1DC;
	--kx-bg: #F8FAFC;
	--kx-surface: #FFFFFF;
	--kx-line: #E8EDE9;
	--kx-line-strong: #D6DDD7;
	--kx-text: #485349;
	--kx-muted: #6B766E;
	--kx-subtle: #849087;
	--kx-soft: #E8EEE9;
	--kx-danger: #C03D3D;
	--kx-ok: #1A7F55;
	--kx-radius: 16px;
	--kx-radius-sm: 10px;
	--kx-card-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 16px 40px -16px rgb(0 0 0 / .28);
	--kx-ease: cubic-bezier(.2, .7, .2, 1);
	--kx-brand: var(--kx-olive);  /* bisa ditimpa warna reseller */
}

.kx-body,
.kx-auth {
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
	color: var(--kx-text);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

html body.kx-body {
	margin: 0;
	background: var(--kx-surface) !important;
	color: var(--kx-text) !important;
}

.kx-body a,
.kx-auth a { text-decoration: none; }

.kx-shell {
	width: min(1160px, calc(100% - 32px));
	margin-inline: auto;
}

/* ---------- Tombol ---------- */
.kx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: var(--kx-radius-sm);
	background: var(--kx-brand);
	color: #fff !important;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background-color .15s var(--kx-ease), transform .15s var(--kx-ease), border-color .15s var(--kx-ease);
}
.kx-btn:hover { background: var(--kx-ink); }
.kx-btn:active { transform: scale(.98); }
.kx-btn i { font-size: 17px; transition: transform .15s var(--kx-ease); }
.kx-btn:hover i.kx-arrow { transform: translateX(2px); }

/* Pil di latar gelap: utama emas, kedua transparan bergaris putih */
.kx-btn--gold { border-radius: 999px; background: var(--kx-gold); color: var(--kx-ink) !important; }
.kx-btn--gold:hover { background: var(--kx-gold-hover); }
.kx-btn--outline-light { border-radius: 999px; border-color: rgb(255 255 255 / .35); background: transparent; color: #fff !important; }
.kx-btn--outline-light:hover { border-color: #fff; background: rgb(255 255 255 / .08); }

.kx-btn--ghost { border-color: var(--kx-line-strong); background: #fff; color: var(--kx-ink) !important; }
.kx-btn--ghost:hover { border-color: var(--kx-ink); background: var(--kx-bg); }

.kx-btn--sm { min-height: 40px; padding: 0 18px; font-size: 13px; }

.kx-btn:focus-visible,
.kx-link:focus-visible,
.kx-topbar a:focus-visible,
.kx-auth-corner a:focus-visible,
.kx-eye:focus-visible,
.kx-check input:focus-visible + span {
	outline: 2px solid var(--kx-ink);
	outline-offset: 2px;
	box-shadow: 0 0 0 6px rgb(250 194 115 / .45);
}
.kx-dark .kx-btn:focus-visible,
.kx-dark a:focus-visible { outline-color: #fff; }

.kx-link {
	color: var(--kx-brand) !important;
	font-weight: 600;
	text-decoration: underline !important;
	text-decoration-color: rgb(72 83 73 / .3) !important;
	text-underline-offset: 3px;
	transition: text-decoration-color .15s;
}
.kx-link:hover { text-decoration-color: currentColor !important; }
.kx-dark .kx-link { color: var(--kx-gold) !important; text-decoration-color: rgb(250 194 115 / .4) !important; }

/* Label seksi bernomor: "01 —— KEUNGGULAN" (olive + garis emas) */
.kx-section-label {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	color: var(--kx-brand);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.kx-section-label::after { content: ''; order: 1; width: 40px; height: 1px; background: var(--kx-gold); }
.kx-section-label span { order: 2; }

/* Sorotan stabilo emas di latar terang */
.kx-mark-gold {
	color: var(--kx-brand);
	background: linear-gradient(transparent 55%, rgb(250 194 115 / .6) 55%, rgb(250 194 115 / .6) 89%, transparent 89%);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* ---------- Motif: jalur undangan & watermark amplop ---------- */
.kx-jalur { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.kx-watermark {
	position: absolute;
	right: -80px;
	bottom: -96px;
	z-index: -1;
	color: rgb(255 255 255 / .06);
	font-size: 560px;
	line-height: 1;
	transform: rotate(12deg);
	pointer-events: none;
}

/* ---------- Pembuka gelap (header + hero beranda) ---------- */
.kx-dark {
	position: relative;
	overflow: clip;
	background: var(--kx-ink);
	color: #fff;
	isolation: isolate;
}

.kx-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 72px;
}
.kx-logo { display: flex; align-items: center; line-height: 0; }
.kx-logo img { width: auto; height: 36px; max-width: 170px; object-fit: contain; }
.kx-topbar-nav { display: flex; align-items: center; gap: 6px; }
.kx-topbar-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 12px;
	border-radius: 10px;
	color: rgb(255 255 255 / .7) !important;
	font-size: 14px;
	font-weight: 500;
	transition: color .15s, background-color .15s;
}
.kx-topbar-link i { font-size: 17px; }
.kx-topbar-link:hover { background: rgb(255 255 255 / .08); color: #fff !important; }

/* ---------- Beranda ---------- */
.kx-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 56px;
	padding: 56px 0 88px;
}
.kx-hero-copy { max-width: 540px; }
.kx-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 20px;
	color: rgb(255 255 255 / .7);
	font-size: 13px;
	font-weight: 500;
}
.kx-kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--kx-gold); }
.kx-hero h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.035em;
	text-wrap: balance;
}
.kx-hero h1 span { color: var(--kx-gold); }
.kx-hero-lead {
	max-width: 460px;
	margin: 20px 0 32px;
	color: rgb(255 255 255 / .7);
	font-size: 17px;
	line-height: 1.65;
	text-wrap: pretty;
}
.kx-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.kx-hero-visual {
	position: relative;
	margin: 0;
	padding: 20px;
	border-radius: 24px;
	background: rgb(255 255 255 / .06);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1);
}
.kx-hero-visual img { display: block; width: 100%; height: auto; max-width: 520px; margin-inline: auto; border-radius: 16px; }

.kx-section { padding: 80px 0; background: var(--kx-surface); }
.kx-section--canvas { background: var(--kx-bg); }
.kx-section h2.kx-section-title {
	max-width: 560px;
	margin: 0 0 40px;
	color: var(--kx-ink);
	font-size: clamp(26px, 3.2vw, 36px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.025em;
	text-wrap: balance;
}

.kx-features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.kx-feature {
	padding: 24px;
	border-radius: var(--kx-radius);
	background: var(--kx-surface);
	box-shadow: 0 0 0 1px var(--kx-line), 0 1px 2px rgb(48 59 50 / .03);
}
.kx-feature-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 18px;
	border-radius: 12px;
	background: var(--kx-soft);
	color: var(--kx-brand);
	font-size: 22px;
}
.kx-feature h3 { margin: 0 0 6px; color: var(--kx-ink); font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.kx-feature p { margin: 0; color: var(--kx-muted); font-size: 14px; line-height: 1.6; }

/* Penutup gelap */
.kx-closing { padding: 72px 0; text-align: center; }
.kx-closing h2 { max-width: 620px; margin: 0 auto 14px; color: #fff; font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
.kx-closing h2 span { color: var(--kx-gold); }
.kx-closing p { max-width: 460px; margin: 0 auto 28px; color: rgb(255 255 255 / .7); font-size: 16px; line-height: 1.6; }
.kx-closing .kx-hero-actions { justify-content: center; }

.kx-foot { padding: 28px 0; background: var(--kx-night); color: rgb(255 255 255 / .65); font-size: 13px; }
.kx-foot .kx-shell { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kx-foot a { color: rgb(255 255 255 / .65) !important; transition: color .15s; }
.kx-foot a:hover { color: #fff !important; }
.kx-foot-copy { display: inline-flex; align-items: center; gap: 8px; }
.kx-foot-copy::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--kx-gold); }

/* ---------- 404: satu layar gelap + halaman buku tamu ----------
   Motif identitas buku tamu (kertas bergaris, margin emas) mencatat alamat yang dicari lalu dicap 404. */
.kx-404-screen { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.kx-404 {
	display: grid;
	flex: 1;
	grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
	align-items: center;
	gap: 64px;
	padding: 40px 0 64px;
}
.kx-404-copy { max-width: 520px; animation: kx-404-in .5s var(--kx-ease) both; }
.kx-404-kicker { gap: 10px; }
.kx-404-kicker::before { display: none; }
.kx-404-code {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	background: rgb(250 194 115 / .16);
	color: var(--kx-gold);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	font-variant-numeric: tabular-nums;
}
.kx-404 h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(34px, 4.6vw, 54px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.035em;
	text-wrap: balance;
}
.kx-404-accent { color: var(--kx-gold); }
.kx-404-lead { max-width: 440px; margin: 20px 0 32px; color: rgb(255 255 255 / .72); font-size: 16px; line-height: 1.7; text-wrap: pretty; }
.kx-404-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.kx-404-more { margin: 24px 0 0; font-size: 14px; }

/* Halaman buku tamu */
.kx-404-book { margin: 0; perspective: 1200px; animation: kx-404-in .6s .08s var(--kx-ease) both; }
.kx-404-sheet {
	position: relative;
	max-width: 440px;
	margin-inline: auto;
	padding: 28px 28px 32px 56px;
	border-radius: 14px;
	background:
		linear-gradient(90deg, transparent 39px, rgb(232 168 80 / .55) 39px, rgb(232 168 80 / .55) 40px, transparent 40px),
		repeating-linear-gradient(180deg, transparent 0 calc(var(--kx-line-gap, 44px) - 1px), #E6DFCF calc(var(--kx-line-gap, 44px) - 1px) var(--kx-line-gap, 44px)) 0 72px / 100% calc(100% - 72px) no-repeat,
		#FFFDF8;
	color: var(--kx-ink);
	/* lembar kedua di belakang (kesan buku) dibuat dari bayangan bergeser, bukan ::before,
	   karena transform pada kertas membuat ::before z-index -1 tergambar di atas latarnya */
	box-shadow: 10px 12px 0 -2px #E9E1CF, 0 24px 60px -24px rgb(0 0 0 / .55), 0 2px 6px rgb(0 0 0 / .18);
	transform: rotate(-2deg);
	transition: transform .4s var(--kx-ease);
}
.kx-404-book:hover .kx-404-sheet { transform: rotate(-.5deg) translateY(-4px); }
.kx-404-sheet-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	height: 44px;
	color: var(--kx-muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.kx-404-sheet-head span:last-child { font-weight: 500; letter-spacing: 0; text-transform: none; }
.kx-404-rows { margin: 0; }
.kx-404-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 44px; }
.kx-404-row dt { color: var(--kx-subtle); font-size: 12px; font-weight: 500; }
.kx-404-row dd { min-width: 0; margin: 0; font-size: 14px; line-height: 1.45; }
.kx-404-path {
	overflow: hidden;
	color: var(--kx-ink);
	font-weight: 600;
	text-decoration: line-through;
	text-decoration-color: rgb(192 61 61 / .55);
	text-decoration-thickness: 2px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.kx-404-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 26px;
	padding: 0 10px;
	border-radius: 999px;
	background: #FDECEC;
	color: var(--kx-danger);
	font-size: 12px;
	font-weight: 600;
}
.kx-404-pill i { font-size: 12px; }

/* Cap bulat 404 */
.kx-404-stamp {
	position: absolute;
	right: -18px;
	bottom: -22px;
	display: grid;
	place-items: center;
	align-content: center;
	width: 112px;
	height: 112px;
	border: 2px solid rgb(250 194 115 / .95);
	border-radius: 50%;
	background: var(--kx-ink);
	box-shadow: 0 0 0 5px var(--kx-ink), 0 0 0 6px rgb(250 194 115 / .5);
	color: var(--kx-gold);
	text-align: center;
	transform: rotate(-14deg);
	animation: kx-404-stamp .45s .55s cubic-bezier(.3, 1.5, .5, 1) both;
}
.kx-404-stamp-num { font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kx-404-stamp-text { margin-top: 4px; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

@keyframes kx-404-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes kx-404-stamp { from { opacity: 0; transform: rotate(-14deg) scale(1.6); } }

/* ---------- Auth: kartu putih di atas olive (sama dengan AuthShell web) ---------- */
html body#kt_body.auth-bg { background: var(--kx-brand) !important; background-image: none !important; }

.kx-auth {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
	padding: 0 16px;
	overflow: clip;
	background: var(--kx-brand);
	color: #fff;
	isolation: isolate;
}
.kx-auth-corner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	max-width: 1024px;
	height: 64px;
	margin-inline: auto;
}
.kx-auth-corner a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 8px;
	border-radius: 10px;
	color: rgb(255 255 255 / .7) !important;
	font-size: 13px;
	font-weight: 500;
	transition: color .15s;
}
.kx-auth-corner a:hover { color: #fff !important; }
.kx-auth-corner i { font-size: 16px; }

.kx-auth-main {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	max-width: 400px;
	margin-inline: auto;
	padding: 8px 0 40px;
	animation: kx-fade-in .25s ease-out both;
}
.kx-auth-card {
	padding: 36px;
	border-radius: 20px;
	background: #fff;
	color: var(--kx-ink);
	box-shadow: var(--kx-card-shadow);
}
.kx-auth-card .kx-logo { width: fit-content; margin-bottom: 32px; }
.kx-auth-card .kx-logo img { height: 36px; max-width: 160px; }
.kx-auth-copyright {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 24px;
	color: rgb(255 255 255 / .7);
	font-size: 12px;
	text-align: center;
}
.kx-auth-copyright::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--kx-gold); }
.kx-auth-copyright a { color: inherit !important; }

@keyframes kx-fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Form */
.kx-form-head { margin-bottom: 28px; }
.kx-form-head .kx-form-icon { display: none; }
.kx-auth .kx-form-head h1 {
	margin: 0 0 6px;
	color: var(--kx-ink) !important;
	font-size: 24px !important;
	font-weight: 600 !important;
	line-height: 1.25;
	letter-spacing: -.02em;
	text-wrap: balance;
}
.kx-auth .kx-form-head p { margin: 0; color: var(--kx-muted); font-size: 14px; line-height: 1.6; text-wrap: pretty; }

.kx-auth .kx-field { margin-bottom: 20px; }
.kx-auth .kx-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.kx-auth .kx-label { display: block; margin: 0 0 8px; color: var(--kx-ink) !important; font-size: 13px !important; font-weight: 500 !important; }
.kx-auth .kx-label-row .kx-label { margin: 0; }
.kx-auth .kx-label-row .kx-link { font-size: 13px; }

.kx-auth .kx-input {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 44px;
	border-radius: var(--kx-radius-sm);
	background: var(--kx-bg);
	box-shadow: inset 0 0 0 1px rgb(48 59 50 / .1);
	transition: box-shadow .15s, background-color .15s;
}
.kx-auth .kx-input:hover { box-shadow: inset 0 0 0 1px rgb(48 59 50 / .2); }
.kx-auth .kx-input:focus-within { background: #fff; box-shadow: inset 0 0 0 1px var(--kx-ink), 0 0 0 4px rgb(250 194 115 / .35); }
.kx-auth .kx-input > i { flex-shrink: 0; padding-left: 14px; color: var(--kx-subtle); font-size: 18px; }
.kx-auth .kx-input input {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 14px 0 10px;
	border: 0 !important;
	outline: 0;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--kx-ink) !important;
	font: inherit;
	font-size: 14px;
}
.kx-auth .kx-input input::placeholder { color: var(--kx-subtle); opacity: 1; }
.kx-auth .kx-input input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #fff inset !important; -webkit-text-fill-color: var(--kx-ink) !important; }

.kx-auth .kx-eye {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--kx-subtle);
	font-size: 18px;
	cursor: pointer;
	transition: color .15s;
}
.kx-auth .kx-eye:hover { color: var(--kx-ink); }
.kx-auth .kx-eye i.d-none { display: none !important; }

/* Pesan validasi FormValidation */
.kx-auth .fv-plugins-message-container,
.kx-auth .invalid-feedback { display: block; margin-top: 6px; color: var(--kx-danger) !important; font-size: 13px; font-weight: 500; }
.kx-auth .fv-row.has-danger .kx-input,
.kx-auth .fv-plugins-bootstrap5-row-invalid .kx-input { box-shadow: inset 0 0 0 1px rgb(192 61 61 / .5); }

/* Kotak centang */
.kx-check { display: inline-flex; align-items: center; gap: 10px; margin: 4px 0 24px; color: var(--kx-muted); font-size: 14px; cursor: pointer; user-select: none; }
.kx-check input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.kx-check span {
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border: 1.5px solid var(--kx-line-strong);
	border-radius: 5px;
	background: #fff;
	color: transparent;
	font-size: 12px;
	transition: background-color .15s, border-color .15s, color .15s;
}
.kx-check:hover span { border-color: var(--kx-ink); }
.kx-check input:checked + span { border-color: var(--kx-olive); background: var(--kx-olive); color: #fff; }

.kx-auth .kx-btn { width: 100%; min-height: 48px; border-radius: var(--kx-radius-sm); background: var(--kx-olive); color: #fff !important; font-size: 14px; }
.kx-auth .kx-btn:hover { background: var(--kx-ink); }
.kx-auth .kx-btn--ghost { background: #fff; color: var(--kx-ink) !important; }
.kx-auth .kx-btn .indicator-progress { display: none; align-items: center; gap: 8px; }
.kx-auth .kx-btn[data-kt-indicator="on"] .indicator-label { display: none; }
.kx-auth .kx-btn[data-kt-indicator="on"] .indicator-progress { display: inline-flex; }
.kx-auth .kx-btn[disabled] { opacity: .75; cursor: progress; }
.kx-auth .kx-btn .spinner-border { width: 16px; height: 16px; border-width: 2px; }

.kx-form-alt { margin: 24px 0 0; color: var(--kx-muted); font-size: 14px; text-align: center; }
.kx-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; color: var(--kx-muted) !important; font-size: 14px; font-weight: 500; }
.kx-back:hover { color: var(--kx-ink) !important; }
.kx-form-foot { text-align: center; }

/* Meter kekuatan sandi (KTPasswordMeter memberi class .active) */
.kx-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0 8px; }
.kx-meter div { height: 4px; border-radius: 99px; background: var(--kx-line); transition: background-color .25s; }
.kx-meter div.active { background: var(--kx-olive); }
.kx-hint { margin: 0; color: var(--kx-muted); font-size: 12px; line-height: 1.5; }

.kx-notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--kx-radius-sm); background: #E8F5EE; color: var(--kx-ok); font-size: 14px; line-height: 1.5; }
.kx-notice i { color: var(--kx-ok); font-size: 20px; }
.kx-verify-art { display: block; max-width: 100%; max-height: 160px; margin: 28px auto 0; }

/* ---------- Responsif ---------- */
@media (max-width: 991px) {
	.kx-hero { grid-template-columns: 1fr; gap: 40px; padding: 32px 0 64px; }
	.kx-hero-visual { max-width: 560px; }
	.kx-features { grid-template-columns: 1fr; }
	.kx-section { padding: 56px 0; }
	.kx-404 { grid-template-columns: 1fr; gap: 56px; padding: 24px 0 64px; }
	.kx-404-copy { max-width: none; }
}

@media (max-width: 575px) {
	.kx-topbar-inner { min-height: 64px; }
	.kx-logo img { height: 30px; }
	.kx-topbar-link span { display: none; }
	.kx-hero-lead { font-size: 16px; }
	.kx-hero-actions .kx-btn { width: 100%; }
	.kx-hero-visual { padding: 12px; border-radius: 18px; }
	.kx-watermark { font-size: 420px; }
	.kx-foot .kx-shell { flex-direction: column; text-align: center; }
	.kx-404 { gap: 48px; padding: 16px 0 56px; }
	.kx-404-actions .kx-btn { flex: 1 1 100%; }
	.kx-404-sheet { padding: 24px 20px 28px 48px; background-position: 0 0, 0 68px, 0 0; }
	.kx-404-row { grid-template-columns: 76px minmax(0, 1fr); }
	.kx-404-stamp { right: -6px; width: 92px; height: 92px; }
	.kx-404-stamp-num { font-size: 24px; }
	.kx-auth-card { padding: 24px; }
	.kx-auth .kx-input input { font-size: 16px; } /* iOS tidak memperbesar */
}

@media (prefers-reduced-motion: reduce) {
	.kx-btn, .kx-btn i, .kx-input, .kx-check span, .kx-meter div { transition: none !important; }
	.kx-auth-main { animation: none; }
	.kx-404-copy, .kx-404-book, .kx-404-stamp { animation: none; }
	.kx-404-sheet { transition: none; }
}

/* ---------- Beranda satu section: pembuka gelap setinggi layar ---------- */
.kx-home-single { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.kx-home-single .kx-hero { flex: 1; padding-bottom: 56px; }
.kx-foot-inline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 20px 0 24px;
	border-top: 1px solid rgb(255 255 255 / .1);
	color: rgb(255 255 255 / .65);
	font-size: 13px;
}
.kx-foot-inline a { color: rgb(255 255 255 / .65) !important; transition: color .15s; }
.kx-foot-inline a:hover { color: #fff !important; }
@media (max-width: 575px) { .kx-foot-inline { flex-direction: column; text-align: center; } }
