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

html {
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: #ffffff;
    color: #333333;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.tinnitus-container {
    max-width: 800px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 2rem 1rem;
    background-color: #f8f9fa;
}

.headline {
    margin-bottom: 2rem;
    text-align: center;
}

.headline h1 {
    margin-bottom: 1rem;
    color: #333333;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.2;
}

.headline .breakthrough {
    color: #e53e3e;
    font-weight: 700;
}

.video-section,
.content-section {
    margin-bottom: 2rem;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.video-section {
    padding: 1.5rem;
}

.video-image-link {
    display: block;
    text-decoration: none;
}

.video-image {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    border: 1px solid #dddddd;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.video-image-link:hover .video-image {
    transform: scale(1.02);
}

.watch-now-btn {
    display: block;
    width: 100%;
    margin-bottom: 1.5rem;
    padding: 1rem 2rem;
    border: 0;
    border-radius: 4px;
    background: #ff6b35;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.watch-now-btn:hover,
.watch-now-btn:focus-visible {
    background: #e55a2b;
}

.content-section {
    padding: 2rem;
}

.content-text {
    margin-bottom: 1.5rem;
    color: #333333;
    font-size: 1.1rem;
    line-height: 1.6;
}

.content-text p {
    margin-bottom: 1rem;
}

.bottom-cta {
    margin-bottom: 3rem;
    text-align: center;
}

.bottom-cta .watch-now-btn {
    margin-bottom: 0;
}

.disclaimer-section {
    margin-top: auto;
    padding: 2rem;
    border-top: 1px solid #e2e8f0;
    background: #f8f9fa;
    text-align: center;
}

.disclaimer-section p {
    margin-bottom: 1rem;
    color: #666666;
    font-size: 0.875rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .tinnitus-container {
        padding: 1.25rem 0.75rem;
    }

    .video-section,
    .content-section {
        padding: 1.25rem;
    }

    .disclaimer-section {
        padding: 1.5rem 1rem;
    }
}

/* Shared legal and footer styles */
.site-footer {
    margin-top: 1rem;
    padding: 1.5rem 1rem 0.5rem;
    border-top: 1px solid #d9dee5;
    color: #666666;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1.25rem;
    margin-bottom: 1rem;
}

.footer-links a,
.footer-contact a,
.legal-content a,
.home-link {
    color: #315f8a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible,
.legal-content a:hover,
.legal-content a:focus-visible,
.home-link:hover,
.home-link:focus-visible {
    color: #1f4568;
}

.footer-contact {
    margin: 0 auto 0.85rem;
    color: #666666;
    font-size: 0.84rem;
    font-style: normal;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.footer-copyright {
    margin: 0;
    color: #777777;
    font-size: 0.8rem;
}

.legal-page {
    background: #f1f3f5;
}

.legal-container {
    width: min(900px, calc(100% - 2rem));
    margin: 2rem auto;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

.legal-header {
    padding: 2.25rem 2.5rem 1.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.legal-header h1 {
    margin: 1rem 0 0.35rem;
    color: #252525;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
}

.home-link {
    display: inline-block;
    font-weight: 600;
}

.last-updated,
.legal-intro {
    color: #6b7280;
}

.legal-content {
    padding: 0.5rem 2.5rem 2.25rem;
}

.legal-content section {
    padding-top: 1.75rem;
}

.legal-content h2 {
    margin-bottom: 0.65rem;
    color: #2f2f2f;
    font-size: 1.3rem;
    line-height: 1.3;
}

.legal-content p {
    margin-bottom: 0.85rem;
}

.legal-content ul {
    margin: 0.25rem 0 1rem 1.5rem;
}

.legal-content li {
    margin-bottom: 0.4rem;
}

.contact-card {
    padding: 1.35rem;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
    background: #f8f9fa;
}

.contact-card address {
    margin: 0.75rem 0;
    font-style: normal;
}

.legal-container .site-footer {
    margin: 0;
    padding: 1.75rem 2rem;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

@media (max-width: 600px) {
    .legal-container {
        width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .legal-header,
    .legal-content {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .legal-container .site-footer {
        border-radius: 0;
    }

    .footer-contact {
        font-size: 0.8rem;
    }
}
