/* support.css — Support page */

.sp-page {
  padding: calc(var(--header-h) + 48px) 24px 80px;
  max-width: 900px; margin: 0 auto;
}

.sp-hero { margin-bottom: 48px; }
.sp-hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--text); margin-bottom: 10px;
}
.sp-hero p { color: var(--muted); font-size: 1.05rem; }

/* sections */
.sp-section { margin-bottom: 64px; }
.sp-section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.5rem; margin-bottom: 8px; color: var(--text);
  padding-left: 14px; border-left: 3px solid var(--teal);
}
.sp-desc { color: var(--muted); margin-bottom: 24px; line-height: 1.6; }

/* cards */
.sp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.sp-grid-two { grid-template-columns: 1fr 1fr; }
.sp-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px;
}
.sp-card h3 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  margin-bottom: 10px; color: var(--text);
}
.sp-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.55; margin-bottom: 6px; }
.sp-card a { color: var(--indigo); text-decoration: none; }
.sp-card a:hover { text-decoration: underline; }

.sp-door {
  display: inline-block; margin-top: 8px;
  font-family: var(--font-display); font-weight: 500;
  color: var(--indigo); text-decoration: none;
}
.sp-door:hover { text-decoration: underline; }

/* note card */
.sp-note-card {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: 12px; padding: 22px;
}
.sp-note-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* dark mode: link accents flip to the readable soft indigo */
:root[data-theme="dark"] .sp-card a,
:root[data-theme="dark"] .sp-door { color: var(--indigo-soft); }

/* responsive */
@media (max-width: 768px) {
  .sp-page { padding: calc(var(--header-h) + 28px) 16px 60px; max-width: 100%; overflow-x: hidden; }
  .sp-grid-two { grid-template-columns: 1fr; }
}