/* =========================================================================
   Trace0 Advisory — legal, support and consent styles
   Depends on base.css tokens (--t0-*). Loaded only where needed.
   ========================================================================= */

/* ---------- shared utility ---------- */

/* The consent banner and panel are toggled with the `hidden` attribute.
   `display: flex` on a class beats the UA `[hidden] { display: none }` rule,
   so this has to win explicitly or the panel would render on page load. */
[hidden] { display: none !important; }

.t0-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Honeypot — hidden from people, visible to naive bots. */
.t0-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.t0-req { color: var(--t0-gold); }

/* =========================================================================
   1. Legal document layout
   ========================================================================= */

.t0-legal-hero .t0-page-hero__title { max-width: 16ch; }

.t0-legal__lead {
	max-width: 68ch;
	margin-bottom: 30px;
}

.t0-legal__meta {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 34px;
	margin: 0;
	padding: 20px 0 0;
	border-top: 1px solid var(--t0-line-soft);
	max-width: 720px;
}

.t0-legal__meta li {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.t0-legal__meta span {
	font-family: var(--t0-display);
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--t0-muted);
}

.t0-legal__meta b {
	font-size: 14px;
	font-weight: 500;
	color: var(--t0-text-2);
}

.t0-legal__grid {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 60px;
	align-items: start;
}

/* ---------- sidebar ---------- */

.t0-legal__side {
	position: sticky;
	top: 100px;
	display: flex;
	flex-direction: column;
	gap: 26px;
	max-height: calc(100vh - 130px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-right: 6px;
	scrollbar-width: thin;
}

.t0-legal__toc-h,
.t0-legal__related .t0-legal__toc-h {
	font-family: var(--t0-display);
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--t0-muted);
	margin: 0 0 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--t0-line-soft);
}

.t0-legal__toc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: none;
}

.t0-legal__toc-list li { margin: 0; }

.t0-legal__toc-list a {
	display: flex;
	gap: 12px;
	align-items: baseline;
	padding: 8px 10px 8px 0;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--t0-text-3);
	text-decoration: none;
	border-left: 2px solid transparent;
	padding-left: 12px;
	transition: color 0.25s var(--t0-ease), border-color 0.25s var(--t0-ease);
}

.t0-legal__toc-list a:hover,
.t0-legal__toc-list a:focus-visible {
	color: var(--t0-text);
	border-left-color: rgba(var(--t0-blue-rgb), 0.45);
}

.t0-legal__toc-list a.is-active {
	color: var(--t0-blue);
	border-left-color: var(--t0-blue);
}

.t0-legal__toc-n {
	font-family: var(--t0-display);
	font-size: 10px;
	letter-spacing: 0.12em;
	color: var(--t0-muted);
	flex: 0 0 auto;
}

.t0-legal__toc-list a.is-active .t0-legal__toc-n { color: var(--t0-blue); }

.t0-legal__related-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.t0-legal__related-list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 0;
	font-size: 14px;
	color: var(--t0-text-3);
	text-decoration: none;
	transition: color 0.25s var(--t0-ease);
}

.t0-legal__related-list a:hover,
.t0-legal__related-list a:focus-visible { color: var(--t0-blue); }

.t0-legal__help { padding: 24px; }
.t0-legal__help-t { font-size: 16px; }
.t0-legal__help-cta { margin-top: 16px; }

.t0-legal__print {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: none;
	border: 1px solid var(--t0-line);
	color: var(--t0-text-3);
	font-family: var(--t0-body);
	font-size: 12.5px;
	padding: 11px 14px;
	cursor: pointer;
	transition: color 0.25s var(--t0-ease), border-color 0.25s var(--t0-ease);
}

.t0-legal__print:hover {
	color: var(--t0-blue);
	border-color: rgba(var(--t0-blue-rgb), 0.45);
}

.t0-legal__print svg { width: 15px; height: 15px; flex: 0 0 auto; }

/* ---------- document body ---------- */

.t0-legal__doc { max-width: 78ch; }

.t0-legal__section {
	padding: 0 0 44px;
	margin: 0 0 44px;
	border-bottom: 1px solid var(--t0-line-soft);
	scroll-margin-top: 100px;
}

