@font-face {
    font-family: "PublpageNotoSansKR";
    src: url("/fonts/NotoSansKR-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

html, body {
    font-family: "PublpageNotoSansKR", "Noto Sans KR", "Segoe UI", system-ui, sans-serif;
    background: #f7f9fc;
    color: #121826;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTM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=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.landing-page {
    --landing-content-width: min(1240px, calc(100% - 96px));
    min-height: 100vh;
    background: #f7f9fc;
    color: #121826;
}

.landing-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 76px;
    padding: 0;
    background: rgba(247, 249, 252, 0.86);
    border-bottom: 1px solid rgba(201, 211, 226, 0.8);
    backdrop-filter: blur(16px);
}

.landing-nav-inner {
    width: var(--landing-content-width);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 auto;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
}

.landing-brand:hover {
    color: #0f172a;
}

.landing-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
}

.landing-brand-logo {
    width: 25px;
    height: 25px;
    object-fit: contain;
    flex: 0 0 auto;
}

.landing-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.landing-nav-actions a,
.landing-language-toggle {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 14px;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.landing-language-toggle {
    border: 0;
    background: transparent;
    gap: 4px;
    cursor: pointer;
}

.landing-language-toggle:hover,
.landing-nav-actions a:hover {
    background: #eaf1ff;
    color: #1d4ed8;
}

.landing-language-toggle .active {
    color: #1d4ed8;
}

.landing-language-toggle .divider {
    color: #cbd5e1;
}

.landing-nav-actions .landing-login-link {
    background: #0f172a;
    color: #fff;
}

.landing-nav-actions .landing-login-link:hover {
    background: #1e293b;
    color: #fff;
}

.nav-avatar-link {
    width: 38px;
    height: 38px;
    min-width: 38px;
    max-width: 38px;
    min-height: 38px;
    max-height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #d7dde8;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #1d4ed8;
    padding: 0;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.landing-nav-actions .nav-avatar-link,
.login-nav-actions .nav-avatar-link {
    width: 38px;
    height: 38px;
    min-width: 38px;
    max-width: 38px;
    min-height: 38px;
    max-height: 38px;
    flex-basis: 38px;
    padding: 0;
    border-radius: 999px;
}

.nav-avatar-link:hover {
    border-color: #93b4ff;
    background: #fff;
    color: #1d4ed8;
}

.nav-avatar-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-avatar-link span {
    font-size: 13px;
    font-weight: 900;
}

.nav-avatar-link i {
    font-size: 20px;
}

.login-page {
    --landing-content-width: min(1240px, calc(100% - 96px));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 8% 10%, rgba(37, 99, 235, 0.14), transparent 28%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.06) 46%, rgba(255, 255, 255, 0.6)),
        #f7f9fc;
}

.login-nav {
    min-height: 78px;
    padding: 0;
}

.login-nav-inner {
    width: var(--landing-content-width);
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto;
}

.login-nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.login-nav-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 0 16px;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.72);
}

.login-nav-link:hover {
    border-color: #2563eb;
    color: #1d4ed8;
}

.login-hero {
    width: min(1180px, calc(100% - 72px));
    flex: 1;
    display: grid;
    align-content: center;
    gap: 34px;
    margin: 0 auto;
    padding: 42px 0 80px;
}

.login-hero-copy {
    display: grid;
    gap: 16px;
    width: min(880px, 100%);
}

.login-hero-copy h1 {
    margin: 0;
    color: #0f172a;
    font-size: 54px;
    line-height: 1.08;
    font-weight: 900;
}

.login-hero-copy > p:last-child {
    width: min(760px, 100%);
    margin: 0;
    color: #475569;
    font-size: 18px;
    line-height: 1.72;
    font-weight: 700;
}

.login-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.login-choice-card {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid #dce4f0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    padding: 28px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.login-signup-card {
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(255, 255, 255, 0.94) 52%),
        #fff;
}

.login-choice-badge {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eef6ff;
    padding: 0 12px;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 900;
}

.login-choice-card h2 {
    margin: 22px 0 0;
    color: #0f172a;
    font-size: 28px;
    line-height: 1.24;
    font-weight: 900;
}

.login-choice-card p {
    margin: 14px 0 0;
    color: #52627a;
    font-size: 15px;
    line-height: 1.68;
    font-weight: 700;
}

.login-primary-action,
.login-secondary-action {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 210px;
    border-radius: 8px;
    padding: 0 22px;
    margin-top: auto;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
}

