:root {
  --help-primary: #3E97FF;
  --help-ink: #071437;
  --help-muted: #4B5675;
  --help-border: #DBDFE9;
  --help-surface: #F1F1F6;
}

.help-main {
  min-height: 70vh;
  padding: 7rem 0 5rem;
  background: #fff;
}

.help-main [hidden] { display: none !important; }
.help-eyebrow { color: var(--help-primary); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.help-main h1 { color: var(--help-ink); font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 750; letter-spacing: -.04em; }
.help-landing-intro { max-width: 680px; margin: 2rem auto 3rem; text-align: center; }
.help-landing-intro > p:last-child, .help-platform-heading p:last-child { color: var(--help-muted); font-size: 1.1rem; }
.help-platform-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 940px; margin: 0 auto; }
.help-platform-choice { display: flex; flex-direction: column; gap: 1rem; min-height: 240px; padding: 2rem; border: 1px solid var(--help-border); border-radius: 20px; background: linear-gradient(135deg, #ffffff 0%, #f8fafe 100%); box-shadow: 0 8px 32px rgba(0,0,0,0.08); color: var(--help-ink); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.help-platform-choice:hover, .help-platform-choice:focus-visible { border-color: var(--help-primary); box-shadow: 0 18px 40px rgba(26, 67, 117, .12); color: var(--help-ink); transform: translateY(-3px); }
.help-platform-choice-name { display: flex; justify-content: space-between; font-size: 1.65rem; font-weight: 700; }
.help-platform-choice-name span { color: var(--help-primary); }
.help-platform-choice-desc { max-width: 35ch; color: var(--help-muted); line-height: 1.5; }
.help-platform-choice-count { margin-top: auto; color: var(--help-primary); font-size: .9rem; font-weight: 650; }
.help-landing-contact { margin: 2.5rem 0 0; text-align: center; color: var(--help-muted); }

.help-breadcrumb { margin-bottom: 2rem; color: var(--help-muted); font-size: .9rem; }
.help-breadcrumb a { color: var(--help-primary); }
.help-breadcrumb span { margin-left: .4rem; }
.help-platform-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2rem; }
.help-platform-heading h1 { margin-bottom: .5rem; }
.help-platform-heading p { margin-bottom: 0; }
.help-platform-switch { display: inline-flex; flex-shrink: 0; gap: .25rem; padding: .3rem; border: 1px solid var(--help-border); border-radius: 999px; background: #fff; }
.help-platform-switch a { padding: .55rem 1.15rem; border-radius: 999px; color: var(--help-muted); text-decoration: none; font-weight: 600; }
.help-platform-switch a[aria-current="page"] { background: var(--help-primary); color: #fff; }
.help-platform-switch a:hover:not([aria-current="page"]) { background: var(--help-surface); color: var(--help-primary); }
.help-search { max-width: 660px; margin-bottom: 2rem; }
.help-search label { display: block; margin-bottom: .5rem; color: var(--help-ink); font-weight: 650; }
.help-search input { display: block; width: 100%; padding: .85rem 1.1rem; border: 1px solid var(--help-border); border-radius: 12px; background: #fff; color: var(--help-ink); }
.help-search input:focus-visible { outline: 3px solid var(--help-primary); border-color: var(--help-primary); }
.help-search-count { min-height: 1.3rem; margin: .45rem 0 0; color: var(--help-muted); font-size: .85rem; }
.help-app-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-bottom: 3rem; }
.help-app-overview-card { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.15rem; border: 1px solid var(--help-border); border-radius: 12px; background: linear-gradient(135deg, #ffffff 0%, #f8fafe 100%); box-shadow: 0 8px 32px rgba(0,0,0,0.08); color: var(--help-ink); text-decoration: none; }
.help-app-overview-card img { flex: none; width: 48px; height: 48px; border-radius: 10px; }
.help-app-overview-content { display: flex; flex-direction: column; min-width: 0; gap: .3rem; }
.help-app-overview-card:hover, .help-app-overview-card:focus-visible { border-color: var(--help-primary); color: var(--help-primary); }
.help-app-overview-content > span { color: var(--help-muted); font-size: .85rem; }
.help-app { margin: 0 0 3.25rem; scroll-margin-top: 7rem; }
.help-app-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; border-bottom: 2px solid var(--help-border); }
.help-app-heading h2 { margin: 0; color: var(--help-ink); font-size: 1.65rem; font-weight: 700; }
.help-back-to-search { color: var(--help-primary); font-size: .85rem; white-space: nowrap; }
.help-topic { margin-top: 1.5rem; scroll-margin-top: 7rem; }
.help-topic h3 { margin-bottom: .75rem; color: var(--help-ink); font-size: 1.05rem; font-weight: 700; }
.help-article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .65rem; }
.help-article-card { display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 64px; padding: .8rem 1rem; border: 1px solid var(--help-border); border-radius: 10px; background: #fff; color: var(--help-ink); text-decoration: none; line-height: 1.35; }
.help-article-card:hover, .help-article-card:focus-visible { border-color: var(--help-primary); background: var(--help-surface); color: var(--help-primary); }
.help-article-card span { flex-shrink: 0; color: var(--help-primary); }
.help-empty { padding: 2rem; border: 1px solid var(--help-border); border-radius: 12px; color: var(--help-muted); text-align: center; }

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

@media (max-width: 767px) {
  .help-main { padding-top: 6rem; }
  .help-platform-choices { grid-template-columns: 1fr; }
  .help-platform-choice { min-height: 190px; }
  .help-app-overview { grid-template-columns: 1fr; }
  .help-platform-heading { align-items: start; flex-direction: column; }
  .help-app-heading { align-items: start; flex-direction: column; gap: .3rem; }
  .help-article-grid { grid-template-columns: 1fr; }
}