.t0-legal__section:last-of-type { border-bottom: 0; }

.t0-legal__h2 {
	display: flex;
	gap: 16px;
	align-items: baseline;
	font-family: var(--t0-display);
	font-size: clamp(18px, 2.4vw, 24px);
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.015em;
	color: var(--t0-text);
	margin: 0 0 22px;
}

.t0-legal__h2-n {
	font-size: 12px;
	letter-spacing: 0.16em;
	color: var(--t0-gold);
	flex: 0 0 auto;
}

.t0-legal__h3 {
	font-family: var(--t0-display);
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--t0-blue);
	margin: 32px 0 14px;
	scroll-margin-top: 100px;
}

.t0-legal__p {
	color: var(--t0-text-2);
	font-size: 15.5px;
	line-height: 1.75;
	margin: 0 0 16px;
}

.t0-legal__p b,
.t0-legal__p strong { color: var(--t0-text); font-weight: 600; }

.t0-legal__doc a {
	color: var(--t0-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	transition: color 0.2s var(--t0-ease);
}

.t0-legal__doc a:hover { color: var(--t0-text); }

.t0-legal__doc code {
	font-size: 0.9em;
	background: var(--t0-input-bg);
	border: 1px solid var(--t0-line-soft);
	padding: 1px 6px;
	color: var(--t0-text-2);
}

/* lists */

.t0-legal__list {
	margin: 0 0 18px;
	padding-left: 0;
	list-style: none;
	color: var(--t0-text-2);
	font-size: 15.5px;
	line-height: 1.7;
}

.t0-legal__list li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 11px;
}

.t0-legal__list--ul li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 11px;
	width: 5px;
	height: 5px;
	background: var(--t0-blue);
	transform: rotate(45deg);
}

.t0-legal__list--ol { counter-reset: t0ol; }

.t0-legal__list--ol li { counter-increment: t0ol; }

.t0-legal__list--ol li::before {
	content: counter(t0ol, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 1px;
	font-family: var(--t0-display);
	font-size: 10px;
	letter-spacing: 0.1em;
	color: var(--t0-gold);
}

.t0-legal__list b,
.t0-legal__list strong { color: var(--t0-text); font-weight: 600; }

/* definition lists */

.t0-legal__dl {
	margin: 0 0 20px;
	border-top: 1px solid var(--t0-line-soft);
}

.t0-legal__dl-row {
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr);
	gap: 20px;
	padding: 15px 0;
	border-bottom: 1px solid var(--t0-line-soft);
}

.t0-legal__dl dt {
	font-family: var(--t0-display);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--t0-text);
	line-height: 1.5;
}

.t0-legal__dl dd {
	margin: 0;
	color: var(--t0-text-2);
	font-size: 14.5px;
	line-height: 1.65;
}

/* tables */

.t0-legal__table-wrap {
	margin: 0 0 22px;
	overflow-x: auto;
	border: 1px solid var(--t0-line);
	-webkit-overflow-scrolling: touch;
}

.t0-legal__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	min-width: 520px;
}

.t0-legal__table th,
.t0-legal__table td {
	padding: 13px 16px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--t0-line-soft);
	line-height: 1.6;
}

.t0-legal__table thead th {
	font-family: var(--t0-display);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--t0-muted);
	background: var(--t0-panel);
	border-bottom-color: var(--t0-line);
	white-space: nowrap;
}

.t0-legal__table tbody th {
	color: var(--t0-text);
	font-weight: 600;
	width: 30%;
}

.t0-legal__table tbody td { color: var(--t0-text-2); }

.t0-legal__table tbody tr:last-child th,
.t0-legal__table tbody tr:last-child td { border-bottom: 0; }

.t0-legal__table tbody tr:hover th,
.t0-legal__table tbody tr:hover td { background: rgba(var(--t0-blue-rgb), 0.04); }

/* callout */

.t0-legal__note {
	position: relative;
	margin: 22px 0;
	padding: 18px 22px 18px 26px;
	background: rgba(var(--t0-blue-rgb), 0.05);
	border: 1px solid rgba(var(--t0-blue-rgb), 0.22);
}

