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

body {
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, 'Apple Color Emoji', Arial, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol';
    background: #ffffff;
    color: #37352f;
    line-height: 1.5;
    padding: 0;
    min-height: 100vh;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 60px 96px 100px;
}

header {
    margin-bottom: 32px;
}

h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.subtitle {
    color: rgba(55, 53, 47, 0.65);
    font-size: 14px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.link-card {
    background: rgba(242, 241, 238, 0.6);
    border-radius: 3px;
    padding: 16px 14px;
    text-decoration: none;
    color: inherit;
    transition: background 20ms ease-in 0s;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

.link-card:hover {
    background: rgba(55, 53, 47, 0.08);
}

.link-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.link-content {
    flex: 1;
    min-width: 0;
}

.link-title {
    font-size: 14px;
    font-weight: 500;
    color: #37352f;
    margin-bottom: 2px;
    line-height: 1.3;
}

.link-description {
    font-size: 12px;
    color: rgba(55, 53, 47, 0.65);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (max-width: 768px) {
    .container {
        padding: 40px 24px 60px;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 32px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 50px 48px 80px;
    }
}

