/**
 * How INthe-Q™ Works — standalone page.
 *
 * The pathway cards and convergence panel were lifted from the homepage;
 * the hero and CTA below are new to the page.
 */

/* =========================================================
   INthe-Q™ — How It Works: the two pathways
   ========================================================= */

.hwp {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 18px; margin-bottom: 20px;
}

.hwp-path {
    position: relative;
    display: flex; flex-direction: column;
    padding: 26px 24px 24px;
    border: 1px solid rgba(255, 215, 0, .2); border-radius: 16px;
    background: linear-gradient(166deg, #12100a 0%, #0c0c0f 62%, #0a0a0c 100%);
    /* --a is the pathway's accent; the GEM variant only has to swap it. */
    --a: #FFD700;
    --a-soft: rgba(255, 215, 0, .12);
    transition: border-color .25s, transform .25s;
}
.hwp-path:hover { border-color: rgba(255, 215, 0, .42); transform: translateY(-3px); }
.hwp-path--gem {
    --a: #38bdf8;
    --a-soft: rgba(56, 189, 248, .12);
    border-color: rgba(56, 189, 248, .22);
    background: linear-gradient(166deg, #08131b 0%, #0a0e14 62%, #090a0d 100%);
}
.hwp-path--gem:hover { border-color: rgba(56, 189, 248, .46); }

.hwp-path__head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-bottom: 14px;
}
.hwp-path__badge {
    padding: 6px 15px;
    border: 1px solid var(--a); border-radius: 50px;
    background: var(--a-soft);
    color: var(--a);
    font-size: 10px; font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase;
}
.hwp-path__ic {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; flex-shrink: 0;
    border-radius: 11px;
    background: var(--a-soft);
    color: var(--a); font-size: 17px;
}
.hwp-path__title {
    margin: 0 0 12px;
    font-size: clamp(19px, 2.2vw, 24px); font-weight: 800; letter-spacing: -.2px; color: #fff;
}
.hwp-path__lead { margin: 0 0 10px; font-size: 15px; line-height: 1.7; color: #c4c4d0; }
.hwp-path__lead strong { color: var(--a); font-weight: 700; }
.hwp-path__text { margin: 0 0 16px; font-size: 14px; line-height: 1.7; color: #92929f; }

.hwp-path__note {
    display: flex; align-items: flex-start; gap: 11px;
    margin-bottom: 18px; padding: 14px 16px;
    border: 1px dashed rgba(255, 215, 0, .3); border-radius: 11px;
    background: rgba(255, 215, 0, .045);
}
.hwp-path__note i { flex-shrink: 0; margin-top: 2px; color: #FFD700; font-size: 13px; }
.hwp-path__note p { margin: 0; font-size: 13.5px; line-height: 1.65; color: #bdbdc9; }
.hwp-path__note strong { color: #fffbe6; font-weight: 700; }

.hwp-path__label {
    margin: 0 0 10px;
    font-size: 10.5px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
    color: #6f6f7e;
}
.hwp-path__list { margin: 0; padding: 0; list-style: none; }
.hwp-path__list li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    font-size: 13.5px; line-height: 1.6; color: #b0b0be;
}
.hwp-path__list li:last-child { border-bottom: 0; }
.hwp-path__list li i { flex-shrink: 0; margin-top: 3px; width: 14px; color: var(--a); font-size: 12px; }

/* Reach figures — the two numbers that make GEM's scale concrete. */
.hwp-reach { display: flex; gap: 10px; margin-bottom: 16px; }
.hwp-reach__item {
    flex: 1;
    padding: 14px 12px;
    border: 1px solid rgba(56, 189, 248, .22); border-radius: 12px;
    background: rgba(56, 189, 248, .06);
    text-align: center;
}
.hwp-reach__num {
    display: block;
    font-size: clamp(24px, 3vw, 32px); font-weight: 800; line-height: 1.1; color: #38bdf8;
}
.hwp-reach__label {
    display: block; margin-top: 4px;
    font-size: 10.5px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase;
    line-height: 1.45; color: #8a9aa8;
}

/* The question GEM replaces, and the one it asks instead. Deliberately NOT
   margin-top:auto — bottom-aligning it against the taller card opened a gap
   mid-card that read as a mistake. Trailing space reads as padding instead. */
.hwp-ask { margin-top: 0; }

/* "INthe-Q™" must not break at its hyphen in a narrow column. */
.nbq { white-space: nowrap; }
.hwp-ask__no,
.hwp-ask__yes {
    display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px;
    margin: 0; padding: 12px 14px;
    border-radius: 11px;
    font-size: 14px; line-height: 1.6;
}
.hwp-ask__no {
    margin-bottom: 8px;
    background: rgba(255, 255, 255, .03);
    color: #74747f;
    text-decoration: line-through;
    text-decoration-color: rgba(239, 68, 68, .55);
}
.hwp-ask__yes {
    border: 1px solid rgba(56, 189, 248, .3);
    background: rgba(56, 189, 248, .08);
    color: #dceefa; font-weight: 600;
}
.hwp-ask__yes strong { color: #38bdf8; font-weight: 800; }
.hwp-ask__tag {
    padding: 3px 9px; border-radius: 50px;
    font-size: 9.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
    text-decoration: none;
}
.hwp-ask__tag--no  { background: rgba(239, 68, 68, .16); color: #f87171; }
.hwp-ask__tag--yes { background: rgba(56, 189, 248, .2);  color: #7dd3fc; }
/* The quote is one flex item; loose text beside the tag would become its own
   column and wrap independently. */
.hwp-ask__q { flex: 1 1 auto; min-width: 0; }

/* ── Where both pathways converge ─────────────────────── */

.hwp-flow {
    padding: 24px 22px;
    border: 1px solid #1e1e24; border-radius: 16px;
    background: linear-gradient(172deg, #0d0d10, #0a0a0c);
}
.hwp-flow__head {
    margin: 0 0 18px;
    font-size: 11px; font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase;
    color: #FFD700; text-align: center;
}
/* Four across on a full-width page; two when the row would get cramped. The
   homepage version was pinned to two because it sat in an 8-column well. */
.hwp-flow__steps {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(236px, 1fr));
    gap: 12px; margin: 0 0 18px; padding: 0; list-style: none;
}
.hwp-flow__step {
    position: relative;
    padding: 16px 15px;
    border: 1px solid #22222a; border-radius: 12px;
    background: #0b0b0e;
}
.hwp-flow__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; margin-bottom: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFE55C, #d4a017);
    color: #14100a; font-size: 12px; font-weight: 800;
}
.hwp-flow__step strong {
    display: block; margin-bottom: 5px;
    font-size: 13.5px; font-weight: 800; color: #fffbe6;
}
.hwp-flow__step span:not(.hwp-flow__num) {
    display: block; font-size: 12.5px; line-height: 1.6; color: #8e8e9c;
}

.hwp-tiers {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    padding: 14px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, .05);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.hwp-tiers__label {
    margin-right: 4px;
    font-size: 10px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase;
    color: #6f6f7e;
}
.hwp-tier {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px; font-weight: 700; letter-spacing: .3px;
}
/* Descending value, so the ladder is readable at a glance. */
.hwp-tier--1 { background: rgba(255, 215, 0, .16);  border: 1px solid rgba(255, 215, 0, .4);  color: #FFD700; }
.hwp-tier--2 { background: rgba(255, 215, 0, .1);   border: 1px solid rgba(255, 215, 0, .26); color: #e8cf70; }
.hwp-tier--3 { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #cfcfda; }
.hwp-tier--4 { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);  color: #a8a8b6; }
.hwp-tier--5 { background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); color: #8e8e9c; }

.hwp-guard {
    display: flex; align-items: flex-start; gap: 11px;
    margin: 16px 0 0;
    font-size: 13.5px; line-height: 1.7; color: #a6a6b4;
}
.hwp-guard i { flex-shrink: 0; margin-top: 3px; color: #22c55e; font-size: 14px; }
.hwp-guard strong { color: #fff; font-weight: 700; }

@media (max-width: 991px) {
    .hwp { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .hwp-path { padding: 22px 18px; }
    .hwp-flow__steps { grid-template-columns: 1fr; }
    .hwp-reach { flex-direction: column; }
    .hwp-flow { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .hwp-path { transition: none; }
    .hwp-path:hover { transform: none; }
}

/* ── Page chrome (the homepage version sat under a shared header) ── */

.hwx {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 6vw, 88px) 0 clamp(52px, 5.5vw, 80px);
    background: linear-gradient(170deg, #08080b 0%, #0c0d12 50%, #080a10 100%);
}
.hwx .container { position: relative; z-index: 1; }
.hwx__bg { position: absolute; inset: 0; pointer-events: none; }
.hwx__bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 215, 0, .026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 215, 0, .026) 1px, transparent 1px);
    background-size: 62px 62px;
    -webkit-mask-image: radial-gradient(ellipse 76% 58% at 50% 32%, #000 30%, transparent 100%);
            mask-image: radial-gradient(ellipse 76% 58% at 50% 32%, #000 30%, transparent 100%);
}
.hwx__bg-glow { position: absolute; width: 620px; height: 620px; border-radius: 50%; filter: blur(46px); }
.hwx__bg-glow--l { top: -200px; left: -170px;    background: radial-gradient(circle, rgba(255, 215, 0, .075), transparent 66%); }
.hwx__bg-glow--r { bottom: -220px; right: -160px; background: radial-gradient(circle, rgba(56, 189, 248, .085), transparent 66%); }

.hwx__head { margin-bottom: clamp(30px, 3.6vw, 46px); text-align: center; }
.hwx__eyebrow {
    display: inline-block; margin-bottom: 18px; padding: 7px 24px;
    border: 1px solid rgba(255, 215, 0, .36); border-radius: 50px;
    background: rgba(255, 215, 0, .08);
    color: #FFD700;
    font-size: 11px; font-weight: 800; letter-spacing: 3.4px; text-transform: uppercase;
}
.hwx__title {
    margin: 0 0 14px;
    font-size: clamp(27px, 4vw, 44px); font-weight: 800; letter-spacing: -.6px; color: #fff;
}
.hwx__sub { margin: 0; font-size: clamp(15px, 1.9vw, 18px); color: #a6a6b4; }

.hwx-cta {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 12px;
    margin-top: clamp(28px, 3.4vw, 42px);
}
.hwx-cta__btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 15px 34px; border-radius: 50px;
    font-size: 14.5px; font-weight: 800; letter-spacing: .3px; text-decoration: none;
    transition: transform .2s, box-shadow .2s, border-color .2s, color .2s;
}
.hwx-cta__btn--primary {
    background: linear-gradient(94deg, #FFE55C, #FFD700 55%, #d4a017);
    color: #0a0800; box-shadow: 0 6px 26px rgba(255, 215, 0, .26);
}
.hwx-cta__btn--primary:hover {
    transform: translateY(-2px); box-shadow: 0 10px 34px rgba(255, 215, 0, .4);
    color: #0a0800; text-decoration: none;
}
.hwx-cta__btn--ghost {
    border: 1px solid rgba(56, 189, 248, .34);
    background: rgba(56, 189, 248, .07);
    color: #7dd3fc;
}
.hwx-cta__btn--ghost:hover { border-color: #38bdf8; color: #bae6fd; text-decoration: none; }

@media (max-width: 767px) {
    .hwx-cta__btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .hwx-cta__btn { transition: none; }
    .hwx-cta__btn--primary:hover { transform: none; }
}
