/* ================================
   CSS Reset & Base Styles
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #FFFFFF;
    --text-color: #000000;
    --text-secondary: #666666;
    --text-light: #999999;
    --mist-color: 255, 255, 255;
    --logo-invert: 0;
    --nav-bg: rgba(255, 255, 255, 0.8);
    --nav-border: rgba(0, 0, 0, 0.1);
    --nav-hover: rgba(0, 0, 0, 0.05);
    --showcase-gradient: radial-gradient(ellipse at center, #ffffff 0%, #f5f5f5 30%, #e8e8e8 50%, #FFFFFF 80%);
    --showcase-text-color: #000000;
    --footer-bg: #0a0a0a;
    --footer-text: #FFFFFF;
    --footer-text-secondary: #CCCCCC;
    --footer-border: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] {
    --bg-color: #0a0a0a;
    --text-color: #FFFFFF;
    --text-secondary: #CCCCCC;
    --text-light: #999999;
    --mist-color: 10, 10, 10;
    --logo-invert: 1;
    --nav-bg: rgba(10, 10, 10, 0.8);
    --nav-border: rgba(255, 255, 255, 0.1);
    --nav-hover: rgba(255, 255, 255, 0.05);
    --showcase-gradient: radial-gradient(ellipse at center, #2a2a2a 0%, #1a1a1a 30%, #121212 50%, #0a0a0a 80%);
    --showcase-text-color: #FFFFFF;
    --footer-bg: #FFFFFF;
    --footer-text: #000000;
    --footer-text-secondary: #666666;
    --footer-border: rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ================================
   Scroll Snap Sections
   ================================ */
.snap-section {
    min-height: 100vh;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================================
   Header
   ================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 10%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(var(--mist-color), 1) 0%, rgba(var(--mist-color), 0.8) 50%, rgba(var(--mist-color), 0) 100%);
}

.logo-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.logo {
    height: 48px;
    width: auto;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    filter: invert(var(--logo-invert));
    transition: filter 0.3s ease, opacity 0.2s ease;
}

.logo-link:hover .logo {
    opacity: 0.7;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ================================
   Side Navigation Dots
   ================================ */
.side-nav {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.side-nav.visible {
    opacity: 1;
    pointer-events: auto;
}

.side-nav-dot {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.side-nav-dot .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-light);
    transition: all 0.3s ease;
}

.side-nav-dot .label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

.side-nav-dot:hover .dot {
    background: var(--text-color);
    transform: scale(1.3);
}

.side-nav-dot:hover .label {
    opacity: 1;
    transform: translateX(0);
}

.side-nav-dot.active .dot {
    width: 8px;
    height: 8px;
    background: var(--text-color);
}

.side-nav-dot.active .label {
    color: var(--text-color);
}

/* ================================
   Navigation
   ================================ */
.main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--nav-border);
    border-radius: 50px;
    padding: 0.5rem;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.3s forwards;
}

[data-theme="dark"] .main-nav {
    background: rgba(20, 20, 20, 0.4);
}

.nav-link {
    padding: 0.625rem 3rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: 50px;
    transition: background-color 0.2s ease, color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--nav-hover);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.02em;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.4s forwards;
    transition: color 0.3s ease;
}

.contact a {
    color: inherit;
    text-decoration: none;
}

.contact a:hover {
    color: var(--text-color);
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    opacity: 0;
    animation: fadeIn 0.8s ease 0.5s forwards;
    transition: opacity 0.2s ease, transform 0.2s ease, color 0.3s ease;
    border-radius: 4px;
}

.theme-toggle:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sun-icon {
    opacity: 0;
    position: absolute;
}

.moon-icon {
    opacity: 1;
}

[data-theme="dark"] .sun-icon {
    opacity: 1;
    position: relative;
}

[data-theme="dark"] .moon-icon {
    opacity: 0;
    position: absolute;
}

/* ================================
   Hero Section
   ================================ */
.main-container {
    width: 100%;
    overflow: hidden;
    padding-bottom: 33vh;
}

.arm-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 90vh;
    width: 650px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 1;
    transform: translateX(-50%);
}

.arm-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    animation: armRise 1.5s ease 0.5s forwards;
}

@keyframes armRise {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.arm-image {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.1));
}

.mist-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50vh;
    background: linear-gradient(to top, 
        rgba(var(--mist-color), 1) 0%, 
        rgba(var(--mist-color), 0.98) 10%,
        rgba(var(--mist-color), 0.95) 20%,
        rgba(var(--mist-color), 0.88) 30%,
        rgba(var(--mist-color), 0.7) 40%,
        rgba(var(--mist-color), 0.4) 50%,
        rgba(var(--mist-color), 0.15) 60%,
        rgba(var(--mist-color), 0.05) 70%,
        rgba(var(--mist-color), 0.02) 80%,
        rgba(var(--mist-color), 0.01) 90%,
        rgba(var(--mist-color), 0) 100%
    );
    pointer-events: none;
    z-index: 3;
    transition: background 0.3s ease;
}

