@import url("footer.css");

:root {
    color-scheme: light;
    font: 16px/1.55 Inter,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
    color: #14171b;
    background: #fafafa;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

header {
    height: 72px;
    padding: 0 clamp(20px,5vw,80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-bottom: 1px solid #e8e9ec;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 650;
}

.mark {
    display: grid;
    place-items: center;
    background: #1e272e;
    width: 36px;
    height: 36px;
    border-radius: 9px;
}

.mark:after {
    content: "";
    width: 15px;
    height: 9px;
    background: white;
    transform: skewX(24deg);
    box-shadow: -3px 4px #9ba9b4;
}

main {
    max-width: 760px;
    margin: clamp(36px,8vh,96px) auto;
    padding: 0 24px;
}

.context,dt {
    color: #59636d;
    font-size: .875rem;
}

h1 {
    font-size: clamp(1.8rem,5vw,2.6rem);
    letter-spacing: -.05em;
    margin: .4em 0 .8em;
}

section {
    background: white;
    border: 1px solid #e0e4e8;
    border-radius: 12px;
    padding: clamp(20px,4vw,36px);
}

h2 {
    font-size: 1.2rem;
    margin: 0 0 .5em;
}

section p {
    margin: 0;
    color: #424b54;
}

dl {
    margin: 22px 0 0;
    border-top: 1px solid #e8e9ec;
    padding-top: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

dd {
    margin: 0;
    font-weight: 600;
    color: #145caa;
}

button {
    font: inherit;
    background: white;
    border: 1px solid #ccd1d6;
    border-radius: 7px;
    padding: 6px 14px;
    cursor: pointer;
}

button:focus-visible, .welcome-card a:focus-visible {
    outline: 2px solid #1575dc;
    outline-offset: 3px;
}

.welcome {
    display: grid;
    place-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    max-width: none;
    margin: 0;
    padding: 24px 16px;
}

.welcome-card {
    width: min(100%, 25rem);
    padding: clamp(28px, 7vw, 48px);
    border: 1px solid #e0e4e8;
    border-radius: 16px;
    background: white;
    box-shadow: 0 8px 28px rgba(30, 39, 46, .06);
    text-align: center;
}

.welcome-card .mark {
    margin: 0 auto 14px;
}

.welcome-card .context {
    margin: 0;
}

.welcome-card h1 {
    margin: 4px 0 28px;
    font-size: clamp(1.75rem, 5vw, 2.1rem);
}

.welcome-actions {
    display: grid;
    gap: 10px;
}

.welcome-actions a {
    display: grid;
    place-items: center;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid #ccd1d6;
    border-radius: 8px;
    color: #27333d;
    font-weight: 600;
    text-decoration: none;
}

.viewer-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .25em;
    min-height: 36px;
    margin-top: 14px;
    padding: 2px 6px;
    color: #526170;
    font-size: .8125rem;
    text-underline-offset: .18em;
}

.viewer-link:hover { color: #145caa; }

.welcome-actions a:hover {
    background: #f2f5f8;
}

.welcome-actions .login {
    border-color: #145caa;
    background: #145caa;
    color: white;
}

.welcome-actions .login:hover {
    background: #104b8c;
}

.logout-icon { width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0; color: #49556a; background: transparent; border: 1px solid transparent; border-radius: 8px; cursor: pointer; }
.logout-icon:hover,.logout-icon:focus-visible { color: #263d6d; background: #eef2f8; border-color: #bbc9da; }
.logout-icon:focus-visible { outline: 2px solid #365c9d; outline-offset: 2px; }
