/* ==================================================
   DESIGN TOKENS
   ================================================== */

:root {
    --color-primary:  #244a78;
    --color-primary:  #101e32;
    --color-primary-hover: #1b385c;

    --color-secondary: #4997d1;
    --color-secondary-hover: #357fb8;

    /* --color-accent: #2e7d32; */
    --color-accent: #245f27;
    --color-accent-hover: #2e7d32;

    --color-text: #333333;
    --color-text-muted: #667085;
    --color-text-on-dark: #ffffff;
    --color-text-on-dark-muted: #b8c8dc;
    --color-text-gray: #666666;

    --color-background: #ffffff;
    --color-background-light: #f5f7fa;
    --color-background-dark: #172841;
    --color-background-darker: #101e32;

    --color-border: #dfe3e8;
    --color-border-dark: #b9c2cc;
    --color-focus: #4997d1;

    --font-family: "Inter", Arial, sans-serif;

    --container-width: 1440px;    
    --content-width: 1440px;    
    --container-padding: 24px;
    --border-radius: 8px;

    --solutiontree-green: #2e7d32;
    --solutiontree-red: #c62828;
    --solutiontree-blue: #244a78;
}


/* ==================================================
   RESET AND BASE STYLES
   ================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;

    color: var(--color-text);
    background: var(--color-background);

    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: var(--color-primary);
}

a:hover {
    color: var(--color-primary-hover);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--color-primary);
    line-height: 1.2;
}


/* ==================================================
   ACCESSIBILITY
   ================================================== */

.ig-skip-link {
    position: absolute;
    top: -100px;
    left: 24px;
    z-index: 1000;

    padding: 10px 16px;

    color: #ffffff;
    background: var(--color-primary);
    border-radius: 4px;
}

.ig-skip-link:focus {
    top: 12px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.ig-button:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 3px;    
}


/* ==================================================
   LAYOUT
   ================================================== */

