/**
 * CottonCloud authority pages.
 *
 * Route-local visual layer for /bezpecnost/ and the documentation archive.
 * Every rule is scoped through .cc-authority-page to avoid cross-route drift.
 */

.cc-authority-page {
	--cc-authority-accent: #4f9cff;
	--cc-authority-accent-strong: #2676e8;
	--cc-authority-accent-soft: rgba(79, 156, 255, 0.12);
	--cc-authority-ink: #f8fbff;
	--cc-authority-muted: #b7c9df;
	--cc-authority-line: rgba(111, 174, 255, 0.22);
	--cc-authority-panel: rgba(9, 27, 51, 0.86);
	--cc-authority-panel-strong: #0d2342;
	--cc-authority-radius: 18px;
	--cc-authority-shadow: 0 22px 60px rgba(1, 10, 25, 0.3);
	color: var(--cc-authority-ink);
	background: #06101f;
}

.cc-authority-page *,
.cc-authority-page *::before,
.cc-authority-page *::after {
	box-sizing: border-box;
}

.cc-authority-page :where(h1, h2, h3, p, dl, dd) {
	margin-top: 0;
}

.cc-authority-page :where(p, li, dd) {
	color: var(--cc-authority-muted);
}

.cc-authority-page :where(.cc-section, .cc-authority-section) {
	padding-block: clamp(44px, 5vw, 68px);
	background:
		linear-gradient(180deg, rgba(47, 107, 255, 0.04), transparent 280px),
		#06101f;
}

.cc-authority-page .cc-section--tight {
	padding-block: clamp(34px, 4vw, 52px);
}

.cc-authority-page .cc-section__head {
	max-width: 780px;
	margin-bottom: clamp(24px, 3.5vw, 36px);
}

.cc-authority-page.cc-authority-page--security .cc-section__head h2,
.cc-authority-page.cc-authority-page--docs .cc-section__head h2,
.cc-authority-page.cc-authority-page--security :where(.cc-docs-split, .cc-docs-quality, .cc-conversion-band) h2,
.cc-authority-page.cc-authority-page--docs :where(.cc-docs-split, .cc-docs-quality, .cc-conversion-band) h2 {
	max-width: 28ch !important;
	margin-bottom: 14px;
	font-size: clamp(1.8rem, 2.5vw, 2.2rem) !important;
	letter-spacing: -0.025em !important;
	line-height: 1.08 !important;
	text-wrap: balance;
}

body.cottoncloud-site .cc-authority-page .cc-section h2 {
	max-width: 28ch !important;
	font-size: clamp(1.8rem, 2.5vw, 2.2rem) !important;
	letter-spacing: -0.025em !important;
	line-height: 1.08 !important;
	text-wrap: balance;
}

.cc-authority-page .cc-section__head > p:not(.cc-kicker) {
	max-width: 68ch;
	margin-bottom: 0;
	font-size: 1rem;
	line-height: 1.68;
}

.cc-authority-hero {
	position: relative;
	overflow: clip;
	padding-block: clamp(42px, 5vw, 64px);
	background:
		radial-gradient(circle at 84% 12%, rgba(61, 142, 255, 0.28), transparent 30%),
		radial-gradient(circle at 16% 82%, rgba(45, 110, 232, 0.13), transparent 35%),
		linear-gradient(138deg, #061122 0%, #0a1f3f 58%, #113362 100%);
	border-bottom: 1px solid var(--cc-authority-line);
}

.cc-authority-hero::after {
	position: absolute;
	right: -12%;
	bottom: -70%;
	width: min(520px, 48vw);
	aspect-ratio: 1;
	pointer-events: none;
	border: 1px solid rgba(112, 179, 255, 0.13);
	border-radius: 50%;
	content: "";
}

.cc-authority-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
	gap: clamp(30px, 5vw, 66px);
	align-items: center;
	width: min(100% - 48px, 1220px);
	margin-inline: auto;
}

.cc-authority-hero__copy {
	display: grid;
	gap: 16px;
	min-width: 0;
}

.cc-authority-page .cc-authority-hero h1 {
	max-width: 19ch !important;
	margin: 0;
	color: #ffffff;
	font-size: clamp(2.25rem, 3.4vw, 2.75rem) !important;
	letter-spacing: -0.04em !important;
	line-height: 1.02 !important;
	text-wrap: balance;
}

