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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #1d1d1f;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 500px;
    width: 100%;
    text-align: left;
}

.name {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.description {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    color: #6e6e73;
}

.highlight-link {
    color: #0077ed;
    text-decoration: none;
    cursor: pointer;
}

.highlight-link:hover,
.highlight-link:focus {
    text-decoration: underline;
}

.section {
    margin-bottom: 1.25rem;
}

.heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.links {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.links a {
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    color: #0066cc;
    transition: opacity 0.2s;
    line-height: 1.5;
}

.links a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.recent-list {
    list-style: none;
    text-align: left;
    padding-left: 1.5rem;
}

.recent-list li {
    margin-bottom: 0.5rem;
    position: relative;
}

.recent-list li::before {
    content: '•';
    position: absolute;
    left: -1.5rem;
}

.recent-list a {
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    text-decoration: none;
    color: #0066cc;
    transition: opacity 0.2s;
}

.recent-list a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.recent-list .date-author {
    color: #1d1d1f;
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
}

.description a {
    text-decoration: none;
    color: #0066cc;
    transition: opacity 0.2s;
}

.description a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.newsletter-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #d2d2d7;
}

.newsletter-text {
    font-size: 0.95rem;
    color: #6e6e73;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 0.625rem 1rem;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    background-color: #ffffff;
    color: #1d1d1f;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.newsletter-input:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.newsletter-input::placeholder {
    color: #86868b;
}

.newsletter-button {
    padding: 0.625rem 1.5rem;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    color: #ffffff;
    background-color: #0071e3;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
    white-space: nowrap;
}

.newsletter-button:hover {
    background-color: #0077ed;
}

.newsletter-button:active {
    opacity: 0.8;
}

.newsletter-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.newsletter-button:disabled:hover {
    background-color: #0071e3;
}

.newsletter-message {
    font-size: 0.95rem;
    margin-top: 0.75rem;
    line-height: 1.5;
    color: #34c759;
}

.not-found-body {
    padding: 40px;
}

.not-found-container {
    max-width: 520px;
    text-align: center;
}

.not-found-title {
    margin-bottom: 1rem;
}

.not-found-copy {
    color: #6e6e73;
    text-align: center;
    margin-bottom: 1.5rem;
}

.not-found-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.not-found-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
    min-width: 160px;
}

.not-found-button.primary {
    background-color: #0071e3;
    color: #ffffff;
    border: 1px solid transparent;
}

.not-found-button.primary:hover {
    background-color: #0077ed;
}

.not-found-button.secondary {
    background-color: #f5f5f7;
    color: #1d1d1f;
    border: 1px solid #d2d2d7;
}

.not-found-button.secondary:hover {
    background-color: #e8e8ed;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .name {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .description {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .heading {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .links {
        gap: 1.5rem;
        row-gap: 0.5rem;
    }
    
    .section {
        margin-bottom: 1rem;
    }

    .not-found-body {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 1.4rem;
    }
    
    .description {
        font-size: 0.9rem;
    }
    
    .heading {
        font-size: 0.95rem;
    }
    
    .links a,
    .recent-list a {
        font-size: 0.9rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .newsletter-input {
        min-width: 100%;
    }
    
    .newsletter-button {
        width: 100%;
    }
}