.login-primary-action {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
}

.login-primary-action:hover {
    background: #1d4ed8;
    color: #fff;
}

.login-secondary-action {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0f172a;
}

.login-secondary-action:hover {
    border-color: #2563eb;
    background: #eef6ff;
    color: #1d4ed8;
}

.login-primary-action.disabled,
.login-secondary-action.disabled {
    pointer-events: none;
    opacity: 0.46;
}

.login-message {
    width: min(760px, 100%);
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 800;
}

.login-message.error {
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #b91c1c;
}

.login-message.info {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.login-policy-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.login-policy-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #d7dde8;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #334155;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.login-policy-link:hover {
    border-color: #93b4ff;
    background: #fff;
    color: #1d4ed8;
}

.policy-page {
    min-height: 100vh;
    background: #f7f9fc;
    color: #0f172a;
    font-family: "PublpageNotoSansKR", "Noto Sans KR", "Segoe UI", system-ui, sans-serif;
    padding: 24px;
}

.policy-nav {
    width: min(1040px, 100%);
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 auto 18px;
}

.policy-document {
    width: min(1040px, 100%);
    margin: 0 auto;
    border: 1px solid #e3e6ed;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
    padding: 38px 44px;
}

.policy-header {
    border-bottom: 1px solid #e3e6ed;
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.policy-header h1 {
    margin: 0;
    color: #0f172a;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 900;
}

.policy-document section + section {
    margin-top: 28px;
}

.policy-document h2 {
    margin: 0 0 12px;
    color: #141824;
    font-size: 20px;
    line-height: 1.32;
    font-weight: 900;
}

.policy-document h3 {
    margin: 18px 0 6px;
    color: #31374a;
    font-size: 15px;
    font-weight: 900;
}

.policy-document p,
.policy-document li,
.policy-contact dd {
    color: #475569;
    font-size: 14px;
    line-height: 1.78;
    font-weight: 700;
}

.policy-document p {
    margin: 0 0 10px;
}

.policy-document ul {
    display: grid;
    gap: 6px;
    margin: 10px 0 0;
    padding-left: 20px;
}

.policy-contact {
    display: grid;
    gap: 6px;
    border: 1px solid #e3e6ed;
    border-radius: 8px;
    background: #f8fafc;
    padding: 16px;
}

.policy-contact dt {
    color: #141824;
    font-size: 14px;
    font-weight: 900;
}

.policy-contact dd {
    margin: 0;
}

.landing-hero {
    position: relative;
    min-height: calc(100svh - 170px);
    max-height: 720px;
    overflow: hidden;
    isolation: isolate;
}

.landing-hero-inner {
    width: var(--landing-content-width);
    min-height: inherit;
    max-height: inherit;
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 64px 0;
}

.landing-hero-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.landing-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(247, 249, 252, 0.98) 0%, rgba(247, 249, 252, 0.9) 34%, rgba(247, 249, 252, 0.42) 68%, rgba(247, 249, 252, 0.18) 100%),
        linear-gradient(180deg, rgba(247, 249, 252, 0.42) 0%, rgba(247, 249, 252, 0.1) 56%, rgba(247, 249, 252, 0.92) 100%);
}

.landing-hero-content {
    width: min(690px, 100%);
}

.landing-kicker {
    margin: 0 0 14px;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 900;
}

.landing-hero h1 {
    margin: 0;
    color: #0f172a;
    font-size: 56px;
    line-height: 1.06;
    font-weight: 900;
}

.landing-lead {
    width: min(590px, 100%);
    margin: 22px 0 0;
    color: #334155;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 700;
}

.landing-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.landing-primary,
.landing-secondary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.landing-primary {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.26);
}

.landing-primary:hover {
    background: #1d4ed8;
    color: #fff;
}

.landing-secondary {
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(255, 255, 255, 0.78);
    color: #0f172a;
}

.landing-secondary:hover {
    border-color: #93b4ff;
    background: #fff;
    color: #1d4ed8;
}

.landing-section {
    width: var(--landing-content-width);
    margin: 0 auto;
}

.landing-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 18px 0 74px;
}

.landing-value-grid article {
    min-width: 0;
    border: 1px solid #dce4f0;
    border-radius: 18px;
    background: #fff;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.landing-card-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 28px;
    border-radius: 999px;
    background: #eaf1ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 900;
}

.landing-value-grid h2 {
    margin: 18px 0 10px;
    color: #0f172a;
    font-size: 21px;
    font-weight: 900;
}

