@font-face {
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/assets/NotoSansJP-VariableFont_wght.ttf") format("truetype");
}

:root {
    color-scheme: light;
    --page: #ffffff;
    --surface: #f7f7f7;
    --ink: #050505;
    --muted: #666666;
    --line: #dddddd;
    --focus: #111111;
    --max: 760px;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--page);
    color: var(--ink);
    font-family: "Noto Sans JP", "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--page);
}

a {
    color: inherit;
    text-decoration-color: currentColor;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 4px;
}

.site-header,
.site-footer,
main {
    width: min(100% - 40px, var(--max));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0 18px;
    border-bottom: 1px solid var(--line);
}

.brand {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    font-weight: 600;
}

.hero {
    padding: 62px 0 40px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

h1 {
    margin: 0;
    font-size: clamp(32px, 7vw, 56px);
    line-height: 1.08;
    letter-spacing: 0;
}

.lead {
    max-width: 650px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.stack {
    display: grid;
    gap: 16px;
    padding: 0 0 64px;
}

.section {
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

.section h2 {
    margin: 0 0 14px;
    font-size: 21px;
    line-height: 1.35;
    letter-spacing: 0;
}

.section h3 {
    margin: 24px 0 10px;
    font-size: 17px;
    line-height: 1.45;
}

.section p,
.section li {
    color: var(--muted);
}

.section p {
    margin: 0 0 14px;
}

.section p:last-child {
    margin-bottom: 0;
}

ul,
ol {
    margin: 0;
    padding-left: 1.4em;
}

li + li {
    margin-top: 8px;
}

.link-row {
    display: grid;
    gap: 10px;
}

.callout {
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid var(--ink);
    border-radius: 8px;
    background: var(--ink);
    color: var(--page);
    font-weight: 700;
    text-decoration: none;
}

.meta {
    color: var(--muted);
    font-size: 13px;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0 34px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 14px;
}

@media (max-width: 640px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .nav {
        flex-wrap: wrap;
    }

    .hero {
        padding-top: 44px;
    }

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