/* Motif Client Portal theme. Same design tokens as the plugin's review page (motif-client-portal/assets/review.css). */
:root {
	--ink: #241c1d;
	--ink-2: #231f20;
	--red: #eb3f43;
	--red-band: #e84245;
	--red-soft: #fd6e71;
	--light: #efefef;
	--paper: #f7f7f7;
	--grey: #8d8e8e;
	--grey-l: #cac7c7;
	--font: "Helvetica Neue", Helvetica, "Inter", Arial, "IBM Plex Sans Arabic", sans-serif;
	--gutter: 150px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.klp-snap { scroll-snap-type: y proximity; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: opacity .3s; }
a:hover { opacity: .7; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.klp-skip { position: absolute; inset-inline-start: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: #fff; color: var(--ink); font-weight: 700; }
.klp-skip:focus { top: 16px; }
#klp-main:focus { outline: none; }
.klp-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.klp-header {
	position: fixed; inset-inline: 0; top: 0; z-index: 50;
	display: flex; align-items: baseline; gap: 10px;
	padding: 20px 25px;
	color: var(--ink); font-weight: 700; text-transform: uppercase;
	transition: color .3s;
	pointer-events: none;
}
.klp-header a, .klp-header img { pointer-events: auto; }
.klp-header.is-on-dark { color: #fff; }
.admin-bar .klp-header { top: 32px; }
.klp-logo { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 26px; line-height: 1.1; letter-spacing: .01em; }
.klp-logo:hover { opacity: 1; }
.custom-logo { display: block; max-height: 44px; width: auto; }
.klp-header-label { flex: none; font-size: 14px; letter-spacing: .04em; opacity: .6; }
.klp-header-login { margin-inline-start: auto; padding-bottom: 2px; border-bottom: 2px solid currentColor; font-size: 15px; letter-spacing: .04em; }
@media (max-width: 575px) { .klp-header-label { display: none; } }

/* Sections */
.klp-section { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: 120px 0; scroll-snap-align: start; }
.klp-hero { background: var(--ink); color: #fff; }
.klp-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 90% 0%, rgba(235, 63, 67, .22), transparent 70%); pointer-events: none; }
.klp-hero .klp-wrap { position: relative; z-index: 1; }
.klp-display { max-width: 15ch; margin: 0 0 24px; font-size: 70px; line-height: 80px; font-weight: 700; text-transform: uppercase; overflow-wrap: anywhere; }
.klp-display::after { content: "."; color: var(--red); }
.klp-kicker { margin: 0 0 8px; color: var(--red-soft); font-size: 26px; font-weight: 700; }
.klp-lead { max-width: 760px; margin: 0; font-size: 24px; line-height: 32px; }
.klp-hero .klp-lead { color: var(--grey-l); }
.klp-hero .klp-btn { margin-top: 40px; }
.klp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 30px 0 0; }
.klp-actions .klp-btn-light { margin-top: 0; }
.klp-btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.klp-btn-line:hover { background: #fff; color: var(--red); }

.klp-scroll { position: absolute; bottom: 32px; left: 50%; z-index: 1; transform: translateX(-50%); padding: 10px; }
.klp-mouse { display: block; width: 26px; height: 40px; border: 2px solid rgba(255, 255, 255, .75); border-radius: 25px; position: relative; }
.klp-mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 10px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: klp-scroll 2.2s cubic-bezier(.15, .41, .69, .94) infinite; }
@keyframes klp-scroll { 0% { opacity: 0; } 10% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(15px); opacity: 0; } }

.klp-how { background: var(--light); }
.klp-title { margin: 0 0 64px; font-size: 70px; line-height: 80px; font-weight: 700; text-transform: uppercase; }
.klp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin: 0; padding: 0; list-style: none; }
.klp-num { display: block; margin-bottom: 16px; color: var(--red); font-size: 60px; line-height: 1; font-weight: 700; }
.klp-steps h3 { margin: 0 0 12px; font-size: 32px; line-height: 40px; font-weight: 700; text-transform: uppercase; }
.klp-steps p { margin: 0; font-size: 20px; line-height: 30px; }