.landing-value-grid p {
    margin: 0;
    color: #52627a;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 700;
}

.landing-workflow {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 44px;
    align-items: start;
    padding: 0 0 90px;
}

.landing-workflow h2 {
    margin: 0;
    color: #0f172a;
    font-size: 38px;
    line-height: 1.18;
    font-weight: 900;
}

.landing-steps {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: publish-step;
}

.landing-steps li {
    counter-increment: publish-step;
    position: relative;
    display: grid;
    gap: 5px;
    min-width: 0;
    min-height: 76px;
    border: 1px solid #dce4f0;
    border-radius: 16px;
    background: #fff;
    padding: 17px 18px 17px 72px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.landing-steps li::before {
    content: counter(publish-step);
    position: absolute;
    left: 18px;
    top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #eef6ff;
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 900;
}

.landing-steps strong {
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
}

.landing-steps span {
    color: #52627a;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 700;
}

@media (max-width: 920px) {
    .landing-page {
        --landing-content-width: calc(100% - 44px);
    }

    .login-page {
        --landing-content-width: calc(100% - 44px);
    }

    .login-hero {
        width: calc(100% - 44px);
        padding: 34px 0 62px;
    }

    .login-hero-copy h1 {
        font-size: 42px;
    }

    .login-hero-copy > p:last-child {
        font-size: 16px;
    }

    .login-choice-grid {
        grid-template-columns: 1fr;
    }

    .policy-document {
        padding: 32px 28px;
    }

    .landing-hero {
        min-height: calc(100svh - 150px);
    }

    .landing-hero-inner {
        padding: 48px 0;
    }

    .landing-hero-overlay {
        background:
            linear-gradient(90deg, rgba(247, 249, 252, 0.98) 0%, rgba(247, 249, 252, 0.88) 58%, rgba(247, 249, 252, 0.42) 100%),
            linear-gradient(180deg, rgba(247, 249, 252, 0.2) 0%, rgba(247, 249, 252, 0.92) 100%);
    }

    .landing-hero h1 {
        font-size: 42px;
    }

    .landing-lead {
        font-size: 16px;
    }

    .landing-value-grid,
    .landing-workflow {
        grid-template-columns: 1fr;
    }

    .landing-workflow {
        gap: 20px;
    }
}

@media (max-width: 620px) {
    .landing-page {
        --landing-content-width: calc(100% - 32px);
    }

    .landing-nav {
        height: auto;
        min-height: 68px;
        align-items: flex-start;
    }

    .landing-nav-inner {
        padding: 12px 0;
        align-items: flex-start;
    }

    .login-nav {
        min-height: 68px;
    }

    .login-page {
        --landing-content-width: calc(100% - 32px);
    }

    .login-nav-inner {
        min-height: 68px;
        padding: 12px 0;
    }

    .login-hero {
        width: calc(100% - 32px);
        padding: 26px 0 48px;
        gap: 24px;
    }

    .login-hero-copy h1 {
        font-size: 34px;
    }

    .login-choice-card {
        min-height: 300px;
        padding: 22px;
    }

    .login-choice-card h2 {
        font-size: 24px;
    }

    .login-primary-action,
    .login-secondary-action {
        width: 100%;
        min-width: 0;
    }

    .policy-page {
        padding: 14px;
    }

    .policy-nav {
        min-height: 64px;
    }

    .policy-document {
        padding: 26px 20px;
    }

    .policy-header h1 {
        font-size: 28px;
    }

    .landing-nav-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .landing-nav-actions a:not(.landing-login-link) {
        display: none;
    }

    .landing-hero {
        min-height: auto;
    }

    .landing-hero-inner {
        padding: 42px 0 54px;
    }

    .landing-hero-image {
        object-position: center;
    }

    .landing-hero-overlay {
        background:
            linear-gradient(180deg, rgba(247, 249, 252, 0.96) 0%, rgba(247, 249, 252, 0.86) 44%, rgba(247, 249, 252, 0.98) 100%);
    }

    .landing-hero h1 {
        font-size: 34px;
    }

    .landing-lead {
        font-size: 15px;
    }

    .landing-primary,
    .landing-secondary {
        width: 100%;
        min-height: 46px;
    }

    .landing-value-grid {
        padding-bottom: 56px;
    }

    .landing-value-grid article {
        padding: 20px;
    }

    .landing-workflow h2 {
        font-size: 30px;
    }
}
