/**
 * support.css, /support/ page
 *
 * All rules scoped under .sh-page-support (body class set by layout.php).
 * Depends on sh-site (homepage.css) for base resets, fonts, and shared
 * .btn-primary / .btn-secondary styles.
 */

/* ── nav-h custom property (sticky positioning reference) ── */
.sh-page-support {
  --nav-h: 72px;
}
@media (max-width: 767px) {
  .sh-page-support {
    --nav-h: 64px;
  }
}

/* ─── HERO ─── */
.sh-page-support .sup-hero {
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 56px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--slate-200);
  position: relative;
  overflow: hidden;
}
.sh-page-support .sup-hero::before {
  content: '';
  position: absolute;
  top: -300px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,91,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.sh-page-support .sup-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
}
@media (max-width: 1023px) { .sh-page-support .sup-hero-inner { padding: 0 32px; } }
@media (max-width: 767px)  { .sh-page-support .sup-hero-inner { padding: 0 20px; } }

.sh-page-support .breadcrumb {
  font-size: 13px;
  color: var(--slate-500);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sh-page-support .breadcrumb a         { color: var(--slate-500); }
.sh-page-support .breadcrumb a:hover   { color: var(--slate-700); text-decoration: none; }
.sh-page-support .breadcrumb-sep       { color: var(--slate-300); }
.sh-page-support .breadcrumb-current   { color: var(--slate-700); font-weight: 500; }

.sh-page-support .sup-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: var(--brand-light);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.sh-page-support .sup-hero h1 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.8vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  margin-bottom: 16px;
  max-width: 760px;
}
.sh-page-support .sup-hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate-600);
  max-width: 640px;
  margin-bottom: 32px;
}
.sh-page-support .sup-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.sh-page-support .sup-hero-cta .btn-primary,
.sh-page-support .sup-hero-cta .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
.sh-page-support .sup-hero-cta svg { flex-shrink: 0; display: block; }

/* btn-primary.large override */
.sh-page-support .btn-primary.large {
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

/* ─── SECTION CONTAINER ─── */
.sh-page-support .sup-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 48px 0;
}
@media (max-width: 1023px) { .sh-page-support .sup-section { padding: 48px 32px 0; } }
@media (max-width: 767px)  { .sh-page-support .sup-section { padding: 40px 20px 0; } }

.sh-page-support .sup-section-header {
  margin-bottom: 24px;
  max-width: 720px;
}
.sh-page-support .sup-section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  margin-bottom: 10px;
}
.sh-page-support .sup-section-title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: -0.02em;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 10px;
}
.sh-page-support .sup-section-sub {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ─── CONTACT GRID ─── */
.sh-page-support .sup-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
}
@media (max-width: 880px) { .sh-page-support .sup-contact-grid { grid-template-columns: 1fr; } }

.sh-page-support .sup-contact-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
@media (max-width: 540px) { .sh-page-support .sup-contact-card { padding: 24px; } }

.sh-page-support .sup-contact-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.sh-page-support .sup-contact-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sh-page-support .sup-contact-icon.green { background: var(--emerald-light); color: var(--emerald-hover); }

.sh-page-support .sup-contact-card h3 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--slate-900);
}
.sh-page-support .sup-contact-card p {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 14px;
}

/* Email display block */
.sh-page-support .sup-email-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(180deg, #ffffff 0%, var(--brand-light) 100%);
  border: 1px solid #c7d6ff;
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  box-shadow: inset 0 -1px 0 rgba(47,91,255,0.06);
}
.sh-page-support .sup-email-address {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--slate-900);
  word-break: break-all;
  text-decoration: none;
}
.sh-page-support .sup-email-address:hover { color: var(--brand); text-decoration: none; }
@media (max-width: 540px) { .sh-page-support .sup-email-address { font-size: 15px; } }

.sh-page-support .sup-copy-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: var(--slate-600);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.sh-page-support .sup-copy-email-btn:hover { border-color: var(--slate-300); color: var(--slate-900); }
.sh-page-support .sup-copy-email-btn.copied {
  color: var(--emerald-hover);
  border-color: #a7f3d0;
  background: var(--emerald-light);
}