.ig-container {
    width: 100%;
    max-width: var(--container-width);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

main .ig-container,
.site-cta .ig-container {
    max-width: var(--content-width);
}

/* ==================================================
   BUTTONS
   ================================================== */

.ig-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 45px;
    padding: 0.67rem 1.35rem;
    border: 2px solid transparent;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;

    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.ig-button:hover {
    transform: translateY(-1px);
}

/* Button hierarchy:
   primary   - main CTA (Start Free Trial); 
   secondary - supporting action (Buy Now); 
   tertiary  - low emphasis (Learn More, Explore Our Products); */

.ig-button--primary-light {
    color: #ffffff;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.ig-button--primary-light:hover,
.ig-button--primary-light:focus-visible {
    color: #ffffff;
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
}

.ig-button--primary-dark {
    color: #ffffff;
    background: var(--color-accent);
    border-color:  #ffffff;;
    border-width: 1px;
}

.ig-button--primary-dark:hover,
.ig-button--primary-dark:focus-visible {    
    color: #ffffff;
    background: var(--color-accent-hover);
    border-color: #ffffff;
}

.ig-button--secondary-light {
    color: var(--color-primary);
    background: var(--color-background);
    border-color: var(--color-primary);
}

.ig-button--secondary-light:hover,
.ig-button--secondary-light:focus-visible {
    color: #ffffff;
    background: var(--color-primary-hover);
    border-color: var(--color-primary);
}

.ig-button--secondary-dark {
    color: #ffffff;
    background: var(--color-secondary);
    border-color:  #ffffff;
     border-width: 1px;
}

.ig-button--secondary-dark:hover,
.ig-button--secondary-dark:focus-visible {
    color: #ffffff;
    background: var(--color-secondary-hover);
    border-color:  #ffffff;;
}


.ig-button--tertiary-light {
    color:  #ffffff;
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

.ig-button--tertiary-light:hover,
.ig-button--tertiary-light:focus-visible {
    color: #ffffff;
    background: var(--color-secondary-hover);
    border-color: var(--color-secondary-hover);
}

.ig-button--tertiary-dark {
    color: #ffffff;
    background: transparent;
    border-color: #ffffff;
}

.ig-button--tertiary-dark:hover,
.ig-button--tertiary-dark:focus-visible {
    color: var(--color-primary);
    background: #ffffff;
    border-color: #ffffff;
}


/* ==================================================
   HEADER AND NAVIGATION
   ================================================== */

.site-header {
    position: relative;
    z-index: 10;

    background: var(--color-background);
    border-bottom: 1px solid var(--color-border);
}

.site-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    max-width: var(--container-width);
    min-height: 84px;
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.site-header__brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.site-header__brand img,
.site-header__logo {
    width: auto;
    height: 58px;
    max-width: 210px;
}

.site-header__toggle {
    display: none;
}

.site-header__menu {
    display: flex;
    flex: 1;
    align-items: center;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-left: auto;
    margin-right: 5%;
    font-size: 1rem;
}

.site-nav a {
    color: var(--color-text);
    font-weight: 500;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--color-primary-hover);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* ==================================================
   GENERIC SECTIONS
   ================================================== */

.section {
    padding: 96px 0;
}

.section--light {
    background: var(--color-background-light);
}

.section--white {
    background: var(--color-background);
}

.section--dark {
    color: var(--color-text-on-dark);
    background: var(--color-background-dark);
}

.section__intro {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.section__eyebrow {
    margin: 0 0 14px;

    color: var(--color-secondary);

    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.section__heading {
    margin: 0 0 16px;

    color: var(--color-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}

.section__description {
    margin: 0;
    margin-bottom: 24px;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.section__info {
    margin: 0;
    margin-bottom: 0px;
    color: var(--color-text-muted);
    font-size: .9rem;
    line-height: 1.1;
}

.section--dark .section__heading {
    color: var(--color-text-on-dark);
}

.section--dark .section__description {
    color: var(--color-text-on-dark-muted);
}

.legal-content {
    max-width: 800px;
    margin-inline: auto;
}

.legal-content section + section {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--color-border);
}

.legal-content h3 {
    margin-top: 28px;
}


/* ==================================================
   HOME HERO
   ================================================== */

.home-hero {
    padding: 0;
    overflow: hidden;
    background: var(--color-background);
}

.home-hero__container {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    /* grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr); */
    align-items: stretch;
    gap: clamp(48px, 7vw, 112px);    
}

.home-hero__content {
    max-width: 650px;
    /* padding-block: clamp(64px, 8vw, 112px); */
    padding-block: clamp(44px, 4vw, 112px);
}

.home-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 26px;
    padding: 8px 14px;

    color: var(--color-primary);
    background: var(--color-background-light);
    border-radius: 999px;

    font-size: 0.9rem;
    font-weight: 700;
}

.home-hero__badge-icon {
    display: inline-grid;
    width: 20px;
    height: 20px;
    place-items: center;

    color: #ffffff;
    background: var(--color-secondary);
    border-radius: 50%;

    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1;
}

.home-hero__heading {
    max-width: 720px;
    margin-bottom: 24px;

    color: var(--color-text);
    font-size: clamp(2.5rem, 3vw, 4.0rem);
    letter-spacing: -0.04em;
}

.home-hero__description {
    max-width: 620px;
    margin-bottom: 32px;

    color: var(--color-text);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
}

.home-hero__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.home-hero__feature {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
}

.home-hero__feature-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
 font-size: 1.2rem;
 font-weight: 500;
    color: var(--color-primary-hover);
    background: rgb(73 151 209 / 14%);
    border-radius: 8px;
}

.home-hero__feature-icon svg {
    width: 23px;
    height: 23px;
}

.home-hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;

    min-width: 0;
    min-height: clamp(460px, 46vw, 700px);

    isolation: isolate;
}

.home-hero__visual::before,
.home-hero__visual::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.home-hero__visual::before {
    z-index: -2;
    top: 0;
    right: -18%;
    bottom: -12%;
    width: 112%;

    background: var(--color-primary);

    clip-path: polygon(25% 0,
            100% 0,
            100% 100%,
            8% 100%,
            0 78%);
}

.home-hero__visual::after {
    z-index: -1;
    top: 7%;
    right: -10%;
    bottom: -5%;
    width: 101%;

    background: var(--color-secondary);

    clip-path: polygon(24% 0,
            100% 0,
            100% 100%,
            14% 100%,
            0 75%);
}

.home-hero__image {
    position: relative;
    z-index: 1;

    width: 126%;
    max-width: 1100px;
    height: auto;
    margin-right: -13%;
}

/* ==================================================
   PRODUCT CARDS
   ================================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    display: flex;
    flex-direction: column;

    padding: 28px;

    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgb(23 40 65 / 8%);
}

.product-card__heading {
    display: flex;    
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
}

.product-card__icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 4px;
}

.product-card h3 {
    margin: 0 0 4px;
    color: var(--color-text-gray);
    font-size: 1.5rem;
    font-weight: 700;
}

.product-card__heading p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.product-card__features {
    display: grid;
    gap: 12px;

    margin: 0 0 44px 0;
    padding: 0;

    list-style: none;
}

.product-card__features li {
    position: relative;
    padding-left: 24px;
}

.product-card__features li::before {
    position: absolute;
    top: 0.35em;
    left: 0;

    width: 14px;
    height: 14px;

    content: "✓";

    color: #ffffff;
    background: var(--color-secondary);
    border-radius: 50%;

    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
    text-align: center;
}

.product-card__actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.product-card__actions .ig-button {
    flex: 1;
    min-height: 46px;
    padding-inline: 0.8rem;    
}


/* ==================================================
   WHY INTEGRID CONTENT
   ================================================== */

.why-section__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.why-card {
    padding: 32px 28px;
    text-align: center;

    background: var(--color-background-light);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
}

.why-card__icon {
    display: inline-grid;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    place-items: center;

    color: var(--color-primary);
    background: var(--color-background-light);
    border-radius: 50%;
}

.why-card__icon svg {
    width: 28px;
    height: 28px;
}

.why-card__heading {
    margin: 0 0 12px;

    color: var(--color-primary);
    font-size: 1.25rem;
    line-height: 1.3;
}

.why-card__text {
    margin: 0;
    color: var(--color-text-muted);
}

/* ==================================================
   ABOUT PAGE
   ================================================== */

.about-hero {
    padding-block: 112px;
    background: linear-gradient(120deg, var(--color-background-darker), var(--color-primary-hover));
}

.about-hero .section__intro {
    max-width: 900px;
}

.about-hero .section__heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.about-hero .section__description {
    max-width: 760px;
    margin-inline: auto;
    margin-bottom: 0;
}

.about-approach {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: center;
    gap: 64px;
}

.about-approach__content p {
    color: var(--color-text-muted);
}

.about-approach__content .section__heading {
    font-size: clamp(2rem, 3vw, 2.5rem);
}

.about-approach__content p:last-child {
    margin-bottom: 0;
}

.about-focus {
    padding: 32px;
    background: var(--color-background);
    border-left: 4px solid var(--color-secondary);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 28px rgba(16, 30, 50, 0.1);
}

.about-focus__text {
    margin: 0;
    color: var(--color-primary);
    font-size: 1.15rem;
    font-weight: 600;
}

.about-services .section__intro {
    margin-bottom: 40px;
}

.about-services .why-card {
    text-align: left;
    background: var(--color-background);
}

.about-cta {
    padding-block: 64px;
    background: var(--color-primary);
}

.about-cta__container,
.about-cta__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.about-cta__container {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.about-cta p {
    margin-bottom: 0;
    color: var(--color-text-on-dark-muted);
}

.about-cta__actions {
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .about-approach {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ==================================================
   PROCESS - HOW IT WORKS
   ================================================== */

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.process-card {
    position: relative;
    padding: 32px 28px;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    text-align: center;
}

.process-card__number {
    display: inline-grid;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    place-items: center;
    color: var(--color-primary);
    background: rgb(73 151 209 / 14%);
    border-radius: 50%;

    font-size: 1.25rem;
    font-weight: 800;
}

.process-card__heading {
    margin: 0 0 12px;
    color: var(--color-primary);
    font-size: 1.25rem;
    line-height: 1.3;
}

.process-card__text {
    margin: 0;
    color: var(--color-text-muted);
}

@media (max-width: 900px) {
    .process-grid {
        grid-template-columns: 1fr;
        max-width: 640px;
        margin-inline: auto;
    }
}

/* ==================================================
   PRODUCT PAGE HERO
   ================================================== */

.product-hero {
    padding-block: clamp(32px, 4vw, 56px);    
    background: var(--color-background);
}

.product-hero__container {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(48px, 8vw, 120px);
}

@media (min-width: 1001px) {
    .product-hero--solutiontree .product-hero__container {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        gap: clamp(24px, 3vw, 48px);
    }
}

.product-hero__content {
    max-width: 650px;
}

.product-hero__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.product-hero__brand > div {
    display: flex;
    align-items: center;
    /* flex-wrap: wrap; */
    gap: 8px;
}

.product-hero__brand-logo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
}

.product-hero__brand-frame {
    display: grid;
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    padding: 8px;
    place-items: center;
    background: var(--color-background);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgb(23 40 65 / 16%);
}

.product-hero__brand-name {
    color: var(--color-text-gray);
    font-size: 1.9rem;
    font-weight: 700; 
}

.product-hero__brand-tagline {    
    color: var(--color-text-muted);
    font-size: 0.9rem;    
}

.product-hero__eyebrow {
    margin: 0 0 16px;

    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-hero__heading {
    margin: 0 0 24px;

    color: var(--color-text);
    font-size: clamp(2.5rem, 2.5vw, 3.5rem);    
    letter-spacing: -0.04em;
}

.product-hero__description {
    max-width: 620px;
    margin: 0 0 32px;

    color: var(--color-text);
    font-size: 1.15rem;
}

.product-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


.product-hero__visual {
    position: relative;
}

.product-hero__visual-logo {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 2;

    display: grid;
    width: 112px;
    height: 112px;
    padding: 10px;
    place-items: center;

    background: var(--color-background-light);
    /* border: 1px solid var(--color-border); */
    border-radius: 16px;
    box-shadow: 0 12px 28px rgb(23 40 65 / 16%);
    
    transform: translate(-35%, -50%);
}

.product-hero__visual-logo img {
    width: 100%;
    height: 100%;
    height: 100%;
    object-fit: contain;
} 

.product-hero__image {
    width: 100%;
    max-width: 760px;
    height: auto;
}

.product-hero--trusens .hero-slideshow {
    width: min(100%, 560px);
    margin-inline: auto;
}

.hero-slideshow__header {
    margin-bottom: 16px;
}

.hero-slideshow__header h2,
.hero-slideshow__header p {
    margin: 0;
}

.hero-slideshow__slides {
    display: grid;
}

.hero-slideshow__slide {
    grid-area: 1 / 1;
    margin: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slideshow__slide.is-visible {
    opacity: 1;
}

.hero-slideshow__image-frame {
    aspect-ratio: 1055 / 722;
}

.product-hero--solutiontree .hero-slideshow__image-frame {
    padding: 14px;
    background: var(--color-background);
    border-radius: 16px;
    /* box-shadow: 0 12px 28px rgb(23 40 65 / 16%); */
}

.product-hero--trusens .hero-slideshow__image-frame {
    aspect-ratio: 638 / 662;
}

.hero-slideshow__image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-slideshow__slide figcaption {
    margin-top: 8px;
    color: var(--color-text-muted);
    font-size: .85rem;
    text-align: center;
}

/* .hero-slideshow__toggle {
    margin-top: 8px;
    padding: 6px 10px;
    color: var(--color-text);
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    cursor: pointer;
} */

.hero-slideshow__toggle {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slideshow__slide {
        transition: none;
    }
}


/* ==================================================
   PRODUCT FEATURES
   ================================================== */

.product-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.product-feature {
    padding: 28px 24px;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    text-align: center;
}

.product-feature__icon {
    display: inline-grid;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    place-items: center;

    color: var(--color-accent);
    background: #edf7ed;
    border-radius: 50%;
}

.product-feature__icon svg {
    width: 26px;
    height: 26px;
}

.product-feature__heading {
    margin: 0 0 10px;

    color: var(--color-primary);
    font-size: 1.15rem;
    line-height: 1.3;
}

.product-feature__text {
    margin: 0;
    color: var(--color-text-muted);
}

@media (max-width: 1000px) {
    .product-hero__container {
        grid-template-columns: 1fr;
    }

    .product-hero__content {
        max-width: 760px;
    }

    .product-hero__visual {
        justify-content: flex-start;
    }

    .product-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .product-hero {
        padding-block: 64px;
    }

    .product-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .product-hero__actions .ig-button {
        width: 100%;
    }

    .product-features {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   FOOTER
   ================================================== */

.site-footer {
    padding: 36px 0;

    color: var(--color-text-on-dark-muted);
    background: var(--color-background-dark);
}

.site-footer p {
    margin: 0 0 10px;
}

.site-footer p:last-child {
    margin-bottom: 0;
}

.site-footer a {
    color: var(--color-text-on-dark);
}

.site-footer a:hover {
    color: var(--color-secondary);
}

/* Text links on dark backgrounds (buttons keep their own colors). */
.on-dark a:not([class]),
.demo-hero a:not([class]),
.demo-section--dark a:not([class]),
.demo-button-group--dark a:not([class]) {
    color: var(--color-text-on-dark);
    text-decoration: underline;
}

.on-dark a:not([class]):hover,
.on-dark a:not([class]):focus-visible,
.demo-hero a:not([class]):hover,
.demo-hero a:not([class]):focus-visible,
.demo-section--dark a:not([class]):hover,
.demo-section--dark a:not([class]):focus-visible,
.demo-button-group--dark a:not([class]):hover,
.demo-button-group--dark a:not([class]):focus-visible {
    color: var(--color-secondary);
}

.site-footer a:focus-visible {
    color: var(--color-secondary);
}


/* ==================================================
   RESPONSIVE STYLES
   ================================================== */

.analytics-consent:not([hidden]) {
    position: fixed;
    z-index: 100;
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: 640px;
    max-height: calc(100vh - 32px);
    margin-inline: auto;
    padding: 20px;
    overflow-y: auto;
    background: var(--color-background);
    border: 1px solid var(--color-border-dark);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 28px rgb(16 30 50 / 20%);
}

.analytics-consent h2 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.analytics-consent p {
    margin-bottom: 12px;
}

.analytics-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.analytics-consent__error:not([hidden]) {
    margin: 12px 0 0;
    color: #a11b1b;
}

@media (max-width: 1100px) {
    .site-header__container {
        gap: 20px;
    }

    .site-nav {
        gap: 18px;
    }

    .home-hero__container {
        gap: 48px;
    }

    .home-hero__visual {
        min-height: 500px;
    }

    .home-hero__image {
        width: 118%;
        margin-right: -8%;
    }
}

@media (max-width: 900px) {
    .site-header__container {
        flex-wrap: wrap;
        gap: 12px;
        padding-block: 16px;
    }

    .site-header__toggle:not([hidden]) {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 48px;
        height: 48px;
        padding: 10px;
        border: 1px solid var(--color-border-dark);
        border-radius: 6px;
        background: var(--color-background);
        cursor: pointer;
    }

    .site-header__toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--color-primary);
    }

    .site-header__menu {
        flex: 0 0 100%;
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .site-header__menu.is-collapsed {
        display: none;
    }

    .site-nav {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin: 0;
        text-align: center;
    }

    .site-header__actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .home-hero__container {
        grid-template-columns: 1fr;
    }

    .home-hero__content {
        max-width: 760px;
    }

    .home-hero__visual {
        min-height: 420px;
        justify-content: center;
    }

    .home-hero__visual::before {
        right: -8%;
        width: 108%;
    }

    .home-hero__visual::after {
        right: -4%;
        width: 102%;
    }

    .home-hero__image {
        width: 108%;
        max-width: 900px;
        margin-right: 0;
    }

    .product-grid,
    .why-section__grid {
        grid-template-columns: 1fr;
        max-width: 640px;
        margin-inline: auto;
    }
}

@media (max-width: 600px) {
    :root {
        --container-padding: 18px;
    }

    .site-header__brand img,
    .site-header__logo {
        height: 48px;
        max-width: 175px;
    }

    .section {
        padding-block: 64px;
    }

    .home-hero__heading {
        font-size: clamp(2.25rem, 12vw, 3.5rem);
    }

    .home-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-hero__actions .ig-button {
        width: 100%;
    }

    .home-hero__features {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product-card,
    .why-card {
        padding: 22px;
    }

    .product-card__actions {
        flex-direction: column;
    }

    .site-footer {
        text-align: center;
    }
}

/* ==================================================
   CONTACT PAGE
   ================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin-inline: auto;
}

.contact-form {    
    padding: 0 0 0 0;
    /* overflow-wrap: anywhere; */
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgb(23 40 65 / 8%);
}


.contact-card {
    min-width: 0;
    padding: 68px 32px 0 32px;
    overflow-wrap: anywhere;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgb(23 40 65 / 8%);
}

.contact-card h2 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.contact-card h3 {
    margin: 28px 0 8px;
    font-size: 1.1rem;
}

.contact-card__fallback {
    margin: 0 36px 36px 40px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 640px;
    }
}

@media (max-width: 600px) {
    .contact-card {
        padding: 22px;
    }
}

/* ==================================================
   PRICING PAGE
   ================================================== */

.pricing-card h2 {
    margin: 0 0 4px;
    color: var(--color-text-gray);
    font-size: 1.25rem;
}

.pricing-card__price {
    margin: 0 0 18px;
    color: var(--color-text-gray);
    font-size: 2rem;
    font-weight: 700;
}

.pricing-card__price span {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 400;
}

.pricing-card__saving {
    color: var(--color-accent);
    font-weight: 600;
}

.pricing-section__action {
    margin-top: 32px;
    text-align: center;
}
