/* Shared typography, layout and entry buttons for the homepage and 404. */
:root {
    color-scheme: dark;
    --blue: #508ef1;
    --text: #e1e1e1;
    --number: #ff5965;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 24px; }

body {
    margin: 0;
    background: #000;
    color: var(--text);
    font-family: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    word-break: keep-all;
    overflow-wrap: break-word;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 18px; }
h1, h2, h3 { color: #fff; line-height: 1.3; }
h1, h2 { margin: 0 0 20px; }
h2 { font-size: 30px; font-weight: 700; }
h3 { margin: 0 0 10px; font-size: 17px; font-weight: 600; }

.container { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
.site-header { background: #000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 100px; }
.brand { display: inline-block; flex-shrink: 0; }
.brand img { width: 225px; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 4px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
    text-align: center;
}

.button-blue { background: linear-gradient(90deg, #508ef1 60%, #105feb); }
.button:hover { filter: brightness(1.12); }
.domain-number { color: var(--number); font-size: 1.12em; font-weight: 900; }
a:focus-visible, summary:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }

@media (max-width: 767px) {
    .container { width: calc(100% - 32px); }
    .header-inner { min-height: 76px; gap: 12px; }
    .brand img { width: 140px; }
    h2 { font-size: 25px; }
    .button { padding: 13px 18px; font-size: 14px; }
}
