:root {
	--lcl-background: #fafafa;
	--lcl-foreground: #202326;
	--lcl-card: #ffffff;
	--lcl-primary: #1f6f55;
	--lcl-primary-dark: #185541;
	--lcl-secondary: #eef3f1;
	--lcl-muted: #eef1f0;
	--lcl-muted-text: #70767a;
	--lcl-border: #e4e7e6;
	--lcl-danger: #b42318;
	--lcl-danger-bg: #fff4f2;
	--lcl-heading: "Plus Jakarta Sans", system-ui, sans-serif;
	--lcl-body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

/* Override stili globali del tema */
.lcl-body h1  { font-size: clamp(2.4rem, 7vw, 3.2rem) !important; font-weight: 900 !important; line-height: .95 !important; color: var(--lcl-foreground) !important; margin: 0 !important; }
.lcl-body p   { margin-bottom: 0; }
.lcl-body ul  { list-style: none; padding: 0; margin: 0; }
.lcl-body a   { color: inherit; text-decoration: none; }
.lcl-body button { font-family: inherit; }

body.lcl-body {
	margin: 0;
	background: var(--lcl-background);
	color: var(--lcl-foreground);
	font-family: var(--lcl-body);
	-webkit-font-smoothing: antialiased;
}

.lcl-body a { color: inherit; }

/* ── LAYOUT ── */
.lcl-page {
	display: grid;
	grid-template-columns: 3fr 2fr;
	min-height: 100vh;
}

.lcl-form-side {
	display: flex;
	flex-direction: column;
	padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 5vw, 4rem);
	background: var(--lcl-background);
}

/* ── BRAND ── */
.lcl-brand {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin-bottom: clamp(2.5rem, 7vh, 4.5rem);
	text-decoration: none;
}
.lcl-brand img {
	display: block;
	width: 172px;
	height: auto;
}

/* ── CARD ── */
.lcl-card {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	width: min(100%, 26rem);
	margin: 0 auto;
}

/* ── EYEBROW / TITLE / INTRO ── */
.lcl-eyebrow {
	margin: 0 0 .9rem;
	color: var(--lcl-primary);
	font-family: var(--lcl-heading);
	font-size: .73rem;
	font-weight: 800;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.lcl-title {
	margin: 0 0 1.5rem !important;
	color: var(--lcl-foreground) !important;
	font-family: var(--lcl-heading) !important;
	font-size: clamp(2.4rem, 7vw, 3.2rem) !important;
	font-weight: 900 !important;
	line-height: .95 !important;
}
.lcl-title em {
	color: var(--lcl-primary) !important;
	font-style: italic !important;
	font-weight: 500 !important;
}

.lcl-intro {
	margin: .75rem 0 2.5rem;
	color: var(--lcl-muted-text);
	font-size: .97rem;
	line-height: 1.6;
}

/* ── GOOGLE BTN ── */
.lcl-google {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .75rem;
	width: 100%;
	height: 3rem;
	border: 1px solid var(--lcl-border);
	border-radius: 8px;
	background: var(--lcl-card);
	color: var(--lcl-foreground);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s;
}
.lcl-google:hover { background: var(--lcl-secondary); }
.lcl-google__icon { width: 1.2rem; height: 1.2rem; flex-shrink: 0; }

/* ── SEPARATOR ── */
.lcl-separator {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: .75rem;
	margin: 1.25rem 0;
}
.lcl-separator span { height: 1px; background: var(--lcl-border); }
.lcl-separator strong {
	color: var(--lcl-muted-text);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

/* ── NOTICE ── */
.lcl-notice {
	margin-bottom: 1rem;
	padding: .85rem 1rem;
	border-radius: .75rem;
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.5;
}
.lcl-notice--error {
	border: 1px solid color-mix(in srgb, var(--lcl-danger) 24%, transparent);
	background: var(--lcl-danger-bg);
	color: var(--lcl-danger);
}
.lcl-notice--success {
	border: 1px solid color-mix(in srgb, var(--lcl-primary) 24%, transparent);
	background: color-mix(in srgb, var(--lcl-primary) 8%, white);
	color: var(--lcl-primary-dark);
}
.lcl-notice a { color: inherit; font-weight: 800; }

/* ── FORM ── */
.lcl-form { display: grid; gap: 1rem; }

.lcl-field {
	display: grid;
	gap: .45rem;
	color: var(--lcl-foreground);
	font-size: .9rem;
	font-weight: 600;
}

.lcl-field__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.lcl-field__row a {
	color: var(--lcl-primary);
	font-size: .78rem;
	font-weight: 700;
	text-decoration: none;
}
.lcl-field__row a:hover { text-decoration: underline; }

/* ── INPUT WRAP ── */
.lcl-input-wrap {
	position: relative;
	display: block;
}
.lcl-input-wrap > svg {
	position: absolute;
	top: 50%;
	left: .9rem;
	width: 1rem;
	height: 1rem;
	color: var(--lcl-muted-text);
	transform: translateY(-50%);
	pointer-events: none;
}
.lcl-input-wrap input[type="email"],
.lcl-input-wrap input[type="password"],
.lcl-input-wrap input[type="text"] {
	width: 100%;
	height: 3rem;
	padding: 0 2.75rem 0 3.2rem;
	border: 1.5px solid var(--lcl-border);
	border-radius: 8px;
	background: var(--lcl-card);
	color: var(--lcl-foreground);
	font: inherit;
	font-size: .95rem;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
}
.lcl-input-wrap input:focus {
	border-color: var(--lcl-primary);
	box-shadow: 0 0 0 3px rgba(31,111,85,.13);
}

/* ── EYE TOGGLE ── */
.lcl-eye {
	position: absolute;
	top: 50%;
	right: .75rem;
	display: grid;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--lcl-muted-text);
	cursor: pointer;
	place-items: center;
	transform: translateY(-50%);
}
.lcl-eye:hover { color: var(--lcl-foreground); }
.lcl-eye svg { width: 1rem; height: 1rem; }
.lcl-eye__hide,
.lcl-eye.is-visible .lcl-eye__show { display: none; }
.lcl-eye.is-visible .lcl-eye__hide { display: block; }

/* ── REMEMBER ── */
.lcl-remember {
	display: flex;
	align-items: center;
	gap: .55rem;
	color: var(--lcl-muted-text);
	font-size: .88rem;
	cursor: pointer;
}
.lcl-remember input {
	width: 1rem;
	height: 1rem;
	accent-color: var(--lcl-primary);
}

/* ── SUBMIT ── */
.lcl-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	width: 100%;
	height: 3rem;
	margin-top: .25rem;
	border: none;
	border-radius: 8px;
	background: var(--lcl-primary);
	color: #fff;
	font: inherit;
	font-family: var(--lcl-heading);
	font-weight: 700;
	cursor: pointer;
	transition: background .2s, transform .2s;
}
.lcl-submit:hover {
	background: var(--lcl-primary-dark);
	transform: translateY(-1px);
}
.lcl-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.lcl-submit svg { width: 1rem; height: 1rem; }

