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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Instrument Sans', -apple-system, sans-serif;
    background: #fefdfb;
    color: #2b2b2b;
    line-height: 1.8;
}

/* Nav */

nav {
    border-bottom: 1px solid #f0ece6;
}

.nav-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 16px;
    font-weight: 600;
    color: #2b2b2b;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    font-size: 13px;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #9e6b2d;
}

/* Main */

main {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}

article {
    padding: 52px 0 48px;
}

/* Header */

.chip {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #9e6b2d;
    background: #faf1e4;
    border: 1px solid #f0dfc6;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(32px, 7vw, 52px);
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.dek {
    font-size: 19px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 560px;
}

.byline {
    font-size: 13px;
    color: #aaa;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.byline .sep {
    margin: 0 8px;
    color: #ddd;
}

/* Body */

section {
    margin-bottom: 48px;
    position: relative;
}

.section-num {
    font-family: 'Fraunces', serif;
    font-size: 48px;
    font-weight: 700;
    color: #f0ece6;
    position: absolute;
    top: -8px;
    left: -4px;
    line-height: 1;
    user-select: none;
}

h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-left: 48px;
    letter-spacing: -0.3px;
}

article p {
    font-size: 17px;
    color: #444;
    margin-bottom: 16px;
}

article p strong {
    font-weight: 600;
    color: #1a1a1a;
}

article p em {
    font-style: italic;
}

article a, .more-articles a {
    color: #9e6b2d;
    text-decoration: underline;
    text-decoration-color: rgba(158, 107, 45, 0.25);
    text-underline-offset: 3px;
}

article a:hover {
    text-decoration-color: #9e6b2d;
}

.big-first {
    font-size: 19px;
    color: #333;
}

/* Action list */

.action-list {
    margin: 28px 0;
}

.action {
    display: flex;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid #f0ece6;
}

.action:last-child {
    border-bottom: none;
}

.action-icon {
    font-size: 24px;
    min-width: 36px;
    padding-top: 2px;
}

.action h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.action p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* Highlight box */

.highlight-box {
    background: #faf6f0;
    border: 1px solid #ede5d8;
    border-radius: 10px;
    padding: 22px 24px;
    margin: 28px 0;
    font-size: 16px;
    color: #555;
}

.highlight-box strong {
    color: #1a1a1a;
}

/* Check list */

.check-list {
    list-style: none;
    margin: 20px 0;
}

.check-list li {
    font-size: 16px;
    color: #444;
    padding: 8px 0 8px 28px;
    position: relative;
}

.check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #9e6b2d;
    font-weight: 700;
    font-size: 14px;
}

.check-list li strong {
    color: #1a1a1a;
}

/* Tool cards */

.tool-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 12px;
}

.tool-card.featured {
    border-color: #d4b896;
    background: #fffcf8;
}

.tool-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9e6b2d;
    margin-bottom: 10px;
}

.tool-card h3 {
    font-size: 19px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.tool-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.7;
}

.tool-details {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #999;
    margin-bottom: 18px;
    padding-top: 14px;
    border-top: 1px solid #f0ece6;
}

.tool-cta {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #9e6b2d;
    padding: 11px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tool-cta:hover {
    background: #8a5c24;
    transform: translateY(-1px);
}

/* Closing */

.closing {
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.closing h2 {
    padding-left: 0;
}

/* More articles */

.more-articles {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px 64px;
}

.more-articles h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    padding-left: 0;
    margin-bottom: 20px;
}

.article-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.article-link {
    display: block;
    background: #fff;
    border: 1px solid #f0ece6;
    border-radius: 10px;
    padding: 22px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.article-link:hover {
    border-color: #d4b896;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.article-link-chip {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9e6b2d;
    display: block;
    margin-bottom: 8px;
}

.article-link h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.article-link p {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
    margin: 0;
}

/* Footer */

footer {
    border-top: 1px solid #eee;
    padding: 32px 24px;
}

.footer-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    font-size: 13px;
    color: #ccc;
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 12px;
    color: #bbb;
    text-decoration: none;
}

.footer-links a:hover {
    color: #9e6b2d;
}

/* Responsive */

@media (max-width: 600px) {
    .section-num {
        position: static;
        font-size: 32px;
        margin-bottom: 4px;
    }

    h2 {
        padding-left: 0;
    }

    .action {
        flex-direction: column;
        gap: 8px;
    }

    article {
        padding: 36px 0 48px;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}
