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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    max-width: 680px;
    margin: 0 auto;
    padding: 80px 24px;
    background: #ffffff;
    min-height: 100vh;
    color: #1a1a1a;
    line-height: 1.6;
}

.title-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

h1 { 
    margin: 0; 
    font-size: 2.5em; 
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #000;
}

.subtitle {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 48px;
    font-weight: 400;
}

h2 { 
    font-size: 0.75em; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.15em; 
    color: #888;
    margin: 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 48px 0 16px 0;
}

.section-header a {
    font-size: 0.85em;
    color: #999;
    border-bottom: 1px solid transparent;
    text-transform: none;
    letter-spacing: normal;
    margin-top: 2px;
}

.section-header a:hover {
    color: #666;
    border-bottom-color: #666;
}

p { 
    margin: 12px 0; 
    color: #555; 
    line-height: 1.7;
}

.endpoint-container {
    position: relative;
    margin: 16px 0 24px 0;
}

.endpoint {
    background: #f8f8f8;
    padding: 14px 16px;
    padding-right: 90px;
    border-radius: 8px;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 0.9em;
    color: #1a1a1a;
    word-break: break-all;
    border: 1px solid #e8e8e8;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.config-json {
    padding-right: 16px;
    font-size: 0.85em;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.copy-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #000;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85em;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: #333;
}

.copy-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.copy-btn.copied {
    background: #10b981;
}

.config-json + .copy-btn {
    top: 12px;
    transform: none;
}

.config-json + .copy-btn:active {
    transform: scale(0.95);
}

a { 
    color: #000; 
    text-decoration: none; 
    border-bottom: 1px solid #ddd;
    transition: border-color 0.2s ease;
}

a:hover { 
    border-bottom-color: #000;
}

.tool-list {
    list-style: none;
    margin: 16px 0;
}

.tool-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.tool-list li:last-child {
    border-bottom: none;
}

.tool-name {
    font-weight: 600;
    color: #000;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 0.9em;
}

.tool-desc {
    color: #666;
    font-size: 0.95em;
    margin-top: 4px;
}

.info-box {
    background: #f8f9fa;
    border-left: 3px solid #000;
    padding: 16px;
    margin: 24px 0;
    border-radius: 4px;
    font-size: 0.95em;
}

.info-box strong {
    color: #000;
}

.auth-note {
    background: #fef3c7;
    border-left: 3px solid #f59e0b;
}

.docs-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.docs-links a {
    color: #666;
    font-size: 0.95em;
}

@media (max-width: 600px) {
    body {
        padding: 48px 20px;
    }
    
    .title-container {
        gap: 12px;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .endpoint {
        padding-right: 16px;
        padding-bottom: 50px;
    }
    
    .copy-btn {
        right: 12px;
        top: auto;
        bottom: 12px;
        transform: none;
    }
    
    .copy-btn:active {
        transform: scale(0.95);
    }
}