.cc-authority-hero__lead {
	max-width: 64ch;
	margin: 0;
	color: #c2d2e7 !important;
	font-size: clamp(1rem, 1.25vw, 1.1rem);
	line-height: 1.65;
}

.cc-authority-page .cc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 11px 16px;
	align-items: center;
	margin-top: 2px;
}

.cc-authority-page .cc-button {
	min-height: 48px;
	padding: 13px 20px;
	border-radius: 12px;
}

.cc-authority-page .cc-authority-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: #9ecbff;
	font-weight: 800;
	text-decoration: none;
}

.cc-authority-page .cc-authority-link::after {
	content: "→";
}

.cc-authority-proof {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	margin: 4px 0 0;
	background: var(--cc-authority-line);
	border: 1px solid var(--cc-authority-line);
	border-radius: 14px;
}

.cc-authority-proof > div {
	display: grid;
	gap: 3px;
	min-width: 0;
	padding: 13px 14px;
	background: rgba(6, 18, 36, 0.9);
}

.cc-authority-proof dt {
	color: #ffffff;
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.cc-authority-proof dd {
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.4;
}

.cc-authority-status {
	display: grid;
	gap: 12px;
	min-width: 0;
	padding: clamp(20px, 2.6vw, 28px);
	background:
		linear-gradient(145deg, rgba(79, 156, 255, 0.14), transparent 56%),
		rgba(5, 20, 42, 0.91);
	border: 1px solid rgba(111, 174, 255, 0.3);
	border-radius: var(--cc-authority-radius);
	box-shadow: var(--cc-authority-shadow);
}

.cc-authority-status__top {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--cc-authority-line);
}

.cc-authority-status__top strong {
	color: #ffffff;
	font-size: 0.9rem;
}

.cc-authority-status__top small {
	color: #91a9c5;
}

.cc-authority-status__item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding: 12px;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.075);
	border-radius: 12px;
}

.cc-authority-status__item p {
	margin: 0;
	color: #dbe8f6;
	font-size: 0.9rem;
	line-height: 1.48;
}

.cc-authority-status__note {
	margin: 0;
	color: #96abc3 !important;
	font-size: 0.82rem;
	line-height: 1.5;
}

.cc-authority-nav {
	position: relative;
	z-index: 2;
	padding-block: 14px;
	background: #08172b;
	border-bottom: 1px solid var(--cc-authority-line);
}

.cc-authority-nav .cc-container {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
}

.cc-authority-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 13px;
	color: #c9ddf4;
	font-size: 0.86rem;
	font-weight: 800;
	text-decoration: none;
	background: rgba(79, 156, 255, 0.08);
	border: 1px solid rgba(111, 174, 255, 0.16);
	border-radius: 999px;
}

.cc-authority-page--security .cc-security-context .cc-split {
	gap: clamp(28px, 4vw, 52px);
	align-items: center;
}

.cc-authority-page--security .cc-before-after {
	gap: 12px;
}

.cc-authority-page--security .cc-before-after article {
	padding: clamp(18px, 2.4vw, 24px);
	border-radius: 16px;
}

.cc-authority-page--security .cc-security-control-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-top: 0;
}

.cc-authority-page--security .cc-security-control {
	gap: 11px;
	padding: 19px;
	border-radius: 16px;
	box-shadow: none;
}

.cc-authority-page--security .cc-security-control h3 {
	font-size: 1.08rem;
}

.cc-authority-page--security .cc-security-control p {
	font-size: 0.91rem;
	line-height: 1.58;
}

.cc-authority-control-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.cc-authority-control-list details,
.cc-authority-faq details,
.cc-authority-disclosure {
	overflow: hidden;
	background: var(--cc-authority-panel);
	border: 1px solid var(--cc-authority-line);
	border-radius: 14px;
}

.cc-authority-control-list summary,
.cc-authority-faq summary,
.cc-authority-disclosure > summary {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	padding: 17px 48px 17px 18px;
	color: #ffffff;
	font-weight: 850;
	line-height: 1.35;
	cursor: pointer;
	list-style: none;
}

