/*
 * QG Business — vitrine premium 2026
 * Scope volontairement limité à la page d'accueil publique.
 */

body.home {
    --qg-black: #070707;
    --qg-ink: #111111;
    --qg-white: #ffffff;
    --qg-paper: #f5f5f3;
    --qg-soft: #e9e9e6;
    --qg-muted: #767676;
    --qg-line: rgba(17, 17, 17, 0.14);
    --qg-line-dark: rgba(255, 255, 255, 0.17);
    --qg-shell: min(1320px, calc(100vw - 72px));
    --qg-section-space: clamp(104px, 9vw, 144px);
    --qg-content-gap: clamp(44px, 6vw, 84px);
    --qg-font: "Montserrat", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    height: auto !important;
    min-height: 100%;
    margin: 0;
    overflow-x: clip;
    background: var(--qg-white);
    color: var(--qg-ink);
    font-family: var(--qg-font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.home * {
    box-sizing: border-box;
}

body.home img {
    display: block;
    max-width: 100%;
}

body.home a {
    color: inherit;
}

body.home .qg-shell {
    width: var(--qg-shell);
    margin-inline: auto;
}

body.home .qg-section {
    padding: var(--qg-section-space) 0;
}

.qg-icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.qg-icon {
    width: 1.35em;
    height: 1.35em;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.qg-skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    transform: translateY(-150%);
    padding: 12px 18px;
    background: #fff;
    color: #000;
    font: 600 13px/1 var(--qg-font);
    text-decoration: none;
    transition: transform 180ms ease;
}

.qg-skip-link:focus {
    transform: translateY(0);
}

.qg-site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 1000;
    height: 94px;
    color: #fff;
    border-bottom: 1px solid var(--qg-line-dark);
    transition: background 300ms ease, height 300ms ease, border-color 300ms ease;
}

.qg-site-header.is-scrolled {
    position: fixed;
    height: 76px;
    background: rgba(7, 7, 7, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.qg-nav-wrap {
    position: relative;
    height: 100%;
    display: grid;
    grid-template-columns: 120px 1fr auto;
    align-items: center;
    gap: 34px;
}

.qg-brand {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    text-decoration: none;
}

.qg-brand img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    transition: width 300ms ease, height 300ms ease;
}

.qg-site-header.is-scrolled .qg-brand img {
    width: 60px;
    height: 60px;
}

.qg-main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(18px, 2vw, 38px);
}

.qg-main-nav a,
.qg-account-link {
    position: relative;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
    transition: color 180ms ease;
}

.qg-main-nav a::after,
.qg-account-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -7px;
    height: 1px;
    background: currentColor;
    transition: right 220ms ease;
}

.qg-main-nav a:hover,
.qg-main-nav a:focus-visible,
.qg-account-link:hover,
.qg-account-link:focus-visible {
    color: #fff;
}

.qg-main-nav a:hover::after,
.qg-main-nav a:focus-visible::after,
.qg-account-link:hover::after,
.qg-account-link:focus-visible::after {
    right: 0;
}

.qg-nav-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.qg-menu-toggle {
    display: none;
}

.qg-mobile-nav-actions {
    display: none;
}

.qg-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-decoration: none;
    transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.qg-button .qg-icon {
    width: 18px;
    height: 18px;
    transition: transform 220ms ease;
}

.qg-button:hover,
.qg-button:focus-visible {
    transform: translateY(-2px);
}

.qg-button:hover .qg-icon,
.qg-button:focus-visible .qg-icon {
    transform: translateX(3px);
}

.qg-button--light {
    background: #fff;
    border-color: #fff;
    color: #090909 !important;
}

.qg-button--light:hover,
.qg-button--light:focus-visible {
    background: transparent;
    color: #fff !important;
}

.qg-button--dark {
    background: var(--qg-black);
    border-color: var(--qg-black);
    color: #fff !important;
}

.qg-button--dark:hover,
.qg-button--dark:focus-visible {
    background: transparent;
    color: var(--qg-black) !important;
}

.qg-button--small {
    min-height: 42px;
    padding: 0 18px;
    font-size: 11px;
}

.qg-text-link {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding-bottom: 7px;
    border-bottom: 1px solid currentColor;
    color: var(--qg-ink);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 180ms ease;
}

.qg-text-link:hover,
.qg-text-link:focus-visible {
    opacity: 0.58;
}

.qg-text-link .qg-icon {
    width: 16px;
    height: 16px;
    transition: transform 220ms ease;
}

.qg-text-link:hover .qg-icon,
.qg-text-link:focus-visible .qg-icon {
    transform: translateX(3px);
}

.qg-text-link--light {
    color: #fff !important;
}

.qg-hero {
    position: relative;
    min-height: 900px;
    height: max(900px, 100svh);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 30%, rgba(255,255,255,.08), transparent 24%),
        var(--qg-black);
    color: #fff;
}

.qg-hero-glow {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(95px);
    opacity: .24;
    will-change: transform;
}

.qg-hero-glow--one {
    width: 42vw;
    height: 42vw;
    top: -20vw;
    right: -5vw;
    background: rgba(255,255,255,.25);
    animation: qg-drift-one 13s ease-in-out infinite alternate;
}

.qg-hero-glow--two {
    width: 26vw;
    height: 26vw;
    right: 28vw;
    bottom: -16vw;
    background: rgba(170,170,170,.16);
    animation: qg-drift-two 16s ease-in-out infinite alternate;
}

@keyframes qg-drift-one {
    to { transform: translate3d(-6vw, 5vw, 0) scale(1.12); }
}

@keyframes qg-drift-two {
    to { transform: translate3d(5vw, -4vw, 0) scale(.9); }
}

.qg-hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.23;
    background-image:
        linear-gradient(to right, rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 12.5vw 100%, 100% 25%;
    mask-image: linear-gradient(to right, #000, transparent 72%);
}

.qg-hero::after {
    content: "";
    position: absolute;
    width: 46vw;
    aspect-ratio: 1;
    top: 14%;
    right: -13%;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    box-shadow: 0 0 0 7vw rgba(255,255,255,.015), 0 0 0 14vw rgba(255,255,255,.01);
}

.qg-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    align-items: center;
    gap: clamp(50px, 7vw, 120px);
    padding-top: 100px;
}

.qg-hero-copy {
    min-width: 0;
    width: 100%;
}

.qg-eyebrow,
.qg-kicker {
    margin: 0 0 28px;
    color: #707070;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.qg-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255,255,255,.62);
}

.qg-eyebrow span {
    width: 28px;
    height: 1px;
    background: rgba(255,255,255,.55);
}

.qg-kicker--dark {
    color: rgba(255,255,255,.56);
}

