#smartpress-ai-footer-button { display: none; }

/* Root variables */
:root {
    --g-SI: linear-gradient(135deg, rgba(42, 217, 217, 1) 0%, rgba(255, 0, 255, 1) 100%);
    --c-CYAN: rgba(42, 217, 217, 1);
    --c-MAGENTA: rgba(255, 0, 255, 1);
    --c-BRAND: #007AC9;
    --c-BLACK: #333333;
    --c-OFFWHITE: #f8f8f8;
}

/* Base styles */
main, main * {
    box-sizing: border-box;
}

/* Main container with consistent padding */
.si-main {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem; /* 2rem padding from edges for all sections */
    color: var(--c-BLACK);
}

.section {
    margin: 2rem 0;
}

.section:first-child {
    margin-top: 0;
}

/* Layout containers */
.container {
    width: 100%;
    margin: 0 auto;
    max-width: 1440px;
    padding: 2rem;
    border-radius: 32px;
}

/* Hero styles */
.container--hero {
    position: relative;
    overflow: hidden;
}

/* White gradient overlay for text readability - mobile first */
.container--hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 1) 25%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Cyan/Magenta gradient background with smooth rotation animation - mobile first */
.container--hero::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300vw;
    height: 300vw;
    max-width: 800px;
    max-height: 800px;
    background: linear-gradient(0deg, var(--c-CYAN) 10%, var(--c-MAGENTA) 90%);
    z-index: 1;
    transform-origin: center center;
    transform: translate(-50%, -50%);
    animation: spin-gradient 15s linear infinite;
}

/* Responsive gradient sizes - mobile first approach */
@media (min-width: 481px) {
    .container--hero::after {
        width: 250vw;
        height: 250vw;
        max-width: 1000px;
        max-height: 1000px;
    }
}

@media (min-width: 768px) {
    .container--hero::after {
        width: 200vw;
        height: 200vw;
        max-width: 1440px;
        max-height: 1440px;
    }
}

