:root {
    --lv2-navy: #060c30;
    --lv2-navy-2: #0a1245;
    --lv2-blue: #2f5bff;
    --lv2-ink: #0a1240;
    --lv2-muted: #5b6482;
    --lv2-field: #f4f6fb;
    --lv2-line: #e4e8f1;
}

* { box-sizing: border-box; }

/* everything below is in em: the page scales with viewport width (16px at 1600px wide) */
.lv2-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--lv2-navy);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(11px, 1vw, 16px);
    position: relative;
    overflow-x: hidden;
}

.lv2-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.lv2-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.lv2-glow-1 { width: 36em; height: 30em; top: -12em; left: -4em; background: rgba(47, 91, 255, .38); animation: lv2-drift 14s ease-in-out infinite alternate; }
.lv2-glow-2 { width: 34em; height: 34em; right: -12em; bottom: 4em; background: rgba(50, 70, 255, .2); animation: lv2-drift 18s ease-in-out infinite alternate-reverse; }
@keyframes lv2-drift { to { transform: translate(4em, 2.5em) scale(1.12); } }

.lv2-brand { position: relative; z-index: 2; display: flex; align-items: center; gap: .2em; padding: 1.6em 5em; }
.lv2-logo-mark { height: 3.1em; width: auto; filter: brightness(0) invert(1); }
.lv2-logo-word { font-family: 'Gloock', serif; font-size: 2.4em; line-height: 1; margin-left: -.4em; color: #fff; letter-spacing: .01em; }

.lv2-main { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 29em; gap: 4em; align-items: center; padding: 1em 5em 3em; }

.lv2-hero { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 1em; min-height: 40em; }
.lv2-eyebrow { display: flex; align-items: center; gap: 1em; font-size: .8em; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 2.2em; }
.lv2-eyebrow::before { content: ''; width: 3em; height: 1px; background: rgba(255,255,255,.4); }
.lv2-title { position: relative; z-index: 2; margin: 0; font-size: 5.2em; line-height: 1.15; font-weight: 600; letter-spacing: -.025em; }
.lv2-title em { font-family: 'Instrument Serif', serif; font-weight: 400; font-style: italic; letter-spacing: -.01em; color: #a9b8ff; }

.lv2-word { display: inline-block; opacity: 0; transform: translateY(.3em); animation: lv2-rise .7s var(--d, 0s) cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes lv2-rise { to { opacity: 1; transform: none; } }

/* background curves + faded logo watermark */
.lv2-arc { position: absolute; border-radius: 50%; border: 1px solid rgba(120,150,255,.35); pointer-events: none; z-index: 1; }
.lv2-arc-top { width: 72em; height: 48em; top: -34em; right: -8em; background: linear-gradient(180deg, rgba(47,91,255,.05), rgba(60,100,255,.32)); }
.lv2-arc-bottom { width: 58em; height: 58em; bottom: -34em; left: -16em; background: linear-gradient(200deg, rgba(60,100,255,.38), rgba(47,91,255,.04)); }
.lv2-watermark { position: absolute; right: 2em; bottom: -1em; width: 22em; opacity: .09; filter: brightness(0) invert(1); pointer-events: none; z-index: 0; }

/* card */
.lv2-card-wrap { width: 100%; }
.lv2-card { background: #fff; color: var(--lv2-ink); border-radius: 2em; padding: 2.8em 2.8em 2.3em; box-shadow: 0 2em 5em rgba(0,0,0,.45); opacity: 0; transform: translateY(2.5em); animation: lv2-rise .9s .35s cubic-bezier(.2,.7,.2,1) forwards; }
.lv2-kicker { font-size: .75em; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--lv2-blue); }
.lv2-card-title { margin: .35em 0 .2em; font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 2.8em; line-height: 1.1; color: var(--lv2-ink); }
.lv2-card-title em { font-style: italic; }
.lv2-card-title.lv2-long { font-size: 2.3em; }
.lv2-sub { margin: 0 0 1.9em; font-size: .92em; color: var(--lv2-muted); }

.lv2-input { position: relative; margin-bottom: .8em; }
.lv2-input-last { margin-bottom: 1.6em; }
.lv2-input input { width: 100%; height: 3.75em; padding: 0 3em 0 1.25em; border: 1px solid var(--lv2-line); border-radius: 1.1em; background: var(--lv2-field); font: 500 1em 'Manrope', sans-serif; color: var(--lv2-ink); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.lv2-input input::placeholder { color: var(--lv2-muted); }
.lv2-input input:focus { background: #fff; border-color: var(--lv2-blue); box-shadow: 0 0 0 .3em rgba(47,91,255,.12); }
.lv2-input .field-icon { position: absolute; right: 1.2em; top: 50%; transform: translateY(-50%); color: var(--lv2-muted); cursor: pointer; font-size: 1.1em; }

.lv2-link { color: var(--lv2-blue); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s; }
.lv2-link:hover { background-size: 100% 1px; color: var(--lv2-blue); text-decoration: none; }
.lv2-forgot { display: block; width: fit-content; margin-left: auto; text-align: right; font-size: .85em; margin-top: .5em; margin-bottom: 1.5em; }

.lv2-btn { position: relative; overflow: hidden; width: 100%; height: 3.85em; border: 0; border-radius: 1.1em; background: var(--lv2-navy-2); color: #fff; font: 600 1.05em 'Manrope', sans-serif; cursor: pointer; box-shadow: 0 .6em 1.2em rgba(10,18,69,.3); transition: transform .2s, box-shadow .2s; }
.lv2-btn:hover { transform: translateY(-2px); box-shadow: 0 1.1em 2.1em rgba(10,18,69,.4); }
.lv2-btn::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-20deg); animation: lv2-sheen 4s ease-in-out infinite; }
@keyframes lv2-sheen { 0%, 60% { left: -60%; } 100% { left: 130%; } }

.lv2-signup { margin: 1.5em 0 0; padding-top: 1.3em; border-top: 1px solid var(--lv2-line); text-align: center; font-size: .85em; color: var(--lv2-muted); }
.lv2-error { color: #d93025; font-size: 1em; margin-bottom: 1em; }
.lv2-success { color: #1e8e3e; font-size: 1em; margin-bottom: 1em; }

.lv2-footer { position: relative; z-index: 2; text-align: center; padding: 1.4em 1em; font-size: .9em; color: rgba(255,255,255,.65); border-top: 1px solid rgba(255,255,255,.07); }
.lv2-footer strong { color: #fff; }

/* tablet + mobile: stack, fixed readable sizes */
@media (max-width: 1000px) {
    .lv2-body { font-size: 15px; }
    .lv2-brand { padding: 1.4em 1.6em; }
    .lv2-main { grid-template-columns: 1fr; gap: 2.5em; padding: 1em 1.6em 2.5em; }
    .lv2-hero { min-height: 0; padding-top: 0; align-items: center; text-align: center; }
    .lv2-eyebrow { justify-content: center; margin-bottom: 1.2em; }
    .lv2-title { font-size: clamp(2.3em, 8vw, 4.2em); }
    .lv2-watermark { width: 14em; right: -2em; bottom: -2em; }
    .lv2-card-wrap { max-width: 32em; margin: 0 auto; }
}
@media (max-width: 480px) {
    .lv2-body { font-size: 14px; }
    .lv2-card { padding: 2.2em 1.6em 1.8em; border-radius: 1.8em; }
    .lv2-card-title { font-size: 2.7em; }
    .lv2-input input, .lv2-btn { height: 3.6em; }
}

@media (prefers-reduced-motion: reduce) {
    .lv2-glow, .lv2-btn::after { animation: none; }
    .lv2-word, .lv2-card { animation-duration: .01s; animation-delay: 0s; }
}