.qg-hero h1 {
    max-width: 820px;
    margin: 0;
    color: #fff;
    font-family: var(--qg-font);
    font-size: clamp(52px, 5.55vw, 88px);
    font-weight: 500;
    letter-spacing: -0.065em;
    line-height: 0.98;
}

.qg-hero h1 em {
    display: inline-block;
    color: #929292;
    font-style: normal;
    font-weight: 400;
}

.qg-hero-lead {
    max-width: 650px;
    margin: 35px 0 0;
    color: rgba(255,255,255,.67);
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.75;
}

.qg-hero-actions {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-top: 44px;
}

.qg-hero-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 70px;
    border-top: 1px solid var(--qg-line-dark);
}

.qg-hero-proof > div {
    min-height: 95px;
    padding: 23px 20px 0 0;
}

.qg-hero-proof > div + div {
    padding-left: 24px;
    border-left: 1px solid var(--qg-line-dark);
}

.qg-hero-proof strong,
.qg-hero-proof span {
    display: block;
}

.qg-hero-proof strong {
    margin-bottom: 4px;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
}

.qg-hero-proof span {
    color: rgba(255,255,255,.48);
    font-size: 10px;
    line-height: 1.5;
}

.qg-hero-visual {
    position: relative;
    width: 100%;
    max-width: 570px;
    justify-self: end;
    --qg-hero-shift: 0px;
    transform: translate3d(0, var(--qg-hero-shift), 0);
    transition: transform 160ms linear;
}

.qg-hero-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5.25;
    margin: 0;
    overflow: hidden;
    background: #181818;
}

.qg-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.52));
    mix-blend-mode: multiply;
}

.qg-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(1) contrast(1.08);
    transform: scale(1.02);
}

.qg-hero-card {
    position: absolute;
    z-index: 2;
    left: -54px;
    bottom: 46px;
    width: min(320px, 72%);
    padding: 24px 28px;
    color: #111;
    background: rgba(255,255,255,.95);
    box-shadow: 0 28px 80px rgba(0,0,0,.3);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.qg-hero-card p {
    margin: 0 0 9px;
    color: #777;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.qg-hero-card strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.qg-pulse {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #20a35b;
    box-shadow: 0 0 0 5px rgba(32,163,91,.12);
}

.qg-hero-monogram {
    position: absolute;
    top: -48px;
    right: -28px;
    width: 150px;
    opacity: .1;
}

.qg-hero-monogram img {
    width: 100%;
    height: auto;
}

.qg-scroll-cue {
    position: absolute;
    z-index: 2;
    left: 26px;
    bottom: 42px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.42);
    font-size: 8px;
    letter-spacing: .18em;
    text-transform: uppercase;
    transform: rotate(-90deg);
    transform-origin: left center;
}

.qg-scroll-cue span {
    display: inline-block;
    width: 32px;
    height: 1px;
    background: rgba(255,255,255,.3);
}

.qg-trust-strip {
    background: #fff;
    border-bottom: 1px solid var(--qg-line);
}

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

.qg-trust-grid > div {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 30px;
}

.qg-trust-grid > div:first-child {
    padding-left: 0;
}

.qg-trust-grid > div + div {
    border-left: 1px solid var(--qg-line);
}

.qg-trust-grid span {
    color: #aaa;
    font-size: 9px;
}

.qg-trust-grid p {
    margin: 0;
    color: #767676;
    font-size: 11px;
}

.qg-trust-grid strong {
    display: block;
    color: #111;
    font-size: 12px;
    font-weight: 600;
}

.qg-intro {
    background: #fff;
}

.qg-intro-layout,
.qg-section-head--split,
.qg-savings-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    align-items: end;
    gap: 80px;
}

.qg-intro h2,
.qg-section-head h2,
.qg-focus h2,
.qg-savings h2,
.qg-final-cta h2 {
    margin: 0;
    color: var(--qg-ink);
    font-family: var(--qg-font);
    font-size: clamp(42px, 4.2vw, 68px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1.06;
}

.qg-intro-copy {
    padding-bottom: 6px;
}

.qg-intro-copy p,
.qg-section-head > p,
.qg-section-head--split > p,
.qg-focus-copy > p,
.qg-savings-layout > div > p {
    margin: 0 0 30px;
    color: #656565;
    font-size: 15px;
    line-height: 1.8;
}

.qg-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 105px;
    border-top: 1px solid var(--qg-line);
    border-bottom: 1px solid var(--qg-line);
}

.qg-benefit {
    position: relative;
    min-height: 390px;
    padding: 38px 42px 46px;
}

.qg-benefit + .qg-benefit {
    border-left: 1px solid var(--qg-line);
}

.qg-benefit-index {
    position: absolute;
    top: 36px;
    right: 36px;
    color: #aaa;
    font-size: 9px;
}

.qg-benefit-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-top: 54px;
    border: 1px solid #b7b7b7;
    border-radius: 50%;
    color: #222;
    font-size: 21px;
    font-weight: 300;
}

.qg-benefit-icon .qg-icon {
    width: 31px;
    height: 31px;
    stroke-width: 1.35;
}

.qg-benefit h3 {
    max-width: 300px;
    margin: 58px 0 17px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.3;
}

.qg-benefit p {
    max-width: 330px;
    margin: 0;
    color: #777;
    font-size: 12px;
    line-height: 1.8;
}

.qg-portal {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 76% 44%, rgba(255,255,255,.075), transparent 26%),
        #080808;
}

.qg-portal::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .34;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to left, #000, transparent 76%);
}

.qg-portal-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(330px, .78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: clamp(64px, 8vw, 130px);
}

.qg-portal-copy h2 {
    max-width: 650px;
    margin: 0;
    color: #fff;
    font-size: clamp(48px, 5.2vw, 82px);
    font-weight: 500;
    letter-spacing: -.06em;
    line-height: 1.02;
}

.qg-portal-lead {
    max-width: 560px;
    margin: 32px 0 0;
    color: rgba(255,255,255,.58);
    font-size: 14px;
    line-height: 1.85;
}

.qg-portal-features {
    max-width: 560px;
    margin: 42px 0 38px;
    padding: 0;
    border-top: 1px solid rgba(255,255,255,.14);
    list-style: none;
}

