/* PRIVI Skin Consultation landing screen.
   Uses the PRIVI theme's colours and fonts when present, with fallbacks so it works under any theme. */
.gate {
	--g-ink: var(--ink, #1c1c1c);
	--g-muted: var(--muted, #6b6b6b);
	--g-error: var(--error, #cb2b2b);
	--g-ease: var(--ease, cubic-bezier(.2,.7,.2,1));
	--g-head: var(--f-head, Jost, sans-serif);
	--g-body: var(--f-body, Jost, sans-serif);
	--g-display: var(--f-display, var(--f-head, Jost, sans-serif));
	--g-gutter: var(--gutter, 20px);
	--g-wide: var(--wide, 1200px);
	--g-space: var(--space, 4rem);
	box-sizing: border-box;
}
.gate *, .gate *::before, .gate *::after { box-sizing: inherit; }
.gate .gate__field input[type="email"], .gate .gate__field input[type="password"], .gate .gate__field input[type="text"] { width: 100%; padding: 0 1rem; border: 1px solid var(--g-ink); border-radius: 0; background: #fff; color: var(--g-ink); font-family: var(--g-body); }
.gate .gate__pw input { padding-right: 3.25rem; }
.gate__actions .button { display: inline-flex; align-items: center; justify-content: center; padding: 0 1.5rem; border: 1px solid var(--g-ink); border-radius: 0; font-family: var(--g-body); text-transform: uppercase; letter-spacing: 0.14em; cursor: pointer; }
.gate { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: calc(var(--g-wide) + 2 * var(--g-gutter)); margin: 0 auto; padding: 2rem var(--g-gutter) var(--g-space); align-items: center; }
@media (min-width: 900px) { .gate { grid-template-columns: 1fr 1fr; gap: 5rem; padding-top: 3.5rem; } }
.gate__visual { display: flex; justify-content: center; }
.gate__art, .gate__img { width: 100%; max-width: 300px; height: auto; }
@media (min-width: 900px) { .gate__art, .gate__img { max-width: 520px; } }
.gate__img { object-fit: cover; }
.gate__art text { font-family: var(--g-head); font-style: normal; }
.gate__art-word { font: 800 44px var(--g-display) !important; letter-spacing: 0.14em; fill: var(--g-ink); }
.gate__art-sub { font-size: 10px; letter-spacing: 0.32em; fill: var(--g-ink); }
.gate__orbit { transform-origin: 200px 200px; animation: privi-scg-spin 60s linear infinite; }
@keyframes privi-scg-spin { to { transform: rotate(360deg); } }
.gate__title { margin: 0 0 1.5rem; font-size: clamp(24px, 1.2rem + 1.4vw, 38px); line-height: 1.15; }
.gate__points { margin: 0 0 2rem; padding: 0; list-style: none; }
.gate__points li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.7rem; font: italic 400 var(--text, 13px)/1.65 var(--g-body); letter-spacing: 0.04em; }
.gate__tick { flex: 0 0 auto; margin-top: 1px; }
.gate__errors { margin: 0 0 1.5rem; padding: 0.9rem 1.1rem; border-left: 3px solid var(--g-error); background: #fdf3f2; }
.gate__errors p { margin: 0 0 0.35rem; font-style: normal; }
.gate__errors a { text-decoration: underline; }
.gate__form { max-width: 560px; }
.gate__field { margin: 0 0 1.25rem; }
.gate__field label { display: block; margin-bottom: 0.5rem; font: normal 500 11px/1.6 var(--g-head); text-transform: uppercase; letter-spacing: 0.14em; }
.gate__req { color: var(--g-error); }
.gate__field input { min-height: 50px; font: normal 400 13px/1.4 var(--g-body); letter-spacing: 0.02em; }
.gate__pw { position: relative; display: block; }
.gate__pw input { padding-right: 3.25rem; }
.gate__eye { position: absolute; right: 0.6rem; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: var(--g-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gate__eye[aria-pressed="true"] { color: var(--g-ink); }
.gate__note { margin: 0.25rem 0 1.25rem; color: var(--g-muted); font: italic 400 var(--text, 13px)/1.65 var(--g-body); letter-spacing: 0.04em; }
.gate__note a { color: var(--g-ink); font-weight: 600; }
.gate__check a { color: inherit; font: inherit; font-weight: 400; text-transform: none; letter-spacing: inherit; text-decoration: underline; text-underline-offset: 2px; }
.gate__check { display: flex; align-items: flex-start; gap: 0.85rem; margin: 0 0 1rem; cursor: pointer; font: italic 400 var(--text, 13px)/1.65 var(--g-body); text-transform: none; letter-spacing: 0.04em; color: var(--g-muted); }
.gate__check input {
	-webkit-appearance: none; appearance: none; flex: 0 0 auto; width: 22px; height: 22px; min-height: 0; margin: 0; padding: 0;
	border: 1px solid var(--g-ink); border-radius: 50%; background: #fff; cursor: pointer; display: grid; place-content: center;
}
.gate__check input::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--g-ink); transform: scale(0); transition: transform 0.15s var(--g-ease); }
.gate__check input:checked::before { transform: scale(1); }
.gate__check input:focus-visible { outline: 2px solid var(--g-ink); outline-offset: 2px; }
.gate__check small { font-size: 11px; }
.gate__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.75rem; }
.gate__actions .button { min-height: 50px; font: normal 400 12px/1.4 var(--g-head); letter-spacing: 0.16em; }
.gate__forgot { margin-top: 1rem; font: italic 400 var(--text, 13px)/1.65 var(--g-body); letter-spacing: 0.04em; }
.gate__forgot a { text-decoration: underline; text-underline-offset: 3px; color: var(--g-muted); }
.gate__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gate__actions .button--dark { background: var(--g-ink); border-color: var(--g-ink); color: #fff; }
.gate__actions .button--dark:hover { background: #000; border-color: #000; color: #fff; }
.gate__actions .button--outline { background: transparent; border-color: var(--g-ink); color: var(--g-ink); }
.gate__actions .button--outline:hover { background: var(--g-ink); color: #fff; }

/* Left panel: how it works --------------------------------------------------- */
.gate--panel { align-items: stretch; }
.gate--panel .gate__panel { align-self: center; }
.gate__intro { order: 2; display: flex; flex-direction: column; justify-content: center; padding: 2.5rem 1.75rem; background: var(--stone, #f4f1ee); }
@media (min-width: 900px) { .gate__intro { order: 0; padding: 3rem 3.75rem; } }
.gate__eyebrow { margin: 0 0 1rem; font: normal 400 11px/1.6 var(--g-head); text-transform: uppercase; letter-spacing: 0.22em; color: var(--g-muted); }
.gate__intro-title:not(:last-child) { margin-bottom: 0.75rem !important; }
.gate__intro-sub { margin: 0 0 2.5rem; font: normal 400 11px/1.6 var(--g-head); text-transform: uppercase; letter-spacing: 0.22em; color: var(--g-muted); }
.gate__intro-title { margin: 0 0 2.5rem; font: normal 800 clamp(20px, 1.1rem + 0.5vw, 25px)/1.25 var(--g-display); text-transform: uppercase; letter-spacing: 0.08em; color: var(--g-ink); }
.gate__step-text { display: block; font: italic 400 var(--text, 13px)/1.65 var(--g-body); letter-spacing: 0.04em; color: var(--g-muted); }


/* Left panel: timeline ------------------------------------------------------- */
.gate__steps { position: relative; margin: 0; padding: 0 0 14px; list-style: none; }
.gate__step { position: relative; margin: 0; padding: 0 0 2.25rem 2.25rem; }
.gate__step::before { content: ""; position: absolute; left: 0; top: 0.15em; z-index: 1; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #a79d94; background: var(--stone, #f4f1ee); box-sizing: border-box; }
.gate__step::after { content: ""; position: absolute; left: 5.25px; top: calc(0.15em + 14px); bottom: 2px; border-left: 1.5px solid #cfc6be; }
.gate__step:first-child::before { border: 2px solid var(--g-ink); }
.gate__step:first-child::after { border-left: 2px dotted var(--g-ink); }
.gate__step:last-child { padding-bottom: 1.1rem; }
.gate__step:last-child::after { bottom: -12px; }
.gate__steps::after { content: ""; position: absolute; left: 1.75px; bottom: 3px; width: 8px; height: 8px; border-right: 1.5px solid #a79d94; border-bottom: 1.5px solid #a79d94; transform: rotate(45deg); }
.gate__step-title { display: inline-block; margin-bottom: 0.6rem; font: normal 500 12px/1.4 var(--g-head); text-transform: uppercase; letter-spacing: 0.18em; color: #7d746c; }
.gate__step:first-child .gate__step-title { color: var(--g-ink); padding-bottom: 3px; border-bottom: 1.5px solid var(--g-ink); }
.gate__final { margin: 0.5rem 0 0; padding: 1.4rem 1.5rem 1.5rem; border: 1px solid var(--g-ink); background: var(--bg, #fff); }
.gate__final .gate__step-title { color: var(--g-ink); }
.gate__start { margin: 0 0 1.5rem; font: normal 800 15px/1.3 var(--g-display); text-transform: uppercase; letter-spacing: 0.14em; color: var(--g-ink); }
