/* ============================================================
   NET RENTALS — HELP CENTER
   /css/marketing/help.css

   DESIGN DNA
   ------------------------------------------------------------
   - Classic public-site visual language
   - Navy / orange / white
   - Archivo headings
   - Inter body
   - Calm support/documentation experience
   - Matte surfaces
   - Thin borders
   - Minimal decoration
   - Search-first
   ============================================================ */


/* ============================================================
   01. HELP CENTER TOKENS
   ============================================================ */

.help-page {
    --help-primary: #0B1E59;
    --help-primary-rgb: 11, 30, 89;

    --help-accent: #E34A25;
    --help-accent-rgb: 227, 74, 37;

    --help-background: #ffffff;
    --help-background-soft: #f8f9fa;

    --help-surface: #ffffff;
    --help-surface-raised: #ffffff;

    --help-text: #111317;
    --help-heading: #0B1E59;

    --help-muted: #6b7280;
    --help-dim: #9ca3af;

    --help-border: #eaeaea;
    --help-border-strong: #d9dde3;

    --help-on-primary: #ffffff;
    --help-on-accent: #ffffff;

    --help-font-head:
        "Archivo",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    --help-font-body:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    --help-container: 1040px;

    --help-radius-sm: 6px;
    --help-radius-md: 12px;
    --help-radius-lg: 18px;

    --help-shadow-soft:
        0 10px 30px rgba(0, 0, 0, 0.04);

    --help-shadow-search:
        0 18px 45px rgba(4, 12, 40, 0.13);

    min-height: 100vh;

    background: var(--help-background);
    color: var(--help-text);

    font-family: var(--help-font-body);
}


/* ============================================================
   02. OPTIONAL DARK APPEARANCE
   ============================================================ */

html[data-theme="dark"] .help-page {
    --help-background: #09090b;
    --help-background-soft: #111113;

    --help-surface: #18181b;
    --help-surface-raised: #202023;

    --help-text: #f5f5f5;
    --help-heading: #f5f5f5;

    --help-muted: #a1a1aa;
    --help-dim: #71717a;

    --help-border: #2a2a2e;
    --help-border-strong: #3f3f46;

    --help-shadow-soft:
        0 10px 30px rgba(0, 0, 0, 0.22);

    --help-shadow-search:
        0 20px 50px rgba(0, 0, 0, 0.34);
}


/* ============================================================
   03. RESET / BASE
   ============================================================ */

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

.help-page {
    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
}

.help-page h1,
.help-page h2,
.help-page h3,
.help-page p {
    margin: 0;
}

.help-page h1,
.help-page h2,
.help-page h3 {
    font-family: var(--help-font-head);
}

.help-page a {
    color: inherit;
    text-decoration: none;
}

.help-page button,
.help-page input {
    font: inherit;
}

.help-page svg {
    display: block;
}

.help-page ::selection {
    background: var(--help-accent);
    color: var(--help-on-accent);
}


/* ============================================================
   04. SHARED WIDTH
   ============================================================ */

.help-shell,
.help-content {
    width: 100%;
    max-width: var(--help-container);

    margin-right: auto;
    margin-left: auto;

    padding-right: 24px;
    padding-left: 24px;
}


/* ============================================================
   05. HERO
   ============================================================ */

.help-hero {
    position: relative;

    overflow: visible;

    background: var(--help-primary);
    color: var(--help-on-primary);
}

.help-shell {
    position: relative;
}


/* ============================================================
   06. HEADER
   ============================================================ */

.help-header {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.10);
}

.help-brand {
    flex: 0 0 auto;

    color: #ffffff;

    font-family: var(--help-font-head);
    font-size: 1rem;
    font-weight: 700;

    letter-spacing: -0.02em;
}

.help-desktop-nav {
    display: flex;
    align-items: center;

    gap: 30px;

    margin-left: auto;
}

.help-desktop-nav a {
    position: relative;

    padding: 31px 0 29px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 0.82rem;
    font-weight: 500;

    transition: color 160ms ease;
}

.help-desktop-nav a:hover,
.help-desktop-nav a.active {
    color: #ffffff;
}