.sh-page-support .sup-contact-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.sh-page-support .sup-contact-cta-row .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
.sh-page-support .sup-contact-cta-row svg { flex-shrink: 0; display: block; }

.sh-page-support .sup-small-note {
  font-size: 13px;
  color: var(--slate-500);
  line-height: 1.55;
  padding-top: 16px;
  border-top: 1px dashed var(--slate-200);
  margin-top: auto;
}
.sh-page-support .sup-small-note strong { color: var(--slate-700); font-weight: 600; }

/* Checklist */
.sh-page-support .sup-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sh-page-support .sup-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--slate-700);
  line-height: 1.55;
}
.sh-page-support .sup-checklist a          { color: var(--brand); }
.sh-page-support .sup-checklist a:hover    { text-decoration: underline; }
.sh-page-support .sup-check-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--emerald-light);
  color: var(--emerald-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* Inline use/don't use notes */
.sh-page-support .sup-inline-note {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sh-page-support .sup-inline-note + .sup-inline-note { margin-top: 6px; }
.sh-page-support .sup-inline-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
  flex-shrink: 0;
}
.sh-page-support .sup-inline-label.use  { color: var(--emerald-hover); }
.sh-page-support .sup-inline-label.dont { color: var(--rose); }
.sh-page-support .sup-inline-note code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--slate-800);
}

/* ─── INCLUDE CARD ─── */
.sh-page-support .sup-include-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 540px) { .sh-page-support .sup-include-card { padding: 24px; } }

.sh-page-support .sup-include-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  counter-reset: include;
  border-top: 1px solid var(--slate-100);
}
@media (max-width: 720px) { .sh-page-support .sup-include-list { grid-template-columns: 1fr; } }

.sh-page-support .sup-include-list li {
  counter-increment: include;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--slate-100);
  font-size: 15px;
  color: var(--slate-700);
}
.sh-page-support .sup-include-list li::before {
  content: counter(include, decimal-leading-zero);
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-400);
  min-width: 22px;
}
.sh-page-support .sup-muted {
  color: var(--slate-500);
  font-size: 13px;
  margin-left: 4px;
}

.sh-page-support .sup-copy-list-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--slate-200);
  flex-wrap: wrap;
}
.sh-page-support .sup-copy-list-hint {
  font-size: 13px;
  color: var(--slate-500);
  line-height: 1.55;
}
/* "Copy checklist" button — explicit reset for <button> element */
.sh-page-support .sup-copy-list-bar .btn-secondary,
.sh-page-support #sup-copy-list-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--slate-700);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--slate-200);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  box-shadow: var(--shadow-sm);
}
.sh-page-support .sup-copy-list-bar .btn-secondary:hover,
.sh-page-support #sup-copy-list-btn:hover {
  border-color: var(--slate-300);
  color: var(--slate-900);
  background: var(--slate-50);
  text-decoration: none;
}
.sh-page-support .sup-copy-list-bar svg { flex-shrink: 0; display: block; }

/* ─── TOPIC CARDS ─── */
.sh-page-support .sup-topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1023px) { .sh-page-support .sup-topics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .sh-page-support .sup-topics-grid { grid-template-columns: 1fr; } }

.sh-page-support .sup-topic-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  box-shadow: var(--shadow-sm);
}
.sh-page-support .sup-topic-card:hover {
  border-color: rgba(47,91,255,0.4);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  text-decoration: none;
}
.sh-page-support .sup-topic-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.sh-page-support .sup-topic-icon.green { background: var(--emerald-light); color: var(--emerald-hover); }
.sh-page-support .sup-topic-icon.amber { background: var(--amber-light); color: var(--amber); }
.sh-page-support .sup-topic-icon.slate { background: var(--slate-100); color: var(--slate-700); }
.sh-page-support .sup-topic-icon.sky   { background: var(--sky-light); color: var(--sky); }

