/* Log in + Register — split screen in the marketing site's language: a calm light form on the
   left, a dark product moment on the right. Selfie Menus (body.au-menus) swaps blue for green. */
:root {
    --au-bg: #f7f9fd;
    --au-paper: #ffffff;
    --au-ink: #17203a;
    --au-ink-deep: #101a38;
    --au-dim: #4a5676;
    --au-faint: #8a93ab;
    --au-line: #dfe4ee;
    --au-line-soft: #e9edf5;
    --au-brand: #2563eb;
    --au-brand-deep: #1d4ed8;
    --au-brand-soft: #eaf1ff;
    --au-brand-glow: rgba(37, 99, 235, .22);
    --au-island1: #16214a;
    --au-island2: #0e1536;
    --au-island-line: #26326a;
    --au-island-ink: #eef1fb;
    --au-island-dim: #9fb0dc;
    --au-island-accent: #9db6ff;
    --au-good: #16a34a;
    --au-good-ink: #136b43;
    --au-bad: #c0352b;
    --au-bad-bg: #fdf0ef;
}
body.au-menus {
    --au-brand: #0b8f63;
    --au-brand-deep: #086b4b;
    --au-brand-soft: #e2f6ec;
    --au-brand-glow: rgba(11, 143, 99, .22);
    --au-island1: #123f30;
    --au-island2: #0b2d22;
    --au-island-line: #1f5a45;
    --au-island-dim: #a6d3bf;
    --au-island-accent: #8ef0c6;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body.au { font-family: "Inter", "Segoe UI", system-ui, sans-serif; color: var(--au-ink); background: var(--au-bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
.au a { color: var(--au-brand); text-decoration: none; font-weight: 600; }
.au a:hover { color: var(--au-brand-deep); text-decoration: underline; }

.au-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }

/* ---------- left: the form ---------- */
.au-main { display: flex; flex-direction: column; min-height: 100vh; background: var(--au-paper); padding: 28px clamp(20px, 5vw, 64px); }
.au-top { display: flex; align-items: center; gap: 12px; }
.au-logo { display: inline-flex; align-items: center; gap: 10px; font-family: "Space Grotesk", "Inter", sans-serif; font-weight: 700; font-size: 1.18rem; letter-spacing: -.02em; color: var(--au-ink-deep) !important; text-decoration: none !important; }
.au-mark { width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(140deg, var(--au-brand), var(--au-brand-deep)); box-shadow: 0 6px 16px var(--au-brand-glow); }
.au-topright { margin-left: auto; font-size: .9rem; color: var(--au-dim); }
.au-form-wrap { width: 100%; max-width: 420px; margin: auto; padding: 40px 0 28px; }
.au-form-wrap.au-wide { max-width: 560px; }
.au-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--au-faint); }
.au-foot a { color: var(--au-faint) !important; font-weight: 500; }

.au-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--au-brand-soft); color: var(--au-brand-deep); border-radius: 999px; padding: .32rem .85rem; font-size: .78rem; font-weight: 700; margin-bottom: 14px; }
.au-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--au-good); box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); }
.au-h1 { font-family: "Space Grotesk", "Inter", sans-serif; font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.25rem); line-height: 1.1; letter-spacing: -.03em; color: var(--au-ink-deep); margin: 0 0 8px; }
.au-sub { color: var(--au-dim); font-size: 1rem; margin: 0 0 26px; }

