.help-hero { padding: 24px 0 28px; background: var(--color-cream); }
.breadcrumbs { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14px; line-height: 24px; color: var(--color-muted); }
.help-hero .eyebrow { margin-bottom: 8px; }
.help-hero h1 { max-width: 1050px; font-size: 32px; line-height: 44px; overflow-wrap: anywhere; }
.help-intro { margin-top: 8px; color: var(--color-muted); }
.help-layout { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 40px; padding-block: 48px 80px; align-items: start; }
.help-sidebar { min-width: 0; }
.sidebar-heading { font-size: 14px; font-weight: 500; color: var(--color-muted); margin: 0 16px 16px; }
.help-nav { display: flex; flex-direction: column; gap: 4px; }
.help-nav a { padding: 12px 16px; border-radius: 12px; }
.help-nav a[aria-current], .help-nav a:hover { color: var(--color-burnt); background: var(--color-cream); }
.help-nav a[aria-current] { font-weight: 500; box-shadow: inset 3px 0 var(--color-burnt); }
.help-contact { display: flex; flex-direction: column; gap: 8px; background: var(--color-cream); border-radius: 20px; margin-top: 24px; padding: 24px; font-size: 14px; color: var(--color-muted); }
.help-contact a { color: var(--color-burnt); font-size: 28px; font-weight: 500; line-height: 38px; }
.help-content { min-width: 0; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.faq-card { display: flex; flex-direction: column; align-items: flex-start; position: relative; gap: 12px; padding: 24px 44px 24px 24px; border: 1px solid var(--color-line); border-radius: 24px; min-width: 0; }
.faq-card:hover { border-color: var(--color-burnt); background: var(--color-cream); }
.faq-card h2 { font-size: 20px; font-weight: 500; line-height: 30px; overflow-wrap: anywhere; }
.question-number { font-size: 14px; color: var(--color-burnt); }
.card-arrow { font-size: 24px; color: var(--color-burnt); }
.faq-card .card-arrow { position: absolute; right: 20px; top: 24px; }
.back-link { display: inline-block; margin-bottom: 20px; color: var(--color-burnt); }
.faq-list + .back-link { margin-top: 24px; }
.help-article { padding: 24px; border: 1px solid var(--color-line); border-radius: 20px; line-height: 28px; overflow-wrap: anywhere; }
.help-article h2, .help-article h3 { font-size: 20px; font-weight: 500; line-height: 30px; margin: 20px 0 12px; }
.help-article > h2:first-child, .help-article > h3:first-child { margin-top: 0; }
.help-article p + p, .help-article p + ul, .help-article p + ol { margin-top: 12px; }
.help-article ul, .help-article ol { margin: 0 0 20px; padding-left: 24px; }
.help-article li + li { margin-top: 8px; }
.help-article a { color: var(--color-burnt); text-decoration: underline; text-underline-offset: 3px; }
.help-article b, .help-article strong { font-weight: 500; }
.guide-image { max-width: 100%; height: auto; margin: 16px 0 28px; border: 1px solid var(--color-line); border-radius: 16px; }
.guide-illustration { width: 96px; height: 96px; object-fit: contain; margin: 0 0 24px; }
.fee-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--color-line); border-radius: 16px; overflow: hidden; margin-top: 24px; line-height: 26px; }
.fee-table caption { text-align: left; font-size: 18px; font-weight: 500; margin-bottom: 12px; color: var(--color-ink); }
.fee-table th, .fee-table td { text-align: left; padding: 16px; vertical-align: top; }
.fee-table th { background: var(--color-cream); font-weight: 500; }
.fee-table td { border-top: 1px solid var(--color-line); }
.deposit-options { display: flex; flex-direction: column; gap: 24px; }
.deposit-card { display: flex; align-items: center; gap: 20px; padding: 20px 0; border-top: 1px solid var(--color-line); text-decoration: none !important; }
.deposit-card h3 { margin: 0; font-size: 20px; }
.deposit-card img { object-fit: contain; flex-shrink: 0; }
.deposit-card .card-arrow { margin-left: auto; }
.deposit-card.is-unavailable { color: var(--color-muted); opacity: .65; }
/* Legal documents are standalone pages for web browsers and app webviews. */
.legal-page { width: calc(100% - 48px); max-width: 1040px; margin-inline: auto; padding-block: 24px 40px; }
.legal-title { margin-bottom: 24px; color: var(--color-burnt); text-align: center; font-size: 24px; line-height: 34px; overflow-wrap: anywhere; }
.legal-document { width: 100%; line-height: 28px; overflow-wrap: anywhere; }
.legal-document h2, .legal-document h3 { margin: 20px 0 12px; font-size: 18px; font-weight: 500; line-height: 28px; }
.legal-document p + p, .legal-document p + ul, .legal-document p + ol { margin-top: 12px; }
.legal-document ul, .legal-document ol { padding-left: 24px; }
.legal-document li + li { margin-top: 8px; }
.legal-document a { color: var(--color-burnt); text-decoration: underline; text-underline-offset: 3px; }
.legal-document b, .legal-document strong { font-weight: 500; }
@media (max-width: 767px) {
    .legal-page { width: calc(100% - 32px); padding-top: 20px; }
    .legal-title { margin-bottom: 20px; font-size: 22px; line-height: 32px; }
}
.legal-document > br:first-child { display: none; }
.legal-document img { max-width: 100%; height: auto; }
@media (min-width: 768px) and (max-width: 1023px) {
    .help-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }
    .faq-list { grid-template-columns: minmax(0, 1fr); }
    .help-article { padding: 24px; }
}
@media (max-width: 767px) {
    .help-hero { padding: 24px 0; }
    .breadcrumbs { margin-bottom: 16px; }
    .help-hero h1 { font-size: 26px; line-height: 36px; }
    .help-intro { font-size: 14px; line-height: 24px; }
    .help-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 28px 48px; }
    .sidebar-heading { margin-left: 0; }
    .help-nav { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .help-nav a { padding: 8px 12px; font-size: 14px; border: 1px solid var(--color-line); }
    .help-nav a[aria-current] { box-shadow: none; border-color: var(--color-burnt); }
    .help-contact { display: none; }
    .faq-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .faq-card { padding: 20px 44px 20px 20px; }
    .faq-card h2 { font-size: 18px; line-height: 28px; }
    .help-article { padding: 20px; }
    .help-article h2, .help-article h3 { font-size: 20px; line-height: 30px; }
    .fee-table th, .fee-table td { padding: 12px; font-size: 14px; line-height: 24px; }
    .deposit-card { gap: 12px; }
    .deposit-card h3 { font-size: 18px; }
    .deposit-card img { width: 48px; height: 48px; }
}

