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

/* Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
}

/* Center content */
.center-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Main title */
.main-title {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav a {
    font-size: 1rem;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.main-nav a:hover {
    border-bottom: 1px solid #1a1a1a;
}

/* Content pages */
.content-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

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

/* Text content */
.text-content {
    line-height: 1.8;
    color: #333;
}

.text-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.text-content p {
    margin-bottom: 1.5rem;
}

/* Text list */
.text-list {
    list-style: none;
}

.text-item {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #eee;
}

.text-item:last-child {
    border-bottom: none;
}

.text-item h2 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.text-item h2 a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.text-item h2 a:hover {
    border-bottom: 1px solid #1a1a1a;
}

.text-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.text-type {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: #f5f5f5;
    border-radius: 2px;
    font-size: 0.85rem;
    margin-left: 1rem;
}

.text-excerpt {
    color: #333;
    line-height: 1.7;
}

/* Single text page */
.text-header {
    margin-bottom: 3rem;
}

.text-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.text-date {
    font-size: 0.9rem;
    color: #666;
}

/* About photo */
.about-photo {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 2px;
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.product-item h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.product-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-link {
    display: inline-block;
    margin-top: 1rem;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
}

/* Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.2rem;
    }
    
    .main-nav {
        gap: 1.5rem;
    }
    
    .main-nav a {
        font-size: 0.9rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
}