.t0-legal__note-bar {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--t0-blue);
}

.t0-legal__note p {
	margin: 0;
	color: var(--t0-text-2);
	font-size: 14.5px;
	line-height: 1.7;
}

.t0-legal__note b { color: var(--t0-text); }

/* contact block */

.t0-legal__contact {
	margin: 18px 0 22px;
	padding: 20px 24px;
	border: 1px solid var(--t0-line);
	background: var(--t0-panel);
}

.t0-legal__contact-line {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 14px;
	margin: 0 0 10px;
	font-size: 14.5px;
}

.t0-legal__contact-line:last-child { margin-bottom: 0; }

.t0-legal__contact-line span {
	font-family: var(--t0-display);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--t0-muted);
	padding-top: 3px;
}

.t0-legal__contact-line b { color: var(--t0-text-2); font-weight: 500; }

/* consent control embedded in the document */

.t0-legal__consent {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	margin: 20px 0 24px;
	padding: 22px;
	border: 1px solid rgba(var(--t0-blue-rgb), 0.25);
	background: rgba(var(--t0-blue-rgb), 0.04);
}

.t0-legal__consent-state {
	margin: 0;
	font-size: 13px;
	color: var(--t0-text-3);
}

/* document footer */

.t0-legal__end {
	margin-top: 50px;
	padding-top: 30px;
	border-top: 1px solid var(--t0-line);
}

.t0-legal__end-note {
	font-size: 13.5px;
	color: var(--t0-muted);
	font-style: italic;
	margin: 0 0 14px;
	max-width: 62ch;
}

.t0-legal__end-ask {
	font-size: 14.5px;
	color: var(--t0-text-2);
	margin: 0 0 18px;
}

.t0-legal__end-meta {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	font-family: var(--t0-display);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--t0-muted);
	margin: 0 0 18px;
}

.t0-legal__backtop {
	font-family: var(--t0-display);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--t0-text-3);
	text-decoration: none;
}

.t0-legal__backtop:hover { color: var(--t0-blue); }

/* =========================================================================
   2. Support page
   ========================================================================= */

.t0-support__hotline {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 26px;
	padding: 14px 22px;
	border: 1px solid rgba(var(--t0-blue-rgb), 0.35);
	background: rgba(var(--t0-blue-rgb), 0.06);
}

.t0-support__hotline-l {
	font-family: var(--t0-display);
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--t0-muted);
}

.t0-support__hotline-n {
	font-family: var(--t0-display);
	font-size: 15px;
	letter-spacing: 0.06em;
	color: var(--t0-blue);
	text-decoration: none;
}

.t0-support__hotline-n:hover { color: var(--t0-text); }

.t0-support__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 22px;
}

.t0-support__card-links {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 16px 0 0;
	font-size: 13.5px;
}

.t0-support__card-links a {
	color: var(--t0-blue);
	text-decoration: none;
	word-break: break-word;
}

.t0-support__card-links a:hover { text-decoration: underline; }

.t0-support__table tbody th { width: 18%; white-space: nowrap; }

.t0-support__form-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 56px;
	align-items: start;
}

.t0-support__form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 26px;
	padding: 32px;
	background: linear-gradient(180deg, var(--t0-panel-2), var(--t0-panel));
	border: 1px solid var(--t0-line);
}

.t0-support__form.is-p1 { border-color: rgba(var(--t0-blue-rgb), 0.5); }

.t0-support__form select {
	background: var(--t0-input-bg);
	border: 1px solid var(--t0-line);
	color: var(--t0-text);
	font-family: var(--t0-body);
	font-size: 14px;
	padding: 12px 14px;
	border-radius: 0;
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position: calc(100% - 19px) calc(50% + 1px), calc(100% - 14px) calc(50% + 1px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	cursor: pointer;
}

.t0-support__form select:focus {
	outline: none;
	border-color: var(--t0-blue);
	background-color: var(--t0-input-bg-focus);
}

.t0-field__hint {
	font-size: 12.5px;
	color: var(--t0-muted);
	line-height: 1.55;
}

.t0-field--check { margin-top: 4px; }

.t0-check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	font-size: 13.5px;
	color: var(--t0-text-2);
	line-height: 1.6;
}

