/* 全站公共样式：统一背景图、导航和移动端基础排版。 */
html {
	min-height: 100%;
}

body {
	min-height: 100%;
	background: #f6f7f9;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	color: #2f384d;
	font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	line-height: 1.7;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(165deg, rgba(47, 154, 178, 0.14) 0 18%, transparent 18% 100%),
		radial-gradient(circle at 0% 78%, rgba(142, 90, 169, 0.12), transparent 34%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(246, 247, 249, 0.94));
}

.home-page {
	background: #f5f6f8;
	color: #071d3b;
}

.home-page::before {
	display: none;
}

.home-shell {
	width: min(100%, 480px);
	min-height: 100vh;
	margin: 0 auto;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 0 42px rgba(47, 56, 75, 0.08);
}

.clone-hero {
	padding: 30px 22px 22px;
	text-align: center;
}

.clone-logo {
	display: grid;
	justify-items: center;
	margin: 0 auto 18px;
	color: #333;
	line-height: 1;
}

.clone-logo-text {
	display: block;
	color: #333;
	font-size: 52px;
	font-weight: 900;
	letter-spacing: -2px;
	line-height: 1.05;
}

.clone-logo-text .logo-purple {
	color: #8b5da8;
}

.clone-logo-text .logo-green {
	color: #25aa83;
}

.clone-logo-text .logo-yellow {
	color: #f7a71c;
}

.clone-logo-text .logo-blue {
	color: #2f9ab2;
}

.clone-lead {
	margin: -2px 0 2px;
	color: #969696;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
}

.test-plan-grid {
	display: grid;
	grid-template-columns: 1fr 1.24fr;
	gap: 16px;
	margin: 24px 0 42px;
}

.test-plan-card {
	position: relative;
	display: flex;
	min-height: 236px;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	overflow: hidden;
	border: 4px solid #f2f2f2;
	border-radius: 26px;
	background: #fff;
	color: #262626;
	cursor: pointer;
}

.test-plan-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.test-plan-card img {
	position: relative;
	top: auto;
	left: auto;
	width: 140px;
	height: 78px;
	margin: 33px auto 15px;
	object-fit: contain;
	opacity: 0.42;
	transform: none;
}

.test-plan-title {
	position: relative;
	z-index: 2;
	display: block;
	margin-top: -6px;
	color: #8f8f8f;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.43;
}

.test-plan-card.is-selected .test-plan-title,
.test-plan-card:has(input:checked) .test-plan-title {
	color: #303030;
}

.test-plan-card small {
	position: relative;
	z-index: 2;
	margin: 14px 0 0;
	max-width: 112px;
	color: #cfcfcf;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.25;
	white-space: nowrap;
}

.test-plan-card.is-selected small,
.test-plan-card:has(input:checked) small {
	max-width: 132px;
}

.test-plan-card.is-selected,
.test-plan-card:has(input:checked) {
	border-color: #8c61a6;
}

.plan-badge {
	position: absolute;
	top: -4px;
	right: -4px;
	z-index: 3;
	min-height: 32px;
	padding: 0 12px;
	border-radius: 0 0 0 10px;
	background: linear-gradient(90deg, #ff7255, #e92c76);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 32px;
}

.test-plan-card.is-selected img,
.test-plan-card:has(input:checked) img {
	opacity: 0.78;
}

.plan-check {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 3;
	width: 42px;
	height: 42px;
	border-radius: 18px 0 20px 0;
	background: #8c61a6;
	color: #fff;
	font-size: 27px;
	font-weight: 900;
	line-height: 42px;
}

.clone-primary {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 64px;
	margin: 0 auto;
	border-radius: 999px;
	background: #8c61a6;
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	text-decoration: none;
	animation: primary-pulse 1.8s ease-in-out infinite;
}

.clone-primary span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 8px;
	font-size: 28px;
	line-height: 1;
	transform: translateY(-1px);
}

.clone-primary svg {
	display: block;
	width: 34px;
	height: 24px;
	overflow: visible;
}