@keyframes spin-gradient {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@media (min-width: 768px) {
    .container--hero {
        padding: 6rem 2rem;
    }
}

.highlight {
    background-image: var(--g-SI);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

/* Typography */
h1 {
    font-size: 40px;
    line-height: 1.1;
    text-transform: uppercase;
    font-weight: 600;
    font-family: var(--f-SANS-COND);
    margin: 1rem auto;
    position: relative;
    z-index: 3;
    text-align: center;
}

@media (min-width: 490px) {
    h1 {
        font-size: 60px;
    }
}

@media (min-width: 768px) {
    h1 {
        font-size: 80px;
    }
}

h2 {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 600;
    font-family: var(--f-SANS-COND);
    margin: 0;
}

@media (min-width: 768px) {
    h2 {
        font-size: 36px;
    }
}

.uppercase {
    text-transform: uppercase;
}

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

.font--normal {
    font-family: var(--f-SANS);
}

h3 {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0 0 1rem;
    font-family: var(--f-SANS-COND);
}

@media (min-width: 490px) {
    h3 {
        font-size: 20px;
    }
}

@media (min-width: 768px) {
    h3 {
        font-size: 24px;
        line-height: 1.5;
    }
}

p, dl {
    color: var(--c-BLACK);
    font-family: var(--f-SANS);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 1.6;
    margin: 1rem 0;
}

.feature {
    border-radius: 16px;
    /* padding: 40px; */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature svg {
    display: block;
    margin: 0 auto;
}


.tagline {
    font-size: 20px;
    line-height: 1.5;
    position: relative;
    z-index: 3;
    text-align: center;
    margin: 0 auto;
}

@media screen and (min-width: 490px) {
    .tagline {
        font-size: 20px;
        line-height: 1.6;
    }
}

@media screen and (min-width: 768px) {
    .tagline {
        font-size: 30px;
        line-height: 1.6;
    }
}

.tagline span {
    display: block;
}

@media (min-width: 768px) {
    .tagline span {
        display: inline;
    }
}

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

/* Button styles */
.si-button {
    position: relative;
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: 28px;
    background-color: var(--c-BRAND);
    border: 2px solid var(--c-BRAND);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-transform: uppercase;
    font-family: var(--f-SANS);
    font-size: 12px;
    letter-spacing: 1px;
    color: white;
    z-index: 3;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: auto;
    max-width: fit-content;
}

.si-button:hover {
    color: var(--c-BRAND);
    background-color: #fff;
}

.si-button svg {
    width: 18px;
    height: 18px;
    display: block;
    vertical-align: middle;
    transition: 0.3s ease;
}

/* Style the SVG icon using CSS variables */
.si-button svg {
    color: white;
}

.si-button:hover svg {
    color: var(--c-BRAND);
}

/* Make sure all SVG elements inherit color */
.si-button svg * {
    fill: currentColor;
    stroke: none;
}

.si-button.centered {
    margin: 10px auto;
}

.si-button.left {
    margin: 20px 0 0;
}

.si-button.left {
    margin: 20px 0 0;
}

@media screen and (min-width: 490px) {
    .si-button {
        padding: 15px 30px;
        font-size: 14px;
        gap: 10px;
    }
}

/* Content layouts */
.content-box {
    height: 100%;
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Grid system with shared base class and modifiers */
.grid {
    display: grid;
    width: 100%;
    gap: 2rem;
    margin: 2rem 0 0;
}

.grid:first-child {
    margin: 0;
}

.grid--single {
    grid-template-columns: 1fr;
}

.grid--double {
    grid-template-columns: 1fr;
}

.grid--triple {
    grid-template-columns: 1fr;
}

/* Ensure all feature boxes in a row have the same height */
.grid--triple .feature {
    height: 100%;
}

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

@media (min-width: 640px) {

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

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

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

    /* Grid layout with specific column spans */
    .col-span-4 {
        grid-column: span 4;
    }

    .col-span-6 {
        grid-column: span 6;
    }

    .col-span-8 {
        grid-column: span 8;
    }

    /* Grid layout with specific column starts */
    .col-start-1 {
        grid-column-start: 1;
    }

    .col-start-4 {
        grid-column-start: 4;
    }

    .col-start-5 {
        grid-column-start: 5;
    }

    .col-start-9 {
        grid-column-start: 9;
    }
}

@media (min-width: 1024px) {
    /* All containers use the 12-column grid */
    .container {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 2rem; /* Maintain 2rem horizontal gap, increase vertical to 3rem */
    }

    /* Remove nested grids */
    .grid {
        display: contents; /* Makes grid children direct children of container */
    }

    /* Direct column spans for content boxes */
    .content-box {
        grid-column: span 12; /* Default full width */
    }

    /* Full column */
    .grid--full .content-box {
        grid-column: 1 / 13;
    }

    /* Single column centered */
    .grid--single .content-box {
        grid-column: 4 / 10; /* Spans columns 4-9 (6 columns total) */
    }

    /* Two column layout */
    .grid--double .content-box:nth-child(odd) {
        grid-column: 1 / 7; /* First column spans 1-6 */
    }

    .grid--double .content-box:nth-child(even) {
        grid-column: 7 / 13; /* Second column spans 7-12 */
    }

    /* Three column layout */
    .grid--triple .content-box:nth-child(3n+1) {
        grid-column: 1 / 5; /* First column spans 1-4 */
    }

    .grid--triple .content-box:nth-child(3n+2) {
        grid-column: 5 / 9; /* Second column spans 5-8 */
    }

    .grid--triple .content-box:nth-child(3n+3) {
        grid-column: 9 / 13; /* Third column spans 9-12 */
    }

    /* Four column layout */
    .grid--quad .content-box:nth-child(4n+1) {
        grid-column: 1 / 4; /* First column spans 1-3 */
    }

    .grid--quad .content-box:nth-child(4n+2) {
        grid-column: 4 / 7; /* Second column spans 4-6 */
    }

    .grid--quad .content-box:nth-child(4n+3) {
        grid-column: 7 / 10; /* Third column spans 7-9 */
    }

    .grid--quad .content-box:nth-child(4n+4) {
        grid-column: 10 / 13; /* Fourth column spans 10-12 */
    }
}

/* Content section styles */
.content-section {
    margin: 15px;
    padding: 30px 0;
}

.content-columns {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 768px) {
    .content-columns {
        flex-direction: row;
    }
}

.content-column {
    max-width: 720px;
}

.content-column-grow {
    flex-grow: 1;
}

.container--alt {
    background-color: var(--c-OFFWHITE);
    padding: 3rem 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.product-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem;
    background-color: #fff;
    border-radius: 16px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    color: var(--c-BLACK)
}

.product-box:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

/* Make the si-button show its hover state when the product-box is hovered */
.product-box:hover .si-button {
    color: var(--c-BRAND);
    background-color: #fff;
}

.product-box:hover .si-button svg {
    color: var(--c-BRAND);
}

.product-image {
    display: block;
    border-radius: 16px;
    flex-shrink: 0;
    margin-bottom: 1rem;
}

.product-spacer {
    flex-grow: 1;
    min-height: 10px; /* Ensures the spacer takes up space even when empty */
}

.product-name {
    margin-bottom: 0;
    margin-top: 0;
    margin-bottom: auto;
}

/* Bubble styles */
.si-bubble-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: left;
}

.si-bubble-container {
    margin: auto;
    font-family: urw-din-semi-condensed, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #333;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.si-bubble-wrapper .bubble {
    opacity: 1;
    transform: none;
    width: auto;
    border-radius: 20px;
    padding: 3px;
    will-change: unset;
    transition: none;
    position: relative;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.si-bubble-wrapper .bubble-inner {
    padding: 20px 20px;
    word-wrap: break-word;
    background-color: #fff;
    border-radius: 17px;
}

.si-bubble-wrapper .bubble.request {
    background-color: #fff;
    align-self: flex-end;
    margin-left: 40px;
}

.si-bubble-wrapper .bubble.response {
    align-self: flex-start;
    background: var(--g-SI);
    margin-right: 40px;
}

@media screen and (min-width: 480px) {
    .si-bubble-container {
        font-size: 24px;
    }
}

/* FAQ Styling */
.faq-list {
    margin: 0;
    padding: 0;
}

.faq-list dt {
    position: relative;
    padding: 20px 0 10px;
    margin: 0;
    border-bottom: none;
}

.faq-list dt h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.faq-list dd {
    margin: 0;
    padding: 0 0 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-list dd:last-child {
    padding: 0;
    border-bottom: none;
}

.faq-list dd a {
    color: var(--c-BRAND);
    text-decoration: none;
}

.faq-list dd a:hover {
    text-decoration: underline;
}