.left-content {
    position: absolute;
    left: 10%;
    top: 72vh;
    z-index: 100;
    opacity: 0;
    animation: fadeInLeft 1s ease 0.8s forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.left-content .label-text {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.left-content .main-text {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--text-color);
    line-height: 1.3;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.right-content {
    position: absolute;
    right: 10%;
    top: 72vh;
    z-index: 100;
    opacity: 0;
    animation: fadeInRight 1s ease 1s forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.right-content .mission-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.mission-rotator {
    position: relative;
    height: 6rem;
    width: 380px;
    overflow: hidden;
}

.mission-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--text-color);
    line-height: 1.4;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease, color 0.3s ease;
}

.mission-item.active {
    opacity: 1;
    transform: translateY(0);
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 1.4em;
    background-color: var(--text-color);
    margin-left: 3px;
    animation: blink 0.8s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ================================
   Content Sections
   ================================ */
.content-section {
    padding: 0 10%;
    overflow-y: auto;
}

.section-container {
    max-width: 900px;
    width: 100%;
    transform: translateY(30px);
    transition: transform 0.8s ease;
}

.section-container.visible {
    transform: translateY(0);
}

.section-header {
    margin-bottom: 1.5rem;
    padding-top: 2rem;
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-color);
    transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.section-header.visible::before {
    width: 60px;
}

.section-prefix {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.section-header.visible .section-prefix {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--text-color);
    letter-spacing: -0.02em;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.section-header.visible .section-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.section-content {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.section-content > * {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.section-content.visible > *:nth-child(1) { transition-delay: 0.4s; }
.section-content.visible > *:nth-child(2) { transition-delay: 0.5s; }
.section-content.visible > *:nth-child(3) { transition-delay: 0.6s; }
.section-content.visible > *:nth-child(4) { transition-delay: 0.7s; }
.section-content.visible > *:nth-child(5) { transition-delay: 0.8s; }
.section-content.visible > *:nth-child(6) { transition-delay: 0.9s; }
.section-content.visible > *:nth-child(7) { transition-delay: 1.0s; }
.section-content.visible > *:nth-child(8) { transition-delay: 1.1s; }
.section-content.visible > *:nth-child(9) { transition-delay: 1.2s; }
.section-content.visible > *:nth-child(10) { transition-delay: 1.3s; }

.section-content.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.section-content p {
    margin-bottom: 1.5rem;
}

.section-content p:first-child:has(strong:first-child) {
    margin-bottom: 0;
}

.section-content p:has(+ ul) {
    margin-bottom: 0.5rem;
}

.section-content p + ul {
    margin-top: 0;
}

.section-content p:last-child {
    margin-bottom: 0;
}

.section-content strong {
    color: var(--text-color);
    font-weight: 600;
}

.section-content ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.section-content ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.section-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-color);
    font-weight: 600;
}

/* ================================
   Team Grid
   ================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
    margin-top: 2rem;
}

.team-member {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.team-photo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    flex: 1;
}

.team-info .name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.team-info .title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.team-info .bio {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    margin-top: 0.75rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.linkedin-link:hover {
    color: #0077B5;
}

.linkedin-link svg {
    width: 20px;
    height: 20px;
}

/* ================================
   Device Showcase Section
   ================================ */
.device-showcase {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--showcase-gradient);
    padding: calc(33vh + 4rem) 10%;
    overflow: hidden;
}

.showcase-background-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(5rem, 15vw, 14rem);
    font-weight: 300;
    color: var(--showcase-text-color);
    opacity: 0.25;
    white-space: normal;
    text-align: center;
    line-height: 1.8;
    letter-spacing: -0.02em;
    z-index: 1;
    pointer-events: none;
}

.device-image-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.device-image-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.device-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ================================
   Footer - No Snap
   ================================ */
.site-footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--footer-border);
    padding: 8rem 10% 4rem;
    color: var(--footer-text-secondary);
    min-height: 60vh;
}

.footer-container {
    display: flex;
    gap: 8rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.footer-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo img {
    width: 100px;
    height: auto;
    filter: invert(0);
}

body.light-mode .footer-logo img {
    filter: invert(1);
}

.footer-left h3 {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--footer-text);
    margin: 0;
}

.footer-content {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 300px;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--footer-text);
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--footer-text);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--footer-text-secondary);
}