.t0-check input[type="checkbox"] {
	appearance: none;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	border: 1px solid var(--t0-line);
	background: var(--t0-input-bg);
	cursor: pointer;
	position: relative;
	transition: border-color 0.2s var(--t0-ease), background 0.2s var(--t0-ease);
}

.t0-check input[type="checkbox"]:checked {
	border-color: var(--t0-blue);
	background: rgba(var(--t0-blue-rgb), 0.18);
}

.t0-check input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 5px;
	height: 10px;
	border: solid var(--t0-blue);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.t0-check a { color: var(--t0-blue); }

.t0-form-msg--warn {
	border-color: var(--t0-gold);
	color: var(--t0-text-2);
	background: rgba(212, 175, 55, 0.07);
}

.t0-form-msg b { display: block; margin-bottom: 5px; color: var(--t0-text); }

.t0-support__aside {
	display: flex;
	flex-direction: column;
	gap: 22px;
	position: sticky;
	top: 100px;
}

.t0-support__aside-line {
	margin: 0 0 8px;
	font-size: 14px;
}

.t0-support__aside-line a {
	color: var(--t0-blue);
	text-decoration: none;
	word-break: break-word;
}

.t0-support__aside-line a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */

.t0-faq__tools {
	display: flex;
	gap: 10px;
	margin-bottom: 22px;
	flex-wrap: wrap;
}

.t0-faq__toggle-all {
	background: none;
	border: 1px solid var(--t0-line);
	color: var(--t0-text-3);
	font-family: var(--t0-display);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 10px 15px;
	cursor: pointer;
	transition: color 0.25s var(--t0-ease), border-color 0.25s var(--t0-ease);
}

.t0-faq__toggle-all:hover {
	color: var(--t0-blue);
	border-color: rgba(var(--t0-blue-rgb), 0.45);
}

.t0-faq {
	border-top: 1px solid var(--t0-line-soft);
	max-width: 90ch;
}

.t0-faq__item {
	border-bottom: 1px solid var(--t0-line-soft);
	scroll-margin-top: 100px;
}

.t0-faq__q {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 22px 4px;
	cursor: pointer;
	list-style: none;
	color: var(--t0-text);
	font-size: 16px;
	line-height: 1.5;
	transition: color 0.25s var(--t0-ease);
}

.t0-faq__q::-webkit-details-marker { display: none; }

.t0-faq__q:hover { color: var(--t0-blue); }

.t0-faq__q-n {
	font-family: var(--t0-display);
	font-size: 10px;
	letter-spacing: 0.14em;
	color: var(--t0-gold);
	flex: 0 0 auto;
}

.t0-faq__q-t { flex: 1 1 auto; }

.t0-faq__chev {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: var(--t0-muted);
	transition: transform 0.3s var(--t0-ease), color 0.3s var(--t0-ease);
	align-self: center;
}

.t0-faq__chev svg { width: 100%; height: 100%; }

.t0-faq__item[open] .t0-faq__chev {
	transform: rotate(180deg);
	color: var(--t0-blue);
}

.t0-faq__item[open] .t0-faq__q { color: var(--t0-blue); }

.t0-faq__a {
	padding: 0 4px 24px 42px;
	max-width: 76ch;
}

.t0-faq__a p {
	margin: 0;
	color: var(--t0-text-2);
	font-size: 15px;
	line-height: 1.75;
}

.t0-faq__a a { color: var(--t0-blue); text-underline-offset: 3px; }

/* =========================================================================
   3. Cookie consent
   ========================================================================= */

.t0-ck__bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 200;
	background: rgba(var(--t0-bg-rgb), 0.96);
	backdrop-filter: blur(16px);
	border-top: 1px solid var(--t0-line);
	animation: t0-ck-in 0.45s var(--t0-ease) both;
}

@keyframes t0-ck-in {
	from { transform: translateY(100%); opacity: 0; }
	to   { transform: translateY(0);    opacity: 1; }
}

