/* Modern Sales Page Styles */
:root {
    --primary: #F88D12;
    --secondary: #1F8E21;
    --accent: #1F8E21;

    --primary-text: #ffffff;
    --secondary-text: #ffffff;
    --accent-text: #ffffff;

    --heading-text: #1A1A1A;
    --body-text: #1A1A1A;
    --muted-text: #6b7280;
    --link: #2563eb;

    --border: #f1f5f9;

    --table-header-bg: #f8f9fa;
    --table-border: var(--border);
    --table-hover: #f1f5f9;

    --background: #ffffff;
    
    --h1-font-size: clamp(2.5rem, 6vw + 1rem, 4rem);
    --h2-font-size: clamp(2rem, 4vw + 1rem, 3rem);
    --h3-font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
    --h4-font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem);
    --h5-font-size: clamp(1rem, 0.5vw + 1rem, 1.25rem);
    --h6-font-size: clamp(0.75rem, 0.25vw + 1rem, 1rem);

    --base-font-size: 1.1rem;
    --line-height-body: 1.6;
    --line-height-heading: 1.2;

    --outset-md: 28px;

    --radius: 1rem;

}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--mini-page-heading-font);
    font-weight: 500;
    line-height: var(--line-height-heading);
    color: var(--heading-text);
    margin-bottom: 1.25rem;
    margin-top: 0;
}

div, p, th, td, li, blockquote, cite, details, summary {
    font-family: var(--mini-page-body-font);
}

body {
    color: var(--body-text);
    padding: 0;
    margin: 0;
    width: 100%;
    height: auto;
    background-color: var(--background);
    font-size: var(--base-font-size);
    line-height: var(--line-height-body);
}

a {
    color: var(--link);
    text-decoration: none;
}

a:hover { text-decoration: underline; }

div.container {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: 2rem;
}

div.container *, div.container ::after, div.container ::before {
    box-sizing: inherit;
}

html {
    /* Ensures smooth scaling and respects user settings */
    font-size: 100%; 
    -webkit-font-smoothing: antialiased;
}

/* Fluid Typography using a "Major Third" or "Perfect Fourth" scale logic */
h1 {
    font-size: var(--h1-font-size);
}

h2 {
    font-size: var(--h2-font-size);
}

h3 {
    font-size: var(--h3-font-size);
}

p {
    font-size: var(--base-font-size);
    margin-bottom: 1.25rem;
    margin-top: 0;
    min-height: 1.6em;
}

mark {
    background-color: #FAFF00;
    padding: 0 0.25rem;
}

figure {
    margin: 0 auto;
    margin-bottom: 1.25rem;
}

figure:has(> img),
figure:has(> a > img) {
    text-align: center;
}

figure:has(> img) img,
figure:has(> a > img) img {
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--radius);
}

figure:has(> .embed-content) {
    text-align: center;
}

figure:has(> .embed-content) iframe {
    margin-left: auto;
    margin-right: auto;
}

img {
    max-width: 100%;
}

