@layer reset,
base,
layout,
components,
motion,
utilities;

@layer reset {
    * {
        box-sizing: border-box
    }

    html {
        scroll-behavior: smooth
    }

    body,
    h1,
    h2,
    h3,
    p,
    ul {
        margin: 0
    }

    img,
    svg {
        max-width: 100%;
        display: block;
        height: auto;
    }

    button,
    input {
        font: inherit
    }

    a {
        color: inherit
    }
}

@layer base {
    :root {
        --sg8rx-ink: #102c29;
        --sg8rx-muted: #55706c;
        --sg8rx-paper: #fbfdfb;
        --sg8rx-mist: #eef7f2;
        --sg8rx-teal: #0f7e6e;
        --sg8rx-deep: #075449;
        --sg8rx-lime: #b8df8d;
        --sg8rx-gold: #e8bd62;
        --sg8rx-line: #cfe2da;
        --sg8rx-shadow: 0 22px 70px rgba(18, 75, 65, .12);
        --sg8rx-radius: 26px
    }

    html {
        background: var(--sg8rx-paper);
        color: var(--sg8rx-ink);
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 17px;
        line-height: 1.68
    }

    body {
        background: linear-gradient(180deg, #fbfdfb 0, #f7fbf9 100%);
        overflow-x: hidden
    }

    h1,
    h2,
    h3 {
        font-family: Georgia, "Times New Roman", serif;
        line-height: 1.08;
        letter-spacing: -.025em
    }

    h1 {
        font-size: clamp(1.8rem, 3.4vw, 2.9rem)
    }

    h2 {
        font-size: clamp(1.7rem, 3.1vw, 2.7rem)
    }

    h3 {
        font-size: 1.35rem
    }

    p {
        color: var(--sg8rx-muted)
    }

    .sg8rx-skip {
        position: fixed;
        left: 1rem;
        top: -6rem;
        background: #fff;
        padding: .8rem 1rem;
        z-index: 999;
        border-radius: 12px
    }

    .sg8rx-skip:focus {
        top: 1rem
    }

    .sg8rx-wrap {
        width: min(1180px, calc(100% - 32px));
        margin-inline: auto
    }

    .sg8rx-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: .55rem;
        padding: .42rem .74rem;
        border: 1px solid var(--sg8rx-line);
        border-radius: 999px;
        font-size: .78rem;
        font-weight: 800;
        letter-spacing: .08em;
        text-transform: uppercase;
        background: rgba(255, 255, 255, .72)
    }

    .sg8rx-eyebrow:before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--sg8rx-teal);
        box-shadow: 0 0 0 6px rgba(15, 126, 110, .12)
    }

    .sg8rx-lede {
        font-size: clamp(1.05rem, 1.6vw, 1.25rem);
        max-width: 720px
    }

    .sg8rx-note {
        font-size: .82rem;
        color: #6b7f7b
    }

    .sg8rx-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 50px;
        padding: .78rem 1.25rem;
        border-radius: 999px;
        font-weight: 850;
        text-decoration: none;
        border: 1px solid transparent;
        transition: .25s transform, .25s box-shadow
    }

    .sg8rx-pill:hover {
        transform: translateY(-2px)
    }

    .sg8rx-primary {
        background: linear-gradient(135deg, var(--sg8rx-deep), var(--sg8rx-teal));
        color: #fff;
        box-shadow: 0 14px 34px rgba(7, 84, 73, .22)
    }

    .sg8rx-secondary {
        border-color: var(--sg8rx-line);
        background: #fff
    }

    .sg8rx-section {
        padding: clamp(68px, 8vw, 112px) 0
    }

    .sg8rx-band {
        background: linear-gradient(135deg, #073f37, #0d6658);
        color: #fff
    }

    .sg8rx-band p {
        color: #dcece7
    }

    .sg8rx-sectionhead {
        display: grid;
        gap: .8rem;
        margin-bottom: 2.1rem;
        max-width: 790px
    }

    .sg8rx-center {
        text-align: center;
        margin-inline: auto;
        justify-items: center
    }

    .sg8rx-grid {
        display: grid;
        gap: 1.25rem
    }

    .sg8rx-card {
        background: #fff;
        color: var(--sg8rx-ink);
        border: 1px solid var(--sg8rx-line);
        border-radius: var(--sg8rx-radius);
        padding: clamp(1.2rem, 2.5vw, 2rem);
        box-shadow: 0 10px 38px rgba(20, 84, 74, .06)
    }

    .sg8rx-kicker {
        font-weight: 850;
        color: var(--sg8rx-teal);
        font-size: .85rem;
        text-transform: uppercase;
        letter-spacing: .09em
    }
}