.t0-ck__bar-inner {
	max-width: var(--t0-max);
	margin: 0 auto;
	padding: 22px 24px;
	display: flex;
	gap: 32px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

.t0-ck__copy { flex: 1 1 460px; min-width: 0; }

.t0-ck__title {
	display: flex;
	align-items: center;
	gap: 9px;
	font-family: var(--t0-display);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--t0-text);
	margin: 0 0 9px;
}

.t0-ck__body {
	margin: 0 0 8px;
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--t0-text-2);
	max-width: 68ch;
}

.t0-ck__gpc {
	margin: 0 0 8px;
	font-size: 12.5px;
	color: var(--t0-blue);
}

.t0-ck__more {
	font-size: 12.5px;
	color: var(--t0-blue);
	text-decoration: none;
}

.t0-ck__more:hover { text-decoration: underline; }

.t0-ck__actions {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
	flex: 0 0 auto;
}

.t0-ck__btn { white-space: nowrap; }

.t0-ck__link {
	background: none;
	border: 0;
	color: var(--t0-text-3);
	font-family: var(--t0-body);
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	padding: 10px 4px;
}

.t0-ck__link:hover { color: var(--t0-blue); }

/* ---------- panel ---------- */

.t0-ck__scrim {
	position: fixed;
	inset: 0;
	z-index: 210;
	background: rgba(0, 0, 0, 0.62);
	backdrop-filter: blur(3px);
}

.t0-ck__panel {
	position: fixed;
	z-index: 220;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: min(560px, calc(100vw - 32px));
	max-height: min(84vh, 720px);
	display: flex;
	flex-direction: column;
	background: var(--t0-panel);
	border: 1px solid var(--t0-line);
	box-shadow: 0 30px 90px -30px rgba(0, 0, 0, 0.8);
}

.t0-ck__panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 24px;
	border-bottom: 1px solid var(--t0-line-soft);
}

.t0-ck__panel-title {
	font-family: var(--t0-display);
	font-size: 13px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--t0-text);
	margin: 0;
}

.t0-ck__close {
	background: none;
	border: 1px solid var(--t0-line);
	color: var(--t0-text-3);
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	cursor: pointer;
	flex: 0 0 auto;
	transition: color 0.25s var(--t0-ease), border-color 0.25s var(--t0-ease);
}

.t0-ck__close:hover { color: var(--t0-blue); border-color: var(--t0-blue); }
.t0-ck__close svg { width: 16px; height: 16px; }

.t0-ck__panel-body {
	padding: 8px 24px 20px;
	overflow-y: auto;
	flex: 1 1 auto;
}

.t0-ck__cat {
	padding: 20px 0;
	border-bottom: 1px solid var(--t0-line-soft);
}

.t0-ck__cat-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 9px;
}

.t0-ck__cat-t {
	font-family: var(--t0-display);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--t0-text);
}

.t0-ck__cat-d {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--t0-text-3);
}

.t0-ck__badge {
	font-family: var(--t0-display);
	font-size: 9px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--t0-muted);
	border: 1px solid var(--t0-line);
	padding: 5px 9px;
}

/* switch */

.t0-ck__switch {
	display: flex;
	align-items: center;
	gap: 13px;
	cursor: pointer;
	width: 100%;
	flex-direction: row-reverse;
	justify-content: flex-end;
}

.t0-ck__switch input {
	position: absolute;
	opacity: 0;
	width: 44px;
	height: 24px;
	margin: 0;
	cursor: pointer;
}

.t0-ck__switch-ui {
	flex: 0 0 auto;
	width: 44px;
	height: 24px;
	border: 1px solid var(--t0-line);
	background: var(--t0-input-bg);
	position: relative;
	transition: border-color 0.25s var(--t0-ease), background 0.25s var(--t0-ease);
}

.t0-ck__switch-ui::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 16px;
	height: 16px;
	background: var(--t0-muted);
	transition: transform 0.25s var(--t0-ease), background 0.25s var(--t0-ease);
}

