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

html, body {
    height: 100%;
}

body {
    font-family: 'Courier New', Courier, 'Lucida Console', Monaco, monospace;
    line-height: 1.6;
    background-color: #f5f1e8;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 98px, rgba(139, 115, 85, 0.03) 98px, rgba(139, 115, 85, 0.03) 100px);
    color: #2c2c2c;
    font-size: 14px;
    min-height: 100vh;
}

/* Centered Main Content Area */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 3rem;
    background-color: #faf8f3;
    border: 2px solid #d4c5b0;
    margin-top: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

header {
    margin-bottom: 5rem;
    border-bottom: 2px solid #8b7355;
    padding-bottom: 3rem;
    position: relative;
}

header::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background-color: #6b5d4f;
}

h1 {
    font-size: 2.5rem;
    font-weight: normal;
    margin: 0 0 3rem 0;
    line-height: 1.4;
    color: #1a1a1a;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding-left: 1rem;
    border-left: 4px solid #8b7355;
}

nav {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    padding-left: 1rem;
}

nav a {
    color: #6b5d4f;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
    padding: 0.5rem 1rem;
    border: 1px solid #d4c5b0;
    letter-spacing: 1px;
    background-color: #faf8f3;
}

nav a:hover {
    color: #f5f1e8;
    background-color: #2c2c2c;
    border-color: #6b5d4f;
    transform: translateY(-1px);
}

nav a:active {
    color: #f5f1e8;
    background-color: #2c2c2c;
}

section {
    margin-top: 4rem;
    padding: 2rem;
    background-color: #faf8f3;
    border: 1px solid #d4c5b0;
    border-left: 4px solid #8b7355;
}

section.intro {
    margin-top: 3rem;
    padding: 2.5rem;
    background-color: #f5f1e8;
    border: 1px dashed #8b7355;
    border-left: 4px solid #6b5d4f;
}

h2 {
    font-size: 1.75rem;
    font-weight: normal;
    margin: 0 0 2.5rem 0;
    line-height: 1.4;
    color: #1a1a1a;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 2px solid #8b7355;
    padding-bottom: 0.75rem;
    display: inline-block;
    padding-right: 2rem;
}

h2::before {
    content: "> ";
    color: #6b5d4f;
    font-weight: bold;
}

p {
    margin-bottom: 2rem;
    line-height: 1.9;
    color: #3a3a3a;
    max-width: 75ch;
    text-align: left;
    padding-left: 1rem;
}

section.intro p {
    font-size: 1.1rem;
    color: #2c2c2c;
    padding-left: 0;
    margin-bottom: 0;
}

a {
    color: #6b5d4f;
    text-decoration: underline;
}

a:hover {
    color: #2c2c2c;
}

h3 {
    font-size: 1.4rem;
    font-weight: normal;
    margin: 3rem 0 1.5rem 0;
    color: #1a1a1a;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid #8b7355;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
}

h4 {
    font-size: 1.1rem;
    font-weight: normal;
    margin: 2rem 0 1rem 0;
    color: #2c2c2c;
    letter-spacing: 0.5px;
    padding-left: 1rem;
    font-style: italic;
}

ul {
    list-style: none;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

li {
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    line-height: 1.7;
    color: #3a3a3a;
    position: relative;
}

li::before {
    content: "• ";
    color: #6b5d4f;
    font-weight: bold;
    position: absolute;
    left: 0;
}

p.note {
    font-style: italic;
    color: #6b5d4f;
    margin-bottom: 2rem;
    padding-left: 1rem;
}

a.button-link {
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    color: #1a1a1a;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    margin-top: 0.5rem;
    background-color: #e8e0d5;
    border: 1px solid #8b7355;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

a.button-link:hover {
    background-color: #8b7355;
    color: #f5f1e8;
    border-color: #6b5d4f;
    transform: translateY(-1px);
}

footer {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid #d4c5b0;
    text-align: center;
    font-size: 0.75rem;
    color: #6b5d4f;
}

footer .social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
    align-items: center;
}

footer .social-links .social-header {
    margin-right: 0.5rem;
    font-weight: normal;
}

footer .social-links a {
    color: #6b5d4f;
    text-decoration: none;
    transition: color 0.2s;
}

footer .social-links a:hover {
    color: #2c2c2c;
    text-decoration: underline;
}

#password-gate {
    margin-top: 1rem;
}

#password-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

#password-input {
    font-family: 'Courier New', Courier, 'Lucida Console', Monaco, monospace;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #8b7355;
    background-color: #faf8f3;
    color: #2c2c2c;
    min-width: 200px;
}

#password-input:focus {
    outline: none;
    border-color: #6b5d4f;
    background-color: #f5f1e8;
}

#password-form button {
    font-family: 'Courier New', Courier, 'Lucida Console', Monaco, monospace;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid #8b7355;
    background-color: #e8e0d5;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.2s;
}

#password-form button:hover {
    background-color: #8b7355;
    color: #f5f1e8;
    border-color: #6b5d4f;
}

#error-message {
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

