/* =========================================================================
   CRMaps Landing — base styles
   ========================================================================= */
:root {
	--ink: #292d34;
	--muted: #5c6370;
	--muted-2: #7c828d;
	--purple: #2563eb;
	--purple-d: #1d4ed8;
	--bg: #ffffff;
	--bg-soft: #f7f8fa;
	--radius: 9px;
	--shadow-sm: 0 10px 25px rgba(16, 30, 54, .08);
	--shadow-md: 0 18px 40px rgba(16, 30, 54, .12);
	--shadow-purple: 0 10px 25px rgba(37, 99, 235, .4);
	--container: 1300px;
	--content: 1200px;
	--font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* --------- Reset / base --------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0; line-height: 1.1; letter-spacing: -.02em; }
/* Ukrainian: Plus Jakarta Sans has no Cyrillic — swap the heading/UI font to Manrope on /uk/. */
html[lang="uk"] { --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }

.crm-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.crm-content { width: 100%; max-width: var(--content); margin: 0 auto; padding: 0 24px; }

/* --------- Buttons --------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 15px; border: 0; border-radius: var(--radius); padding: 13px 22px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-purple { background: var(--purple); color: #fff; box-shadow: var(--shadow-purple); }
.btn-purple:hover { background: var(--purple-d); }
.btn-cta { background: var(--purple); color: #fff; font-size: 18px; padding: 18px 34px; box-shadow: 0 14px 30px rgba(37, 99, 235, .35); }

/* =========================================================================
   Header
   ========================================================================= */
.crm-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(160%) blur(8px); box-shadow: var(--shadow-sm); }
.crm-header__inner { display: flex; align-items: center; height: 76px; gap: 28px; }
.crm-logo { display: inline-flex; align-items: center; }
.crm-logo__img { height: 33px; width: auto; display: block; }
.crm-header .crm-logo__img { transform: translateY(-2px); }

/* Language switcher — dropdown (placeholder) */
.crm-lang { position: relative; }
.crm-lang > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--ink); padding: 8px 12px; border: 1px solid #e6e9f1; border-radius: 9px; background: #fff; transition: border-color .15s ease; }
.crm-lang > summary::-webkit-details-marker { display: none; }
.crm-lang > summary:hover { border-color: #cdddff; }
.crm-lang__caret { width: 9px; height: 6px; opacity: .8; transition: transform .15s ease; }
.crm-lang[open] .crm-lang__caret { transform: rotate(180deg); }
.crm-lang__menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 132px; background: #fff; border: 1px solid #e6e9f1; border-radius: 11px; box-shadow: var(--shadow-md); padding: 6px; z-index: 60; }
.crm-lang__menu a { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); padding: 9px 12px; border-radius: 7px; transition: background .15s ease, color .15s ease; }
.crm-lang__menu a:hover { background: var(--bg-soft); }
.crm-lang__menu a.is-active { color: var(--purple); background: #eef4ff; }
.crm-nav { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.crm-nav a { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--ink); display: inline-flex; align-items: center; gap: 5px; }
.crm-nav a .caret { width: 9px; height: 6px; opacity: .8; }
.crm-nav__demo { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; text-decoration-color: rgba(41, 45, 52, .35); }
.crm-nav__demo svg { width: 14px; height: 14px; }
.crm-header__actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.crm-header__actions .sales { font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.crm-burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; padding: 8px; }
.crm-burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; transform-origin: center; }
.crm-header.is-menu-open .crm-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.crm-header.is-menu-open .crm-burger span:nth-child(2) { opacity: 0; }
.crm-header.is-menu-open .crm-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.crm-nav .crm-nav__login { display: none; }