.cc-authority-control-list summary::-webkit-details-marker,
.cc-authority-faq summary::-webkit-details-marker,
.cc-authority-disclosure > summary::-webkit-details-marker {
	display: none;
}

.cc-authority-control-list summary::after,
.cc-authority-faq summary::after,
.cc-authority-disclosure > summary::after {
	position: absolute;
	right: 18px;
	color: #7fb8ff;
	font-size: 1.25rem;
	content: "+";
}

.cc-authority-control-list details[open] summary::after,
.cc-authority-faq details[open] summary::after,
.cc-authority-disclosure[open] > summary::after {
	content: "−";
}

.cc-authority-control-list summary .cc-security-badge {
	justify-self: end;
}

.cc-authority-control-list details > div,
.cc-authority-faq details > div {
	padding: 0 18px 18px;
}

.cc-authority-control-list details p,
.cc-authority-faq details p {
	margin: 0;
	font-size: 0.94rem;
	line-height: 1.65;
}

.cc-authority-service {
	display: grid;
	grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
	gap: clamp(24px, 4vw, 50px);
	padding: clamp(24px, 4vw, 40px);
	background:
		linear-gradient(145deg, rgba(79, 156, 255, 0.12), transparent 58%),
		var(--cc-authority-panel);
	border: 1px solid var(--cc-authority-line);
	border-radius: 20px;
	box-shadow: var(--cc-authority-shadow);
}

.cc-authority-service__intro {
	display: grid;
	align-content: start;
	gap: 12px;
}

.cc-authority-service__intro p {
	margin-bottom: 0;
	line-height: 1.65;
}

.cc-authority-pdf {
	display: grid;
	gap: 3px;
	padding: 15px 16px;
	margin-top: 4px;
	color: #ffffff;
	text-decoration: none;
	background: linear-gradient(135deg, #307ee8, #175bb8);
	border: 1px solid rgba(143, 195, 255, 0.38);
	border-radius: 13px;
	box-shadow: 0 14px 34px rgba(23, 91, 184, 0.24);
}

.cc-authority-pdf strong {
	color: #ffffff;
}

.cc-authority-pdf small {
	color: #dbeaff;
}

.cc-authority-page--security .cc-security-steps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	padding: 0;
}

.cc-authority-page--security .cc-security-steps li {
	padding: 15px;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(111, 174, 255, 0.14);
	border-radius: 12px;
}

.cc-authority-page--security .cc-security-steps li::before {
	display: none;
}

.cc-authority-page--security .cc-security-steps strong {
	color: #ffffff;
}

.cc-authority-page--security .cc-security-steps span {
	font-size: 0.88rem;
	line-height: 1.55;
}

.cc-authority-faq {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.cc-authority-faq details > summary {
	min-height: 78px;
}

.cc-authority-page--security .cc-security-disclaimer {
	padding-top: 0;
}

.cc-authority-page--security .cc-security-note {
	border-radius: 14px;
}

.cc-authority-page--security .cc-security-final {
	padding-top: 0;
}

.cc-authority-page .cc-conversion-band {
	gap: clamp(22px, 4vw, 46px);
	padding: clamp(24px, 4vw, 38px);
	background:
		linear-gradient(135deg, rgba(44, 123, 232, 0.2), transparent 62%),
		#0b203d;
	border: 1px solid rgba(111, 174, 255, 0.3);
	border-radius: 20px;
	box-shadow: var(--cc-authority-shadow);
}

/* Documentation authority hub. */

body.cc-secondary-corporate--documentation .cc-authority-page--docs .cc-authority-hero__grid {
	grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.8fr);
}

body.cc-secondary-corporate--documentation .cc-authority-page--docs .cc-authority-hero h1 {
	max-width: 22ch !important;
}

body.cc-secondary-corporate--documentation .cc-authority-page--docs .cc-docs-hero__panel {
	gap: 14px;
	padding: clamp(19px, 2.5vw, 26px);
	border-radius: 16px;
}

body.cc-secondary-corporate--documentation .cc-authority-page--docs .cc-docs-hero__panel-label {
	font-size: 1.25rem;
}

