/* About / Help static pages — share hub tokens from site.css */

.sp-body {
  min-height: 100%;
  background:
    radial-gradient(ellipse 70% 45% at 8% 0%, rgba(196, 92, 38, 0.1), transparent 55%),
    radial-gradient(ellipse 55% 40% at 95% 4%, rgba(10, 122, 111, 0.12), transparent 50%),
    linear-gradient(168deg, #e8f3f0 0%, #f4faf8 42%, #fffef9 100%);
}

.sp-shell {
  padding-bottom: 2.5rem;
}

.sp-body .topbar {
  flex-wrap: wrap;
  align-items: flex-start;
  row-gap: 0.65rem;
}

.sp-topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  max-width: min(100%, 36rem);
}

.sp-topnav a {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--muted);
  text-decoration: none;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.sp-topnav a:hover {
  color: var(--ink);
  background: rgba(10, 122, 111, 0.08);
  border-color: rgba(10, 122, 111, 0.16);
  text-decoration: none;
}

.sp-topnav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(10, 122, 111, 0.12);
  border-color: rgba(10, 122, 111, 0.28);
}

.sp-lang-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1rem;
  max-width: 42rem;
}

.sp-lang-wrap button {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.75);
  color: #475569;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.5rem;
  cursor: pointer;
}

.sp-lang-wrap button[aria-pressed="true"] {
  color: #0f172a;
  border-color: rgba(10, 122, 111, 0.45);
  background: #fff;
}

.sp {
  margin-top: 1.1rem;
  color: var(--ink);
  max-width: 42rem;
}

.sp-hero {
  margin-bottom: 1.75rem;
  animation: sp-rise 0.65s ease both;
}

.sp-kicker {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: #c45c26;
}

.sp h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.sp-lede {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
}

.sp-section {
  margin: 0 0 1.55rem;
  padding-top: 0.15rem;
  animation: sp-rise 0.55s ease both;
}

.sp-section h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.sp-section p {
  margin: 0 0 0.7rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink);
}

.sp-section p:last-child {
  margin-bottom: 0;
}

.sp-section ul {
  margin: 0.2rem 0 0.7rem;
  padding-left: 1.2rem;
  color: var(--ink);
}

.sp-section li {
  margin: 0.28rem 0;
  font-size: 0.96rem;
  line-height: 1.55;
}

.sp-section kbd {
  display: inline-block;
  padding: 0.05rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.82em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.sp-foot {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  font-size: 0.88rem;
}

.sp-foot a {
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.sp-foot a:hover {
  text-decoration: underline;
}

@keyframes sp-rise {
  from {
    opacity: 0;
    transform: translateY(0.45rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-hero,
  .sp-section {
    animation: none;
  }
}