.help-desktop-nav a.active::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;

    height: 2px;

    background: var(--help-accent);
}

.help-header-actions {
    display: flex;
    align-items: center;

    gap: 9px;
}

.help-login {
    padding: 9px 12px;

    color: rgba(255, 255, 255, 0.74);

    font-size: 0.8rem;
    font-weight: 500;

    transition: color 160ms ease;
}

.help-login:hover {
    color: #ffffff;
}

.help-signup {
    min-height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 15px;

    border-radius: var(--help-radius-sm);

    background: var(--help-accent);
    color: #ffffff;

    font-family: var(--help-font-head);
    font-size: 0.78rem;
    font-weight: 600;

    transition:
        filter 160ms ease,
        transform 160ms ease;
}

.help-signup:hover {
    filter: brightness(0.94);

    transform: translateY(-1px);
}


/* ============================================================
   07. MOBILE MENU BUTTON
   ============================================================ */

.help-menu-button {
    width: 40px;
    height: 40px;

    display: none;
    place-items: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: transparent;
    color: #ffffff;

    cursor: pointer;

    -webkit-tap-highlight-color: transparent;
}

.help-menu-button:hover {
    background: rgba(255, 255, 255, 0.08);
}

.help-menu-button span {
    position: absolute;

    width: 17px;
    height: 1.5px;

    border-radius: 999px;

    background: currentColor;

    transition:
        transform 180ms ease,
        opacity 180ms ease;
}

.help-menu-button span:first-child {
    transform: translateY(-3px);
}

.help-menu-button span:last-child {
    transform: translateY(3px);
}

.help-menu-button.open span:first-child {
    transform: rotate(45deg);
}

.help-menu-button.open span:last-child {
    transform: rotate(-45deg);
}


/* ============================================================
   08. MOBILE NAV
   ============================================================ */

.help-mobile-nav {
    display: none;
}

body.help-menu-open {
    overflow: hidden;
}


/* ============================================================
   09. HERO CONTENT
   ============================================================ */

.help-hero-content {
    max-width: 760px;

    margin: 0 auto;

    padding: 92px 0 104px;

    text-align: center;
}

.help-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: var(--help-accent);

    font-size: 0.67rem;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.help-eyebrow::before {
    content: "";

    width: 20px;
    height: 1px;

    display: inline-block;

    background: currentColor;
}

.help-hero-content h1 {
    margin-top: 18px;

    color: #ffffff;

    font-size:
        clamp(
            2.8rem,
            7vw,
            4.8rem
        );

    line-height: 1;
    font-weight: 500;

    letter-spacing: -0.055em;
}

.help-hero-content > p {
    max-width: 610px;

    margin: 22px auto 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
}


/* ============================================================
   10. SEARCH
   ============================================================ */

.help-search-wrap {
    position: relative;

    z-index: 10;

    max-width: 680px;

    margin: 38px auto 0;

    text-align: left;
}

.help-search {
    position: relative;

    min-height: 66px;

    display: grid;
    grid-template-columns:
        24px
        minmax(0, 1fr)
        auto;

    gap: 14px;

    align-items: center;

    padding: 0 18px;

    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: var(--help-radius-md);

    background: var(--help-surface);
    color: var(--help-text);

    box-shadow: var(--help-shadow-search);

    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.help-search:focus-within {
    border-color: var(--help-accent);

    box-shadow:
        0 0 0 3px
        rgba(var(--help-accent-rgb), 0.10),
        var(--help-shadow-search);
}

.help-search svg {
    width: 21px;
    height: 21px;

    color: var(--help-accent);
}

.help-search input {
    width: 100%;
    min-width: 0;

    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;
    color: var(--help-text);

    font-size: 0.98rem;
}

.help-search input::placeholder {
    color: var(--help-muted);

    opacity: 0.82;
}

.help-search-shortcut {
    min-width: 26px;
    height: 26px;

    display: grid;
    place-items: center;

    border: 1px solid var(--help-border);
    border-radius: 5px;

    background: var(--help-background-soft);
    color: var(--help-muted);

    font-family: var(--help-font-head);
    font-size: 0.72rem;
    font-weight: 500;
}


/* ============================================================
   11. SEARCH RESULTS
   ============================================================ */

.help-search-results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;

    overflow: hidden;

    border: 1px solid var(--help-border);
    border-radius: var(--help-radius-md);

    background: var(--help-surface);

    box-shadow:
        0 22px 55px rgba(4, 12, 40, 0.18);
}