.footer-section a {
    color: var(--footer-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--footer-text);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--footer-border);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--footer-text-secondary);
}

/* ================================
   Mobile Responsive
   ================================ */
@media (max-width: 768px) {
    .snap-section {
        height: auto;
        min-height: 100vh;
        display: block;
    }
    
    .side-nav {
        display: none;
    }
    
    header {
        padding: 1.5rem 5%;
    }
    
    .logo {
        height: 40px;
    }
    
    .main-nav {
        display: none;
    }
    
    .contact {
        display: none;
    }
    
    /* Mobile Hero Section - Fixed 100vh layout */
    .main-container {
        height: 100vh;
        position: relative;
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 100px;
        padding-bottom: 0;
    }
    
    /* Hide entire left-content section on mobile (Evergreen Health + Live 100 healthy years) */
    .left-content {
        display: none;
    }
    
    /* Mission section positioned at top with more spacing */
    .right-content {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        text-align: center;
        margin: 5rem auto 0;
        width: 90%;
        z-index: 10;
    }
    
    .right-content .mission-label {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .mission-rotator {
        width: 100%;
        height: 5.5rem;
        margin: 0 auto;
    }
    
    .mission-item {
        font-size: 1.35rem;
        text-align: center;
        line-height: 1.5;
    }
    
    /* Hand/Arm container - absolute positioned at bottom */
    .arm-container {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 500px;
        height: 70vh;
        z-index: 1;
    }
    
    .arm-wrapper {
        position: relative;
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }
    
    .arm-image {
        height: 100%;
        width: auto;
        max-height: 70vh;
        object-fit: contain;
        object-position: bottom;
    }
    
    /* Mist overlay positioned at bottom of hero */
    .mist-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 40vh;
        background: linear-gradient(to top, 
            rgba(var(--mist-color), 1) 0%, 
            rgba(var(--mist-color), 0.98) 10%,
            rgba(var(--mist-color), 0.95) 20%,
            rgba(var(--mist-color), 0.85) 30%,
            rgba(var(--mist-color), 0) 100%);
        pointer-events: none;
        z-index: 2;
    }
    
    .content-section {
        padding: 4rem 5%;
        overflow-y: visible;
    }
    
    /* Reduce initial offset for section animations on mobile */
    .section-container {
        transform: translateY(15px);
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-content {
        font-size: 0.9375rem;
    }
    
    .device-showcase {
        min-height: 70vh;
        padding: calc(23vh + 2rem) 5%;
    
    }
    .showcase-background-text {
        font-size: clamp(2.5rem, 10vw, 5rem);
        line-height: 7;
        top: 50%;
    }
    
    .device-image-container {
        max-width: 400px;
    }
    
    .site-footer {
        padding: 4rem 5% 2rem;
        min-height: auto;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-left {
        align-items: center;
        text-align: center;
    }
    
    .footer-logo img {
        width: 60px;
    }
    
    .footer-content {
        width: 100%;
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .team-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .team-photo {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1.25rem 4%;
    }
    
    .logo {
        height: 34px;
    }
    
    .theme-toggle {
        padding: 0.35rem;
    }
    
    .theme-toggle svg {
        width: 16px;
        height: 16px;
    }
    
    .main-container {
        padding-top: 90px;
    }
    
    .right-content {
        margin: 4rem auto 0;
    }
    
    .mission-rotator {
        width: 100%;
        height: 4rem;
    }
    
    .mission-item {
        font-size: 1rem;
    }
    
    .arm-container {
        max-width: 400px;
        height: 65vh;
    }
    
    .arm-image {
        max-height: 65vh;
    }
    
    .mist-overlay {
        height: 35vh;
    }
    
    .content-section {
        padding: 4rem 4%;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .section-content {
        font-size: 0.9375rem;
    }
}
/* ================================
   Legal Pages
   ================================ */
.legal-page {
    min-height: 100vh;
    padding: 8rem 5% 4rem;
    background: var(--bg-color);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.legal-container h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.legal-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-container h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-container h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-container p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-container ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.legal-container ul li {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.legal-container a {
    color: var(--text-color);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.legal-container a:hover {
    opacity: 0.7;
}

.legal-container strong {
    font-weight: 600;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .legal-page {
        padding: 6rem 5% 3rem;
    }
    
    .legal-container h1 {
        font-size: 2rem;
    }
    
    .legal-container h2 {
        font-size: 1.25rem;
    }
    
    .legal-container h3 {
        font-size: 1rem;
    }
}

/* Hero text fade on scroll */
.scroll-text {
    transition: opacity 0.15s ease-out;
}