:root {
    --template-primary: var(--primary-color);
    --template-accent: var(--accent-color);
    --template-bg: var(--section-bg-1);
    --template-bg-alt: var(--section-bg-1);
    --template-border: color-mix(in srgb, var(--primary-color) 12%, white);
    --template-shadow: 0 2px 24px var(--primary-shadow);
    --template-radius: 18px;
    --template-section-gap: 5rem;
    --template-font: 'DM Sans', 'Segoe UI', Arial, sans-serif;
    --template-font-headers: 'DM Sans', 'Segoe UI', Arial, sans-serif;
    --font-sans: var(--template-font);
    --font-heading: var(--template-font-headers);
    --template-header-weight: 700;
    --template-body-weight: 400;
    --platinum-title: var(--primary-color);
}

html, body {
    min-height: 100vh;
    background: var(--template-bg);
    color: var(--primary-color);
    font-family: var(--template-font);
    font-weight: var(--template-body-weight);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.65;
    font-size: 1.08rem;
    overflow-x: hidden;
}

section {
    margin-bottom: var(--template-section-gap);
    background: var(--template-bg-alt);
    border-radius: var(--template-radius);
    box-shadow: var(--template-shadow);
    padding: 3.5rem 0;
    position: relative;
}

@media (max-width: 900px) {
    section {
        padding: 2.2rem 0;
        margin-bottom: 3rem;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--template-font-headers);
    font-weight: var(--template-header-weight);
    margin: 0 0 1.3rem 0;
    color: var(--template-primary);
    letter-spacing: -0.01em;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.11;
}

h2 {
    font-size: 2.1rem;
    line-height: 1.16;
}

h3 {
    font-size: 1.45rem;
    line-height: 1.21;
}

h4, h5, h6 {
    font-size: 1.09rem;
    font-weight: 600;
}

p {
    font-size: 1.07rem;
    margin: 0 0 1.2rem 0;
    color: var(--primary-color);
}

a {
    color: var(--template-primary);
    text-decoration: none;
    transition: color .15s;
}

    a:hover, a:focus {
        color: var(--template-accent);
    }

.button, button, input[type="submit"] {
    background: var(--template-primary);
    color: var(--accent-color);
    border-radius: var(--template-radius);
    border: none;
    padding: 0.9em 2.6em;
    font-family: var(--template-font);
    font-size: 1.1em;
    font-weight: 600;
    box-shadow: 0 2px 18px var(--primary-shadow);
    cursor: pointer;
    transition: background 0.18s, color 0.15s, box-shadow 0.15s;
    outline: none;
}

    .button:hover, button:hover, input[type="submit"]:hover {
        background: var(--template-accent);
        color: var(--template-primary);
    }

.feature-card, .testimonial-card, .pricing-card {
    background: var(--template-bg-alt);
    border-radius: var(--template-radius);
    box-shadow: var(--template-shadow);
    padding: 2rem 2.3rem;
    border: 1px solid var(--template-border);
    margin-bottom: 2.5rem;
}

.feature-card {
    text-align: left;
    border-left: 5px solid var(--template-accent);
}

.pricing-card {
    text-align: center;
    border-top: 4px solid var(--template-primary);
    background: var(--section-bg-1);
}

.testimonial-card {
    background: color-mix(in srgb, var(--accent-color) 8%, white);
    border-left: 5px solid var(--template-accent);
}

.cta-section {
    background: linear-gradient(108deg, var(--template-primary) 60%, var(--template-accent) 100%);
    color: var(--accent-color);
    padding: 3.7rem 0 3.7rem 0;
    border-radius: var(--template-radius);
    text-align: center;
    box-shadow: 0 4px 32px var(--primary-shadow);
}

    .cta-section h2, .cta-section h3, .cta-section h4 {
        color: var(--accent-color);
    }

img {
    max-width: 100%;
    border-radius: calc(var(--template-radius) - 4px);
    box-shadow: 0 1.5px 8px var(--primary-shadow);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.2rem;
    box-shadow: 0 2px 6px var(--primary-shadow);
}

.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
}

    .pricing-table th, .pricing-table td {
        padding: 1.2rem 1.4rem;
        border-bottom: 1px solid var(--template-border);
    }

    .pricing-table th {
        background: var(--section-bg-1);
        color: var(--template-primary);
        font-size: 1.11em;
    }

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.38rem;
    }

    .feature-card, .testimonial-card, .pricing-card {
        padding: 1.15rem 0.85rem;
    }

    section, .cta-section {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
}

/* Divider for between sections */
.section-divider {
    border: none;
    border-top: 2.5px solid var(--template-border);
    margin: 0 0 var(--template-section-gap) 0;
}

blockquote {
    color: var(--primary-color);
    font-style: italic;
    border-left: 4px solid var(--template-accent);
    padding-left: 1.2rem;
    margin: 1.5rem 0;
}

/* Utility classes (te- prefix = template-engine scoped) */
.te-text-center {
    text-align: center;
}

.tenant-theme .te-text-accent {
    color: var(--template-accent);
}

.tenant-theme .te-bg-primary {
    background: var(--template-primary);
    color: var(--accent-color);
}

.tenant-theme .te-bg-accent {
    background: var(--template-accent);
    color: var(--primary-color);
}

.tenant-theme .features-title,
.tenant-theme .pricing-title,
.tenant-theme .case-studies-title,
.tenant-theme .testimonials-title,
.tenant-theme .contact-title {
    color: var(--platinum-title);
}
/* End TemplateE.css */
