.tcf-legal-page,
.tcf-contact-page {
	max-width: 960px;
	margin: 0 auto;
	padding: 1.5rem 1.25rem 3rem;
}

.tcf-legal {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 1.75rem 1.5rem 2rem;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.tcf-legal__eyebrow,
.tcf-contact__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #0891b2;
}

.tcf-legal h1,
.tcf-contact__hero h1 {
	margin: 0 0 1rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: #0f172a;
}

.tcf-legal__body {
	color: #334155;
	line-height: 1.65;
	font-size: 0.95rem;
}

.tcf-legal__body h2 {
	margin: 1.75rem 0 0.65rem;
	font-size: 1.1rem;
	color: #0f172a;
}

.tcf-legal__body h3 {
	margin: 1.25rem 0 0.45rem;
	font-size: 1rem;
	color: #1e293b;
}

.tcf-legal__body ul,
.tcf-legal__body ol {
	padding-left: 1.25rem;
	margin: 0.5rem 0 1rem;
}

.tcf-legal__body a {
	color: #2563eb;
}

.tcf-legal__meta {
	color: #94a3b8;
	font-size: 0.85rem;
}

.tcf-legal__back {
	margin: 2rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid #e2e8f0;
	font-size: 0.9rem;
}

.tcf-contact__hero {
	margin-bottom: 1.5rem;
}

.tcf-contact__lead {
	margin: 0;
	color: #64748b;
	max-width: 40rem;
	line-height: 1.55;
}

.tcf-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
	gap: 1.5rem;
	align-items: start;
	width: 100%;
}

.tcf-contact__info h2,
.tcf-contact__form-card h2 {
	margin: 0 0 1rem;
	font-size: 1.15rem;
	color: #0f172a;
}

.tcf-contact__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.tcf-contact__list li {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
}

.tcf-contact__icon {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	background: #e0f2fe;
	color: #0369a1;
	flex-shrink: 0;
	font-size: 0.85rem;
}

.tcf-contact__list strong {
	display: block;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #64748b;
	margin-bottom: 0.15rem;
}

.tcf-contact__list a,
.tcf-contact__list span {
	color: #0f172a;
	text-decoration: none;
	font-size: 0.95rem;
	line-height: 1.4;
}

.tcf-contact__list a:hover {
	color: #2563eb;
}

.tcf-contact__legal-links {
	margin: 1.5rem 0 0;
	font-size: 0.85rem;
	color: #64748b;
}

.tcf-contact__legal-links a {
	color: #2563eb;
}

.tcf-contact__form-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 1.5rem;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
}

.tcf-contact__info {
	min-width: 0;
}

.tcf-contact__form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	min-width: 0;
}

.tcf-contact__field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	width: 100%;
	min-width: 0;
}

.tcf-contact__field > label {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 600;
	color: #334155;
	line-height: 1.35;
	margin: 0;
}

.tcf-contact__req {
	color: #dc2626;
	font-weight: 700;
	text-decoration: none;
	border: 0;
	font-style: normal;
	margin-left: 0.15rem;
}

.tcf-contact__form input,
.tcf-contact__form select,
.tcf-contact__form textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	padding: 0.7rem 0.85rem;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	font: inherit;
	font-weight: 400;
	color: #0f172a;
	background: #fff;
}

.tcf-contact__form textarea {
	resize: none;
	min-height: 9rem;
	line-height: 1.5;
}

.tcf-contact__form input:focus,
.tcf-contact__form select:focus,
.tcf-contact__form textarea:focus {
	outline: 2px solid #93c5fd;
	border-color: #2563eb;
}

.tcf-contact__submit {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin-top: 0.25rem;
	padding: 0.85rem 1rem;
	border: none;
	border-radius: 12px;
	background: #2563eb;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.tcf-contact__submit:hover {
	background: #1d4ed8;
}

.tcf-notice {
	padding: 0.85rem 1rem;
	border-radius: 10px;
	margin-bottom: 1rem;
	font-size: 0.92rem;
}

.tcf-notice--success {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.tcf-notice--error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

@media (max-width: 800px) {
	.tcf-contact__grid {
		grid-template-columns: 1fr;
	}
}