/* --------- Single-capsule header --------- */
.crm-header--pills { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 16px 16px 0; }
.crm-header--pills .crm-header__inner { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); border: 1px solid rgba(228, 230, 241, .9); border-radius: 16px; box-shadow: 0 8px 26px rgba(67, 46, 134, .09); height: 64px; padding: 0 14px 0 22px; gap: 22px; }
.crm-header--pills .crm-nav { margin-left: 0; gap: 22px; }
.crm-header--pills .crm-header__actions { gap: 10px; }
.crm-header--pills .crm-lang > summary { border: 0; background: transparent; box-shadow: none; padding: 8px 10px; border-radius: 9px; }
.crm-header--pills .crm-lang > summary:hover { background: #f2f4fb; }
.crm-header--pills .login { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--ink); padding: 9px 13px; border-radius: 9px; transition: background .15s ease; }
.crm-header--pills .login:hover { background: #f2f4fb; }
.crm-header--pills .btn-purple { height: 40px; padding: 0 20px; font-size: 14px; box-shadow: none; }
.crm-header--pills .btn-purple:hover { transform: none; }

/* =========================================================================
   Hero
   ========================================================================= */
.crm-hero { position: relative; text-align: center; padding: 64px 0 96px; overflow: hidden; }
.crm-hero__inner { position: relative; z-index: 1; }
.crm-hero h1 { font-size: clamp(44px, 6vw, 76px); font-weight: 800; max-width: 880px; margin: 0 auto 22px; }

/* h1 — brand blue; h2 — dark (like h3) */
.crm-hero h1 {
	color: #2563eb;
	line-height: 1.16;
	padding-bottom: .08em;
}
.crm-section__head .crm-h2 {
	color: var(--ink);
	line-height: 1.16;
	padding-bottom: .08em;
}
.crm-hero__sub { font-size: 20px; color: #24223e; font-weight: 400; max-width: 460px; margin: 0 auto 30px; line-height: 1.35; }
.crm-hero__sub strong { font-weight: 700; }
.crm-hero__cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid #e6e9f1; box-shadow: var(--shadow-sm); font-size: 18px; padding: 18px 30px; }
.btn-outline:hover { border-color: #cdddff; }
.btn-outline svg { width: 16px; height: 16px; }

/* --------- Hero feature tabs --------- */
.crm-tabs { margin-top: 50px; }
.crm-tabs__row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; max-width: 1000px; margin: 0 auto; }
.crm-tab { display: inline-flex; flex-direction: row; align-items: center; gap: 9px; padding: 14px 18px; background: transparent; border: 0; border-bottom: 3px solid #e9ecf3; border-radius: 8px 8px 0 0; box-shadow: none; cursor: pointer; color: var(--muted); transition: color .15s ease, border-color .15s ease, background .15s ease; }
.crm-tab:hover { color: var(--ink); }
.crm-tab .ic { display: grid; place-items: center; color: currentColor; flex: none; }
.crm-tab .ic svg { width: 22px; height: 22px; display: block; }
.crm-tab span:last-child { font-size: 14px; font-weight: 700; font-family: var(--font-head); white-space: nowrap; }
.crm-tab.is-active { color: var(--purple); border-bottom-color: var(--purple); background: linear-gradient(to top, rgba(37, 99, 235, .16) 0%, rgba(37, 99, 235, 0) 55%); }

/* --------- Hero product image --------- */
.crm-hero__shot { position: relative; margin: 36px auto 0; max-width: 1120px; }
/* Hero video frame (autoplay, muted, no controls) */
.crm-hero__video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #eef0f4; box-shadow: 0 12px 30px rgba(16, 30, 54, .09); border: 8px solid #dfe3ec; }
.crm-hero__videoel { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 1; transition: opacity .55s ease; }
.crm-hero__videoel.is-switching { opacity: 0; }
/* Floating caption card (overhangs the video) */
.crm-hero__vcard { position: absolute; right: -56px; bottom: -30px; z-index: 3; display: flex; gap: 15px; align-items: flex-start; width: 348px; max-width: 86vw; text-align: left; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid #eef0f5; border-radius: 16px; padding: 19px 21px; box-shadow: 0 24px 50px rgba(15, 23, 42, .2); }
.crm-hero__vcard b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--ink); margin-bottom: 6px; }
.crm-hero__vcard span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 980px) { .crm-hero__vcard { right: 12px; bottom: -16px; width: min(300px, 70%); } }
@media (max-width: 560px) { .crm-hero__vcard { display: none; } }

/* =========================================================================
   Sections — shared (savetime / split)
   ========================================================================= */
section[id], [id].crm-block { scroll-margin-top: 104px; }
.crm-section { padding: 90px 0; }
.crm-section--flush-top { padding-top: 0; }
.crm-eyebrow { font-family: var(--font-head); font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); margin-bottom: 14px; }
.crm-h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; max-width: 720px; }
.crm-section__head { text-align: center; margin: 0 auto 56px; max-width: 720px; }
.crm-section__head .crm-h2 { margin: 0 auto 16px; }
.crm-section__head p { font-size: 19px; color: var(--muted); margin: 0 auto; max-width: 580px; }

