/* Tambahan khusus halaman Tes Spektrum (sesuai desain /tampilan/gembira-tes-spektrum.html). */

/* Chip statistik hero. */
.hero .ch3 {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 28px;
}

.hero .ch3 span {
	border: 1.5px solid var(--line);
	border-radius: 999px;
	padding: 7px 18px;
	font-size: 15px;
	color: var(--muted);
	background: var(--card);
}

.hero .ch3 b {
	color: var(--fg);
	font-size: 18px;
}

/* Kode spektrum. */
.code {
	display: inline-grid;
	place-items: center;
	min-width: 58px;
	height: 44px;
	padding: 0 12px;
	border-radius: 12px 12px 12px 4px;
	font: 400 17px/1 "Young Serif", Georgia, serif;
	letter-spacing: .04em;
	background: var(--sun);
	color: #17253D;
}

/* Grid 12 tile kode di hero. */
.tg {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.tg .code {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	font-size: clamp(16px, 2.4vw, 24px);
	border-radius: 18px 18px 18px 5px;
	animation: open .7s both;
	animation-delay: calc(var(--i) * 60ms);
}

.tg .code:nth-child(3n + 2) {
	background: var(--sea);
	color: #fff;
}

.tg .code:nth-child(3n) {
	background: var(--navy);
	color: #fff;
}

/* Grid manfaat (3 kolom). */
.g3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 40px;
}

.g3 .st {
	display: flex;
	flex-direction: column;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 6px 22px 6px 22px;
	padding: 28px 24px 24px;
	transition: transform .2s, border-color .2s;
}

.g3 .st:hover {
	transform: translateY(-4px);
	border-color: var(--sl);
}

.g3 .ic {
	width: 52px;
	height: 52px;
	border-radius: 16px 16px 16px 4px;
	background: var(--sun);
	color: #17253D;
	display: grid;
	place-items: center;
}

.g3 .st:nth-child(even) .ic {
	background: var(--sea);
	color: #fff;
}

.g3 .ic svg {
	width: 26px;
	height: 26px;
}

.g3 .st h3 {
	font-size: 21px;
	margin: 20px 0 10px;
}

.g3 .st p {
	margin: 0;
	color: var(--muted);
	font-size: 15.5px;
}

/* Langkah horizontal. */
.stp {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 40px;
}

.sx {
	display: flex;
	gap: 18px;
}

.sx .nb {
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--sun);
	color: #17253D;
	display: grid;
	place-items: center;
	font: 400 20px/1 "Young Serif", Georgia, serif;
}

.sx h3 {
	font-size: 21px;
	margin-bottom: 8px;
}

.sx p {
	margin: 0;
	color: var(--muted);
}

/* Grid spektrum 4 kolom. */
.spg {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-top: 40px;
}

.spg .sp {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 6px 20px 6px 20px;
	padding: 22px;
}

.spg .sp .code {
	background: var(--sun);
	color: #17253D;
}

.spg .sp:nth-child(3n + 2) .code {
	background: var(--sea);
	color: #fff;
}

.spg .sp:nth-child(3n) .code {
	background: var(--navy);
	color: #fff;
}

.spg .sp h3 {
	font-size: 19px;
	margin: 14px 0 8px;
}

.spg .sp p {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
}

/* Catatan sebelum mulai. */
.nt {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 40px;
	margin-top: 40px;
}

.ni {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.ni svg {
	flex: none;
	width: 44px;
	height: 44px;
	padding: 10px;
	border-radius: 14px 14px 14px 4px;
	background: var(--sea);
	color: #fff;
}

.ni p {
	margin: 0;
}

/* Checkout 2 kolom (override .co sempit di page-program.css). */
.co {
	display: grid;
	grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.3fr);
	gap: 32px;
	margin: 40px 0 0;
	max-width: none;
	width: 100%;
	align-items: start;
}

.co .sum {
	background: var(--navy);
	color: #fff;
	border-radius: 6px 28px 6px 28px;
	padding: 36px 32px;
	position: sticky;
	top: 112px;
}

.co .sum h3 {
	font-size: 26px;
}

.co .old {
	text-decoration: line-through;
	color: #9FB3D1;
	font-size: 18px;
	margin-top: 18px;
	display: block;
}

.co .disc {
	background: var(--sun);
	color: #17253D;
	font: 700 13px Figtree, sans-serif;
	padding: 3px 10px;
	border-radius: 999px;
	margin-left: 8px;
	text-decoration: none;
	display: inline-block;
}

.co .new {
	font: 400 clamp(34px, 4vw, 46px)/1.15 "Young Serif", Georgia, serif;
	margin: 6px 0 22px;
	white-space: nowrap;
}

.co .sum ul {
	list-style: none;
	padding: 0;
	margin: 0 0 22px;
	display: grid;
	gap: 10px;
	color: #C5D3E8;
}

.co .sum li:before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--sun);
	margin-right: 10px;
}

.co .sum a {
	color: var(--sun);
	font-weight: 700;
}

.co .sum-login {
	margin: 0;
	color: #C5D3E8;
}

.co .fm {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 6px 28px 6px 28px;
	padding: 36px 34px;
	display: grid;
	gap: 22px;
}

.co .fld {
	display: grid;
	gap: 8px;
}

.co .fm label,
.co .fm legend {
	font-weight: 600;
	font-size: 16px;
}

.co .fm input:not([type=radio]):not([type=hidden]) {
	width: 100%;
	padding: 15px 18px;
	border-radius: 12px;
	border: 2px solid var(--line);
	background: var(--bg);
	color: var(--fg);
	font: inherit;
	font-size: 16px;
	min-height: 52px;
}

.co .row {
	display: flex;
	gap: 10px;
}

.co .sm {
	padding: 0 20px;
	min-height: 52px;
	border-radius: 12px;
	border: 2px solid var(--line);
	background: transparent;
	color: var(--fg);
	font: 600 15px Figtree, sans-serif;
	cursor: pointer;
	white-space: nowrap;
}

.co .hint {
	font-size: 14px;
	color: var(--muted);
}

.co .go {
	width: 100%;
	border: 0;
	cursor: pointer;
	font: 700 17px Figtree, sans-serif;
	padding: 18px;
	min-height: 56px;
	border-radius: 999px;
	background: var(--sun);
	color: #17253D;
	box-shadow: 0 4px 0 #D6930A;
	transition: transform .15s, box-shadow .15s;
}

.co .go:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 0 #D6930A;
}

.co .go:active {
	transform: translateY(3px);
	box-shadow: 0 1px 0 #D6930A;
}

.co .co-note {
	min-height: 20px;
	margin: 0;
	font-size: 14px;
	color: var(--sl);
	text-align: center;
}

.co-locked {
	color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
	.tg .code {
		animation: none;
	}

	.g3 .st {
		transition: none;
	}

	.co .go {
		transition: none;
	}
}

@media (max-width: 900px) {
	.g3,
	.stp,
	.nt,
	.co {
		grid-template-columns: 1fr;
	}

	.spg {
		grid-template-columns: 1fr 1fr;
	}

	.co .sum {
		position: static;
	}
}

@media (max-width: 520px) {
	.spg {
		grid-template-columns: 1fr;
	}

	.co .fm {
		padding: 24px 20px;
	}
}