body.cc-secondary-corporate--documentation .cc-authority-page--docs .cc-docs-search {
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 9px;
}

.cc-authority-page--docs .cc-docs-search input,
.cc-authority-page--docs .cc-docs-filters select {
	min-height: 46px;
	border-radius: 11px;
}

.cc-authority-page--docs .cc-docs-filters {
	gap: 9px;
}

.cc-authority-page--docs .cc-docs-quick-links {
	gap: 8px 14px;
	padding-top: 12px;
}

.cc-authority-page--docs .cc-docs-quick-links .cc-text-link {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
}

.cc-authority-page--docs .cc-docs-proof {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	margin-top: 4px;
	background: var(--cc-authority-line);
	border: 1px solid var(--cc-authority-line);
	border-radius: 14px;
}

.cc-authority-page--docs .cc-docs-proof span {
	justify-content: space-between;
	padding: 12px;
	margin: 0;
	background: rgba(6, 18, 36, 0.92);
	border: 0;
	border-radius: 0;
	font-size: 0.82rem;
}

.cc-docs-task-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.cc-docs-task-link {
	position: relative;
	display: grid;
	gap: 5px;
	min-width: 0;
	min-height: 112px;
	padding: 17px 42px 17px 17px;
	color: inherit;
	text-decoration: none;
	background: rgba(11, 32, 61, 0.72);
	border: 1px solid var(--cc-authority-line);
	border-radius: 14px;
}

.cc-docs-task-link::after {
	position: absolute;
	top: 17px;
	right: 17px;
	color: #74b2ff;
	content: "↗";
}

.cc-docs-task-link strong {
	color: #ffffff;
	font-size: 1rem;
	line-height: 1.25;
}

.cc-docs-task-link span {
	color: var(--cc-authority-muted);
	font-size: 0.84rem;
	line-height: 1.5;
}

.cc-authority-page--docs #cc-docs-results {
	border-block: 1px solid rgba(111, 174, 255, 0.12);
}

.cc-authority-page--docs .cc-card-grid {
	gap: 12px;
}

.cc-authority-page--docs .cc-card {
	border-radius: 14px;
	box-shadow: none;
}

.cc-docs-category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.cc-docs-category {
	display: grid;
	gap: 8px;
	min-width: 0;
	padding: 18px;
	background: var(--cc-authority-panel);
	border: 1px solid var(--cc-authority-line);
	border-radius: 14px;
}

.cc-docs-category > span {
	color: #78b5ff;
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.cc-docs-category h3,
.cc-docs-category p {
	margin: 0;
}

.cc-docs-category h3 {
	color: #ffffff;
	font-size: 1.08rem;
	line-height: 1.25;
}

.cc-docs-category p {
	font-size: 0.88rem;
	line-height: 1.56;
}

.cc-docs-category .cc-docs-card-actions {
	margin-top: auto;
	padding-top: 3px;
}

.cc-docs-category .cc-text-link {
	font-size: 0.86rem;
	font-weight: 800;
}

.cc-docs-help-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 14px;
}

.cc-docs-help-panel {
	padding: clamp(20px, 3vw, 28px);
	background: var(--cc-authority-panel);
	border: 1px solid var(--cc-authority-line);
	border-radius: 16px;
}

.cc-docs-help-panel > h2 {
	max-width: 24ch !important;
	font-size: clamp(1.55rem, 2.2vw, 1.9rem) !important;
}

.cc-docs-help-panel > p {
	line-height: 1.62;
}

.cc-docs-help-panel .cc-docs-flow {
	gap: 8px;
}

.cc-docs-help-panel .cc-docs-flow li {
	padding: 12px;
	border-radius: 11px;
}

.cc-docs-help-panel .cc-docs-flow li > span {
	width: 36px;
	height: 36px;
	color: #ffffff;
	background: #246fd6;
}

.cc-docs-popular-list {
	display: grid;
	gap: 1px;
	overflow: hidden;
	padding: 0;
	margin: 18px 0 0;
	background: var(--cc-authority-line);
	border: 1px solid var(--cc-authority-line);
	border-radius: 12px;
	list-style: none;
}

.cc-docs-popular-list a {
	display: grid;
	gap: 3px;
	padding: 13px 15px;
	color: inherit;
	text-decoration: none;
	background: #0a1b33;
}

