:root {
    --help-ink: #0f172a;
    --help-muted: #64748b;
    --help-line: rgba(148, 163, 184, 0.24);
    --help-orange: #f97316;
    --help-orange-deep: #9a3412;
    --help-orange-soft: #ffedd5;
    --help-orange-pale: #fff7ed;
    --help-card: rgba(255, 255, 255, 0.92);
    --help-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--help-ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(251, 146, 60, 0.20), transparent 28rem),
        radial-gradient(circle at 88% 30%, rgba(253, 186, 116, 0.20), transparent 26rem),
        linear-gradient(180deg, #fffaf7 0%, #fff7ed 48%, #fff 100%);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

.help-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 76px;
    padding:
        max(14px, env(safe-area-inset-top))
        clamp(18px, 4vw, 42px)
        14px;
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(251, 146, 60, 0.20);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.help-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
}

.help-brand strong {
    color: var(--help-orange);
    font-size: 1.15rem;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.help-brand span {
    color: #475569;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.06em;
}

.help-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 15px;
    color: var(--help-orange-deep);
    background: var(--help-orange-pale);
    border: 1px solid rgba(249, 115, 22, 0.24);
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
}

.help-shell {
    width: min(1060px, calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(34px, 7vw, 78px) 0 70px;
}

.help-hero {
    max-width: 850px;
    margin-bottom: 34px;
}

.help-eyebrow,
.help-support-panel > span {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--help-orange-deep);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.help-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(2.25rem, 6vw, 4.85rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.help-hero > p {
    max-width: 780px;
    margin: 25px 0 0;
    color: #475569;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 650;
    line-height: 1.7;
}

.help-search {
    margin-top: 34px;
    padding: 20px;
    background: var(--help-card);
    border: 1px solid rgba(251, 146, 60, 0.22);
    border-radius: 24px;
    box-shadow: var(--help-shadow);
}

.help-search label {
    display: block;
    margin-bottom: 10px;
    color: var(--help-orange-deep);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.help-search-control {
    display: flex;
    gap: 10px;
}

.help-search-input {
    width: 100%;
    min-height: 52px;
    padding: 13px 16px;
    color: var(--help-ink);
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.36);
    border-radius: 15px;
    outline: 0;
}

.help-search-input:focus {
    border-color: var(--help-orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.help-search-clear {
    min-width: 76px;
    padding: 10px 14px;
    color: var(--help-orange-deep);
    background: var(--help-orange-soft);
    border: 0;
    border-radius: 14px;
    font-weight: 850;
    cursor: pointer;
}

.help-search-status {
    min-height: 20px;
    margin: 9px 2px 0;
    color: var(--help-muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.help-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 48px;
}

.help-quick-grid a {
    min-height: 150px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--help-line);
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
    text-decoration: none;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.help-quick-grid a:hover {
    transform: translateY(-3px);
    border-color: rgba(249, 115, 22, 0.38);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
}

.help-quick-grid span {
    display: block;
    margin-bottom: 23px;
    color: var(--help-orange);
    font-size: 0.77rem;
    font-weight: 950;
}

.help-quick-grid strong,
.help-quick-grid small {
    display: block;
}

.help-quick-grid strong {
    font-size: 1rem;
}

.help-quick-grid small {
    margin-top: 6px;
    color: var(--help-muted);
    font-weight: 650;
    line-height: 1.45;
}

.help-category {
    margin-top: 55px;
    scroll-margin-top: 104px;
}

.help-category[hidden],
.help-article[hidden] {
    display: none !important;
}

.help-category-heading {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 20px;
}

.help-category-heading > span {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    color: #fff;
    background: linear-gradient(135deg, #fb923c, #f97316);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.24);
    font-weight: 950;
}

.help-category-heading p {
    margin: 0 0 4px;
    color: var(--help-orange-deep);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.11em;
}

.help-category-heading h2 {
    margin: 0;
    font-size: clamp(1.55rem, 3.8vw, 2.3rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.help-article {
    overflow: hidden;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid var(--help-line);
    border-radius: 19px;
    box-shadow: 0 9px 28px rgba(15, 23, 42, 0.045);
}

.help-article[open] {
    border-color: rgba(249, 115, 22, 0.27);
}

.help-article summary {
    position: relative;
    padding: 20px 58px 20px 21px;
    list-style: none;
    font-size: 1rem;
    font-weight: 850;
    cursor: pointer;
}

.help-article summary::-webkit-details-marker {
    display: none;
}

.help-article summary::after {
    position: absolute;
    top: 50%;
    right: 21px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    content: "+";
    color: var(--help-orange-deep);
    background: var(--help-orange-soft);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: transform 180ms ease;
}

.help-article[open] summary::after {
    content: "−";
}

.help-article-body {
    padding: 2px 21px 23px;
    color: #475569;
    font-weight: 590;
    line-height: 1.7;
}

.help-article-body p:first-child {
    margin-top: 0;
}

.help-steps,
.help-list {
    margin: 0;
    padding-left: 1.35rem;
}

.help-steps li,
.help-list li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.help-notice,
.help-warning {
    margin: 18px 0;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 720;
}

.help-notice {
    color: #7c2d12;
    background: #fff7ed;
    border-left: 4px solid #fb923c;
}

.help-warning {
    color: #991b1b;
    background: #fef2f2;
    border-left: 4px solid #ef4444;
}

.help-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 14px;
    font-weight: 850;
    text-decoration: none;
}

.help-action.primary {
    color: #fff;
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.help-action.secondary {
    color: var(--help-ink);
    background: #f1f5f9;
    border: 1px solid rgba(148, 163, 184, 0.28);
}

.help-plan-table-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--help-line);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.help-plan-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.help-plan-table th,
.help-plan-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid var(--help-line);
}

.help-plan-table th {
    color: var(--help-orange-deep);
    background: #fff7ed;
    font-size: 0.77rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.help-plan-table tr:last-child td {
    border-bottom: 0;
}

.help-support-panel {
    margin-top: 62px;
    padding: clamp(25px, 5vw, 46px);
    background:
        linear-gradient(
            135deg,
            rgba(255, 247, 237, 0.98),
            rgba(255, 237, 213, 0.96)
        );
    border: 1px solid rgba(249, 115, 22, 0.28);
    border-radius: 28px;
    box-shadow: var(--help-shadow);
    scroll-margin-top: 104px;
}

.help-support-panel h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.help-support-panel p {
    max-width: 760px;
    margin: 18px 0 0;
    color: #475569;
    font-weight: 650;
    line-height: 1.65;
}

.help-support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.help-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding:
        25px
        clamp(18px, 4vw, 42px)
        calc(25px + env(safe-area-inset-bottom));
    color: var(--help-muted);
    background: rgba(255, 255, 255, 0.78);
    border-top: 1px solid var(--help-line);
    font-size: 0.86rem;
}

@media (max-width: 820px) {
    .help-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .help-topbar {
        min-height: 66px;
        padding-left: 17px;
        padding-right: 17px;
    }

    .help-back-link {
        min-height: 38px;
        padding: 8px 11px;
        font-size: 0.77rem;
    }

    .help-brand span {
        display: none;
    }

    .help-shell {
        width: min(100% - 26px, 1060px);
        padding-top: 34px;
    }

    .help-hero h1 {
        font-size: clamp(2.2rem, 11vw, 3.25rem);
    }

    .help-search {
        padding: 15px;
        border-radius: 20px;
    }

    .help-search-control {
        align-items: stretch;
    }

    .help-search-input {
        min-width: 0;
    }

    .help-quick-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .help-quick-grid a {
        min-height: 0;
        padding: 17px;
    }

    .help-quick-grid span {
        margin-bottom: 12px;
    }

    .help-category {
        margin-top: 43px;
    }

    .help-category-heading {
        align-items: flex-start;
    }

    .help-category-heading > span {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .help-article summary {
        padding: 18px 54px 18px 18px;
    }

    .help-article-body {
        padding: 1px 18px 21px;
    }

    .help-action {
        width: 100%;
    }

    .help-footer {
        flex-direction: column;
        gap: 7px;
    }
}

/* HELP_TOPBAR_REFINEMENT_START */

.help-brand strong {
    color: #f97316;
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: 0.08em;
}

.help-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 0;
    padding: 0;

    color: #9a3412;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;

    font-size: 0.9rem;
    font-weight: 850;
    text-decoration: none;
    text-transform: lowercase;
}

.help-back-link:hover {
    color: #f97316;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 600px) {
    .help-back-link {
        min-height: 0;
        padding: 0;
        font-size: 0.84rem;
    }
}

/* HELP_TOPBAR_REFINEMENT_END */

/* HELP_SUPPORT_CONTACTS_START */

.help-support-contacts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.help-contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;

    min-width: 0;
    padding: 18px;

    color: #0f172a;
    background: rgba(255, 255, 255, 0.78);

    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 17px;

    box-shadow: 0 8px 22px rgba(154, 52, 18, 0.07);

    text-decoration: none;

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

a.help-contact-card:hover,
.help-contact-line:hover {
    border-color: rgba(249, 115, 22, 0.50);
}

a.help-contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 28px rgba(154, 52, 18, 0.11);
}

.help-contact-card > span {
    color: #9a3412;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.help-contact-card > strong,
.help-contact-line strong {
    max-width: 100%;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.help-contact-card small,
.help-contact-line small {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
}

.help-contact-list {
    display: grid;
    width: 100%;
    gap: 9px;
    margin-top: 4px;
}

.help-contact-line {
    display: flex;
    flex-direction: column;
    gap: 3px;

    width: 100%;
    padding: 11px 12px;

    color: inherit;
    background: rgba(255, 247, 237, 0.72);

    border: 1px solid rgba(249, 115, 22, 0.18);
    border-radius: 12px;

    text-decoration: none;
}

.help-support-panel .help-support-actions {
    margin-top: 14px;
}

@media (max-width: 600px) {
    .help-support-contacts {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 22px;
    }

    .help-contact-card {
        padding: 16px;
    }
}

/* HELP_SUPPORT_CONTACTS_END */
