/*
 * Employer auth pages (sign in, register, forgot / reset password).
 * Used by layouts/auth.php through company\assets\AuthAsset.
 * Web Awesome supplies icons, callouts and spinners; every form control is a
 * native element so ActiveForm validation and password-manager autofill keep working.
 */

:root {
    --sa-paper: #F5F4EF;
    --sa-paper-2: #ECEAE2;
    --sa-ink: #1C3440;           /* logo slate */
    --sa-proof: #1C3440;         /* proof panel, the same in both themes */
    --sa-text: #1D2A31;
    --sa-muted: #5B686F;
    --sa-faint: #8A959A;
    --sa-line: #DEDBD1;
    --sa-line-2: #E9E7DF;
    --sa-field: #CFCBC0;
    --sa-green: #46AF3A;         /* logo green: accents only (2.8:1 on white) */
    --sa-green-strong: #2B7F24;  /* buttons and links: 5.0:1 on white */
    --sa-green-deep: #1F5E19;
    --sa-green-tint: #EBF6E8;
    --sa-danger: #B42318;
    --sa-danger-tint: #FDEEEC;
    --sa-warn: #8A5300;
    --sa-warn-tint: #FFF3DA;
    --sa-bg: #fff;
    --sa-surface: #fff;          /* inputs, cards, outline buttons */
    --sa-placeholder: #A2A9AD;
    --sa-field-hover: #B5B1A5;
    --sa-tick-line: #C8C4B9;
    --sa-primary-hover: var(--sa-green-deep);
    --sa-on-green: #fff;         /* text and ticks on green fills */
    --sa-green-line: #CDE8C7;
    --sa-danger-line: #F6CFCA;
    --sa-danger-text: #7A1810;
    --sa-warn-line: #F2DDAA;
    --sa-hover-tint: rgba(0, 0, 0, .05);
    --sa-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235B686F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --sa-sans: "Noto Sans", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", sans-serif;
    --sa-serif: "Instrument Serif", Georgia, serif;
    --sa-ring: 0 0 0 3px rgba(70, 175, 58, .24);

    /* Web Awesome tokens → staff.am brand */
    --wa-font-family-body: var(--sa-sans);
    --wa-font-family-heading: var(--sa-sans);
    --wa-color-brand-fill-loud: var(--sa-green-strong);
    --wa-color-brand-on-loud: #fff;
    --wa-color-brand-fill-quiet: var(--sa-green-tint);
    --wa-color-brand-on-quiet: var(--sa-green-deep);
    --wa-color-brand-border-quiet: var(--sa-green-line);
    --wa-color-focus: var(--sa-green);
    --wa-border-radius-m: 10px;
}

body.sa-auth {
    margin: 0;
    background: var(--sa-bg);
    color: var(--sa-text);
    font: 15px/1.55 var(--sa-sans);
    -webkit-font-smoothing: antialiased;
}
.sa-auth *, .sa-auth *::before, .sa-auth *::after { box-sizing: border-box; }
.auth a { color: var(--sa-green-strong); }
.sa-auth img { max-width: 100%; }
.sa-auth .hidden, .sa-auth [hidden] { display: none !important; }
.sa-auth :not(:defined) { visibility: hidden; }

/* ───────────── Dark theme ─────────────
 * html[data-theme="dark"] comes from the shared staff_theme cookie (company\services\SiteTheme).
 * Values follow staff.am's dark palette (staff-frontend-react-native shared/common/Theme.js):
 * #121212 page, #1C1C1D surfaces, #383838 lines, #DFDFDF titles, #46AF3A green with dark text on it.
 */
html[data-theme="dark"] {
    color-scheme: dark;
    --sa-bg: #121212;
    --sa-surface: #1C1C1D;
    --sa-paper: #242424;
    --sa-paper-2: #2B2B2B;
    --sa-ink: #DFDFDF;
    --sa-text: #D4D4D4;
    --sa-muted: #B4B4B4;
    --sa-faint: #8C8C8C;
    --sa-line: #383838;
    --sa-line-2: #2E2E2E;
    --sa-field: #525252;
    --sa-field-hover: #737373;
    --sa-placeholder: #8C8C8C;
    --sa-tick-line: #5D5D5D;
    --sa-green-strong: #46AF3A;  /* 6:1 on #1C1C1D; #1C1C1D text on it is 6:1 too */
    --sa-green-deep: #7FD08A;
    --sa-green-tint: rgba(70, 175, 58, .15);
    --sa-green-line: rgba(70, 175, 58, .35);
    --sa-primary-hover: #5BBF4F;
    --sa-on-green: #1C1C1D;
    --sa-danger: #F07A70;
    --sa-danger-tint: rgba(203, 60, 60, .16);
    --sa-danger-line: rgba(203, 60, 60, .45);
    --sa-danger-text: #F5A39C;
    --sa-warn: #F2B84B;
    --sa-warn-tint: rgba(242, 184, 75, .12);
    --sa-warn-line: rgba(242, 184, 75, .35);
    --sa-hover-tint: rgba(255, 255, 255, .07);
    --sa-ring: 0 0 0 3px rgba(70, 175, 58, .35);
    --sa-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23B4B4B4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Theme switch, and images that come in a light and a dark version (logos, footer icons) */
html:not([data-theme="dark"]) .t-dark, html[data-theme="dark"] .t-light { display: none !important; }
.theme-toggle {
    display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0;
    border: 0; border-radius: 8px; background: transparent; color: var(--sa-ink); cursor: pointer;
}
.theme-toggle:hover { background: var(--sa-hover-tint); }
.theme-toggle:focus-visible { outline: 2px solid var(--sa-green); outline-offset: 1px; }
.theme-toggle .theme-sun, html[data-theme="dark"] .theme-toggle .theme-moon { display: none; }
html[data-theme="dark"] .theme-toggle .theme-sun { display: block; }

/* ───────────── Shell ───────────── */
.auth { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
/* Wide screens: the panel (_auth_showcase.php) on the left, the form on the right. The panel stays
   after the form in the markup so phones and screen readers reach the form first. */
@media (min-width: 1024px) {
    .auth.split { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); }
    .split .proof, .split .promo { order: -1; }
}
.auth-main { display: flex; flex-direction: column; min-width: 0; padding: 20px 16px; }
@media (min-width: 600px) { .auth-main { padding: 28px 40px; } }
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-logo img { height: 30px; width: auto; display: block; }
.auth-top-end { display: flex; align-items: center; gap: 6px; }
.mini-lang { display: flex; gap: 2px; }
.mini-lang a { font: 500 12.5px/1 var(--sa-sans); padding: 8px 9px; border-radius: 7px; color: var(--sa-muted); text-decoration: none; }
.mini-lang a:hover { color: var(--sa-ink); background: var(--sa-paper); }
.mini-lang a[aria-current="true"] { color: var(--sa-ink); background: var(--sa-paper); }
.auth-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px 0; gap: 18px; }
.auth-center.top { justify-content: flex-start; }
.auth-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 12.5px; color: var(--sa-faint); }
.auth-foot a { color: var(--sa-muted); text-decoration: none; }
.auth-foot a:hover { color: var(--sa-ink); }
.auth-foot .links { display: flex; gap: 14px; }

.auth-form { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 18px; margin: 0; }
.auth-form.wide { max-width: 640px; }
.auth-h { margin: 0; font: 700 28px/1.15 var(--sa-sans); letter-spacing: -.02em; color: var(--sa-green-strong); }
html[lang^="hy"] .auth-h { font-size: 25px; letter-spacing: 0; }
.auth-lede { margin: 6px 0 0; color: var(--sa-muted); font-size: 15px; }
.switch { margin: 0; text-align: center; font-size: 14.5px; color: var(--sa-muted); }
.switch a { font-weight: 600; text-decoration: none; }
.switch a:hover { text-decoration: underline; }
.trustline { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: 12.5px; color: var(--sa-muted); }
.trustline b { color: var(--sa-ink); font-weight: 600; }
@media (min-width: 1024px) { .split .trustline { display: none; } }
.icon-badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--sa-green-tint); color: var(--sa-green-strong); font-size: 22px; }
/* Error page for signed-out visitors (site/error-auth.php): copy on the left, the robot on a panel in its
   render's own background on the right (above the copy on phones); the image edges fade into the panel */