.qg-portal-features li {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: center;
    gap: 17px;
    padding: 17px 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.qg-portal-features > li > .qg-icon {
    width: 25px;
    height: 25px;
    color: rgba(255,255,255,.68);
    stroke-width: 1.4;
}

.qg-portal-features strong,
.qg-portal-features small {
    display: block;
}

.qg-portal-features strong {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.qg-portal-features small {
    margin-top: 2px;
    color: rgba(255,255,255,.42);
    font-size: 9px;
}

.qg-portal-art {
    position: relative;
    min-height: 690px;
    display: grid;
    place-items: center;
    --qg-tilt-x: 0deg;
    --qg-tilt-y: 0deg;
    transform: perspective(1200px) rotateX(var(--qg-tilt-x)) rotateY(var(--qg-tilt-y));
    transform-style: preserve-3d;
    transition: transform 450ms cubic-bezier(.2,.8,.2,1);
}

.qg-portal-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(68px);
    animation: qg-orb-float 8s ease-in-out infinite alternate;
}

.qg-portal-orb--one {
    width: 320px;
    height: 320px;
    top: 4%;
    right: 2%;
    background: rgba(255,255,255,.14);
}

.qg-portal-orb--two {
    width: 250px;
    height: 250px;
    bottom: 5%;
    left: 3%;
    background: rgba(130,130,130,.15);
    animation-delay: -3s;
}

@keyframes qg-orb-float {
    to { transform: translate3d(28px, -22px, 0) scale(1.08); }
}

.qg-portal-window {
    position: relative;
    z-index: 2;
    width: min(720px, 92%);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.19);
    border-radius: 18px;
    background: rgba(23,23,23,.86);
    box-shadow: 0 55px 120px rgba(0,0,0,.58), inset 0 1px rgba(255,255,255,.08);
    -webkit-backdrop-filter: blur(26px);
    backdrop-filter: blur(26px);
    transform: translateZ(34px) rotate(-1.4deg);
}

.qg-portal-window-bar {
    height: 54px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255,255,255,.09);
    color: rgba(255,255,255,.48);
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.qg-portal-window-bar i {
    width: 7px;
    height: 7px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
}

.qg-portal-window-bar span {
    margin-left: 10px;
}

.qg-portal-window-bar .qg-icon {
    width: 14px;
    height: 14px;
    margin-left: auto;
}

.qg-portal-window-body {
    min-height: 470px;
    display: grid;
    grid-template-columns: 70px 1fr;
}

.qg-portal-window aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 24px 0;
    border-right: 1px solid rgba(255,255,255,.08);
}

.qg-portal-window aside b {
    width: 46px;
    min-height: 32px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.08em;
}

.qg-portal-logo {
    width: 44px;
    height: auto;
    display: block;
}

.qg-portal-window aside span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: rgba(255,255,255,.34);
}

.qg-portal-window aside span.is-active {
    color: #111;
    background: #fff;
}

.qg-portal-window aside .qg-icon {
    width: 16px;
    height: 16px;
}

.qg-portal-dashboard {
    min-width: 0;
    padding: 42px 38px 36px;
}

.qg-portal-welcome span,
.qg-portal-welcome strong {
    display: block;
}

.qg-portal-welcome span {
    color: rgba(255,255,255,.4);
    font-size: 9px;
}

.qg-portal-welcome strong {
    margin-top: 8px;
    color: #fff;
    font-size: clamp(21px, 2.2vw, 32px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.15;
}

.qg-portal-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
}

.qg-portal-metrics > div {
    min-height: 116px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    background: rgba(255,255,255,.045);
}

.qg-portal-metrics span,
.qg-portal-metrics strong,
.qg-portal-metrics small {
    display: block;
}

.qg-portal-metrics span,
.qg-portal-metrics small {
    color: rgba(255,255,255,.38);
    font-size: 8px;
}

.qg-portal-metrics strong {
    margin: 5px 0 2px;
    font-size: 27px;
    font-weight: 500;
}

.qg-portal-list {
    margin-top: 13px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    background: rgba(255,255,255,.035);
}

.qg-portal-list p {
    min-height: 53px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 0 17px;
    color: rgba(255,255,255,.8);
    font-size: 8px;
}

.qg-portal-list p + p {
    border-top: 1px solid rgba(255,255,255,.08);
}

.qg-portal-list p span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qg-portal-list .qg-icon {
    width: 15px;
    height: 15px;
    color: rgba(255,255,255,.55);
}

.qg-portal-list b {
    font-weight: 500;
}

.qg-portal-list small {
    color: rgba(255,255,255,.32);
    white-space: nowrap;
}

.qg-portal-float {
    position: absolute;
    z-index: 3;
    min-width: 190px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 17px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 12px;
    color: #111;
    background: rgba(255,255,255,.91);
    box-shadow: 0 24px 60px rgba(0,0,0,.36);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    animation: qg-card-float 5s ease-in-out infinite alternate;
}

.qg-portal-float--mail {
    top: 13%;
    left: -2%;
    transform: translateZ(76px);
}

.qg-portal-float--secure {
    right: -1%;
    bottom: 13%;
    animation-delay: -2.2s;
}

@keyframes qg-card-float {
    to { translate: 0 -11px; }
}

.qg-portal-float > .qg-icon {
    width: 23px;
    height: 23px;
}

.qg-portal-float small,
.qg-portal-float strong {
    display: block;
}

.qg-portal-float small {
    color: #888;
    font-size: 7px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.qg-portal-float strong {
    font-size: 10px;
    font-weight: 600;
}

.qg-offers {
    background: var(--qg-paper);
}

.qg-section-head--center {
    max-width: 760px;
    margin: 0 auto 76px;
    text-align: center;
}

.qg-section-head--center > p:last-child {
    max-width: 620px;
    margin: 24px auto 0;
}

.qg-offer-shortcode .offers-list {
    width: 100%;
}

.qg-offer-shortcode .switch-toggle {
    width: min(430px, 100%) !important;
    height: 58px;
    padding: 5px !important;
    border: 1px solid rgba(17,17,17,.08);
    border-radius: 999px !important;
    background: #e7e7e4 !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.04);
}

.qg-offer-shortcode .switch-label {
    padding: 14px 8px !important;
    color: #555;
    font-size: 11px !important;
    font-weight: 600;
    letter-spacing: .01em;
}

.qg-offer-shortcode .client-slider {
    top: 5px !important;
    left: 5px !important;
    width: calc(50% - 5px) !important;
    height: 46px !important;
    background: #0a0a0a !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.16);
}

.qg-offer-shortcode #physique:checked ~ .client-slider {
    left: 5px !important;
}

.qg-offer-shortcode #morale:checked ~ .client-slider {
    left: calc(50% + 1px) !important;
}

.qg-offer-shortcode input:checked + label {
    color: #fff !important;
}

.qg-offer-shortcode > .offers-list > .row {
    --bs-gutter-x: 24px;
    align-items: stretch;
    padding-top: 16px;
}

.qg-offer-shortcode .offer,
.qg-offer-shortcode .card {
    height: 100%;
}

