/* Stitch2Stream Help Center — shared styles */
:root {
  --bg: #06060c;
  --panel: rgba(14, 16, 28, 0.92);
  --card: #0f0f1e;
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef2ff;
  --muted: #94a3b8;
  --cyan: #00d4ff;
  --purple: #7c3aed;
  --blue: #3b82f6;
  --green: #22c55e;
  --grad: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(0, 212, 255, 0.08), transparent),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  max-width: 1080px;
  margin: 0 auto;
}
.logo {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.logo .accent { color: var(--cyan); }
.top-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.top-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  transition: color .15s, background .15s;
}
.top-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.top-links a.primary {
  color: #fff;
  background: rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(124, 58, 237, 0.45);
}
.top-links a.primary:hover { background: rgba(124, 58, 237, 0.4); }

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 12px 24px 80px;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.crumb a { color: #c4b5fd; font-weight: 600; }
.crumb a:hover { color: #fff; }
.crumb span.sep { opacity: 0.45; }

.hero { margin-bottom: 36px; }
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 12px;
}
.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.65;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 720px) {
  .card-grid { grid-template-columns: 1fr; }
  .top { padding: 16px 18px; }
}

.help-card {
  display: block;
  background: linear-gradient(165deg, rgba(18,18,40,.95) 0%, rgba(10,10,24,.98) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.help-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 20% 0%, rgba(124,58,255,.12), transparent 70%);
  pointer-events: none;
}
.help-card > * { position: relative; z-index: 1; }
.help-card:hover {
  border-color: rgba(124, 58, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,.35);
}
.help-card .icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 14px;
  background: linear-gradient(145deg, rgba(124,58,255,.25), rgba(0,212,255,.12));
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
}
.help-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.help-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.help-card .more {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cyan);
}

.article {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px 36px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.article h1 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.article .lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
  line-height: 1.65;
}
.article h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 28px 0 10px;
  color: #fff;
}
.article p, .article li {
  color: #c5d0e0;
  font-size: 0.98rem;
  line-height: 1.7;
}
.article p { margin-bottom: 12px; }
.article ul, .article ol {
  margin: 0 0 16px 1.2rem;
  padding: 0;
}
.article li { margin-bottom: 8px; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article strong { color: #fff; font-weight: 650; }
.article a { color: #67e8f9; font-weight: 600; }
.article a:hover { text-decoration: underline; }

.tip, .warn {
  border-radius: 12px;
  padding: 14px 16px;
  margin: 18px 0;
  font-size: 0.92rem;
  line-height: 1.55;
}
.tip {
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.22);
  color: #bae6fd;
}
.warn {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #fde68a;
}
.tip strong, .warn strong { color: inherit; }

.related {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.related h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related-links a {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.28);
  color: #e9d5ff;
}
.related-links a:hover {
  background: rgba(124, 58, 237, 0.25);
  color: #fff;
}

.footer-note {
  margin-top: 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-note a { color: #c4b5fd; font-weight: 600; }
.footer-note a:hover { color: #fff; }

.coming {
  opacity: 0.72;
  pointer-events: none;
}
.coming .badge {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4b5fd;
  background: rgba(124,58,255,.12);
  border: 1px solid rgba(124,58,255,.3);
  padding: 4px 8px;
  border-radius: 999px;
}
