.help-page {
  background: #f7f2e8;
}

.help-hero {
  padding: 56px 0 36px;
}

.help-hero h1 {
  max-width: 900px;
  margin: 14px 0 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
}

.help-hero .lead {
  max-width: 860px;
  font-size: 20px;
  line-height: 1.55;
}

.help-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.help-options {
  padding: 18px 0 36px;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.help-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.help-tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 14px 22px;
  border: 1px solid rgba(80, 55, 35, 0.14);
  border-radius: 20px;
  background: #fff;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(80, 55, 35, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.help-tabs__tab:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(80, 55, 35, 0.11); }
.help-tabs__tab-icon { width: 22px; height: 22px; flex: 0 0 22px; }

.help-tabs__tab:hover,
.help-tabs__tab:focus-visible {
  border-color: #b16b2c;
  outline: none;
}

.help-tabs__tab.is-active {
  border-color: #b16b2c;
  background: #b16b2c;
  color: #fff;
}

.help-tabs__tab.is-active .help-tabs__tab-icon { filter: brightness(0) invert(1); }

.help-tab-panel[hidden] {
  display: none;
}

.help-card,
.help-section,
.help-toc {
  background: #f3ebde;
  border: 1px solid rgba(80, 55, 35, 0.12);
  border-radius: 26px;
}

.help-card {
  min-height: 330px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 24px;
  background: #fffdf9;
  border-color: rgba(80, 55, 35, 0.1);
  box-shadow: 0 12px 28px rgba(80, 55, 35, 0.08);
}

.help-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(80, 55, 35, 0.12); }
.help-card__icon { display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 22px; border-radius: 50%; background: #f3ebde; }
.help-card__icon img { width: 30px; height: 30px; }
.help-card h2 { margin-bottom: 12px; }
.help-card p { display: -webkit-box; overflow: hidden; margin-bottom: 20px; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }

.help-card .btn {
  margin-top: auto;
  min-width: 190px;
}

.help-editorial-intro {
  position: relative;
  display: flex;
  min-height: 182px;
  align-items: center;
  margin-bottom: 28px;
  padding: 30px 36px;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(135deg, #f3ebde, #fbf6ed);
}
.help-editorial-intro > div { position: relative; z-index: 1; max-width: 620px; }
.help-editorial-intro__eyebrow { margin: 0 0 8px; color: #9a5c26; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.help-editorial-intro h2 { margin: 0 0 10px; }
.help-editorial-intro p { margin: 4px 0; color: var(--color-muted); }
.help-editorial-intro__cat { position: absolute; right: 42px; bottom: -24px; width: 220px; height: 220px; opacity: 0.13; }

.help-card h2,
.help-section h2,
.help-toc h2 {
  margin-top: 0;
}

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

.help-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.help-toc {
  position: sticky;
  top: 24px;
  padding: 22px;
}

.help-toc ol {
  margin: 0;
  padding-left: 20px;
}

.help-toc li {
  margin: 8px 0;
}

.help-main {
  display: grid;
  gap: 22px;
}

.help-section {
  padding: clamp(24px, 4vw, 42px);
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff4e2;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.help-urgent {
  background: #fff4e2;
}

@media (max-width: 1100px) {
  .help-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .help-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .help-layout {
    grid-template-columns: 1fr;
  }

  .help-toc {
    position: static;
  }
}

@media (max-width: 640px) {
  .help-grid {
    grid-template-columns: 1fr;
  }

  .help-tabs__tab {
    flex: 1 1 150px;
    justify-content: center;
  }

  .help-editorial-intro {
    min-height: 0;
    padding: 28px 24px 130px;
  }

  .help-editorial-intro__cat {
    right: 16px;
    bottom: -35px;
    width: 160px;
    height: 160px;
  }

  .help-card {
    min-height: 300px;
    padding: 28px;
  }

  .help-card .btn {
    width: 100%;
    min-width: 0;

/* Tabs are navigation, not call-to-action buttons. */
.help-tabs__list {
  gap: 8px;
  border-bottom: 1px solid rgba(80, 55, 35, 0.18);
}

.help-tabs__tab {
  min-height: 52px;
  margin-bottom: -1px;
  padding: 12px 18px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #665746;
  cursor: pointer;
  box-shadow: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.help-tabs__tab:hover {
  transform: none;
  background: rgba(177, 107, 44, 0.08);
  color: #8d4f1a;
  box-shadow: none;
}

.help-tabs__tab:focus-visible {
  border-color: transparent;
  outline: 2px solid #b16b2c;
  outline-offset: -2px;
}

.help-tabs__tab.is-active {
  border-bottom-color: #b16b2c;
  background: transparent;
  color: #8d4f1a;
  cursor: default;
}

.help-tabs__tab.is-active:hover {
  background: transparent;
}

.help-tabs__tab.is-active .help-tabs__tab-icon {
  filter: none;
}
