/* liahnson-remember.com: the portal chooser (security program P2.4, Jose 2026-10-29). Static, no script.
   Mirrors the portals' sign-in screen (app/layouts/clientAuth.vue): burgundy brand panel left, choices right.
   Tokens are the client portal's --c-* light set (app/assets/scss/client/client-portal.scss), DESIGN.md §C. */
@font-face { font-family: Pretendard; font-weight: 400; font-display: swap; src: url('/fonts/pretendard/Pretendard-Regular.woff2') format('woff2'); }
@font-face { font-family: Pretendard; font-weight: 500; font-display: swap; src: url('/fonts/pretendard/Pretendard-Medium.woff2') format('woff2'); }
@font-face { font-family: Pretendard; font-weight: 600; font-display: swap; src: url('/fonts/pretendard/Pretendard-Semi-Bold.woff2') format('woff2'); }
@font-face { font-family: Pretendard; font-weight: 700; font-display: swap; src: url('/fonts/pretendard/Pretendard-Bold.woff2') format('woff2'); }

:root {
    --c-brand: #580e21;
    --c-brand-strong: #4c091a;
    --c-brand-tint: #f7eef0;
    --c-paper: #fafafa;
    --c-surface: #ffffff;
    --c-ink: #111827;
    --c-ink-2: #374151;
    --c-ink-3: #6b7280;
    --c-ink-4: #9ca3af;
    --c-line: #e5e7eb;
    --c-line-2: #d1d5db;
    --c-shadow-md: 0 4px 16px rgba(17, 24, 39, 0.08), 0 2px 6px rgba(17, 24, 39, 0.05);
    --c-sans: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, 'Apple SD Gothic Neo',
        'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

* { box-sizing: border-box; }
html { font-size: 14px; }
body {
    margin: 0;
    font-family: var(--c-sans);
    color: var(--c-ink-2);
    background: var(--c-surface);
    -webkit-font-smoothing: antialiased;
}
/* The brand's signature: a 3px burgundy hairline at the very top. */
body::before {
    content: '';
    position: fixed;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--c-brand);
    z-index: 2;
}

.page { min-height: 100vh; display: flex; }

/* ---- Brand panel (desktop), as on the sign-in screen ---- */
.brand { display: none; }
@media (min-width: 1024px) {
    .brand {
        display: flex;
        flex-direction: column;
        position: relative;
        width: 44%;
        max-width: 580px;
        padding: 48px;
        overflow: hidden;
        color: #fff;
        background: radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, 0.1), transparent 58%),
            radial-gradient(90% 70% at 0% 100%, rgba(0, 0, 0, 0.28), transparent 60%), var(--c-brand);
    }
}
.brand__top { position: relative; z-index: 1; }
.brand .logo { height: 28px; width: auto; filter: brightness(0) invert(1); }
.brand__amp {
    position: absolute;
    right: -36px;
    bottom: -96px;
    font-weight: 500;
    font-size: 460px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.07);
    user-select: none;
}
.brand__copy { position: relative; z-index: 1; margin-top: auto; }
.brand__tagline {
    margin: 0;
    max-width: 11em;
    word-break: keep-all;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #fff;
}
.brand__tagline-en { margin: 8px 0 26px; font-size: 14px; color: rgba(255, 255, 255, 0.66); }
.brand__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.brand__trust li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, 0.86); }
.brand__trust small { display: block; margin-top: 2px; font-size: 12px; color: rgba(255, 255, 255, 0.56); }
.brand__trust .ic { width: 18px; height: 18px; margin-top: 1px; stroke: rgba(255, 255, 255, 0.62); flex: none; }
.brand__foot { position: relative; z-index: 1; margin: 40px 0 0; font-size: 12px; color: rgba(255, 255, 255, 0.5); }

.ic, .arrow { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Choices ---- */
.main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 56px 16px 28px;
    background: var(--c-surface);
}
@media (min-width: 640px) { .main { padding: 56px 40px 32px; } }
.main__mobilelogo { margin: 0 auto 40px; width: 100%; max-width: 520px; }
.main__mobilelogo .logo { height: 24px; width: auto; }
@media (min-width: 1024px) { .main__mobilelogo { display: none; } }

.chooser { width: 100%; max-width: 520px; margin: auto; }
.eyebrow {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-ink-3);
}
h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--c-ink);
    word-break: keep-all;
}

.lede { margin: 8px 0 32px; font-size: 15px; color: var(--c-ink-3); }

.choices { display: flex; flex-direction: column; gap: 14px; }
.choice {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 112px;
    padding: 22px 22px 22px 20px;
    border: 1px solid var(--c-line);
    border-radius: 16px;
    background: var(--c-surface);
    color: inherit;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}
.choice:hover { border-color: var(--c-brand); box-shadow: var(--c-shadow-md); }
.choice:active { transform: scale(0.99); }
.choice:focus-visible { outline: 3px solid rgba(88, 14, 33, 0.35); outline-offset: 3px; border-color: var(--c-brand); }
.choice__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--c-brand-tint);
    color: var(--c-brand);
}
.choice__icon .ic { width: 26px; height: 26px; }
.choice__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.choice__title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--c-ink); }
.choice__title-en { margin-left: 6px; font-size: 14px; font-weight: 500; color: var(--c-ink-3); letter-spacing: 0; }
.choice__desc { margin-top: 6px; font-size: 14px; color: var(--c-ink-2); word-break: keep-all; }
.choice__desc-en { margin-top: 2px; font-size: 12.5px; color: var(--c-ink-3); }
.choice__go {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    color: var(--c-ink-3);
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}
.choice__go .arrow { width: 20px; height: 20px; }
.choice:hover .choice__go, .choice:focus-visible .choice__go { background: var(--c-brand); color: #fff; transform: translateX(2px); }

.join { margin: 28px 0 0; font-size: 13.5px; color: var(--c-ink-3); }
.join a { color: var(--c-brand); font-weight: 600; text-decoration: none; }
.join a:hover { text-decoration: underline; }
.join__en { display: block; margin-top: 4px; font-size: 12.5px; }

.main__foot { margin: 40px auto 0; width: 100%; max-width: 520px; font-size: 12px; color: var(--c-ink-4); }
@media (min-width: 1024px) { .main__foot { display: none; } }

@media (prefers-reduced-motion: reduce) {
    .choice, .choice__go { transition: none; }
    .choice:active { transform: none; }
}

/* Wide screens: the two choices stay big buttons, not cards lost in white space. */
@media (min-width: 1440px) {
    .chooser { max-width: 620px; }
    h1 { font-size: 36px; }
    .lede { font-size: 16px; margin-bottom: 36px; }
    .choices { gap: 16px; }
    .choice { min-height: 136px; padding: 28px 28px 28px 26px; gap: 22px; border-radius: 18px; }
    .choice__icon { width: 64px; height: 64px; border-radius: 14px; }
    .choice__icon .ic { width: 30px; height: 30px; }
    .choice__title { font-size: 23px; }
    .choice__title-en { font-size: 15px; }
    .choice__desc { font-size: 15px; }
    .choice__desc-en { font-size: 13.5px; }
    .choice__go { width: 46px; height: 46px; }
    .join { font-size: 14px; }
}