/* ---------- fields ---------- */
.au-field { margin-bottom: 16px; }
.au-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--au-ink); margin-bottom: 6px; }
.au-label .opt { font-weight: 500; color: var(--au-faint); }
.au-input, .au-select {
    width: 100%; height: 50px; border: 1.5px solid var(--au-line); border-radius: 12px; background: var(--au-paper);
    padding: 0 14px; font: inherit; font-size: 1rem; color: var(--au-ink); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.au-input::placeholder { color: #a9b1c6; }
.au-input:hover { border-color: #c9d0de; }
.au-input:focus, .au-select:focus { outline: none; border-color: var(--au-brand); box-shadow: 0 0 0 4px var(--au-brand-glow); }
.au-input.input-validation-error { border-color: var(--au-bad); background: var(--au-bad-bg); }
.au-input.input-validation-error:focus { box-shadow: 0 0 0 4px rgba(192, 53, 43, .16); }
.au-err { display: block; color: var(--au-bad); font-size: .82rem; font-weight: 600; margin-top: 5px; }
.au-err:empty, .au-err.field-validation-valid { display: none; }
.au-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

/* password: show/hide toggle + live rule checklist */
.au-pw { position: relative; }
.au-pw .au-input { padding-right: 52px; }
.au-pwbtn { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: transparent; color: var(--au-faint); border-radius: 9px; cursor: pointer; display: grid; place-items: center; }
.au-pwbtn:hover { color: var(--au-ink); background: #f1f3f8; }
.au-rules { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.au-rules li { font-size: .76rem; font-weight: 600; color: var(--au-faint); background: #f3f5f9; border-radius: 999px; padding: .2rem .62rem; transition: background .15s ease, color .15s ease; }
.au-rules li::before { content: "○ "; }
.au-rules li.ok { color: var(--au-good-ink); background: #e3f5eb; }
.au-rules li.ok::before { content: "✓ "; }
.au-match { font-size: .8rem; font-weight: 600; margin-top: 5px; min-height: 1.2em; }
.au-match.ok { color: var(--au-good-ink); }
.au-match.no { color: var(--au-bad); }

/* checkbox */
.au-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: .9rem; color: var(--au-dim); }
.au-check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid #c3cbdb; border-radius: 6px; background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.au-check input::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.au-check input:checked { background: var(--au-brand); border-color: var(--au-brand); }
.au-check input:checked::after { opacity: 1; }
.au-check input:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--au-brand-glow); }
.au-check.small { font-size: .78rem; line-height: 1.45; }

.au-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 22px; }
.au-between a { font-size: .9rem; }

/* buttons */
.au-btn { width: 100%; height: 52px; border: 0; border-radius: 13px; background: var(--au-brand); color: #fff; font: inherit; font-size: 1.04rem; font-weight: 700; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 12px 28px var(--au-brand-glow); transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.au-btn:hover { background: var(--au-brand-deep); transform: translateY(-1px); box-shadow: 0 16px 34px var(--au-brand-glow); }
.au-btn:active { transform: none; }
.au-btn[disabled] { opacity: .75; cursor: progress; transform: none; }
.au-spin { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: au-spin .7s linear infinite; display: none; }
.au-btn.busy .au-spin { display: inline-block; }
@keyframes au-spin { to { transform: rotate(360deg); } }

/* alerts */
.au-alert { border-radius: 12px; padding: 12px 14px; font-size: .9rem; font-weight: 600; margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; }
.au-alert-bad { background: var(--au-bad-bg); color: #8f2a22; border: 1px solid #f3c9c5; }
.au-alert-ok { background: #e7f6ee; color: var(--au-good-ink); border: 1px solid #b9e3cb; }
.au-alert ul { margin: 0; padding-left: 1.1rem; }
.validation-summary-valid { display: none; }
.au-alert.validation-summary-errors ul { list-style: none; padding: 0; }

/* "new here?" choices under log in */
.au-divider { display: flex; align-items: center; gap: 12px; color: var(--au-faint); font-size: .8rem; font-weight: 600; margin: 26px 0 14px; text-transform: uppercase; letter-spacing: .07em; }
.au-divider::before, .au-divider::after { content: ""; flex: 1; height: 1px; background: var(--au-line-soft); }
.au-choices { display: grid; gap: 10px; }
.au-choice { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--au-line); border-radius: 14px; padding: 12px 14px; color: var(--au-ink) !important; text-decoration: none !important; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.au-choice:hover { border-color: var(--au-brand); background: var(--au-brand-soft); transform: translateY(-1px); }
.au-choice .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--au-brand-soft); color: var(--au-brand-deep); display: grid; place-items: center; flex: none; font-size: 1.1rem; }
.au-choice b { display: block; font-size: .95rem; }
.au-choice span { display: block; font-size: .8rem; color: var(--au-dim); font-weight: 500; }
.au-choice .go { margin-left: auto; color: var(--au-faint); font-size: 1.1rem; }

/* register: sections + industry cards + consent */
.au-section { font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--au-faint); margin: 26px 0 12px; display: flex; align-items: center; gap: 10px; }
.au-section::after { content: ""; flex: 1; height: 1px; background: var(--au-line-soft); }
.au-section .n { width: 20px; height: 20px; border-radius: 50%; background: var(--au-brand); color: #fff; display: grid; place-items: center; font-size: .7rem; letter-spacing: 0; }
.au-inds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 4px; }
.au-ind { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; border: 1.5px solid var(--au-line); border-radius: 12px; padding: 10px 6px; cursor: pointer; min-height: 74px; transition: border-color .15s ease, background .15s ease; }
.au-ind:hover { border-color: #c3cbdb; }
.au-ind input { position: absolute; opacity: 0; pointer-events: none; }
.au-ind .em { font-size: 1.3rem; line-height: 1; }
.au-ind .nm { font-size: .74rem; font-weight: 600; color: var(--au-dim); line-height: 1.2; }
.au-ind:has(input:checked) { border-color: var(--au-brand); background: var(--au-brand-soft); box-shadow: 0 0 0 1px var(--au-brand); }
.au-ind:has(input:checked) .nm { color: var(--au-brand-deep); }
.au-ind:has(input:focus-visible) { box-shadow: 0 0 0 4px var(--au-brand-glow); }
.au-consent { background: #f7f9fc; border: 1px solid var(--au-line-soft); border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px; margin-top: 10px; }
.au-legal { color: var(--au-faint); font-size: .8rem; text-align: center; margin: 12px 0 0; }
.au-legal a { color: var(--au-dim) !important; }
.au-switch { text-align: center; font-size: .92rem; color: var(--au-dim); margin-top: 22px; }

/* ---------- right: the product moment ---------- */
.au-aside { position: sticky; top: 0; height: 100vh; align-self: start; overflow: hidden; color: var(--au-island-ink);
    background: radial-gradient(ellipse at 80% 0%, rgba(255, 255, 255, .08), transparent 55%), linear-gradient(155deg, var(--au-island1), var(--au-island2));
    display: flex; align-items: center; justify-content: center; padding: 48px clamp(28px, 4vw, 64px); }
.au-aside::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(150, 170, 230, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 170, 230, .07) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
body.au-menus .au-aside::before { background-image: linear-gradient(rgba(140, 220, 185, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 220, 185, .08) 1px, transparent 1px); }
.au-aside-inner { position: relative; width: 100%; max-width: 520px; }
.au-aside h2 { font-family: "Space Grotesk", "Inter", sans-serif; font-size: clamp(1.7rem, 2.6vw, 2.35rem); line-height: 1.1; letter-spacing: -.025em; color: #fff; margin: 0 0 12px; }
.au-aside h2 .pop { color: var(--au-island-accent); }
.au-aside p.lead { color: var(--au-island-dim); font-size: 1.02rem; margin: 0 0 26px; max-width: 30em; }
.au-ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.au-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: #dfe6fb; }
.au-ticks li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(110, 231, 168, .16); color: #6ee7a8; display: grid; place-items: center; font-size: .75rem; font-weight: 800; margin-top: 1px; }
.au-price { display: inline-flex; gap: 8px; align-items: baseline; background: rgba(255, 255, 255, .07); border: 1px solid var(--au-island-line); border-radius: 12px; padding: 8px 14px; font-size: .88rem; color: var(--au-island-dim); }
.au-price b { color: #fff; font-size: 1.05rem; }

/* mock product cards on the island */
.au-stage { position: relative; margin-top: 8px; padding-bottom: 36px; }
.au-stage:has(.au-cameo) { margin-top: 70px; } /* room for the mascot peeking over the card */
.au-mock { background: rgba(10, 15, 40, .55); border: 1px solid var(--au-island-line); border-radius: 18px; padding: 16px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); backdrop-filter: blur(4px); }
body.au-menus .au-mock { background: rgba(5, 25, 18, .5); }
.au-mock-head { display: flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.au-ok { margin-left: auto; font-family: "Inter", sans-serif; font-size: .7rem; font-weight: 700; color: #6ee7a8; background: rgba(16, 48, 31, .8); border: 1px solid #1f5c38; border-radius: 999px; padding: 3px 10px; }
.au-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.au-day { background: rgba(5, 9, 28, .6); border: 1px solid var(--au-island-line); border-radius: 11px; padding: 9px; }
.au-dow { font-size: .62rem; font-weight: 800; color: var(--au-island-dim); letter-spacing: .07em; margin-bottom: 6px; }
.au-sh { background: rgba(62, 108, 240, .22); border-left: 3px solid #5b8bff; border-radius: 7px; padding: 6px 7px; font-size: .68rem; font-weight: 600; margin-bottom: 5px; line-height: 1.35; }
.au-sh:last-child { margin-bottom: 0; }
.au-sh .who { color: #b9caff; }
.au-sh.cov { background: rgba(16, 48, 31, .85); border: 1px solid #1f5c38; color: #6ee7a8; }
.au-toast { position: absolute; right: -10px; bottom: 0; max-width: 300px; background: #fff; color: #141d3d; border-radius: 15px; padding: 12px 16px; box-shadow: 0 22px 56px rgba(0, 0, 0, .35); font-size: .82rem; font-weight: 600; animation: au-rise .6s ease .5s both; }
.au-toast .when { display: flex; align-items: center; gap: 7px; font-size: .62rem; font-weight: 800; color: #8a93ab; letter-spacing: .07em; margin-bottom: 3px; }
.au-toast .when i { width: 7px; height: 7px; border-radius: 50%; background: var(--au-good); display: inline-block; }
.au-cameo { position: absolute; left: -26px; top: -54px; width: 104px; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .35)); animation: au-bob 5.5s ease-in-out infinite; }
@keyframes au-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes au-bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-9px) rotate(-4deg); } }

/* the mini menu sheet (Selfie Menus) */
.au-sheet { background: #fffdf8; color: #2b2416; border-radius: 8px; padding: 20px 22px; max-width: 300px; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.au-sheet .t { text-align: center; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.05rem; }
.au-sheet .s { text-align: center; font-size: .56rem; letter-spacing: .22em; color: #1e6b4c; font-weight: 700; margin-bottom: 12px; }
.au-sheet .h { font-size: .66rem; font-weight: 800; letter-spacing: .1em; color: #1e6b4c; border-bottom: 1.5px solid #1e6b4c; padding-bottom: 3px; margin: 10px 0 6px; }
.au-sheet .r { display: flex; justify-content: space-between; font-size: .72rem; padding: 2px 0; }
.au-sheet .r.x { color: #9b8f76; }
.au-sheet .r.x b:first-child { text-decoration: line-through; }
.au-sheet .r em { font-style: normal; font-size: .52rem; font-weight: 800; color: #b3261e; }

/* ---------- multi-step flows (new employee, password reset) ---------- */
.au-steps { list-style: none; padding: 0; margin: 0 0 22px; display: flex; gap: 6px; counter-reset: au-step; }
.au-steps li { flex: 1; counter-increment: au-step; font-size: .72rem; font-weight: 700; color: var(--au-faint); padding-top: 9px; border-top: 3px solid var(--au-line-soft); line-height: 1.25; }
.au-steps li::before { content: counter(au-step) " · "; }
.au-steps li.done { color: var(--au-good-ink); border-top-color: var(--au-good); }
.au-steps li.done::before { content: "✓ "; }
.au-steps li.on { color: var(--au-brand-deep); border-top-color: var(--au-brand); }

/* the 6-digit code */
.au-code { height: 64px; max-width: 260px; text-align: center; font-family: "Space Grotesk", ui-monospace, monospace; font-size: 1.8rem; font-weight: 700; letter-spacing: .5em; padding-left: .5em; }
.au-code::placeholder { letter-spacing: .5em; color: #c9d0de; }

/* a status page's big icon (logged out, locked, no access, you're in) */
.au-hero-ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.9rem; background: var(--au-brand-soft); margin-bottom: 18px; }
.au-hero-ic.warn { background: #fdf3e2; }
.au-hero-ic.good { background: #e3f5eb; }

.au-btn-ghost { width: 100%; height: 50px; border: 1.5px solid var(--au-line); border-radius: 13px; background: var(--au-paper); color: var(--au-ink) !important; font: inherit; font-size: 1rem; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none !important; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.au-btn-ghost:hover { border-color: var(--au-brand); background: var(--au-brand-soft); }
a.au-btn { text-decoration: none !important; color: #fff !important; }
.au-stack { display: grid; gap: 10px; }
.au-note { font-size: .88rem; color: var(--au-dim); margin: 18px 0 0; }
.au-note.center { text-align: center; }

/* get the app */
.au-points { display: grid; gap: 10px; margin: 0 0 18px; }
.au-points div { display: flex; gap: 12px; align-items: center; font-size: .95rem; }
.au-points .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--au-brand-soft); display: grid; place-items: center; flex: none; }
.au-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.au-badge { display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; border-radius: 12px; background: #0b0b10; color: #fff !important; font-weight: 700; text-decoration: none !important; }
.au-badge:hover { background: #26262e; }
.au-badge small { display: block; font-size: .62rem; font-weight: 500; opacity: .8; line-height: 1; }
.au-badge span { line-height: 1.1; text-align: left; }
.au-search { background: #f7f9fc; border: 1px solid var(--au-line-soft); border-radius: 12px; padding: 12px 14px; font-size: .9rem; color: var(--au-dim); margin-bottom: 14px; }
.au-term { display: inline-block; background: #fff; border: 1px solid var(--au-line); border-radius: 8px; padding: 1px 9px; font-weight: 800; color: var(--au-ink); }

/* the crew-app phone on the island */
.au-phone { width: 250px; background: #070b20; border: 1px solid #2a3a73; border-radius: 32px; padding: 14px 13px 18px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.au-phone .notch { width: 70px; height: 5px; background: #232e5c; border-radius: 99px; margin: 0 auto 14px; }
.au-pcard { background: #121b40; border: 1px solid #232e5c; border-radius: 14px; padding: 12px; font-size: .74rem; margin-bottom: 9px; }
.au-pcard:last-child { margin-bottom: 0; }
.au-pcard .tag { display: block; font-size: .58rem; font-weight: 800; color: #7483ad; letter-spacing: .08em; margin-bottom: 5px; }
.au-pbtns { display: flex; gap: 6px; margin-top: 9px; }
.au-pbtns span { flex: 1; text-align: center; border-radius: 8px; padding: 6px 0; font-size: .68rem; font-weight: 700; }
.au-pbtns .yes { background: #3e6cf0; color: #fff; }
.au-pbtns .no { border: 1px solid #2a3a73; color: #aab4d8; }
.au-prow { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid #1a2348; font-weight: 600; }
.au-prow:last-child { border-bottom: 0; }
.au-prow b { color: #9db6ff; }

@media (prefers-reduced-motion: reduce) { .au-toast, .au-cameo { animation: none; } }
/* short laptop screens: the pinned panel keeps its words, drops the picture */
@media (max-height: 760px) and (min-width: 981px) { .au-aside .au-stage { display: none; } }

/* ---------- small screens: the form, alone ---------- */
@media (max-width: 980px) {
    .au-shell { grid-template-columns: 1fr; }
    .au-aside { display: none; }
    .au-main { padding: 20px 20px 24px; }
    .au-form-wrap { padding: 28px 0 22px; }
}
@media (max-width: 520px) {
    .au-row2 { grid-template-columns: 1fr; }
    .au-inds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .au-ind { flex-direction: row; justify-content: flex-start; min-height: 0; padding: 10px 12px; gap: 10px; text-align: left; }
    .au-input, .au-select { font-size: 16px; } /* no iOS zoom-on-focus */
}
