/* Shared base styles for all Retinue landing pages */

:root:not([data-theme="dark"]) {
    --pico-color: #cde;
}

:root {
    --primary: #4a90a4;
    --primary-hover: #3d7a8c;
    --secondary: #7eb09b;
    --accent: #e8a87c;
    --background: #fafafa;
    --surface: #ffffff;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --border: #e2e8f0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background: var(--background);
    line-height: 1.6;
    margin: 0;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 1rem 2rem;
    margin-top: 4rem;
}

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

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

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-links a:hover,
.footer-links a:focus {
    opacity: 0.8;
    text-decoration: underline;
}

.copyright {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 100;
}

.skip-to-main:focus {
    top: 0;
}

/* Focus styles */
a:focus,
button:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}
