:root {
    --help-navy-950: #031121;
    --help-navy-900: #07182d;
    --help-navy-800: #0c2644;
    --help-navy-700: #12375e;
    --help-gold-500: #d8ad59;
    --help-gold-400: #e8c878;
    --help-gold-200: #f4e4b8;
    --help-ivory: #fbf9f4;
    --help-cream: #f4efe5;
    --help-white: #fff;
    --help-ink: #142235;
    --help-muted: #667085;
    --help-border: #e5ddcf;
    --help-shadow-sm: 0 10px 28px rgba(6, 24, 45, 0.08);
    --help-shadow-lg: 0 24px 70px rgba(3, 17, 33, 0.16);
    --help-radius-sm: 14px;
    --help-radius-md: 22px;
    --help-radius-lg: 30px;
}

html { scroll-padding-top: 112px; }

body.help-page {
    margin: 0;
    overflow-x: hidden;
    background: var(--help-ivory);
    color: var(--help-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.help-page *,
.help-page *::before,
.help-page *::after { box-sizing: border-box; }

.help-page img { display: block; max-width: 100%; }

.help-page a,
.help-page button,
.help-page input { -webkit-tap-highlight-color: transparent; }

.help-page a:focus-visible,
.help-page button:focus-visible,
.help-page input:focus-visible,
.help-page summary:focus-visible,
.help-page [tabindex="-1"]:focus-visible {
    outline: 3px solid var(--help-gold-400);
    outline-offset: 4px;
}

.help-container {
    width: min(1500px, calc(100% - 48px));
    margin-inline: auto;
}

.help-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.help-page .skip-link {
    position: fixed;
    z-index: 9999;
    inset-block-start: 10px;
    inset-inline-start: 10px;
    transform: translateY(-160%);
    border-radius: 10px;
    background: var(--help-gold-400);
    color: var(--help-navy-950);
    font-weight: 800;
    padding: 12px 18px;
}

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

/* Header */
.help-page .help-header {
    position: sticky;
    z-index: 1000;
    inset-block-start: 0;
    min-height: 84px;
    border: 0;
    border-block-end: 1px solid rgba(232, 200, 120, 0.22);
    background: linear-gradient(100deg, var(--help-navy-950), var(--help-navy-900) 68%, #0b2039) !important;
    box-shadow: 0 10px 32px rgba(1, 12, 25, 0.23);
}

.help-page .help-header__inner {
    position: relative;
    display: flex;
    min-height: 84px;
    align-items: center;
    gap: clamp(16px, 2vw, 34px);
}

.help-page .help-header__brand { flex: 0 0 auto; }
.help-page .help-header__brand .brand__logo { width: 56px !important; height: 60px !important; }
.help-page .help-header__brand .brand__name { font-size: clamp(1.25rem, 1.7vw, 1.75rem); }

.help-page .help-header__nav {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
    justify-content: center;
}

.help-header__nav-list {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1vw, 18px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.help-page .help-header__nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(0.73rem, 0.77vw, 0.86rem);
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: color 180ms ease;
}

.help-page .help-header__nav a::after {
    position: absolute;
    inset-inline: 0;
    inset-block-end: -8px;
    height: 2px;
    transform: scaleX(0);
    border-radius: 4px;
    background: var(--help-gold-400);
    content: "";
    transition: transform 180ms ease;
}

.help-page .help-header__nav a:hover,
.help-page .help-header__nav a:focus-visible { color: var(--help-gold-200); }
.help-page .help-header__nav a:hover::after,
.help-page .help-header__nav a:focus-visible::after { transform: scaleX(1); }

.help-header__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

.help-header__actions a { text-decoration: none; white-space: nowrap; }

.help-header__support-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--help-gold-200);
    font-size: 0.82rem;
    font-weight: 750;
}

.help-header__support-link svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.help-header__login,
.help-header__register {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    padding: 0 14px;
    font-size: 0.82rem;
    font-weight: 800;
}

.help-header__login { border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; }
.help-header__register { background: var(--help-gold-500); color: var(--help-navy-950); }
.help-header__login:hover { border-color: var(--help-gold-400); color: var(--help-gold-200); }
.help-header__register:hover { background: var(--help-gold-400); }

.help-page .help-header__toggle {
    display: none;
    width: 46px;
    height: 46px;
    margin-inline-start: auto;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.help-page .help-header__toggle .navigation-toggle__line {
    display: block;
    width: 23px;
    height: 2px;
    margin: 5px auto;
    border-radius: 3px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.help-page .help-header__toggle[aria-expanded="true"] .navigation-toggle__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.help-page .help-header__toggle[aria-expanded="true"] .navigation-toggle__line:nth-child(2) { opacity: 0; }
.help-page .help-header__toggle[aria-expanded="true"] .navigation-toggle__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.help-hero {
    position: relative;
    min-height: clamp(480px, 54vw, 650px);
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
}

.help-hero__media,
.help-hero__overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
}

.help-hero__media { object-fit: cover; object-position: center 53%; }

.help-hero__overlay {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(3, 17, 33, 0.87) 0%, rgba(4, 24, 45, 0.67) 48%, rgba(4, 21, 39, 0.38) 100%),
        linear-gradient(0deg, rgba(3, 17, 33, 0.47), transparent 45%);
}

.help-hero__content {
    padding-block: 72px 128px;
    text-align: center;
}

.help-eyebrow {
    margin: 0 0 13px;
    color: var(--help-gold-200);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.help-eyebrow--dark { color: #9a6e20; }
.help-eyebrow--gold { color: var(--help-gold-400); }

.help-hero h1 {
    max-width: 900px;
    margin: 0 auto;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.65rem, 5.3vw, 5.5rem);
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.help-hero__lead {
    max-width: 740px;
    margin: 22px auto 31px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    line-height: 1.65;
}

.help-search {
    position: relative;
    width: min(780px, 100%);
    min-height: 68px;
    display: flex;
    margin-inline: auto;
    align-items: center;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.help-search__icon {
    flex: 0 0 23px;
    width: 23px;
    margin-inline: 13px 2px;
    fill: none;
    stroke: #6b7280;
    stroke-linecap: round;
    stroke-width: 2;
}

.help-search input {
    min-width: 0;
    flex: 1;
    height: 52px;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--help-ink);
    font: inherit;
    font-size: 1rem;
}

.help-search input::placeholder { color: #8a919c; }

.help-search button {
    min-height: 52px;
    padding: 0 25px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--help-gold-400), var(--help-gold-500));
    color: var(--help-navy-950);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 850;
    cursor: pointer;
    transition: transform 160ms ease, filter 160ms ease;
}

.help-search button:hover { transform: translateY(-1px); filter: brightness(1.04); }

.help-search__hint {
    display: flex;
    margin: 16px 0 0;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.84rem;
}

.help-search__hint a {
    border-block-end: 1px solid rgba(232, 200, 120, 0.55);
    color: var(--help-gold-200);
    text-decoration: none;
}

.help-search__status {
    min-height: 20px;
    margin: 9px 0 0;
    color: #fff;
    font-size: 0.83rem;
    font-weight: 650;
}

/* Referral page: this page deliberately uses dark, opaque surfaces so the
   invitation copy never loses contrast against its background. */
.referral-page { background: #f7f3ea; }

.referral-page .referral-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(232, 200, 120, 0.22);
    background: linear-gradient(100deg, #031121, #07182d 68%, #0b2039);
    box-shadow: 0 10px 32px rgba(1, 12, 25, 0.23);
}

.referral-header__inner {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.referral-page .referral-header .brand__logo { width: 58px; height: 64px; }
.referral-page .referral-header .brand__name { color: #fffdf7; font-size: clamp(1.05rem, 1.5vw, 1.45rem); font-weight: 800; letter-spacing: 0.1em; }
.referral-header__actions { display: flex; align-items: center; gap: 1rem; }
.referral-header__actions > a:first-child { color: #f8e6b7; font-size: 0.9rem; font-weight: 750; text-decoration: none; }
.referral-header__button { min-height: 44px; padding-inline: 1.1rem; }

.referral-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 23%, rgba(237, 192, 87, 0.27), transparent 19%),
        radial-gradient(circle at 73% 78%, rgba(47, 104, 143, 0.4), transparent 30%),
        linear-gradient(115deg, #020d1b 0%, #082440 59%, #12385b 100%);
}

.referral-hero::before,
.referral-hero::after { position: absolute; border: 1px solid rgba(232, 200, 120, 0.24); border-radius: 50%; content: ""; pointer-events: none; }
.referral-hero::before { width: 500px; height: 500px; top: -290px; right: -95px; box-shadow: 0 0 0 40px rgba(232, 200, 120, 0.045), 0 0 0 85px rgba(232, 200, 120, 0.025); }
.referral-hero::after { width: 250px; height: 250px; bottom: -165px; left: 42%; }

.referral-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 455px;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.55fr);
    align-items: center;
    gap: clamp(1.6rem, 6vw, 6rem);
    padding-block: clamp(4rem, 8vw, 7rem);
}

.referral-hero__content { max-width: 760px; }
.referral-hero__eyebrow { margin: 0 0 0.9rem; color: #f5cf78; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.referral-hero h1 { margin: 0; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.85rem, 5.7vw, 5.6rem); font-weight: 600; line-height: 0.99; letter-spacing: -0.04em; text-shadow: 0 3px 24px rgba(0, 0, 0, 0.34); }
.referral-hero h1 em { color: #f2c967; font-style: normal; }
.referral-hero__content > p:not(.referral-hero__eyebrow):not(.referral-hero__status) { max-width: 660px; margin: 1.35rem 0 1.75rem; color: #f6f8fa; font-size: clamp(1.02rem, 1.55vw, 1.22rem); font-weight: 500; line-height: 1.68; text-shadow: 0 2px 12px rgba(0,0,0,.28); }
.referral-hero__content strong { color: #f7d47f; font-weight: 900; }
.referral-hero__button { min-height: 54px; padding-inline: 1.4rem; border: 1px solid #f2cf78; background: linear-gradient(135deg, #f7dc91, #c58d2d); color: #06172a; font-weight: 900; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25); }
.referral-hero__status { margin: 0.9rem 0 0; color: #f7df9d; font-weight: 750; }

.referral-hero__bonus {
    display: grid;
    min-height: 235px;
    align-content: center;
    justify-items: center;
    padding: 2rem;
    border: 1px solid rgba(250, 224, 150, 0.84);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 22%, #ffebb1, #daa541 55%, #93631d);
    box-shadow: 0 24px 65px rgba(0,0,0,.35), inset 0 0 0 9px rgba(255,255,255,.22);
    color: #07182d;
    text-align: center;
    transform: rotate(5deg);
}

.referral-hero__bonus span { font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.referral-hero__bonus strong { margin: .25rem 0; font-family: Georgia, serif; font-size: clamp(2.9rem, 4.2vw, 4.35rem); line-height: 1; }
.referral-hero__bonus small { font-family: Inter, sans-serif; font-size: .9em; }
.referral-hero__bonus p { margin: .15rem 0 0; font-size: .8rem; font-weight: 850; }

.referral-content { padding-block: clamp(3rem, 7vw, 6rem); }
.referral-content__intro { max-width: 670px; margin-bottom: 1.8rem; }
.referral-content__intro h2, .referral-conditions h2, .referral-faq h2 { margin: 0; color: #0b2941; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.8vw, 3.3rem); line-height: 1.1; }
.referral-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.referral-step { min-height: 255px; padding: 1.6rem; border: 1px solid #e2d8c5; border-radius: 20px; background: #fffdf8; box-shadow: 0 13px 30px rgba(3,17,33,.06); }
.referral-step span { color: #ae7920; font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.referral-step h3 { margin: .9rem 0 .55rem; color: #0a2a44; font-family: Georgia, serif; font-size: 1.45rem; }
.referral-step p { margin: 0; color: #4f6170; line-height: 1.65; }

.referral-conditions { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 5vw, 4rem); margin-top: 2rem; padding: clamp(1.6rem, 4vw, 3rem); border-radius: 24px; background: linear-gradient(123deg, #06182a, #0d3352); box-shadow: 0 22px 48px rgba(3,17,33,.18); }
.referral-conditions h2 { color: #fff; }
.referral-conditions > div > p:last-child { color: rgba(255,255,255,.82); line-height: 1.7; }
.referral-conditions ul { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.referral-conditions li { position: relative; padding-left: 1.55rem; color: #f8fbfd; line-height: 1.55; }
.referral-conditions li::before { position: absolute; left: 0; top: .45rem; width: .65rem; height: .65rem; border-radius: 50%; background: #f0c966; box-shadow: 0 0 0 4px rgba(240,201,102,.12); content: ""; }
.referral-faq { max-width: 900px; margin: 3rem auto 0; }

@media (max-width: 760px) {
    .referral-header__actions > a:first-child { display: none; }
    .referral-hero__inner, .referral-conditions { grid-template-columns: 1fr; }
    .referral-hero__inner { min-height: 0; padding-block: 4rem 3.2rem; }
    .referral-hero__bonus { width: min(100%, 280px); min-height: 230px; margin-inline: auto; }
    .referral-steps { grid-template-columns: 1fr; }
    .referral-step { min-height: auto; }
}

/* Category deck */
.help-content-shell {
    position: relative;
    z-index: 2;
    margin-block-start: -82px;
    padding-block-end: 88px;
}

.help-categories {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.help-categories-section {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 4vw, 52px);
    border: 1px solid rgba(216, 173, 89, 0.32);
    border-radius: var(--help-radius-lg);
    background:
        radial-gradient(circle at 92% 4%, rgba(216, 173, 89, 0.13), transparent 25rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(248, 244, 235, 0.97));
    box-shadow: var(--help-shadow-lg);
}

.help-categories-section::before {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--help-gold-500), transparent);
    content: "";
}

.help-categories-heading { margin-bottom: 25px; }
.help-category-groups { display: grid; gap: 14px; }
.help-category-group {
    padding: 18px;
    border: 1px solid rgba(218, 205, 183, 0.82);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 26px rgba(6, 24, 45, 0.055);
}

.help-category-group__heading { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.help-category-group__heading > span {
    width: 38px;
    height: 38px;
    display: grid;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid rgba(216, 173, 89, 0.52);
    border-radius: 50%;
    background: #fff8e8;
    color: #93651b;
    font-family: Georgia, serif;
    font-size: 0.78rem;
}
.help-category-group__heading h3 { margin: 0; color: var(--help-navy-900); font-family: Georgia, serif; font-size: 1.15rem; }
.help-category-group__heading p { margin: 3px 0 0; color: var(--help-muted); font-size: 0.76rem; }

.help-category {
    min-height: 132px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 14px 8px;
    appearance: none;
    border: 1px solid #ece3d5;
    border-radius: 16px;
    background: #fff;
    color: var(--help-ink);
    font: inherit;
    text-align: center;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.help-category:hover,
.help-category[aria-selected="true"] {
    transform: translateY(-5px);
    border-color: rgba(232, 200, 120, 0.72);
    background: linear-gradient(145deg, var(--help-navy-900), #123d66);
    color: #fff;
    box-shadow: 0 15px 28px rgba(6, 24, 45, 0.18);
}

.help-category__icon {
    width: 44px;
    height: 44px;
    display: grid;
    margin-block-end: 4px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff8e6, #f6ead0);
    color: #a87928;
}

.help-category__icon svg {
    width: 26px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.help-category[aria-selected="true"] .help-category__icon { background: linear-gradient(145deg, #f9dda0, #c9953d); color: var(--help-navy-950); }
.help-category[aria-selected="true"] > span:last-child { color: rgba(255, 255, 255, 0.68); }
.help-category strong { font-size: 0.8rem; line-height: 1.25; }
.help-category > span:last-child { color: var(--help-muted); font-size: 0.67rem; line-height: 1.2; }

.help-category-panels { margin-top: 18px; }
.help-category-panel {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(230px, 0.62fr) minmax(0, 1.38fr);
    gap: clamp(20px, 4vw, 46px);
    overflow: hidden;
    padding: clamp(26px, 4vw, 46px);
    border: 1px solid rgba(232, 200, 120, 0.35);
    border-radius: 24px;
    background:
        radial-gradient(circle at 12% 18%, rgba(55, 101, 211, 0.42), transparent 25rem),
        linear-gradient(125deg, #06152d, #0b2e58 68%, #102987);
    color: #fff;
    box-shadow: 0 20px 44px rgba(4, 19, 39, 0.2);
}
.help-category-panel[hidden] { display: none; }
.help-category-panel::before {
    position: absolute;
    z-index: -1;
    width: 320px;
    height: 320px;
    inset: -90px auto auto -85px;
    background: url("../assets/images/brand/melvin-bnb-tree-emblem.png") center / contain no-repeat;
    content: "";
    opacity: 0.055;
}
.help-category-panel__intro { align-self: center; }
.help-category-panel__intro p { margin: 0 0 10px; color: var(--help-gold-400); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.help-category-panel__intro h3 { margin: 0 0 12px; color: #fff; font-family: Georgia, serif; font-size: clamp(1.65rem, 2.65vw, 2.45rem); font-weight: 500; line-height: 1.08; }
.help-category-panel__intro span { display: block; color: rgba(255, 255, 255, 0.7); font-size: 0.87rem; line-height: 1.65; }
.help-category-panel__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.help-category-panel__actions a {
    position: relative;
    min-height: 168px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-content: space-between;
    gap: 15px;
    padding: 19px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.085);
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(12px);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.help-category-panel__actions a:hover { transform: translateY(-5px); border-color: rgba(232, 200, 120, 0.7); background: rgba(255, 255, 255, 0.14); }
.help-category-panel__actions i { grid-column: 1 / -1; color: var(--help-gold-400); font-family: Georgia, serif; font-size: 0.8rem; font-style: normal; }
.help-category-panel__actions span { display: grid; align-content: end; gap: 6px; }
.help-category-panel__actions strong { color: #fff; font-size: 0.86rem; line-height: 1.3; }
.help-category-panel__actions small { color: rgba(255, 255, 255, 0.61); font-size: 0.7rem; line-height: 1.45; }
.help-category-panel__actions b { align-self: end; color: var(--help-gold-400); font-size: 1.15rem; }

/* Promotional panels */
.help-promos {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 22px;
    margin-block-start: 28px;
}

.help-promo {
    min-height: 390px;
    overflow: hidden;
    border-radius: var(--help-radius-lg);
    box-shadow: var(--help-shadow-sm);
}

.help-promo--referral {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(230px, 0.88fr);
    isolation: isolate;
    background:
        radial-gradient(circle at 82% 18%, rgba(216, 173, 89, 0.19), transparent 33%),
        linear-gradient(128deg, var(--help-navy-950), var(--help-navy-800));
    color: #fff;
}

.help-promo--referral::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.16;
    background-image: linear-gradient(45deg, transparent 46%, var(--help-gold-400) 47%, transparent 49%);
    background-size: 54px 54px;
    content: "";
}

.help-promo__copy { padding: clamp(30px, 4vw, 52px); }

.help-promo__label {
    margin: 0 0 12px;
    color: #956b20;
    font-size: 0.73rem;
    font-weight: 850;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.help-promo--referral .help-promo__label { color: var(--help-gold-400); }

.help-promo h2 {
    margin: 0 0 15px;
    color: inherit;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 2.7vw, 2.65rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.help-promo p:not(.help-promo__label) { margin: 0 0 22px; color: rgba(255, 255, 255, 0.75); line-height: 1.65; }
.help-promo__copy small { display: block; max-width: 480px; margin-block-start: 18px; color: rgba(255, 255, 255, 0.54); font-size: 0.69rem; line-height: 1.5; }

.help-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--help-gold-400), var(--help-gold-500));
    color: var(--help-navy-950);
    font-size: 0.86rem;
    font-weight: 850;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.help-button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(2, 12, 24, 0.2); }
.help-button--navy { background: var(--help-navy-900); color: #fff; }

.referral-art { position: relative; min-height: 390px; }
.referral-art__halo { position: absolute; width: 260px; height: 260px; inset: 54px auto auto 50%; transform: translateX(-50%); border: 1px solid rgba(232, 200, 120, 0.35); border-radius: 50%; box-shadow: 0 0 0 25px rgba(216, 173, 89, 0.05), 0 0 0 50px rgba(216, 173, 89, 0.035); }
.referral-art__person { position: absolute; inset-block-end: 50px; width: 92px; height: 142px; border-radius: 50px 50px 22px 22px; background: linear-gradient(155deg, #f1c482, #ba733c); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.26); }
.referral-art__person::before { position: absolute; width: 54px; height: 54px; inset-block-start: -31px; inset-inline-start: 19px; border: 5px solid #0d2743; border-radius: 50%; background: #c8844f; content: ""; }
.referral-art__person span { position: absolute; inset: 30px 13px 15px; border-radius: 38px 38px 16px 16px; background: #fbf0d4; }
.referral-art__person--one { inset-inline-start: 5%; transform: scale(0.85); background: linear-gradient(155deg, #9fc2cb, #527d8d); }
.referral-art__person--two { z-index: 2; inset-inline-start: 32%; }
.referral-art__person--three { inset-inline-end: 1%; transform: scale(0.88); background: linear-gradient(155deg, #d6a4a4, #9d5f62); }
.referral-art__badge { position: absolute; z-index: 3; inset-block-start: 45px; inset-inline-end: 18px; width: 124px; height: 124px; display: grid; align-content: center; transform: rotate(7deg); border: 2px solid #f4d78f; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #f8df9c, var(--help-gold-500) 60%, #a97725); color: var(--help-navy-950); text-align: center; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28), inset 0 0 0 6px rgba(255, 255, 255, 0.22); }
.referral-art__badge strong { font-family: Georgia, serif; font-size: 1.7rem; line-height: 1; }
.referral-art__badge span { font-size: 0.69rem; font-weight: 850; text-transform: uppercase; }

.help-promo--contact {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(190px, 0.95fr);
    border: 1px solid var(--help-border);
    background: linear-gradient(135deg, #fff, var(--help-cream));
}

.help-promo__contact-copy { padding: clamp(30px, 4vw, 48px); }
.help-promo--contact h2 { color: var(--help-navy-900); }
.help-promo--contact p:not(.help-promo__label) { color: var(--help-muted); }
.help-promo__brand-image { width: 100%; height: 100%; min-height: 390px; object-fit: cover; object-position: center; }
.help-promo__mail { display: block; width: max-content; max-width: 100%; margin-block-start: 17px; color: #77571f; font-size: 0.78rem; font-weight: 750; overflow-wrap: anywhere; }

/* Guides */
.help-guides,
.help-faq { margin-block-start: clamp(62px, 7vw, 94px); }

.help-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr);
    align-items: end;
    gap: 42px;
    margin-block-end: 26px;
}

.help-section-heading--compact { align-items: center; }

.help-section-heading h2 {
    margin: 0;
    color: var(--help-navy-900);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.09;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.help-section-heading > p { margin: 0; color: var(--help-muted); line-height: 1.7; }

.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.guide-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--help-border);
    border-radius: var(--help-radius-md);
    background: #fff;
    color: var(--help-ink);
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(6, 24, 45, 0.055);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.guide-card:hover { transform: translateY(-7px); border-color: rgba(216, 173, 89, 0.7); box-shadow: 0 20px 42px rgba(6, 24, 45, 0.13); }
.guide-card__media { position: relative; overflow: hidden; aspect-ratio: 1.55; background: var(--help-cream); }
.guide-card__media::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 17, 33, 0.38), transparent 55%); content: ""; }
.guide-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.guide-card:hover .guide-card__media img { transform: scale(1.04); }
.guide-card__media > span { position: absolute; z-index: 1; inset-block-end: 15px; inset-inline-start: 16px; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, 0.42); border-radius: 999px; background: rgba(3, 17, 33, 0.78); color: #fff; font-size: 0.66rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.guide-card__body { padding: 23px; }
.guide-card h3 { margin: 0 0 9px; color: var(--help-navy-900); font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; font-weight: 600; line-height: 1.25; }
.guide-card p { margin: 0 0 18px; color: var(--help-muted); font-size: 0.89rem; line-height: 1.6; }
.guide-card__link { color: #8b641f; font-size: 0.8rem; font-weight: 850; }
.guide-card__link b { display: inline-block; margin-inline-start: 4px; transition: transform 180ms ease; }
.guide-card:hover .guide-card__link b { transform: translateX(4px); }

.is-search-match {
    animation: help-match-pulse 1.7s ease;
    box-shadow: 0 0 0 4px rgba(216, 173, 89, 0.65), 0 18px 40px rgba(6, 24, 45, 0.12) !important;
}

@keyframes help-match-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(216, 173, 89, 0.58), 0 18px 40px rgba(6, 24, 45, 0.12); }
    50% { box-shadow: 0 0 0 9px rgba(216, 173, 89, 0.2), 0 18px 40px rgba(6, 24, 45, 0.12); }
}

/* Community principles */
.community-principles {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(35px, 7vw, 110px);
    margin-block-start: clamp(62px, 7vw, 94px);
    padding: clamp(36px, 6vw, 78px);
    border-radius: var(--help-radius-lg);
    background:
        radial-gradient(circle at 13% 20%, rgba(216, 173, 89, 0.12), transparent 32%),
        linear-gradient(135deg, var(--help-navy-950), var(--help-navy-800));
    color: #fff;
}

.community-principles__intro h2 { margin: 0 0 18px; color: #fff; font-family: Georgia, serif; font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 500; line-height: 1.1; }
.community-principles__intro > p:last-child { color: rgba(255, 255, 255, 0.68); line-height: 1.7; }
.community-principles__items article { display: grid; grid-template-columns: 45px 1fr; gap: 18px; padding-block: 24px; border-block-end: 1px solid rgba(255, 255, 255, 0.14); scroll-margin-top: 110px; }
.community-principles__items article:first-child { padding-block-start: 0; }
.community-principles__items article:last-child { padding-block-end: 0; border: 0; }
.community-principles__items article > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(232, 200, 120, 0.42); border-radius: 50%; color: var(--help-gold-400); font-family: Georgia, serif; }
.community-principles h3 { margin: 0 0 7px; color: var(--help-gold-200); font-size: 1.08rem; }
.community-principles__items p { margin: 0; color: rgba(255, 255, 255, 0.66); font-size: 0.88rem; line-height: 1.65; }

/* FAQ */
.help-faq__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.help-faq details { border: 1px solid var(--help-border); border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(6, 24, 45, 0.045); scroll-margin-top: 110px; }
.help-faq summary { position: relative; display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 21px; color: var(--help-navy-900); font-size: 0.93rem; font-weight: 800; cursor: pointer; list-style: none; }
.help-faq summary::-webkit-details-marker { display: none; }
.help-faq summary span { position: relative; flex: 0 0 25px; width: 25px; height: 25px; border-radius: 50%; background: #f4ecdc; }
.help-faq summary span::before,
.help-faq summary span::after { position: absolute; inset: 12px 7px auto; height: 1.5px; background: #806025; content: ""; }
.help-faq summary span::after { transform: rotate(90deg); transition: transform 180ms ease; }
.help-faq details[open] summary span::after { transform: rotate(0); }
.help-faq details[open] summary { border-block-end: 1px solid var(--help-border); }
.help-faq details > p { margin: 0; padding: 18px 21px 22px; color: var(--help-muted); font-size: 0.89rem; line-height: 1.7; }
.help-faq details a { color: #765820; font-weight: 750; }

/* Final CTA and trust strip */
.support-cta {
    display: flex;
    margin-block-start: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: clamp(30px, 4.5vw, 55px);
    border-radius: var(--help-radius-lg);
    background: linear-gradient(120deg, var(--help-navy-900), var(--help-navy-700));
    color: #fff;
    box-shadow: var(--help-shadow-lg);
}

.support-cta h2 { margin: 0 0 8px; color: #fff; font-family: Georgia, serif; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 500; }
.support-cta p:not(.help-eyebrow) { max-width: 730px; margin: 0; color: rgba(255, 255, 255, 0.67); line-height: 1.6; }
.support-cta .help-button { flex: 0 0 auto; }

.trust-strip { border-block: 1px solid #ded5c6; background: #efe9de; }
.trust-strip__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.trust-strip__grid > div { min-height: 135px; display: flex; align-items: center; justify-content: center; gap: 13px; padding: 20px 15px; }
.trust-strip__grid > div + div { border-inline-start: 1px solid #d9cfbe; }
.trust-strip svg { flex: 0 0 33px; width: 33px; fill: none; stroke: #9a6e20; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.trust-strip span { display: grid; gap: 3px; }
.trust-strip strong { color: var(--help-navy-900); font-family: Georgia, serif; font-size: 0.95rem; }
.trust-strip small { color: var(--help-muted); font-size: 0.68rem; }

/* Footer */
.help-page .help-footer {
    padding: 0;
    border: 0;
    background: var(--help-navy-950);
    color: rgba(255, 255, 255, 0.7);
}

.help-footer__grid { display: grid; grid-template-columns: minmax(280px, 1.5fr) repeat(3, minmax(150px, 0.75fr)); gap: 55px; padding-block: 64px 48px; }
.help-footer__brand-block p { max-width: 360px; color: rgba(255, 255, 255, 0.56); font-size: 0.86rem; line-height: 1.7; }
.help-footer nav { display: grid; align-content: start; gap: 11px; }
.help-footer nav h2 { margin: 0 0 5px; color: var(--help-gold-200); font-size: 0.88rem; letter-spacing: 0.04em; }
.help-footer nav a { width: max-content; max-width: 100%; color: rgba(255, 255, 255, 0.66); font-size: 0.8rem; text-decoration: none; }
.help-footer nav a:hover { color: var(--help-gold-400); }
.help-footer__bottom { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 20px; border-block-start: 1px solid rgba(255, 255, 255, 0.1); }
.help-footer__bottom p { margin: 0; font-size: 0.74rem; }
.help-footer__bottom a { color: var(--help-gold-200); font-size: 0.75rem; }

@media (max-width: 1320px) {
    .help-page .help-header__toggle { display: block; }
    .help-page .help-header__nav {
        position: absolute;
        inset: calc(100% + 1px) 0 auto;
        display: none;
        padding: 18px;
        border: 1px solid rgba(232, 200, 120, 0.22);
        border-block-start: 0;
        border-radius: 0 0 18px 18px;
        background: rgba(3, 17, 33, 0.98);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    }
    .help-page .help-header__nav[data-open="true"] { display: block; }
    .help-header__nav-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
    .help-page .help-header__nav a { display: block; padding: 11px 13px; border-radius: 9px; font-size: 0.86rem; }
    .help-page .help-header__nav a:hover { background: rgba(255, 255, 255, 0.07); }
    .help-page .help-header__nav a::after { display: none; }
    .help-categories { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .help-category + .help-category { box-shadow: none; }
    .trust-strip__grid { grid-template-columns: repeat(3, 1fr); }
    .trust-strip__grid > div:nth-child(4) { border-inline-start: 0; border-block-start: 1px solid #d9cfbe; }
    .trust-strip__grid > div:nth-child(5),
    .trust-strip__grid > div:nth-child(6) { border-block-start: 1px solid #d9cfbe; }
}

@media (max-width: 1050px) {
    .help-promos { grid-template-columns: 1fr; }
    .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .community-principles { grid-template-columns: 1fr; }
    .help-category-panel { grid-template-columns: 1fr; }
    .help-footer__grid { grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(130px, 0.7fr)); gap: 30px; }
}

@media (max-width: 800px) {
    html { scroll-padding-top: 88px; }
    .help-container { width: min(100% - 30px, 1500px); }
    .help-page .help-header,
    .help-page .help-header__inner { min-height: 74px; }
    .help-page .help-header__brand .brand__logo { width: 46px !important; height: 50px !important; }
    .help-header__support-link span,
    .help-header__login { display: none; }
    .help-header__register { min-height: 40px; padding-inline: 12px; }
    .help-page .help-header__nav { inset-inline: -1px; border-radius: 0; }
    .help-header__nav-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .help-hero { min-height: 540px; }
    .help-hero__content { padding-block: 67px 125px; }
    .help-hero h1 { font-size: clamp(2.45rem, 11vw, 4rem); }
    .help-content-shell { margin-block-start: -76px; }
    .help-categories-section { padding: 25px 18px; }
    .help-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; padding: 7px; }
    .help-category { min-height: 116px; }
    .help-category:last-child { grid-column: auto; }
    .help-category-panel__actions { grid-template-columns: 1fr; }
    .help-category-panel__actions a { min-height: 132px; }
    .help-promo--referral { grid-template-columns: 1fr; }
    .referral-art { min-height: 280px; }
    .help-promo--contact { grid-template-columns: 1fr; }
    .help-promo__brand-image { height: 300px; min-height: 0; }
    .help-section-heading { grid-template-columns: 1fr; gap: 13px; }
    .guide-grid { grid-template-columns: 1fr; }
    .help-faq__list { grid-template-columns: 1fr; }
    .support-cta { align-items: flex-start; flex-direction: column; }
    .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
    .trust-strip__grid > div:nth-child(3),
    .trust-strip__grid > div:nth-child(5) { border-inline-start: 0; }
    .trust-strip__grid > div:nth-child(3),
    .trust-strip__grid > div:nth-child(4) { border-block-start: 1px solid #d9cfbe; }
    .trust-strip__grid > div:nth-child(4) { border-inline-start: 1px solid #d9cfbe; }
    .help-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .help-footer__brand-block { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
    .help-container { width: min(100% - 22px, 1500px); }
    .help-page .help-header__inner { gap: 8px; }
    .help-page .help-header__brand .brand__name { font-size: 1.08rem; }
    .help-header__register { display: none; }
    .help-page .help-header__toggle { width: 42px; height: 42px; margin-inline-start: auto; }
    .help-header__nav-list { grid-template-columns: 1fr; }
    .help-hero { min-height: 570px; }
    .help-hero__content { padding-block: 60px 125px; }
    .help-hero__lead { margin-block: 18px 25px; }
    .help-search { min-height: 61px; padding: 5px; border-radius: 15px; }
    .help-search__icon { margin-inline-start: 9px; }
    .help-search input { height: 49px; padding-inline: 8px; font-size: 0.9rem; }
    .help-search button { min-height: 49px; padding-inline: 14px; font-size: 0.79rem; }
    .help-search__hint { gap: 7px; }
    .help-category { min-height: 108px; padding-inline: 4px; }
    .help-category-group { padding: 12px; }
    .help-category-group__heading p { display: none; }
    .help-category__icon { width: 40px; height: 40px; }
    .help-category strong { font-size: 0.74rem; }
    .help-category > span:last-child { display: none; }
    .help-promo__copy,
    .help-promo__contact-copy { padding: 29px 24px; }
    .referral-art__person--one { inset-inline-start: 2%; }
    .referral-art__person--two { inset-inline-start: 34%; }
    .referral-art__person--three { inset-inline-end: 0; }
    .referral-art__badge { width: 105px; height: 105px; inset-inline-end: 9px; }
    .referral-art__badge strong { font-size: 1.45rem; }
    .help-section-heading h2 { font-size: 2rem; }
    .community-principles { padding: 34px 23px; }
    .community-principles__items article { grid-template-columns: 38px 1fr; gap: 12px; }
    .community-principles__items article > span { width: 36px; height: 36px; }
    .trust-strip__grid { grid-template-columns: 1fr; }
    .trust-strip__grid > div { min-height: 96px; justify-content: flex-start; padding-inline: 28px; border-block-start: 1px solid #d9cfbe; border-inline-start: 0 !important; }
    .trust-strip__grid > div:first-child { border-block-start: 0; }
    .help-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .help-footer__brand-block { grid-column: auto; }
    .help-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }
}

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

@media (forced-colors: active) {
    .help-category,
    .help-promo,
    .guide-card,
    .help-category-panel,
    .community-principles,
    .help-faq details { border: 1px solid CanvasText; }
}