/* ── REGISTER / HOME ── */
.lcl-register,
.lcl-home-link {
	margin: 1.25rem 0 0;
	color: var(--lcl-muted-text);
	font-size: .88rem;
	text-align: center;
}
.lcl-register a {
	color: var(--lcl-primary);
	font-weight: 700;
	text-decoration: none;
}
.lcl-register a:hover { text-decoration: underline; }
.lcl-home-link a { text-decoration: none; }
.lcl-home-link a:hover { color: var(--lcl-foreground); }

/* ── EDITORIAL SIDE (foto + quote + stats) ── */
.lcl-editorial {
	position: sticky;
	top: 0;
	height: 100vh;
	display: flex;
	overflow: hidden;
}

.lcl-editorial__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* dark overlay so text is readable */
.lcl-editorial__wash {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(10, 18, 14, .82) 0%,
		rgba(10, 18, 14, .45) 50%,
		rgba(10, 18, 14, .25) 100%
	);
	pointer-events: none;
}

.lcl-editorial__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 100%;
	padding: clamp(2.5rem, 5vw, 4rem);
	gap: 2rem;
}

/* ── QUOTE ── */
.lcl-quote {
	display: grid;
	gap: .85rem;
}
.lcl-quote__marks {
	font-family: Georgia, serif;
	font-size: 4rem;
	line-height: .6;
	color: rgba(255,255,255,.55);
	user-select: none;
}
.lcl-quote blockquote {
	margin: 0;
	color: #fff;
	font-family: var(--lcl-heading);
	font-size: clamp(1.3rem, 2.2vw, 1.7rem);
	font-weight: 700;
	line-height: 1.3;
}

/* ── STATS ── */
.lcl-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255,255,255,.22);
}
.lcl-stats strong,
.lcl-stats span { display: block; }
.lcl-stats strong {
	color: #fff;
	font-family: var(--lcl-heading);
	font-size: 1.6rem;
	font-weight: 900;
	line-height: 1;
}
.lcl-stats span {
	margin-top: .4rem;
	color: rgba(255,255,255,.65);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
	.lcl-page { grid-template-columns: 1fr; }
	.lcl-editorial { display: none; }
}
@media (max-width: 540px) {
	.lcl-form-side { padding: 1.5rem; }
	.lcl-brand { margin-bottom: 2rem; }
	.lcl-title { font-size: 2.3rem; }
	.lcl-field__row { flex-direction: column; align-items: flex-start; gap: .3rem; }
}