.err { width: 100%; max-width: 1080px; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .err { grid-template-columns: 1.05fr 1fr; gap: 64px; } }
.err-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.err-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--sa-green-tint); font-size: 14px; font-weight: 600; color: var(--sa-green-deep); }
.err-eyebrow b { padding: 2px 9px; border-radius: 999px; background: var(--sa-green-strong); font-weight: 700; color: #fff; }
.err-h { margin: 0; font: 800 38px/1.08 "Manrope", "Noto Sans Armenian", var(--sa-sans); letter-spacing: -.035em; color: var(--sa-ink); text-wrap: balance; }
@media (min-width: 900px) { .err-h { font-size: 52px; } }
html[lang^="hy"] .err-h { letter-spacing: -.01em; font-size: clamp(30px, 3.6vw, 44px); }
.err-lede { margin: 0; max-width: 480px; font-size: 17px; line-height: 1.55; color: var(--sa-muted); }
.err-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.err-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 10px 0 0; padding: 18px 0 0; border-top: 1px solid var(--sa-line); list-style: none; font-size: 14.5px; color: var(--sa-muted); }
.err-links a { font-weight: 600; text-decoration: none; }
.err-links a:hover { text-decoration: underline; }
.err-links wa-icon { font-size: 12px; vertical-align: -1px; }
.err-art { order: -1; justify-self: center; width: min(100%, 360px); aspect-ratio: 1; border-radius: 28px; background: #F6FAFD; overflow: hidden; }
@media (min-width: 900px) { .err-art { order: 0; width: 100%; max-width: 500px; border-radius: 36px; } }
html[data-theme="dark"] .err-art { background: #15171A; }
.err-art img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent); mask-image: radial-gradient(closest-side, #000 78%, transparent); }

/* ───────────── Fields (ActiveForm output) ───────────── */
.fgroup { display: flex; flex-direction: column; gap: 16px; }
.nf { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; }
.nf-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.nf-l { font-size: 14px; font-weight: 700; color: var(--sa-ink); margin: 0; }
.nf-i {
    width: 100%; height: 46px; margin: 0; padding: 0 14px;
    font: 400 16px/1.2 var(--sa-sans); color: var(--sa-text);
    background: var(--sa-surface); border: 1px solid var(--sa-field); border-radius: 10px;
    outline: none; -webkit-appearance: none; appearance: none;
    transition: border-color .15s, box-shadow .15s;
}
.nf-i::placeholder { color: var(--sa-placeholder); }
.nf-i:hover { border-color: var(--sa-field-hover); }
.nf-i:focus { border-color: var(--sa-green-strong); box-shadow: var(--sa-ring); }
select.nf-i {
    padding-right: 40px; cursor: pointer;
    background-image: var(--sa-chevron);
    background-repeat: no-repeat; background-position: right 14px center;
}
select.nf-i:disabled { background-color: var(--sa-paper); cursor: default; color: var(--sa-faint); }
.nf.is-invalid .nf-i, .nf.is-invalid .iti input { border-color: var(--sa-danger); }
.nf.is-invalid .nf-i:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .14); }
.nf-h { font-size: 12.5px; color: var(--sa-muted); display: flex; justify-content: space-between; gap: 12px; }
.ferr { font-size: 13px; color: var(--sa-danger); }
.ferr:empty { display: none; }
.nf-pw { position: relative; }
.nf-pw .nf-i { padding-right: 50px; }
.eye {
    position: absolute; right: 5px; top: 5px; width: 36px; height: 36px;
    display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px;
    background: transparent; color: var(--sa-muted); cursor: pointer; font-size: 16px;
}
.eye:hover { background: var(--sa-paper); color: var(--sa-ink); }
.eye:focus-visible { outline: 2px solid var(--sa-green); outline-offset: 1px; }
.forgot { font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.forgot:hover { text-decoration: underline; }
.caps { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--sa-warn); }
.two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Checkbox */
.nf-check { gap: 4px; }
.nf-check label, label.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 400; color: var(--sa-text); cursor: pointer; margin: 0; line-height: 1.45; }
.nf-check input[type="checkbox"] {
    flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--sa-green-strong); cursor: pointer;
}
.nf-check .muted { color: var(--sa-muted); }

/* intl-tel-input (borales PhoneInput widget) */
.iti { width: 100%; display: block; }
.iti .nf-i { padding-left: 52px; }
.iti--separate-dial-code .nf-i { padding-left: 92px; }
.iti__flag-container { border-radius: 10px 0 0 10px; }
.iti__selected-flag { border-radius: 10px 0 0 10px; padding: 0 10px 0 14px; }
.iti__country-list { font-size: 14px; border-radius: 10px; border-color: var(--sa-line); background: var(--sa-surface); color: var(--sa-text); box-shadow: 0 16px 40px -16px rgba(28, 52, 64, .35); }
.iti__country.iti__highlight { background: var(--sa-paper); }
.iti__dial-code { color: var(--sa-faint); }
.iti__divider { border-bottom-color: var(--sa-line); }
.iti__arrow { border-top-color: var(--sa-muted); }
.iti__arrow--up { border-bottom-color: var(--sa-muted); }
.iti__selected-flag:hover, .iti__selected-flag:focus { background: var(--sa-hover-tint) !important; }

/* Password rules checklist */
.rules { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 13px; color: var(--sa-muted); }
.rules li { display: flex; align-items: center; gap: 7px; }
.rules li i {
    width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--sa-tick-line); flex: none;
    display: grid; place-items: center; font-style: normal; font-size: 10px; color: transparent; transition: all .15s;
}
.rules li.ok { color: var(--sa-green-deep); }
.rules li.ok i { background: var(--sa-green-strong); border-color: var(--sa-green-strong); color: var(--sa-on-green); }
.rules li.ok i::before { content: "✓"; }

/* ───────────── Buttons ───────────── */
.sa-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 46px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent;
    font: 600 15px/1 var(--sa-sans); text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background .15s, border-color .15s, box-shadow .15s, color .15s;
}
.sa-btn:focus-visible { outline: none; box-shadow: var(--sa-ring); }
.sa-btn-lg { height: 52px; font-size: 16px; }
.sa-btn-primary { background: var(--sa-green-strong); color: var(--sa-on-green) !important; }
.sa-btn-primary:hover { background: var(--sa-primary-hover); }
.sa-btn-outline { background: var(--sa-surface); border-color: var(--sa-field); color: var(--sa-ink) !important; }
.sa-btn-outline:hover { border-color: var(--sa-field-hover); background: var(--sa-paper); }
.sa-btn-ghost { background: transparent; color: var(--sa-ink) !important; padding: 0 12px; }
.sa-btn-ghost:hover { background: var(--sa-paper); }
.sa-btn[disabled], .sa-btn.is-loading { cursor: default; }
.sa-btn[disabled]:not(.is-loading) { opacity: .55; }
.sa-btn .sa-spin { display: none; font-size: 18px; --indicator-color: var(--sa-on-green); --track-color: color-mix(in srgb, var(--sa-on-green) 30%, transparent); }
.sa-btn.is-loading .sa-spin { display: inline-block; }
.sa-btn.is-loading .sa-btn-label { opacity: .7; }
.w-full { width: 100%; }
.textbtn { background: none; border: 0; padding: 0; font: 600 14px/1.4 var(--sa-sans); color: var(--sa-green-strong); cursor: pointer; text-decoration: none; }
.textbtn:hover { text-decoration: underline; }
.textbtn[disabled] { color: var(--sa-faint); cursor: default; text-decoration: none; }

/* ───────────── Flash messages ───────────── */
/* As wide as the form under it (.auth-form.wide), so the message and the form line up */
.auth-flash { width: 100%; max-width: 640px; position: relative; padding: 14px 44px 14px 16px; border-radius: 12px; font-size: 14px; border: 1px solid var(--sa-line); background: var(--sa-paper); }
.auth-flash--success { background: var(--sa-green-tint); border-color: var(--sa-green-line); }
.auth-flash--error, .auth-flash--danger { background: var(--sa-danger-tint); border-color: var(--sa-danger-line); color: var(--sa-danger-text); }
.auth-flash--warning { background: var(--sa-warn-tint); border-color: var(--sa-warn-line); }
.auth-flash .flash-close { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--sa-muted); cursor: pointer; font-size: 18px; line-height: 1; }
.auth-flash .flash-close:hover { background: var(--sa-hover-tint); }
/* Old notification partials that still ship their own close buttons and modal wrappers */
.auth-flash .alert-close, .auth-flash .register-pop-up-heading { display: none; }
.auth-flash .mail-check, .auth-flash .register-pop-up, .auth-flash .loginForm { all: unset; display: block; }

/* Modal flashes (notification-alerts/confirmed.php): the body scrolls, the footer stays pinned
   to the bottom so its button is always in view */
.sa-modal { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 20px; background: var(--sa-bg); color: var(--sa-text); box-shadow: 0 30px 80px -20px rgba(28, 52, 64, .45); overflow: hidden; }
.sa-modal[open] { display: flex; flex-direction: column; }
.sa-modal::backdrop { background: rgba(14, 30, 38, .55); }
.sa-modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 8px; }
.sa-modal-body p { margin: 0; color: var(--sa-muted); font-size: 15px; line-height: 1.55; }
.sa-modal-h { margin: 0; padding-right: 32px; font: 700 22px/1.2 var(--sa-sans); letter-spacing: -.02em; color: var(--sa-green-strong); }
.sa-modal-foot { flex: none; position: sticky; bottom: 0; padding: 16px 28px 24px; background: var(--sa-bg); border-top: 1px solid var(--sa-line-2); }
.sa-modal-steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--sa-text); font-size: 15px; line-height: 1.5; }
.sa-modal-body .sa-modal-note { font-size: 13px; }
.sa-modal-x { position: absolute; top: 12px; right: 12px; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--sa-muted); font-size: 18px; cursor: pointer; }
.sa-modal-x:hover { background: var(--sa-paper); color: var(--sa-ink); }
.sa-modal-x:focus-visible { outline: 2px solid var(--sa-green); outline-offset: 1px; }