.cc-docs-popular-list strong {
	color: #ffffff;
	font-size: 0.94rem;
}

.cc-docs-popular-list span {
	color: var(--cc-authority-muted);
	font-size: 0.82rem;
	line-height: 1.45;
}

.cc-authority-disclosures {
	display: grid;
	gap: 10px;
}

.cc-authority-disclosure > summary {
	min-height: 62px;
	font-size: 1rem;
}

.cc-authority-disclosure__content {
	padding: 4px clamp(18px, 3vw, 28px) clamp(20px, 3vw, 28px);
	border-top: 1px solid rgba(111, 174, 255, 0.12);
}

.cc-authority-disclosure__content > .cc-section__head {
	margin: 20px 0;
}

.cc-authority-disclosure__content .cc-service-grid,
.cc-authority-disclosure__content .cc-docs-product-grid,
.cc-authority-disclosure__content .cc-portfolio-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cc-authority-disclosure__content :where(.cc-service-card, .cc-docs-product-card, .cc-portfolio-card) {
	grid-column: auto;
	border-radius: 13px;
	box-shadow: none;
}

.cc-authority-disclosure__content .cc-docs-quality {
	margin-top: 16px;
	border-radius: 14px;
	box-shadow: none;
}

.cc-authority-page--docs .cc-conversion-band h2 {
	max-width: 28ch !important;
}

.cc-authority-page :where(a, summary, button, input, select):focus-visible {
	outline: 3px solid #91c3ff;
	outline-offset: 3px;
}

@media (hover: hover) {
	.cc-authority-page :where(.cc-authority-nav a, .cc-docs-task-link, .cc-docs-popular-list a) {
		transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
	}

	.cc-authority-page :where(.cc-authority-nav a, .cc-docs-task-link, .cc-docs-popular-list a):hover {
		transform: translateY(-2px);
		background-color: rgba(34, 88, 155, 0.32);
		border-color: rgba(124, 188, 255, 0.38);
	}
}

