:root {
    color: #656565;
    font-family: Arial, "Malgun Gothic", sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body,
.page-shell {
    min-height: 100%;
    margin: 0;
}

body {
    background: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.main-header {
    height: 109px;
    background: #ffffff;
}

.header-content,
.hero-content,
.footer-content {
    width: min(960px, calc(100% - 40px));
    margin: 0 auto;
}

.header-content {
    position: relative;
    height: 104px;
}

.top-links {
    position: absolute;
    top: 8px;
    right: 0;
    display: flex;
}

.top-links a {
    padding: 0 14px;
    border-right: 1px solid #dfdfdf;
    color: #45464a;
    font-size: 11px;
    line-height: 12px;
}

.top-links a:last-child {
    padding-right: 0;
    border-right: 0;
}

.logo {
    position: absolute;
    top: 33px;
    left: 0;
}

.logo img {
    display: block;
}

.header-bar {
    height: 5px;
    background: #f8b800;
}

.header-bar span {
    display: block;
    width: min(285px, 30%);
    height: 5px;
    margin-left: max(calc((100% - 960px) / 2), 20px);
    background: #eb6101;
}

.login-hero {
    min-height: 752px;
    background: url("../legacy-assets/img/visual_01.png") center center / 100% 100% no-repeat;
}

.hero-content {
    display: flex;
    min-height: 752px;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}

.brand-message {
    width: 404px;
    margin: 160px 0 0 25px;
}

.brand-message img {
    display: block;
    width: 404px;
    max-width: 100%;
}

.brand-message p {
    margin: 21px 0 0;
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -1.4px;
    text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.65);
    white-space: nowrap;
}

.login-panel {
    width: 440px;
    margin: 160px 25px 0 0;
    padding: 27px 20px 20px;
    background: rgba(255, 255, 255, 0.9);
}

.login-panel h1 {
    margin: 0 0 7px;
    color: #5f5b59;
    font-size: 43px;
    font-weight: 400;
    line-height: 1.1;
}

.login-panel > p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
}

.login-panel form {
    margin-top: 20px;
}

.login-panel input {
    display: block;
    width: 100%;
    height: 63px;
    border: 1px solid #dedbd9;
    color: #403a3a;
    padding: 0 12px;
    font-size: 18px;
    outline: none;
}

.login-panel input:focus {
    position: relative;
    z-index: 1;
    border-color: #ff910b;
}

.login-panel input:first-of-type {
    border-radius: 10px 10px 0 0;
}

.login-panel input:last-of-type {
    margin-top: -1px;
    border-radius: 0 0 10px 10px;
}

.login-panel input::placeholder {
    color: #999491;
}

.login-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 13px;
}

.login-actions a {
    color: #77716e;
    font-size: 16px;
}

.login-actions button {
    width: 133px;
    height: 34px;
    border: 1px solid #ffaa22;
    border-radius: 6px;
    background: linear-gradient(#ffec64, #ffab23);
    color: #333333;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 1px #ffee66;
    cursor: not-allowed;
}

.join-button {
    display: block;
    width: 100%;
    height: 53px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    background: linear-gradient(#f9f9f9, #e9e9e9);
    color: #666666;
    font-size: 18px;
    font-weight: 700;
    line-height: 51px;
    text-align: center;
    text-shadow: 0 1px #ffffff;
    cursor: pointer;
}

.site-footer {
    min-height: 120px;
    border-top: 1px solid #e1e0df;
    background: #f9f9f9;
}

.footer-content {
    display: flex;
    gap: 22px;
    align-items: center;
    padding: 20px 0;
    font-size: 11px;
    line-height: 1.8;
}

.footer-content img {
    flex: 0 0 auto;
}

.footer-content nav {
    margin-bottom: 3px;
    font-size: 13px;
    font-weight: 700;
}

.footer-content nav a {
    margin-right: 16px;
}

.footer-content p {
    margin: 0;
}

.footer-content span {
    padding: 0 6px;
    color: #cacaca;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media (max-width: 760px) {
    .main-header {
        height: 137px;
    }

    .logo {
        top: 55px;
    }

    .hero-content {
        min-height: auto;
        flex-direction: column;
        padding: 48px 0;
        gap: 42px;
    }

    .brand-message,
    .login-panel {
        width: 100%;
        margin: 0;
    }

    .brand-message p {
        white-space: normal;
        font-size: 18px;
    }

    .login-panel {
        padding: 22px 16px 16px;
    }

    .footer-content {
        align-items: flex-start;
        flex-direction: column;
    }
}