.sh-page-support .sup-topic-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--slate-900);
  line-height: 1.4;
}
.sh-page-support .sup-topic-sub {
  font-size: 13px;
  color: var(--slate-500);
  line-height: 1.5;
  flex: 1;
}
.sh-page-support .sup-topic-arrow {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}
.sh-page-support .sup-topic-arrow svg { flex-shrink: 0; display: block; }

/* ─── QUICK LINKS ─── */
.sh-page-support .sup-quicklinks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 768px) { .sh-page-support .sup-quicklinks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .sh-page-support .sup-quicklinks { grid-template-columns: 1fr; } }

.sh-page-support .sup-quicklink {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--slate-800);
  font-weight: 500;
  font-size: 14px;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.sh-page-support .sup-quicklink:hover {
  background: #fff;
  border-color: rgba(47,91,255,0.4);
  color: var(--slate-900);
  text-decoration: none;
  transform: translateY(-1px);
}
.sh-page-support .sup-quicklink-icon { color: var(--slate-400); flex-shrink: 0; }
.sh-page-support .sup-quicklink:hover .sup-quicklink-icon { color: var(--brand); }
.sh-page-support .sup-quicklink-arrow { margin-left: auto; color: var(--slate-300); flex-shrink: 0; }
.sh-page-support .sup-quicklink:hover .sup-quicklink-arrow { color: var(--brand); }

/* ─── SECURITY CALLOUT ─── */
.sh-page-support .sup-security-callout {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  gap: 18px;
  color: #78350f;
  align-items: flex-start;
}
@media (max-width: 540px) {
  .sh-page-support .sup-security-callout {
    padding: 20px;
    gap: 14px;
    flex-direction: column;
  }
}
.sh-page-support .sup-security-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--amber-light);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sh-page-support .sup-security-callout h3 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #78350f;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.sh-page-support .sup-security-callout p {
  font-size: 14px;
  color: #78350f;
  line-height: 1.65;
  opacity: 0.95;
}
.sh-page-support .sup-security-callout p + p { margin-top: 8px; }
.sh-page-support .sup-security-callout code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  background: rgba(120,53,15,0.08);
  border: 1px solid rgba(120,53,15,0.15);
  border-radius: 4px;
  padding: 1px 6px;
  color: #78350f;
}

/* ─── CTA BAND ─── */
.sh-page-support .sup-cta-band {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px 64px;
}
@media (max-width: 1023px) { .sh-page-support .sup-cta-band { padding: 64px 32px 48px; } }
@media (max-width: 767px)  { .sh-page-support .sup-cta-band { padding: 48px 20px 40px; } }

.sh-page-support .sup-cta-card {
  background: linear-gradient(135deg, var(--slate-900) 0%, #1a2547 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 767px) { .sh-page-support .sup-cta-card { padding: 40px 24px; } }
.sh-page-support .sup-cta-card::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,91,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.sh-page-support .sup-cta-card::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.sh-page-support .sup-cta-card > * { position: relative; z-index: 1; }

.sh-page-support .sup-cta-card h2 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
  color: #fff;
}
.sh-page-support .sup-cta-card p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.sh-page-support .sup-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
/* "Send an email" in CTA band — force brand colors, overrides dark-context inheritance */
.sh-page-support .sup-cta-band .btn-primary,
.sh-page-support .sup-cta-buttons .btn-primary.large {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  background: var(--brand);
  color: #fff;
  border: none;
  box-shadow: 0 1px 2px rgba(47,91,255,0.30);
}
.sh-page-support .sup-cta-band .btn-primary:hover,
.sh-page-support .sup-cta-buttons .btn-primary.large:hover {
  background: var(--brand-hover);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(47,91,255,0.40);
}
.sh-page-support .sup-cta-buttons svg { flex-shrink: 0; display: block; }

/* Ghost button (CTA band only) */
.sh-page-support .sup-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.sh-page-support .sup-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  text-decoration: none;
}
.sh-page-support .sup-btn-ghost svg { flex-shrink: 0; display: block; }

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  .sh-page-support *,
  .sh-page-support *::before,
  .sh-page-support *::after {
    transition: none !important;
    animation: none !important;
  }
}