.klp-band { background: var(--red-band); color: #fff; text-align: center; }
.klp-band .klp-lead { margin: 0 auto; }
.klp-band-title { margin: 0 0 20px; font-size: 50px; line-height: 60px; font-weight: 600; text-transform: uppercase; }

/* Buttons: square, bold, uppercase */
.klp-btn { display: inline-block; padding: 14px 24px; background: var(--red); color: #fff; font-size: 24px; line-height: 32px; font-weight: 700; text-transform: uppercase; transition: background .5s, color .5s; }
.klp-btn:hover { opacity: 1; background: var(--ink-2); }
.klp-hero .klp-btn:hover { background: #fff; color: var(--red); }
.klp-btn-light { margin-top: 30px; background: #f8f9fa; color: var(--red); }
.klp-btn-light:hover { background: var(--ink); color: #fff; }

/* Inner pages */
.klp-page-head { padding: 160px 0 80px; background: var(--light); text-align: center; }
.klp-page-head .klp-title { margin: 0; font-size: 60px; line-height: 70px; }
.klp-content { max-width: calc(860px + 2 * var(--gutter)); padding-top: 64px; padding-bottom: 96px; }
.klp-content h2 { margin: 48px 0 16px; font-size: 30px; line-height: 38px; font-weight: 700; text-transform: uppercase; }
.klp-content h3 { margin: 32px 0 12px; font-size: 22px; font-weight: 700; text-transform: uppercase; }
.klp-content a { color: var(--red); text-decoration: underline; }
.klp-content blockquote { margin: 32px 0; padding-inline-start: 24px; border-inline-start: 6px solid var(--red); font-size: 24px; line-height: 34px; }

/* Footer */
.klp-footer { margin-top: 100px; padding: 72px 0; background: var(--ink); color: var(--grey-l); }
.klp-footer-grid { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.klp-footer-name { margin: 0 0 12px; color: var(--red-soft); font-size: 46px; line-height: 56px; font-weight: 700; text-transform: uppercase; }
.klp-footer-contact { display: flex; flex-direction: column; margin: 0; font-size: 26px; line-height: 42px; font-weight: 700; text-transform: uppercase; }
.klp-footer-end { text-align: end; }
.klp-footer-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; margin: 0 0 8px; padding: 0; list-style: none; font-size: 16px; text-transform: uppercase; }
.klp-footer-menu a { color: var(--grey); text-decoration: underline; }
.klp-footer-copy { margin: 0; color: #7f7f7f; font-size: 16px; text-transform: uppercase; }

@media (max-width: 991px) {
	:root { --gutter: 32px; }
	.klp-display { font-size: 53px; line-height: 67px; }
	.klp-title { margin-bottom: 40px; font-size: 32px; line-height: 44px; }
	.klp-steps { grid-template-columns: 1fr; gap: 32px; }
	.klp-num { font-size: 44px; }
	.klp-steps h3 { font-size: 26px; line-height: 32px; }
	.klp-band-title { font-size: 40px; line-height: 50px; }
	.klp-lead { font-size: 22px; line-height: 32px; }
	.klp-footer-name { font-size: 32px; line-height: 40px; }
}
@media (max-width: 782px) { .admin-bar .klp-header { top: 46px; } }
@media (max-width: 767px) {
	:root { --gutter: 16px; }
	body { font-size: 16px; }
	.klp-header { padding: 16px; }
	.klp-logo { font-size: 20px; }
	.klp-header-label { font-size: 12px; }
	.klp-section { padding: 96px 0 88px; }
	.klp-display { font-size: 33px; line-height: 40px; }
	.klp-kicker { font-size: 20px; }
	.klp-lead { font-size: 16px; line-height: 24px; }
	.klp-steps p { font-size: 16px; line-height: 24px; }
	.klp-band { text-align: start; }
	.klp-actions { justify-content: flex-start; }
	.klp-band-title { font-size: 33px; line-height: 40px; }
	.klp-btn { padding: 12px 20px; font-size: 20px; line-height: 28px; }
	.klp-page-head { padding: 120px 0 48px; text-align: start; }
	.klp-page-head .klp-title { font-size: 33px; line-height: 40px; }
	.klp-footer { padding: 48px 0; }
	.klp-footer-name { font-size: 22px; line-height: 28px; }
	.klp-footer-contact { font-size: 18px; line-height: 30px; }
	.klp-footer-end { text-align: start; }
	.klp-footer-menu { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	html.klp-snap { scroll-snap-type: none; }
	.klp-mouse::after { animation: none; }
	* { transition: none !important; }
}
