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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    line-height: 1.47;
    color: #1d1d1f;
    background-color: #fbfbfd;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.022em;
}

header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
}

nav h1 {
    font-size: 21px;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: 0.011em;
}

nav h1 a {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 21px;
    font-weight: 600;
    opacity: 1;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.6, 1);
    opacity: 0.8;
}

nav a:hover {
    opacity: 1;
}

main {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

.hero {
    text-align: center;
    padding: 120px 0 80px 0;
    margin-bottom: 120px;
}

.hero h2 {
    font-size: 56px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.07143;
    letter-spacing: -0.005em;
    margin-bottom: 24px;
}

.hero p {
    font-size: 28px;
    font-weight: 400;
    color: #86868b;
    line-height: 1.14286;
    letter-spacing: 0.007em;
    max-width: 980px;
    margin: 0 auto;
}

.hero-link {
    color: #06c;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.6, 1);
}

.hero-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.about, .blog {
    margin: 120px 0;
}

.about h2, .blog h2 {
    font-size: 48px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.08349;
    letter-spacing: -0.003em;
    margin-bottom: 40px;
}

.about p {
    font-size: 21px;
    font-weight: 400;
    color: #1d1d1f;
    line-height: 1.381;
    letter-spacing: 0.011em;
    max-width: 800px;
}

.blog-post {
    background: #ffffff;
    padding: 48px;
    margin: 48px 0;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.6, 1);
}

.blog-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.blog-post h3 {
    font-size: 32px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.125;
    letter-spacing: 0.004em;
    margin-bottom: 8px;
}

.blog-post .date {
    font-size: 14px;
    font-weight: 400;
    color: #86868b;
    letter-spacing: -0.016em;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.blog-post p {
    font-size: 19px;
    font-weight: 400;
    color: #1d1d1f;
    line-height: 1.4211;
    letter-spacing: 0.012em;
}

.blog-post a {
    color: #06c;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.6, 1);
}

.blog-post a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.blog-post-full {
    max-width: 800px;
    margin: 80px auto 120px auto;
    padding: 0;
}

.post-header {
    margin-bottom: 48px;
    text-align: left;
}

.post-header h1 {
    font-size: 48px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.08349;
    letter-spacing: -0.003em;
    margin-bottom: 24px;
}

.post-meta {
    color: #86868b;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.022em;
}

.post-content {
    font-size: 19px;
    font-weight: 400;
    color: #1d1d1f;
    line-height: 1.4211;
    letter-spacing: 0.012em;
}

.post-content h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.125;
    letter-spacing: 0.004em;
    margin: 48px 0 24px 0;
}

.post-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.16667;
    letter-spacing: 0.009em;
    margin: 32px 0 16px 0;
}

.post-content p {
    margin-bottom: 24px;
}

.post-content ul,
.post-content ol {
    margin: 24px 0;
    padding-left: 32px;
}

.post-content li {
    margin-bottom: 8px;
    line-height: 1.4211;
}

.post-content strong {
    font-weight: 600;
}


@media (max-width: 1068px) {
    nav {
        padding: 0 22px;
    }
    
    main {
        padding: 0 22px;
    }
}

@media (max-width: 834px) {
    .hero h2 {
        font-size: 40px;
        line-height: 1.1;
        letter-spacing: 0;
    }

    .hero p {
        font-size: 21px;
        line-height: 1.381;
        letter-spacing: 0.011em;
    }

    .about h2, .blog h2 {
        font-size: 32px;
        line-height: 1.125;
        letter-spacing: 0.004em;
    }

    .blog-post {
        padding: 32px;
    }
}

@media (max-width: 430px) {
    nav {
        height: 44px;
        padding: 0 16px;
    }

    nav h1 {
        font-size: 19px;
    }

    nav ul {
        gap: 24px;
    }

    main {
        padding: 0 16px;
    }

    .hero {
        padding: 60px 0 40px 0;
        margin-bottom: 80px;
    }

    .hero h2 {
        font-size: 32px;
        line-height: 1.125;
        letter-spacing: 0.004em;
        margin-bottom: 16px;
    }

    .hero p {
        font-size: 19px;
        line-height: 1.4211;
        letter-spacing: 0.012em;
    }

    .about, .blog {
        margin: 80px 0;
    }

    .about h2, .blog h2 {
        font-size: 28px;
        line-height: 1.14286;
        letter-spacing: 0.007em;
        margin-bottom: 32px;
    }

    .about p {
        font-size: 17px;
        line-height: 1.47059;
        letter-spacing: -0.022em;
    }

    .blog-post {
        padding: 24px;
        margin: 32px 0;
        border-radius: 16px;
    }

    .blog-post h3 {
        font-size: 24px;
        line-height: 1.16667;
        letter-spacing: 0.009em;
    }

    .blog-post p {
        font-size: 17px;
        line-height: 1.47059;
        letter-spacing: -0.022em;
    }

    .blog-post-full {
        margin: 40px auto 80px auto;
    }

    .post-header h1 {
        font-size: 32px;
        line-height: 1.125;
        letter-spacing: 0.004em;
        margin-bottom: 16px;
    }

    .post-content {
        font-size: 17px;
        line-height: 1.47059;
        letter-spacing: -0.022em;
    }

    .post-content h2 {
        font-size: 24px;
        line-height: 1.16667;
        letter-spacing: 0.009em;
        margin: 32px 0 16px 0;
    }

    .post-content h3 {
        font-size: 21px;
        line-height: 1.381;
        letter-spacing: 0.011em;
        margin: 24px 0 12px 0;
    }

}