/* Table */
.table-wrapper {
    margin: 2rem 0;
    border: 1px solid var(--table-border);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead tr {
    background-color: var(--table-header-bg);
    border-bottom: 2px solid var(--table-border);
}

th {
    font-size: 95%;
    font-weight: 500;
    padding: 1rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

td {
    font-size: 95%;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--table-border);
}

table p, table div {
    margin: 0;
}

tbody tr:nth-child(even) { background-color: #fefefe; }

/* Testimonials */
blockquote {
    border-left: 4px solid var(--primary);
    padding: 1rem 2rem;
    margin: 2rem 0;
    background: #f1f5f9;
    font-style: italic;
    border-radius: var(--radius);
}

cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-size: 90%;
    color: var(--muted-text);
}

/* FAQ Details */
details {
    margin-bottom: 1.25rem;
    cursor: pointer;
}

summary { font-weight: 600; }

details p {
    padding-left: 1rem;
}

hr {
    border: 0;
    height: 1px;
    background: #e5e5e5;
    margin: 1.25rem 0;
}

figcaption {
    font-size: 85%;
    color: var(--muted-text);
}

/* Grid */
.grid {
    display: grid;
    gap: 1rem;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

.grid-cols-3-2 {
    grid-template-columns: 3fr 2fr;
}

.grid-cols-2-3 {
    grid-template-columns: 2fr 3fr;
}

.grid-cols-3-7 {
    grid-template-columns: 3fr 7fr;
}

/* custom classes */
.guarantee-box {
    border: 2px dashed var(--border);
    padding: 24px 28px;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
}

.guarantee-box.guarantee-primary {
    border-color: var(--primary);
    background-color: color-mix(in srgb, var(--primary), white 95%);
}

.guarantee-box.guarantee-secondary {
    border-color: var(--secondary);
    background-color: color-mix(in srgb, var(--secondary), white 95%);
}

.guarantee-box.guarantee-neutral {
    border-color: var(--border);
    background-color: var(--background);
}

.callout-box {
    border: 2px solid var(--border);
    padding: 20px 24px;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
}

.callout-box.callout-primary {
    border-color: var(--primary);
    background-color: color-mix(in srgb, var(--primary), white 95%);
}

.callout-box.callout-secondary {
    border-color: var(--secondary);
    background-color: color-mix(in srgb, var(--secondary), white 95%);
}

.callout-box.callout-neutral {
    border-color: var(--border);
    background-color: var(--background);
}

/* Feature Card */
.feature-card {
    background: var(--background);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-link {
    font-size: 95%;
    transition: opacity 0.2s;
}

.feature-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Author Box */
.author-card {
    background: var(--background);
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover; /* Prevents stretching */
    border: 4px solid var(--border);
}

.author-name {
    color: var(--heading-text);
    margin-top: 0;
}

.author-bio {
    font-size: var(--base-font-size);
    color: var(--body-text);
}

.author-socials {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.social-link {
    font-size: 85%;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.social-link:hover {
    color: color-mix(in srgb, var(--primary), black 20%);
}

/* Testimonial */
.testimonial-card {
    padding: 2em;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    background-color: color-mix(in srgb, var(--border), white 50%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.25rem;
}

.testimonial-card.testimonial-primary {
    border-color: var(--primary);
    background-color: color-mix(in srgb, var(--primary), white 95%);
}

.testimonial-card.testimonial-primary .testimonial-quote-icon svg {
    color: var(--primary);
}

.testimonial-card.testimonial-secondary {
    border-color: var(--secondary);
    background-color: color-mix(in srgb, var(--secondary), white 95%);
}

.testimonial-card.testimonial-secondary .testimonial-quote-icon svg {
    color: var(--secondary);
}

.testimonial-card.testimonial-neutral {
    border-color: var(--border);
    background-color: var(--background);
}

.testimonial-card.testimonial-neutral .testimonial-quote-icon svg {
    color: var(--primary);
}

.container .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.testimonial-quote-icon {
    margin: 0;
    pointer-events: none;
    user-select: none;
    /* margin-bottom: .75rem; */
}

.testimonial-quote-icon svg {
    color: var(--primary);
    width: 32px;
    height: 32px;
}

.testimonial-text {
    font-size: var(--base-font-size);
    line-height: var(--line-height-body);
    color: var(--body-text); /* Deep, nearly black main text */
}

.testimonial-author {
    display: flex;
    align-items: center; /* Vertically center image and text */
    gap: 24px; /* Space between the avatar and the text */
    padding-top: 1rem;
}

.testimonial-avatar img {
    width: 72px !important; /* Large enough to be clear */
    height: 72px !important;
    border-radius: 50%; /* Perfect circle */
    object-fit: cover; /* Prevents image distortion */
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.testimonial-secondary .testimonial-avatar img {
    outline-color: var(--secondary);
}

.testimonial-neutral .testimonial-avatar img {
    outline-color: var(--border);
}

.testimonial-author-meta {
    display: flex;
    flex-direction: column; /* Stack name above title */
    gap: 4px; /* Small space between name and title */
}

.testimonial-author-meta p {
    margin-bottom: 0;
}

.testimonial-author-name {
    font-size: var(--base-font-size);
    font-weight: 700;
    color: var(--text);
}

.testimonial-author-title {
    font-size: 75%;
    color: var(--muted-text);
}

/* CTA */
.cta-button {
    text-align: center;
    margin: 2rem 0;
}

.cta-button a {
    display: inline-block;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: var(--h5-font-size);
    letter-spacing: 1px;
    text-decoration: none;
    text-align: center;
    font-family: var(--mini-page-heading-font);
}

.cta-button a:hover {
    opacity: 0.9;
}

.cta-button a.button-primary {
    background: var(--primary);
    color: var(--primary-text);
}

.cta-button a.button-secondary { 
    background: var(--secondary);
    color: var(--secondary-text);
}

.cta-button a.button-bordered {
    color: var(--primary);
    outline: 1px solid var(--primary);
}

.cta-button a.button-bordered:hover {
    background: var(--primary);
    color: var(--primary-text);
}

/* Pricing */
.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.25rem;
}

.pricing-card.highlight {
    margin-top: 0;
}

.pricing-card {
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.pricing-card.pricing-neutral {
    background: var(--background);
}

.pricing-card.pricing-primary {
    background: color-mix(in srgb, var(--primary), white 95%);
    border-color: var(--primary);
}

.pricing-card.pricing-secondary {
    background: color-mix(in srgb, var(--secondary), white 95%);
    border-color: var(--secondary);
}

.container .pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.pricing-title {
    margin: 0;
}

.pricing-desc {
    font-size: 95%;
}

.pricing-original {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.pricing-original-text {
    text-decoration: line-through;
    color: var(--muted-text);
    font-size: var(--h4-font-size);
    font-family: var(--mini-page-heading-font);
}

.pricing-discount-text {
    background: color-mix(in srgb, var(--accent), white 80%);
    color: var(--accent);
    font-size: 75%;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
    text-transform: uppercase;
}

.pricing-price-container {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 0;
}

.pricing-price {
    font-weight: 500;
    font-family: var(--mini-page-heading-font);
    font-size: var(--h2-font-size);
}

.pricing-period {
    font-size: 85%;
}

.pricing-period-info {
    color: var(--muted-text);
    font-size: 85%;
    margin-top: 0;
}

.pricing-card .cta-button {
    margin-bottom: 1rem;
}

.pricing-card .cta-button a {
    display: block;
    width: 100%;
    transition: background 0.2s;
    cursor: pointer;
}

/* The "Most Popular" Ribbon/Badge at the top */
.popular-tag {
    padding: 0.4rem 0;
    border-radius: 8px 8px 0 0;
    font-size: 85%;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin: 0;
}

.pricing-card.pricing-primary .popular-tag {
    background: var(--primary);
    color: var(--primary-text);
}

.pricing-card.pricing-secondary .popular-tag {
    background: var(--secondary);
    color: var(--secondary-text);
}

.pricing-card.pricing-neutral .popular-tag {
    background: var(--border);
    color: var(--heading-text);
}

.highlight article {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: none;
}

ul.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem 0;
    padding-top: 1rem;
}

.pricing-primary ul.pricing-features {
    border-top: 1px solid color-mix(in srgb, var(--primary), white 75%);
}

.pricing-secondary ul.pricing-features {
    border-top: 1px solid color-mix(in srgb, var(--secondary), white 75%);
}

.pricing-neutral ul.pricing-features {
    border-top: 1px solid var(--border);
}

ul.pricing-features li {
    list-style: none;
    margin-bottom: 12px;
    color: var(--body-text);
    font-size: 95%;
    line-height: 1.5;
}

ul.pricing-features li::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    
    /* The Magic Part */
    -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 512 512"><!--!Font Awesome Free v5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.004l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"/></svg>');
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 512 512"><!--!Font Awesome Free v5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.004l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"/></svg>');
    mask-repeat: no-repeat;
    mask-size: contain;

    transform: translateY(4px);
    margin-right: 8px;
}

.pricing-primary ul.pricing-features li::before {
    background-color: var(--primary);
}

.pricing-secondary ul.pricing-features li::before {
    background-color: var(--secondary);
}

.pricing-neutral ul.pricing-features li::before {
    background-color: var(--primary);
}


:focus-visible {
    outline: none;
}

details:hover {
    cursor: text;
}

.container details summary:hover {
    cursor: pointer;
}

.embed-content {
    max-width: 100%;
    line-height: 0;
}

.embed-content iframe {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--radius);
}

.embed-content.embed-responsive {
    position: relative;
    width: 100%;
}

.embed-content.embed-responsive iframe {
    width: 100%;
}

.wrap-center {
    text-align: center;
}

.wrap-center img {
    margin-left: auto;
    margin-right: auto;
}

.wrap-center figcaption {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.wrap-left {
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
    max-width: 200px;
}
.wrap-right {
    float: right;
    margin-left: 1em;
    margin-bottom: 1em;
    max-width: 200px;
}

.outset-right {
    position: relative;
    width: calc(100% + var(--outset-md));
    max-width: calc(100% + var(--outset-md));
    transform: translateX(var(--outset-md)) translate3d(0, 0, 0);
    left: calc(var(--outset-md) * -1);
}

.outset-left {
    width: calc(100% + var(--outset-md));
    max-width: calc(100% + var(--outset-md));
    transform: translateX(calc(var(--outset-md) * -1)) translate3d(0, 0, 0);
}
.outset-both {
    position: relative;
    width: calc(100% + var(--outset-md) + var(--outset-md));
    max-width: calc(100% + var(--outset-md) + var(--outset-md));
    transform: translateX(-50%) translate3d(0, 0, 0);
    left: 50%;
}

/* Mobile */

@media (max-width: 48rem) {

    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table th,
    table td {
        white-space: nowrap;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-cols-3-7 {
        grid-template-columns: 2fr 3fr;
    }

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

    .author-card {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }

    .author-socials {
        justify-content: flex-start;
    }
    
    .author-avatar {
        height: 240px;
    }

    .author-bio,
    .author-socials,
    .author-socials .social-link {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

@media (max-width: 28rem) {
    .grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .author-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .author-avatar {
        height: auto;
    }

    .author-socials {
        justify-content: center;
    }

    img {
        width: 100% !important;
        height: 100% !important;
    }
}