@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400&display=swap');

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

body, input, textarea, select, button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}

body {
    background-color: #fff;
}

.container {
    max-width: 650px;
    margin: 0 auto;
    padding: 60px 20px;
}

header {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

h1 {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: #000;
    letter-spacing: -0.02em;
}

.subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 20px;
}

nav {
    display: flex;
    gap: 12px;
}

nav a {
    color: #666;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.2s ease;
}

nav a:hover {
    color: #000;
    background-color: #f5f5f5;
    border-color: #999;
}

.hero-image {
    margin: 40px 0 60px;
    text-align: center;
    overflow: hidden;
}

.hero-image img {
    max-width: 390px;
    width: 100%;
    height: auto;
    opacity: 0.9;
    filter: grayscale(10%);
    object-fit: cover;
    object-position: center;
    transform: scale(1.3);
}

main {
    margin-bottom: 60px;
}

.post {
    margin-bottom: 60px;
}

.post time {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #000;
    letter-spacing: -0.01em;
}

.post h2 a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post h2 a:hover {
    color: #666;
}

.back-link {
    display: inline-block;
    color: #666;
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 30px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #000;
}

.post p {
    margin-bottom: 16px;
    color: #444;
    font-size: 1rem;
}

.stuff-i-like {
    margin-bottom: 60px;
}

.stuff-i-like h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 24px;
    color: #000;
    letter-spacing: -0.01em;
}

.links-list {
    list-style: none;
}

.links-list li {
    margin-bottom: 12px;
}

.links-list a {
    color: #666;
    text-decoration: underline;
    font-size: 1rem;
}

.links-list a:hover {
    color: #000;
}

.links-list .duration {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: #999;
    font-size: 0.875rem;
    margin-left: 4px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.page-number {
    color: #ccc;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s ease;
}

.page-number:hover {
    color: #666;
}

.page-number.active {
    color: #000;
}

.about-photo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin: 16px 0;
    display: block;
}

.subscribe-section {
    margin-bottom: 60px;
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.subscribe-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: #000;
    letter-spacing: -0.01em;
}

.subscribe-section p {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.subscribe-form {
    display: flex;
    gap: 8px;
    max-width: 400px;
    margin: 0 auto;
}

.subscribe-form input[type="email"] {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #333;
    transition: border-color 0.2s ease;
}

.subscribe-form input[type="email"]:focus {
    outline: none;
    border-color: #999;
}

.subscribe-form input[type="email"]::placeholder {
    color: #999;
}

.subscribe-form button {
    padding: 10px 24px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.subscribe-form button:hover {
    background-color: #333;
}

footer {
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    color: #999;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
        max-width: 100%;
    }

    h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.8rem;
    }

    nav {
        flex-wrap: wrap;
        gap: 8px;
    }

    nav a {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .hero-image {
        margin: 20px 0 40px;
    }

    .hero-image img {
        max-width: 100%;
        transform: scale(1);
    }

    .post h2 {
        font-size: 1.1rem;
    }

    .post time {
        font-size: 0.7rem;
    }

    .post p {
        font-size: 0.95rem;
    }

    .about-photo {
        width: 120px !important;
        height: 120px !important;
    }

    .subscribe-section h2 {
        font-size: 1.1rem;
    }

    .beehiiv-embed {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}

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

    .hero-image img {
        max-width: 400px;
    }

    nav a {
        font-size: 0.85rem;
    }
}