/* ───────────── Proof panel ───────────── */
.proof { display: none; position: relative; overflow: hidden; overflow: clip; background: var(--sa-proof); color: #E6EEF1; padding: 40px 48px; flex-direction: column; justify-content: flex-start; gap: 28px; }
@media (min-width: 1024px) { .split .proof { display: flex; position: sticky; top: 0; height: 100vh; height: 100dvh; } }
.proof::before { content: ""; position: absolute; inset: -30% -20% auto auto; width: 640px; height: 640px; background: radial-gradient(closest-side, rgba(70, 175, 58, .35), rgba(70, 175, 58, 0)); pointer-events: none; }
.proof::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.2px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 75%); mask-image: linear-gradient(180deg, #000 10%, transparent 75%); pointer-events: none; }
.proof > * { position: relative; z-index: 1; }
.proof-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.proof-top img { height: 26px; width: auto; }
.proof-top span { font-size: 12px; color: #9FB4BC; letter-spacing: .08em; text-transform: uppercase; }
.proof-h { margin: 0 0 16px; font: 600 12px/1 var(--sa-sans); letter-spacing: .08em; text-transform: uppercase; color: #9FB4BC; }

/* What the recording behind the page shows */
.demo { display: flex; flex-direction: column; gap: 10px; }
.demo-h { margin: 0; font: 650 30px/1.18 var(--sa-sans); letter-spacing: -.015em; color: #fff; }
html[lang^="hy"] .demo-h { font-size: 26px; letter-spacing: 0; }
.demo-lede { margin: 0; max-width: 520px; font-size: 15.5px; color: #C9D8DE; }

/* Recording as the panel's background (_auth_backdrop.php). The panel only shows on wide
   screens, so phones never download it (the image is lazy). */
.proof > .auth-bg { position: absolute; inset: 0; z-index: 0; overflow: clip; }
/* Pinned to one screen while the page scrolls, so the long registration form never stretches the
   640×360 recording to the panel's full height; bottom-aligned to keep its captions in view. */
.auth-bg-media { position: sticky; top: 0; height: min(100vh, 100%); }
.has-site-chrome .auth-bg-media { top: var(--site-chrome, 80px); height: min(calc(100vh - var(--site-chrome, 80px)), 100%); transition: top .25s ease; }
.auth-bg-media img, .auth-bg-media canvas { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.auth-bg [hidden] { display: none; }
/* Dark enough everywhere for the copy, a little lighter mid-panel so the recording reads */
.auth-bg-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(14, 30, 38, .88) 0%, rgba(14, 30, 38, .64) 38%, rgba(14, 30, 38, .64) 62%, rgba(14, 30, 38, .9) 100%);
}
.proof.has-video::before, .proof.has-video::after { display: none; }
.proof.has-video { text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.proof.has-video .stats { margin-top: auto; }
.proof.has-video .logos-h { color: #C9D8DE; }
.demo-toggle {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, .22); border-radius: 100px; background: rgba(255, 255, 255, .08);
    font: 500 13px/1 var(--sa-sans); color: #E6EEF1; cursor: pointer; transition: background .15s;
}
.demo-toggle:hover { background: rgba(255, 255, 255, .16); }
.demo-toggle:focus-visible { outline: 2px solid var(--sa-green); outline-offset: 2px; }
.demo-toggle .demo-play, .demo-toggle[data-paused] .demo-pause { display: none; }
.demo-toggle[data-paused] .demo-play { display: block; }

/* AI Search promo (_auth_promo.php, ai-search-promo.js): a 1600×1200 stage scaled to fit,
   pinned to one screen beside the form. The scene takes its colours from these variables.
   The panel wears the landing's "Our services" gradient (.lx-services) in both themes, which sets it
   well apart from the form's background; the stage itself is transparent over it. */
.promo {
    --sp-surface: #fff; --sp-ink: #17201A; --sp-muted: #5C6A5F; --sp-line: #E1E7DE;
    --sp-soft: #E8F4E1; --sp-gd: #2F8A1C; --sp-bar: #F6F8F5; --sp-dot: #D5DBD2; --sp-chip: #F1F4EF;
    --sp-ph: #A5AFA6; --sp-toast: #17201A;
    display: none; position: relative;
    background: radial-gradient(800px 400px at 85% 0%, rgba(79, 178, 51, .22), transparent 70%), linear-gradient(160deg, #1D4236, #143127 60%, #10261F);
}
/* The panel is dark green in the light theme too, so the big logo of the intro and outro is the
   white one there, as in the dark theme */
html:not([data-theme="dark"]) .promo .promo-wordmark .t-light { display: none !important; }
html:not([data-theme="dark"]) .promo .promo-wordmark .t-dark { display: block !important; }
html[data-theme="dark"] .promo {
    --sp-surface: #252E27; --sp-ink: #E6ECE5; --sp-muted: #9AA89C; --sp-line: #34403A;
    --sp-soft: #1F3320; --sp-gd: #8FDB85; --sp-bar: #202621; --sp-dot: #3A433C; --sp-chip: #252B26;
    --sp-ph: #66736A; --sp-toast: #2E3D31;
}
@media (min-width: 1024px) { .split .promo { display: block; } }
.promo-view { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; height: 100dvh; }
.has-site-chrome .promo-view { top: var(--site-chrome, 80px); height: calc(100vh - var(--site-chrome, 80px)); height: calc(100dvh - var(--site-chrome, 80px)); transition: top .25s ease, height .25s ease; }
.promo-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }

/* Have any questions? (_auth_help.php): a row under the animation on wide screens, a card under the form on phones */
.promo-help, .auth-help { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.promo-help { flex: none; margin: 0 28px 28px; padding: 16px 20px; border: 1px solid var(--sp-line); border-radius: 16px; background: var(--sp-surface); color: var(--sp-ink); }
.auth-help { width: 100%; max-width: 400px; padding: 16px; border: 1px solid var(--sa-line); border-radius: 14px; background: var(--sa-surface); color: var(--sa-ink); }
@media (min-width: 1024px) { .split .auth-help { display: none; } }
.help-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sa-green-tint); color: var(--sa-green-strong); font-size: 18px; }
.help-text { flex: 1 1 180px; display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; line-height: 1.4; }
.help-text b { font-size: 15px; font-weight: 700; }
.help-text span { color: var(--sa-muted); }
.help-links { display: flex; flex-wrap: wrap; gap: 8px; }
.help-links a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--sa-paper); font-size: 14px; font-weight: 600; color: var(--sa-ink); text-decoration: none; white-space: nowrap; }
.help-links a:hover { color: var(--sa-green-strong); }
.help-links wa-icon { color: var(--sa-green-strong); }
.auth-help .help-links { width: 100%; }
.auth-help .help-links a { flex: 1 1 auto; justify-content: center; }

/* What happens next (registration) */
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-bottom: 14px; font-size: 14px; }
.tl li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: rgba(255, 255, 255, .14); }
.tl li:last-child { padding-bottom: 0; }
.tl li:last-child::before { display: none; }
.tl i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .1); color: #B9CBD2; }
.tl li.now i { background: rgba(70, 175, 58, .22); color: #8FDB85; box-shadow: 0 0 0 4px rgba(70, 175, 58, .14); }
.tl b { display: block; color: #fff; font-weight: 600; }
.tl span { color: #9FB4BC; font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; }
.stats b { display: block; font: 600 28px/1.05 var(--sa-sans); color: #fff; letter-spacing: -.02em; }
.stats span { font-size: 12.5px; color: #9FB4BC; }
.logos-h { font-size: 12.5px; color: #9FB4BC; margin: 0 0 12px; }
.logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.logos a, .logos span { background: #fff; border-radius: 10px; height: 52px; display: grid; place-items: center; padding: 8px 12px; }
.logos img { max-height: 30px; object-fit: contain; filter: grayscale(1); mix-blend-mode: multiply; opacity: .8; transition: filter .2s, opacity .2s; }
.logos a:hover img { filter: none; opacity: 1; }

/* ───────────── Register form: one page, three groups ───────────── */
.js .js-hide { display: none; }
.fsec { display: flex; flex-direction: column; gap: 16px; }
.fsec + .fsec { padding-top: 20px; border-top: 1px solid var(--sa-line-2); }
.fsec-h { margin: 0; font: 600 12px/1 var(--sa-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--sa-faint); }
/* What the company wants to do (companyType): two big buttons */
.type-choice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.type-choice label { margin: 0; cursor: pointer; }
.type-choice input { position: absolute; opacity: 0; pointer-events: none; }
.type-choice span {
    display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 14px;
    border: 1.5px solid var(--sa-field); border-radius: 12px; background: var(--sa-surface);
    font: 600 15.5px/1.2 var(--sa-sans); color: var(--sa-ink); text-align: center; transition: border-color .15s, background .15s, box-shadow .15s;
}
.type-choice span wa-icon { font-size: 18px; color: var(--sa-muted); }
.type-choice label:hover span { border-color: var(--sa-field-hover); }
.type-choice input:checked + span { border-color: var(--sa-green-strong); background: var(--sa-green-tint); color: var(--sa-green-deep); box-shadow: 0 0 0 3px rgba(70, 175, 58, .18); }
.type-choice input:checked + span wa-icon { color: var(--sa-green-strong); }
.type-choice input:focus-visible + span { outline: 2px solid var(--sa-green); outline-offset: 2px; }

/* Package in the form: "Choose a package" until one is picked, then a summary with "Change" */
.pk-choose {
    display: flex; align-items: center; gap: 12px; width: 100%; height: 56px; padding: 0 16px; border: 1.5px dashed var(--sa-field);
    border-radius: 14px; background: var(--sa-surface); font: 600 15.5px/1.2 var(--sa-sans); color: var(--sa-ink); cursor: pointer; text-align: left;
    transition: border-color .15s, background .15s;
}
.pk-choose > span { flex: 1; }
.pk-choose wa-icon { font-size: 18px; color: var(--sa-green-strong); }
.pk-choose:hover { border-color: var(--sa-green-strong); background: var(--sa-green-tint); }
.pk-choose:focus-visible { outline: none; border-color: var(--sa-green-strong); box-shadow: var(--sa-ring); }
.nf.is-invalid .pk-choose, .nf:has(.is-invalid) .pk-choose { border-color: var(--sa-danger); }
.pk-pick { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1.5px solid var(--sa-green-strong); border-radius: 14px; background: var(--sa-green-tint); }
.pk-pick-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pk-pick-eyebrow { font: 600 11px/1.2 var(--sa-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--sa-green-deep); }
.pk-pick-name { font: 700 16px/1.3 var(--sa-sans); letter-spacing: .02em; text-transform: uppercase; color: var(--sa-ink); }
.pk-pick-meta { font-size: 13px; color: var(--sa-muted); }
/* "Only for new registered companies" (packages flagged for_registration) */
.pk-pick-note, .pk-note { font-size: 12.5px; font-weight: 600; color: var(--sa-green-deep); }
.pk-note { margin: 4px 0 0; text-align: center; }
.pk-pick-price { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; flex: none; }
.pk-pick-price b { font: 700 20px/1.2 var(--sa-sans); font-variant-numeric: tabular-nums; color: var(--sa-ink); white-space: nowrap; }
.pk-stepper { display: grid; grid-template-columns: 40px 64px 40px; align-items: center; gap: 6px; }
.pk-stepper button { height: 40px; border: 1px solid var(--sa-field); border-radius: 10px; background: var(--sa-surface); font: 600 20px/1 var(--sa-sans); color: var(--sa-ink); cursor: pointer; transition: border-color .15s, background .15s; }
.pk-stepper button:hover:not(:disabled) { border-color: var(--sa-green-strong); background: var(--sa-green-tint); }
.pk-stepper button:disabled { opacity: .4; cursor: default; }
.pk-stepper input { width: 100%; height: 40px; padding: 0; border: 1px solid var(--sa-field); border-radius: 10px; background: var(--sa-surface); font: 700 18px/1 var(--sa-sans); font-variant-numeric: tabular-nums; text-align: center; color: var(--sa-ink); -moz-appearance: textfield; appearance: textfield; }
.pk-stepper input::-webkit-inner-spin-button, .pk-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pk-stepper input:focus { outline: none; border-color: var(--sa-green-strong); box-shadow: var(--sa-ring); }
.pk-stepper button:focus-visible { outline: none; box-shadow: var(--sa-ring); }

/* All job packages: one tab per billing group, a row of cards that scrolls sideways */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pk-dialog { width: min(1080px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0 0 24px; border: 0; border-radius: 20px; background: var(--sa-bg); color: var(--sa-text); box-shadow: 0 30px 80px -20px rgba(28, 52, 64, .45); }
.pk-dialog::backdrop { background: rgba(14, 30, 38, .55); }
.pk-dialog-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 4px 16px; flex-wrap: wrap; padding: 20px 64px 16px 28px; background: var(--sa-bg); border-bottom: 1px solid var(--sa-line-2); }
.pk-dialog-head h2 { margin: 0; font: 700 22px/1.2 "Manrope", var(--sa-sans); letter-spacing: -.02em; color: var(--sa-ink); }
.pk-dialog-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--sa-muted); font-size: 18px; cursor: pointer; }
.pk-dialog-x:hover { background: var(--sa-paper); color: var(--sa-ink); }
.pk-dialog-x:focus-visible { outline: 2px solid var(--sa-green); outline-offset: 1px; }
.pk-tabs { display: flex; gap: 4px; margin: 0 28px; border-bottom: 1px solid var(--sa-line); overflow-x: auto; scrollbar-width: none; }
.pk-tabs button {
    flex: none; position: relative; padding: 18px 16px 16px; border: 0; background: none; cursor: pointer;
    font: 700 13px/1 var(--sa-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--sa-muted); transition: color .15s;
}
.pk-tabs button::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: transparent; transition: background .2s; }
.pk-tabs button:hover { color: var(--sa-ink); }
.pk-tabs button[aria-selected="true"] { color: var(--sa-green-strong); }
.pk-tabs button[aria-selected="true"]::after { background: var(--sa-green-strong); }
.pk-tabs button:focus-visible { outline: 2px solid var(--sa-green); outline-offset: -2px; border-radius: 8px; }
/* Packages side by side for phones (_package_compare.php), shown instead of the cards there */
.pkc { display: none; }
.pkc-head { position: sticky; top: var(--pkc-top, 0); z-index: 1; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 6px; padding: 10px 0 12px; background: var(--sa-bg); border-bottom: 1px solid var(--sa-line); }
.pkc-col { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 8px 4px; border-radius: 12px; text-align: center; transition: background .2s, box-shadow .2s; }
.pkc-col.on, .pkc-col.suggested { background: var(--sa-green-tint); box-shadow: inset 0 0 0 1.5px var(--sa-green-strong); }
.pkc-name { font: 800 12.5px/1.2 var(--sa-sans); letter-spacing: .03em; text-transform: uppercase; color: var(--sa-ink); overflow-wrap: anywhere; }
.pkc-note { font-size: 11px; font-weight: 600; line-height: 1.25; color: var(--sa-green-deep); }
.pkc-price { margin-top: auto; padding-top: 4px; font: 700 14px/1.2 var(--sa-sans); font-variant-numeric: tabular-nums; color: var(--sa-ink); }
/* "Get started" under each column, pinned to the bottom of the dialog (which scrolls on phones) */
.pkc-row:has(+ .pkc-foot) { border-bottom: 0; }
.pkc-foot { position: sticky; bottom: 0; z-index: 1; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 6px; padding: 10px 0; background: var(--sa-bg); border-top: 1px solid var(--sa-line); }
.pkc-foot .sa-btn { width: 100%; height: 34px; padding: 0 4px; border-radius: 8px; font-size: 12.5px; }
.pkc-row { padding: 12px 0; border-bottom: 1px solid var(--sa-line-2); }
.pkc-title { margin: 0 0 8px; text-align: center; font-size: 14px; font-weight: 500; color: var(--sa-ink); }
.pkc-cells { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 6px; text-align: center; font-size: 14px; }
.pkc-cells > span { min-width: 0; overflow-wrap: break-word; line-height: 1.3; }
.pkc-cells b { font-size: 15px; color: var(--sa-ink); }
.pkc .lx-tip-text { left: 50%; width: min(240px, 70vw); transform: translate(-50%, 4px); }
/* Hidden tooltips still take room: never let them make the dialog scroll sideways */
.pk-dialog { overflow-x: hidden; }
.pkc .lx-tip:hover .lx-tip-text, .pkc .lx-tip:focus-visible .lx-tip-text { transform: translate(-50%, 0); }

/* "How many jobs" in the job dialog: points to the cheapest package covering them */
.pk-finder { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 16px 28px 0; padding: 12px 16px; border-radius: 14px; background: var(--sa-paper); }
.pk-finder label { font: 600 15px/1.3 var(--sa-sans); color: var(--sa-ink); }
.pk-finder-hint { font-size: 13.5px; font-weight: 600; color: var(--sa-green-deep); }
.pk-card { position: relative; }
.pk-card-badge {
    position: absolute; top: -12px; left: 50%; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 100px; white-space: nowrap;
    background: linear-gradient(90deg, var(--sa-green-strong), #7ACB5A); color: #fff; font: 700 11px/1 var(--sa-sans); letter-spacing: .06em; text-transform: uppercase;
    opacity: 0; transform: translate(-50%, 4px) scale(.9); transition: opacity .2s, transform .2s; pointer-events: none;
}
.pk-card.suggested { border-color: var(--sa-green-strong); box-shadow: 0 0 0 4px rgba(70, 175, 58, .18), 0 18px 36px -24px rgba(23, 32, 26, .3); }
.pk-card.suggested .pk-card-badge { opacity: 1; transform: translate(-50%, 0); }
.pk-row { padding-top: 30px !important; }
.pk-panel { position: relative; }
.pk-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 32px) / 3)); gap: 16px; padding: 24px 28px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 28px; scrollbar-width: none; }
.pk-row::-webkit-scrollbar { display: none; }
@media (max-width: 700px) { .pk-row { grid-auto-columns: 82%; } }
.pk-card {
    scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 22px 22px;
    border: 1.5px solid var(--sa-line); border-radius: 18px; background: var(--sa-surface); text-align: center;
    box-shadow: 0 1px 2px rgba(23, 32, 26, .04), 0 18px 36px -24px rgba(23, 32, 26, .3); transition: border-color .2s, box-shadow .2s;
}
.pk-card:hover { border-color: var(--sa-field-hover); }
.pk-card.on { border-color: var(--sa-green-strong); box-shadow: 0 0 0 4px rgba(70, 175, 58, .14), 0 18px 36px -24px rgba(23, 32, 26, .3); }
.pk-card h3 { margin: 0; font: 800 18px/1.25 "Manrope", var(--sa-sans); letter-spacing: .02em; text-transform: uppercase; color: var(--sa-green-strong); }
.pk-price { margin: 8px 0 0; padding-bottom: 10px; border-bottom: 1px solid var(--sa-line); font: 800 34px/1.1 "Manrope", var(--sa-sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--sa-ink); }
.pk-price s { margin-left: 8px; font-size: 15px; font-weight: 600; color: var(--sa-faint); }
.pk-posts { margin: 6px 0 0; font: 700 12.5px/1.2 var(--sa-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--sa-muted); }
.pk-services { flex: 1; align-self: stretch; margin: 16px 0 8px; padding: 0; list-style: none; display: grid; align-content: start; gap: 9px; text-align: left; font-size: 14.5px; }
/* A card's "Get started": sticks to the bottom of the cards row while the card is taller than it */
.pk-card-cta { position: sticky; bottom: -8px; /* = .pk-row's bottom padding: sticks to the row's very edge */ z-index: 1; align-self: stretch; margin: 0 -22px -22px; padding: 12px 22px 22px; border-radius: 0 0 16.5px 16.5px; background: var(--sa-surface); }
/* Wide, tall enough screens: head, finder and tabs stay put, the cards row scrolls (down and sideways) so the
   cards' "Get started" can stick to its bottom. Phones keep the dialog scrolling, with .pkc-foot pinned. */
@media (min-width: 641px) and (min-height: 560px) {
    .pk-dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
    .pk-dialog-head, .pk-finder, .pk-tabs { flex: none; }
    .pk-panel:not([hidden]) { display: flex; flex-direction: column; flex: 0 1 auto; min-height: 0; }
    /* reveal() scrolls a card into view: keep the "Suggested" badge above it in sight */
    .pk-row { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scroll-padding-top: 30px; }
}
/* Wide but short (landscape phone, zoomed in): fixed head, finder and tabs would leave the cards almost no
   room, so the whole dialog scrolls and the phones' side-by-side table, with its pinned footer, replaces the cards */
@media (min-width: 641px) and (max-height: 559.98px) {
    .pk-dialog { padding-bottom: 0; }
    .pk-row, .pk-arrow { display: none !important; }
    .pkc { display: block; padding: 4px 28px 0; }
    .pkc-foot { padding-bottom: 14px; }
}
.pk-services li { display: flex; align-items: flex-start; gap: 10px; color: var(--sa-text); }
.pk-services wa-icon { flex: none; margin-top: 3px; font-size: 14px; color: var(--sa-green-strong); }
.pk-services li.off { color: var(--sa-faint); }
.pk-services li.off wa-icon { color: var(--sa-danger); }
.pk-arrow {
    position: absolute; top: 50%; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; transform: translateY(-50%);
    border: 1px solid var(--sa-line); border-radius: 50%; background: var(--sa-surface); color: var(--sa-ink); font-size: 16px; cursor: pointer;
    box-shadow: 0 8px 20px -8px rgba(23, 32, 26, .35);
}
.pk-arrow.prev { left: 8px; }
.pk-arrow.next { right: 8px; }
.pk-arrow:hover { border-color: var(--sa-green-strong); color: var(--sa-green-strong); }
.pk-arrow:focus-visible { outline: 2px solid var(--sa-green); outline-offset: 2px; }

/* Searchable dropdown (auth.js combo()) over a hidden native <select> */
.combo { position: relative; }
.combo-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.combo-btn {
    display: flex; align-items: center; gap: 8px; text-align: left; cursor: pointer; padding-right: 40px;
    background-image: var(--sa-chevron); background-repeat: no-repeat; background-position: right 14px center;
}
.combo-btn:focus-visible, .combo.open .combo-btn { border-color: var(--sa-green-strong); box-shadow: var(--sa-ring); }
.combo-btn:disabled { background-color: var(--sa-paper); color: var(--sa-faint); cursor: default; }
.combo-btn.is-empty .combo-val { color: var(--sa-placeholder); }
.combo-val { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nf.is-invalid .combo-btn { border-color: var(--sa-danger); }
.combo-pop {
    position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; min-width: 100%; width: max(100%, 280px);
    padding: 8px; border: 1px solid var(--sa-line); border-radius: 12px; background: var(--sa-surface);
    box-shadow: 0 16px 40px -16px rgba(28, 52, 64, .35);
}
.combo-search {
    width: 100%; height: 40px; margin: 0 0 6px; padding: 0 12px 0 36px; border: 1px solid var(--sa-field); border-radius: 8px;
    font: 400 15px/1 var(--sa-sans); color: var(--sa-text); background: var(--sa-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A959A' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 12px center;
    outline: none; -webkit-appearance: none; appearance: none;
}
.combo-search:focus { border-color: var(--sa-green-strong); }
.combo-list { max-height: 264px; overflow-y: auto; margin: 0; padding: 0; list-style: none; overscroll-behavior: contain; }
.combo-list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 14.5px; color: var(--sa-text); cursor: pointer; }
.combo-list li.active { background: var(--sa-paper); }
.combo-list li.selected { font-weight: 600; color: var(--sa-green-deep); }
.combo-list li.selected::after { content: "✓"; margin-left: auto; color: var(--sa-green-strong); }
.combo-list li > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.combo-list li .iti__flag, .combo-val .iti__flag { flex: none; }
.combo-list li b { display: none; }
.combo-empty { margin: 6px 4px; font-size: 13.5px; color: var(--sa-muted); }

/* Contact phone: country-code dropdown + number */
.phone-row { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 8px; }
.phone-row .combo-val b { font-weight: 500; }
.phone-row .combo-pop { width: 300px; }
.phone-row .iti__flag-container { display: none; }
.phone-row .iti .nf-i { padding-left: 14px; }

/* Check-your-inbox */
.mailbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mailbtns .sa-btn { font-weight: 500; }
wa-callout { font-size: 14px; }

/* Notification partials rendered inside the auth layout */
.sa-note { display: flex; flex-direction: column; gap: 10px; }
.sa-note h3 { margin: 0; font: 650 17px/1.3 var(--sa-sans); color: var(--sa-ink); }
.sa-note p { margin: 0; }

/* With the staff.am header/footer around the page */
/* The closed mobile drawer waits off screen to the right of the header; clip it there so phones
   don't scroll sideways (clip, unlike hidden, leaves the drawer free to hang below the header). */
.has-site-chrome .site-header { overflow-x: clip; }
.has-site-chrome .auth { min-height: calc(100vh - 120px); }
.has-site-chrome .auth-main { padding-top: 8px; padding-bottom: 32px; }
.has-site-chrome .proof-top img { display: none; }
.has-site-chrome .proof-top { justify-content: flex-start; margin-bottom: -16px; }
@media (min-width: 1024px) {
    .has-site-chrome .split .proof { position: relative; height: auto; }
    /* The panel runs taller than the form: keep the form up top, beside the recording. */
    .has-site-chrome .split .auth-center { justify-content: flex-start; padding-top: 64px; }
}

/* ───────────── Registration landing (registration/_landing.php) ─────────────
 * Same language as the AI Search promo beside the form: Manrope headings, the staff.am green,
 * light glass cards on a faint grid, and two dark bands (numbers, closing call) with a green glow.
 */
#registration_form626 { scroll-margin-top: 24px; }
.has-site-chrome #registration_form626 { scroll-margin-top: calc(var(--site-chrome, 80px) + 16px); }
.land {
    --lx-head: "Manrope", "Noto Sans Armenian", var(--sa-sans);
    --lx-dark: #0B1712;
    --lx-dark-2: #12231B;
    --lx-glow: rgba(79, 178, 51, .28);
    --lx-card: rgba(255, 255, 255, .78);
    --lx-card-line: rgba(23, 32, 26, .08);
    --lx-mock: #F4F7F1;
    --lx-shadow: 0 1px 2px rgba(23, 32, 26, .04), 0 24px 48px -28px rgba(23, 32, 26, .28);
    overflow: clip;
}
html[data-theme="dark"] .land {
    --lx-card: rgba(28, 28, 29, .82);
    --lx-card-line: rgba(255, 255, 255, .08);
    --lx-mock: #242424;
    --lx-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 48px -28px rgba(0, 0, 0, .7);
}
.land-wrap { position: relative; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 600px) { .land-wrap { padding: 0 40px; } }
.land p { margin: 0; }
.land h3 { margin: 0; font: 700 18px/1.3 var(--lx-head); letter-spacing: -.01em; color: var(--sa-ink); }
.land-note { margin: 18px 0 0; font-size: 13px; color: var(--sa-faint); }

/* Faint grid with a green glow, behind the light sections */
.lx-body { position: relative; background: var(--sa-paper); }
.lx-body::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(var(--sa-line) 1px, transparent 1px), linear-gradient(90deg, var(--sa-line) 1px, transparent 1px);
    background-size: 56px 56px; opacity: .45;
    -webkit-mask-image: radial-gradient(ellipse 70% 40% at 50% 0%, #000, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 40% at 50% 0%, #000, transparent 75%);
}
.lx-body::after { content: ""; position: absolute; top: -200px; left: 50%; width: 900px; height: 500px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--lx-glow), transparent); opacity: .5; pointer-events: none; }
.lx-sec { position: relative; z-index: 1; padding: 72px 0; }
@media (min-width: 900px) { .lx-sec { padding: 104px 0; } }
.lx-sec + .lx-sec { padding-top: 0; }

