/* ============================================================
   Cahaba Forge LLC - Main Stylesheet
   Colors: Charcoal #1F2933, Teal #1ABC9C, Text #C1CDD8
   Font: Montserrat (300, 400, 800)
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    background-color: #1F2933;
    color: #C1CDD8;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-weight: 800;
    color: #C1CDD8;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }

p {
    margin-bottom: 1rem;
    font-weight: 300;
}

a {
    color: #1ABC9C;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #16a085;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Container --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Navigation --- */
.site-nav {
    background-color: #1a2430;
    border-bottom: 1px solid rgba(26, 188, 156, 0.15);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 400;
    font-size: 1.1rem;
    color: #1ABC9C;
    letter-spacing: 0.5px;
}

.nav-brand:hover {
    color: #1ABC9C;
}

.nav-brand-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

/* Footer logo */
.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #8A9BA8;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1ABC9C;
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1ABC9C;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #C1CDD8;
    margin: 5px 0;
    transition: all 0.3s ease;
}

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

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

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

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 5rem 2rem 4rem;
}

.hero-logo {
    max-width: 950px;
    width: 100%;
    margin: 0 auto 2rem;
    display: block;
}

.hero-tagline {
    font-size: 1.35rem;
    font-weight: 300;
    color: #8A9BA8;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* --- Sections --- */
.section {
    padding: 5rem 0;
}

/* Section divider - thin teal line between sections */
.section + .section {
    border-top: 1px solid rgba(26, 188, 156, 0.3);
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 650px;
    margin: 0 auto;
    color: #8A9BA8;
    font-size: 1.05rem;
}

/* Accent line below headings */
.accent-line {
    width: 60px;
    height: 3px;
    background-color: #1ABC9C;
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* --- Feature Cards --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: rgba(26, 36, 48, 0.6);
    border: 1px solid rgba(26, 188, 156, 0.1);
    border-radius: 8px;
    padding: 2rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(26, 188, 156, 0.35);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1ABC9C;
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: #1ABC9C;
}

.feature-card p {
    font-size: 0.95rem;
    color: #8A9BA8;
    margin-bottom: 0;
}

/* --- Value Proposition --- */
.value-prop {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.value-prop p {
    font-size: 1.1rem;
    color: #C1CDD8;
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
    padding: 4rem 0;
}

.btn {
    display: inline-block;
    padding: 0.85rem 2.25rem;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #1ABC9C;
    color: #1F2933;
}

.btn-primary:hover {
    background-color: #16a085;
    color: #1F2933;
}

.btn-outline {
    background-color: transparent;
    color: #1ABC9C;
    border: 1px solid #1ABC9C;
}

.btn-outline:hover {
    background-color: #1ABC9C;
    color: #1F2933;
}

/* --- About Page --- */
.about-content {
    max-width: 780px;
    margin: 0 auto;
}

.about-content h2 {
    color: #1ABC9C;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.about-content h2:first-child {
    margin-top: 0;
}

.values-list {
    list-style: none;
    margin-top: 1.5rem;
}

.values-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(26, 188, 156, 0.1);
    font-size: 1rem;
}

.values-list li strong {
    color: #1ABC9C;
    font-weight: 800;
}

/* --- Utility --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --- Solutions / Product Page --- */
.product-hero {
    text-align: center;
    padding-bottom: 2rem;
}

.product-hero .product-logo {
    width: 240px;
    height: 240px;
    margin-bottom: 1.25rem;
    border-radius: 12px;
}

.product-hero h1 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.product-hero .subtitle {
    font-size: 1.1rem;
    color: #8A9BA8;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-feature {
    background-color: rgba(26, 36, 48, 0.6);
    border: 1px solid rgba(26, 188, 156, 0.1);
    border-radius: 8px;
    padding: 2rem;
}

.product-feature h3 {
    color: #1ABC9C;
    margin-bottom: 0.75rem;
}

.product-feature ul {
    list-style: none;
    padding: 0;
}

.product-feature ul li {
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.95rem;
    color: #8A9BA8;
}

.product-feature ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 6px;
    height: 6px;
    background-color: #1ABC9C;
    border-radius: 50%;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h3 {
    color: #1ABC9C;
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item .label {
    font-weight: 400;
    color: #C1CDD8;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.contact-item .value {
    color: #C1CDD8;
    font-size: 1rem;
}

.contact-item a {
    color: #1ABC9C;
}

.social-links {
    display: flex;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(26, 188, 156, 0.3);
    border-radius: 6px;
    color: #1ABC9C;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #1ABC9C;
    color: #1F2933;
    border-color: #1ABC9C;
}

/* --- Footer --- */
.site-footer {
    border-top: 1px solid rgba(26, 188, 156, 0.15);
    padding: 2rem 0;
    text-align: center;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #8A9BA8;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #1ABC9C;
}

.footer-legal {
    margin-bottom: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(26, 188, 156, 0.08);
}

.footer-legal a {
    font-size: 0.8rem;
    color: #5a6a78;
}

.footer-legal a:hover {
    color: #1ABC9C;
}

.footer-copy {
    color: #5a6a78;
    font-size: 0.85rem;
}

/* --- Page Header (for inner pages) --- */
.page-header {
    text-align: center;
    padding: 4rem 0 2rem;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #8A9BA8;
    font-size: 1.05rem;
}

/* --- Legal Document Pages --- */
.legal-content {
    max-width: 780px;
    margin: 0 auto;
}

.legal-meta {
    font-size: 0.95rem;
    color: #8A9BA8;
    margin-bottom: 2rem;
    line-height: 1.9;
}

.legal-meta strong {
    color: #C1CDD8;
    font-weight: 400;
}

.legal-content h2 {
    color: #1ABC9C;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(26, 188, 156, 0.15);
}

.legal-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    color: #C1CDD8;
    font-size: 1.15rem;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}

.legal-content h4 {
    color: #8A9BA8;
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

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

.legal-content li {
    font-size: 0.95rem;
    padding: 0.25rem 0;
    color: #C1CDD8;
}

.legal-content li strong {
    color: #C1CDD8;
    font-weight: 400;
}

.legal-content .legal-clause {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.legal-content .legal-clause-id {
    color: #8A9BA8;
    font-weight: 400;
    margin-right: 0.25rem;
}

.legal-content .legal-caps {
    font-size: 0.9rem;
    line-height: 1.8;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.9rem;
}

.legal-content th {
    text-align: left;
    padding: 0.6rem 0.75rem;
    border-bottom: 2px solid rgba(26, 188, 156, 0.2);
    color: #C1CDD8;
    font-weight: 400;
    white-space: nowrap;
}

.legal-content td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(138, 155, 168, 0.1);
    color: #8A9BA8;
}

.legal-content td strong {
    color: #C1CDD8;
    font-weight: 400;
}

.legal-content td code {
    background-color: rgba(26, 36, 48, 0.8);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.85rem;
    color: #1ABC9C;
}

.legal-content code {
    background-color: rgba(26, 36, 48, 0.8);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.85rem;
    color: #1ABC9C;
}

.legal-content .legal-note {
    font-size: 0.9rem;
    color: #8A9BA8;
    font-style: italic;
    border-left: 3px solid rgba(26, 188, 156, 0.3);
    padding-left: 1rem;
    margin: 1rem 0;
}

.legal-content .legal-signoff {
    font-style: italic;
    color: #8A9BA8;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(26, 188, 156, 0.15);
}

.legal-content .legal-contact {
    margin-top: 0.5rem;
}

.legal-content .legal-contact strong {
    color: #1ABC9C;
    font-weight: 800;
    display: block;
    margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
    .legal-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* --- Download / Registration Forms --- */
.form-card {
    max-width: 540px;
    margin: 0 auto;
    background-color: rgba(26, 36, 48, 0.6);
    border: 1px solid rgba(26, 188, 156, 0.1);
    border-radius: 8px;
    padding: 2.5rem;
}

.form-intro {
    color: #8A9BA8;
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 400;
    font-size: 0.9rem;
    color: #C1CDD8;
    margin-bottom: 0.4rem;
    letter-spacing: 0.3px;
}

.form-group .required {
    color: #1ABC9C;
    font-weight: 800;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: #C1CDD8;
    background-color: #1a2430;
    border: 1px solid rgba(26, 188, 156, 0.2);
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input::placeholder {
    color: #5a6a78;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #1ABC9C;
    box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.15);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A9BA8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background-color: #1a2430;
    color: #C1CDD8;
}

.form-actions {
    margin-top: 2rem;
    text-align: center;
}

.form-actions .btn {
    min-width: 200px;
}

.form-privacy {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #5a6a78;
    text-align: center;
}

.form-privacy a {
    color: #8A9BA8;
}

.form-privacy a:hover {
    color: #1ABC9C;
}

/* Form messages */
.form-message {
    border-radius: 5px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.form-message ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.form-message ul li {
    padding: 0.15rem 0;
}

.form-message-error {
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.form-message-success {
    background-color: rgba(26, 188, 156, 0.1);
    border: 1px solid rgba(26, 188, 156, 0.3);
    color: #1ABC9C;
}

.form-message-info {
    background-color: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    color: #5dade2;
}

/* Confirmation page */
.confirm-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #1ABC9C;
}

.confirm-text {
    font-size: 1.1rem;
    color: #C1CDD8;
    margin-bottom: 1rem;
}

.confirm-text strong {
    color: #1ABC9C;
    font-weight: 400;
}

.confirm-detail {
    font-size: 0.95rem;
    color: #8A9BA8;
    margin-bottom: 0.75rem;
}

.confirm-actions {
    margin-top: 2rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.5rem; }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1a2430;
        border-bottom: 1px solid rgba(26, 188, 156, 0.15);
        padding: 1rem 2rem;
        gap: 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(26, 188, 156, 0.07);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .site-nav {
        position: relative;
    }

    .hero {
        padding: 3rem 1.5rem 2.5rem;
    }

    .hero-logo {
        max-width: 90%;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-features {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    body { font-size: 15px; }

    .hero-tagline {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
}

/* --- Version Table (Downloads Page) --- */
.version-table-section {
    margin-bottom: 3rem;
}

.version-table-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.version-table-section > p {
    text-align: center;
    color: #8A9BA8;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.version-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.version-table thead th {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid rgba(26, 188, 156, 0.25);
    color: #C1CDD8;
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.version-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid rgba(138, 155, 168, 0.1);
    vertical-align: middle;
}

.version-table tbody tr:hover {
    background-color: rgba(26, 188, 156, 0.03);
}

.version-name {
    color: #1ABC9C;
    font-weight: 800;
    font-size: 1.05rem;
}

.version-jira {
    color: #C1CDD8;
    font-size: 0.95rem;
}

.version-notes a {
    color: #8A9BA8;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.version-notes a:hover {
    color: #1ABC9C;
}

.version-download .btn {
    padding: 0.55rem 1.5rem;
    font-size: 0.9rem;
}

.version-coming-soon {
    display: inline-block;
    color: #8A9BA8;
    font-size: 0.85rem;
    font-style: italic;
    padding: 0.45rem 1.2rem;
    border: 1px dashed rgba(138, 155, 168, 0.3);
    border-radius: 4px;
}

@media (max-width: 768px) {
    .version-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .version-table thead th,
    .version-table tbody td {
        padding: 0.6rem 0.75rem;
        white-space: nowrap;
    }
}

/* --- Release Notes Styles --- */
.release-entry {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(26, 188, 156, 0.15);
}

.release-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.release-entry h2 {
    color: #1ABC9C;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    padding-top: 0;
    border-top: none;
}

.release-meta {
    font-size: 0.9rem;
    color: #8A9BA8;
    margin-bottom: 1.5rem;
}

.release-meta span {
    display: inline-block;
    margin-right: 1.5rem;
}

.release-category {
    margin-bottom: 1.5rem;
}

.release-category h3 {
    color: #C1CDD8;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.release-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.release-category li {
    padding: 0.35rem 0 0.35rem 1.25rem;
    position: relative;
    font-size: 0.95rem;
    color: #8A9BA8;
}

.release-category li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    background-color: #1ABC9C;
    border-radius: 50%;
}

/* --- Trust & Security Page --- */
.security-highlight {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.security-stat {
    text-align: center;
    background-color: rgba(26, 36, 48, 0.6);
    border: 1px solid rgba(26, 188, 156, 0.1);
    border-radius: 8px;
    padding: 1.5rem 1rem;
}

.security-stat .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #1ABC9C;
    display: block;
    margin-bottom: 0.25rem;
}

.security-stat .stat-label {
    font-size: 0.85rem;
    color: #8A9BA8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .security-highlight {
        grid-template-columns: 1fr;
    }
}

/* --- Download PDF Button (Legal Pages) --- */
.legal-download-pdf {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 0.6rem 1.25rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #8A9BA8;
    background-color: transparent;
    border: 1px solid rgba(138, 155, 168, 0.3);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.legal-download-pdf:hover {
    color: #1ABC9C;
    border-color: rgba(26, 188, 156, 0.5);
}

.legal-download-pdf:focus {
    outline: 2px solid #1ABC9C;
    outline-offset: 2px;
}

.legal-download-pdf svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* --- Print Styles (Printer-Friendly PDF) --- */
@media print {
    /* White background, black text */
    body {
        background-color: #ffffff;
        color: #000000;
        font-size: 11pt;
        line-height: 1.5;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Hide non-content elements */
    .site-nav,
    .site-footer,
    .page-header .accent-line,
    .legal-download-pdf {
        display: none !important;
    }

    /* Page header - collapse spacing to prevent phantom first page */
    .page-header {
        padding: 0 !important;
        margin: 0 !important;
        text-align: left;
    }

    .page-header h1 {
        font-size: 18pt;
        color: #000000;
        margin: 0 0 0.15rem !important;
    }

    .page-header p {
        color: #333333;
        font-size: 10pt;
        margin: 0 0 0.25rem !important;
    }

    /* Section spacing */
    .section {
        padding: 0 !important;
        margin: 0 !important;
    }

    .section + .section {
        border-top: none !important;
    }

    /* Container */
    .container {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Legal content */
    .legal-content {
        max-width: 100% !important;
        margin: 0 !important;
    }

    .legal-meta {
        color: #333333;
        margin-bottom: 1rem;
        font-size: 9pt;
    }

    .legal-meta strong {
        color: #000000;
    }

    /* Headings */
    h1, h2, h3, h4 {
        color: #000000;
    }

    .legal-content h2 {
        color: #000000;
        font-size: 13pt;
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
        padding-top: 0.75rem;
        border-top: 1px solid #cccccc;
    }

    .legal-content h2:first-of-type {
        border-top: none;
        padding-top: 0;
    }

    .legal-content h3 {
        color: #000000;
        font-size: 11pt;
        margin-top: 1rem;
        margin-bottom: 0.25rem;
    }

    .legal-content h4 {
        color: #333333;
        font-size: 10pt;
    }

    /* Text */
    .legal-content p,
    .legal-content li {
        color: #000000;
        font-size: 10pt;
    }

    .legal-content li strong {
        color: #000000;
    }

    .legal-content .legal-clause {
        font-size: 10pt;
    }

    .legal-content .legal-clause-id {
        color: #333333;
    }

    .legal-content .legal-caps {
        font-size: 9pt;
    }

    .legal-content .legal-note {
        color: #333333;
        border-left-color: #999999;
        font-size: 9pt;
    }

    .legal-content .legal-signoff {
        color: #333333;
        border-top-color: #cccccc;
        font-size: 9pt;
    }

    .legal-content .legal-contact strong {
        color: #000000;
    }

    /* Tables */
    .legal-content table {
        font-size: 9pt;
    }

    .legal-content th {
        border-bottom: 2px solid #333333;
        color: #000000;
    }

    .legal-content td {
        border-bottom: 1px solid #cccccc;
        color: #000000;
    }

    .legal-content td strong {
        color: #000000;
    }

    .legal-content td code,
    .legal-content code {
        background-color: #f0f0f0;
        color: #333333;
        border: 1px solid #cccccc;
    }

    /* Links - show URL in parentheses */
    a {
        color: #000000;
        text-decoration: underline;
    }

    .legal-content a[href^="http"]::after,
    .legal-content a[href^="mailto"]::after {
        content: " (" attr(href) ")";
        font-size: 8pt;
        color: #555555;
    }

    /* Internal relative links - don't print URL */
    .legal-content a[href^="../"]::after {
        content: none;
    }

    /* Page margins */
    @page {
        margin: 0.75in 0.75in;
        size: letter;
    }

    /* Prevent page breaks inside elements */
    .legal-content h2,
    .legal-content h3 {
        page-break-after: avoid;
    }

    .legal-content table,
    .legal-content .legal-contact {
        page-break-inside: avoid;
    }
}
