:root {
	--terms-primary: #1f6762;
	--terms-primary-deep: #154844;
	--terms-bg: #f6f5f2;
	--terms-surface: #ffffff;
	--terms-surface-soft: #efefeb;
	--terms-surface-strong: #e7ece7;
	--terms-border: #dce1db;
	--terms-copy: #1d2d2a;
	--terms-copy-muted: #5d6a67;
	--terms-accent: #ead3ae;
	--terms-shadow: 0 16px 34px rgba(20, 52, 49, 0.12);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Manrope', 'Poppins', sans-serif;
	background: var(--terms-bg);
	color: var(--terms-copy);
	overflow-x: hidden;
}

.container {
	width: 92%;
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 8px;
}

.terms-hero {
	padding: 42px 0 52px;
}

.hero-shell {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
}

.hero-label {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.74rem;
	color: var(--terms-primary);
	font-weight: 700;
	margin-bottom: 14px;
}

.hero-content h1 {
	margin: 0;
	font-size: clamp(2.2rem, 5.6vw, 4.4rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.hero-meta {
	margin-top: 16px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.hero-line {
	width: 56px;
	height: 1px;
	background: #ccd4cf;
}

.hero-meta p {
	margin: 0;
	color: var(--terms-copy-muted);
	font-size: 0.95rem;
}

.hero-orb {
	width: 138px;
	height: 138px;
	border-radius: 50%;
	background: radial-gradient(circle at 24% 30%, #c5ebdf 0%, #2e746f 100%);
	opacity: 0.24;
	filter: blur(12px);
	flex-shrink: 0;
}

.terms-layout {
	padding-bottom: 96px;
}

.terms-grid {
	display: grid;
	grid-template-columns: 0.9fr 2fr;
	gap: 48px;
	align-items: flex-start;
}

.terms-nav {
	position: sticky;
	top: 122px;
	display: grid;
	gap: 10px;
}

.terms-nav a {
	text-decoration: none;
	color: #6a7673;
	border-left: 2px solid transparent;
	padding: 6px 0 6px 12px;
	font-weight: 500;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.terms-nav a:hover,
.terms-nav a.active {
	color: var(--terms-primary);
	border-left-color: var(--terms-primary);
}

.terms-content {
	display: grid;
	gap: 62px;
}

.terms-section {
	scroll-margin-top: 130px;
}

.section-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.section-head i {
	color: var(--terms-primary);
	font-size: 1rem;
}

.section-head h2,
.terms-section > h2,
.contact-box h2 {
	margin: 0;
	font-size: clamp(1.7rem, 3vw, 2.5rem);
	line-height: 1.2;
}

.section-copy {
	max-width: 940px;
	color: var(--terms-copy-muted);
	display: grid;
	gap: 14px;
	font-size: 1.09rem;
	line-height: 1.75;
}

.section-copy p {
	margin: 0;
}

.service-grid {
	margin-top: 18px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.service-card {
	background: #efefeb;
	border: 1px solid #e2e6e1;
	border-radius: 16px;
	padding: 24px;
}

.service-card i {
	color: var(--terms-primary);
	margin-bottom: 14px;
}

.service-card h3 {
	margin: 0;
	font-size: 1.22rem;
}

.service-card p {
	margin: 8px 0 0;
	color: #5f6e6b;
	line-height: 1.72;
}

.service-wide {
	grid-column: span 2;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	background: #e7ebe5;
}

.service-icon {
	width: 116px;
	height: 116px;
	border-radius: 14px;
	background: #f4f5f2;
	border: 1px solid #d9dfd9;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #8b9693;
	font-size: 1.65rem;
	flex-shrink: 0;
}

.responsibility-list {
	margin-top: 10px;
	display: grid;
	gap: 22px;
}

.responsibility-item {
	display: flex;
	gap: 14px;
}

.responsibility-item > span {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.88rem;
	color: #3f5652;
	background: #bfe5d7;
	flex-shrink: 0;
	margin-top: 2px;
}

.responsibility-item h3 {
	margin: 0;
	font-size: 1.35rem;
}

.responsibility-item p {
	margin: 7px 0 0;
	color: #5e6b68;
	line-height: 1.7;
}

.prohibited-panel {
	background: #eff1ed;
	border: 1px solid #e0e4df;
	border-radius: 16px;
	padding: 28px;
}

.prohibited-panel p {
	margin: 4px 0 14px;
	color: #5f6d6a;
	line-height: 1.7;
}

.prohibited-list {
	margin: 0;
	padding-left: 20px;
	display: grid;
	gap: 8px;
	color: #4f615d;
	line-height: 1.6;
}

.disclaimer-panel {
	background: linear-gradient(130deg, #ebefed 0%, #e6ecea 100%);
	border: 1px solid #d9dfda;
	border-radius: 16px;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1.65fr 1fr;
	align-items: stretch;
}

.disclaimer-copy {
	padding: 28px;
}

.disclaimer-copy p {
	margin: 10px 0 18px;
	color: #576562;
	font-size: 1.03rem;
	line-height: 1.72;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.66rem;
	font-weight: 700;
	color: #2d4f4b;
	border: 1px solid #d7ddd8;
	background: #f7f8f6;
}

.dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--terms-primary);
	box-shadow: 0 0 0 0 rgba(31, 103, 98, 0.4);
	animation: pulse-dot 1.8s infinite;
}

.disclaimer-media {
	min-height: 218px;
}

.disclaimer-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.15) saturate(0.75);
}

.termination-grid {
	margin-top: 14px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.term-card {
	background: #efefeb;
	border: 1px solid #e2e5df;
	border-radius: 14px;
	min-height: 112px;
	padding: 22px;
}

.term-card i {
	color: #5f6d6a;
}

.term-card h3 {
	margin: 10px 0 0;
	font-size: 1.08rem;
}

.term-card p {
	margin: 8px 0 0;
	color: #64726f;
	line-height: 1.62;
	font-size: 0.97rem;
}

.contact-box {
	background: #f0e4d0;
	border: 1px solid #e4d7c2;
	border-radius: 16px;
	padding: 34px;
}

.contact-box p {
	margin: 10px 0 16px;
	color: #6b5d47;
	line-height: 1.7;
}

.contact-link {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--terms-primary);
	font-weight: 700;
}

.contact-link:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

footer {
	background: #eeefeb;
	color: #2e3d3a;
	border-top: 1px solid #d8ddd8;
	padding: 36px 0 14px;
}

footer .logo {
	color: var(--terms-primary);
}

footer .logo h2 {
	font-size: 1.35rem;
}

.footer-column h3 {
	color: #253533;
}

.footer-column h3::after {
	background: var(--terms-primary);
}

.footer-column p,
.footer-column ul li,
.footer-column ul li a {
	color: #5b6865;
	opacity: 1;
}

.footer-column ul li a:hover {
	color: var(--terms-primary);
}

.footer-bottom {
	border-top: 1px solid #d3d8d3;
	color: #586663;
}

.footer-bottom a,
.footer-links a {
	color: var(--terms-primary-deep);
}

.footer-bottom a:hover,
.footer-links a:hover {
	color: var(--terms-primary);
}

@keyframes pulse-dot {
	0% {
		box-shadow: 0 0 0 0 rgba(31, 103, 98, 0.4);
	}
	70% {
		box-shadow: 0 0 0 7px rgba(31, 103, 98, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(31, 103, 98, 0);
	}
}

@media (max-width: 1080px) {
	.terms-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.terms-nav {
		position: static;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		border-bottom: 1px solid #d9dfda;
		padding-bottom: 10px;
		gap: 4px;
	}

	.terms-nav a {
		border-left: 0;
		border-bottom: 2px solid transparent;
		padding: 8px 2px;
		font-size: 0.92rem;
	}

	.terms-nav a:hover,
	.terms-nav a.active {
		border-left: 0;
		border-bottom-color: var(--terms-primary);
	}
}

@media (max-width: 780px) {
	header .container {
		width: 94%;
	}

	.logo h1 {
		font-size: 1.28rem;
	}

	.terms-page {
		padding-top: 84px;
	}

	.terms-hero {
		padding-top: 24px;
	}

	.hero-shell {
		align-items: center;
	}

	.hero-orb {
		width: 110px;
		height: 110px;
	}

	.terms-content {
		gap: 48px;
	}

	.service-grid,
	.termination-grid {
		grid-template-columns: 1fr;
	}

	.service-wide {
		grid-column: span 1;
		flex-direction: column;
		align-items: flex-start;
	}

	.disclaimer-panel {
		grid-template-columns: 1fr;
	}

	.disclaimer-media {
		min-height: 180px;
	}

	.contact-box {
		padding: 24px;
	}
}

@media (max-width: 520px) {
	.container {
		width: 95%;
		padding: 0 4px;
	}

	.hero-content h1 {
		font-size: 2.1rem;
	}

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

	.section-copy {
		font-size: 1rem;
	}

	.responsibility-item h3 {
		font-size: 1.2rem;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}