.qg-offer-shortcode .card {
    overflow: hidden;
    position: relative;
    border: 1px solid #d8d8d3 !important;
    border-radius: 18px !important;
    background: #fff;
    box-shadow: 0 18px 55px rgba(0,0,0,.045) !important;
    transition: transform 320ms cubic-bezier(.2,.75,.2,1), box-shadow 320ms ease, border-color 320ms ease;
}

.qg-offer-shortcode .card:hover {
    z-index: 2;
    transform: translateY(-10px);
    border-color: #111 !important;
    box-shadow: 0 32px 80px rgba(0,0,0,.12) !important;
}

.qg-offer-shortcode .offer--recommended .card {
    transform: translateY(-14px);
    border-color: #0a0a0a !important;
    background: #0a0a0a;
    color: #fff;
    box-shadow: 0 34px 90px rgba(0,0,0,.2) !important;
}

.qg-offer-shortcode .offer--recommended .card:hover {
    transform: translateY(-20px);
}

.qg-offer-shortcode .card-body {
    padding: 34px 32px 20px;
}

.qg-offer-meta {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 38px;
}

.qg-offer-number {
    color: #9a9a95;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .15em;
}

.qg-offer-badge {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 0 12px;
    border: 1px solid #d8d8d3;
    border-radius: 999px;
    color: #555;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.qg-offer-shortcode .offer--recommended .qg-offer-number {
    color: rgba(255,255,255,.46);
}

.qg-offer-shortcode .offer--recommended .qg-offer-badge {
    border-color: #fff;
    background: #fff;
    color: #0a0a0a;
}

.qg-offer-shortcode .card-body > h3 {
    margin: 0 0 14px;
    color: #111;
    font-size: clamp(27px, 2.2vw, 36px);
    font-weight: 500;
    letter-spacing: -.055em;
}

.qg-offer-shortcode .offer .card h3 {
    background: none !important;
    color: #111 !important;
    text-align: left !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #111 !important;
}

.qg-offer-shortcode .offer--recommended .card h3 {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.qg-offer-promise {
    min-height: 76px;
    margin: 0;
    color: #777;
    font-size: 11px;
    line-height: 1.7;
}

.qg-offer-shortcode .offer--recommended .qg-offer-promise {
    color: rgba(255,255,255,.58);
}

.qg-offer-shortcode .price-display {
    margin-top: 28px;
    padding: 25px 0 27px;
    border-top: 1px solid var(--qg-line);
    border-bottom: 1px solid var(--qg-line);
    text-align: left !important;
}

.qg-offer-shortcode .offer--recommended .price-display {
    border-color: rgba(255,255,255,.16);
}

.qg-price-prefix {
    display: block;
    margin-bottom: 7px;
    color: #858581;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.qg-offer-shortcode .offer--recommended .qg-price-prefix {
    color: rgba(255,255,255,.4);
}

.qg-offer-shortcode .price-monthly {
    text-align: left;
}

.qg-offer-shortcode .price {
    color: #111;
    font-size: clamp(42px, 3.6vw, 58px) !important;
    font-weight: 500 !important;
    letter-spacing: -.075em;
    line-height: 1;
}

.qg-offer-shortcode .frequency {
    margin-left: 8px;
    color: #777;
    font-size: 9px !important;
}

.qg-offer-shortcode .offer--recommended .price {
    color: #fff;
}

.qg-offer-shortcode .offer--recommended .frequency {
    color: rgba(255,255,255,.52);
}

.qg-included-label {
    margin: 26px 0 5px;
    color: #888;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.qg-offer-shortcode .offer--recommended .qg-included-label {
    color: rgba(255,255,255,.42);
}

.qg-offer-shortcode .list-group {
    padding-top: 8px;
}

.qg-offer-shortcode .list-group-item {
    display: grid !important;
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 11px;
    padding: 10px 0 !important;
    border: 0 !important;
    background: transparent;
    color: #444;
    font-size: 10px;
    line-height: 1.6;
}

.qg-offer-shortcode .list-group-item svg {
    width: 18px;
    height: 18px;
    margin-top: -1px;
    padding: 3px;
    border: 1px solid #d3d3ce;
    border-radius: 50%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.qg-offer-shortcode .offer--recommended .list-group-item {
    color: rgba(255,255,255,.76);
}

.qg-offer-shortcode .offer--recommended .list-group-item svg {
    border-color: rgba(255,255,255,.28);
}

.qg-offer-shortcode .card-footer {
    margin: 0 !important;
    padding: 15px 32px 30px;
    border: 0;
    background: #fff;
}

.qg-offer-shortcode .offer--recommended .card-footer {
    background: #0a0a0a;
}

.qg-offer-shortcode .card-footer .btn {
    width: 100%;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 20px;
    border: 1px solid #0a0a0a;
    border-radius: 6px;
    background: #0a0a0a;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    box-shadow: none;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.qg-offer-shortcode .card-footer .btn:hover,
.qg-offer-shortcode .card-footer .btn:focus-visible {
    background: #fff;
    color: #0a0a0a;
}

.qg-offer-shortcode .offer--recommended .card-footer .btn {
    border-color: #fff;
    background: #fff;
    color: #0a0a0a;
}

.qg-offer-shortcode .offer--recommended .card-footer .btn:hover,
.qg-offer-shortcode .offer--recommended .card-footer .btn:focus-visible {
    background: transparent;
    color: #fff;
}

.qg-offer-shortcode .card-footer .btn span {
    font-size: 18px;
    font-weight: 400;
    transition: transform 180ms ease;
}

.qg-offer-shortcode .card-footer .btn:hover span,
.qg-offer-shortcode .card-footer .btn:focus-visible span {
    transform: translateX(4px);
}

.qg-offer-shortcode .card-footer small {
    display: block;
    margin-top: 12px;
    color: #888;
    font-size: 8px;
}

.qg-offer-shortcode .offer--recommended .card-footer small {
    color: rgba(255,255,255,.42);
}

.qg-offer-assurance {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 42px;
    border-top: 1px solid #d6d6d1;
    border-bottom: 1px solid #d6d6d1;
}

.qg-offer-assurance > span {
    min-height: 104px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 30px;
    border-left: 1px solid #d6d6d1;
}

.qg-offer-assurance > span:first-child {
    padding-left: 0;
    border-left: 0;
}

.qg-offer-assurance strong,
.qg-offer-assurance small {
    display: block;
}

.qg-offer-assurance strong {
    color: #171717;
    font-size: 11px;
    font-weight: 600;
}

.qg-offer-assurance small {
    margin-top: 6px;
    color: #858581;
    font-size: 9px;
}

.qg-legal-note {
    margin: 24px 0 0;
    color: #888;
    font-size: 9px;
    text-align: center;
}

.qg-editorial {
    background: #fff;
}

.qg-section-head--split {
    margin-bottom: 76px;
}

.qg-section-head--split > p {
    max-width: 430px;
    justify-self: end;
    margin-bottom: 5px;
}

.qg-section-head--split > .qg-text-link {
    justify-self: end;
    margin-bottom: 12px;
}

.qg-editorial-grid {
    display: grid;
    grid-template-columns: 1.15fr .925fr .925fr;
    gap: 12px;
}

.qg-editorial-card {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: #222;
    color: #fff !important;
    text-decoration: none;
}

.qg-editorial-card--large {
    min-height: 720px;
}

.qg-editorial-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: transform 700ms cubic-bezier(.2,.7,.2,1), filter 500ms ease;
}

.qg-editorial-card:hover img,
.qg-editorial-card:focus-visible img {
    transform: scale(1.045);
    filter: grayscale(.25);
}

.qg-image-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.08) 25%, rgba(0,0,0,.78) 100%);
}