@media (max-width: 1080px) {
	.cc-authority-hero__grid,
	body.cc-secondary-corporate--documentation .cc-authority-page--docs .cc-authority-hero__grid {
		grid-template-columns: 1fr;
		width: min(100% - 36px, 840px);
	}

	.cc-authority-page--security .cc-security-control-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cc-docs-task-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cc-authority-disclosure__content .cc-service-grid,
	.cc-authority-disclosure__content .cc-docs-product-grid,
	.cc-authority-disclosure__content .cc-portfolio-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.cc-authority-page :where(.cc-section, .cc-authority-section) {
		padding-block: 38px;
	}

	.cc-authority-hero {
		padding-block: 34px 40px;
	}

		.cc-authority-hero__grid,
		body.cc-secondary-corporate--documentation .cc-authority-page--docs .cc-authority-hero__grid {
			width: min(100% - 24px, 600px);
			gap: 24px;
		}

	.cc-authority-page .cc-authority-hero h1 {
		max-width: 18ch !important;
		font-size: clamp(1.9rem, 8vw, 2rem) !important;
		line-height: 1.05 !important;
	}

	.cc-authority-proof,
	.cc-authority-page--docs .cc-docs-proof {
		grid-template-columns: 1fr;
	}

	.cc-authority-status {
		padding: 16px;
	}

	.cc-authority-status__item {
		grid-template-columns: 1fr;
	}

	.cc-authority-page--security .cc-security-control-grid,
	.cc-authority-control-list,
	.cc-authority-service,
	.cc-authority-page--security .cc-security-steps,
	.cc-authority-faq,
	.cc-docs-category-grid,
	.cc-docs-help-grid {
		grid-template-columns: 1fr;
	}

	.cc-authority-control-list summary {
		grid-template-columns: 1fr;
	}

	.cc-authority-control-list summary .cc-security-badge {
		justify-self: start;
	}

	.cc-authority-page--docs .cc-docs-search,
	.cc-authority-page--docs .cc-docs-filters {
		grid-template-columns: 1fr;
	}

	.cc-authority-page--docs .cc-docs-search .cc-button,
	.cc-authority-page--docs .cc-docs-filter-reset {
		width: 100%;
	}

	.cc-authority-page--docs .cc-docs-quick-links {
		align-items: flex-start;
		flex-direction: row;
	}

	.cc-docs-task-grid,
	.cc-authority-disclosure__content .cc-service-grid,
	.cc-authority-disclosure__content .cc-docs-product-grid,
	.cc-authority-disclosure__content .cc-portfolio-grid {
		grid-template-columns: 1fr;
	}

	.cc-docs-task-link {
		min-height: 0;
	}

	.cc-authority-page .cc-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.cc-authority-page .cc-actions > :where(a, button) {
		justify-content: center;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cc-authority-page *,
	.cc-authority-page *::before,
	.cc-authority-page *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/* Legal pages share the authority-page visual language instead of the old
 * compact page-only shell. The content remains the existing legal copy; this
 * layer only adds the current hero, readable article surface and clear next
 * step without changing the legal meaning. */
.cc-authority-page--legal {
	--cc-legal-line: rgba(111, 174, 255, 0.22);
	--cc-legal-panel: rgba(8, 24, 47, 0.88);
	background: #06101f;
}

.cc-authority-page--legal .cc-legal-hero {
	background:
		radial-gradient(circle at 84% 14%, rgba(67, 151, 255, 0.3), transparent 32%),
		radial-gradient(circle at 12% 86%, rgba(83, 215, 168, 0.1), transparent 28%),
		linear-gradient(138deg, #061122 0%, #0a1f3f 58%, #113362 100%);
	border-bottom: 1px solid var(--cc-legal-line);
}

.cc-authority-page--legal .cc-legal-hero__mark {
	place-items: center start;
	min-height: 236px;
	background:
		linear-gradient(145deg, rgba(79, 156, 255, 0.16), transparent 58%),
		var(--cc-legal-panel);
	border-color: rgba(111, 174, 255, 0.32);
}

.cc-authority-page--legal .cc-legal-hero__mark-letter {
	display: grid;
	place-items: center;
	width: 92px;
	aspect-ratio: 1;
	color: #071329;
	background: linear-gradient(145deg, #7fe5bb, #4c9dff);
	border-radius: 24px;
	box-shadow: 0 22px 50px rgba(1, 12, 31, 0.34);
	font-size: clamp(1.7rem, 4vw, 2.35rem);
	font-weight: 950;
	letter-spacing: -0.06em;
}

.cc-authority-page--legal .cc-legal-hero__mark strong {
	color: #ffffff;
	font-size: clamp(1.05rem, 1.8vw, 1.35rem);
	line-height: 1.2;
}

.cc-authority-page--legal .cc-legal-hero__mark small {
	color: #a7bdd8;
	font-size: 0.9rem;
}

.cc-authority-page--legal .cc-legal-page {
	background:
		linear-gradient(180deg, rgba(47, 107, 255, 0.055), transparent 240px),
		#06101f;
}

.cc-authority-page--legal .cc-legal-layout {
	width: min(100%, 900px);
	margin-inline: auto;
}

.cc-authority-page--legal .cc-legal-content {
	padding: clamp(24px, 4vw, 52px);
	background: rgba(8, 24, 47, 0.86);
	border: 1px solid var(--cc-legal-line);
	border-radius: 20px;
	box-shadow: 0 22px 60px rgba(1, 10, 25, 0.22);
}

.cc-authority-page--legal .cc-legal-content :where(h2, h3) {
	max-width: 26ch;
	color: #ffffff;
	letter-spacing: -0.025em;
}

.cc-authority-page--legal .cc-legal-content :where(p, li) {
	color: #c1d0e3;
	line-height: 1.72;
}

.cc-authority-page--legal .cc-legal-content :where(a, strong) {
	color: #a7d2ff;
}

@media (max-width: 760px) {
	.cc-authority-page--legal .cc-legal-hero__mark {
		min-height: 0;
		padding: 20px;
	}

	.cc-authority-page--legal .cc-legal-hero__mark-letter {
		width: 74px;
		border-radius: 18px;
	}

	.cc-authority-page--legal .cc-legal-content {
		padding: 22px 18px;
		border-radius: 16px;
	}
}