.t0-ck__switch input:checked + .t0-ck__switch-ui {
	border-color: var(--t0-blue);
	background: rgba(var(--t0-blue-rgb), 0.16);
}

.t0-ck__switch input:checked + .t0-ck__switch-ui::after {
	transform: translateX(20px);
	background: var(--t0-blue);
}

.t0-ck__switch input:focus-visible + .t0-ck__switch-ui {
	outline: 2px solid var(--t0-blue);
	outline-offset: 3px;
}

.t0-ck__panel-note { margin: 18px 0 0; font-size: 13px; }
.t0-ck__panel-note a { color: var(--t0-blue); }

.t0-ck__panel-foot {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	flex-wrap: wrap;
	padding: 18px 24px;
	border-top: 1px solid var(--t0-line-soft);
	background: var(--t0-panel-2);
}

body.t0-ck-open { overflow: hidden; }

/* =========================================================================
   4. Footer — widened for the added Legal column
   sections-b.css sets 1.4fr 1fr 1fr; a fourth column now exists.
   ========================================================================= */

.t0-footer__top {
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 44px;
}

@media (max-width: 1100px) {
	.t0-footer__top {
		grid-template-columns: 1fr 1fr;
		row-gap: 50px;
	}
}

@media (max-width: 640px) {
	.t0-footer__top { grid-template-columns: 1fr; }
}

/* =========================================================================
   5. Accessibility, motion and responsive
   ========================================================================= */

.t0-legal__doc a:focus-visible,
.t0-legal__toc-list a:focus-visible,
.t0-legal__related-list a:focus-visible,
.t0-faq__q:focus-visible,
.t0-ck__link:focus-visible,
.t0-faq__toggle-all:focus-visible,
.t0-legal__print:focus-visible,
.t0-ck__close:focus-visible {
	outline: 2px solid var(--t0-blue);
	outline-offset: 3px;
	border-radius: 1px;
}

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

	.t0-faq__chev,
	.t0-ck__switch-ui,
	.t0-ck__switch-ui::after { transition: none; }
}

@media (max-width: 1024px) {
	.t0-legal__grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.t0-legal__side {
		position: static;
		max-height: none;
		overflow: visible;
	}

	.t0-legal__doc { max-width: none; }

	.t0-support__form-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.t0-support__aside { position: static; }
}

@media (max-width: 720px) {
	.t0-legal__dl-row,
	.t0-legal__contact-line {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.t0-support__form {
		grid-template-columns: 1fr;
		padding: 22px;
	}

	.t0-support__form .t0-field { grid-column: 1 / -1; }

	.t0-legal__h2 { gap: 11px; }

	.t0-faq__a { padding-left: 4px; }

	.t0-ck__bar-inner {
		padding: 18px 18px 20px;
		gap: 16px;
	}

	.t0-ck__actions { width: 100%; }
	.t0-ck__actions .t0-btn { flex: 1 1 auto; justify-content: center; }

	.t0-ck__panel { max-height: calc(100vh - 24px); }
}

/* =========================================================================
   6. Print — legal documents should print cleanly as a PDF
   ========================================================================= */

@media print {
	.t0-nav,
	.t0-footer,
	.t0-legal__side,
	.t0-ck,
	.t0-page-hero__bg,
	.t0-legal__backtop,
	.t0-faq__tools,
	.t0-support__form-sec { display: none !important; }

	body.t0 {
		background: #fff !important;
		color: #000 !important;
	}

	.t0-legal__grid { display: block; }
	.t0-legal__doc { max-width: none; }

	.t0-legal__p,
	.t0-legal__list,
	.t0-legal__dl dd,
	.t0-legal__table td { color: #222 !important; }

	.t0-legal__h2,
	.t0-legal__h3,
	.t0-page-hero__title { color: #000 !important; }

	.t0-legal__section {
		break-inside: avoid-page;
		border-bottom: 1px solid #ccc;
	}

	.t0-legal__doc a { color: #000 !important; text-decoration: underline; }

	.t0-legal__doc a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 10px;
		color: #555;
	}

	.t0-faq__item > .t0-faq__a { display: block !important; }
}