@layer layout {
    .sg8rx-header {
        position: sticky;
        top: 0;
        z-index: 50;
        background: rgba(251, 253, 251, .88);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(207, 226, 218, .75)
    }

    .sg8rx-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 78px;
        gap: 1rem
    }

    .sg8rx-brand {
        font-family: Georgia, serif;
        font-size: 1.55rem;
        font-weight: 800;
        text-decoration: none;
        color: var(--sg8rx-deep)
    }

    .sg8rx-links {
        display: flex;
        align-items: center;
        gap: 1.1rem
    }

    .sg8rx-links a {
        text-decoration: none;
        font-weight: 760;
        font-size: .92rem
    }

    .sg8rx-menubtn {
        display: none;
        border: 1px solid var(--sg8rx-line);
        background: #fff;
        border-radius: 12px;
        padding: .6rem .75rem
    }

    .sg8rx-hero {
        position: relative;
        isolation: isolate;
        padding: clamp(48px, 6vw, 82px) 0 80px;
        overflow: hidden
    }

    .sg8rx-hero:before {
        content: "";
        position: absolute;
        inset: -20% auto auto -8%;
        width: 520px;
        height: 520px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(184, 223, 141, .28), transparent 68%);
        z-index: -1
    }

    .sg8rx-herogrid {
        display: grid;
        grid-template-columns: 1.04fr .96fr;
        gap: clamp(2rem, 5vw, 5rem);
        align-items: center
    }

    .sg8rx-herocopy {
        display: grid;
        gap: 1.25rem
    }

    .sg8rx-heroactions {
        display: flex;
        flex-wrap: wrap;
        gap: .75rem
    }

    .sg8rx-checks {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .7rem 1rem;
        padding: 0;
        list-style: none
    }

    .sg8rx-checks li {
        display: flex;
        gap: .55rem;
        align-items: flex-start;
        font-weight: 700;
        color: #244b45;
        font-size: .95rem
    }

    .sg8rx-checks li:before {
        content: "✓";
        display: grid;
        place-items: center;
        flex: 0 0 24px;
        height: 24px;
        border-radius: 50%;
        background: #dff3e8;
        color: var(--sg8rx-deep);
        font-size: .8rem
    }

    .sg8rx-visual {
        position: relative;
        min-height: 560px;
        display: grid;
        place-items: center
    }

    .sg8rx-productstage {
        position: absolute;
        z-index: 3;
        width: min(73%, 390px);
        filter: drop-shadow(0 28px 26px rgba(5, 52, 46, .18))
    }

    .sg8rx-glucosenet {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        overflow: visible
    }

    .sg8rx-netline {
        fill: none;
        stroke: #65a99b;
        stroke-width: 1.3;
        opacity: .5;
        stroke-dasharray: 5 8
    }

    .sg8rx-netarc {
        fill: none;
        stroke: url(#sg8rxGrad);
        stroke-width: 4;
        stroke-linecap: round;
        opacity: .7
    }

    .sg8rx-node {
        fill: #fff;
        stroke: #0f7e6e;
        stroke-width: 2
    }

    .sg8rx-nodecore {
        fill: #0f7e6e
    }

    .sg8rx-hex {
        fill: rgba(184, 223, 141, .16);
        stroke: #6ea67c;
        stroke-width: 1.4
    }

    .sg8rx-balancechip {
        position: absolute;
        right: 2%;
        bottom: 9%;
        z-index: 5;
        background: rgba(255, 255, 255, .94);
        border: 1px solid var(--sg8rx-line);
        padding: .9rem 1rem;
        border-radius: 18px;
        box-shadow: var(--sg8rx-shadow);
        font-weight: 800;
        max-width: 180px;
        font-size: .86rem
    }

    .sg8rx-balancechip b {
        display: block;
        color: var(--sg8rx-teal);
        font-size: 1.15rem
    }

    .sg8rx-four {
        grid-template-columns: repeat(4, 1fr)
    }

    .sg8rx-three {
        grid-template-columns: repeat(3, 1fr)
    }

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

    .sg8rx-featureicon {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        display: grid;
        place-items: center;
        background: var(--sg8rx-mist);
        font-size: 1.35rem;
        margin-bottom: 1rem
    }

    .sg8rx-split {
        display: grid;
        grid-template-columns: .9fr 1.1fr;
        gap: clamp(2rem, 5vw, 5rem);
        align-items: center
    }

    .sg8rx-media {
        border-radius: 32px;
        overflow: hidden;
        background: #edf7f2;
        border: 1px solid var(--sg8rx-line)
    }

    .sg8rx-media img {
        width: 100%;
        height: auto
    }

    .sg8rx-benefitsmedia {
        max-width: 720px;
        margin: 0 auto 2.5rem
    }

    .sg8rx-flow {
        display: grid;
        gap: 1rem;
        counter-reset: step
    }

    .sg8rx-flowitem {
        position: relative;
        padding: 1.2rem 1.25rem 1.2rem 4.8rem;
        border: 1px solid var(--sg8rx-line);
        border-radius: 20px;
        background: #fff
    }

    .sg8rx-flowitem:before {
        counter-increment: step;
        content: counter(step);
        position: absolute;
        left: 1.15rem;
        top: 1.2rem;
        width: 2.6rem;
        height: 2.6rem;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: var(--sg8rx-deep);
        color: white;
        font-weight: 900
    }

    .sg8rx-chartbox {
        background: #062f2b;
        border-radius: 32px;
        padding: clamp(1.2rem, 3vw, 2.3rem);
        color: #fff;
        overflow: hidden
    }

    .sg8rx-chartbox p {
        color: #cde1dc
    }

    .sg8rx-chart {
        width: 100%;
        height: auto;
        margin-top: 1rem
    }

    .sg8rx-chartgrid {
        stroke: #2c5c55;
        stroke-width: 1
    }

    .sg8rx-chartmeal {
        fill: none;
        stroke: #e5bd62;
        stroke-width: 5;
        stroke-linecap: round;
        stroke-linejoin: round
    }

    .sg8rx-chartbalance {
        fill: none;
        stroke: #74d6b3;
        stroke-width: 5;
        stroke-linecap: round;
        stroke-linejoin: round
    }

    .sg8rx-chartarea {
        fill: url(#sg8rxArea);
        opacity: .22
    }

    .sg8rx-chartdot {
        fill: #fff;
        stroke: #74d6b3;
        stroke-width: 4
    }

    .sg8rx-chartlegend {
        display: flex;
        gap: 1.1rem;
        flex-wrap: wrap;
        font-size: .82rem;
        margin-top: .8rem
    }

    .sg8rx-chartlegend span:before {
        content: "";
        display: inline-block;
        width: 18px;
        height: 3px;
        margin-right: .45rem;
        vertical-align: middle;
        background: #74d6b3
    }

    .sg8rx-chartlegend span:last-child:before {
        background: #e5bd62
    }

    .sg8rx-pricecard {
        display: grid;
        grid-template-rows: auto 190px auto auto;
        gap: .75rem;
        text-align: center;
        position: relative;
        overflow: hidden
    }

    .sg8rx-pricecard img {
        height: 190px;
        width: 100%;
        object-fit: contain
    }

    .sg8rx-ribbon {
        position: absolute;
        top: 15px;
        right: -42px;
        transform: rotate(38deg);
        background: var(--sg8rx-gold);
        color: #2d2515;
        padding: .25rem 3rem;
        font-size: .73rem;
        font-weight: 900
    }

    .sg8rx-package {
        font-weight: 900;
        font-size: 1.3rem
    }

    .sg8rx-pricebest {
        border: 2px solid var(--sg8rx-teal)
    }

    .sg8rx-badge {
        position: absolute;
        top: 14px;
        right: 14px;
        background: var(--sg8rx-teal);
        color: #fff;
        font-size: .72rem;
        font-weight: 900;
        padding: .32rem .75rem;
        border-radius: 999px;
        letter-spacing: .02em
    }

    .sg8rx-priceline {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: .35rem
    }

    .sg8rx-priceamt {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 2.3rem;
        font-weight: 900;
        color: var(--sg8rx-teal)
    }

    .sg8rx-priceunit {
        font-size: .82rem;
        font-weight: 700;
        color: #6b7f7b
    }

    .sg8rx-pricesub {
        font-size: .85rem;
        color: #4c635e
    }

    .sg8rx-pricelist {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: .4rem;
        font-size: .85rem;
        text-align: left;
        justify-self: center
    }

    .sg8rx-pricelist li {
        position: relative;
        padding-left: 1.15rem
    }

    .sg8rx-pricelist li:before {
        content: "✓";
        position: absolute;
        left: 0;
        color: var(--sg8rx-teal);
        font-weight: 900
    }

    .sg8rx-benefits {
        display: grid;
        gap: .75rem
    }

    .sg8rx-benefit {
        display: grid;
        grid-template-columns: 46px 1fr;
        gap: 1rem;
        align-items: start;
        border: 1px solid var(--sg8rx-line);
        border-radius: 20px;
        background: #fff;
        padding: 1rem 1.1rem
    }

    .sg8rx-benefit i {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: #def2e7;
        color: var(--sg8rx-deep);
        font-style: normal;
        font-weight: 900
    }

    .sg8rx-reviewcard img {
        width: 86px;
        height: 86px;
        border-radius: 50%;
        object-fit: cover;
        filter: saturate(.8)
    }

    .sg8rx-reviewcard {
        display: grid;
        gap: .8rem
    }

    .sg8rx-quote {
        font-family: Georgia, serif;
        font-size: 1.15rem;
        color: #294b46
    }

    .sg8rx-faq {
        display: grid;
        gap: .7rem
    }

    .sg8rx-faq details {
        border: 1px solid var(--sg8rx-line);
        border-radius: 18px;
        background: #fff;
        padding: 1rem 1.1rem
    }

    .sg8rx-faq summary {
        cursor: pointer;
        font-weight: 850;
        list-style: none
    }

    .sg8rx-faq details p {
        padding-top: .7rem
    }

    .sg8rx-final {
        padding: 80px 0;
        text-align: center;
        background: radial-gradient(circle at 50% -20%, rgba(184, 223, 141, .42), transparent 45%), #edf7f2
    }

    .sg8rx-final img {
        width: min(500px, 85%);
        margin: 1rem auto
    }

    .sg8rx-footer {
        padding: 56px 0 110px;
        background: #082f2a;
        color: #eaf4f1
    }

    .sg8rx-footer p,
    .sg8rx-footer a {
        color: #bdd3cd
    }

    .sg8rx-footgrid {
        display: grid;
        grid-template-columns: 1.3fr repeat(3, 1fr);
        gap: 2rem
    }

    .sg8rx-footlinks {
        display: grid;
        align-content: start;
        gap: .5rem
    }

    .sg8rx-footlinks a {
        text-decoration: none
    }

    .sg8rx-legal {
        font-size: .78rem;
        border-top: 1px solid #24514a;
        margin-top: 2rem;
        padding-top: 1.2rem
    }

    .sg8rx-pagehero {
        padding: 70px 0 48px;
        background: linear-gradient(135deg, #f2faf6, #eaf5ef)
    }

    .sg8rx-prose {
        max-width: 840px
    }

    .sg8rx-prose h2 {
        font-size: 2rem;
        margin: 2rem 0 .8rem
    }

    .sg8rx-prose h3 {
        margin: 1.5rem 0 .5rem
    }

    .sg8rx-prose p,
    .sg8rx-prose li {
        margin: .65rem 0
    }

    .sg8rx-table {
        width: 100%;
        border-collapse: collapse;
        background: #fff;
        border-radius: 18px;
        overflow: hidden
    }

    .sg8rx-table th,
    .sg8rx-table td {
        padding: .85rem 1rem;
        border-bottom: 1px solid var(--sg8rx-line);
        text-align: left
    }

    .sg8rx-table th {
        background: #edf7f2
    }

    .sg8rx-warning {
        border-left: 4px solid var(--sg8rx-gold);
        padding: 1rem 1.1rem;
        background: #fff8e8;
        border-radius: 0 16px 16px 0
    }

    .sg8rx-orderbox {
        min-height: 72vh;
        display: grid;
        place-items: center;
        padding: 60px 0
    }

    .sg8rx-orderinner {
        max-width: 720px;
        text-align: center
    }

    .sg8rx-orderinner img {
        width: min(330px, 80%);
        margin: 0 auto 1rem
    }
}

@layer motion {
    .sg8rx-node {
        transform-box: fill-box;
        transform-origin: center;
        animation: sg8rxPulse 3.8s ease-in-out infinite
    }

    .sg8rx-node:nth-of-type(2n) {
        animation-delay: -1.2s
    }

    .sg8rx-hex {
        animation: sg8rxFloat 6s ease-in-out infinite
    }

    .sg8rx-hex:nth-of-type(2n) {
        animation-delay: -2.5s
    }

    .sg8rx-netarc {
        stroke-dasharray: 8 14;
        animation: sg8rxFlow 12s linear infinite
    }

    .sg8rx-chartmeal,
    .sg8rx-chartbalance {
        stroke-dasharray: 100;
        stroke-dashoffset: 100
    }

    .sg8rx-chartarea {
        opacity: 0
    }

    .sg8rx-chartdot {
        opacity: 0
    }

    .sg8rx-chartbox.sg8rx-in .sg8rx-chartmeal {
        animation: sg8rxDraw 1.8s .2s ease forwards
    }

    .sg8rx-chartbox.sg8rx-in .sg8rx-chartbalance {
        animation: sg8rxDraw 2.1s .5s ease forwards
    }

    .sg8rx-chartbox.sg8rx-in .sg8rx-chartarea {
        animation: sg8rxFade .8s 1.4s forwards
    }

    .sg8rx-chartbox.sg8rx-in .sg8rx-chartdot {
        animation: sg8rxFade .6s 1.8s forwards, sg8rxDot 2.6s 2s ease-in-out infinite
    }

    @keyframes sg8rxPulse {
        50% {
            transform: scale(1.12);
            filter: drop-shadow(0 0 6px rgba(15, 126, 110, .45))
        }
    }

    @keyframes sg8rxFloat {
        50% {
            transform: translateY(-8px)
        }
    }

    @keyframes sg8rxFlow {
        to {
            stroke-dashoffset: -130
        }
    }

    @keyframes sg8rxDraw {
        to {
            stroke-dashoffset: 0
        }
    }

    @keyframes sg8rxFade {
        to {
            opacity: 1
        }
    }

    @keyframes sg8rxDot {
        50% {
            transform: translateY(-5px)
        }
    }
}

@layer utilities {
    .sg8rx-mt {
        margin-top: 1.25rem
    }

    .sg8rx-hidden {
        display: none !important
    }
}

@media(max-width:900px) {
    .sg8rx-links {
        position: fixed;
        inset: 78px 16px auto 16px;
        background: #fff;
        border: 1px solid var(--sg8rx-line);
        border-radius: 20px;
        box-shadow: var(--sg8rx-shadow);
        padding: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch
    }

    .sg8rx-links.sg8rx-open {
        display: flex
    }

    .sg8rx-menubtn {
        display: block
    }

    .sg8rx-herogrid,
    .sg8rx-split {
        grid-template-columns: 1fr
    }

    .sg8rx-visual {
        min-height: 470px
    }

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

    .sg8rx-three {
        grid-template-columns: 1fr
    }

    .sg8rx-footgrid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:600px) {
    html {
        font-size: 16px
    }

    .sg8rx-wrap {
        width: min(100% - 24px, 1180px)
    }

    .sg8rx-checks,
    .sg8rx-four,
    .sg8rx-two,
    .sg8rx-footgrid {
        grid-template-columns: 1fr
    }

    .sg8rx-hero {
        padding-top: 34px
    }

    .sg8rx-visual {
        min-height: 400px
    }

    .sg8rx-productstage {
        width: 65%
    }

    .sg8rx-balancechip {
        right: 0;
        bottom: 3%;
        max-width: 150px;
        font-size: .75rem
    }

    .sg8rx-section {
        padding: 58px 0
    }

    .sg8rx-pricecard {
        grid-template-rows: auto 165px auto auto
    }

    .sg8rx-pricecard img {
        height: 165px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }

    .sg8rx-chartmeal,
    .sg8rx-chartbalance {
        stroke-dashoffset: 0
    }

    .sg8rx-chartarea,
    .sg8rx-chartdot {
        opacity: 1
    }
}