.help-search-result {
    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 0 16px;

    border-bottom: 1px solid var(--help-border);

    color: var(--help-text);

    font-size: 0.85rem;

    transition:
        background 140ms ease,
        color 140ms ease;
}

.help-search-result:last-child {
    border-bottom: 0;
}

.help-search-result:hover {
    background: var(--help-background-soft);
    color: var(--help-primary);
}

html[data-theme="dark"] .help-search-result:hover {
    color: var(--help-accent);
}

.help-search-result strong {
    flex: 0 0 auto;

    color: var(--help-accent);

    font-weight: 500;
}

.help-search-empty {
    padding: 20px;

    color: var(--help-muted);

    font-size: 0.84rem;
    text-align: center;
}


/* ============================================================
   12. HERO POPULAR LINKS
   ============================================================ */

.help-hero-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 8px 14px;

    margin-top: 20px;

    color: rgba(255, 255, 255, 0.58);

    font-size: 0.75rem;
}

.help-hero-links span {
    color: rgba(255, 255, 255, 0.42);
}

.help-hero-links a {
    color: rgba(255, 255, 255, 0.78);

    transition: color 140ms ease;
}

.help-hero-links a:hover {
    color: var(--help-accent);
}


/* ============================================================
   13. GENERIC SECTION
   ============================================================ */

.help-section {
    padding: 96px 0;

    background: var(--help-background);
}

.help-section-heading {
    max-width: 650px;

    margin-bottom: 46px;
}

.help-section-heading .help-eyebrow {
    margin-bottom: 15px;
}

.help-section-heading h2 {
    color: var(--help-heading);

    font-size:
        clamp(
            2rem,
            5vw,
            2.8rem
        );

    line-height: 1.08;
    font-weight: 500;

    letter-spacing: -0.045em;
}

.help-section-heading > p {
    max-width: 560px;

    margin-top: 16px;

    color: var(--help-muted);

    font-size: 0.96rem;
    font-weight: 300;
    line-height: 1.7;
}


/* ============================================================
   14. CATEGORY SECTION
   ============================================================ */

.help-categories-section {
    background: var(--help-background-soft);
}


/* ============================================================
   15. CATEGORY GRID
   ============================================================ */

.help-category-grid {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 16px;
}

