/* Brand variables */
:root {
    --brand-accent: #2BA8AD;
}

/* Base Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* Main container */
main {
    max-width: 1100px;       /* desktop max width */
    width: 90%;              /* shrink on smaller screens */
    margin: 20px auto;       /* center horizontally with vertical spacing */
    padding: 20px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 6px 0px;
    box-sizing: border-box;
}

/* Header Styles */
header {
    background-color: #ffffff;
    text-align: center;
    padding: 20px 0;
}

header .logo {
    width: 240px;
    margin: 0 auto 10px auto;
}

/* Navigation Styles */
header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header nav ul li {
    display: inline-block;
    margin: 0 15px;
}

header nav ul li a {
    color: #000;
    text-decoration: none;
    font-size: 18px;
}

header nav ul li a:hover {
    text-decoration: underline;
}

/* Global Headings */
h1 {
    font-size: clamp(1.8rem, 2.2vw, 2.2rem);
    font-weight: 600;
    line-height: 1.3;
    margin: 20px 0 15px 0;
    text-align: center;
    color: #222;
}

h1 span {
    color: var(--brand-accent);
}

h2 {
    font-size: clamp(1.5rem, 2vw, 1.8rem);
    font-weight: 600;
    margin: 15px 0 12px 0;
    text-align: center;
    color: var(--brand-accent);
}

h3 {
    font-size: clamp(1.4rem, 2vw, 1.6rem);
    font-weight: 600;
    margin: 12px 0 10px 0;
    text-align: left;
}

/* Paragraphs */
p {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Links (global, non-footer/nav) */
a {
    color: var(--brand-accent);
}

a:hover {
    text-decoration: underline;
}

/* Lists */
ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

ul li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

/* Sections: global spacing */
section {
    padding: 40px 0;
}

/* Subtle alternating section background */
section:nth-of-type(even) {
    background-color: color-mix(in srgb, var(--brand-accent) 6%, transparent);
}

/* Call-to-Action Button */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    background-color: #ff5c5c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.cta-button:hover {
    background-color: #e04e4e;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    padding: 10px;
    text-align: center;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* FAQ */
.faq-answer {
    display: none;
}

/* Container for large screens */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Stripe “Powered by” Styles (keep payment page untouched) */
.stripe-powered {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.stripe-powered span {
    font-size: 0.9rem;
    color: #555;
}

.stripe-powered svg {
    height: 30px;
    width: auto;
    max-width: 100%;
    flex-shrink: 0;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    main {
        width: 95%;
        padding: 20px;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 1.9rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    p, li {
        font-size: 0.95rem;
    }
    .cta-button {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.6rem;
    }
    h2 {
        font-size: 1.3rem;
    }
    p, li {
        font-size: 0.9rem;
    }
    main {
        width: 100%;
        padding: 15px;
        margin: 10px auto;
    }
    .cta-button {
        font-size: 0.95rem;
        padding: 10px;
    }
}
