/* Color Spectrum Variables */
:root {
    --insomnia-emerald-green: #00aa6c;
    --insomnia-amber-gold: #f2b800;
    --insomnia-teal-heading: #1e6b65;
    --insomnia-bg-cream: #fafafa;
}

/* Structural Helpers */
.text-brand-green {
    color: var(--insomnia-emerald-green) !important;
}

.text-teal-heading {
    color: var(--insomnia-teal-heading) !important;
}

.btn-warning-gold {
    background-color: var(--insomnia-amber-gold) !important;
    border-color: var(--insomnia-amber-gold) !important;
}

.btn-warning-gold:hover {
    background-color: #d6a200 !important;
    border-color: #d6a200 !important;
}

.py-2-5 {
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
}

.z-index-2 {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   SECTION 1: HERO DISPLAY (image_c1e542.png)
   ========================================================================== */
.insomnia-hero-section {
    background-color: var(--insomnia-bg-cream);
}

/* Replicates the complex grid-diamond architectural backdrop */
.geometric-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.02) 25%, transparent 25%),
        linear-gradient(225deg, rgba(0, 0, 0, 0.02) 25%, transparent 25%),
        linear-gradient(45deg, rgba(0, 0, 0, 0.02) 25%, transparent 25%),
        linear-gradient(315deg, rgba(0, 0, 0, 0.02) 25%, #fafafa 25%);
    background-position: 40px 0, 40px 0, 0 0, 0 0;
    background-size: 80px 80px;
    background-repeat: repeat;
    opacity: 0.85;
    z-index: 1;
}

.insomnia-hero-title {
    font-size: 2.75rem;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.insomnia-hero-text {
    font-size: 1.02rem;
    line-height: 1.65;
    opacity: 0.9;
}

/* Precision CSS Octagonal Masking Clip-Path configuration */
.insomnia-octagon-frame {
    width: 380px;
    height: 380px;
    overflow: hidden;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.octagon-illustration {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   SECTION 2: DIAGNOSTIC VARIANCE ELEMENTS (image_c1e508.jpg)
   ========================================================================== */
.insomnia-section-heading {
    font-size: 1.8rem;
}

.insomnia-section-text {
    font-size: 0.98rem;
    line-height: 1.6;
}

.bullet-marker-lead {
    color: #000000;
    font-size: 1.4rem;
    line-height: 1;
}

.insomnia-variants-list p {
    font-size: 0.96rem;
    line-height: 1.6;
    text-align: justify;
}

/* Replicates the smooth capsule-pillow corner profile matching the panel matrix */
.smooth-pillowed-img {
    border-radius: 2rem !important;
    width: 100%;
    max-height: 380px;
    object-fit: cover;
}