.lx-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.lx-h { margin: 0; font: 800 34px/1.08 var(--lx-head); letter-spacing: -.035em; color: var(--sa-ink); text-wrap: balance; }
@media (min-width: 900px) { .lx-h { font-size: 48px; } }
html[lang^="hy"] .lx-h { letter-spacing: -.01em; font-size: clamp(28px, 3.4vw, 40px); }
.lx-lede { margin-top: 14px !important; font-size: 17px; color: var(--sa-muted); }
/* "Register your company" closing a section, back up to the form */
.lx-sec-cta { display: flex; justify-content: center; margin-top: 40px; }

/* Reveal on scroll (auth.js adds .in); without JS everything is simply shown */
.js .land [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .land [data-reveal].in { opacity: 1; transform: none; }

/* Dark bands */
/* The closing band in the green of the "Our services" section */
.lx-cta { position: relative; background: radial-gradient(1000px 420px at 50% -10%, rgba(79, 178, 51, .26), transparent 70%), linear-gradient(160deg, #1D4236, #143127 60%, #10261F); color: #D3E2D9; overflow: hidden; }
.lx-cta .lx-grid-bg { opacity: .6; }
.lx-grid-bg {
    position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 80%);
    mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 80%);
}

/* "Trusted by": a slim strip closing the hero. Label on the left, every partner logo scrolling beside it in full
   colour (dark-mode logos in the dark theme, see .t-light / .t-dark), each centred in its slot. */
.lx-trusted { position: relative; z-index: 1; padding: 14px 0; background: var(--sa-bg); border-top: 1px solid var(--sa-line-2); border-bottom: 1px solid var(--sa-line-2); }
.lx-trusted-row { display: flex; align-items: center; gap: 28px; }
@media (max-width: 720px) { .lx-trusted-row { flex-direction: column; align-items: stretch; gap: 8px; } }
.lx-trusted-h { flex: none; margin: 0; font: 600 14px/1.3 var(--sa-sans); }
.lx-trusted-h a { display: inline-flex; align-items: center; gap: 6px; color: var(--sa-muted); text-decoration: none; white-space: nowrap; }
.lx-trusted-h em { font-style: normal; color: var(--sa-green-strong); }
.lx-trusted-h wa-icon { font-size: 12px; color: var(--sa-green-strong); transition: transform .2s; }
.lx-trusted-h a:hover { color: var(--sa-ink); }
.lx-trusted-h a:hover wa-icon { transform: translateX(3px); }
.lx-trusted-h a:focus-visible { outline: 2px solid var(--sa-green); outline-offset: 4px; border-radius: 6px; }
.lx-trusted .land-marquee { flex: 1; min-width: 0; }
.land-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.land-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.land-logos li { flex: none; }
.land-logos a, .land-logos span { width: 140px; height: 56px; display: flex; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid transparent; border-radius: 12px; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.land-logos img { display: block; max-width: 116px; max-height: 36px; width: auto; height: auto; margin: auto; object-fit: contain; }
.land-logos li:hover a, .land-logos li:hover span, .land-logos a:focus-visible { border-color: var(--sa-green-line); box-shadow: 0 8px 20px -12px rgba(23, 32, 26, .35); }
.land-logos a:focus-visible { outline: 2px solid var(--sa-green); outline-offset: 2px; }
/* auth.js duplicates the list and sets .scrolling when the logos are wider than the screen */
.land-marquee.scrolling .land-logos { flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; animation: land-marquee var(--marquee-time, 40s) linear infinite; }
/* Margins rather than gap, so half the doubled list is exactly one loop */
.land-marquee.scrolling .land-logos li { margin-right: 12px; }
.land-marquee.scrolling:hover .land-logos, .land-marquee.scrolling:focus-within .land-logos { animation-play-state: paused; }
@keyframes land-marquee { to { transform: translateX(-50%); } }

/* How it works: steps on a glowing rail, the recording in a browser frame */
.lx-how { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .lx-how.has-demo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.lx-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.lx-steps::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--sa-green), var(--sa-green-line) 70%, transparent); }
.lx-steps li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.lx-steps i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font: 800 17px/1 var(--lx-head); font-style: normal; background: var(--sa-surface); color: var(--sa-green-strong); border: 1px solid var(--sa-green-line); box-shadow: 0 0 0 6px var(--sa-paper), 0 8px 24px -8px var(--lx-glow); }
/* The step the job posting walkthrough is on (auth.js, from job-post-promo.js) */
.lx-steps i { transition: background .35s, color .35s, border-color .35s, box-shadow .35s, transform .35s; }
.lx-steps li.on i { background: var(--sa-green-strong); color: var(--sa-on-green); border-color: transparent; transform: scale(1.06); box-shadow: 0 0 0 6px var(--sa-paper), 0 0 0 9px var(--sa-green-line), 0 10px 26px -8px var(--lx-glow); }
.lx-steps p { margin-top: 6px; color: var(--sa-muted); }
.lx-browser { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: var(--sa-surface); border: 1px solid var(--lx-card-line); box-shadow: var(--lx-shadow), 0 40px 80px -40px var(--lx-glow); }
.lx-browser-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--lx-card-line); background: var(--lx-mock); }
.lx-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--sa-line); }
.lx-browser-bar span { margin: 0 auto; padding: 3px 40px; border-radius: 6px; background: var(--sa-surface); font-size: 12px; color: var(--sa-faint); }
.lx-browser img { display: block; width: 100%; height: auto; }
/* Job posting walkthrough (job-post-promo.js): a 4:3 stage, light inside, around it the page's tone */
.lx-jobpromo { --jp-bg: #F2F5EF; position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; border: 1px solid var(--lx-card-line); box-shadow: var(--lx-shadow), 0 40px 80px -40px var(--lx-glow); }
html[data-theme="dark"] .lx-jobpromo { --jp-bg: #0F1311; }

/* Our services: like the "Premium benefits" block on the staff.am homepage. A dark green band, the
   services as tabs in a glass panel on the left, the chosen one in a white card on the right with a small
   illustration of it (decorative). */
.lx-services { position: relative; z-index: 1; padding: 72px 0; color: #D3E2D9; background: radial-gradient(800px 400px at 85% 0%, rgba(79, 178, 51, .22), transparent 70%), linear-gradient(160deg, #1D4236, #143127 60%, #10261F); overflow: hidden; }
@media (min-width: 900px) { .lx-services { padding: 96px 0; } }
.lx-services .lx-grid-bg { opacity: .6; }
.lx-services .land-wrap { position: relative; }
.lx-services-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.lx-services .lx-lede { margin-left: auto; margin-right: auto; }
.lx-services .lx-h { color: #fff; }
.lx-services .lx-h em { font-style: normal; color: #5CD072; }
.lx-services .lx-lede { color: #C3D4CA; max-width: 640px; }

.lx-svc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: stretch; }
@media (min-width: 960px) { .lx-svc { grid-template-columns: minmax(0, 5fr) minmax(0, 9fr); gap: 24px; } }
.lx-svc-tabs { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; background: rgba(255, 255, 255, .05); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (max-width: 959px) { .lx-svc-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; } }
.lx-svc-tabs button {
    position: relative; flex: none; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 0; border-radius: 14px;
    background: transparent; font: 600 15.5px/1.3 var(--sa-sans); color: #D3E2D9; text-align: left; cursor: pointer; transition: background .2s, color .2s;
}
.lx-svc-tabs button i { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; font-size: 18px; font-style: normal; color: #E6EFE9; transition: border-color .2s, background .2s, color .2s; }
.lx-svc-tabs button:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.lx-svc-tabs button[aria-selected="true"] { background: rgba(255, 255, 255, .1); color: #fff; }
.lx-svc-tabs button[aria-selected="true"]::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: #5CD072; }
@media (max-width: 959px) { .lx-svc-tabs button[aria-selected="true"]::before { left: 12px; right: 12px; top: auto; bottom: -14px; width: auto; height: 3px; } }
.lx-svc-tabs button[aria-selected="true"] i { border-color: rgba(92, 208, 114, .6); background: rgba(79, 178, 51, .18); color: #9EE38F; }
.lx-svc-tabs button:focus-visible { outline: 2px solid #9EE38F; outline-offset: 2px; }
/* While the services rotate, a line under the active tab fills up until the next one */
.lx-svc-tabs button::after { content: ""; position: absolute; left: 72px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: #5CD072; transform: scaleX(0); transform-origin: left; opacity: 0; }
.lx-svc-tabs button.tick::after { opacity: .85; animation: lx-tick var(--svc-step, 4s) linear forwards; }
@keyframes lx-tick { to { transform: scaleX(1); } }
@media (max-width: 959px) { .lx-svc-tabs button::after { display: none; } }

.lx-svc-card { position: relative; padding: 32px; border-radius: 22px; background: var(--sa-surface); color: var(--sa-text); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55); }
.lx-svc-card h3 { font: 700 24px/1.25 var(--sa-sans); letter-spacing: -.01em; color: var(--sa-ink); }
.lx-svc-panel > div > p { margin-top: 10px !important; max-width: 620px; font-size: 15px; color: var(--sa-muted); }
.lx-svc-card ul.lx-svc-points { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14.5px; }
.lx-svc-points li { position: relative; padding-left: 26px; }
.lx-svc-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--sa-green-tint); color: var(--sa-green-strong); font-size: 11px; font-weight: 800; }
.lx-svc-card { display: grid; }
/* Every panel sits in the same cell, so the card is as tall as the longest service and never jumps */
.lx-svc-panel { grid-area: 1 / 1; min-width: 0; }
.lx-svc-card > .lx-svc-panel[hidden] { display: block !important; visibility: hidden; animation: none; }
.js .lx-svc-panel { animation: lx-svc-in .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes lx-svc-in { from { opacity: 0; transform: translateY(8px); } }

/* Illustrations inside the card. Each plays when its service comes in (.play, set by auth.js):
   rows and chips pop in one after another, the search types itself, the hot job glows, messages arrive. */
.lx-mock.play .lx-chips span, .lx-mock.play .lx-row, .lx-mock.play .lx-post, .lx-mock.play .lx-story, .lx-mock.play .lx-thread p { animation: lx-pop .5s cubic-bezier(.2, .8, .3, 1.2) both; }
.lx-mock.play :is(.lx-chips span, .lx-row, .lx-post, .lx-story):nth-child(1) { animation-delay: .1s; }
.lx-mock.play :is(.lx-chips span, .lx-row, .lx-post, .lx-story):nth-child(2) { animation-delay: .22s; }
.lx-mock.play :is(.lx-chips span, .lx-row, .lx-post, .lx-story):nth-child(3) { animation-delay: .34s; }
.lx-mock.play :is(.lx-chips span, .lx-row, .lx-post, .lx-story):nth-child(4) { animation-delay: .46s; }
.lx-mock.play :is(.lx-chips span, .lx-row, .lx-post, .lx-story):nth-child(5) { animation-delay: .58s; }
.lx-mock.play .lx-chips ~ .lx-row:nth-of-type(2) { animation-delay: .5s; }
.lx-mock.play .lx-chips ~ .lx-row:nth-of-type(3) { animation-delay: .65s; }
.lx-mock.play .lx-chips ~ .lx-row:nth-of-type(4) { animation-delay: .8s; }
.lx-mock.play .lx-row .lx-pill { animation: lx-pop .4s cubic-bezier(.2, .8, .3, 1.6) both; animation-delay: inherit; }
@keyframes lx-pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
/* Search typed out, with a caret */
.lx-type { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; }
.lx-mock.play .lx-type { animation: lx-type 1.4s steps(36) .15s both; }
.lx-type::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--sa-green); animation: lx-caret 1s steps(1) infinite; }
@keyframes lx-type { from { max-width: 0; } to { max-width: 40ch; } }
@keyframes lx-caret { 50% { opacity: 0; } }
.lx-mock.play .lx-search ~ .lx-chips span { animation-delay: 1.5s; }
.lx-mock.play .lx-search ~ .lx-chips span:nth-child(2) { animation-delay: 1.6s; }
.lx-mock.play .lx-search ~ .lx-chips span:nth-child(3) { animation-delay: 1.7s; }
.lx-mock.play .lx-search ~ .lx-chips span:nth-child(4) { animation-delay: 1.8s; }
.lx-mock.play .lx-search ~ .lx-chips ~ .lx-row { animation-delay: 1.95s; }
.lx-mock.play .lx-search ~ .lx-chips ~ .lx-row ~ .lx-row { animation-delay: 2.1s; }
/* The hot job rises to the top and keeps glowing */
.lx-mock.play .lx-row.hot { animation: lx-rise .7s cubic-bezier(.2, .8, .3, 1.1) .2s both, lx-glow 1.6s ease-in-out .9s infinite; }
@keyframes lx-rise { from { opacity: 0; transform: translateY(120px); } }
@keyframes lx-glow { 50% { box-shadow: 0 0 0 5px rgba(245, 158, 11, .18), 0 10px 24px -12px rgba(245, 158, 11, .8); } }
/* Stories: the play buttons breathe */
.lx-mock.play .lx-story .lx-play { animation: lx-breathe 1.8s ease-in-out .8s infinite; }
@keyframes lx-breathe { 50% { transform: translate(-50%, -60%) scale(1.12); } }
/* Mailbox: the conversation arrives message by message */
.lx-mock.play .lx-thread p:nth-child(1) { animation-delay: .5s; }
.lx-mock.play .lx-thread p:nth-child(2) { animation-delay: 1.3s; }
.lx-mock.play .lx-thread p:nth-child(3) { animation-delay: 2.1s; }
@media (prefers-reduced-motion: reduce) {
    .lx-mock.play *, .lx-mock.play .lx-type, .lx-type::after { animation: none !important; }
}

.lx-mock { position: relative; margin-top: 22px; padding: 16px; border-radius: 16px; background: var(--lx-mock); border: 1px solid var(--lx-card-line); font-size: 13px; color: var(--sa-text); }
.lx-mock b { font-weight: 700; color: var(--sa-ink); }
.lx-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--sa-surface); border: 1px solid var(--lx-card-line); }
.lx-row + .lx-row { margin-top: 8px; }
.lx-row > i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 800 12px/1 var(--sa-sans); font-style: normal; background: var(--sa-green-tint); color: var(--sa-green-deep); }
.lx-row > span { min-width: 0; display: flex; flex-direction: column; color: var(--sa-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-pill { padding: 5px 10px; border-radius: 100px; font: 700 11.5px/1 var(--sa-sans); background: var(--sa-green-tint); color: var(--sa-green-deep); white-space: nowrap; }
.lx-pill.hot { background: #FEF3C7; color: #92400E; }
.lx-pill.out { background: transparent; border: 1px solid var(--sa-green-line); }
.lx-row.dim { opacity: .55; }
.lx-row.hot { border-color: #F59E0B; box-shadow: 0 10px 20px -14px rgba(245, 158, 11, .7); }
.lx-row.hot > i { background: #FEF3C7; color: #B45309; }
.lx-search { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--sa-green); background: var(--sa-surface); font-weight: 600; color: var(--sa-ink); }
.lx-search wa-icon { color: var(--sa-green-strong); }
.lx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.lx-chips span { padding: 5px 10px; border-radius: 100px; background: var(--sa-surface); border: 1px solid var(--lx-card-line); font-weight: 600; font-size: 12px; }
.lx-chips span.on { background: var(--sa-green-tint); border-color: var(--sa-green-line); color: var(--sa-green-deep); }
/* Applicant pipeline */
.lx-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lx-board > div { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 12px; background: var(--sa-surface); border: 1px solid var(--lx-card-line); min-width: 0; }
.lx-board h4 { margin: 0 0 2px; display: flex; justify-content: space-between; font: 700 11.5px/1.2 var(--sa-sans); letter-spacing: .04em; text-transform: uppercase; color: var(--sa-muted); }
.lx-board h4 b { color: var(--sa-green-strong); }
.lx-board span { display: block; padding: 7px 8px; border-radius: 8px; background: var(--lx-mock); font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Social ad */
.lx-ad { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 640px) { .lx-ad { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.lx-post { border-radius: 14px; overflow: hidden; background: var(--sa-surface); border: 1px solid var(--lx-card-line); }
.lx-post header { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.lx-post header img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.lx-post header span { display: flex; flex-direction: column; font-size: 12px; color: var(--sa-muted); }
.lx-post .lx-post-img { height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 14px; text-align: center; background: linear-gradient(135deg, #2F8A1C, #7ACB5A); color: #fff; font: 800 20px/1.2 var(--sa-sans); }
.lx-post .lx-post-img span { font-size: 13px; font-weight: 600; letter-spacing: .02em; opacity: .9; }
.lx-post footer { display: flex; justify-content: space-between; padding: 9px 12px; font-size: 12px; color: var(--sa-muted); }
.lx-post.ig .lx-post-img { background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF); }
.lx-brand { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; color: #fff; font-size: 12px; background: #1877F2; }
.lx-post.ig .lx-brand { background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF); }
/* Stories */
.lx-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lx-story { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; color: #fff; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .65)), linear-gradient(135deg, #1D4236, #4FB233); }
.lx-story:nth-child(2) { background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .65)), linear-gradient(135deg, #34495E, #7FB3D5); }
.lx-story:nth-child(3) { background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .65)), linear-gradient(135deg, #7D3C98, #F1948A); }
.lx-story b { color: #fff; font-size: 13px; }
.lx-story small { font-size: 11px; opacity: .85; }
.lx-story .lx-play { position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; transform: translate(-50%, -60%); display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #1D4236; font-size: 14px; }
/* Company career page */
.lx-page { border-radius: 14px; overflow: hidden; background: var(--sa-surface); border: 1px solid var(--lx-card-line); }
.lx-page-cover { height: 96px; display: flex; align-items: center; justify-content: center; gap: 8px; background: #F0F0EE; font: 900 26px/1 "Manrope", var(--sa-sans); letter-spacing: -.02em; text-transform: uppercase; color: #111; }
.lx-page-cover span:nth-child(2) { padding: 0 4px; background: #E4F87A; }
.lx-page-cover b { padding: 2px 6px; background: #4FB233; color: #fff; }
.lx-page-cover em { padding: 0 4px; border: 2px solid #111; font-style: normal; color: #9B30FF; }
.lx-page-body { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: end; gap: 14px; padding: 0 14px 14px; }
.lx-page-body > img { width: 64px; height: 64px; margin-top: -26px; border-radius: 10px; border: 3px solid var(--sa-surface); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .35); }
.lx-page-body > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-top: 10px; color: var(--sa-muted); }
.lx-page-body > div > b { display: flex; align-items: center; gap: 6px; font-size: 16px; }
.lx-page-body > div > b wa-icon { color: var(--sa-green-strong); font-size: 14px; }
.lx-page-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; font-size: 12px; }
.lx-page-stats span { display: inline-flex; align-items: center; gap: 5px; }
.lx-page-stats .on { color: var(--sa-green-deep); font-weight: 600; }
.lx-page-body .lx-pill { display: inline-flex; align-items: center; gap: 5px; }
.lx-mock.play .lx-page { animation: lx-pop .5s cubic-bezier(.2, .8, .3, 1.2) .1s both; }
.lx-mock.play .lx-page-cover > * { animation: lx-pop .45s cubic-bezier(.2, .8, .3, 1.6) both; }
.lx-mock.play .lx-page-cover > :nth-child(1) { animation-delay: .3s; }
.lx-mock.play .lx-page-cover > :nth-child(2) { animation-delay: .42s; }
.lx-mock.play .lx-page-cover > :nth-child(3) { animation-delay: .54s; }
.lx-mock.play .lx-page-cover > :nth-child(4) { animation-delay: .66s; }
.lx-mock.play .lx-page-stats span { animation: lx-pop .4s both .9s; }
/* Mailbox */
.lx-mail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 640px) { .lx-mail { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.lx-mail-list .lx-row { grid-template-columns: 32px minmax(0, 1fr) auto; padding: 8px 10px; }
.lx-mail-list .lx-row > i { width: 32px; height: 32px; }
.lx-mail-list .lx-row.unread span b::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--sa-green-strong); vertical-align: middle; }
.lx-thread { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: var(--sa-surface); border: 1px solid var(--lx-card-line); }
.lx-thread p { max-width: 85%; padding: 8px 11px; border-radius: 12px 12px 12px 4px; background: var(--lx-mock); font-size: 12.5px; }
.lx-thread p.me { align-self: flex-end; border-radius: 12px 12px 4px 12px; background: var(--sa-green-strong); color: var(--sa-on-green); }

/* Included / not included in _package_compare.php */
.lx-pt-yes { font-size: 18px; color: var(--sa-green-strong); }
.lx-pt-no { font-size: 16px; color: var(--sa-faint); }
/* (i) next to a service: what it is, on hover or keyboard focus */
.lx-tip { position: relative; display: inline-grid; place-items: center; margin-left: 4px; vertical-align: -2px; color: var(--sa-faint); cursor: help; font-size: 14px; }
.lx-tip:hover, .lx-tip:focus-visible { color: var(--sa-green-strong); outline: none; }
.lx-tip-text {
    position: absolute; left: -10px; bottom: calc(100% + 8px); z-index: 5; width: 260px; padding: 10px 12px; transform: translateY(4px);
    border-radius: 10px; background: var(--sa-ink); color: var(--sa-bg); font-size: 13px; font-weight: 400; line-height: 1.45; text-align: left; white-space: pre-line;
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s, transform .15s, visibility .15s;
}
.lx-tip:hover .lx-tip-text, .lx-tip:focus-visible .lx-tip-text { opacity: 1; visibility: visible; transform: none; }

/* Social proof: the platform's numbers */
.lx-proof { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
/* One column per figure, however many the site has */
@media (min-width: 760px) { .lx-proof { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }
.lx-proof-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 28px; border-radius: 22px; background: var(--lx-card); border: 1px solid var(--lx-card-line); box-shadow: var(--lx-shadow); overflow: hidden; }
.lx-proof-card::after { content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, var(--lx-glow), transparent); pointer-events: none; }
.lx-proof-card b { margin-top: 10px; font: 800 clamp(36px, 4.2vw, 52px)/1 var(--lx-head); letter-spacing: -.04em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--sa-ink) 35%, var(--sa-green-strong)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lx-proof-card > span:last-child { font-size: 15px; color: var(--sa-muted); }
.lx-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; font-size: 22px; color: var(--sa-on-green); background: linear-gradient(135deg, var(--sa-green-strong), #7ACB5A); box-shadow: 0 12px 24px -10px var(--lx-glow); }

/* Testimonials */
.land-quotes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 900px) { .land-quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.land-quotes figure { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 26px; background: var(--lx-card); border: 1px solid var(--lx-card-line); border-radius: 22px; box-shadow: var(--lx-shadow); }
.land-quotes blockquote { margin: 0; font: 400 22px/1.35 var(--sa-serif); color: var(--sa-ink); }
.land-quotes figcaption { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--sa-muted); }
.land-quotes figcaption img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--sa-line-2); }
.land-quotes figcaption b { display: block; color: var(--sa-ink); font-weight: 600; }

/* FAQ */
.lx-faq-wrap { display: grid; gap: 40px; }
@media (min-width: 960px) { .lx-faq-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } .lx-faq-side { position: sticky; top: calc(var(--site-chrome, 80px) + 30px); transition: top .25s ease; } }
.lx-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 0; padding: 24px; border-radius: 20px; background: var(--lx-card); border: 1px solid var(--lx-card-line); box-shadow: var(--lx-shadow); }
.lx-contact p { color: var(--sa-muted); margin-bottom: 8px !important; }
.lx-contact a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--sa-paper); color: var(--sa-ink); font-weight: 600; text-decoration: none; transition: background .2s; }
.lx-contact a:hover { background: var(--sa-green-tint); color: var(--sa-green-deep); }
.lx-contact wa-icon { color: var(--sa-green-strong); }
.land-faq { display: grid; gap: 10px; }
.land-faq details { border-radius: 16px; background: var(--lx-card); border: 1px solid var(--lx-card-line); transition: border-color .2s, box-shadow .2s; }
.land-faq details[open] { border-color: var(--sa-green-line); box-shadow: var(--lx-shadow); }
.land-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font: 700 16px/1.4 var(--lx-head); color: var(--sa-ink); }
.land-faq summary::-webkit-details-marker { display: none; }
.land-faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--sa-paper); color: var(--sa-green-strong); font-size: 20px; font-weight: 500; transition: transform .25s, background .25s; }
.land-faq details[open] summary::after { transform: rotate(45deg); background: var(--sa-green-tint); }
.land-faq summary:focus-visible { outline: 2px solid var(--sa-green); outline-offset: 2px; border-radius: 16px; }
.land-faq p { padding: 0 64px 20px 20px; color: var(--sa-muted); }

/* Closing call to action: centred on the dark band, two product cards drifting at the sides */
.lx-cta { position: relative; padding: 96px 0; text-align: center; }
.lx-cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; max-width: 760px; }
.lx-cta h2 { margin: 0 0 14px; font: 800 44px/1.05 var(--lx-head); letter-spacing: -.04em; color: #fff; }
@media (min-width: 900px) { .lx-cta h2 { font-size: 68px; } }
/* Armenian runs longer: a smaller title so it keeps to the column */
html[lang^="hy"] .lx-cta h2 { font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -.01em; }
.lx-cta p { max-width: 560px; margin: 0 0 30px !important; font-size: 18px; color: #C3D4CA; }
.lx-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.lx-cta .sa-btn-primary { background: #4FB233; color: #fff !important; box-shadow: 0 0 0 6px rgba(79, 178, 51, .18), 0 18px 40px -12px rgba(79, 178, 51, .7); }
.lx-cta .sa-btn-primary:hover { background: #5BBF4F; }
.lx-cta-call { border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff !important; font-weight: 600; }
.lx-cta-call:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }
.lx-cta-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 34px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: #C3D4CA; }
.lx-cta-points li { display: inline-flex; align-items: center; gap: 8px; }
.lx-cta-points wa-icon { color: #5CD072; }
/* Product cards at the sides (wide screens only) */
.lx-cta-float {
    position: absolute; z-index: 0; display: none; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px;
    background: rgba(255, 255, 255, .96); color: #1D2A31; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); text-align: left; font-size: 13px;
    animation: lx-float 6s ease-in-out infinite;
}
/* Only where they fit beside the 760px text column without touching it */
@media (min-width: 1400px) { .lx-cta-float { display: flex; } }
.lx-cta-float.a { right: calc(50% + 404px); top: 130px; transform: rotate(-4deg); }
.lx-cta-float.b { left: calc(50% + 404px); top: 250px; transform: rotate(3deg); animation-delay: -3s; }
.lx-cta-float i { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #4FB233; color: #fff; font: 800 13px/1 var(--sa-sans); font-style: normal; }
.lx-cta-float.b i { background: #E8F4E1; color: #2F8A1C; }
.lx-cta-float span { display: flex; flex-direction: column; color: #5B686F; }
.lx-cta-float b { color: #1C3440; font-size: 14px; }
.lx-cta-float em { font: 800 14px/1 var(--sa-sans); font-style: normal; color: #2F8A1C; background: #E8F4E1; padding: 6px 8px; border-radius: 8px; }
@keyframes lx-float { 50% { translate: 0 -10px; } }
/* The staff.am ecosystem: cards in the green of "Our services" (the logos are white), linking out */
.lx-eco-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 760px) { .lx-eco-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lx-eco-card {
    position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 22px; text-decoration: none; overflow: hidden;
    background: radial-gradient(360px 180px at 100% 0%, rgba(79, 178, 51, .24), transparent 70%), linear-gradient(160deg, #1D4236, #143127 60%, #10261F);
    border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--lx-shadow);
    transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, border-color .25s, opacity .7s cubic-bezier(.2, .7, .2, 1);
}
.js .land .lx-eco-card[data-reveal].in:hover, .lx-eco-card:hover { transform: translateY(-4px); border-color: rgba(92, 208, 114, .6); box-shadow: var(--lx-shadow), 0 30px 60px -30px var(--lx-glow); }
.lx-eco-card:focus-visible { outline: 2px solid var(--sa-green-strong); outline-offset: 3px; }
.lx-eco-logo { height: 48px; display: flex; align-items: center; }
.lx-eco-logo img { max-height: 42px; max-width: 200px; width: auto; height: auto; object-fit: contain; }
.lx-eco-text { font-size: 15px; line-height: 1.5; color: #C3D4CA; }
.lx-eco-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 13.5px; font-weight: 700; color: #5CD072; }
.lx-eco-go wa-icon { font-size: 11px; transition: transform .2s; }
.lx-eco-card:hover .lx-eco-go wa-icon { transform: translate(2px, -2px); }

/* Back-to-form bar */
.land-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--sa-bg) 92%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--sa-line); }
@media (min-width: 720px) { .land-sticky { left: auto; right: 24px; bottom: 24px; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; } .land-sticky .sa-btn { box-shadow: 0 12px 32px -12px rgba(28, 52, 64, .55); } }

/* ───────────── Landing on phones ───────────── */
@media (max-width: 640px) {
    .lx-sec { padding: 56px 0; }
    .lx-h { font-size: 30px; }
    .lx-tip-text { width: min(220px, calc(100vw - 80px)); }
    /* Numbers: compact rows, icon beside the figure */
    .lx-proof-card { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 18px 20px; }
    .lx-proof-card .lx-icon { grid-row: span 2; }
    .lx-proof-card b { margin-top: 0; font-size: 32px; }
    /* Services: the tabs become one row of icons; the card's title names the service */
    .lx-svc-tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; padding: 8px; overflow: visible; border-radius: 18px; }
    .lx-svc-tabs button { justify-content: center; padding: 8px 0; }
    .lx-svc-tabs button i { width: 40px; height: 40px; font-size: 17px; }
    .lx-svc-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .lx-svc-tabs button[aria-selected="true"] { background: rgba(255, 255, 255, .12); }
    .lx-svc-tabs button[aria-selected="true"]::before { left: 10px; right: 10px; bottom: -6px; top: auto; width: auto; height: 3px; border-radius: 3px; }
    /* Service illustrations: badges go under the name instead of squeezing it */
    .lx-svc-card { padding: 22px 18px; }
    .lx-mock { padding: 12px; }
    .lx-row { grid-template-columns: 36px minmax(0, 1fr); }
    .lx-row > em { grid-column: 2; justify-self: start; }
    .lx-row > em:empty { display: none; }
    .lx-page-body { grid-template-columns: 56px minmax(0, 1fr); }
    .lx-page-body > img { width: 56px; height: 56px; }
    .lx-page-body > .lx-pill { grid-column: 2; justify-self: start; }
    .lx-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lx-ad { grid-template-columns: minmax(0, 1fr); }
    .lx-cta { padding: 72px 0; }
    /* Job packages dialog: tabs wrap, cards stack instead of sliding sideways */
    .pk-dialog-head { padding: 16px 56px 12px 18px; }
    .pk-finder { margin: 12px 18px 0; }
    .pk-tabs { flex-wrap: wrap; overflow: visible; gap: 6px; margin: 12px 18px 0; border-bottom: 0; }
    .pk-tabs button { padding: 8px 12px; border: 1px solid var(--sa-line); border-radius: 100px; font-size: 12px; }
    .pk-tabs button::after { display: none; }
    .pk-tabs button[aria-selected="true"] { border-color: var(--sa-green-strong); background: var(--sa-green-tint); }
    .pk-row, .pk-arrow { display: none !important; }
    .pkc { display: block; padding: 4px 14px 0; }
    /* Nothing under the pinned "Get started" row: the dialog's own bottom padding would show content scrolling past */
    .pk-dialog { padding-bottom: 0; }
    .pkc-foot { padding-bottom: 14px; }
    /* Keep the footer clear of the floating "Register your company" bar */
    body.sa-auth:has(.land-sticky) .site-footer { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
    .sa-auth * { transition: none !important; }
    .land-marquee.scrolling .land-logos { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
    .land-logos .clone { display: none; }
    .land-marquee.scrolling .land-logos { gap: 12px; }
    .land-marquee.scrolling .land-logos li { margin-right: 0; }
    .js .land [data-reveal] { opacity: 1; transform: none; }
    .lx-cta-float, .js .lx-svc-panel { animation: none; }
}
