.help-page {
  min-height: -webkit-fill-available;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100lvh;
}

.help-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.help-hero,
.help-section {
  border: 1px solid rgba(203, 212, 225, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 253, 0.9)),
    var(--surface);
  box-shadow: 0 16px 42px rgba(24, 33, 47, 0.1);
}

.help-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 40px;
}

.help-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(24, 33, 47, 0.78), rgba(24, 33, 47, 0.32)),
    url("/app-icon.png") center / cover no-repeat;
  opacity: 0.18;
}

.help-hero > * {
  position: relative;
}

.help-hero h1 {
  max-width: 760px;
  margin: 2px 0 10px;
  font-size: clamp(2.2rem, 7vw, 5.1rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.help-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: #445064;
  font-size: 1.05rem;
  font-weight: 720;
  line-height: 1.5;
}

.help-back-link {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(203, 212, 225, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  padding: 0 12px;
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.help-section {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 24px;
}

.help-section h2 {
  margin: 0;
  font-size: 1.35rem;
}

.help-section p {
  margin: 0;
  color: #4d5a6c;
  font-weight: 650;
  line-height: 1.55;
}

.help-table {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(203, 212, 225, 0.82);
  border-radius: 8px;
  background: rgba(203, 212, 225, 0.82);
}

.help-table > div {
  display: grid;
  grid-template-columns: minmax(140px, 0.7fr) minmax(220px, 1fr) minmax(260px, 1.25fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.95);
}

.help-table > div:first-child {
  background: rgba(232, 246, 240, 0.95);
}

.help-table span,
.help-table strong {
  padding: 13px 14px;
  line-height: 1.4;
}

.help-table span {
  color: #465266;
  font-size: 0.92rem;
  font-weight: 650;
}

.help-table strong {
  color: #1f6b50;
  font-size: 0.82rem;
  text-transform: uppercase;
}

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

.help-card {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  border: 1px solid rgba(203, 212, 225, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 14px;
}

.help-card h3 {
  margin: 0;
  font-size: 1rem;
}

.help-hero code,
.help-card code,
.help-table code,
.help-list code {
  border: 1px solid rgba(47, 133, 102, 0.2);
  border-radius: 6px;
  background: rgba(232, 246, 240, 0.78);
  color: #1f6b50;
  padding: 2px 6px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.86em;
  font-weight: 850;
}

.help-card code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.help-code {
  overflow: auto;
  margin: 0;
  border: 1px solid rgba(203, 212, 225, 0.9);
  border-radius: 8px;
  background: #111827;
  color: #edf5f2;
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.help-code code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.65;
  white-space: pre;
}

.help-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #465266;
  font-weight: 680;
  line-height: 1.5;
}
