@font-face {
    font-family: "DMSans";
    src:
        url("/fonts/DMSans-VariableFont.ttf") format("truetype");
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "NotoSansJP";
    src: url("/fonts/NotoSansJP-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "NotoSansJP";
    src: url("/fonts/NotoSansJP-Medium.ttf") format("truetype");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "NotoSansJP";
    src: url("/fonts/NotoSansJP-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "NotoSansJP";
    src: url("/fonts/NotoSansJP-Bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}

:root {
    --accent: #008D56;
    --text-muted: #444444;
    --border: rgba(0, 0, 0, 0.1);
    --card-bg: #FFFFFF;
    --card-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

body {
    font-weight: 500;
    font-family: "NotoSansJP", "DMSans", sans-serif;
    line-height: 1.7;
    color: #111111;
    background-color: #FFFFFF;
    margin: 0;
    padding: 72px 20px;
    box-sizing: border-box;
    min-height: 100svh;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

div, p, span, a, li, h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
    word-break: auto-phrase;
}

a {
    text-decoration: none;
    color: var(--accent);
}

a:hover {
    text-decoration: underline;
}

header.page-header {
    display: flex;
    justify-content: center;
}

.page-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.welcome {
    font-family: "DMSans", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 760px;
}

p {
    margin: 0;
    font-size: 1rem;
}

.setup-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    width: 100%;
    max-width: 960px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 28px 24px 32px;
    border-radius: 20px;
}

.step p {
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
}

h1, h2 {
    font-weight: 500;
}

h1 {
    font-family: "DMSans", sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

h2 {
    font-family: "NotoSansJP", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.notes {
    width: 100%;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #666666;
    font-size: 0.95rem;
}

.notes h2 {
    font-size: 1.1rem;
}

.notes p {
    color: #666666;
    font-size: 0.95rem;
}

@media (min-width: 960px) {
    body {
        padding: 88px 40px;
    }

    .setup-steps {
        flex-direction: row;
        align-items: stretch;
        gap: 32px;
    }

    .step {
        flex: 1 1 0;
        align-items: center;
    }

    .step p {
        max-width: 520px;
    }
}
