﻿/* ConXus content pages (privacy, terms, about...) in content/. Matches the landing page (landing.css). */

:root {
    --cx-ink: #0B3C48;
    --cx-text: #1F2D31;
    --cx-body: #3A4A50;
    --cx-muted: #5B6B70;
    --cx-blue: #0A96C4;
    --cx-link: #0A7FA6;
    --cx-yellow: #F7C51E;
    --cx-kicker: #E07A0B;
    --cx-line: #E1EEF1;
    --cx-bg: #F5FAFB;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--cx-text);
    background: var(--cx-bg);
    line-height: 1.65;
}

a {
    color: var(--cx-link);
    text-decoration: underline;
    text-underline-offset: 2px;
}

    a:hover {
        color: #075E7B;
    }

.cx-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* nav (same as the landing page) */
.cx-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(245,250,251,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--cx-line);
}

.cx-nav-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.cx-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cx-ink);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
}

    .cx-brand:hover {
        color: var(--cx-ink);
    }

.cx-nav-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

.cx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 18px;
    text-decoration: none;
    white-space: nowrap;
}

    .cx-btn:hover {
        filter: brightness(1.06);
    }

.cx-btn-primary {
    background: var(--cx-blue);
    color: #FFFFFF;
}

    .cx-btn-primary:hover {
        color: #FFFFFF;
    }

.cx-btn-outline {
    border: 1.5px solid #B9DCE4;
    color: #0B4F5E;
}

    .cx-btn-outline:hover {
        color: #0B4F5E;
    }

