/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    background: #fff;
    min-height: 100vh;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #5DC7B7;
    color: #000;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    z-index: 100;
    border: 2px solid #000;
    transform: translateY(-100%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    top: 0;
    transform: translateY(0);
    outline: 3px solid #000;
    outline-offset: 2px;
}

/* Focus Styles - Consistent across site */
*:focus {
    outline: 3px solid #5DC7B7;
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 3px solid #5DC7B7;
    outline-offset: 2px;
}

/* Header */
header {
    border-bottom: 2px solid #5DC7B7;
    padding: 1.5rem 0;
}

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

.logo {
    text-decoration: none;
    color: #000;
    display: inline-block;
}

.logo:hover {
    opacity: 0.8;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: -0.5px;
}

.logo p {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}

.back-link {
    padding: 0.5rem 1.5rem;
    background: transparent;
    color: #5DC7B7;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #5DC7B7;
    transition: all 0.2s;
    display: inline-block;
}

.back-link:hover,
.back-link:focus {
    background: #5DC7B7;
    color: #000;
}

/* Footer */
footer {
    border-top: 2px solid #5DC7B7;
    padding: 2rem 1rem;
    text-align: center;
    color: #666;
    background: #f9f9f9;
    margin-top: 4rem;
}

footer p {
    margin-bottom: 0.5rem;
}

footer nav {
    margin-top: 0.5rem;
}

footer nav span {
    margin: 0 0.5rem;
    color: #999;
}

footer a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s;
    padding: 0.25rem 0.5rem;
}

footer a:hover,
footer a:focus {
    color: #5DC7B7;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Print Styles */
@media print {
    .skip-link,
    header,
    footer,
    .back-link {
        display: none;
    }
}