.qg-editorial-photo-note {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(0, 0, 0, .54);
    color: rgba(255, 255, 255, .82);
    font-size: 9px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .035em;
    white-space: nowrap;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}

.qg-card-number {
    position: absolute;
    top: 28px;
    right: 30px;
    font-size: 9px;
    letter-spacing: .1em;
}

.qg-card-copy {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 34px;
}

.qg-card-copy small,
.qg-card-copy strong,
.qg-card-copy i {
    display: block;
}

.qg-card-copy small {
    margin-bottom: 14px;
    color: rgba(255,255,255,.64);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.qg-card-copy strong {
    font-size: clamp(26px, 2.3vw, 39px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.qg-card-copy i {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
}

.qg-card-copy i .qg-icon {
    width: 14px;
    height: 14px;
}

.qg-process {
    background: var(--qg-black);
    color: #fff;
}

.qg-process-layout {
    display: grid;
    grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
    gap: clamp(80px, 12vw, 180px);
}

.qg-process-intro {
    position: sticky;
    top: 120px;
    align-self: start;
}

.qg-process h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(44px, 4.5vw, 70px);
    font-weight: 500;
    letter-spacing: -.06em;
    line-height: 1.04;
}

.qg-process-intro > p:not(.qg-kicker) {
    max-width: 460px;
    margin: 30px 0 40px;
    color: rgba(255,255,255,.54);
    font-size: 14px;
    line-height: 1.8;
}

.qg-process-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--qg-line-dark);
}

.qg-process-list li {
    min-height: 220px;
    display: grid;
    grid-template-columns: 65px 1fr;
    gap: 32px;
    align-items: center;
    border-bottom: 1px solid var(--qg-line-dark);
}

.qg-process-list > li > span {
    color: rgba(255,255,255,.38);
    font-size: 11px;
}

.qg-process-list h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -.025em;
}

.qg-process-list p {
    max-width: 590px;
    margin: 0;
    color: rgba(255,255,255,.48);
    font-size: 12px;
    line-height: 1.8;
}

.qg-focus {
    background: #fff;
}

.qg-focus-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
    align-items: center;
    gap: clamp(70px, 9vw, 140px);
}

.qg-focus-media {
    position: relative;
    min-height: 730px;
    overflow: hidden;
}

.qg-focus-media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.03);
}

.qg-focus-tag {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(285px, 65%);
    padding: 27px 30px;
    background: #fff;
}

.qg-focus-tag span,
.qg-focus-tag strong {
    display: block;
}

.qg-focus-tag span {
    color: #888;
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.qg-focus-tag strong {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 600;
}

.qg-focus-copy h2 {
    font-size: clamp(40px, 3.8vw, 62px);
}

.qg-focus-copy > p {
    margin-top: 30px;
}

.qg-focus-copy ul {
    margin: 45px 0 38px;
    padding: 0;
    border-top: 1px solid var(--qg-line);
    list-style: none;
}

.qg-focus-copy li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 19px 0;
    border-bottom: 1px solid var(--qg-line);
    font-size: 11px;
}

.qg-focus-copy li span {
    color: #666;
}

.qg-focus-copy li strong {
    font-weight: 600;
    text-align: right;
}

.qg-focus-copy > small,
.qg-savings-layout small {
    display: block;
    max-width: 520px;
    margin-top: 18px;
    color: #999;
    font-size: 8px;
    line-height: 1.6;
}

.qg-savings {
    background: var(--qg-paper);
}

.qg-savings-layout {
    align-items: center;
}

.qg-savings h2 span {
    white-space: nowrap;
}

.qg-faq {
    background: #fff;
}

.qg-faq-layout {
    display: grid;
    grid-template-columns: minmax(310px, .78fr) minmax(0, 1.22fr);
    align-items: start;
    gap: clamp(70px, 10vw, 160px);
}

.qg-faq-intro {
    position: sticky;
    top: 120px;
}

.qg-faq-intro h2 {
    margin: 0;
    font-size: clamp(44px, 4.4vw, 70px);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: 1.04;
}

.qg-faq-intro > p:last-child {
    max-width: 450px;
    margin: 30px 0 0;
    color: #777;
    font-size: 13px;
    line-height: 1.8;
}

.qg-faq-list {
    border-top: 1px solid var(--qg-line);
}

.qg-faq-list details {
    border-bottom: 1px solid var(--qg-line);
}

.qg-faq-list summary {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 24px 2px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.015em;
    list-style: none;
}

.qg-faq-list summary::-webkit-details-marker {
    display: none;
}

.qg-faq-list summary span {
    position: relative;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.qg-faq-list summary span::before,
.qg-faq-list summary span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 3px;
    right: 3px;
    height: 1px;
    background: currentColor;
    transition: transform 240ms ease;
}

.qg-faq-list summary span::after {
    transform: rotate(90deg);
}

.qg-faq-list details[open] summary span::after {
    transform: rotate(0);
}

.qg-faq-list details p {
    max-width: 720px;
    margin: -5px 50px 30px 2px;
    color: #707070;
    font-size: 12px;
    line-height: 1.85;
    animation: qg-faq-in 280ms ease both;
}

@keyframes qg-faq-in {
    from { opacity: 0; transform: translateY(-7px); }
}

.qg-journal {
    background: #fff;
}

.qg-tools {
    color: #fff;
    background:
        radial-gradient(circle at 82% 16%, rgba(255,255,255,.09), transparent 30%),
        #080808;
}

.qg-tools .qg-section-head h2,
.qg-tools .qg-section-head > p {
    color: #fff;
}

.qg-tools .qg-section-head > p {
    color: rgba(255,255,255,.5);
}

.qg-tool-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255,255,255,.17);
    border-left: 1px solid rgba(255,255,255,.17);
}

