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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a1a;
    background: #fafafa;
    line-height: 1.6;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 24px;
}

/* Index page */
.container > h1 {
    font-size: 2rem;
    font-weight: 700;
}

.subtitle {
    color: #666;
    margin-top: 4px;
    margin-bottom: 40px;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.links a {
    display: block;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.links a:hover {
    border-color: #999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.contact {
    color: #888;
    font-size: 0.9rem;
}

.contact a {
    color: #555;
}

/* Document pages */
.back {
    display: inline-block;
    margin-bottom: 32px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

.back:hover {
    color: #1a1a1a;
}

.doc h1 {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.doc .meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.doc h2 {
    font-size: 1.2rem;
    margin-top: 36px;
    margin-bottom: 12px;
    font-weight: 600;
}

.doc p {
    margin-bottom: 16px;
}

.doc ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.doc li {
    margin-bottom: 6px;
}

.doc strong {
    font-weight: 600;
}

.doc a {
    color: #1a1a1a;
}