.clone-primary svg path {
	fill: none;
	stroke: currentColor;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.clone-pro-entry {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 74px;
	margin: 68px auto 22px;
	padding: 12px 14px;
	border: 1px solid #cfe4e2;
	border-left: 5px solid #18a37a;
	border-radius: 18px;
	background: #fff;
	color: #173243;
	text-align: left;
	text-decoration: none;
	transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.clone-pro-entry__mark {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: #e5f6f1;
	color: #13765c;
	font-size: 14px;
	font-weight: 900;
	letter-spacing: 0;
}

.clone-pro-entry__text {
	display: block;
	flex: 1;
	min-width: 0;
}

.clone-pro-entry__text strong {
	display: block;
	color: #102638;
	font-size: 20px;
	font-weight: 900;
	line-height: 1.2;
}

.clone-pro-entry__text small {
	display: block;
	margin-top: 4px;
	color: #6b7d86;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
}

.clone-pro-entry__arrow {
	flex: 0 0 auto;
	color: #15806b;
	font-size: 24px;
	font-weight: 900;
	line-height: 1;
}

.clone-primary:hover,
.clone-primary:focus {
	color: #fff;
	background: #7d5598;
	text-decoration: none;
}

.clone-pro-entry:hover,
.clone-pro-entry:focus {
	border-color: #97d5ce;
	background: #f5fbfa;
	color: #173243;
	text-decoration: none;
	transform: translateY(-1px);
}

.clone-primary:active {
	transform: scale(0.98);
}

.clone-pro-entry:active {
	transform: none;
}

.test-progress-modal {
	position: fixed;
	inset: 0;
	z-index: 50;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(18, 24, 36, 0.42);
}

.test-progress-modal.is-visible {
	display: flex;
}

.test-progress-dialog {
	width: min(100%, 360px);
	padding: 24px 22px 20px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 42px rgba(27, 34, 48, 0.24);
	text-align: center;
}

.test-progress-dialog h2 {
	margin: 0 0 10px;
	color: #262b35;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.35;
}

.test-progress-dialog p {
	margin: 0 0 20px;
	color: #7a808c;
	font-size: 14px;
	line-height: 1.6;
}

.test-progress-actions {
	display: grid;
	gap: 10px;
}

.test-progress-actions button {
	width: 100%;
	min-height: 46px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.test-progress-continue {
	border: 0;
	background: #8c61a6;
	color: #fff;
}

.test-progress-restart {
	border: 1px solid #dde1ea;
	background: #fff;
	color: #6f7682;
}

@keyframes primary-pulse {
	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.035);
	}
}

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

.privacy-line {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0 0 5px;
	color: #a4a4a4;
	font-size: 14px;
	font-weight: 400;
}

.privacy-line input {
	margin: 0;
}

.privacy-line a {
	color: #7b818c;
	font-weight: 400;
	text-decoration: underline;
}

.ad-privacy-consent {
	margin: 10px auto 0;
	text-align: center;
}

.ad-privacy-consent[hidden] {
	display: none;
}

.ad-payment-note {
	margin: 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.45;
}

.ad-payment-note.is-strong {
	color: #4f5560;
}

.ad-payment-note.is-muted {
	color: #d8dbe1;
}

.ad-privacy-error {
	min-height: 18px;
	margin: 4px 0 0;
	color: #b42318;
	font-size: 12px;
	line-height: 1.4;
}

.clone-hint,
.clone-note {
	margin: 0;
	color: #999;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.55;
}

.clone-hint {
	margin-top: 6px;
}

.clone-note {
	margin-bottom: 12px;
}

.clone-hint strong:first-child {
	color: #4197b8;
}

.clone-hint strong:last-child {
	color: #22a57b;
}

.clone-panel {
	margin: 10px 22px 30px;
	overflow: hidden;
	border: 1px solid #eee;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.025);
}

.notice-panel {
	margin-top: 70px;
}

.clone-panel h2 {
	margin: 0;
	padding: 14px 12px;
	border-bottom: 1px solid #eee;
	color: #333;
	font-size: 18px;
	font-weight: 900;
	line-height: 1.35;
	text-align: center;
}

.notice-panel h2 {
	color: #555;
	font-weight: 600;
}

.explore-panel h2 {
	color: #555;
}

.notice-panel .panel-body p {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.42;
}

.panel-body {
	padding: 18px 20px 22px;
}

.panel-body p,
.clone-panel>p {
	margin: 0 0 12px;
	color: #9b9b9b;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.28;
	text-align: left;
}

.origin-visual {
	display: flex;
	justify-content: center;
	gap: 4px;
	padding: 26px 16px 8px;
}

.origin-visual img {
	width: 92px;
	height: 92px;
	object-fit: contain;
	opacity: 0.18;
	filter: grayscale(1);
}

.origin-visual img:only-child {
	width: 220px;
	height: 150px;
	opacity: 1;
}

.explore-panel>p {
	padding: 0 20px;
}

.explore-panel p,
.explore-panel td,
.explore-panel th,
.explore-panel figcaption {
	font-weight: 300;
}

.dimension-table {
	width: calc(100% - 40px);
	margin: 18px 20px;
	border-collapse: collapse;
	color: #a0a0a0;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
}

.dimension-table th,
.dimension-table td {
	padding: 10px 8px;
	border: 1px solid #eee;
	vertical-align: middle;
}

.dimension-table th {
	color: #888;
	background: #fafafa;
}

.dimension-option {
	display: block;
	line-height: 1.45;
}

.dimension-option+.dimension-option {
	margin-top: 8px;
}

.history-panel {
	margin-bottom: 24px;
}

.history-panel h2,
.history-panel .panel-body p {
	font-weight: 300;
}

.clone-footer {
	padding: 8px 20px 30px;
	color: #c3c3c3;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
}

.clone-footer p {
	margin: 0;
}

.beian-link,
.beian-link:hover,
.beian-link:focus {
	color: #9b9b9b;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.8;
	text-decoration: none;
}

.home-notice {
	min-height: 40px;
	padding: 9px 14px;
	overflow: hidden;
	background: #343a46;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 22px;
	white-space: nowrap;
	text-align: center;
}

.home-hero {
	position: relative;
	min-height: 760px;
	padding: 20px 32px 42px;
	background:
		linear-gradient(155deg, rgba(50, 153, 178, 0.16) 0 18%, transparent 18% 100%),
		radial-gradient(circle at 0% 58%, rgba(137, 91, 167, 0.14), transparent 34%),
		linear-gradient(180deg, #ffffff 0%, #f4f7f8 61%, #eef4f4 100%);
}

.home-brand {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 44px;
}

.home-logo {
	color: #061a38;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.home-logo:hover,
.home-logo:focus {
	color: #061a38;
	text-decoration: none;
}

.home-logo span {
	color: #2f9ab2;
}

.home-link {
	color: #2f9ab2;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.home-link:hover,
.home-link:focus {
	color: #126a73;
	text-decoration: none;
}

.home-year {
	margin: 0 0 8px;
	color: #2f9ab2;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
}

.home-hero h1 {
	margin: 0;
	color: #071d3b;
	font-family: Georgia, "Times New Roman", "SimSun", serif;
	font-size: 34px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.22;
	text-align: center;
	white-space: nowrap;
}

.home-hero h1::first-letter {
	color: #071d3b;
}

.home-hero h1 {
	text-shadow: 0 8px 24px rgba(5, 56, 90, 0.08);
}

.home-hero h1::selection {
	background: rgba(21, 201, 196, 0.2);
}

.home-hero h1 strong,
.home-hero h1 .accent {
	color: #16c7c2;
}

.home-hero h1 {
	background: linear-gradient(90deg, #2f384d 0 30%, #2f9ab2 30% 72%, #2f384d 72% 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.home-subtitle {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 6px 0 48px;
	color: #717b8f;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.home-subtitle span {
	width: 24px;
	height: 1px;
	background: #c4ccd6;
}

.version-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
	margin-bottom: 34px;
}

.version-card {
	position: relative;
	display: block;
	min-height: 256px;
	overflow: hidden;
	border: 1px solid #e4e8ee;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 16px 36px rgba(47, 56, 75, 0.08);
	cursor: pointer;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.version-card:hover,
.version-card:focus-within {
	transform: translateY(-2px);
	border-color: rgba(47, 154, 178, 0.36);
	box-shadow: 0 22px 42px rgba(47, 56, 75, 0.12);
}

.version-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.version-card:has(input:checked),
.version-card.is-selected {
	border-color: rgba(47, 154, 178, 0.6);
	background: linear-gradient(180deg, #ffffff 0 82%, #2f9ab2 82% 100%);
}

.version-card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: linear-gradient(180deg, #2f9ab2, #8e5aa9);
	opacity: 0;
}

.version-card:has(input:checked)::before,
.version-card.is-selected::before {
	opacity: 1;
}

.version-copy {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	padding: 18px 18px 0;
}

.version-copy strong {
	margin-bottom: 82px;
	color: #2f384d;
	font-size: 22px;
	font-weight: 900;
	line-height: 1.2;
}

.version-copy em,
.version-copy small {
	color: #778297;
	font-style: normal;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
}

.version-card img {
	position: absolute;
	right: 0;
	bottom: 28px;
	z-index: 1;
	width: 102px;
	height: 116px;
	object-fit: contain;
	object-position: top center;
	opacity: 0.58;
	filter: saturate(0.88);
	border-radius: 0 0 14px 0;
}

.version-check {
	position: absolute;
	left: 16px;
	bottom: 8px;
	z-index: 3;
	display: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #fff;
	color: #2f9ab2;
	font-size: 21px;
	font-weight: 900;
	line-height: 30px;
	text-align: center;
	box-shadow: 0 8px 18px rgba(0, 126, 126, 0.18);
}

.version-card:has(input:checked) .version-check,
.version-card.is-selected .version-check {
	display: block;
}

.home-primary {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 324px);
	height: 72px;
	margin: 0 auto 4px;
	border: 0;
	border-radius: 999px;
	background: #2f9ab2;
	box-shadow: 0 16px 30px rgba(47, 154, 178, 0.28);
	color: #fff;
	font-family: Georgia, "Times New Roman", "SimSun", serif;
	font-size: 34px;
	font-weight: 900;
	letter-spacing: 0.03em;
	text-decoration: none;
	text-shadow: 0 2px 0 rgba(0, 97, 97, 0.13);
}

.home-primary:hover,
.home-primary:focus {
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
	background: #258ea7;
}

.home-fee-note {
	margin: 0;
	color: #7a8496;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}

.feedback-tab {
	position: fixed;
	top: 224px;
	right: max(calc((100vw - 480px) / 2), 0px);
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	min-height: 88px;
	border: 1px solid #2f9ab2;
	border-right: 0;
	border-radius: 10px 0 0 10px;
	background: rgba(255, 255, 255, 0.9);
	color: #2f9ab2;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
}

.feedback-tab:hover,
.feedback-tab:focus {
	color: #088f91;
	text-decoration: none;
}

.home-info {
	position: relative;
	width: calc(100% - 56px);
	margin: 0 auto 24px;
	padding: 26px 24px;
	border-left: 4px solid #2f9ab2;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 42px rgba(47, 56, 75, 0.1);
}

.home-info::before {
	content: "";
	position: absolute;
	left: -4px;
	bottom: 0;
	width: 4px;
	height: 42%;
	background: #8e5aa9;
	border-radius: 0 0 0 8px;
}

.home-info h2 {
	margin: 0 0 12px;
	color: #2f384d;
	font-size: 22px;
	font-weight: 900;
	line-height: 1.35;
	text-align: center;
}

.home-info p {
	margin: 0 0 18px;
	color: #596579;
	font-size: 15px;
	line-height: 1.75;
}

.info-list {
	display: grid;
	gap: 10px;
}

.info-list article {
	display: grid;
	grid-template-columns: 58px 1fr;
	gap: 10px;
	align-items: center;
	padding: 12px;
	border-radius: 8px;
	background: #f7f9fb;
}

.info-list strong {
	color: #2f9ab2;
	font-size: 18px;
	font-weight: 900;
}

.info-list span {
	color: #415064;
	font-size: 14px;
	line-height: 1.55;
}

.home-warning {
	margin-bottom: 42px;
	border-left-color: #8e5aa9;
	border-radius: 8px;
}

.home-warning a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 999px;
	background: #eef7f9;
	color: #2f9ab2;
	font-weight: 900;
	text-decoration: none;
}

.home-warning a:hover,
.home-warning a:focus {
	color: #258ea7;
	text-decoration: none;
}

.navbar-default {
	border: 0;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 8px 26px rgba(47, 56, 75, 0.08);
	backdrop-filter: blur(14px);
}

.navbar-default .navbar-brand {
	color: #2f384d;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.navbar-default .navbar-nav>li>a {
	color: #596579;
	font-weight: 600;
}

.navbar-default .navbar-toggle {
	border-color: rgba(47, 154, 178, 0.24);
}

.navbar-default .navbar-toggle .icon-bar {
	background-color: #2f9ab2;
}

.container {
	width: min(100%, 1120px);
}

.home-page .container,
.personality-list-page .container,
.personality-detail-page .container {
	padding-left: 20px;
	padding-right: 20px;
}

.home-card {
	max-width: 820px;
	margin: 0 auto;
	padding: 32px 36px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 24px 60px rgba(31, 45, 61, 0.12);
	backdrop-filter: blur(12px);
}

.home-card h2 {
	margin-top: 0;
	margin-bottom: 18px;
	color: #123447;
	font-weight: 800;
}

.home-card p {
	margin-bottom: 12px;
	color: #445264;
	font-size: 16px;
}

footer {
	/* 给页脚留出与主体内容的分隔空间。 */
	margin-top: 90px;
}

.flashes {
	/* 预留给提示消息的公共样式。 */
	margin-top: 90px;
	text-align: center;
}

@media (max-width: 767px) {
	body {
		background-attachment: scroll;
		font-size: 15px;
	}

	body::before {
		background:
			linear-gradient(160deg, rgba(47, 154, 178, 0.13) 0 20%, transparent 20% 100%),
			radial-gradient(circle at 0% 72%, rgba(142, 90, 169, 0.1), transparent 36%),
			linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(246, 247, 249, 0.96));
	}

	.navbar-fixed-top {
		position: sticky;
		top: 0;
	}

	.navbar-default {
		border-radius: 0;
	}

	.navbar-default .navbar-collapse {
		border-color: rgba(18, 52, 71, 0.08);
	}

	.home-page .container,
	.personality-list-page .container,
	.personality-detail-page .container,
	.test-page .container {
		padding-left: 16px;
		padding-right: 16px;
	}

	.home-card {
		padding: 22px 18px;
	}

	.home-card h2 {
		font-size: 24px;
	}

	.home-card p {
		font-size: 15px;
		line-height: 1.75;
	}

	.home-shell {
		width: 100%;
		box-shadow: none;
	}

	.home-notice {
		padding-left: 10px;
		padding-right: 10px;
		font-size: 12px;
		text-align: left;
	}

	.home-hero {
		min-height: 820px;
		padding: 22px 24px 40px;
	}

	.home-brand {
		margin-bottom: 46px;
	}

	.home-logo {
		font-size: 21px;
	}

	.home-year {
		font-size: 19px;
	}

	.home-hero h1 {
		margin-left: -34px;
		margin-right: -34px;
		font-size: 32px;
	}

	.home-subtitle {
		margin-bottom: 46px;
		font-size: 16px;
	}

	.version-grid {
		gap: 32px;
		margin-left: -8px;
		margin-right: -8px;
	}

	.version-card {
		min-height: 196px;
		border-radius: 16px;
	}

	.version-copy {
		padding: 17px 14px 0;
	}

	.version-copy strong {
		margin-bottom: 58px;
		font-size: 21px;
	}

	.version-copy em,
	.version-copy small {
		font-size: 15px;
	}

	.version-card img {
		right: 0;
		bottom: 26px;
		width: 98px;
		height: 112px;
	}

	.home-primary {
		width: min(100%, 322px);
		height: 70px;
		font-size: 32px;
	}

	.feedback-tab {
		top: 224px;
		right: 0;
	}

	.home-info {
		width: calc(100% - 34px);
		padding: 24px 18px;
	}
}

@media (max-width: 380px) {
	.home-hero {
		padding-left: 18px;
		padding-right: 18px;
	}

	.home-hero h1 {
		margin-left: -28px;
		margin-right: -28px;
		font-size: 29px;
	}

	.home-subtitle {
		font-size: 14px;
	}

	.version-grid {
		gap: 22px;
		margin-left: -2px;
		margin-right: -2px;
	}

	.version-copy strong {
		font-size: 19px;
	}

	.version-copy em,
	.version-copy small {
		font-size: 13px;
	}

	.home-primary {
		font-size: 29px;
	}
}

/* Homepage right-edge vertical action */
.home-edge-action {
    position: fixed;
    right: 0;
    top: 30%;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 104px;
    padding: 12px 5px;
    border-radius: 16px 0 0 16px;
    border: 1px solid #25aa83;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 24px rgba(18, 166, 98, .14);
    color: #25aa83;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.15;
    text-decoration: none;
    writing-mode: vertical-rl;
    text-orientation: upright;
    -webkit-tap-highlight-color: transparent;
}
.home-edge-action:focus,
.home-edge-action:hover {
    color: #25aa83;
    border-color: #25aa83;
    background: #fff;
    text-decoration: none;
    transform: translateX(-2px);
}
.home-edge-action.is-wechat {
    border-color: #25aa83;
    background: rgba(255, 255, 255, .94);
    color: #25aa83;
}
@media (max-width: 480px) {
    .home-edge-action {
        top: 28%;
        min-width: 26px;
        min-height: 96px;
        padding: 10px 4px;
        border-radius: 14px 0 0 14px;
        font-size: 13px;
    }
}

.utility-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}
.utility-card {
    width: min(560px, 100%);
    text-align: center;
}
.utility-card h1 {
    margin: 0 0 14px;
    font-size: 28px;
    color: #1f2937;
}
.utility-card p {
    margin: 0 auto 22px;
    color: #657083;
    line-height: 1.8;
}
.recover-form {
    display: grid;
    gap: 16px;
    text-align: left;
}
.recover-form label {
    display: grid;
    gap: 8px;
    color: #374151;
    font-weight: 700;
}
.recover-form input {
    width: 100%;
    border: 1px solid #dce3ee;
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 15px;
    outline: none;
}
.recover-form input:focus {
    border-color: #20bf6b;
    box-shadow: 0 0 0 3px rgba(32, 191, 107, .14);
}

/* Report recovery page: screenshot-matched simple white layout */
.recover-page {
    min-height: 100vh;
    margin: 0;
    background: #fff;
    color: #33363d;
    font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
.recover-page::before { display: none; }
.recover-shell {
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: 78px 76px 96px;
    background: #fff;
}
.recover-shell h1 {
    margin: 0 0 76px;
    text-align: center;
    color: #2f3338;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
}
.recover-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 214px;
    gap: 18px;
    align-items: center;
    margin: 0 10px 84px;
}
.recover-search input {
    width: 100%;
    height: 108px;
    border: 3px solid #5fc3c3;
    border-radius: 10px;
    padding: 0 4px;
    background: #fff;
    color: #333;
    font-size: 34px;
    font-weight: 400;
    outline: none;
    box-shadow: none;
}
.recover-search input::placeholder { color: #808080; opacity: 1; }
.recover-search input:focus {
    border-color: #28bbbb;
    box-shadow: 0 0 0 3px rgba(40, 187, 187, .12);
}
.recover-search button {
    height: 104px;
    border: 0;
    border-radius: 8px;
    background: #28bfc4;
    box-shadow: 0 4px 10px rgba(33, 177, 181, .18) inset, 0 2px 6px rgba(0,0,0,.08);
    color: #fff;
    font-size: 33px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.recover-status {
    min-height: 38px;
    margin: -62px 10px 42px;
    color: #5d6673;
    font-size: 24px;
    line-height: 1.45;
}
.recover-status.is-loading { color: #188c92; }
.recover-status.is-success { color: #18a058; }
.recover-status.is-error { color: #d93025; }
.recover-search button:disabled,
.recover-search input:disabled {
    cursor: not-allowed;
    opacity: .72;
}

.recover-method {
    margin: 0 0 70px;
    color: #333;
    font-size: 33px;
    line-height: 1.72;
}
.recover-method__title {
    margin: 0 0 8px;
    font-size: inherit;
    font-weight: 400;
}
.recover-method ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: recover-step;
}
.recover-method li {
    counter-increment: recover-step;
    margin: 0;
}
.recover-method li::before { content: counter(recover-step) "、"; }
.recover-qr {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}
.recover-qr img {
    display: block;
    width: min(590px, 72vw);
    height: auto;
}
@media (max-width: 640px) {
    .recover-shell {
        width: 100%;
        padding: 46px 30px 72px;
    }
    .recover-shell h1 {
        margin-bottom: 54px;
        font-size: 34px;
    }
    .recover-search {
        grid-template-columns: minmax(0, 1fr) 110px;
        gap: 10px;
        margin: 0 0 54px;
    }
    .recover-search input {
        height: 62px;
        border-width: 2px;
        border-radius: 7px;
        font-size: 20px;
        padding: 0 2px;
    }
    .recover-search button {
        height: 60px;
        border-radius: 7px;
        font-size: 20px;
    }
    .recover-status {
        min-height: 28px;
        margin: -34px 0 26px;
        font-size: 15px;
    }
    .recover-method {
        margin-bottom: 42px;
        font-size: 20px;
        line-height: 1.76;
    }
    .recover-qr img { width: min(330px, 78vw); }
}

/* Official public site */
.official-site-page,
.official-inner-page {
	--official-text: #16313d;
	--official-muted: #64727a;
	--official-line: #dce9e7;
	--official-teal: #1aa582;
	--official-teal-dark: #0d7f69;
	--official-purple: #7652a2;
	--official-yellow: #f1b538;
	background: #fff;
	color: var(--official-text);
}

.official-site-page::before {
	display: none;
}

.official-header {
	position: sticky;
	top: 0;
	z-index: 80;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	min-height: 74px;
	padding: 0 clamp(18px, 4vw, 58px);
	border-bottom: 1px solid rgba(220, 233, 231, 0.86);
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(18px);
}

.official-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #24343d;
	outline: none;
	text-decoration: none;
	white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
}

.official-brand:hover,
.official-brand:focus,
.official-brand:active {
	color: #24343d;
	outline: none;
	text-decoration: none;
	box-shadow: none;
}

.official-brand:focus-visible {
	border-radius: 8px;
	box-shadow: 0 0 0 3px rgba(26, 165, 130, 0.18);
}

.official-brand-logo {
	display: block;
	width: 40px;
	height: 40px;
	object-fit: contain;
	flex: 0 0 auto;
}

.brand-word {
	font-size: 30px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0;
}

.official-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	flex: 1;
}

.official-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 8px;
	color: #294550;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.official-nav a:hover,
.official-nav a:focus,
.nav-has-menu:hover>a,
.nav-has-menu:focus-within>a {
	background: #eef8f5;
	color: var(--official-teal-dark);
	text-decoration: none;
}

.nav-has-menu {
	position: relative;
	display: inline-flex;
}

.nav-has-menu>a::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-left: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

.mega-menu {
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	z-index: 120;
	display: grid;
	grid-template-columns: repeat(4, minmax(138px, 1fr));
	gap: 14px;
	width: min(820px, calc(100vw - 44px));
	padding: 18px;
	border: 1px solid var(--official-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(25, 57, 62, 0.18);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 8px);
	transition: opacity 160ms ease, transform 160ms ease;
}

.nav-has-menu:hover .mega-menu,
.nav-has-menu:focus-within .mega-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.mega-menu::before {
	content: "";
	position: absolute;
	top: -15px;
	left: 0;
	right: 0;
	height: 15px;
}

.mega-menu--small {
	left: 0;
	grid-template-columns: 1fr;
	width: 230px;
	transform: translate(0, 8px);
}

.nav-has-menu:hover .mega-menu--small,
.nav-has-menu:focus-within .mega-menu--small {
	transform: translate(0, 0);
}

.mega-group {
	display: grid;
	gap: 6px;
	align-content: start;
	padding: 12px;
	border-radius: 8px;
	background: #f8fbfa;
}

.mega-group strong {
	margin-bottom: 4px;
	color: #18313d;
	font-size: 14px;
	font-weight: 900;
}

.mega-menu a {
	min-height: 32px;
	padding: 0;
	color: #566973;
	font-size: 13px;
	font-weight: 700;
}

.mega-menu a:hover,
.mega-menu a:focus {
	background: transparent;
	color: var(--official-teal-dark);
}

.mega-analysts {
	border-top: 3px solid var(--official-purple);
}

.mega-diplomats {
	border-top: 3px solid var(--official-teal);
}

.mega-sentinels {
	border-top: 3px solid var(--official-yellow);
}

.mega-explorers {
	border-top: 3px solid #d46f48;
}

.official-header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 8px;
	background: var(--official-teal);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.official-header-cta:hover,
.official-header-cta:focus {
	background: var(--official-teal-dark);
	color: #fff;
	text-decoration: none;
}

.official-language-switcher {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.official-language-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	min-height: 42px;
	padding: 0;
	border: 1px solid #dce9e7;
	border-radius: 6px;
	background: #fff;
	color: #4e5d65;
	font-size: 14px;
	font-weight: 900;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.official-language-toggle svg {
	display: block;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.official-language-toggle:hover,
.official-language-toggle:focus,
.official-language-switcher.is-language-open .official-language-toggle {
	border-color: #b9d8d2;
	background: #f4fbf9;
	color: #229a83;
	text-decoration: none;
}

.official-language-menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 140;
	display: none;
	min-width: 128px;
	padding: 6px;
	border: 1px solid #dce9e7;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 42px rgba(25, 57, 62, 0.16);
}

.official-language-switcher.is-language-open .official-language-menu {
	display: grid;
	gap: 2px;
}

.official-language-option {
	display: flex;
	align-items: center;
	min-height: 34px;
	padding: 0 10px;
	border-radius: 6px;
	color: #294550;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.official-language-option:hover,
.official-language-option:focus,
.official-language-option[aria-current="true"] {
	background: #eef8f5;
	color: #0d7f69;
	text-decoration: none;
}

.official-menu-toggle {
	display: none;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid #dce9e7;
	border-radius: 8px;
	appearance: none;
	background: #fff;
	color: #294550;
	cursor: pointer;
}

.official-menu-toggle span {
	display: block;
	width: 14px;
	height: 1.5px;
	border-radius: 999px;
	background: currentColor;
	transition: transform 160ms ease, opacity 160ms ease;
}

.official-menu-toggle span+span {
	margin-top: 3.5px;
}

.official-header.is-menu-open .official-menu-toggle span:nth-child(1) {
	transform: translateY(5px) rotate(45deg);
}

.official-header.is-menu-open .official-menu-toggle span:nth-child(2) {
	opacity: 0;
}

.official-header.is-menu-open .official-menu-toggle span:nth-child(3) {
	transform: translateY(-5px) rotate(-45deg);
}

.official-site-page .home-edge-action {
	position: fixed;
	top: 92px;
	right: 18px;
	z-index: 60;
}

.official-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
	align-items: center;
	gap: clamp(30px, 6vw, 72px);
	min-height: calc(100vh - 74px);
	padding: clamp(62px, 8vw, 104px) clamp(22px, 6vw, 86px) 64px;
	text-align: left;
	background:
		linear-gradient(140deg, rgba(238, 248, 245, 0.92) 0 33%, rgba(255, 255, 255, 0) 33% 100%),
		linear-gradient(180deg, #fff 0%, #f7fbfa 100%);
}

.hero-copy {
	max-width: 650px;
}

.hero-copy h1 {
	margin: 0 0 22px;
	color: #112b36;
	font-size: clamp(42px, 6.2vw, 82px);
	font-weight: 900;
	line-height: 1.02;
	letter-spacing: 0;
}

.hero-copy>p {
	max-width: 550px;
	margin: 0 0 30px;
	color: var(--official-muted);
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.7;
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.official-site-page .clone-primary {
	width: auto;
	min-width: 190px;
	height: 54px;
	margin: 0;
	padding: 0 24px;
	border-radius: 8px;
	background: var(--official-teal);
	font-size: 17px;
	font-weight: 900;
	animation: none;
}

.official-site-page .clone-primary:hover,
.official-site-page .clone-primary:focus {
	background: var(--official-teal-dark);
}

.secondary-link,
.section-heading a,
.theory-preview__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--official-teal-dark);
	font-size: 16px;
	font-weight: 900;
	text-decoration: none;
}

.secondary-link:hover,
.section-heading a:hover,
.theory-preview__link:hover {
	color: #0b695b;
	text-decoration: none;
}

.official-site-page .clone-hint {
	margin: 0 0 12px;
	color: #7d8a91;
	font-size: 14px;
	text-align: left;
}

.official-site-page .clone-pro-entry {
	width: min(100%, 390px);
	min-height: 66px;
	margin: 18px 0 0;
	border-radius: 8px;
	border-color: #cfe7e2;
	border-left-color: var(--official-teal);
}

.hero-panel {
	position: relative;
	padding: 20px;
	border: 1px solid var(--official-line);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 24px 70px rgba(32, 70, 76, 0.14);
}

.official-site-page .test-plan-grid {
	gap: 14px;
	margin: 0 0 18px;
}

.official-site-page .test-plan-card {
	min-height: 264px;
	border-width: 2px;
	border-radius: 8px;
}

.official-site-page .test-plan-card.is-selected,
.official-site-page .test-plan-card:has(input:checked) {
	border-color: var(--official-teal);
}

.official-site-page .plan-badge,
.official-site-page .plan-check {
	background: var(--official-teal);
}

.hero-type-strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}

.hero-type-strip a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border-radius: 8px;
	background: #f2f8f7;
	color: #1b4751;
	font-size: 15px;
	font-weight: 900;
	text-decoration: none;
}

.hero-type-strip a:hover,
.hero-type-strip a:focus {
	background: #e2f2ee;
	color: var(--official-teal-dark);
	text-decoration: none;
}

.official-section {
	padding: 76px clamp(22px, 6vw, 86px);
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	max-width: 1180px;
	margin: 0 auto 28px;
}

.section-heading h2,
.theory-preview h2,
.official-page-hero h1,
.official-content h2 {
	margin: 0;
	color: #15313d;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: 0;
}

.type-family-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	max-width: 1180px;
	margin: 0 auto;
}

.type-family-card {
	min-height: 248px;
	padding: 24px;
	border: 1px solid var(--official-line);
	border-radius: 8px;
	background: #fff;
}

.type-family-card h3 {
	margin: 0 0 12px;
	color: #1a3540;
	font-size: 24px;
	font-weight: 900;
}

.type-family-card p {
	min-height: 78px;
	margin: 0 0 18px;
	color: var(--official-muted);
	font-size: 15px;
	line-height: 1.7;
}

.type-family-card div {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}

.type-family-card a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	border-radius: 8px;
	background: #f7fbfa;
	color: #2c4c55;
	font-size: 14px;
	font-weight: 900;
	text-decoration: none;
}

.family-analysts {
	border-top: 4px solid var(--official-purple);
}

.family-diplomats {
	border-top: 4px solid var(--official-teal);
}

.family-sentinels {
	border-top: 4px solid var(--official-yellow);
}

.family-explorers {
	border-top: 4px solid #d46f48;
}

.theory-preview {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	background: #f0f8f5;
}

.theory-preview>div {
	max-width: 820px;
}

.theory-preview p {
	margin: 16px 0 0;
	color: #51676f;
	font-size: 18px;
	line-height: 1.8;
}

.official-notice {
	max-width: 1040px;
	margin: 20px auto 72px;
	border-radius: 8px;
}

.official-footer {
	border-top: 1px solid var(--official-line);
	background: #fff;
}

.official-inner-page {
	background: #fff;
}

.official-inner-page::before {
	display: none;
}

.official-page-hero {
	padding: 92px clamp(22px, 6vw, 86px) 46px;
	background: linear-gradient(180deg, #f3faf8, #fff);
	text-align: center;
}

.official-page-hero p {
	max-width: 760px;
	margin: 18px auto 0;
	color: var(--official-muted);
	font-size: 18px;
	line-height: 1.8;
}

.article-index {
	max-width: 1180px;
	margin: 0 auto;
	padding: 48px clamp(18px, 4vw, 40px) 10px;
}

.article-index__heading {
	display: grid;
	gap: 8px;
	max-width: 720px;
	margin: 0 0 24px;
}

.article-index__heading span,
.article-list-card span {
	color: var(--official-teal);
	font-size: 14px;
	font-weight: 900;
	letter-spacing: 0;
}

.article-index__heading h2 {
	margin: 0;
	color: #15313d;
	font-size: clamp(28px, 3.4vw, 42px);
	font-weight: 900;
	line-height: 1.18;
}

.article-index__heading p {
	margin: 0;
	color: var(--official-muted);
	font-size: 17px;
	line-height: 1.8;
}

.article-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.article-list-card {
	display: flex;
	min-height: 238px;
	flex-direction: column;
	gap: 12px;
	padding: 22px;
	border: 1px solid var(--official-line);
	border-radius: 8px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	box-shadow: 0 16px 38px rgba(32, 70, 76, 0.06);
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.article-list-card:hover,
.article-list-card:focus {
	border-color: rgba(47, 154, 178, 0.38);
	color: inherit;
	text-decoration: none;
	box-shadow: 0 22px 48px rgba(32, 70, 76, 0.1);
	transform: translateY(-2px);
}

.article-list-card--primary {
	border-top: 4px solid var(--official-teal);
}

.article-list-card strong {
	color: #18313d;
	font-size: 23px;
	font-weight: 900;
	line-height: 1.28;
}

.article-list-card p {
	margin: 0;
	color: #566973;
	font-size: 15px;
	line-height: 1.75;
}

.article-list-card em {
	margin-top: auto;
	color: var(--official-teal);
	font-style: normal;
	font-weight: 900;
}

.official-content {
	max-width: 1040px;
	margin: 0 auto;
	padding: 42px clamp(18px, 4vw, 40px) 90px;
}

.official-content h2 {
	margin-top: 56px;
	font-size: 34px;
}

.official-content h2:first-child {
	margin-top: 0;
}

.official-content p,
.official-content li {
	color: #566973;
	font-size: 16px;
	line-height: 1.85;
}

.dimension-grid,
.use-case-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 22px;
}

.dimension-card,
.use-case-card {
	padding: 22px;
	border: 1px solid var(--official-line);
	border-radius: 8px;
	background: #fff;
}

.dimension-card h3,
.use-case-card h3 {
	margin: 0 0 10px;
	color: #18313d;
	font-size: 22px;
	font-weight: 900;
}

.page-cta-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 56px;
	padding: 28px;
	border-radius: 8px;
	background: #eef8f5;
}

.page-cta-band p {
	margin: 0;
	color: #31515b;
	font-weight: 800;
}

@media (max-width: 1040px) {
	.official-header {
		align-items: flex-start;
		flex-wrap: wrap;
		padding-top: 14px;
		padding-bottom: 14px;
	}

	.official-nav {
		order: 3;
		flex-basis: 100%;
		justify-content: flex-start;
		overflow-x: auto;
	}

	.official-hero {
		grid-template-columns: 1fr;
		min-height: auto;
		padding-top: 54px;
	}

	.type-family-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.official-header {
		position: relative;
		gap: 12px;
		min-height: 0;
	}

	.official-header-cta {
		min-height: 38px;
		padding: 0 13px;
		font-size: 14px;
	}

	.official-language-toggle {
		min-height: 38px;
		padding: 0 12px;
		font-size: 13px;
	}

	.official-nav {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		overflow: visible;
	}

	.official-nav a {
		justify-content: center;
		min-height: 40px;
		padding: 0 10px;
		border: 1px solid #e4efed;
		font-size: 14px;
	}

	.nav-has-menu {
		display: grid;
	}

	.nav-has-menu>a::after {
		display: none;
	}

	.mega-menu,
	.mega-menu--small {
		position: static;
		display: none;
		grid-template-columns: 1fr;
		width: auto;
		margin-top: 8px;
		padding: 10px;
		opacity: 1;
		pointer-events: auto;
		transform: none;
		box-shadow: none;
	}

	.nav-has-menu:hover .mega-menu,
	.nav-has-menu:focus-within .mega-menu,
	.nav-has-menu:hover .mega-menu--small,
	.nav-has-menu:focus-within .mega-menu--small {
		display: grid;
		transform: none;
	}

	.mega-menu a {
		justify-content: flex-start;
		border: 0;
	}

	.official-site-page .home-edge-action {
		display: none;
	}

	.official-hero {
		padding: 38px 18px 42px;
	}

	.hero-copy h1 {
		font-size: 42px;
	}

	.hero-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.official-site-page .clone-primary,
	.secondary-link {
		justify-content: center;
		width: 100%;
	}

	.official-site-page .test-plan-grid {
		grid-template-columns: 1fr;
	}

	.official-site-page .test-plan-card {
		min-height: 220px;
	}

	.hero-type-strip,
	.type-family-grid,
	.article-list,
	.dimension-grid,
	.use-case-grid {
		grid-template-columns: 1fr;
	}

	.article-index {
		padding-top: 36px;
		padding-bottom: 0;
	}

	.article-list-card {
		min-height: 0;
		padding: 20px;
	}

	.section-heading,
	.theory-preview,
	.page-cta-band {
		align-items: flex-start;
		flex-direction: column;
	}

	.official-section {
		padding: 52px 18px;
	}
}

/* Competitor-like personality test landing page */
.official-site-page,
.official-inner-page {
	background: #fff;
	color: #25333a;
}

.official-site-page .official-header,
.official-inner-page .official-header {
	position: sticky;
	min-height: 68px;
	padding: 0 clamp(28px, 5.2vw, 78px);
	border-bottom: 1px solid #e7ecef;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 1px 0 rgba(37, 51, 58, 0.03);
}

.official-site-page .brand-word,
.official-inner-page .brand-word {
	font-size: 27px;
	font-weight: 900;
}

.official-site-page .brand-word .logo-purple,
.official-inner-page .brand-word .logo-purple {
	color: #88619a;
}

.official-site-page .brand-word .logo-green,
.official-inner-page .brand-word .logo-green {
	color: #33a474;
}

.official-site-page .brand-word .logo-yellow,
.official-inner-page .brand-word .logo-yellow {
	color: #e4ae3a;
}

.official-site-page .brand-word .logo-blue,
.official-inner-page .brand-word .logo-blue {
	color: #4298b4;
}

.official-site-page .official-nav,
.official-inner-page .official-nav {
	gap: 18px;
}

.official-site-page .official-nav a,
.official-inner-page .official-nav a {
	min-height: 68px;
	padding: 0 2px;
	border-radius: 0;
	color: #2f3d44;
	font-size: 14px;
	font-weight: 800;
}

.official-site-page .official-nav a:hover,
.official-site-page .official-nav a:focus,
.official-site-page .nav-has-menu:hover>a,
.official-site-page .nav-has-menu:focus-within>a,
.official-inner-page .official-nav a:hover,
.official-inner-page .official-nav a:focus,
.official-inner-page .nav-has-menu:hover>a,
.official-inner-page .nav-has-menu:focus-within>a {
	background: transparent;
	color: #229a83;
}

.official-site-page .official-nav a:hover::before,
.official-site-page .nav-has-menu:hover>a::before,
.official-site-page .nav-has-menu:focus-within>a::before,
.official-inner-page .official-nav a:hover::before,
.official-inner-page .nav-has-menu:hover>a::before,
.official-inner-page .nav-has-menu:focus-within>a::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: #229a83;
}

.official-site-page .nav-has-menu>a,
.official-inner-page .nav-has-menu>a {
	position: relative;
}

.official-site-page .official-header-cta,
.official-inner-page .official-header-cta {
	min-height: 42px;
	padding: 0 22px;
	border-radius: 6px;
	background: #2f9f87;
	font-size: 15px;
	font-weight: 900;
}

.official-site-page .mega-menu,
.official-inner-page .mega-menu {
	top: calc(100% + 2px);
	border-color: #dde6ea;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 22px 54px rgba(31, 48, 56, 0.2);
}

.test-landing-hero {
	position: relative;
	display: grid;
	justify-items: center;
	align-content: start;
	max-width: none;
	min-height: clamp(700px, calc(100vh - 74px), 920px);
	margin: 0;
	padding: clamp(128px, 14vh, 170px) 28px 0;
	overflow: hidden;
	background: #4298b4;
	text-align: center;
}

.test-landing-hero::before {
	content: "";
	position: absolute;
	z-index: 1;
	top: -1px;
	left: 0;
	width: 100%;
	height: 74px;
	background: #fff;
	clip-path: polygon(0 0, 100% 0, 100% 28%, 78% 70%, 58% 8%, 19% 72%, 0 28%);
	pointer-events: none;
}

.test-landing-copy {
	position: relative;
	z-index: 3;
	display: grid;
	justify-items: center;
	width: min(100%, 1360px);
}

.test-landing-copy h1 {
	max-width: 1360px;
	margin: 0 auto 22px;
	color: #fff;
	font-size: clamp(32px, 3.2vw, 44px);
	font-weight: 900;
	line-height: 1.22;
	letter-spacing: 0;
}

.test-landing-subtitle {
	max-width: 720px;
	margin: 0 auto 44px;
	color: rgba(255, 255, 255, 0.94);
	font-size: clamp(18px, 2.1vw, 25px);
	font-weight: 700;
	line-height: 1.58;
}

.test-landing-visual {
	position: absolute;
	z-index: 2;
	top: clamp(350px, 51vh, 510px);
	left: 50%;
	display: block;
	width: 100vw;
	max-width: none;
	height: auto;
	margin: 0;
	object-fit: contain;
	transform: translateX(-50%);
	pointer-events: none;
	user-select: none;
}

.official-site-page .clone-hint {
	display: none;
	margin: 2px 0 12px;
	color: #718087;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}

.test-landing-hero .clone-primary {
	position: relative;
	z-index: 4;
	width: 258px;
	height: 96px;
	margin: 0 auto;
	border-radius: 999px;
	background: #88619a;
	box-shadow: none;
	color: #fff;
	font-size: 24px;
	font-weight: 500;
}

.test-landing-hero .clone-primary:hover,
.test-landing-hero .clone-primary:focus {
	background: #7b558c;
	transform: translateY(-1px);
}

.test-landing-hero .clone-pro-entry {
	display: none;
}

.test-landing-points {
	display: none;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 34px;
	max-width: 980px;
	margin: 54px auto 0;
	text-align: left;
}

.test-landing-points article {
	position: relative;
	padding-left: 54px;
}

.test-landing-points article::before {
	content: "";
	position: absolute;
	top: 6px;
	left: 0;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #e1f3ef;
	box-shadow: inset 0 0 0 9px #2f9f87;
}

.test-landing-points h2,
.test-version-section h2,
.type-explorer-section h2,
.test-info-section h2 {
	margin: 0 0 10px;
	color: #25333a;
	font-size: 30px;
	font-weight: 900;
	line-height: 1.22;
}

.test-landing-points p,
.test-version-section>p,
.type-explorer-section>p,
.test-info-grid p {
	margin: 0;
	color: #5f6f76;
	font-size: 17px;
	line-height: 1.82;
}

.test-version-section,
.type-explorer-section,
.test-info-section {
	padding: 68px 28px;
	text-align: center;
}

.test-version-section {
	background: #f4f7f8;
}

.test-version-section>p,
.type-explorer-section>p {
	max-width: 680px;
	margin: 0 auto 34px;
}

.test-version-section .test-plan-grid {
	width: min(100%, 620px);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 auto;
}

.test-version-section .test-plan-card {
	min-height: 254px;
	border-width: 2px;
	border-radius: 6px;
	box-shadow: 0 10px 28px rgba(38, 52, 59, 0.07);
}

.test-version-section .test-plan-card.is-selected,
.test-version-section .test-plan-card:has(input:checked) {
	border-color: #2f9f87;
}

.test-version-section .plan-badge,
.test-version-section .plan-check {
	background: #2f9f87;
}

.type-explorer-section {
	background: #fff;
}

.type-role-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	max-width: 1120px;
	margin: 0 auto;
}

.role-card {
	display: grid;
	align-content: center;
	min-height: 164px;
	padding: 22px;
	border-radius: 6px;
	background: #f7f9fa;
	color: #26343b;
	text-align: left;
	text-decoration: none;
	border-bottom: 6px solid #d5dde1;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.role-card:hover,
.role-card:focus {
	color: #26343b;
	text-decoration: none;
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(37, 51, 58, 0.12);
}

.role-card span {
	margin-bottom: 13px;
	font-size: 25px;
	font-weight: 900;
}

.role-card strong {
	color: #637078;
	font-size: 13px;
	line-height: 1.7;
}

.role-analysts {
	border-bottom-color: #8d63a7;
}

.role-diplomats {
	border-bottom-color: #33a474;
}

.role-sentinels {
	border-bottom-color: #3194b6;
}

.role-explorers {
	border-bottom-color: #e7ae3c;
}

.test-info-section {
	background: #eff5f3;
}

.test-info-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	max-width: 1120px;
	margin: 30px auto 0;
}

.test-info-grid p {
	padding: 24px;
	border-radius: 6px;
	background: #fff;
	text-align: left;
	box-shadow: 0 8px 22px rgba(37, 51, 58, 0.06);
}

@media (max-width: 1160px) {
	.official-site-page .official-header,
	.official-inner-page .official-header {
		position: relative;
		align-items: flex-start;
		flex-wrap: wrap;
		gap: 12px;
		min-height: 0;
		padding: 16px 18px;
	}

	.official-site-page .official-nav,
	.official-inner-page .official-nav {
		order: 3;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		width: 100%;
		flex-basis: 100%;
	}

	.official-site-page .official-nav a,
	.official-inner-page .official-nav a {
		justify-content: center;
		min-height: 40px;
		border: 1px solid #e4ecef;
		border-radius: 6px;
	}

	.official-site-page .nav-has-menu,
	.official-inner-page .nav-has-menu {
		display: grid;
	}

	.official-site-page .nav-has-menu>a::after,
	.official-inner-page .nav-has-menu>a::after {
		display: none;
	}

	.official-site-page .mega-menu,
	.official-site-page .mega-menu--small,
	.official-inner-page .mega-menu,
	.official-inner-page .mega-menu--small {
		position: static;
		display: none;
		grid-template-columns: 1fr;
		width: auto;
		margin-top: 8px;
		padding: 10px;
		opacity: 1;
		pointer-events: auto;
		transform: none;
		box-shadow: none;
	}

	.official-site-page .nav-has-menu:hover .mega-menu,
	.official-site-page .nav-has-menu:focus-within .mega-menu,
	.official-site-page .nav-has-menu:hover .mega-menu--small,
	.official-site-page .nav-has-menu:focus-within .mega-menu--small,
	.official-inner-page .nav-has-menu:hover .mega-menu,
	.official-inner-page .nav-has-menu:focus-within .mega-menu,
	.official-inner-page .nav-has-menu:hover .mega-menu--small,
	.official-inner-page .nav-has-menu:focus-within .mega-menu--small {
		display: grid;
		transform: none;
	}

	.official-site-page .mega-menu a,
	.official-inner-page .mega-menu a {
		justify-content: flex-start;
		min-height: 32px;
		border: 0;
	}

	.official-site-page .official-nav a:hover::before,
	.official-site-page .nav-has-menu:hover>a::before,
	.official-site-page .nav-has-menu:focus-within>a::before,
	.official-inner-page .official-nav a:hover::before,
	.official-inner-page .nav-has-menu:hover>a::before,
	.official-inner-page .nav-has-menu:focus-within>a::before {
		display: none;
	}

	.test-landing-hero {
		min-height: 720px;
		padding: 118px 18px 0;
	}

	.test-landing-hero::before {
		height: 54px;
		clip-path: polygon(0 0, 100% 0, 100% 24%, 74% 62%, 52% 10%, 19% 58%, 0 24%);
	}

	.test-landing-points,
	.test-info-grid {
		grid-template-columns: 1fr;
	}

	.type-role-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1161px) {
	.official-site-page .official-header,
	.official-inner-page .official-header {
		align-items: center;
		flex-wrap: nowrap;
	}

	.official-site-page .official-nav,
	.official-inner-page .official-nav {
		order: initial;
		flex-basis: auto;
		justify-content: center;
		overflow: visible;
	}
}

@media (max-width: 1160px) {
	.official-header {
		position: relative;
		align-items: flex-start;
		flex-wrap: wrap;
		gap: 12px;
		min-height: 0;
		padding: 16px 18px;
	}

	.official-nav {
		order: 3;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		width: 100%;
		flex: 0 0 100%;
		overflow: visible;
	}

	.official-nav a {
		justify-content: center;
		min-height: 40px;
		border: 1px solid #e4ecef;
		border-radius: 6px;
	}

	.nav-has-menu {
		display: grid;
	}

	.nav-has-menu>a::after {
		display: none;
	}

	.mega-menu,
	.mega-menu--small {
		position: static;
		display: none;
		grid-template-columns: 1fr;
		width: auto;
		margin-top: 8px;
		padding: 10px;
		opacity: 1;
		pointer-events: auto;
		transform: none;
		box-shadow: none;
	}

	.nav-has-menu:hover .mega-menu,
	.nav-has-menu:focus-within .mega-menu,
	.nav-has-menu:hover .mega-menu--small,
	.nav-has-menu:focus-within .mega-menu--small {
		display: grid;
		transform: none;
	}

	.mega-menu a {
		justify-content: flex-start;
		min-height: 32px;
		border: 0;
	}
}

@media (max-width: 560px) {
	.test-landing-copy h1 {
		font-size: 32px;
		line-height: 1.22;
	}

	.test-landing-subtitle {
		max-width: 350px;
		margin-bottom: 32px;
		font-size: 17px;
		line-height: 1.62;
	}

	.test-landing-visual {
		top: auto;
		bottom: 0;
		width: min(146vw, 572px);
		max-width: none;
	}

	.test-landing-hero .clone-primary {
		width: 210px;
		height: 70px;
		font-size: 20px;
	}

	.test-version-section .test-plan-grid,
	.type-role-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	.official-header,
	.official-site-page .official-header,
	.official-inner-page .official-header {
		position: sticky;
		align-items: center;
		flex-wrap: wrap;
		gap: 8px;
		min-height: 0;
		padding: 10px 12px;
	}

	.official-brand,
	.official-site-page .official-brand,
	.official-inner-page .official-brand {
		order: 1;
		flex: 1 1 auto;
		min-width: 0;
		max-width: calc(100% - 178px);
		gap: 6px;
	}

	.official-brand-logo,
	.official-site-page .official-brand-logo,
	.official-inner-page .official-brand-logo {
		width: 30px;
		height: 30px;
	}

	.brand-word,
	.official-site-page .brand-word,
	.official-inner-page .brand-word {
		overflow: hidden;
		font-size: 21px;
		line-height: 1;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.official-header-cta,
	.official-site-page .official-header-cta,
	.official-inner-page .official-header-cta {
		order: 2;
		min-height: 34px;
		padding: 0 10px;
		border-radius: 7px;
		font-size: 13px;
	}

	.official-language-switcher,
	.official-site-page .official-language-switcher,
	.official-inner-page .official-language-switcher {
		order: 3;
	}

	.official-language-toggle,
	.official-site-page .official-language-toggle,
	.official-inner-page .official-language-toggle {
		width: 34px;
		min-height: 34px;
		padding: 0;
		border-radius: 7px;
		font-size: 0;
	}

	.official-language-toggle svg,
	.official-site-page .official-language-toggle svg,
	.official-inner-page .official-language-toggle svg {
		width: 18px;
		height: 18px;
	}

	.official-language-menu,
	.official-site-page .official-language-menu,
	.official-inner-page .official-language-menu {
		top: calc(100% + 8px);
		right: 0;
		min-width: 118px;
	}

	.official-menu-toggle,
	.official-site-page .official-menu-toggle,
	.official-inner-page .official-menu-toggle {
		order: 4;
		display: inline-flex;
		width: 36px;
		height: 34px;
		border-radius: 7px;
	}

	.official-nav,
	.official-site-page .official-nav,
	.official-inner-page .official-nav {
		order: 5;
		display: none;
		grid-template-columns: 1fr;
		gap: 8px;
		width: 100%;
		flex: 0 0 100%;
		padding-top: 8px;
		border-top: 1px solid #edf3f4;
	}

	.official-header.is-menu-open .official-nav,
	.official-site-page .official-header.is-menu-open .official-nav,
	.official-inner-page .official-header.is-menu-open .official-nav {
		display: grid;
		padding: 10px;
		border: 1px solid #dce9e8;
		border-radius: 8px;
		background: #fff;
		box-shadow: 0 18px 42px rgba(25, 57, 62, 0.16);
	}

	.official-nav a,
	.official-site-page .official-nav a,
	.official-inner-page .official-nav a {
		justify-content: flex-start;
		min-height: 38px;
		padding: 0 12px;
		border: 1px solid #e4ecef;
		border-radius: 7px;
		font-size: 14px;
		text-align: left;
	}

	.nav-has-menu,
	.official-site-page .nav-has-menu,
	.official-inner-page .nav-has-menu {
		display: grid;
		gap: 6px;
	}

	.nav-has-menu>a::after,
	.official-site-page .nav-has-menu>a::after,
	.official-inner-page .nav-has-menu>a::after {
		display: none;
	}

	.official-header.is-menu-open .mega-menu,
	.official-header.is-menu-open .mega-menu--small,
	.official-site-page .official-header.is-menu-open .mega-menu,
	.official-site-page .official-header.is-menu-open .mega-menu--small,
	.official-inner-page .official-header.is-menu-open .mega-menu,
	.official-inner-page .official-header.is-menu-open .mega-menu--small {
		display: none;
	}

	.official-header.is-menu-open .mega-menu a,
	.official-site-page .official-header.is-menu-open .mega-menu a,
	.official-inner-page .official-header.is-menu-open .mega-menu a {
		min-height: 32px;
		padding: 0;
		border: 0;
	}
}

@media (max-width: 360px) {
	.official-brand,
	.official-site-page .official-brand,
	.official-inner-page .official-brand {
		max-width: calc(100% - 160px);
	}

	.brand-word,
	.official-site-page .brand-word,
	.official-inner-page .brand-word {
		font-size: 19px;
	}

	.official-header-cta,
	.official-site-page .official-header-cta,
	.official-inner-page .official-header-cta {
		padding: 0 8px;
		font-size: 12px;
	}
}