.qg-tool-card {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 46px;
    padding: clamp(30px, 3.6vw, 52px);
    color: #fff;
    border-right: 1px solid rgba(255,255,255,.17);
    border-bottom: 1px solid rgba(255,255,255,.17);
    background: rgba(255,255,255,.025);
    text-decoration: none;
    transition: background 260ms ease, color 260ms ease, transform 260ms ease;
}

.qg-tool-card:hover,
.qg-tool-card:focus-visible {
    color: #080808;
    background: #fff;
    transform: translateY(-5px);
}

.qg-tool-card--accent:hover,
.qg-tool-card--accent:focus-visible {
    background: #06c167;
}

.qg-tool-index,
.qg-tool-card small {
    color: rgba(255,255,255,.42);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.qg-tool-card:hover .qg-tool-index,
.qg-tool-card:focus-visible .qg-tool-index,
.qg-tool-card:hover small,
.qg-tool-card:focus-visible small {
    color: rgba(0,0,0,.54);
}

.qg-tool-card h3 {
    margin: 18px 0 26px;
    color: inherit;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: 1.02;
}

.qg-tool-card p {
    margin: 0;
    color: rgba(255,255,255,.5);
    font-size: 12px;
    line-height: 1.75;
}

.qg-tool-card:hover p,
.qg-tool-card:focus-visible p {
    color: rgba(0,0,0,.64);
}

.qg-tool-card strong {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid currentColor;
    font-size: 10px;
    font-weight: 650;
}

.qg-tools-note {
    margin: 22px 0 0;
    color: rgba(255,255,255,.32);
    font-size: 9px;
}

.qg-article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.qg-article-card a {
    display: block;
    text-decoration: none;
}

.qg-article-media {
    aspect-ratio: 1.42 / 1;
    overflow: hidden;
    background: var(--qg-paper);
}

.qg-article-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: transform 500ms ease, filter 500ms ease;
}

.qg-editorial-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    color: #fff;
    background:
        linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
        radial-gradient(circle at 78% 22%, #3c3c3c, transparent 32%),
        #090909;
    background-size: 46px 46px, 46px 46px, auto, auto;
}

.qg-editorial-thumb span {
    font-size: clamp(48px, 6vw, 84px);
    font-weight: 600;
    letter-spacing: -.08em;
}

.qg-editorial-thumb small {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.qg-article-card a:hover img,
.qg-article-card a:focus-visible img {
    transform: scale(1.035);
    filter: grayscale(.3);
}

.qg-article-card p {
    margin: 22px 0 12px;
    color: #999;
    font-size: 9px;
    letter-spacing: .08em;
}

.qg-article-card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.45;
}

.qg-article-card a > span {
    display: inline-block;
    margin-top: 22px;
    padding-bottom: 5px;
    border-bottom: 1px solid currentColor;
    font-size: 9px;
    font-weight: 600;
}

.qg-final-cta {
    padding: 150px 0;
    background: var(--qg-black);
    color: #fff;
    text-align: center;
}

.qg-final-cta h2 {
    color: #fff;
    font-size: clamp(48px, 6vw, 92px);
}

.qg-final-cta > div > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    margin-top: 48px;
}

.qg-footer {
    padding: clamp(130px, 10vw, 185px) 0 0 !important;
    background: #0a0a0a;
    color: #fff;
    border-top: 1px solid rgba(255,255,255,.12);
}

.qg-footer-main {
    display: grid;
    grid-template-columns: 1.45fr repeat(4, 1fr);
    gap: 60px;
    padding-bottom: clamp(100px, 8vw, 140px);
}

.qg-footer-brand img {
    width: 116px;
    height: auto;
    object-fit: contain;
}

.qg-footer-brand p {
    max-width: 280px;
    margin: 24px 0 12px;
    color: rgba(255,255,255,.57);
    font-size: 12px;
}

.qg-footer-brand small {
    color: rgba(255,255,255,.34);
    font-size: 9px;
}

