* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    padding: 2rem 1rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Header */
header {
    text-align: left;
    margin-bottom: 3rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #222;
    text-align: left;
}

.rotating-text {
    color: #d32f2f;
    text-decoration: line-through;
    font-weight: normal;
    min-height: 1.2em;
    display: inline-block;
    min-width: 300px;
    text-align: left;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: normal;
    margin-top: 0.5rem;
}

/* Intro */
.intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.intro p {
    margin-bottom: 0.5rem;
}

/* Sections */
section {
    margin: 3rem 0;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #222;
}

.section-header {
    margin-bottom: 2rem;
}

.section-intro {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}

hr {
    border: none;
    border-top: 2px solid #eee;
    margin: 3rem 0;
}

/* Two Column Example Layout */
.example-section {
    margin: 3rem 0;
}

.two-column-example {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.chat-example {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
}

.chat-example h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #d32f2f;
}

.explanation {
    padding: 1rem 0;
}

.explanation h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.explanation p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.7;
}

/* Chat UI (Slack-style) */
.chat {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.message-them {
    flex-direction: row;
}

.message-us {
    flex-direction: row-reverse;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    flex-shrink: 0;
    background: #ddd;
    object-fit: cover;
}

.message-content {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    max-width: 80%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.message-us .message-content {
    background: #e3f2fd;
}

.message-content .name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #222;
}

.message-content .time {
    font-size: 0.75rem;
    color: #999;
    margin-left: 0.5rem;
}

.message-content p {
    margin: 0.5rem 0 0 0;
    color: #333;
    line-height: 1.4;
}

.message-content a {
    color: #1976d2;
    word-break: break-all;
    text-decoration: none;
}

.message-content a:hover {
    text-decoration: underline;
}

/* Do List (Good Examples) */
.do-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.do-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2e7d32;
}

.example {
    margin-top: 1rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 4px;
}

.example p {
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

.bad {
    color: #d32f2f;
}

.good {
    color: #2e7d32;
}

/* Seriously Section */
.seriously {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
}

.seriously h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.seriously > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.seriously h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.seriously h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.seriously ul {
    list-style-position: inside;
    color: #555;
}

.seriously li {
    margin: 0.5rem 0;
}

.help-section {
    margin: 3rem 0;
    padding: 2rem;
    background: white;
    border-radius: 8px;
}

.help-section h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.resources {
    margin-top: 3rem;
}

.resources h3 {
    margin: 2rem 0 1rem 0;
}

.resources ul {
    list-style-position: inside;
}

.resources li {
    margin: 0.5rem 0;
}

.resources a {
    color: #1976d2;
    text-decoration: none;
}

.resources a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
    color: #666;
}

.footer-note {
    font-style: italic;
    margin-bottom: 1rem;
}

footer p {
    margin: 0.5rem 0;
}

footer a {
    color: #1976d2;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 968px) {
    .two-column-example {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .chat-example {
        order: 1;
    }

    .explanation {
        order: 2;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    .rotating-text {
        min-width: 220px;
        font-size: 0.9em;
    }

    .subtitle {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .message-content {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    body {
        padding: 1rem 0.5rem;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    h1 {
        font-size: 1.6rem;
    }

    .rotating-text {
        display: block;
        margin-top: 0.5rem;
        min-width: auto;
    }

    .chat-example {
        padding: 1rem;
    }

    .avatar {
        width: 32px;
        height: 32px;
    }
}