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

:root {
    --bg: #fff;
    --text: #000;
    --text-secondary: #666;
    --text-tertiary: #999;
    --accent: #2563eb;
    --border: #e5e5e5;
}

html {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display',
        'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    font-size: 17px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.top-header {
    padding: 60px 24px 32px;
    width: 100%;
}

.top-header h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.04em;
    max-width: 640px;
    margin: 0 auto;
}

.top-header span {
    color: var(--accent);
}

.top-main {
    flex: 1;
    padding: 0 24px 80px;
    max-width: 640px;
    width: 100%;
}

.top-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.app-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition:
        box-shadow 0.2s,
        transform 0.15s;
    color: var(--text);
}

.app-card:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
    text-decoration: none;
}

.app-icon {
    flex-shrink: 0;
}

.app-body {
    flex: 1;
    min-width: 0;
}

.app-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.app-body p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 10px;
}

.app-tags {
    display: flex;
    gap: 8px;
}

.app-tags span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    background: #f5f5f5;
    border-radius: 6px;
    padding: 3px 10px;
}

.app-arrow {
    flex-shrink: 0;
    color: var(--text-tertiary);
    transition:
        transform 0.2s,
        color 0.2s;
}

.app-card:hover .app-arrow {
    transform: translateX(3px);
    color: var(--text-secondary);
}

.top-footer {
    padding: 24px;
    font-size: 12px;
    color: var(--text-tertiary);
    text-align: center;
    width: 100%;
}

@media (max-width: 640px) {
    .app-card {
        padding: 20px;
        gap: 16px;
    }

    .app-icon {
        width: 56px;
        height: 56px;
    }

    .app-body h3 {
        font-size: 17px;
    }
}