.qg-footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.qg-footer-col h2 {
    margin: 0 0 14px;
    color: rgba(255,255,255,.42);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.qg-footer-col a,
.qg-footer-col p {
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    line-height: 1.8;
    text-decoration: none;
}

.qg-footer-col a:hover,
.qg-footer-col a:focus-visible {
    color: #fff;
}

.qg-footer-col .qg-footer-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.qg-footer-arrow-link .qg-icon {
    width: 13px;
    height: 13px;
}

.qg-footer-bottom {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.qg-footer-bottom p,
.qg-footer-bottom a {
    margin: 0;
    color: rgba(255,255,255,.35);
    font-size: 9px;
    text-decoration: none;
}

.qg-footer-bottom > div {
    display: flex;
    gap: 28px;
}

.qg-footer-bottom a:hover,
.qg-footer-bottom a:focus-visible {
    color: #fff;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(10px);
    transition: opacity 750ms cubic-bezier(.2,.7,.2,1), transform 750ms cubic-bezier(.2,.7,.2,1), filter 750ms cubic-bezier(.2,.7,.2,1);
}

[data-reveal-delay="1"] { transition-delay: 120ms; }
[data-reveal-delay="2"] { transition-delay: 240ms; }

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

[data-reveal][data-motion="hero"] {
    transform: translate3d(0, calc(var(--qg-hero-shift) + 28px), 0);
}

[data-reveal][data-motion="hero"].is-visible {
    transform: translate3d(0, var(--qg-hero-shift), 0);
}

[data-reveal][data-tilt] {
    transform: perspective(1200px) translateY(28px) rotateX(var(--qg-tilt-x)) rotateY(var(--qg-tilt-y));
}

[data-reveal][data-tilt].is-visible {
    transform: perspective(1200px) translateY(0) rotateX(var(--qg-tilt-x)) rotateY(var(--qg-tilt-y));
}

@media (max-width: 1199px) {
    body.home {
        --qg-shell: min(100% - 48px, 1120px);
    }

    .qg-main-nav {
        gap: 18px;
    }

    .qg-main-nav > a:nth-last-child(-n+2) {
        display: none;
    }

    .qg-tool-card {
        min-height: 470px;
    }

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

    .qg-hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
        gap: 60px;
    }

    .qg-hero h1 {
        font-size: clamp(50px, 6vw, 74px);
    }

    .qg-hero-proof {
        margin-top: 55px;
    }

    .qg-hero-card {
        left: -30px;
    }

    .qg-editorial-card,
    .qg-editorial-card--large {
        min-height: 580px;
    }
}

@media (max-width: 991px) {
    body.home {
        --qg-shell: min(100% - 40px, 850px);
    }

    body.qg-menu-open {
        overflow: hidden;
        overscroll-behavior: none;
    }

    body.home .qg-section {
        padding: 110px 0;
    }

    .qg-site-header {
        height: 72px;
        transition: background 220ms ease, height 220ms ease, border-color 220ms ease;
    }

    body.qg-menu-open .qg-site-header {
        position: fixed;
        height: 72px;
        background: rgba(8, 8, 8, .92);
        border-bottom-color: rgba(255, 255, 255, .1);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .qg-nav-wrap {
        grid-template-columns: 1fr auto;
    }

    .qg-brand {
        position: relative;
        z-index: 3;
        width: 56px;
        height: 56px;
    }

    .qg-brand img {
        width: 56px;
        height: 56px;
        object-fit: cover;
    }

    .qg-menu-toggle {
        position: absolute;
        right: 0;
        z-index: 3;
        width: 46px;
        min-width: 46px;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid rgba(255,255,255,.2);
        border-radius: 50%;
        background: rgba(255,255,255,.055);
        color: #fff;
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
    }

    .qg-menu-toggle:hover,
    .qg-menu-toggle:focus-visible,
    .qg-menu-toggle[aria-expanded="true"] {
        border-color: rgba(255,255,255,.5);
        background: rgba(255,255,255,.11);
    }

    .qg-menu-icon {
        position: relative;
        width: 19px;
        height: 15px;
    }

    .qg-menu-icon i {
        position: absolute;
        left: 0;
        width: 19px;
        height: 1px;
        background: #fff;
        transform-origin: center;
        transition: top 220ms ease, transform 220ms ease, opacity 160ms ease, width 180ms ease;
    }

    .qg-menu-icon i:first-child { top: 1px; }
    .qg-menu-icon i:nth-child(2) { top: 7px; width: 13px; left: auto; right: 0; }
    .qg-menu-icon i:last-child { top: 13px; }
    .qg-menu-toggle[aria-expanded="true"] .qg-menu-icon i:first-child { top: 7px; transform: rotate(45deg); }
    .qg-menu-toggle[aria-expanded="true"] .qg-menu-icon i:nth-child(2) { opacity: 0; width: 0; }
    .qg-menu-toggle[aria-expanded="true"] .qg-menu-icon i:last-child { top: 7px; transform: rotate(-45deg); }

    .qg-main-nav {
        position: fixed;
        inset: 0;
        z-index: -1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        padding: 112px max(24px, calc((100vw - 810px) / 2)) 32px;
        visibility: hidden;
        opacity: 0;
        overflow-y: auto;
        background:
            radial-gradient(circle at 88% 12%, rgba(255,255,255,.1), transparent 26%),
            linear-gradient(145deg, #080808 0%, #111 100%);
        transform: translateY(-10px);
        transition: opacity 250ms ease, visibility 250ms ease, transform 300ms cubic-bezier(.2,.75,.2,1);
    }

    .qg-main-nav.is-open {
        z-index: 2;
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .qg-main-nav > a,
    .qg-main-nav > a:nth-last-child(-n+2) {
        width: 100%;
        display: flex;
        align-items: center;
        min-height: 62px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,.12);
        color: #fff;
        font-size: clamp(25px, 7vw, 38px);
        font-weight: 500;
        letter-spacing: -.04em;
    }

    .qg-main-nav > a::after,
    .qg-mobile-nav-actions a::after {
        display: none;
    }

    .qg-mobile-nav-actions {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 18px;
        margin-top: auto;
        padding-top: 38px;
    }

    .qg-mobile-nav-actions a {
        text-decoration: none;
    }

    .qg-mobile-nav-primary {
        min-height: 54px;
        display: inline-flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        padding: 0 19px;
        color: #111 !important;
        background: #fff;
        font-size: 11px !important;
        font-weight: 650 !important;
        letter-spacing: 0 !important;
    }

    .qg-mobile-nav-primary .qg-icon {
        width: 17px;
        height: 17px;
    }

    .qg-mobile-nav-account {
        color: rgba(255,255,255,.72) !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        letter-spacing: .02em !important;
    }

    .qg-nav-actions {
        display: none;
    }

    .qg-hero {
        height: auto;
        min-height: 0;
        padding: 126px 0 82px;
    }

    .qg-hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 64px;
        padding-top: 0;
    }

    .qg-hero-copy {
        max-width: 760px;
    }

    .qg-hero-visual {
        width: 82%;
        max-width: none;
        justify-self: end;
    }

    .qg-hero-image {
        aspect-ratio: 1.3 / 1;
    }

    .qg-hero-card {
        left: -18%;
    }

    .qg-scroll-cue {
        display: none;
    }

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

    .qg-trust-grid > div:nth-child(3) {
        border-left: 0;
    }

    .qg-trust-grid > div:nth-child(n+3) {
        border-top: 1px solid var(--qg-line);
    }

    .qg-trust-grid > div:first-child,
    .qg-trust-grid > div:nth-child(3) {
        padding-left: 0;
    }

    .qg-intro-layout,
    .qg-section-head--split,
    .qg-savings-layout,
    .qg-process-layout,
    .qg-focus-layout,
    .qg-portal-layout,
    .qg-faq-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .qg-portal-copy {
        max-width: 680px;
    }

    .qg-portal-art {
        width: min(100%, 760px);
        min-height: 640px;
        justify-self: center;
    }

    .qg-faq-intro {
        position: static;
        max-width: 680px;
    }

    .qg-intro-copy,
    .qg-section-head--split > p,
    .qg-section-head--split > .qg-text-link {
        max-width: 620px;
        justify-self: start;
    }

    .qg-benefit-grid {
        grid-template-columns: 1fr;
        margin-top: 72px;
    }

    .qg-benefit {
        min-height: 280px;
    }

    .qg-benefit + .qg-benefit {
        border-top: 1px solid var(--qg-line);
        border-left: 0;
    }

    .qg-benefit-icon {
        margin-top: 20px;
    }

    .qg-benefit h3 {
        margin-top: 34px;
    }

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

    .qg-editorial-card--large {
        grid-column: 1 / -1;
    }

    .qg-editorial-card,
    .qg-editorial-card--large {
        min-height: 560px;
    }

    .qg-editorial-card--large {
        aspect-ratio: auto;
    }

    .qg-process-intro {
        position: static;
    }

    .qg-focus-media {
        min-height: 620px;
    }

    .qg-focus-copy {
        max-width: 680px;
    }

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

    .qg-footer-contact {
        grid-column: 2;
    }
}

@media (max-width: 767px) {
    body.home {
        --qg-shell: calc(100% - 32px);
    }

    body.home .qg-section {
        padding: 84px 0;
    }

    .qg-hero {
        padding: 110px 0 64px;
    }

    .qg-eyebrow {
        gap: 0;
        font-size: 8.5px;
        letter-spacing: .14em;
        white-space: nowrap;
    }

    .qg-eyebrow span {
        display: none;
    }

    .qg-hero h1 {
        max-width: 100%;
        font-size: clamp(36px, 10vw, 50px);
        overflow-wrap: anywhere;
    }

    .qg-hero h1 br {
        display: none;
    }

    .qg-hero-lead {
        font-size: 14px;
    }

    .qg-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .qg-hero-proof {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 42px;
    }

    .qg-hero-proof > div {
        min-height: 84px;
        display: block;
        padding: 16px 10px 0 0;
    }

    .qg-hero-proof > div + div {
        padding-left: 12px;
        border-top: 0;
        border-left: 1px solid var(--qg-line-dark);
    }

    .qg-hero-proof strong {
        margin: 0;
    }

    .qg-hero-visual {
        width: 100%;
    }

    .qg-hero-image {
        aspect-ratio: 4 / 4.65;
    }

    .qg-hero-card {
        width: auto;
        right: 16px;
        left: 16px;
        bottom: 16px;
        padding: 18px 20px;
    }

    .qg-hero-monogram {
        display: none;
    }

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

    .qg-trust-grid > div,
    .qg-trust-grid > div:first-child,
    .qg-trust-grid > div:nth-child(3) {
        min-height: 104px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 7px;
        padding: 17px 16px;
        border-top: 0;
        border-left: 0;
    }

    .qg-trust-grid > div:nth-child(even) {
        border-left: 1px solid var(--qg-line);
    }

    .qg-trust-grid > div:nth-child(n+3) {
        border-top: 1px solid var(--qg-line);
    }

    .qg-intro h2,
    .qg-section-head h2,
    .qg-focus h2,
    .qg-savings h2,
    .qg-final-cta h2 {
        font-size: clamp(36px, 10.5vw, 50px);
    }

    .qg-benefit {
        padding: 30px 24px 34px;
    }

    .qg-portal-layout {
        gap: 58px;
    }

    .qg-portal-copy h2 {
        font-size: clamp(39px, 10.5vw, 54px);
    }

    .qg-portal-art {
        min-height: 500px;
    }

    .qg-portal-window {
        width: 100%;
        border-radius: 13px;
        transform: none;
    }

    .qg-portal-window-body {
        min-height: 390px;
        grid-template-columns: 52px 1fr;
    }

    .qg-portal-window aside {
        gap: 11px;
        padding-top: 20px;
    }

    .qg-portal-window aside b {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .qg-portal-window aside span {
        width: 31px;
        height: 31px;
    }

    .qg-portal-dashboard {
        padding: 28px 18px 24px;
    }

    .qg-portal-metrics {
        margin-top: 24px;
    }

    .qg-portal-metrics > div {
        min-height: 100px;
        padding: 14px;
    }

    .qg-portal-list p {
        padding: 0 13px;
    }

    .qg-portal-float {
        min-width: 165px;
        padding: 12px 14px;
    }

    .qg-portal-float--mail {
        top: -14px;
        left: 16px;
    }

    .qg-portal-float--secure {
        right: 12px;
        bottom: -16px;
    }

    .qg-faq-layout {
        gap: 52px;
    }

    .qg-faq-intro h2 {
        font-size: clamp(38px, 10.5vw, 52px);
    }

    .qg-faq-list summary {
        min-height: 82px;
        font-size: 13px;
    }

    .qg-offers .qg-shell {
        width: calc(100% - 24px);
    }

    .qg-section-head--center {
        margin-bottom: 54px;
    }

    .qg-offer-shortcode > .offers-list > .row {
        --bs-gutter-x: 0;
    }

    .qg-offer-shortcode .offer--recommended .card,
    .qg-offer-shortcode .offer--recommended .card:hover {
        transform: none;
    }

    .qg-offer-shortcode .card-body {
        padding: 30px 24px 18px;
    }

    .qg-offer-meta {
        margin-bottom: 28px;
    }

    .qg-offer-promise {
        min-height: 0;
    }

    .qg-offer-shortcode .card-footer {
        padding: 12px 24px 28px;
    }

    .qg-offer-assurance {
        grid-template-columns: 1fr;
        margin-top: 28px;
    }

    .qg-offer-assurance > span,
    .qg-offer-assurance > span:first-child {
        min-height: 82px;
        padding: 16px 0;
        border-top: 1px solid #d6d6d1;
        border-left: 0;
    }

    .qg-offer-assurance > span:first-child {
        border-top: 0;
    }

    .qg-editorial-grid {
        grid-template-columns: 1fr;
    }

    .qg-editorial-card--large {
        grid-column: auto;
    }

    .qg-editorial-card,
    .qg-editorial-card--large {
        min-height: 520px;
        aspect-ratio: auto;
    }

    .qg-process-list li {
        min-height: 230px;
        grid-template-columns: 42px 1fr;
        gap: 18px;
    }

    .qg-focus-media {
        min-height: 490px;
    }

    .qg-focus-copy li {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .qg-focus-copy li strong {
        text-align: left;
    }

    .qg-article-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .qg-tool-grid {
        grid-template-columns: 1fr;
    }

    .qg-tool-card {
        min-height: 390px;
        padding: 30px 25px;
    }

    .qg-tool-card h3 {
        font-size: 38px;
    }

    .qg-final-cta {
        padding: 100px 0;
    }

    .qg-final-cta > div > div {
        flex-direction: column;
    }

    .qg-footer {
        padding: 96px 0 0 !important;
    }

    .qg-footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 24px;
    }

    .qg-footer-brand {
        grid-column: 1 / -1;
    }

    .qg-footer-contact {
        grid-column: 1 / -1;
    }

    .qg-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px 0;
    }

    .qg-footer-bottom > div {
        flex-wrap: wrap;
        gap: 12px 22px;
    }
}

@media (max-width: 390px) {
    .qg-hero-card {
        width: auto;
        right: 12px;
        left: 12px;
    }

    .qg-hero h1 {
        font-size: 36px;
    }

    .qg-button {
        width: 100%;
        gap: 20px;
    }

    .qg-portal-features li {
        grid-template-columns: 31px 1fr;
        gap: 13px;
    }

    .qg-portal-window-body {
        grid-template-columns: 44px 1fr;
    }

    .qg-portal-window aside span {
        width: 28px;
        height: 28px;
    }

    .qg-portal-dashboard {
        padding-inline: 13px;
    }

    .qg-portal-list p:nth-child(3) {
        display: none;
    }

    .qg-portal-float--secure {
        display: none;
    }

    .qg-hero-actions .qg-text-link,
    .qg-final-cta .qg-text-link {
        align-self: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home *,
    body.home *::before,
    body.home *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