.help-category-card {
    min-width: 0;

    display: grid;
    grid-template-columns:
        48px
        minmax(0, 1fr);

    grid-template-areas:
        "icon copy"
        "link link";

    gap:
        0
        17px;

    padding: 24px;

    border: 1px solid var(--help-border);
    border-radius: var(--help-radius-md);

    background: var(--help-surface);

    box-shadow: var(--help-shadow-soft);

    transition:
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.help-category-card:hover {
    border-color:
        rgba(
            var(--help-accent-rgb),
            0.34
        );

    transform: translateY(-2px);

    box-shadow:
        0 16px 35px
        rgba(var(--help-primary-rgb), 0.07);
}

.help-category-icon {
    grid-area: icon;

    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border: 1px solid var(--help-border);
    border-radius: 50%;

    background: var(--help-background-soft);
    color: var(--help-primary);
}

html[data-theme="dark"] .help-category-icon {
    color: var(--help-accent);
}

.help-category-icon svg {
    width: 20px;
    height: 20px;
}

.help-category-copy {
    grid-area: copy;
}

.help-category-copy > span {
    display: block;

    margin-bottom: 5px;

    color: var(--help-accent);

    font-size: 0.61rem;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.help-category-copy h3 {
    color: var(--help-heading);

    font-size: 1.17rem;
    font-weight: 600;

    letter-spacing: -0.025em;
}

.help-category-copy p {
    margin-top: 8px;

    color: var(--help-muted);

    font-size: 0.84rem;
    font-weight: 300;
    line-height: 1.6;
}

.help-category-link {
    grid-area: link;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    margin-top: 20px;
    padding-top: 16px;

    border-top: 1px solid var(--help-border);

    color: var(--help-heading);

    font-size: 0.78rem;
    font-weight: 600;

    transition: color 160ms ease;
}

.help-category-link > span {
    color: var(--help-accent);

    font-size: 1rem;

    transition: transform 160ms ease;
}

.help-category-link:hover {
    color: var(--help-accent);
}

.help-category-link:hover > span {
    transform: translateX(3px);
}


/* ============================================================
   16. POPULAR ANSWERS
   ============================================================ */

.help-popular-section {
    border-top: 1px solid var(--help-border);

    background: var(--help-background);
}

.help-popular-layout {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap:
        52px
        56px;
}


/* ============================================================
   17. ARTICLE GROUP
   ============================================================ */

.help-article-group {
    scroll-margin-top: 24px;
}

.help-article-group-heading {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-bottom: 10px;
}

.help-article-group-heading > span {
    width: 32px;
    height: 32px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border: 1px solid var(--help-border);
    border-radius: 50%;

    background: var(--help-background-soft);
    color: var(--help-accent);

    font-family: var(--help-font-head);
    font-size: 0.67rem;
    font-weight: 600;
}

.help-article-group-heading small {
    display: block;

    color: var(--help-accent);

    font-size: 0.58rem;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.help-article-group-heading strong {
    display: block;

    margin-top: 2px;

    color: var(--help-heading);

    font-family: var(--help-font-head);
    font-size: 0.98rem;
    font-weight: 600;
}


/* ============================================================
   18. ARTICLE LIST
   ============================================================ */

.help-article-list {
    border-top: 1px solid var(--help-border);
}

.help-article-list a {
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 0 4px;

    border-bottom: 1px solid var(--help-border);

    color: var(--help-text);

    font-size: 0.83rem;
    font-weight: 400;

    transition:
        color 160ms ease,
        padding 160ms ease;
}

.help-article-list a:hover {
    padding-right: 8px;
    padding-left: 8px;

    color: var(--help-accent);
}

.help-article-list strong {
    flex: 0 0 auto;

    color: var(--help-dim);

    font-size: 0.95rem;
    font-weight: 400;

    transition:
        color 160ms ease,
        transform 160ms ease;
}

.help-article-list a:hover strong {
    color: var(--help-accent);

    transform: translateX(3px);
}


/* ============================================================
   19. GUIDED SETUP SECTION
   ============================================================ */

.help-guided-section {
    border-top: 1px solid var(--help-border);

    background: var(--help-background-soft);
}

.help-guided-panel {
    display: grid;
    grid-template-columns:
        minmax(0, 0.82fr)
        minmax(400px, 1.18fr);

    gap: 72px;

    align-items: center;

    padding: 52px;

    border: 1px solid var(--help-border);
    border-radius: var(--help-radius-lg);

    background: var(--help-surface);

    box-shadow: var(--help-shadow-soft);
}

.help-guided-copy {
    max-width: 480px;
}

.help-guided-copy .help-eyebrow {
    margin-bottom: 15px;
}

.help-guided-copy h2 {
    color: var(--help-heading);

    font-size:
        clamp(
            2rem,
            4vw,
            2.75rem
        );

    line-height: 1.08;
    font-weight: 500;

    letter-spacing: -0.045em;
}

.help-guided-copy p {
    margin-top: 17px;

    color: var(--help-muted);

    font-size: 0.91rem;
    font-weight: 300;
    line-height: 1.7;
}

.help-guided-button {
    min-height: 44px;

    display: inline-flex;
    align-items: center;

    gap: 18px;

    margin-top: 26px;
    padding: 0 17px;

    border-radius: var(--help-radius-sm);

    background: var(--help-primary);
    color: #ffffff;

    font-family: var(--help-font-head);
    font-size: 0.8rem;
    font-weight: 600;

    transition:
        background 160ms ease,
        transform 160ms ease;
}

.help-guided-button:hover {
    background: var(--help-accent);

    transform: translateY(-1px);
}

.help-guided-button span {
    font-size: 1rem;
}


/* ============================================================
   20. GUIDED STEPS
   ============================================================ */

.help-guided-steps {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    border-top: 1px solid var(--help-border);
    border-left: 1px solid var(--help-border);
}

.help-guided-steps > div {
    min-height: 94px;

    display: grid;
    grid-template-columns:
        28px
        minmax(0, 1fr);

    gap: 12px;

    align-items: center;

    padding: 15px;

    border-right: 1px solid var(--help-border);
    border-bottom: 1px solid var(--help-border);

    background: var(--help-background-soft);
}

.help-guided-steps span {
    color: var(--help-accent);

    font-family: var(--help-font-head);
    font-size: 0.7rem;
    font-weight: 600;
}

.help-guided-steps strong {
    color: var(--help-heading);

    font-size: 0.83rem;
    font-weight: 600;
}


/* ============================================================
   21. GUIDE SECTION
   ============================================================ */

.help-guides-section {
    border-top: 1px solid var(--help-border);

    background: var(--help-background);
}

.help-guide-grid {
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 16px;
}

.help-guide-card {
    min-height: 320px;

    display: flex;
    flex-direction: column;

    padding: 28px;

    border: 1px solid var(--help-border);
    border-radius: var(--help-radius-md);

    background: var(--help-surface);

    transition:
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.help-guide-card:hover {
    border-color:
        rgba(
            var(--help-accent-rgb),
            0.34
        );

    transform: translateY(-3px);

    box-shadow: var(--help-shadow-soft);
}

.help-guide-card > span {
    color: var(--help-accent);

    font-size: 0.61rem;
    font-weight: 700;

    letter-spacing: 0.13em;
}

.help-guide-card h3 {
    margin-top: 28px;

    color: var(--help-heading);

    font-size: 1.32rem;
    line-height: 1.22;
    font-weight: 600;

    letter-spacing: -0.03em;
}

.help-guide-card p {
    margin-top: 14px;

    color: var(--help-muted);

    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.65;
}

.help-guide-card > strong {
    margin-top: auto;
    padding-top: 28px;

    color: var(--help-heading);

    font-size: 0.77rem;
    font-weight: 600;

    transition: color 160ms ease;
}

.help-guide-card:hover > strong {
    color: var(--help-accent);
}


/* ============================================================
   22. GUIDE SECTION FOOTER
   ============================================================ */

.help-guides-footer {
    display: flex;
    justify-content: flex-end;

    margin-top: 24px;
}

.help-guides-footer a {
    display: inline-flex;
    align-items: center;

    gap: 11px;

    color: var(--help-heading);

    font-size: 0.8rem;
    font-weight: 600;
}

.help-guides-footer a span {
    color: var(--help-accent);

    transition: transform 160ms ease;
}

.help-guides-footer a:hover {
    color: var(--help-accent);
}

.help-guides-footer a:hover span {
    transform: translateX(3px);
}


/* ============================================================
   23. SUPPORT / CONTACT SECTION
   ============================================================ */

.help-support-section {
    padding: 0 0 96px;

    background: var(--help-background);
}

.help-support-grid {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    border-top: 1px solid var(--help-border);
    border-left: 1px solid var(--help-border);
}

.help-support-grid article {
    min-height: 265px;

    display: flex;
    flex-direction: column;

    padding: 34px;

    border-right: 1px solid var(--help-border);
    border-bottom: 1px solid var(--help-border);

    background: var(--help-background-soft);
}

.help-support-grid article > span {
    color: var(--help-accent);

    font-size: 0.61rem;
    font-weight: 700;

    letter-spacing: 0.13em;
}

.help-support-grid h2 {
    max-width: 350px;

    margin-top: 28px;

    color: var(--help-heading);

    font-size: 1.6rem;
    font-weight: 500;

    letter-spacing: -0.035em;
}

.help-support-grid p {
    max-width: 420px;

    margin-top: 12px;

    color: var(--help-muted);

    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.65;
}

.help-support-grid a {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-top: auto;
    padding-top: 28px;

    color: var(--help-heading);

    font-size: 0.79rem;
    font-weight: 600;

    transition: color 160ms ease;
}

.help-support-grid a strong {
    color: var(--help-accent);

    font-weight: 500;

    transition: transform 160ms ease;
}

.help-support-grid a:hover {
    color: var(--help-accent);
}

.help-support-grid a:hover strong {
    transform: translateX(3px);
}


/* ============================================================
   24. FOOTER
   ============================================================ */

.help-footer {
    padding: 72px 0 30px;

    background: var(--help-primary);
    color: #ffffff;
}

.help-footer-top {
    display: grid;
    grid-template-columns:
        minmax(220px, 0.7fr)
        minmax(0, 1.3fr);

    gap: 70px;
}

.help-footer-brand > a {
    color: #ffffff;

    font-family: var(--help-font-head);
    font-size: 1.05rem;
    font-weight: 700;

    letter-spacing: -0.025em;
}

.help-footer-brand p {
    max-width: 320px;

    margin-top: 14px;

    color: rgba(255, 255, 255, 0.60);

    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.65;
}


/* ============================================================
   25. FOOTER LINKS
   ============================================================ */

.help-footer-links {
    display: grid;
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 24px;
}

.help-footer-links > div {
    display: flex;
    flex-direction: column;

    gap: 9px;
}

.help-footer-links strong {
    margin-bottom: 8px;

    color: var(--help-accent);

    font-size: 0.65rem;
    font-weight: 700;

    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.help-footer-links a {
    color: rgba(255, 255, 255, 0.64);

    font-size: 0.76rem;
    font-weight: 300;

    transition: color 140ms ease;
}

.help-footer-links a:hover {
    color: #ffffff;
}


/* ============================================================
   26. FOOTER BOTTOM
   ============================================================ */

.help-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 26px;

    margin-top: 58px;
    padding-top: 24px;

    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.help-footer-bottom > span {
    color: rgba(255, 255, 255, 0.40);

    font-size: 0.7rem;
}

.help-footer-bottom nav {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}

.help-footer-bottom nav a {
    color: rgba(255, 255, 255, 0.45);

    font-size: 0.7rem;

    transition: color 140ms ease;
}

.help-footer-bottom nav a:hover {
    color: #ffffff;
}


/* ============================================================
   27. TABLET
   ============================================================ */

@media (max-width: 900px) {

    .help-desktop-nav {
        display: none;
    }

    .help-header-actions {
        margin-left: auto;
    }

    .help-header-actions > .help-login,
    .help-header-actions > .help-signup {
        display: none;
    }

    .help-menu-button {
        position: relative;

        display: grid;
    }


    /* --------------------------------------------------------
       MOBILE NAV SHEET
       -------------------------------------------------------- */

    .help-mobile-nav {
        position: fixed;
        inset: 0;

        z-index: 9000;

        display: flex;
        flex-direction: column;

        padding:
            calc(84px + env(safe-area-inset-top))
            24px
            calc(24px + env(safe-area-inset-bottom));

        background: var(--help-surface);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity 180ms ease,
            visibility 180ms ease,
            transform 180ms ease;
    }

    .help-mobile-nav.open {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

    .help-mobile-nav nav {
        display: grid;
    }

    .help-mobile-nav nav > a {
        min-height: 58px;

        display: flex;
        align-items: center;

        border-bottom: 1px solid var(--help-border);

        color: var(--help-heading);

        font-family: var(--help-font-head);
        font-size: 1rem;
        font-weight: 500;
    }

    .help-mobile-nav nav > a.active {
        color: var(--help-accent);
    }

    .help-mobile-divider {
        height: 22px;

        border-bottom: 1px solid var(--help-border);
    }

    .help-mobile-account {
        display: grid;
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 8px;

        margin-top: auto;
    }

    .help-mobile-login,
    .help-mobile-signup {
        min-height: 48px;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: var(--help-radius-sm);

        font-family: var(--help-font-head);
        font-size: 0.84rem;
        font-weight: 600;
    }

    .help-mobile-login {
        border: 1px solid var(--help-border);

        background: var(--help-background-soft);
        color: var(--help-heading);
    }

    .help-mobile-signup {
        background: var(--help-primary);
        color: #ffffff;
    }


    /* Menu button needs to remain visible over sheet */

    .help-menu-button {
        z-index: 9100;
    }

    body.help-menu-open .help-menu-button {
        position: fixed;
        top: calc(21px + env(safe-area-inset-top));
        right: 24px;

        border: 1px solid var(--help-border);

        background: var(--help-background-soft);
        color: var(--help-heading);
    }


    /* Layout */

    .help-guided-panel {
        grid-template-columns: 1fr;

        gap: 42px;

        padding: 40px;
    }

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

    .help-guide-card:last-child {
        grid-column: 1 / -1;

        min-height: 250px;
    }

    .help-footer-top {
        grid-template-columns: 1fr;

        gap: 46px;
    }
}


/* ============================================================
   28. MOBILE
   ============================================================ */

@media (max-width: 700px) {

    .help-shell,
    .help-content {
        padding-right: 18px;
        padding-left: 18px;
    }

    .help-header {
        min-height: 72px;
    }

    .help-brand {
        font-size: 0.95rem;
    }

    .help-hero-content {
        padding: 72px 0 82px;
    }

    .help-hero-content h1 {
        font-size:
            clamp(
                2.7rem,
                14vw,
                4rem
            );
    }

    .help-hero-content > p {
        font-size: 0.9rem;
    }

    .help-search-wrap {
        margin-top: 30px;
    }

    .help-search {
        min-height: 60px;

        grid-template-columns:
            22px
            minmax(0, 1fr);

        padding: 0 16px;
    }

    .help-search input {
        font-size: 0.9rem;
    }

    .help-search-shortcut {
        display: none;
    }

    .help-hero-links {
        max-width: 310px;

        margin-right: auto;
        margin-left: auto;

        line-height: 1.5;
    }

    .help-section {
        padding: 72px 0;
    }

    .help-section-heading {
        margin-bottom: 34px;
    }

    .help-category-grid {
        grid-template-columns: 1fr;
    }

    .help-popular-layout {
        grid-template-columns: 1fr;

        gap: 42px;
    }

    .help-guided-panel {
        padding: 28px;
    }

    .help-guide-grid {
        grid-template-columns: 1fr;
    }

    .help-guide-card,
    .help-guide-card:last-child {
        grid-column: auto;

        min-height: 280px;
    }

    .help-support-section {
        padding-bottom: 72px;
    }

    .help-support-grid {
        grid-template-columns: 1fr;
    }

    .help-support-grid article {
        min-height: 245px;
    }

    .help-footer {
        padding-top: 60px;
    }

    .help-footer-links {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap:
            34px
            22px;
    }

    .help-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ============================================================
   29. SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .help-hero-content {
        padding-top: 60px;
    }

    .help-eyebrow {
        font-size: 0.61rem;
    }

    .help-hero-content h1 {
        margin-top: 15px;
    }

    .help-category-card {
        grid-template-columns:
            42px
            minmax(0, 1fr);

        gap: 14px;

        padding: 20px;
    }

    .help-category-icon {
        width: 40px;
        height: 40px;
    }

    .help-category-icon svg {
        width: 18px;
        height: 18px;
    }

    .help-category-copy h3 {
        font-size: 1.05rem;
    }

    .help-guided-panel {
        padding: 22px;
    }

    .help-guided-steps {
        grid-template-columns: 1fr;
    }

    .help-guide-card {
        padding: 24px;
    }

    .help-support-grid article {
        padding: 28px;
    }

    .help-footer-links {
        grid-template-columns: 1fr;
    }

    .help-mobile-account {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   30. FOCUS
   ============================================================ */

.help-page a:focus-visible,
.help-page button:focus-visible,
.help-page input:focus-visible {
    outline: 2px solid var(--help-accent);
    outline-offset: 3px;
}


/* ============================================================
   31. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .help-page *,
    .help-page *::before,
    .help-page *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
    }
}