/* page header */
.cx-hero {
    background: radial-gradient(1000px 420px at 85% 0%, #CDEBF1 0%, rgba(205,235,241,0) 70%), var(--cx-bg);
}

.cx-hero-inner {
    padding-top: 56px;
    padding-bottom: 40px;
}

.cx-kicker {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.6px;
    color: var(--cx-kicker);
    text-transform: uppercase;
}

.cx-h1 {
    margin: 10px 0 0;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.08;
    letter-spacing: -1.5px;
    font-weight: 800;
    color: var(--cx-ink);
}

.cx-date {
    margin: 12px 0 0;
    font-size: 15px;
    color: var(--cx-muted);
}

.cx-intro {
    margin: 18px 0 0;
    font-size: 19px;
    line-height: 1.6;
    color: var(--cx-body);
    max-width: 760px;
}

/* "in short" summary */
.cx-summary {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
}

.cx-point {
    background: #FFFFFF;
    border: 1px solid var(--cx-line);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cx-point-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    background: #E3F3F7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cx-point-title {
    font-weight: 800;
    font-size: 16px;
    color: var(--cx-ink);
    line-height: 1.3;
}

.cx-point-text {
    font-size: 14px;
    color: var(--cx-muted);
    margin-top: 3px;
    line-height: 1.5;
}

/* body: contents + sections */
.cx-body {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    padding-top: 24px;
    padding-bottom: 80px;
}

.cx-toc {
    flex: 0 0 240px;
    position: sticky;
    top: 96px;
    background: #FFFFFF;
    border: 1px solid var(--cx-line);
    border-radius: 18px;
    padding: 18px 18px 12px;
}

.cx-toc-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    color: var(--cx-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cx-toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cx-toc li {
    margin: 0;
}

.cx-toc a {
    display: block;
    padding: 6px 10px;
    margin: 0 -10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cx-body);
    text-decoration: none;
    line-height: 1.35;
}

    .cx-toc a:hover {
        background: #E3F3F7;
        color: var(--cx-ink);
    }

.cx-content {
    flex: 1 1 560px;
    min-width: 0;
}

.cx-section {
    background: #FFFFFF;
    border: 1px solid var(--cx-line);
    border-radius: 22px;
    padding: 28px 32px;
    margin-bottom: 16px;
}

    .cx-section h2 {
        margin: 0 0 12px;
        font-size: 22px;
        line-height: 1.25;
        letter-spacing: -0.3px;
        font-weight: 800;
        color: var(--cx-ink);
        display: flex;
        gap: 12px;
        align-items: center;
    }

.cx-num {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 16px;
    background: var(--cx-blue);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
}

.cx-section p {
    margin: 0 0 12px;
    font-size: 16px;
    color: var(--cx-body);
}

    .cx-section p:last-child {
        margin-bottom: 0;
    }

.cx-section strong {
    color: var(--cx-text);
}

.cx-section ul {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

    .cx-section ul:last-child {
        margin-bottom: 0;
    }

.cx-section li {
    position: relative;
    padding-left: 26px;
    margin: 6px 0;
    font-size: 16px;
    color: var(--cx-body);
}

    .cx-section li::before {
        content: "";
        position: absolute;
        left: 4px;
        top: 0.62em;
        width: 8px;
        height: 8px;
        border-radius: 4px;
        background: var(--cx-yellow);
    }

.cx-note {
    font-size: 14px;
    color: var(--cx-muted);
    padding: 8px 4px 0;
}

/* footer (same as the landing page) */
html {
    background: #0B3C48;
}

.cx-footer {
    background: var(--cx-ink);
    color: #B7D6DD;
}

.cx-footer-top {
    padding-top: 40px;
    padding-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.cx-footer-brandrow {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cx-footer-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cx-footer-brand {
    font-size: 22px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.3px;
    line-height: 1.1;
}

.cx-footer-tag {
    font-size: 14px;
    color: #B7D6DD;
    margin-top: 2px;
}

.cx-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
}

    .cx-footer-links a {
        color: #FFFFFF;
        text-decoration: none;
    }

        .cx-footer-links a:hover {
            color: var(--cx-yellow);
        }

.cx-footer-bottom {
    border-top: 1px solid rgba(183,214,221,0.2);
    padding-top: 18px;
    padding-bottom: 28px;
    font-size: 13px;
    color: #8FB4BD;
}

@media (max-width: 860px) {
    .cx-toc {
        position: static;
        flex: 1 1 100%;
    }
}

@media (max-width: 560px) {
    .cx-brand-name {
        display: none;
    }

    .cx-section {
        padding: 22px 20px;
        border-radius: 18px;
    }

    .cx-hero-inner {
        padding-top: 36px;
    }
}

/* contact page */
.cx-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    padding-bottom: 24px;
}

.cx-contact-card {
    background: #FFFFFF;
    border: 1px solid var(--cx-line);
    border-radius: 22px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .2s, box-shadow .2s;
}

    .cx-contact-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 30px rgba(11,79,94,0.12);
    }

.cx-contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cx-contact-title {
    margin: 6px 0 0;
    font-size: 21px;
    font-weight: 800;
    color: var(--cx-ink);
    line-height: 1.25;
}

.cx-contact-text {
    margin: 0;
    font-size: 15px;
    color: var(--cx-muted);
    line-height: 1.55;
}

.cx-contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--cx-body);
    flex: 1;
}

    .cx-contact-list li {
        padding-left: 18px;
        position: relative;
        margin: 4px 0;
    }

        .cx-contact-list li::before {
            content: "";
            position: absolute;
            left: 2px;
            top: 0.6em;
            width: 6px;
            height: 6px;
            border-radius: 3px;
            background: var(--cx-yellow);
        }

.cx-contact-action {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cx-contact-email {
    font-size: 14px;
    color: var(--cx-muted);
}

.cx-faq {
    padding-top: 8px;
    padding-bottom: 80px;
}

.cx-faq-title {
    margin: 0 0 16px;
    font-size: 26px;
    font-weight: 800;
    color: var(--cx-ink);
    letter-spacing: -0.4px;
}

.cx-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 14px;
}

.cx-faq-item {
    background: #FFFFFF;
    border: 1px solid var(--cx-line);
    border-radius: 18px;
    padding: 20px 22px;
}

.cx-faq-q {
    font-weight: 800;
    font-size: 16px;
    color: var(--cx-ink);
}

.cx-faq-a {
    margin: 6px 0 0;
    font-size: 15px;
    color: var(--cx-body);
    line-height: 1.55;
}
