/* ============================================================
   Dashdrop — Help Center page
   DashDrop help center page.
   ============================================================ */

.help-page,
.help-main {
  background: #fff;
  overflow-x: clip;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.help-hero {
  background: var(--lime);
  color: #071522;
  padding: 116px 0 108px;
  text-align: center;
}

.help-hero .eyebrow {
  color: #071522;
  margin-bottom: 20px;
}

.help-hero h1 {
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0 0 42px;
}

.help-search {
  display: block;
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.help-search input {
  width: 100%;
  height: 76px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0,0,0,.16);
  color: var(--ink-900);
  font: 500 20px/1 var(--font);
  outline: none;
  padding: 0 80px 0 32px;
}

.help-search input:focus {
  box-shadow: 0 18px 46px rgba(0,0,0,.16), 0 0 0 4px rgba(255,255,255,.45);
}

.help-search svg {
  position: absolute;
  right: 30px;
  top: 50%;
  width: 26px;
  height: 26px;
  transform: translateY(-50%);
  color: var(--ink-500);
}

.quick-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.quick-links a {
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  color: #071522;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 16px;
}

.help-categories {
  padding: 104px 0 116px;
}

.help-section-head {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(48px, 8vw, 130px);
  align-items: end;
  margin-bottom: 58px;
}

.help-section-head h2,
.promoted-articles h2,
.support-cta h2,
.help-download h2 {
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.help-section-head h2,
.promoted-articles h2 {
  font-size: clamp(44px, 5vw, 72px);
  margin: 0;
}

.help-section-head p {
  color: var(--ink-700);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.55;
  margin: 0;
}

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

.help-card {
  min-height: 250px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.help-card:hover {
  border-color: var(--lime);
  box-shadow: 0 20px 52px rgba(0,0,0,.08);
  transform: translateY(-4px);
}

.help-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 28px;
}

.help-card h3 {
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 16px;
}

.help-card p {
  color: var(--ink-500);
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
}

.promoted-articles {
  background: #f5f5f5;
  padding: 100px 0 112px;
}

.article-list {
  margin-top: 46px;
  border-top: 1px solid #ddd;
}

.article-list a {
  min-height: 78px;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink-900);
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.25;
  padding: 20px 4px;
  transition: color .2s var(--ease);
}

.article-list a:hover {
  color: var(--lime);
}

.article-list svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.support-cta {
  background: #000;
  color: #fff;
  padding: 94px 0;
}

.support-cta .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 44px;
}

.support-cta .eyebrow {
  color: var(--lime);
}

.support-cta h2 {
  font-size: clamp(42px, 5vw, 72px);
  margin: 0 0 22px;
}

.support-cta p:not(.eyebrow) {
  color: #d7d7d7;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.5;
  margin: 0;
  max-width: 720px;
}

.btn-black {
  background: #fff;
  color: #000;
}

.btn-black:hover {
  background: var(--lime);
}

.help-download {
  background: #222;
  color: #fff;
  overflow: hidden;
}

.help-download .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  min-height: 720px;
}

.help-app-art {
  display: flex;
  justify-content: center;
  align-self: stretch;
}

.help-app-art image-slot {
  display: block;
  width: min(100%, 610px);
  height: 700px;
  margin-top: -16px;
}

.help-download h2 {
  color: #fff;
  font-size: clamp(44px, 4.6vw, 72px);
  margin: 0 0 44px;
}

.help-download .store-badge {
  border-color: rgba(255,255,255,.38);
}

.help-page .socials a {
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .help-section-head,
  .support-cta .wrap,
  .help-download .wrap {
    grid-template-columns: 1fr;
  }

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

  .support-cta .wrap {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .help-hero {
    padding: 78px 0 72px;
    text-align: left;
  }

  .help-search input {
    height: 64px;
    font-size: 17px;
  }

  .quick-links {
    justify-content: flex-start;
  }

  .help-categories,
  .promoted-articles {
    padding: 76px 0 82px;
  }

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

  .support-cta {
    padding: 76px 0;
  }

  .help-download .wrap {
    min-height: 0;
    padding-top: 72px;
    text-align: center;
  }

  .help-download .store-badges {
    justify-content: center;
  }

  .help-app-art {
    order: 2;
  }

  .help-download-copy {
    order: 1;
  }
}
