* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans JP", sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px 60px;
    line-height: 1.9;
    color: #3a3a3a;
    background: linear-gradient(180deg, #fdf6ee 0%, #fff 300px);
}

header {
    text-align: center;
    padding: 48px 0 32px;
}

header .icon {
    font-size: 48px;
    margin-bottom: 8px;
}

h1 {
    font-size: 1.6em;
    font-weight: 700;
    color: #5d4037;
    margin-bottom: 6px;
}

header .app-name {
    font-size: 0.95em;
    color: #8d6e63;
    font-weight: 500;
}

.updated {
    display: inline-block;
    margin-top: 12px;
    color: #999;
    font-size: 0.8em;
    background: #f5f0eb;
    padding: 4px 14px;
    border-radius: 20px;
}

.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(93, 64, 55, 0.07);
    padding: 28px 28px 24px;
    margin-bottom: 16px;
}

h2 {
    font-size: 1.05em;
    font-weight: 700;
    color: #5d4037;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

h2 .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #8d6e63;
    color: #fff;
    border-radius: 50%;
    font-size: 0.8em;
    flex-shrink: 0;
}

p {
    font-size: 0.92em;
    color: #555;
}

ul {
    padding-left: 1.2em;
    margin-top: 8px;
}

li {
    font-size: 0.92em;
    color: #555;
    margin-bottom: 4px;
}

li::marker {
    color: #bcaaa4;
}

li .perm {
    font-weight: 600;
    color: #5d4037;
}

.contact-info {
    background: #faf6f3;
    border-radius: 10px;
    padding: 14px 18px;
    margin-top: 10px;
    font-size: 0.9em;
    color: #5d4037;
}

.contact-info a {
    color: #8d6e63;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #efe8e2;
    font-size: 0.8em;
    color: #bbb;
}

@media (prefers-color-scheme: dark) {
    body {
        color: #ddd8d4;
        background: linear-gradient(180deg, #2a2320 0%, #1c1917 300px);
    }

    h1,
    h2 {
        color: #e8ddd5;
    }

    header .app-name {
        color: #bcaaa4;
    }

    .updated {
        background: #332b27;
        color: #9c8f88;
    }

    .card {
        background: #262120;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    }

    p,
    li {
        color: #c2bab5;
    }

    li .perm {
        color: #e8ddd5;
    }

    .contact-info {
        background: #302926;
        color: #e8ddd5;
    }

    .contact-info a {
        color: #d7bfae;
    }

    footer {
        border-top-color: #3a322e;
        color: #6f6560;
    }
}