.crm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.crm-split__text h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 18px; }
.crm-split__text p { font-size: 18px; color: var(--muted); margin: 0 0 22px; }
.crm-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; }
.crm-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink); }
.crm-list li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #eafaf1; color: #1bbf73; font-size: 13px; font-weight: 700; display: grid; place-items: center; margin-top: 2px; }

/* =========================================================================
   Footer
   ========================================================================= */
.crm-footer { background: #fff; border-top: 1px solid #eef0f5; padding: 64px 0 36px; text-align: center; }
.crm-footer__logo { display: inline-flex; margin-bottom: 18px; }
.crm-footer__tagline { color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 440px; margin: 0 auto 30px; }
.crm-footer__nav { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }
.crm-footer__nav a { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--ink); opacity: .82; transition: opacity .15s ease, color .15s ease; }
.crm-footer__nav a:hover { opacity: 1; color: var(--purple); }
.crm-footer__contact { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 28px; }
.crm-footer__contact a, .crm-footer__contact span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.crm-footer__contact a { transition: color .15s ease; }
.crm-footer__contact a:hover { color: var(--purple); }
.crm-footer__contact svg { width: 17px; height: 17px; flex: none; }
.crm-footer__social { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; }
.crm-footer__social a { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid #e6e9f1; color: #9aa1b2; display: grid; place-items: center; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.crm-footer__social a:hover { background: var(--purple); border-color: var(--purple); color: #fff; }
.crm-footer__social svg { width: 19px; height: 19px; display: block; }
.crm-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 28px; border-top: 1px solid #e6e9f1; color: var(--muted); font-size: 13px; }
.crm-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.crm-footer__legal a { color: var(--muted); text-decoration: none; }
.crm-footer__legal a:hover { color: #1d232a; text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================================
   Section image (savetime)
   ========================================================================= */
/* One self-contained composite that scales uniformly at every width:
   main map (top-right) + analytics overlay (bottom-left), both sized in %. */
.crm-split__media { position: relative; width: 100%; aspect-ratio: 100 / 88; }
.crm-shot { position: absolute; top: 0; right: 0; width: 80%; height: auto; border-radius: 14px; box-shadow: var(--shadow-md); border: 1px solid #eef0f5; }
.sec-savetime .crm-shot { box-shadow: 0 14px 60px rgba(16, 30, 54, .26); border: 6px solid #d7dbe3; }
.crm-shot__overlay { position: absolute; left: 0; bottom: 0; z-index: 2; width: 72%; height: auto; border-radius: 14px; border: 6px solid #fff; box-shadow: 0 22px 50px rgba(16, 30, 54, .22); }

/* Enlarge the savetime composite overall (wider media column + bigger map),
   and significantly enlarge the analytics overlay. */
.sec-savetime .crm-split__media { aspect-ratio: 100 / 96; }
.sec-savetime .crm-shot { width: 90%; }
.sec-savetime .crm-shot__overlay { width: 94%; }
/* Give the media column more room on desktop (kept out of the mobile rule so
   the section still stacks to one column below 980px). */
@media (min-width: 981px) {
	.sec-savetime .crm-split { grid-template-columns: 0.86fr 1.14fr; }
	/* Nudge the analytics overlay slightly left, out past the media edge. */
	.sec-savetime .crm-shot__overlay { left: -6%; }
}

/* =========================================================================
   Calculate-cost page — constrain the configurator to a centered block
   ========================================================================= */
.crm-calc { padding: 32px 0 80px; }
.crm-calc .crm-content { max-width: 1240px; }
.crm-calc .interactive-map-app-shell { padding-top: 0; }
@media (max-width: 560px) { .crm-calc { padding: 20px 0 56px; } }

/* =========================================================================
   Contact form modal
   ========================================================================= */
.crm-modal { width: 100%; height: 100%; max-width: none; max-height: none; inset: 0; margin: 0; padding: 24px; border: 0; background: transparent; overflow: auto; }
.crm-modal[open] { display: grid; place-items: center; }
.crm-modal::backdrop { background: rgba(16, 20, 40, .55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.crm-modal__card { position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 18px; padding: 34px 30px; box-shadow: 0 30px 80px rgba(15, 23, 42, .3); text-align: left; animation: crm-modal-in .22s cubic-bezier(.16, 1, .3, 1); }
@keyframes crm-modal-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.crm-modal__close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: background .15s ease, color .15s ease; }
.crm-modal__close:hover { background: #eceef3; color: var(--ink); }
.crm-modal__close svg { width: 16px; height: 16px; }
.crm-modal__title { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--ink); margin: 0 0 6px; letter-spacing: -.02em; }
.crm-modal__sub { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 22px; }
.crm-modal__body { display: grid; gap: 14px; }
.crm-field { display: grid; gap: 6px; }
.crm-field > span { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--ink); }
.crm-req { color: #ef4444; font-style: normal; }
.crm-modal__body input, .crm-modal__body textarea { width: 100%; box-sizing: border-box; font-family: var(--font-body); font-size: 15px; color: var(--ink); padding: 12px 14px; border: 1.5px solid #e6e9f1; border-radius: 12px; background: #f7f8fb; outline: none; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.crm-modal__body input::placeholder, .crm-modal__body textarea::placeholder { color: #9aa1b2; }
.crm-modal__body input:focus, .crm-modal__body textarea:focus { border-color: var(--purple); background: #fff; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.crm-modal__body textarea { resize: none; height: 92px; line-height: 1.5; }
.crm-modal__submit { margin-top: 8px; width: 100%; justify-content: center; gap: 8px; }
.crm-modal__submit svg { width: 17px; height: 17px; }
/* Loading state for the shared submit button (used by the calculator form). */
.crm-modal__submit .spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: crm-spin .6s linear infinite; }
.crm-modal__submit.is-loading .spinner { display: inline-block; }
.crm-modal__submit.is-loading .btn-label, .crm-modal__submit.is-loading svg { display: none; }
@keyframes crm-spin { to { transform: rotate(360deg); } }
/* Calculator completion form reuses the site contact-form styling. */
.interactive-map-app__completion-form.is-submitted .crm-field input:invalid,
.interactive-map-app__completion-form.is-submitted .crm-field textarea:invalid { border-color: #ef4444; background: #fff; }
.interactive-map-app__completion-inline-success { font-size: 13px; line-height: 1.45; margin-top: 4px; }
.crm-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.crm-modal__done { text-align: center; padding: 10px 0; }
.crm-modal__check { width: 58px; height: 58px; border-radius: 50%; background: #eafaf1; color: #1bbf73; display: grid; place-items: center; margin: 0 auto 18px; }
.crm-modal__check svg { width: 28px; height: 28px; }
.crm-modal__done h3 { font-family: var(--font-head); font-size: 22px; margin: 0 0 8px; color: var(--ink); }
.crm-modal__done p { color: var(--muted); font-size: 14px; margin: 0 0 22px; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
	.crm-nav, .crm-header__actions .sales { display: none; }
	.crm-burger { display: flex; }
	.crm-split { grid-template-columns: 1fr; gap: 36px; }

	/* Burger dropdown menu (tablet + mobile) */
	.crm-header--pills .crm-header__inner { position: relative; }
	.crm-header.is-menu-open .crm-nav {
		display: flex; flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
		position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 60;
		background: #fff; border: 1px solid rgba(228, 230, 241, .9); border-radius: 16px;
		box-shadow: 0 18px 44px rgba(15, 23, 42, .16); padding: 10px;
	}
	.crm-header.is-menu-open .crm-nav > a { padding: 13px 14px; font-size: 16px; border-radius: 10px; justify-content: flex-start; }
	.crm-header.is-menu-open .crm-nav > a:hover { background: #f2f4fb; }
}

/* Tablet — keep language, Log in and Contact us in the header bar. */
@media (min-width: 601px) and (max-width: 980px) {
	.crm-header--pills .crm-header__inner { gap: 14px; padding: 0 12px 0 18px; }
}

/* Mobile — language + Contact us stay in the bar (compact); only Log in moves into the menu. */
@media (max-width: 600px) {
	.crm-header__actions .login { display: none; }
	.crm-header--pills .crm-header__inner { gap: 8px; padding: 0 8px 0 14px; }
	.crm-header--pills .crm-header__actions { gap: 7px; }
	.crm-header--pills .crm-lang > summary { padding: 7px 8px; }
	.crm-header--pills .btn-purple { height: 36px; padding: 0 14px; font-size: 13px; }

	.crm-header.is-menu-open .crm-nav .crm-nav__login { display: flex; margin-top: 6px; padding-top: 15px; border-top: 1px solid #eef0f5; border-radius: 0; }
}

@media (max-width: 560px) {
	.crm-section { padding: 60px 0; }
	.crm-section--flush-top { padding-top: 0; }
	.crm-hero { padding: 40px 0 64px; }
	.crm-footer__nav { gap: 20px 24px; }
	.crm-tab { min-width: 72px; }

	/* Footer bottom — stack copyright + legal links centered (matches the centered mobile footer) */
	.crm-footer__bottom { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; }
	.crm-footer__legal { justify-content: center; gap: 6px 20px; }

	/* Hero CTA — keep both buttons on one row, scaled down */
	.crm-hero__cta { flex-wrap: nowrap; gap: 10px; }
	.crm-hero__cta .btn-cta, .crm-hero__cta .btn-outline { font-size: 14px; padding: 13px 16px; gap: 8px; }
	.crm-hero__cta .btn-outline svg { width: 15px; height: 15px; }
}


/* ---------------------------------------------------------------------------
   Legal pages (Terms of Service, Privacy Policy)
   --------------------------------------------------------------------------- */
.crm-legal-page {
	padding: 56px 0 96px;
	background: #fff;
}

.crm-legal {
	max-width: 820px;
	margin: 0 auto;
	color: #3a3f47;
	font-size: 15.5px;
	line-height: 1.72;
}

.crm-legal__head {
	margin-bottom: 36px;
	padding-bottom: 24px;
	border-bottom: 1px solid #eceef3;
}

.crm-legal__head h1 {
	margin: 0 0 10px;
	color: #1d232a;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.crm-legal__updated {
	margin: 0;
	color: #8a909a;
	font-size: 13.5px;
	font-weight: 500;
}

.crm-legal > p {
	margin: 0 0 16px;
}

.crm-legal section {
	margin-top: 34px;
}

.crm-legal h2 {
	margin: 0 0 14px;
	color: #1d232a;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.crm-legal h3 {
	margin: 22px 0 10px;
	color: #1d232a;
	font-size: 16.5px;
	font-weight: 700;
}

.crm-legal p {
	margin: 0 0 14px;
}

.crm-legal ul {
	margin: 0 0 16px;
	padding-left: 22px;
	list-style: disc;
}

.crm-legal li {
	margin-bottom: 8px;
}

.crm-legal strong {
	color: #1d232a;
	font-weight: 700;
}

.crm-legal a {
	color: #2563eb;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.crm-legal a:hover {
	color: #1d4ed8;
}

.crm-legal em {
	color: #8a909a;
	font-style: italic;
}

@media (max-width: 560px) {
	.crm-legal-page { padding: 36px 0 64px; }
	.crm-legal { font-size: 15px; }
	.crm-legal section { margin-top: 28px; }
	.crm-legal h2 { font-size: 18.5px; }
}

/* ---------------------------------------------------------------------------
   404 page
   --------------------------------------------------------------------------- */
.crm-404 { padding: 96px 0 112px; text-align: center; }
.crm-404__inner { max-width: 560px; margin: 0 auto; }
.crm-404__code {
	font-family: var(--font-head); font-weight: 800; line-height: 1;
	font-size: clamp(84px, 16vw, 152px); letter-spacing: -0.04em; margin-bottom: 6px;
	color: #2563eb;
}
.crm-404__title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 14px; color: #1d232a; }
.crm-404__text { font-size: 18px; color: var(--muted); margin: 0 0 30px; }
.crm-404__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 560px) {
	.crm-404 { padding: 56px 0 72px; }
	.crm-404__actions { gap: 10px; }
	.crm-404__actions .btn { font-size: 15px; padding: 13px 20px; }
}
