/* howtowinanexback.com — Charcoal (#2C2C2C) + Bright Teal (#00B4D8) */
/* Fonts: Raleway (headings) + Noto Serif (body) */
/* Layout: Minimal/clean, lots of white space, focused reading */

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

:root {
    --charcoal: #2C2C2C;
    --charcoal-light: #3D3D3D;
    --teal: #00B4D8;
    --teal-dark: #0096B4;
    --teal-faded: rgba(0, 180, 216, 0.08);
    --teal-border: rgba(0, 180, 216, 0.25);
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --text-body: #3A3A3A;
    --text-muted: #6B6B6B;
    --text-faint: #999999;
    --border-light: #E8E8E8;
}

html {
    font-size: 19px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif', Georgia, serif;
    font-weight: 400;
    line-height: 1.9;
    color: var(--text-body);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* TYPOGRAPHY — Minimal, clean, lots of breathing room */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    color: var(--charcoal);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-top: 3.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--teal);
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--charcoal-light);
}

h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Raleway', sans-serif;
    color: var(--teal-dark);
    font-size: 0.85rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--teal-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--teal-border);
    transition: border-color 0.2s ease, color 0.2s ease;
}

a:hover {
    color: var(--teal);
    border-bottom-color: var(--teal);
}

strong {
    font-weight: 700;
    color: var(--charcoal);
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
}

li {
    margin-bottom: 0.6rem;
}

blockquote {
    margin: 2.5rem 0;
    padding: 2rem 2.5rem;
    background: var(--teal-faded);
    border-left: 3px solid var(--teal);
    font-style: italic;
    color: var(--text-body);
}

blockquote p:last-child {
    margin-bottom: 0;
}

/* HEADER — Ultra minimal */
.site-header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.header-nav {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--charcoal);
    text-decoration: none;
    border: none;
    letter-spacing: -0.02em;
}

.logo:hover {
    color: var(--teal);
}

.nav-links {
    display: flex;
    gap: 1.75rem;
}

.nav-links a {
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    border: none;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--teal);
}

/* READING CONTAINER — Narrow, centered, maximum focus */
.reading-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

.article-hero {
    margin-bottom: 3rem;
}

.article-hero h1 {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-style: italic;
}

.content-body {
    font-size: 1rem;
}

/* ARTICLE INDEX */
.article-index {
    margin-top: 5rem;
    padding-top: 2.5rem;
    border-top: 2px solid var(--border-light);
}

.article-index h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--charcoal);
    border-bottom: none;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.article-index ul {
    list-style: none;
    padding: 0;
}

.article-index li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.article-index li:last-child {
    border-bottom: none;
}

.article-index a {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--charcoal);
    border: none;
}

.article-index a:hover {
    color: var(--teal);
}

/* READ MORE */
.read-more {
    margin-top: 5rem;
    padding-top: 2.5rem;
    border-top: 2px solid var(--border-light);
}

.read-more h2 {
    font-size: 1.1rem;
    border-bottom: none;
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.read-more ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.read-more li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-light);
}

.read-more li:last-child {
    border-bottom: none;
}

.read-more a {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    border: none;
}

.back-home {
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    border: none;
}

.back-home:hover {
    color: var(--teal);
}

/* FOOTER — Minimal */
.site-footer {
    border-top: 1px solid var(--border-light);
    padding: 3rem 2rem;
}

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

.footer-tagline {
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
}

.footer-nav a:hover {
    color: var(--teal);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--text-faint);
    line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    html {
        font-size: 17px;
    }

    .reading-container {
        padding: 2.5rem 1.25rem 4rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.4rem;
        margin-top: 2.5rem;
    }

    .header-nav {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-nav {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 16px;
    }

    h1 {
        font-size: 1.9rem;
    }

    .reading-container {
        padding: 2rem 1rem 3rem;
    }
}
