/* Help Center home — page-specific styles.
   Layers on top of colorography.css (tokens) + global.css (layout, type, components).
   Tokens only — no hardcoded hexes. */

/* ── Hero ── */
.help-hero {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(var(--color-neutral-50), var(--color-primary-50));
  padding-top: 100px;
  padding-bottom: 88px;
  text-align: center;
}
/* Soft brand glows, echoing the marketing hero */
.help-hero::before,
.help-hero::after {
  content: '';
  position: absolute;
  top: -240px;
  width: 620px;
  height: 620px;
  pointer-events: none;
  filter: blur(60px);
}
.help-hero::before {
  left: -8%;
  background: radial-gradient(circle, rgba(130,92,222,0.22) 0%, rgba(130,92,222,0.06) 40%, transparent 70%);
}
.help-hero::after {
  right: -8%;
  background: radial-gradient(circle, rgba(54,97,237,0.22) 0%, rgba(54,97,237,0.06) 40%, transparent 70%);
}
.help-hero .padding-global,
.help-hero .container-large { position: relative; z-index: 1; }

.help-hero-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -1.6px;
  color: var(--color-neutral-800);
  margin: 0 auto 16px;
  max-width: 720px;
}
.help-hero-sub {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-neutral-600);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Category grid ── */
.help-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.help-cat-grid { margin: 8px 0 8px; }
.help-cat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-white);
  border: 1px solid var(--color-neutral-100);
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.help-cat-card:hover {
  text-decoration: none;
  border-color: var(--color-primary-300);
  background: var(--color-primary-50);
  box-shadow: 0 8px 24px rgba(54, 97, 237, 0.08);
}

.help-cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-primary-50);
  color: var(--color-primary-500);
  margin-bottom: 20px;
  transition: background 0.2s ease;
}
.help-cat-icon svg { width: 24px; height: 24px; display: block; }
/* On card hover the icon tile fills with primary and the glyph turns white */
.help-cat-card:hover .help-cat-icon { background: var(--color-primary-500); color: var(--color-white); }

.help-cat-title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--color-neutral-800);
  margin: 0 0 10px;
}
.help-cat-desc {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-neutral-600);
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .help-cat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .help-hero { padding-top: 72px; padding-bottom: 56px; }
  .help-hero-title { font-size: 40px; letter-spacing: -1.2px; }
  .help-hero-sub { font-size: 16px; }
}
@media (max-width: 480px) {
  .help-hero-title { font-size: 32px; letter-spacing: -0.8px; }
  .help-cat-card { padding: 22px; }
}
