/* Stratly Shared Styles */

:root {
    --forest: #2D5A45;
    --forest-light: #3D7A5D;
    --forest-dark: #1D3A2D;
    --forest-lighter: #e8f0eb;
    --cream: #F8F6F1;
    --cream-dark: #EDE9E0;
    --slate: #4A5568;
    --slate-light: #718096;
    --white: #FFFFFF;
    --orange: #D97706;
    --orange-light: #fef3e2;
    --red: #be4b5c;
    --red-light: #fef2f2;
    --shadow-sm: 0 1px 2px rgba(45, 90, 69, 0.05);
    --shadow-md: 0 4px 12px rgba(45, 90, 69, 0.1);
    --shadow-lg: 0 12px 40px rgba(45, 90, 69, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--slate);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    color: var(--forest-dark);
    line-height: 1.2;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-mark {
    width: 36px;
    height: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.logo-bar {
    height: 6px;
    width: 24px;
    background: var(--forest);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.logo-bar:nth-child(1) {
    transform: translateX(6px);
    opacity: 1;
}

.logo-bar:nth-child(2) {
    transform: translateX(-2px);
    opacity: 0.8;
}

.logo-bar:nth-child(3) {
    transform: translateX(6px);
    opacity: 0.6;
}

.logo:hover .logo-bar:nth-child(1) { transform: translateX(8px); }
.logo:hover .logo-bar:nth-child(2) { transform: translateX(-4px); }
.logo:hover .logo-bar:nth-child(3) { transform: translateX(8px); }

.logo-text {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--forest-dark);
    letter-spacing: -0.03em;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    background: rgba(248, 246, 241, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--cream-dark);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--slate);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-links a.btn {
    color: var(--white);
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--forest-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-dark);
    padding: 1rem 2rem 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 99;
    box-shadow: var(--shadow-md);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--slate);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--cream-dark);
    transition: color 0.2s;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    color: var(--forest);
}

.mobile-menu a.btn {
    margin-top: 0.5rem;
    text-align: center;
    border-bottom: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn:focus-visible {
    outline: 2px solid var(--forest);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--forest);
    color: var(--white) !important;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--forest-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    color: var(--white) !important;
}

.btn-secondary {
    background: var(--white);
    color: var(--forest);
    border: 2px solid var(--forest);
    border-radius: 12px;
}

.btn-secondary:hover {
    background: var(--forest);
    color: var(--white);
}

/* Footer */
footer {
    padding: 3rem 2rem;
    background: var(--forest-dark);
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.footer-logo .logo-mark {
    min-width: 40px;
    overflow: visible;
}

.footer-logo .logo-bar {
    background: var(--white);
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-text {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

/* Legal/Content Pages */
.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content li {
    margin-bottom: 0.5rem;
}

.content a {
    color: var(--forest);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.content a:hover {
    color: var(--forest-light);
}

.last-updated {
    color: var(--slate-light);
    font-size: 0.95rem;
    margin-bottom: 3rem;
}

.highlight-box {
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-left: 4px solid var(--forest);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
}

.highlight-box p {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .content {
        padding: 6rem 1.5rem 3rem;
    }

    .content h1 {
        font-size: 2rem;
    }
}
