/* Long-form content pages (About Us, Terms & Conditions, Privacy).
   Uses the palette/tokens defined in business.css (:root). */

.lp-page {
    width: min(980px, calc(100% - 48px));
    margin: 36px auto 80px;
}

/* ===== Hero ===== */

.lp-hero {
    text-align: center;
    margin-bottom: 28px;
}

.lp-badge {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 999px;
    background: #eaf3ff;
    color: var(--color-primary, #1A2653);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.lp-hero h1 {
    margin: 0 0 14px;
    font-size: 40px;
    line-height: 1.2;
    color: #111827;
    overflow-wrap: break-word;
}

.lp-hero p {
    margin: 0 auto;
    max-width: 640px;
    color: #475569;
    font-size: 17px;
    line-height: 1.7;
}

/* ===== Card ===== */

.lp-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 44px 48px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.lp-card + .lp-card {
    margin-top: 22px;
}

.lp-intro {
    margin: 0 0 8px;
    color: #334155;
    font-size: 17px;
    line-height: 1.75;
}

/* Section-opening heading inside a card (e.g. the privacy half of the terms page) */

.lp-card > .lp-badge {
    margin-bottom: 12px;
}

.lp-hero-sub {
    margin: 0;
    font-size: 26px;
    line-height: 1.3;
    color: #111827;
}

/* ===== Sections ===== */

.lp-section {
    padding-top: 28px;
    margin-top: 28px;
    border-top: 1px solid #eef2f6;
}

.lp-section:first-of-type {
    padding-top: 0;
    margin-top: 22px;
    border-top: none;
}

.lp-section h2 {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.35;
    color: #111827;
}

.lp-section h2 span {
    flex: none;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border-radius: 9px;
    background: #eaf3ff;
    color: var(--color-primary, #1A2653);
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lp-section p {
    margin: 0 0 14px;
    color: #475569;
    font-size: 16px;
    line-height: 1.75;
}

.lp-section p:last-child {
    margin-bottom: 0;
}

.lp-section strong {
    color: #1f2937;
}

/* ===== Company detail tiles ===== */

.lp-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0 0;
}

.lp-fact {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px 20px;
}

.lp-fact dt {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 7px;
}

.lp-fact dd {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    overflow-wrap: anywhere;
}

/* ===== Domain list ===== */

.lp-domains {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
}

.lp-domains li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    overflow-wrap: anywhere;
}

.lp-domains svg {
    flex: none;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--color-accent, #5AA766);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ===== Highlight / callout ===== */

.lp-callout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px solid #d7e8dc;
    border-radius: 16px;
    background: #f2f9f4;
}

.lp-callout svg {
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    fill: none;
    stroke: var(--color-accent-hover, #4F935A);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lp-callout p {
    margin: 0;
    color: #2f5d3d;
    font-size: 15px;
    line-height: 1.7;
}

.lp-callout a {
    color: var(--color-accent-hover, #4F935A);
    font-weight: 700;
}

/* ===== CTA ===== */

.lp-cta {
    margin-top: 22px;
    text-align: center;
    background: linear-gradient(135deg, #1A2653 0%, #24356f 100%);
    border: none;
    color: #ffffff;
}

.lp-cta h2 {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.3;
}

.lp-cta p {
    margin: 0 auto 24px;
    max-width: 520px;
    color: #c8d2ea;
    font-size: 16px;
    line-height: 1.7;
}

.lp-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.lp-btn--primary {
    background: linear-gradient(135deg, #5AA766 0%, #87CB92 50%, #5AA766 100%);
    color: #ffffff;
}

.lp-btn--primary:hover {
    background: #4F935A;
}

.lp-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.lp-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.16);
}

.lp-btn--light {
    background: #f3f4f6;
    color: #111827;
}

.lp-btn--light:hover {
    background: #e5e7eb;
}

/* ===== Page-foot links ===== */

.lp-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 18px;
    margin-top: 26px;
    color: #64748b;
    font-size: 14px;
}

.lp-foot a {
    color: var(--color-primary, #1A2653);
    font-weight: 700;
    text-decoration: none;
}

.lp-foot a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .lp-hero h1 {
        font-size: 32px;
    }

    .lp-card {
        padding: 32px 26px;
        border-radius: 20px;
    }
}

@media (max-width: 640px) {
    .lp-page {
        width: calc(100% - 32px);
        margin: 24px auto 56px;
    }

    .lp-hero h1 {
        font-size: 27px;
    }

    .lp-hero p,
    .lp-intro {
        font-size: 15.5px;
    }

    .lp-section h2 {
        font-size: 18px;
    }

    .lp-actions .lp-btn {
        width: 100%;
    }
}
