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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #fff;
}

.layout {
    max-width: 580px;
    margin: 0 auto;
    padding: 40px 20px;
}

.branding {
    height: 36px;
    width: 36px;
    margin-bottom: 24px;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 4px;
}
h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 28px 0 12px;
}
h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 24px 0 8px;
}

p {
    margin-bottom: 12px;
    color: #333;
    font-size: 0.925rem;
}

a {
    color: #0066cc;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.subtitle {
    color: #666;
    font-size: 0.85rem;
}

hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 12px 0 20px;
}

/* Project Cards */
.projects,
#projects-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.card-border {
    height: 3px;
}

.card-content {
    display: flex;
    align-items: center;
    padding: 14px;
    gap: 14px;
}

.card-content img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.card-info {
    flex: 1;
}
.card-info h4 {
    margin: 0 0 4px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.card-info h4 a {
    color: inherit;
}
.card-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #666;
}

.tag {
    font-size: 0.65rem;
    font-weight: 500;
    padding: 2px 8px;
    background: #f3f4f6;
    border-radius: 10px;
    color: #555;
}

.external-link {
    margin-left: auto;
    color: #999;
    font-size: 0.85rem;
}

.discontinued {
    opacity: 0.5;
}
.discontinued .tag {
    background: #fee2e2;
    color: #991b1b;
}
.acquired .tag {
    background: #d1fae5;
    color: #065f46;
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.process-card {
    background: #f0ebff;
    padding: 16px;
    border-radius: 8px;
}

.process-icon {
    width: 36px;
    height: 36px;
    background: #e0d6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 1rem;
}

.process-card p {
    margin: 0;
    font-size: 0.8rem;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
}

.btn-primary {
    background: #1a1a1a;
    color: #fff;
}
.btn-primary:hover {
    background: #333;
    text-decoration: none;
}
.btn-secondary {
    background: #f3f4f6;
    color: #1a1a1a;
}
.btn-secondary:hover {
    background: #e5e7eb;
    text-decoration: none;
}

/* Testimonials */
.testimonial {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.testimonial-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.testimonial-head img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.testimonial-head h4 {
    margin: 0;
    font-size: 0.9rem;
}
.testimonial p {
    margin: 0;
    font-size: 0.85rem;
    color: #555;
}

/* Social */
.social-list {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    color: #1a1a1a;
}

.twitter {
    background: #e8f5fd;
}
.producthunt {
    background: #fff0ef;
}
.github {
    background: #f3f4f6;
}

.footer {
    color: #999;
    font-size: 0.75rem;
    margin-top: 30px;
}

@media (max-width: 500px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
    .btn-group {
        flex-direction: column;
    }
    .btn {
        text-align: center;
    }
}