/* Support pages use the BeWallet support design; legal pages keep their layout. */
.support-page { --support-hero: #c65200; }
.support-header .brand img { width: 90px; height: 56.8px; }
.support-header .header-inner { gap: 32px; padding-block: 16px; }
.support-desktop-nav { display: flex; gap: 32px; margin-left: auto; font-weight: 500; }
.support-phone { align-items: center; gap: 8px; white-space: nowrap; }
.support-icon { display: inline-block; width: 24px; height: 24px; flex-shrink: 0; background-color: currentColor; mask-position: center; mask-repeat: no-repeat; mask-size: 20px 20px; }
.support-phone-icon { mask-size: 18.2406px 18.2735px; mask-image: url('../image/support/phone.svg'); }
.support-search-icon { mask-image: url('../image/support/search.svg'); color: var(--color-muted); }
.support-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.support-hero { padding-block: 40px; background: var(--support-hero); color: white; }
.support-hero-inner { display: grid; grid-template-columns: minmax(0, 800px) minmax(0, 360px); gap: 48px; align-items: start; }
.support-hero-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.support-hero h1, .support-article-heading h1 { font-size: 32px; line-height: 44px; overflow-wrap: anywhere; }
.support-hero .eyebrow { color: white; }
.support-search { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 800px; padding: 10px; border: 1px solid var(--color-line); border-radius: 16px; background: white; color: var(--color-ink); }
.support-search input { min-width: 0; flex: 1; width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--color-ink); font: inherit; outline: none; }
.support-search input::placeholder { color: var(--color-muted); opacity: 1; }
.support-search:focus-within { outline: 3px solid var(--color-ink); outline-offset: 4px; }
.support-search button { min-width: 88px; min-height: 44px; padding: 8px 16px; border: 0; cursor: pointer; font: inherit; font-weight: 500; }
.support-search button:focus-visible { outline: 3px solid var(--color-ink); outline-offset: 3px; }
.support-brand-panel { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 24px; border-radius: 24px; background: var(--color-cream); color: var(--color-burnt); }
.support-hero-logo { width: 150px; height: 94.67px; object-fit: contain; }
.support-brand-message { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 16px; border-radius: 16px; background: white; font-weight: 500; }
.support-brand-message img { margin-top: 2px; flex-shrink: 0; }
.support-tabs { display: flex; gap: 12px; padding-block: 16px; }
.support-tabs a { width: 230px; padding: 12px; border-radius: 12px; color: var(--color-muted); text-align: center; font-weight: 500; }
.support-tabs a[aria-current], .support-tabs a:hover { background: var(--color-cream); color: var(--color-burnt); }
.support-section { display: flex; flex-direction: column; gap: 20px; padding-block: 40px; }
.support-section > h2, .support-contact h2 { font-size: 24px; font-weight: 500; line-height: 34px; }
.support-muted { color: var(--color-muted); }
.support-cream { background: var(--color-cream); }
.support-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.support-category { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--color-line); border-radius: 20px; box-shadow: 0 5px 16px rgba(64,31,13,.045); }
.support-category > span:last-child { min-width: 0; }
.support-icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px; background: var(--color-cream); }
.support-category-title { display: block; font-size: 18px; font-weight: 500; line-height: 28px; }
.support-category-description { display: block; margin-top: 4px; color: var(--color-muted); font-size: 14px; line-height: 24px; }
.support-category:hover, .support-guide-card:hover, .support-question:hover, .support-result:hover { border-color: var(--color-burnt); }
.support-questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.support-question { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px; border: 1px solid var(--color-line); border-radius: 16px; background: white; }
.support-question > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.support-question .card-arrow { flex-shrink: 0; color: var(--color-burnt); }
.support-questions-single { width: 100%; max-width: 800px; grid-template-columns: minmax(0, 1fr); }
.support-text-link { color: var(--color-burnt); font-weight: 500; }
.support-guide-bridge { gap: 16px; }
.support-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.support-guide-card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; border: 1px solid var(--color-line); border-radius: 24px; box-shadow: 0 5px 16px rgba(64,31,13,.045); }
.support-guide-label { display: flex; align-items: center; gap: 16px; color: var(--color-burnt); font-size: 14px; font-weight: 500; line-height: 22px; }
.support-guide-card h3 { font-size: 20px; font-weight: 500; line-height: 30px; }
.support-guide-card .support-text-link { margin-top: auto; font-size: 14px; line-height: 22px; }
.support-contact { padding-top: 24px; padding-bottom: 40px; }
.support-contact-panel { display: flex; align-items: center; justify-content: flex-start; gap: 32px; padding: 24px; border-radius: 24px; background: var(--color-burnt); color: white; }
.support-contact-panel > div { min-width: 0; flex: 1; max-width: 860px; }
.support-contact-panel p { margin-top: 8px; }
.support-call-button { display: flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 12px; min-width: 180px; padding: 12px; border-radius: 16px; background: white; color: var(--color-burnt); font-size: 20px; font-weight: 500; line-height: 30px; }
.support-search-band { padding-block: 16px; background: var(--support-hero); }
.support-article-heading { display: flex; flex-direction: column; gap: 12px; padding-top: 32px; padding-bottom: 24px; }
.support-article-heading .back-link { margin-bottom: 0; font-size: 14px; line-height: 24px; }
.support-article-heading h1 { max-width: 1000px; }
.support-reading-layout { display: grid; grid-template-columns: minmax(0, 864fr) minmax(0, 336fr); gap: 48px; align-items: start; padding-bottom: 40px; }
.support-article-content { min-width: 0; }
.support-related { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 20px; background: var(--color-cream); }
.support-related h2 { font-size: 18px; font-weight: 500; line-height: 28px; }
.support-related a { color: var(--color-burnt); }
.support-related p { color: var(--color-muted); font-size: 14px; line-height: 24px; }
.support-results { display: flex; flex-direction: column; gap: 16px; }
.support-results > h2 { font-size: 20px; font-weight: 500; line-height: 30px; overflow-wrap: anywhere; }
.support-result { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--color-line); border-radius: 20px; overflow-wrap: anywhere; }
.support-result h3, .support-results .help-article h3 { font-size: 18px; font-weight: 500; line-height: 28px; }
.support-page .help-article { padding: 24px; line-height: 28px; }
.support-page .help-article h2, .support-page .help-article h3 { font-size: 20px; line-height: 30px; }
@media (min-width: 768px) and (max-width: 1100px) {
    .support-hero-inner { grid-template-columns: minmax(0, 1fr); }
    .support-brand-panel { display: none; }
    .support-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .support-reading-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
    .support-contact-panel { gap: 24px; padding: 32px; }
    .support-desktop-nav { gap: 20px; }
    .support-header .header-inner { gap: 20px; }
}
@media (max-width: 767px) {
    .support-header .header-inner { gap: 16px; }
    .support-desktop-nav { display: none; }
    .support-header .support-phone { min-width: 136px; padding: 10px; background: var(--color-cream); color: var(--color-burnt); font-size: 14px; }
    .support-hero { padding-block: 28px; }
    .support-hero-inner { grid-template-columns: minmax(0, 1fr); }
    .support-brand-panel { display: none; }
    .support-hero h1, .support-article-heading h1 { font-size: 26px; line-height: 36px; }
    .support-search { gap: 8px; padding: 12px; }
    .support-search input { font-size: 16px; }
    .support-search button { min-width: 64px; min-height: 44px; padding: 8px 10px; font-size: 14px; }
    .support-search .support-icon { width: 20px; height: 20px; }
    .support-tabs a { width: 50%; }
    .support-section { padding-block: 28px; }
    .support-section > h2, .support-contact h2 { font-size: 22px; line-height: 32px; }
    .support-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .support-category { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
    .support-category .support-icon-tile { width: 40px; height: 40px; padding: 8px; }
    .support-category-title { font-size: 16px; line-height: 26px; }
    .support-category-description { display: none; }
    .support-questions, .support-guide-grid { grid-template-columns: minmax(0, 1fr); }
    .support-question { min-height: 0; padding: 16px; }
    .support-guide-card { padding: 20px; }
    .support-contact { padding-top: 16px; padding-bottom: 40px; }
    .support-contact-panel { flex-direction: column; align-items: stretch; gap: 20px; padding: 20px; }
    .support-call-button { justify-content: flex-start; min-width: 0; }
    .support-article-heading { padding-top: 28px; padding-bottom: 20px; }
    .support-page .help-article { padding: 20px; }
    .support-reading-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 40px; }
}
